On Tue, Jun 08, 2010 at 02:26:18PM +0530, Anand Balachandran Pillai wrote:
> On Tue, Jun 8, 2010 at 2:17 PM, Senthil Kumaran wrote:
>
> > On Tue, Jun 08, 2010 at 12:04:38PM +0530, Anand Balachandran Pillai wrote:
> > > > >>>import tarfile
> > > > >>>tarfile.open("*.tar.gz","r:gz")
> > > > > Impor
On Tue, Jun 8, 2010 at 2:17 PM, Senthil Kumaran wrote:
> On Tue, Jun 08, 2010 at 12:04:38PM +0530, Anand Balachandran Pillai wrote:
> > > >>>import tarfile
> > > >>>tarfile.open("*.tar.gz","r:gz")
> > > > ImportError: No module named zlib
> >
> > I agree that the error message could be more
> > d
On Tue, Jun 08, 2010 at 12:04:38PM +0530, Anand Balachandran Pillai wrote:
> > >>>import tarfile
> > >>>tarfile.open("*.tar.gz","r:gz")
> > > ImportError: No module named zlib
>
> I agree that the error message could be more
> descriptive. In this case looks like the tarfile module is masking
> the
On Mon, Jun 7, 2010 at 11:22 AM, Baiju M wrote:
> On Mon, Jun 7, 2010 at 6:40 AM, murugadoss
> wrote:
> > Hi,
> > Good Morning.
> >
> > 1.
> > This is regarding installing python in 64-bit linux pc. one of the issue,
> > which we were talking earlier. It was recommended to install python with
>
On Sun, Jun 6, 2010 at 6:10 PM, murugadoss wrote:
> 1.
> This is regarding installing python in 64-bit linux pc. one of the issue,
> which we were talking earlier. It was recommended to install python with
> 32-bit gcc compiler in 64-bit m/c.
> step:
> while installing python in 64-bit m/c, try us
On Mon, Jun 7, 2010 at 6:40 AM, murugadoss wrote:
> Hi,
> Good Morning.
>
> 1.
> This is regarding installing python in 64-bit linux pc. one of the issue,
> which we were talking earlier. It was recommended to install python with
> 32-bit gcc compiler in 64-bit m/c.
> step:
> while installing pyth
Hi,
Good Morning.
1.
This is regarding installing python in 64-bit linux pc. one of the issue,
which we were talking earlier. It was recommended to install python with
32-bit gcc compiler in 64-bit m/c.
step:
while installing python in 64-bit m/c, try using
export CC='gcc -m32'
./configure --prefi
Hi Murugadoss,
Try Python 2.5.5 (the latest 2.5 release), and if this problem still
occurs, please report a bug at bugs.python.org with full steps to
reproduce, including the original tarfile as an attachment.
C:\Python25\Lib\tarfile.py is a pure Python module; so if you are
inclined, you may deb
I doubt it whether V.Murugadoss has file itself correct? Is he able to
extract the file with other compression program.
On Fri, Jun 4, 2010 at 6:21 PM, Noufal Ibrahim wrote:
> On Fri, Jun 4, 2010 at 6:16 PM, Anand Balachandran Pillai
> wrote:
> [..]
> > Well, that is getting to the raw basics
On Fri, Jun 4, 2010 at 6:16 PM, Anand Balachandran Pillai
wrote:
[..]
> Well, that is getting to the raw basics. If it turns out to be that you
> didn't
> have permission to read the file in the first place..., nothing more
> to say - you managed to waste the time of whoever replied to this thr
On Fri, Jun 4, 2010 at 6:16 PM, Anand Balachandran Pillai <
abpil...@gmail.com> wrote:
>
>
> On Fri, Jun 4, 2010 at 5:44 PM, Noufal Ibrahim wrote:
>
>> On Fri, Jun 4, 2010 at 4:55 PM, murugadoss
>> wrote:
>> [..]
>> > Initially the program is written in the 32-bit linux pc. It is
>> completely
>
On Fri, Jun 4, 2010 at 5:44 PM, Noufal Ibrahim wrote:
> On Fri, Jun 4, 2010 at 4:55 PM, murugadoss
> wrote:
> [..]
> > Initially the program is written in the 32-bit linux pc. It is completely
> > working here. Today, i loaded the same program in the server pc (which is
> a
> > 64-bit x86 pc), i
On Fri, Jun 4, 2010 at 4:55 PM, murugadoss wrote:
[..]
> Initially the program is written in the 32-bit linux pc. It is completely
> working here. Today, i loaded the same program in the server pc (which is a
> 64-bit x86 pc), i end up with issue.
[..]
This is weird. Can you manually untar your f
It is for collecting the binary data from the client system. wherein the
binary data is sent in tar.gz format. The exact task is to collect the data,
untar and do the processing.
Initially the program is written in the 32-bit linux pc. It is completely
working here. Today, i loaded the same progra
On Fri, Jun 4, 2010 at 4:15 PM, murugadoss wrote:
> Thank for the reply.
> The tar file is not corrupted, i am using the same file in 32-bit m/c and
> able to extract it. I have attached this output also with the mail.
> I am getting this problem only in 64-bit m/c.
>
And what is this whole exe
Thank for the reply.
The tar file is not corrupted, i am using the same file in 32-bit m/c and
able to extract it. I have attached this output also with the mail.
I am getting this problem only in 64-bit m/c.
output from 32-bit m/c:
tarfile.is_tarfile(tar)
func >
func1
True
For reference i have
On Fri, Jun 4, 2010 at 11:27 AM, murugadoss wrote:
> Hello,
>
> I am trying to extract a tar file. while doing this i check the valid tar
> file using is_tarfile( ).
> It is working fine in a 32-bit linux machine with python 2.5.4 version and
> when i try it out in a 64-bit linux pc, i end up sayi
On Fri, Jun 04, 2010 at 07:18:56PM +0900, murugadoss wrote:
> Further, on debug i got to know in tarfile.py (library file) function open(
On man, you went too far.
> > >>>tar = /root/testtar.tar.gz
Is this is a tarfile? Answer is No.
--
Senthil
___
Further, on debug i got to know in tarfile.py (library file) function open(
) (Line 1147) where it is return the file attributes is failing, I am not
able to make out the exact reason, why it is failing in 64-bit M/c , but the
same is working in 32-bit M/c
I have attached the part code with the m
19 matches
Mail list logo