regression project_gtd doesn't work on 5.0.7_bzr: instance has no attribute 'tag'

Bug #492793 reported by Dominique Chabord
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
Jay Vora (Serpent Consulting Services)

Bug Description

Hello,

this what I did :
1_install bazaar version of 5.0.7
    18 voedemo|xoe|HINT |dev5 server revision
    19 =====bzr version-info addons===================
    20 revision-id: <email address hidden>
    21 date: 2009-12-04 19:42:46 +0530
    22 build-date: 2009-12-05 10:47:55 +0100
    23 revno: 2469
    24 branch-nick: addons
    25 =====bzr version-info server===================
    26 revision-id: <email address hidden>
    27 date: 2009-12-04 11:36:36 +0100
    28 build-date: 2009-12-05 10:46:24 +0100
    29 revno: 1902
    30 branch-nick: server

2_create a new database with Service company profile and demo data
3_configure for installing project_gtd
4_connect to database
5_Choose menu Project_Management/Time_Management/My_Timeboxes
 and I get this traceback

   332 [2009-12-05 11:47:56,717] INFO:init:module board_project: loading objects
   333 [2009-12-05 11:47:56,717] INFO:init:module profile_service: loading objects
   334 [2009-12-05 11:47:56,727] INFO:init:module project_gtd: loading security/ir.model.access.csv
   335 [2009-12-05 11:47:56,768] INFO:init:module project_gtd: loading project_gtd_view.xml
   336 [2009-12-05 11:47:57,053] INFO:init:module project_gtd: loading project_gtd_wizard.xml
   337 [2009-12-05 11:47:57,072] INFO:init:module project_gtd: loading project_gtd_demo.xml
   338 [2009-12-05 11:47:57,312] INFO:i18n:module project_gtd: loading translation file for language fr_FR
   339 [2009-12-05 11:47:57,853] WARNING:init:object report.closed.task (Closed Task Report) has no access rules!
   340 [2009-12-05 11:47:57,853] WARNING:init:object report.timesheet.task.user (report.timesheet.task.user) has no access rules!
   341 No handlers could be found for logger "bzr"
   342 bzr: ERROR: Not a branch: "/home/sisalpuser/openerp/dev5/server/bin/".
   343 sh: lsb_release: command not found
   344 [2009-12-05 11:48:30,160] ERROR:web-services:[01]:
   345 [2009-12-05 11:48:30,160] ERROR:web-services:[02]: Environment Information :
   346 [2009-12-05 11:48:30,161] ERROR:web-services:[03]: System : Linux-2.6.24-2-pve-i686-with-debian-5.0.3
   347 [2009-12-05 11:48:30,161] ERROR:web-services:[04]: OS Name : posix
   348 [2009-12-05 11:48:30,161] ERROR:web-services:[05]: Operating System Release : 2.6.24-2-pve
   349 [2009-12-05 11:48:30,161] ERROR:web-services:[06]: Operating System Version : #1 SMP PREEMPT Wed Jan 14 11:32:49 CET 2009
   350 [2009-12-05 11:48:30,161] ERROR:web-services:[07]: Operating System Architecture : 32bit
   351 [2009-12-05 11:48:30,161] ERROR:web-services:[08]: Operating System Locale : fr_FR.UTF8
   352 [2009-12-05 11:48:30,161] ERROR:web-services:[09]: Python Version : 2.5.2
   353 [2009-12-05 11:48:30,161] ERROR:web-services:[10]: OpenERP-Server Version : 5.0.7
   354 [2009-12-05 11:48:30,161] ERROR:web-services:[11]: Last revision No. & ID :
   355 [2009-12-05 11:48:30,161] ERROR:web-services:[12]: Traceback (most recent call last):
   356 [2009-12-05 11:48:30,162] ERROR:web-services:[13]: File "/home/sisalpuser/openerp/dev5/server/bin/osv/osv.py", line 61, in wrapper
   357 [2009-12-05 11:48:30,162] ERROR:web-services:[14]: return f(self, dbname, *args, **kwargs)
   358 [2009-12-05 11:48:30,162] ERROR:web-services:[15]: File "/home/sisalpuser/openerp/dev5/server/bin/osv/osv.py", line 120, in execute
   359 [2009-12-05 11:48:30,162] ERROR:web-services:[16]: res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
   360 [2009-12-05 11:48:30,162] ERROR:web-services:[17]: File "/home/sisalpuser/openerp/dev5/server/bin/osv/osv.py", line 112, in execute_cr
   361 [2009-12-05 11:48:30,162] ERROR:web-services:[18]: return getattr(object, method)(cr, uid, *args, **kw)
   362 [2009-12-05 11:48:30,162] ERROR:web-services:[19]: File "/home/sisalpuser/openerp/dev5/server/bin/addons/project_gtd/project_gtd.py", line 141, in fields_view_get
   363 [2009-12-05 11:48:30,162] ERROR:web-services:[20]: xarch, xfields = self._view_look_dom_arch(cr, uid, doc, view_id, context=context)
   364 [2009-12-05 11:48:30,162] ERROR:web-services:[21]: File "/home/sisalpuser/openerp/dev5/server/bin/osv/orm.py", line 1083, in __view_look_dom_arch
   365 [2009-12-05 11:48:30,163] ERROR:web-services:[22]: fields_def = self.__view_look_dom(cr, user, node, view_id, context=context)
   366 [2009-12-05 11:48:30,163] ERROR:web-services:[23]: File "/home/sisalpuser/openerp/dev5/server/bin/osv/orm.py", line 1006, in __view_look_dom
   367 [2009-12-05 11:48:30,163] ERROR:web-services:[24]: if node.tag == 'field':
   368 [2009-12-05 11:48:30,163] ERROR:web-services:[25]: AttributeError: Document instance has no attribute 'tag'

Regards

Related branches

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Hello Dominique, I tested with last bzr and I confirm the bug. This is also a regression and we should try to avoid regressions in 5.0.7, that's why I flagged it for 5.0.7 milestone.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → High
milestone: none → 5.0.7
summary: - project_gtd doesn't work on 5.0.7_bzr
+ regression project_gtd doesn't work on 5.0.7_bzr: instance has no
+ attribute 'tag'
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2486 <email address hidden>.

Would you please check and notify us?

Thank you.

Changed in openobject-addons:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
status: Confirmed → Fix Released
Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Hello Jay,

Hey you fixed it indeed, thanks!
BTW, we just started to let the power users from the community/partners prioritize the bugs (openerp drivers team). Security holes come first, regressions come second. This one was a regression over a feature that is marketed for instance in the OpenERP books, so I'm very glad to see we start working with the bug priorities and that your team fixed that one. Thanks again, that's very encouraging.

Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

Yes, its fixed.

OpenERP is growing High!

Is Jay(Open ERP) a machine or an auto programme? Is it any terminology used by OpenERP?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.