Hi, I installed the OpenERP server on my fedora 19-x86_64 and all is working fine except when I try to install a new app, I get this error ImportError: cannot import name IMAP4_SSL I searched the forum and I found a similar problem got fixed on centOs by installing cython I did so and restarted the server, but I still get the same error and I looked at the /usr/lib/python2.7/site-packages and I found no folders with the name implib please help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
well, after struggling a lot I took a look at the file imaplib.py here:
pydoc.org/get.cgi/usr/local/lib/python2.5/imaplib.py
and I found this at line 1125:
try: import ssl except ImportError: pass else: class IMAP4_SSL(IMAP4):
so I wandered if it can't find openssl on my system, and it passes the initialization of the IMAP4_SSL class I did a test in Konsole trying to import the ssl class and it gave me an error.
so the fix was installing the openssl using the command
yum install openssl
after installing openssl I get everything working as expected.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Agu 25
|
1549 | ||
|
1
Mei 25
|
1262 | ||
|
2
Mei 25
|
1411 | ||
|
0
Apr 25
|
1126 | ||
|
1
Mar 25
|
1619 |