← Back to team overview

openerp-india team mailing list archive

[Bug 1088239] Re: pkg_resources.DistributionNotFound: openerp==7.0alpha

 

Use pgadmin to guess which res_users might be bad.

DELETE FROM note_stage WHERE user_id IN (3,5)
DELETE FROM res_users where id IN (3,5)

No more problem. But, I'm wonder how OpenERP version 7.0 alpha might
have created this data situation.

-- 
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/1088239

Title:
  pkg_resources.DistributionNotFound: openerp==7.0alpha

Status in OpenERP Server:
  New

Bug description:
  On a running OpenERP version 6.1-20121013-233103 installation I
  downloaded and installed version 7 but am unable to convert my data. I
  get "pkg_resources.DistributionNotFound: openerp==7.0alpha" now. Here
  is the detail of what I did:

  root@QnD:~/Downloads# wget http://nightly.openerp.com/trunk/nightly/deb/openerp_7.0alpha-20121206-000102-1_all.deb
  root@QnD:~/Downloads# dpkg -i openerp_7.0alpha-20121206-000102-1_all.deb.
  root@QnD:~/Downloads# service openerp stop
  root@QnD:~/Downloads# su - openerp
  openerp@QnD:~$ openerp-server -d openerp1 -u all
  Traceback (most recent call last):
    File "/usr/local/bin/openerp-server", line 4, in <module>
      import pkg_resources
    File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c12dev_r88846-py2.7.egg/pkg_resources.py", line 2607, in <module>

    File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c12dev_r88846-py2.7.egg/pkg_resources.py", line 565, in resolve
      while requirements:
  pkg_resources.DistributionNotFound: openerp==7.0alpha

  I can create new databases and work with them, but; I wonder how I
  might be able to access my unmodified version 6.1 DBs?

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


References