You are not logged in.
Pages: 1
Hi!
Any idea that can cause this?
zsh
(~)% offlineimap
zsh: exec format error: offlineimap
zsh: exit 126 offlineimap
zsh -f (clean shell)
netbook% offlineimap
zsh: exec format error: offlineimap
bash
[ivo@netbook ~]$ offlineimap
/usr/bin/offlineimap: line 20: from: command not found
/usr/bin/offlineimap: line 22: syntax error near unexpected token `('
/usr/bin/offlineimap: line 22: `oi = OfflineImap()'
$> cat /usr/bin/offlineimap
#!/usr/bin/python2
#...
#..
from offlineimap import OfflineImap
oi = OfflineImap()
oi.run()
I have the same problem with dropbox-cli and python2.
Thanks!
Last edited by ivoarch (2014-02-20 20:03:54)
Offline
What is the output of `uname -a` and `pacman -Qi offlineimap`?
Last edited by Scimmia (2014-02-20 19:32:42)
Offline
I use kernel-netbook, now I am going to try with the stock kernel.
$> uname -a
Linux netbook 3.12.0-netbook #1 SMP PREEMPT Wed Jan 15 15:15:01 CET 2014 i686 GNU/Linux
Name : offlineimap
Version : 6.5.5-1
Description : Synchronizes emails between two repositories
Architecture : any
URL : http://offlineimap.org/
Licenses : GPL
Groups : None
Provides : None
Depends On : python2
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1152.00 KiB
Packager : Gaetan Bisson <bisson@archlinux.org>
Build Date : Fri 04 Oct 2013 04:50:59 PM CEST
Install Date : Thu 20 Feb 2014 07:59:56 PM CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Last edited by ivoarch (2014-02-20 19:34:58)
Offline
Oh, I see, offlineimap is python2 scripts, so the problem is there. so `pacman -Qi python2` is what would be needed. I'm most specifically interested in the Architecture line.
Offline
Ok!
Name : python2
Version : 2.7.6-2
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : dropbox-cli offlineimap smbclient speedtest-cli xulrunner
Optional For : alsa-lib git glib2 ldb libevent libproxy lirc-utils talloc tdb tevent usbutils
Conflicts With : None
Replaces : None
Installed Size : 0.00 KiB
Packager : None
Build Date : None
Install Date : None
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Offline
It looks like your whole python2 installation is screwed up. Reinstall it, and I'm guessing you'll end up using --force to get it to go.
Offline
Ok I reinstalled and getting this now
(~)% offlineimap
Traceback (most recent call last):
File "/usr/bin/offlineimap", line 20, in <module>
from offlineimap import OfflineImap
ImportError: No module named offlineimap
Offline
That module is part of the offlineimap package. Try reinstalling that, too.
Offline
Pages: 1