[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find-work script no longer working on stable



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 Tue, Aug 9, 2016 at 4:59 AM, Chris Lamb <lamby@debian.org> wrote:
>> ola@tigereye:~/git/debian-lts$ ./find-work
>> Traceback (most recent call last):
>>   File "./find-work", line 3, in <module>
>>     import requests
>>
>
> I think I'm missing some bit of your traceback/testcase here?
>
>> 8056874b90d35883fd3a1747b911d935367edda3
>
> Guessing from this, I think you had locale issues. This is orthogonal
> to stable/unstable but rather an invalid/missing/whatever LANG setting.
>
> For example, under sid if I unset LANG:
>
> $ LANG= ./find-work
> [..]
>   File "./find-work", line 66, in <module>
>     dla_needed[package]['more'],
> UnicodeEncodeError: 'ascii' codec can't encode character '\xe1' in position 13: ordinal not in range(128)
>
>> Or can we in some other way make it work also on Debian stable?
>
> I've fixed the above issue in 19dab98. No need to jump to reverting
> stuff..
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby@debian.org / chris-lamb.co.uk
>        `-



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  ola@inguza.com                    Folkebogatan 26            \
|  opal@debian.org                   654 68 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


Reply to: