Error when trying to import the module under windows version of open erp

Asked by Marco Mangiante

Hello,

I'm trying to import the last version of power e-mail for open erp (power e-mail: 0.6.3; open erp: 5.0.6) but I'm obtaining this 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 "C:\Documents and Settings\Administrator.IMN\OpenERP

AllInOne\Server\addons\base\module\wizard\wizard_module_import.py", line 75, in

importzip
  File "C:\Documents and Settings\Administrator.IMN\OpenERP

AllInOne\Server\addons\base\module\module.py", line 335, in update_list
  File "C:\Documents and Settings\Administrator.IMN\OpenERP

AllInOne\Server\addons\base\module\module.py", line 500, in create
  File "osv\orm.pyo", line 2652, in create
  File "sql_db.pyo", line 76, in wrapper
  File "sql_db.pyo", line 120, in execute
IntegrityError: duplicate key value violates unique constraint

"ir_model_data_module_name_uniq"

I tried to follow your suggestion to import the module under windows (http://www.openlabs.co.in/blog/post/power-email-installation-windows/) but without success.

Hope someone can help me.

--
Regards,

Marco Mangiante

Question information

Language:
English Edit question
Status:
Answered
For:
Power Email Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#1

Hi,

the issue is different,
Looks like you already have this module installed.

Moreover the module is now available in a different location: http://openlabs.co.in/openerp/repositories/miscellaneous/

Please download the ZIP from there.

Before that make sure you dont have the module already. Your error is because you already have this module in your list and you are trying to install again.

Revision history for this message
Marco Mangiante (mmangiante) said :
#2

Hi,

first of all thank you for your quick reply. I previously installed the module (but the version 0.6.1) imported with no problem it and then loaded and obtained an error. After this, I do another read in "power-email-installation-link" link and found that I make a little mistake.
So I deleted the module previously installed (in open erp Modules page, I checked the power email module and done "Delete"), then I tried to do what I described in the post.

So my question is: in what mode I can surely delete the old module?

--
Regards,

Marco Mangiante

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#3

Hi,

The module import saves your zip file to addons folder.
I think you will have to delete there first and then restart your serevr and create a new database.

Can you help with this problem?

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

To post a message you must log in.