AttributeError: 'module' object has no attribute 'Tool'

Reported by OpenBMS JSC on 2010-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Web Client
Undecided
Unassigned

Bug Description

Cannot start openobject-client-web

phongnt@phongnt-laptop:~/Documents/Projects/openerp-trunk/web$ ./openerp-web.py

 /usr/lib/pymodules/python2.6/cherrypy/lib/cptools.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/lib/pymodules/python2.6/cherrypy/filters/sessionfilter.py:33: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File "./openerp-web.py", line 11, in <module>
    from openobject.commands import start, ConfigurationError
  File "/home/phongnt/Documents/Projects/openerp-trunk/web/openobject/__init__.py", line 10, in <module>
    import controllers._root
  File "/home/phongnt/Documents/Projects/openerp-trunk/web/openobject/controllers/_root.py", line 4, in <module>
    from openobject.tools import expose
  File "/home/phongnt/Documents/Projects/openerp-trunk/web/openobject/tools/__init__.py", line 1, in <module>
    from _tools import *
  File "/home/phongnt/Documents/Projects/openerp-trunk/web/openobject/tools/_tools.py", line 38, in <module>
    cherrypy.tools.nestedvars = cherrypy.Tool("before_handler", nestedvars_tool)
AttributeError: 'module' object has no attribute 'Tool'

phongnt@phongnt-laptop:~/Documents/Projects/openerp-trunk/web$ bzr info
Standalone tree (format: 2a)
Location:
  branch root: .

Related branches:
  parent branch: bzr+ssh://bazaar.launchpad.net/~openerp/openobject-client-web/trunk/
phongnt@phongnt-laptop:~/Documents/Projects/openerp-trunk/web$ bzr log -l1 -v
------------------------------------------------------------
revno: 3917
committer: vda(Open ERP) <email address hidden>
branch nick: openobject-client-web
timestamp: Fri 2010-11-19 16:27:29 +0530
message:
  [FIX] In Dashboard edit record if editable.
modified:
  addons/openerp/widgets/templates/listgrid.mako

Hello,

I am working with the latest code and I guess you miss updated version of cherrypy library.
Did you install cherrypy with ./populate.sh command?

Thanks.

Changed in openobject-client-web:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers