Open ERP Forum
   IndexIndex   SearchSearch     RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   RSSRSS   Mailing ListMailing List   Log inLog in 

SMTP Client install error
Goto page 1, 2  Next  
Post new topic   Reply to topic    Open Object Forum Index -> Installation Questions
View previous topic :: View next topic  
Author Message
burtiess



Joined: 14 Jan 2007
Posts: 53

PostPosted: Mon Mar 30, 2009 8:15 am    Post subject: SMTP Client install error Reply with quote

Hi,

When try to install the SMTP Client Module I get the following error:

Code:
Traceback (most recent call last):
  File "netsvc.pyo", line 231, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 552, in execute
  File "service\web_services.pyo", line 532, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 74, in execute_cr
  File "F:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
  File "pooler.pyo", line 61, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 715, in load_modules
  File "addons\__init__.pyo", line 584, in load_module_graph
  File "addons\__init__.pyo", line 384, in register_class
  File "F:\Program Files\OpenERP AllInOne\Server\addons\smtpclient\__init__.py", line 22, in <module>
  File "F:\Program Files\OpenERP AllInOne\Server\addons\smtpclient\smtpclient.py", line 33, in <module>
  File "email\__init__.pyo", line 79, in __getattr__
  File "email\message.pyo", line 86, in <module>
  File "email\message.pyo", line 786, in Message
  File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators


Can somebody please, please advice?

Thanks !

Bert
Back to top
View user's profile Send private message
hda



Joined: 03 Dec 2007
Posts: 1376
Location: Belgium

PostPosted: Mon Mar 30, 2009 11:51 am    Post subject: Reply with quote

I have latest revision of extra-addons 3638, I can install smtpclient module and send mail too. Try to update your code please.
_________________
OpenERP=Easier, Adaptable, Affordable, Modular
Back to top
View user's profile Send private message
burtiess



Joined: 14 Jan 2007
Posts: 53

PostPosted: Mon Mar 30, 2009 9:48 pm    Post subject: Reply with quote

Thanks for the reply, but I have the same version, double checked and reinstalled (to be sure), sadly no succes Rolling Eyes

Am I missing something? Could use some help !
Back to top
View user's profile Send private message
pitititi



Joined: 02 Sep 2008
Posts: 44
Location: Switzerland

PostPosted: Tue Apr 21, 2009 3:01 pm    Post subject: Reply with quote

i've the smtpclient module and it works fine too.
Back to top
View user's profile Send private message Visit poster's website
jorge.a



Joined: 17 May 2009
Posts: 11

PostPosted: Sun May 17, 2009 2:29 am    Post subject: error installing smtpclient module Reply with quote

I getting this error when I'm trying to install smtpclient
does any body know why??

thank you
Jorge.A

Code:

Traceback (most recent call last):
  File "netsvc.pyo", line 231, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 552, in execute
  File "service\web_services.pyo", line 532, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 74, in execute_cr
  File "C:\Program Files\OpenERP Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
  File "pooler.pyo", line 61, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 715, in load_modules
  File "addons\__init__.pyo", line 584, in load_module_graph
  File "addons\__init__.pyo", line 390, in register_class
  File "C:\Program Files\OpenERP Server\addons\smtpclient.zip\smtpclient\__init__.py", line 22, in <module>
  File "C:\Program Files\OpenERP Server\addons\smtpclient.zip\smtpclient\smtpclient.py", line 33, in <module>
  File "email\__init__.pyo", line 79, in __getattr__
  File "email\message.pyo", line 86, in <module>
  File "email\message.pyo", line 786, in Message
  File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators
Confused Confused Confused Confused Confused Confused Confused Smile Confused Confused Confused Confused
Back to top
View user's profile Send private message
najah



Joined: 05 May 2009
Posts: 5

PostPosted: Tue May 19, 2009 5:15 pm    Post subject: Reply with quote

hi,
I have the same error
did you find a solution??? Embarassed
Back to top
View user's profile Send private message
jorge.a



Joined: 17 May 2009
Posts: 11

PostPosted: Tue May 19, 2009 7:12 pm    Post subject: Reply with quote

not yet najah,

I've been reading and the smtp module has bugs that need to be fixed.
I haven't found anything in the "launchpad", if someone can help us I will appreciate it

Thank you
Jorge.A
Back to top
View user's profile Send private message
anajuaristi



Joined: 14 Jan 2008
Posts: 498
Location: Gipuzkoa(spain)

PostPosted: Wed May 20, 2009 3:07 am    Post subject: Reply with quote

You have to download last version of extra-addons branch from launchpad. Here:
Code:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons


After downloading, look for the smtpclient folder inside extra-addons folder.

Then copy that entire folder into server/addons

Restart the server and try installing module again. That's all.
_________________
Manuales, Videotutoriales de OpenERP en http://www.openerpsite.com
http://www.aulaerp.com
Back to top
View user's profile Send private message Visit poster's website
jorge.a



Joined: 17 May 2009
Posts: 11

PostPosted: Wed May 20, 2009 3:47 am    Post subject: Reply with quote

openerpsite

thank you for your answer, I did what you told me but nothing again.



