You are not logged in.

#1 2017-05-24 18:22:54

evil5826
Member
Registered: 2015-03-16
Posts: 3

Onionshare

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

#2 2017-05-24 18:28:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Onionshare

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-24 19:15:12

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Onionshare

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

#4 2017-05-24 23:17:50

evil5826
Member
Registered: 2015-03-16
Posts: 3

Re: Onionshare

drcouzelis wrote:

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

Board footer

Powered by FluxBB