AttributeError: 'str' object has no attribute 'get'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Hi!
I'm using openerp server v5.0.14 and i sometimes get an error when I select something on the main menu of the web-client:
Traceback (most recent call last):
File "/usr/lib/
result = LocalService(
File "/usr/lib/
return getattr(self, method)(*params)
File "/usr/lib/
return fct_src(db, uid, passwd, model, method, *args)
File "/usr/lib/
res = super(recording
File "/usr/lib/
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
view_ref = context.
AttributeError: 'str' object has no attribute 'get'
It happens randomly and without any cause. I don't know if it happens in the gtk client too but I could check the next time it happens. After I restart the server everything works fine. Anyone any idea?
Changed in openobject-server: | |
status: | Incomplete → Opinion |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
status: | New → Triaged |
Mile, ajd reci čovjeku da klikne na izračunaj i bit će mu sve ok...
2011/1/12 Mile Infokom <email address hidden>
> Public bug reported: python2. 5/site- packages/ openerp- server/ netsvc. py", line service_ name)(method, *params) python2. 5/site- packages/ openerp- server/ netsvc. py", line 77, python2. 5/site- packages/ openerp- server/ addons/ audittrail/ audittrail. py", python2. 5/site- packages/ openerp- server/ addons/ base_module_ record/ base_module_ record. py", _objects_ proxy, self).execute( *args, **argv) python2. 5/site- packages/ openerp- server/ service/ web_services. py", python2. 5/site- packages/ openerp- server/ osv/osv. py", line python2. 5/site- packages/ openerp- server/ osv/osv. py", line python2. 5/site- packages/ openerp- server/ osv/osv. py", line python2. 5/site- packages/ openerp- server/ osv/orm. py", line get(view_ type + '_view_ref', False) /bugs.launchpad .net/bugs/ 701914 python2. 5/site- packages/ openerp- server/ netsvc. py", line service_ name)(method, *params) python2. 5/site- packages/ openerp- server/ netsvc. py", line python2. 5/site- packages/ openerp- server/ addons/ audittrail/ audittrail. py", python2. 5/site- packages/ openerp- server/ addons/ base_module_ record/ base_module_ record. py", _objects_ proxy, self).exe...
>
> Hi!
>
> I'm using openerp server v5.0.14 and i sometimes get an error when I select
> something on the main menu of the web-client:
> Traceback (most recent call last):
> File "/usr/lib/
> 299, in dispatch
> result = LocalService(
> File "/usr/lib/
> in __call__
> return getattr(self, method)(*params)
> File
> "/usr/lib/
> line 341, in execute
> return fct_src(db, uid, passwd, model, method, *args)
> File
> "/usr/lib/
> line 38, in execute
> res = super(recording
> File
> "/usr/lib/
> line 577, in execute
> res = service.execute(db, uid, object, method, *args)
> File "/usr/lib/
> 58, in wrapper
> return f(self, dbname, *args, **kwargs)
> File "/usr/lib/
> 119, in execute
> res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/usr/lib/
> 111, in execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File "/usr/lib/
> 1291, in fields_view_get
> view_ref = context.
> AttributeError: 'str' object has no attribute 'get'
>
> It happens randomly and without any cause. I don't know if it happens in
> the gtk client too but I could check the next time it happens. After I
> restart the server everything works fine. Anyone any idea?
>
> ** Affects: openobject-server
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> OpenObject Server.
> https:/
>
> Title:
> AttributeError: 'str' object has no attribute 'get'
>
> Status in OpenObject Server:
> New
>
> Bug description:
> Hi!
>
> I'm using openerp server v5.0.14 and i sometimes get an error when I
> select something on the main menu of the web-client:
> Traceback (most recent call last):
> File "/usr/lib/
> 299, in dispatch
> result = LocalService(
> File "/usr/lib/
> 77, in __call__
> return getattr(self, method)(*params)
> File
> "/usr/lib/
> line 341, in execute
> return fct_src(db, uid, passwd, model, method, *args)
> File
> "/usr/lib/
> line 38, in execute
> res = super(recording