I'm trying to migrate from Odoo v8 to v9. I've run the following commands
git checkout 9.0
then git pull
./openerp-server -d OdooTest1 -u all
But i get this errror message:
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-68-generic i686)
* Documentation: https://help.ubuntu.com/
System information as of Tue Jan 5 17:45:47 WAT 2016
System load: 0.0 Processes: 93
Usage of /: 41.5% of 8.99GB Users logged in: 1
Memory usage: 21% IP address for eth0: 192.168.1.7
Swap usage: 0% IP address for virbr0: 192.168.122.1
Graph this data and manage this system at:
https://landscape.canonical.com/
*** System restart required ***
Last login: Tue Jan 5 17:45:48 2016 from 192.168.1.3
olalekan@ubuntu:~$ cd /
olalekan@ubuntu:/$ sudo find -name registry.py
[sudo] password for olalekan:
./usr/lib/python2.7/dist-packages/passlib/registry.py
./usr/lib/python2.7/dist-packages/zope/interface/registry.py
./opt/odoo/odoo/openerp/modules/registry.py
olalekan@ubuntu:/$ sudo nano /opt/odoo/odoo/openerp/modules/registry.py
olalekan@ubuntu:/$ sudo find -name models.py
./usr/lib/python2.7/dist-packages/passlib/ext/django/models.py
./usr/lib/python2.7/dist-packages/requests/models.py
./usr/lib/python2.7/dist-packages/ldap/schema/models.py
./opt/odoo/odoo/openerp/tests/addons/test_translation_import/models.py
./opt/odoo/odoo/openerp/addons/test_inherits/models.py
./opt/odoo/odoo/openerp/addons/test_workflow/models.py
./opt/odoo/odoo/openerp/addons/test_uninstall/models.py
./opt/odoo/odoo/openerp/addons/test_exceptions/models.py
./opt/odoo/odoo/openerp/addons/test_impex/models.py
./opt/odoo/odoo/openerp/addons/test_access_rights/models.py
./opt/odoo/odoo/openerp/addons/test_limits/models.py
./opt/odoo/odoo/openerp/addons/test_new_api/models.py
./opt/odoo/odoo/openerp/addons/test_inherit/models.py
./opt/odoo/odoo/openerp/addons/test_converter/models.py
./opt/odoo/odoo/openerp/models.py
./opt/odoo/odoo/addons/website_form/models/models.py
./opt/odoo/odoo/addons/base_import/models.py
olalekan@ubuntu:/$ sudo nano /opt/odoo/odoo/openerp/models.py
olalekan@ubuntu:/$ sudo su - odoouseracct -s /bin/bash
[sudo] password for olalekan:
odoouseracct@ubuntu:~$ cd odoo
odoouseracct@ubuntu:~/odoo$ ./openerp-server -d OdooTest1 -u all
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>
import modules
File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>
import osv
File "/opt/odoo/odoo/openerp/osv/osv.py", line 5, in <module>
from .orm import Model, TransientModel, AbstractModel
File "/opt/odoo/odoo/openerp/osv/orm.py", line 5, in <module>
from ..models import (
File "/opt/odoo/odoo/openerp/models.py", line 5918, in <module>
from .fields import Field, SpecialValue, FailedValue
File "/opt/odoo/odoo/openerp/fields.py", line 1982, in <module>
from .models import check_pg_name, BaseModel, MAGIC_COLUMNS
ImportError: cannot import name check_pg_name
odoouseracct@ubuntu:~/odoo$ ^C
odoouseracct@ubuntu:~/odoo$ ^C
odoouseracct@ubuntu:~/odoo$ ./openerp-server -d OdooTest1 -u all
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>
import modules
File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>
import osv
File "/opt/odoo/odoo/openerp/osv/osv.py", line 5, in <module>
from .orm import Model, TransientModel, AbstractModel
File "/opt/odoo/odoo/openerp/osv/orm.py", line 5, in <module>
from ..models import (
File "/opt/odoo/odoo/openerp/models.py", line 5918, in <module>
from .fields import Field, SpecialValue, FailedValue
File "/opt/odoo/odoo/openerp/fields.py", line 1982, in <module>
from .models import check_pg_name, BaseModel, MAGIC_COLUMNS
ImportError: cannot import name check_pg_name
odoouseracct@ubuntu:~/odoo$ exit
logout
olalekan@ubuntu:/$ sudo find -name ir_models
[sudo] password for olalekan:
olalekan@ubuntu:/$ sudo find -name ir_model
olalekan@ubuntu:/$ sudo find -name ir_model.py
./opt/odoo/odoo/openerp/addons/base/ir/ir_model.py
olalekan@ubuntu:/$ sudo nano /opt/odoo/odoo/openerp/addons/base/ir/ir_model.py
olalekan@ubuntu:/$ sudo su - odoouseracct -s /bin/bash
odoouseracct@ubuntu:~$ cd odoo
odoouseracct@ubuntu:~/odoo$ ./openerp-server -d OdooTest1 -u all
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>
import modules
File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>
import osv
File "/opt/odoo/odoo/openerp/osv/osv.py", line 5, in <module>
from .orm import Model, TransientModel, AbstractModel
File "/opt/odoo/odoo/openerp/osv/orm.py", line 5, in <module>
from ..models import (
File "/opt/odoo/odoo/openerp/models.py", line 5918, in <module>
from .fields import Field, SpecialValue, FailedValue
File "/opt/odoo/odoo/openerp/fields.py", line 1982, in <module>
from .models import check_pg_name, BaseModel, MAGIC_COLUMNS
ImportError: cannot import name check_pg_name
odoouseracct@ubuntu:~/odoo$ exit
logout
olalekan@ubuntu:/$ sudo find -name fields.py
./usr/lib/python2.7/dist-packages/urllib3/fields.py
./opt/odoo/odoo/openerp/fields.py
./opt/odoo/odoo/openerp/osv/fields.py
olalekan@ubuntu:/$ sudo nano /opt/odoo/odoo/openerp/fields.py
olalekan@ubuntu:/$ sudo su - odoouseracct -s /bin/bash
odoouseracct@ubuntu:~$ cd odoo
odoouseracct@ubuntu:~/odoo$ ./openerp-server -d OdooTest1 -u all
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>
import modules
File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>
import osv
File "/opt/odoo/odoo/openerp/osv/osv.py", line 5, in <module>
from .orm import Model, TransientModel, AbstractModel
File "/opt/odoo/odoo/openerp/osv/orm.py", line 5, in <module>
from ..models import (
File "/opt/odoo/odoo/openerp/models.py", line 5918, in <module>
from .fields import Field, SpecialValue, FailedValue
File "/opt/odoo/odoo/openerp/fields.py", line 1982, in <module>
from .models import check_pg_name, BaseModel, MAGIC_COLUMNS
ImportError: cannot import name check_pg_name
odoouseracct@ubuntu:~/odoo$