mdipierro / web2py-appliances

Set of Example Web2py Appliances
http://web2py.com/appliances
210 stars 279 forks source link

tested EStore on latest web2py stable but not working. #12

Open v3ss0n opened 8 years ago

v3ss0n commented 8 years ago

Is that due to Compatibility problem ?

mdipierro commented 8 years ago

can you post the error?

On Mar 16, 2016, at 2:54 PM, Phyo Arkar Lwin notifications@github.com 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 commented 8 years ago

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

v3ss0n commented 8 years ago

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'