You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/bin/fsinfo", line 9, in <module>
load_entry_point('fs==0.5.4', 'console_scripts', 'fsinfo')()
File "/usr/lib/python3.5/site-packages/fs/commands/fsinfo.py", line 77, in runreturn FSInfo().run()
File "/usr/lib/python3.5/site-packages/fs/commands/runner.py", line 352, in runreturnself.do_run(options, args) or0
File "/usr/lib/python3.5/site-packages/fs/commands/fsinfo.py", line 55, in do_run
info = fs.getinfo(path)
File "/usr/lib/python3.5/site-packages/fs/httpfs.py", line 90, in getinfo
info = urlopen(url).info().dict
AttributeError: 'HTTPMessage' object has no attribute 'dict'
It's actually a bug in HTTPFS, rather than a bug in fsinfo:
(pyfs34)andrew@shyknee:/tmp/test$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from fs.httpfs import HTTPFS
>>> h = HTTPFS('http://www.github.com')
>>> h.getinfo('/')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/test/pyfs34/lib/python3.4/site-packages/fs/httpfs.py", line 90, in getinfo
info = urlopen(url).info().dict
AttributeError: 'HTTPMessage' object has no attribute 'dict'
Python 3:
Python 2:
This is
community/python-fs 0.5.4
on ArchLinux.The text was updated successfully, but these errors were encountered: