First a shout out to all the people monitoring this feed who develop
web2py. I was able to throw together geo.atheoryof.us together in less
than two weeks because of web2py and the vue-whoosh scaffolding app in
particular. In the process though, I came across a few things.
Standard debugging will show that you need to do the following.
In models/populate.py, remove the Unicode wrapper function. You don't need
it in python 3, and it throws an error.
In models/db_whoosh.py comment out the statement:
from ...query import *
(or if you are going to customize, put it at the module level.)
**For whatever reason, I also needed to do the following (which was a more
difficult error to find)**
Within static/js/main-vue.js, replace
Vue.config.delimiters = ['${', '}']
by putting the definition inside the self.vue definition of a new Vue
object, directly
delimiters: ['${', '}']
there is some confusion on my part why the latter definition is necessary,
but I simply cannot get the scaffolding app to work without doing this if
you use the new min.vue.js (2.6+ on ubuntu, firefox and in python 3).
Also, if anyone wants the auto-suggest code I use in geo.atheoryof.us,
which uses both vue and whoosh, let me know.
Thanks,
Casey S. Schroeder
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.