← Back to team overview

openerp-india team mailing list archive

[Bug 936931] Re: ""Module installation issue in windows7 and ubuntu ""

 

** Summary changed:

- ""Database restore issue with windows7 ""
+ ""Module installation issue in windows7 and ubuntu ""

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/936931

Title:
  ""Module installation issue in windows7 and ubuntu ""

Status in OpenERP Server:
  New

Bug description:
  Hi,

      I have created my module say 'my_app' which contains few tables
  with foreign key constraints.This is what i have tried to install it
  in a different DB.

  I have a table called 'idea_idea' in 'my_app' and other related
  tables.

  1)Created a new database say 'demo_db'
  2)logged into OpenERP for this db
  3)copied my module to 'addons' folder
  4)updated module list
  5)applied scheduled upgrades to the module.

  This is what i got

  Environment Information :
  System : Windows-Vista-6.1.7601-SP1
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7601
  Operating System Architecture : 32bit
  Operating System Locale : en_US.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "netsvc.pyo", line 489, in dispatch
    File "service\web_services.pyo", line 599, in dispatch
    File "osv\osv.pyo", line 122, in wrapper
    File "osv\osv.pyo", line 176, in execute
    File "osv\osv.pyo", line 167, in execute_cr
    File "C:\Program Files\OpenERP 6.0\Server\addons\base\module\wizard\base_module_upgrade.py", line 98, in upgrade_module
    File "pooler.pyo", line 60, in restart_pool
    File "pooler.pyo", line 39, in get_db_and_pool
    File "addons\__init__.pyo", line 883, in load_modules
    File "addons\__init__.pyo", line 719, in load_module_graph
    File "addons\__init__.pyo", line 414, in init_module_objects
    File "osv\orm.pyo", line 2693, in _auto_init
    File "sql_db.pyo", line 78, in wrapper
    File "sql_db.pyo", line 131, in execute
  ProgrammingError: relation "idea_idea" does not exist

  I have tried it in both windows 7 and ubuntu and came across with
  the same problem.

  But when i tried to install a module which contains tables
  with no constraints,the module was installed successfully.

  OpenERP version - openerp-allinone-setup-6.0-20120217-r3584(2)
  Ubuntu -11.10
  Postgres -8.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/936931/+subscriptions


References