Traceback (most recent call last):
File "netsvc.pyo", line 231, in dispatch
File "netsvc.pyo", line 74, in __call__
File "service\web_services.pyo", line 552, in execute
File "service\web_services.pyo", line 532, in _execute
File "wizard\__init__.pyo", line 178, in execute
File "wizard\__init__.pyo", line 74, in execute_cr
File "C:\Program Files\OpenERP Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
File "pooler.pyo", line 61, in restart_pool
File "pooler.pyo", line 40, in get_db_and_pool
File "addons\__init__.pyo", line 715, in load_modules
File "addons\__init__.pyo", line 584, in load_module_graph
File "addons\__init__.pyo", line 390, in register_class
File "C:\Program Files\OpenERP Server\addons\smtpclient.zip\smtpclient\__init__.py", line 22, in <module>
File "C:\Program Files\OpenERP Server\addons\smtpclient.zip\smtpclient\smtpclient.py", line 33, in <module>
File "email\__init__.pyo", line 79, in __getattr__
File "email\message.pyo", line 86, in <module>
File "email\message.pyo", line 786, in Message
File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators


by the way, do you know where I can download the las release of Openerp
thank you for your answer
Jorge.A
Back to top
View user's profile Send private message
AlfonsoS



Joined: 11 May 2009
Posts: 4

PostPosted: Sun May 24, 2009 8:10 pm    Post subject: Reply with quote

openerpsite

thank you for your answer, I also did what you explain but nothing again.
Back to top
View user's profile Send private message
liebana



Joined: 28 Jan 2009
Posts: 135
Location: Spain

PostPosted: Mon Jun 29, 2009 6:34 pm    Post subject: Reply with quote

I've just had the same error, working with windows (myself with windows vista). In linux, everything went fine, so I think (based on what I've read in previous threads) that there is a bug on the smtpclient when installing in windows (maybe not of OpenERP but of Python dll's).

Sad
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
shaikkalesha



Joined: 15 Jun 2009
Posts: 100
Location: INDIA

PostPosted: Thu Jul 02, 2009 6:26 am    Post subject: Reply with quote

1.copy the 'iterators.py' from the path "C:\Program Files\OpenERP AllInOne\Web\python25\Lib\email" and paste in the server path "C:\Program Files\OpenERP AllInOne\Server\library.zip\email"

2. Copy the 'base.py', 'multipart.py','nonmultipart.py', 'text.py' from "C:\Program Files\OpenERP AllInOne\Web\python25\Lib\email\mime" and paste in "C:\Program Files\OpenERP AllInOne\Server\library.zip\email\mime" folder

3.Now, restart the servers and import the smtpclient module.

enjoy
Back to top
View user's profile Send private message Send e-mail
Benoit Rabozzi



Joined: 20 Jul 2009
Posts: 3

PostPosted: Mon Jul 20, 2009 11:19 am    Post subject: Reply with quote

I had the same problem and I could fix it following the solution from shaikkalesha, thanks a lot.
_________________
Ben
Back to top
View user's profile Send private message AIM Address
anna



Joined: 28 Aug 2009
Posts: 1

PostPosted: Fri Aug 28, 2009 11:21 pm    Post subject: I have the same error Reply with quote

Hi,

I did all you explained but...

any help for this?

Thanks

Environment Information :
System : Windows-32bit-SP1
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : es_ES.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 242, in dispatch
File "netsvc.pyo", line 73, in __call__
File "service\web_services.pyo", line 639, in execute
File "service\web_services.pyo", line 619, in _execute
File "wizard\__init__.pyo", line 178, in execute
File "wizard\__init__.pyo", line 74, in execute_cr
File "C:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
File "pooler.pyo", line 62, in restart_pool
File "pooler.pyo", line 40, in get_db_and_pool
File "addons\__init__.pyo", line 728, in load_modules
File "addons\__init__.pyo", line 578, in load_module_graph
File "addons\__init__.pyo", line 406, in register_class
File "C:\Program Files\OpenERP AllInOne\Server\addons\smtpclient.zip\smtpclient\__init__.py", line 22, in <module>
File "C:\Program Files\OpenERP AllInOne\Server\addons\smtpclient.zip\smtpclient\smtpclient.py", line 33, in <module>
File "email\__init__.pyo", line 79, in __getattr__
File "email\message.pyo", line 86, in <module>
File "email\message.pyo", line 786, in Message
File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named iterators
Back to top
View user's profile Send private message
GEM



Joined: 21 Nov 2008
Posts: 1658
Location: Lotharingie

PostPosted: Mon Aug 31, 2009 10:33 am    Post subject: Reply with quote

go to C:\Program Files\OpenERP AllInOne\Server

extract C:\Program Files\OpenERP AllInOne\Server\library.zip to C:\Program Files\OpenERP AllInOne\Server\library
rename C:\Program Files\OpenERP AllInOne\Server\library.zip to C:\Program Files\OpenERP AllInOne\Server\library-ori.zip
in C:\Program Files\OpenERP AllInOne\Server\library delete the folder C:\Program Files\OpenERP AllInOne\Server\library\email.

copy C:\Program Files\OpenERP AllInOne\Web\python25\Lib\email and paste to C:\Program Files\OpenERP AllInOne\Server\library\email

in C:\Program Files\OpenERP AllInOne\Server\library do CTRL+a (select all), add the selection to the archieve library.zip
copy C:\Program Files\OpenERP AllInOne\Server\\library\library.zip and paste it in C:\Program Files\OpenERP AllInOne\Server\.

restart the server, install the module
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Open Object Forum Index -> Installation Questions All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum