Hi all,
I have a web2py app that runs perfectly fine when running with web2py_src
on windows. However, if i compile and pack the app and attempt to run it
with web2py.exe in windows, I get import errors such as:
type 'exceptions.ImportError' Cannot import module 'requests'
If I type import
My app uses web2py as a background task (as described in Ch. 4 of the
web2py docs). I have a slow memory leak in the background task. I'm trying
to run guppy periodically to find it but I am getting a error when I try to
use it.
The relevant part of my code looks like this:
import guppy
I have a controller that does an *import requests. *I get the message
Cannot import module 'requests' when trying to run it. I installed
Requests using pip install, and
/Library/Python/2.7/site-packages/ contains *requests-2.1.0-py2.7.egg*. I
can import requests from the Python2.7
I just upgraded from 2.1 to 2.2.1, and I can no longer import matplotlib. I
get the following error:
ImportError: Cannot import module 'matplotlib'
Is this related to the custom import? Perhaps it is the same as issue 1125?
--
Traceback (most recent call last):
File /home/www-data/web2py/gluon/restricted.py, line 192, in restricted
exec ccode in environment
File /home/www-data/web2py/applications/myway/controllers/pastebin.py
http://127.0.0.1:8000/admin/default/edit/myway/controllers/pastebin.py, line
15, in
I wanted to use the w2popenid example application from bitbucket
website : https://bitbucket.org/bottiger/web2py-openid/overview
I have downloaded and placed the code in the applications directory.
I have changed in the models folder the file db.py: this line from
2011/6/15 mb_...@yahoo.fr mb_...@yahoo.fr
I wanted to use the w2popenid example application from bitbucket
website : https://bitbucket.org/bottiger/web2py-openid/overview
I have downloaded and placed the code in the applications directory.
I have changed in the models folder the file db.py:
Has anyone who has used latest debian package been able to import
modules while keeping the application self contained? I have the
traceback from another user's application.
First line of default.py
question_maker = local_import('question_maker')
then when you run it...
Traceback (most recent
8 matches
Mail list logo