Onionshare Arch

Any one out there running Arch or Antergos specifically that has successfully install onionshare from the AUR? I keep getting errors during the install.

======================================================================
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'

----------------------------------------------------------------------
Ran 3 tests in 0.223s

FAILED (errors=3)
==> ERROR: A failure occurred in check().
    Aborting...
:: failed to build onionshare package(s)

Ask on the AUR if you're having problems. There's a much higher chance of someone who uses the software or the maintainer responding to you. That's kinda why the directory is there.

1 Like

If you're having troubles with the AUR package, there is most likely a solution in the comments on the AUR, or a solution already posted. If the first, comment your issues as well.

Seems someone posted a solution, try it?

I'm having the same issue as @heichblatt using the gui version.undefined> I had to add three packages to my system to get it to work:
pyqt5-common
python-pyqt5
python-qtpy

These should be marked as dependencies :slight_smile: