Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
v3ss0n opened this issue Mar 16, 2016 · 3 comments
Open

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

v3ss0n opened this issue Mar 16, 2016 · 3 comments

Comments

@v3ss0n
Copy link

v3ss0n commented Mar 16, 2016

Is that due to Compatibility problem ?

@mdipierro
Copy link
Owner

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
Copy link
Owner

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

@v3ss0n
Copy link
Author

v3ss0n commented Mar 17, 2016

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants