From: ludo@gnu.org (Ludovic Courtès)
To: Paul van der Walt <paul@denknerd.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: OfflineIMAP and Python
Date: Thu, 23 Apr 2015 21:04:04 +0200 [thread overview]
Message-ID: <87tww6d5uj.fsf@gnu.org> (raw)
In-Reply-To: <87vbgn87ig.fsf@denknerd.org> (Paul van der Walt's message of "Thu, 23 Apr 2015 12:27:03 +0200")
Paul van der Walt <paul@denknerd.org> 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’.
next prev parent reply other threads:[~2015-04-23 19:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 10:53 OfflineIMAP and Python Paul van der Walt
2015-04-21 11:03 ` Ricardo Wurmus
2015-04-21 14:44 ` Paul van der Walt
2015-04-21 15:37 ` Ludovic Courtès
2015-04-21 15:47 ` Ricardo Wurmus
2015-04-23 10:27 ` Paul van der Walt
2015-04-23 10:31 ` Paul van der Walt
2015-04-23 19:04 ` Ludovic Courtès
2015-04-23 19:04 ` Ludovic Courtès [this message]
2015-04-23 21:32 ` Paul van der Walt
2015-04-29 20:11 ` Ludovic Courtès
2015-04-29 20:45 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tww6d5uj.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=paul@denknerd.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.