Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > TypeError: _getfullpathname() argument 1 must be (buffer overflow),not str in windows xp, while making tarfile

Reply
Thread Tools

TypeError: _getfullpathname() argument 1 must be (buffer overflow),not str in windows xp, while making tarfile

 
 
Ryniek90
Guest
Posts: n/a
 
      08-25-2009
Referring to my earlier posts:
http://groups.google.pl/group/comp.l...800f5352?hl=pl

and

http://groups.google.pl/group/comp.l...fceb37e?hl=pl#

I've dealt with those errors. but now have another.
When my backup scripts starts to backup chosen file, python gave me
Traceback:

"
C:\Users\Ryniek's WinSe7en\Documents\My
Dropbox\Aplikacje\Moje_aplikacje\Pythonowe_aplikac je\Skrypty>python ba
ckuper.py -f F:\APLIKACJE\nowegg.exe F:\ MyGGBackup
Checking permissions for reading and writing...
Have permissions on [F:\APLIKACJE\nowegg.exe] for reading.
Have permissions on [F:\] for writing.
Preparing for backup [nowegg.exe]...
Starting backup...
Now adding [nowegg.exe]...
Traceback (most recent call last):
File "backuper.py", line 197, in <module>
main_meth()
File "backuper.py", line 189, in main_meth
paq.backup_file(pars.options.filename[0], pars.options.filename[1],
pars.options.filename[2])
File "backuper.py", line 127, in backup_file
backup_obj.add(read_bin_obj)
File "E:\WinSe7en Apps\APLIKACJE\ActiveState Python
2.6\lib\tarfile.py", line 1948, in add
if self.name is not None and os.path.abspath(name) == self.name:
File "E:\WinSe7en Apps\APLIKACJE\ActiveState Python
2.6\lib\ntpath.py", line 458, in abspath
path = _getfullpathname(path)
TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str
"

I've searched over google, but found only that is bug in Python (
http://bugs.python.org/issue4071 - in that issue bug is inside Python
2.5.2 - i've got ActiveState Active Python with core Python 2.6.2), and
another info: *http://tinyurl.com/lvyn7o and **http://tinyurl.com/kn49vk
*

Here's my script code:
*http://paste.ubuntu.com/259310/

*Shouldn't that bug be patched already
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TypeError: _getfullpathname() argument 1 must be (buffer overflow),not str in windows xp, while making tarfile Ryniek90 Python 1 08-27-2009 10:45 PM
TypeError: _getfullpathname() argument 1 must be (buffer overflow),not str in windows xp, while making tarfile Ryniek90 Python 1 08-27-2009 07:40 PM
TypeError: _getfullpathname() argument 1 must be (buffer overflow),not str in windows xp, while making tarfile Ryniek90 Python 0 08-25-2009 09:22 PM
Re: Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename:in windows xp while making tarfile Tim Golden Python 6 08-25-2009 12:29 PM
Re: Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename:in windows xp while making tarfile Dave Angel Python 0 08-24-2009 02:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57