Re: find-work script no longer working on stable

2016-08-09 Thread Guido Günther
On Tue, Aug 09, 2016 at 06:50:47PM +0100, Chris Lamb wrote: > > try: > > import requests > > except ImportError: > > sys.stderr.puts("You need to install python3-requests") > > sys.exit(1) > > This seems unnecessary; ``requests`` was always required, it would make > the behaviour

Re: find-work script no longer working on stable

2016-08-09 Thread Guido Günther
On Tue, Aug 09, 2016 at 01:13:23PM +0200, Ola Lundqvist wrote: > Hi Chris > > After fiddling with this for a while I realize that there is a > python-requests package but there is also a phyton3-requests package. > After installing that it works just fine. > > I have now committed a change

Re: find-work script no longer working on stable

2016-08-09 Thread Julien Cristau
On Tue, Aug 9, 2016 at 13:37:44 +0200, Ola Lundqvist wrote: > Hi chris > > I pasted all traceback I had. :) No you didn't, you excluded the most important part: ImportError: No module named 'requests' Cheers, Julien

Re: find-work script no longer working on stable

2016-08-09 Thread Chris Lamb
> He did post the entire traceback. Nope, or at least not in my MTA.. http://i.imgur.com/VD7Xmpb.jpg *shrugs* -- Chris Lamb chris-lamb.co.uk / @lolamby

Re: find-work script no longer working on stable

2016-08-09 Thread Chris Lamb
> I pasted all traceback I had. :) That's .. very odd. You should have seen (at least!) "ImportError: No module named requests" which would have pointed out the problem quite quickly. (I was also confused that you pointed to a commit about encoding issues, rather than one moving to Python 3..)

Re: find-work script no longer working on stable

2016-08-09 Thread Ola Lundqvist
Hi chris I pasted all traceback I had. :) If you know a way to get more then please let me know. / Ola Sent from a phone Den 9 aug 2016 13:23 skrev "Chris Lamb" : > > After fiddling with this for a while I realize that there is a > > python-requests package but there is also

Re: find-work script no longer working on stable

2016-08-09 Thread Roberto C . Sánchez
He did post the entire traceback. Without python3-requests, this is all that happens: Traceback (most recent call last): File "./find-work", line 7, in import requests ImportError: No module named 'requests' That is the entirety of it; there is nothing more. In any event, I am happy

Re: find-work script no longer working on stable

2016-08-09 Thread Chris Lamb
> After fiddling with this for a while I realize that there is a > python-requests package but there is also a phyton3-requests package. Oh, that simple? That should have been pretty obvious if you had pasted the traceback.. Anyway, I'm glad I could fix the locale issue for myself. Regards,

Re: find-work script no longer working on stable

2016-08-08 Thread Chris Lamb
> ola@tigereye:~/git/debian-lts$ ./find-work > Traceback (most recent call last): > File "./find-work", line 3, in > import requests > I think I'm missing some bit of your traceback/testcase here? > 8056874b90d35883fd3a1747b911d935367edda3 Guessing from this, I think you had locale

find-work script no longer working on stable

2016-08-08 Thread Ola Lundqvist
Hi Chris First thanks for impoving find-work. The additions have been good, except for one thing. I have Debian stable on my workstation and the latest find-work update make it spit out the following: ola@tigereye:~/git/debian-lts$ ./find-work Traceback (most recent call last): File