[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OfflineIMAP and Python
From: |
Ludovic Courtès |
Subject: |
Re: OfflineIMAP and Python |
Date: |
Thu, 23 Apr 2015 21:04:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Paul van der Walt <address@hidden> skribis:
> On 2015-04-21 at 17:37, quoth Ludovic Courtès:
>> The ‘python’ executable is necessarily the right one, because it’s
>> written in the shebang, and this operator.so is the right one too.
>>
>> It could be that the wrong libpython was loaded, though.
>
> Okay, i had some more time to look into this. First, i applied Ricardo's
> change -- i also use the 'pythonfile' option. I've changed that file's
> first line to read
>
> #!/usr/bin/env python
But I suspect that gives you /usr/bin/python instead of
/home/paul/.guix-profile/bin/python no? Changing the shebang to
explicitly use the latter would be safer.
>> Could you run ‘strace -o log offlineimap’ and then:
>>
>> grep 'open.*\.so.*= [0-9]' log
>
> That gives me
>
> -------------8<-----------------------
> open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
> open("/usr/lib/libhistory.so.6", O_RDONLY|O_CLOEXEC) = 3
> open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
> open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
The ‘execve’ before would probably show us that /usr/bin/python is
running I suppose.
Ludo’.
- OfflineIMAP and Python, Paul van der Walt, 2015/04/21
- Re: OfflineIMAP and Python, Ricardo Wurmus, 2015/04/21
- Re: OfflineIMAP and Python, Paul van der Walt, 2015/04/21
- Re: OfflineIMAP and Python, Ludovic Courtès, 2015/04/21
- Re: OfflineIMAP and Python,
Ludovic Courtès <=
- Re: OfflineIMAP and Python, Paul van der Walt, 2015/04/23
- Re: OfflineIMAP and Python, Ludovic Courtès, 2015/04/29
- Re: OfflineIMAP and Python, Ricardo Wurmus, 2015/04/29