Open adambridger opened 12 years ago
Hi,
Sorry for answering so late. This is very strange because the bug occurs in a Python library. Are you using psyco or something like this ?
Same issue here, same steps, same result. Running OpenERP 6.0.4 on Ubuntu 12.04 with python from the Ubuntu repos (Python 2.7.3), nothing fancy. This bug currently makes the addons useless for me =( If you need any more info, let me know ;)
Same issue: Ubuntu 12.04 LTS, 6.04, 2.7.x ....
same issue: ubuntu 12.04 LTS, openerp 6.0.3, python 2.7.x
Same issue, OpenERP v6.1, Fedora 18 x86_64, Python 2.7.3-13
If you want to solve it, comment the lines of the inspect.py file (/usr/lib64/python2.7/inspect.py, line 528 and 529) and it'll work.
It's not the best way, but if you realy need the module it's something.
Regards.
Hi.
Thank you for your most useful module. Im having a problem though when confirming a RentalOrder.
[2012-01-26 20:22:38,641][test1] INFO:web-service:successful login from 'admin' using database 'test1' [2012-01-26 20:23:08,213][test1] ERROR:openlib.github:An exception occured, it will be reported to github. Traceback (most recent call last): File "/opt/openerp/server/bin/addons/openlib/github.py", line 68, in wrapper result = func(_args, *_kwargs) File "/opt/openerp/server/bin/addons/rent/rent.py", line 957, in check_period_and_unity for order in self.filter(ids): File "/opt/openerp/server/bin/addons/openlib/orm.py", line 313, in filter cr, uid, context = self._get_cr_uid_context() File "/opt/openerp/server/bin/addons/openlib/orm.py", line 213, in _get_cr_uid_context for frame_no, data in enumerate(getouterframes(currentframe())): File "/usr/lib/python2.7/inspect.py", line 1034, in getouterframes framelist.append((frame,) + getframeinfo(frame, context)) File "/usr/lib/python2.7/inspect.py", line 1009, in getframeinfo lines, lnum = findsource(frame) File "/usr/lib/python2.7/inspect.py", line 530, in findsource if not sourcefile and file[0] + file[-1] != '<>': IndexError: string index out of range
Im running opener 6.0.3, on ubuntu10, python 2.7.
I configured a single product to be rental and created a RentalOrder with this product. All was well until i attempted to confirm the order.
thanks.