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 incon
> 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 inconsistent with all the other scripts which also have
dependencies that are in
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 docume
Whoops! Now I understand the confusion. :-) Sorry about that.
Cut and paste error from my part.
// Ola
On Tue, Aug 9, 2016 at 2:12 PM, Julien Cristau wrote:
> 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
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
> 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
> 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..)
A
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 a phyton3-requests
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 that
> 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,
--
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 documenting this requirement at the top
of the script.
Best regards
// Ola
On Tu
> 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 issue
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 "./find-wor
13 matches
Mail list logo