[Pkg-privacy-maintainers] Onionshare new upstream version 0.9 - questions

u u at 451f.org
Sun Apr 17 20:42:15 UTC 2016


Hi,

I've prepared a new package for version 0.9.

However there are some small problems for which I would kindly request
some advice to fix them:

1. When building the package, there is a test suite which is run
automatically, but it fails with the following errors (I bypassed this
using "export DEB_BUILD_OPTIONS=nocheck" when I first built the package):

I: pybuild base:184: cd
/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build; python3.5 -m nose test
..EE..
======================================================================
ERROR: load_strings() loads English by default
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File
"/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/test/onionshare_strings_test.py",
line 33, in test_load_strings_defaults_to_english
    strings.load_strings()
  File
"/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/onionshare/strings.py",
line 40, in load_strings
    for filename in os.listdir(locale_dir):
FileNotFoundError: [Errno 2] No such file or directory:
'/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/resources/locale'

======================================================================
ERROR: load_strings() loads other languages in different locales
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File
"/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/test/onionshare_strings_test.py",
line 40, in test_load_strings_loads_other_languages
    strings.load_strings("fr")
  File
"/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/onionshare/strings.py",
line 40, in load_strings
    for filename in os.listdir(locale_dir):
FileNotFoundError: [Errno 2] No such file or directory:
'/build/onionshare-0.9/.pybuild/pythonX.Y_3.5/build/resources/locale'



2. With the 0.9 package which I've built, running TorBrowser is still a
must.  I've tried using system tor instead simply by not running
Torbrowser. Then, running onionshare crashed Tor.

That's the tor log:

Apr 17 22:24:43.000 [notice] New control connection opened from 127.0.0.1.
Apr 17 22:24:44.000 [notice] Caching new entry debian-tor for debian-tor
Apr 17 22:24:44.000 [notice] Tor 0.2.5.12 (git-3731dd5c3071dcba) opening
log file.
Apr 17 22:24:44.000 [warn] Directory /tmp/onionshare/tmpjxammj8t cannot
be read: Permission denied
Apr 17 22:24:44.000 [warn] Error loading rendezvous service keys
Apr 17 22:24:44.000 [err] set_options(): Bug: Acting on config options
left us in a broken state. Dying.

I think that's the same bug as:
https://github.com/micahflee/onionshare/issues/267

But I wonder, from https://labs.riseup.net/code/issues/7870#change-54921
I understood that the idea was to work with stem and system tor? Could
you confirm this? Or did I misunderstand?

Cheers & thanks for working on onionshare,
u.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-privacy-maintainers/attachments/20160417/7cf84888/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list