← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 677467] Re: AttributeError: 'module' object has no attribute 'Tool'

 

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

-- 
AttributeError: 'module' object has no attribute 'Tool'
https://bugs.launchpad.net/bugs/677467
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Invalid

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) <vda@xxxxxxxxxxx>
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





References