Bug#801297: [Pkg-anonymity-tools] Bug#801297: torbrowser-launcher: Don't starts.

2015-10-08 Thread Vladimir Stavrinov
On Thu, Oct 08, 2015 at 10:45:03AM +, u wrote:

> * Which update is it you are trying to do? The automatic one induced by
> the package itself?

Yes, 5.0.3

> * Did it work before or is this a fresh install?

Yes, it worked before, but after 

rm -fr .config/torbrowser .cache/torbrowser

and reinstalling nothing changed.

> * By default, tbl updates over Tor, could you try if updating without
> Tor works? In order to do so, run torbrowser-launcher --settings

With this option it works even over tor. After successful update it
works in any way. But after restarting without --setting option it
was updated from 5.0 to 5.0.3 again. Eventually it works.

> * Can you run torbrowser-launcher from a terminal and send us the output
> please?

That is what was before updating with --setting option:

Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
Updating over Tor
Checking for update
Downloading 
https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions
Checking to see if update is needed
TBB is out of date, attempting to upgrade to 5.0.3
Downloading https://dist.torproject.org/torbrowser/5.0.3/sha256sums.txt
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 916, 
in dispatcher
return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 1472, 
in _finishResponse_WAITING
self._giveUp(Failure(reason))
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 1525, 
in _giveUp
self._disconnectParser(reason)
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 1513, 
in _disconnectParser
parser.connectionLost(reason)
---  ---
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 537, 
in connectionLost
self.response._bodyDataFinished()
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 916, 
in dispatcher
return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/twisted/web/_newclient.py", line 1161, 
in _bodyDataFinished_CONNECTED
self._bodyProtocol.connectionLost(reason)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
375, in connectionLost
self.all_done(reason)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
392, in response_finished
self.run_task()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
314, in run_task
self.attempt_update()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
541, in attempt_update
self.build_ui()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
284, in build_ui
self.start(None)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
293, in start
self.run_task()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
318, in run_task
self.download('signature', self.common.paths['sha256_url'], 
self.common.paths['sha256_file'])
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
454, in download
agent = SOCKS5Agent(reactor, 
VerifyTorProjectCert(self.common.paths['torproject_pem']), 
proxyEndpoint=torEndpoint)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 58, in __init__
super(_SOCKSAgent, self).__init__(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 37, in __init__
'contextFactory must implement IPolicyForHTTPS')
exceptions.NotImplementedError: contextFactory must implement IPolicyForHTTPS

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 
666, in destroy
os.remove(self.current_download_path)
OSError: [Errno 2] No such file or directory: 
'/home/vs/.cache/torbrowser/download/sha256sums.txt'

> * Do you use AppArmor?

I don't know what is it.

So, though it was strange behaviour, but it works now and You can
close this issue. Thanks a lot.

###  Vladimir Stavrinov  ###



Bug#801297: [Pkg-anonymity-tools] Bug#801297: torbrowser-launcher: Don't starts.

2015-10-08 Thread u
tags 801297 + moreinfo

Hi Vladimir,

Vladmimir Stavrinov:
> Package: torbrowser-launcher
> Version: 0.2.0-2
> Severity: normal
> 
> Dear Maintainer,
> 
> It try to do update on start but hangs forever. Even pressing button "Exit" 
> don't cause any effect

Thanks for your bug report. Could you please try to give a little more
detail:

* Which update is it you are trying to do? The automatic one induced by
the package itself?
* Did it work before or is this a fresh install?
* By default, tbl updates over Tor, could you try if updating without
Tor works? In order to do so, run torbrowser-launcher --settings
* Can you run torbrowser-launcher from a terminal and send us the output
please?
* Do you use AppArmor?

Thanks!
u.