I'll try. I'm also posting the issue in the web2py group, because I think
it has something to do with the way it imports modules.
Pablo
El miércoles, 26 de junio de 2013 00:02:59 UTC+2, Aaron Meurer escribió:
You might try changing sympy to use relative imports, assuming that
really is the
No, there isn't a module named expr. Diving into the web2py error logs
I've seen the string:
Line 683: S'applications.myeducenter.modules.expr'
Which is a non-sense route, since it should be
applications.myeducenter.modules.sympy.core.expr
I'm importing other third party modules in my app
You might try changing sympy to use relative imports, assuming that
really is the issue. We haven't done it yet because there are issues
with Python 2.5.
Aaron Meurer
On Tue, Jun 25, 2013 at 4:33 AM, peibol pabe...@gmail.com wrote:
No, there isn't a module named expr. Diving into the web2py
Hi there, some update in my progress. I've managed to run the sympy-live in
my appengine, so it's clear that not only sympify work in GAE, but the full
sympy.
But I don't know how to made the imports in order to make sympy work in my
app, which in local works fine. Are there any dependences
Yes
More details... my app is web2py based and I'm importing sympy as a module.
The weird thing is that it works in local. I attach my app.yaml.
Thanks for the reply.
El lunes, 24 de junio de 2013 22:23:31 UTC+2, Aaron Meurer escribió:
Are you using Python 2.7 in the App Engine?
Aaron
That's because locally, it just uses your Python, without sandboxing
it. It doesn't remove the modules that aren't there in the App Engine.
I'm not sure why it works in SymPy Live. You can see if there is
something in the source (https://github.com/sympy/sympy-live/).
The reason I asked about
Sure, here is the traceback, and I attach the controller that generates it
(line 66 is just from sympy import *:
1. 2013-06-24 23:28:15.534 /myeducenter/worksheets/fractions1topdf 500
3419ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko)
And just to verify, what version of SymPy are you using?
Aaron Meurer
On Mon, Jun 24, 2013 at 4:34 PM, peibol pabe...@gmail.com wrote:
Sure, here is the traceback, and I attach the controller that generates it
(line 66 is just from sympy import *:
2013-06-24 23:28:15.534
Version sympy-0.7.2 and also tested with master branch...
Pablo
El lunes, 24 de junio de 2013 23:40:56 UTC+2, Aaron Meurer escribió:
And just to verify, what version of SymPy are you using?
Aaron Meurer
On Mon, Jun 24, 2013 at 4:34 PM, peibol pab...@gmail.com javascript:
wrote:
I don't suppose you have a module named expr, which is conflicting.
Aaron Meurer
On Mon, Jun 24, 2013 at 4:44 PM, peibol pabe...@gmail.com wrote:
Version sympy-0.7.2 and also tested with master branch...
Pablo
El lunes, 24 de junio de 2013 23:40:56 UTC+2, Aaron Meurer escribió:
And just
10 matches
Mail list logo