← Back to team overview

openerp-india team mailing list archive

[Bug 929466] Re: [6.1RC1] failed to load openerp-web

 

That's not supposed to happen indeed, if it was simply an issue of wrong addons_path the loading should fail with an ImportError.
I tried various settings and am not been able to reproduce your problem yet... investigating further.

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

Title:
  [6.1RC1] failed to load openerp-web

Status in OpenERP Server:
  New

Bug description:
  I don't think it is a duplication of other bugs. Please note KeyError:
  'web'.

  addons, openerp-web, and server from today fetched from scratch. Just after fetching i run the command below.
  I got it running in november and december so I know various issues. But now I am stuck. Below I added list of my python packages.

  gg@gg-laptop:~/trunk/server$ sudo -u openerp ./openerp-server --addons-path=openerp/addons/,../openerp-web/addons/ --load=web
  2012-02-09 11:14:05,599 9951 INFO ? openerp: OpenERP version 6.1rc1
  2012-02-09 11:14:05,599 9951 INFO ? openerp: addons paths: /home/gg/trunk/server/openerp/addons,/home/gg/trunk/openerp-web/addons
  2012-02-09 11:14:05,599 9951 INFO ? openerp: database hostname: localhost
  2012-02-09 11:14:05,599 9951 INFO ? openerp: database port: 5432
  2012-02-09 11:14:05,599 9951 INFO ? openerp: database user: openerp
  2012-02-09 11:14:05,600 9951 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
  2012-02-09 11:14:05,601 9951 INFO ? openerp.netsvc: Starting 1 services
  2012-02-09 11:14:05,871 9951 INFO ? openerp.wsgi: HTTP service (werkzeug) running on 0.0.0.0:8069
  2012-02-09 11:14:05,873 9951 ERROR ? openerp: Failed to load server-wide module `web`.
  The `web` module is provided by the addons found in the `openerp-web` project.
  Maybe you forgot to add those addons in your addons_path configuration.
  Traceback (most recent call last):
    File "./openerp-server", line 248, in <module>
      getattr(sys.modules[m], info['post_load'])()
  KeyError: 'web'
  2012-02-09 11:14:05,873 9951 INFO ? openerp: OpenERP server is running, waiting for connections...

  gg@gg-laptop:~/trunk/server$ pip freeze
  Warning: cannot find svn location for openoffice-python==0.1-r34-20090228
  4Suite-XML==1.0.2
  Babel==0.9.6
  Beaker==1.5.4
  Brlapi==0.5.4
  BzrTools==2.1.0
  Cheetah==2.0.1
  CherryPy==3.1.2
  CouchDB==0.6
  Django==1.3.1
  FormEncode==1.2.2
  Genshi==0.5.1
  GnuPGInterface==0.3.2
  M2Crypto==0.20.1
  Mako==0.2.5
  Numeric==24.2
  PAM==0.4.2
  PIL==1.1.7
  Paste==1.7.3.1
  PasteDeploy==1.3.3
  PasteScript==1.7.3
  PyChart==1.39
  PyOpenGL==3.0.0
  PyWebDAV==0.9.4.1
  PyYAML==3.09
  Pygments==1.3.1
  Pylons==1.0
  Pyro==3.15
  Routes==1.12.3
  SQLAlchemy==0.5.8
  Tempita==0.4
  Twisted-Core==10.0.0
  Twisted-Names==10.0.0
  Twisted-Web==10.0.0
  UniConvertor==1.1.4
  WebError==0.10.2
  WebHelpers==1.0rc1
  WebOb==0.9.8
  WebTest==1.2.1
  Werkzeug==0.8.1
  adium-theme-ubuntu==0.1
  aeroolib==1.0.0
  apturl==0.4.1ubuntu4.1
  bzr==2.1.4
  command-not-found==0.1
  configglue==0.2dev
  configobj==4.7.1
  cups==1.0
  decorator==3.2.0
  distribute==0.6.10
  django-inplaceedit==0.74
  django-localeurl==1.5
  django-maintenancemode==0.9.3a1
  django-pagination==1.0.7
  django-piston==0.2.3
  django-recaptcha==0.0.3
  django-registration==0.7
  django-transmeta==0.9.2
  dulwich==0.4.1
  flup==1.0.2
  foolscap==0.5.1
  fstab==1.4
  gdata.py==1.2.4
  gnome-app-install==0.4.2ubuntu2
  httplib2==0.6.0
  human-theme==0.39
  ipython==0.10
  jockey==0.5.8
  launchpadlib==1.6.0
  lazr.restfulclient==0.9.11
  lazr.uri==1.0.2
  louis==1.7.0
  lxml==2.2.4
  matplotlib==0.99.1.1
  mercurial==1.4.3
  nose==0.11.3
  numpy==1.3.0
  nvidia-common==0.0.0
  oauth==1.0a
  onboard==0.0.0
  ooop==0.2.3
  openerp-client==5.0.5
  openerp-mobile==0.1dev
  openerp-web==6.0.2
  ## FIXME: could not find svn URL in dependency_links for this package:
  openoffice-python==0.1-r34-20090228
  papyon==0.4.8
  paramiko==1.7.7.1
  pexpect==2.3
  protobuf==2.2.0
  psycopg2==2.0.13
  pyOpenSSL==0.10
  pycrypto==2.5
  pycurl==7.19.0
  pydot==1.0.2
  pyinotify==0.8.9
  pyparsing==1.5.2
  pyserial==2.3
  python-apt==0.7.94.2ubuntu6.4
  python-dateutil==1.4.1
  python-debian==0.1.14ubuntu2
  python-openid==2.2.4
  pytz==2010b
  pyusb==0.4.2
  pyxdg==0.18
  rabbitvcs==0.15.0.5
  rdflib==2.4.2
  recaptcha-client==1.0.6
  relatorio==0.5.1
  reportlab==2.4
  screen-resolution-extra==0.0.0
  simplejson==2.0.9
  smbc==1.0
  speechd==0.3
  speechd-config==0.0
  system-service==0.1.6
  ubuntuone-storage-protocol==1.2.0
  ufw==0.30pre1-0ubuntu2
  unattended-upgrades==0.1
  usb-creator==0.2.22
  vboxapi==1.0
  virtkey==0.01
  virtualenv==1.4.5
  vobject==0.8.1c
  wadllib==1.1.4
  web.py==0.33
  wsgiref==0.1.2
  wxPython==2.8.10.1
  wxPython-common==2.8.10.1
  xkit==0.0.0
  zope.interface==3.5.3

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