Mailinglist Archive: opensuse (1470 mails)

< Previous Next >
[opensuse] run python script take error.
  • From: Billy.Zheng(zw963) <zw963@xxxxxxx>
  • Date: Sat, 27 Feb 2016 21:28:41 +0800
  • Message-id: <87ziuml1ti.fsf@163.com>
when I run offlineimap, a python script for receive email.

get a error message:

$: offlineimap
Traceback (most recent call last):
File "/usr/bin/offlineimap", line 20, in <module>
from offlineimap import OfflineImap
File "/usr/lib/python2.7/site-packages/offlineimap/__init__.py", line 21, in
<module>
from offlineimap.init import OfflineImap
File "/usr/lib/python2.7/site-packages/offlineimap/init.py", line 28, in
<module>
from offlineimap import accounts, threadutil, syncmaster
File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 26, in
<module>
from offlineimap.repository import Repository
File "/usr/lib/python2.7/site-packages/offlineimap/repository/__init__.py",
line 25, in <module>
from offlineimap.repository.IMAP import IMAPRepository, MappedIMAPRepository
File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line
25, in <module>
from offlineimap import folder, imaputil, imapserver, OfflineImapError
File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 26,
in <module>
from ssl import SSLError, cert_time_to_seconds
File "/usr/lib64/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate

ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol:
SSLv2_method

Only if i run this script with sudo, it worked fine.

$ sudo offlineimap

Where to change this behavior, make this python package can work with
normal user account.

thanks.

--
Geek, Rubyist, Emacser
Homepage: http://zw963.github.io

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups