web2py-appliances icon indicating copy to clipboard operation
web2py-appliances copied to clipboard

tested EStore on latest web2py stable but not working.

Open v3ss0n opened this issue 8 years ago • 3 comments

Is that due to Compatibility problem ?

v3ss0n avatar Mar 16 '16 19:03 v3ss0n

can you post the error?

On Mar 16, 2016, at 2:54 PM, Phyo Arkar Lwin [email protected] wrote:

Is that due to Compatibility problem ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

mdipierro avatar Mar 16 '16 20:03 mdipierro

also look into https://github.com/mdipierro/estore3

mdipierro avatar Mar 16 '16 20:03 mdipierro

Estore3 works fine!

Estore2 error was : Traceback (most recent call last): File "/home/v3ss/Experiments/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/home/v3ss/Experiments/web2py/applications/estore/models/db1.py", line 91, in db.inventory) # copy the prodoct, in case changes File "/home/v3ss/Experiments/web2py/gluon/packages/dal/pydal/base.py", line 834, in define_table table = self.lazy_define_table(tablename,fields,*args) File "/home/v3ss/Experiments/web2py/gluon/packages/dal/pydal/base.py", line 873, in lazy_define_table polymodel=polymodel) File "/home/v3ss/Experiments/web2py/gluon/packages/dal/pydal/adapters/base.py", line 297, in create_table raise KeyError('Cannot resolve reference %s in %s definition' % (referenced, table._tablename)) KeyError: 'Cannot resolve reference invoice in invoice_item definition'

v3ss0n avatar Mar 17 '16 04:03 v3ss0n