smtp client error " no module named generator"

Asked by tst on 2009-09-13

Good morning,

i have this probem in windows xp
i have configure my smtp server wiyh tis parameters:

server name: localhost
server type: google server
email adress: <email address hidden>
email from: administrator<email address hidden>
use auth : checked
user name: tst9842
password: password of <email address hidden>
smtp port: 587
use ssl: checked
sever satut: not verified
server type: default

now if i click on "send verification code" i have the error message in the log

[2009-09-13 12:08:58,562] ERROR:web-services:[01]: Exception in call: Traceback (most recent call last):
[2009-09-13 12:08:58,562] ERROR:web-services:[02]: File "wizard\__init__.pyo", line 74, in execute_cr
[2009-09-13 12:08:58,562] ERROR:web-services:[03]: File "C:\Program Files\OpenERPAllInOne\Server\addons\\smtpclient\wizard\", line 41, in send_code
[2009-09-13 12:08:58,562] ERROR:web-services:[04]: File "C:\Program Files\OpenERPAllInOne\Server\addons\\smtpclient\", line 174, in test_verify_email
[2009-09-13 12:08:58,562] ERROR:web-services:[05]: File "email\message.pyo", line 128, in as_string
[2009-09-13 12:08:58,562] ERROR:web-services:[06]: File "email\__init__.pyo", line 79, in __getattr__
[2009-09-13 12:08:58,562] ERROR:web-services:[07]: ImportError: No module named generator

just for your information i look in openobject lanchpad it'is the bug:

can you help me please what i do,
kind regards

Question information

English Edit question
Odoo Addons (MOVED TO GITHUB) Edit question
No assignee Edit question
Last query:
Last reply:

Hello Alberto,

Is the bug still present?

Would you please check?

Saurabh (saurabh-mukherjee) said : #2

I'm facing the same issue here. I installed the smtp_client module but when i try verifying the newly configured email account it gives the below mentioned error:
Traceback (most recent call last):
  File "netsvc.pyo", line 244, 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 "F:\OpenERP Server\addons\\smtpclient\wizard\", line 41, in send_code
  File "F:\OpenERP Server\addons\\smtpclient\", line 174, in test_verify_email
  File "email\message.pyo", line 128, in as_string
  File "email\__init__.pyo", line 79, in __getattr__
ImportError: No module named generator

I have WIN Server 2003 RC2 Enterprise with postgre sql 8.3.8 and OPEN ERP 5
ne suggestions are invited.

siva (msivarama) said : #3

I am also getting same error. Do I need to install any dependent module.
any help ?


Would you please have a latest version of OpenERP windows installer?


siva (msivarama) said : #5

At present i am using OpenERP windows installer 5.0.6. Do I need to switch to 5.0.7 ?


We agree that it was a problem in the version 5.0.6.
With the latest version, it has been fixed.
You may download 5.0.7 or may test this unstable version


siva (msivarama) said : #7


Thanks a lot for the prompt reply. We have just downloaded and installed v5.0.7 and the issue is still persisting.
Am I missing something? Can you point me to any article which talks about the steps required to configure the smtpclient.

Thanks In Advance

Hello Siva,

The Link contains the beta version of the after the fix of the bug.

Either way, the discussions on this link will help you out.


Can you help with this problem?

Provide an answer of your own, or ask tst for more information if necessary.

To post a message you must log in.