[issue10362] AttributeError: addinfourl instance has no attribute 'tell'

ProgVal report at bugs.python.org
Mon Nov 8 18:38:17 CET 2010


New submission from ProgVal <progval at gmail.com>:

Hello,

I had this traceback:

Traceback (most recent call last):
...
  File "/home/progval/workspace/Supybot/Supybot-plugins/Packages/plugin.py", line 123, in extractData
    file = tarfile.open(fileobj=file_)
  File "/usr/lib/python2.6/tarfile.py", line 1651, in open
    saved_pos = fileobj.tell()
AttributeError: addinfourl instance has no attribute 'tell'

The repr(file_) is : <addinfourl at 47496224 whose fp = <socket._fileobject object at 0x2c933d0>> (the file has been downloaded with urllib).

I use Python 2.6.6 (from Debian Sid repo)

Best regards,
ProgVal

----------
messages: 120781
nosy: Valentin.Lorentz
priority: normal
severity: normal
status: open
title: AttributeError: addinfourl instance has no attribute 'tell'

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10362>
_______________________________________


More information about the Python-bugs-list mailing list