You are not logged in.
Pages: 1
Any one successful on installing Onionshare? I have not been successful.
======================================================================
ERROR: Failure: ValueError (invalid version number '0.12.2-dev')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.6/site-packages/nose/loader.py", line 417, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.6/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 675, in _load
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "/home/t/.cache/pacaur/onionshare/src/onionshare-1.0/test/onionshare_test.py", line 20, in <module>
from onionshare import OnionShare
File "/home/t/.cache/pacaur/onionshare/src/onionshare-1.0/onionshare/__init__.py", line 23, in <module>
from . import strings, helpers, web, onion
File "/home/t/.cache/pacaur/onionshare/src/onionshare-1.0/onionshare/web.py", line 39, in <module>
if Version(flask_version) < Version('0.11'):
File "/usr/lib/python3.6/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib/python3.6/distutils/version.py", line 137, in parse
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '0.12.2-dev'
Last edited by evil5826 (2017-05-24 23:09:02)
Offline
Use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Also, include relevant information: package version would be the obvious one...
Moving to AUR Issues.
Offline
It appears that the python-flask is reporting the version number as "0.12.2-dev", which is not a number ("-dev") so it's throwing an exception.
I don't know where it's getting that version number from, but I do know that the python-flask package was updated within the past two days...
EDIT: Just for fun, I edited the version in "/usr/lib/python3.6/site-packages/flask/__init__.py" to "0.12.2" and onionshare compiled and installed fine. I don't know if it will run...
Last edited by drcouzelis (2017-05-24 19:18:26)
Offline
It appears that the python-flask is reporting the version number as "0.12.2-dev", which is not a number ("-dev") so it's throwing an exception.
I don't know where it's getting that version number from, but I do know that the python-flask package was updated within the past two days...
EDIT: Just for fun, I edited the version in "/usr/lib/python3.6/site-packages/flask/__init__.py" to "0.12.2" and onionshare compiled and installed fine. I don't know if it will run...
Boom!!!
Thanks for the suggestion. It worked!
Offline
Pages: 1