For anyone else who runs into this. I had this problem when migrating from
py2 to py3. Clearing out the errors folder worked for me.
On Wednesday, 13 May 2020 at 06:27:40 UTC-7 roge...@gmail.com wrote:
> Does this help?
>
>
I just had the same problem. I used the `umask` solution here:
https://stackoverflow.com/questions/36898474/how-to-install-a-module-for-all-users-with-pip-on-linux
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
in firebug and it said something like
a 303 See Other error.
Any help is appreciated.
Thanks.
Neil Oswald
--
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
user's system (OS + browser). Any ideas on how
I might reproduce this? I'm stumped.
To make matters worse, I have very limited opportunity to debug with the
user's assistance.
Thanks
Neil
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
This doesn't seem to be the case:
- I looked at the database, and the types match the definition in the
model
- I can't see how that would only cause problems for one user out of
thousands.
Any other things I can check out?
On Monday, 13 January 2014 14:21:55 UTC, Massimo Di
implement my own integer validator?
Thanks,
Neil
On Monday, 13 January 2014 18:10:43 UTC, Neil wrote:
This doesn't seem to be the case:
- I looked at the database, and the types match the definition in the
model
- I can't see how that would only cause problems for one user out
I'm probably too late for this person, but if anyone else comes across this
problem (like I just did) the answer is here:
https://groups.google.com/d/msg/web2py/kSUtyNcUQGI/Ta1VowPcJMgJ
As I understand it getJSON() is just a wrapper for ajax(). If you use
ajax(), you have a few more options
Wow, this is excellent - everything seems to work really well.
On Monday, 28 October 2013 09:41:35 UTC-7, Massimo Di Pierro wrote:
I am happy to announce a great new opportunity for web2py users:
https://www.pythonanywhere.com/try-web2py
Basically they give you the opportunity to
Now that PyCharm officially supports web2py, I've playing around its
debugger. So far, so good. Note that the latest PyCharm 3.0 EAP build can
be used for free for a few more weeks.
On Friday, 2 August 2013 02:21:46 UTC+1, Mark Finkelstein wrote:
I've been trying to get winpdb to play nice
now without a problem.
Neil
On Thursday, 18 July 2013 21:02:03 UTC+1, SimonD wrote:
OK, I think I have stumbled on a solution. Which I thought would be useful
to share here.
Playing with request.env, I noted that this too was Storage.
Hence: request.env.query_string appears to give me
Hello,
This topic came up last month, and if my memory serves me correctly there
were a few options available. I'd recommend searching this group for CMS,
and take a look at some of the more recent posts.
Neil
On Wednesday, 24 April 2013 14:57:52 UTC+1, alastor...@gmail.com wrote:
Hi Folks
Thanks Niphlod Anthony - I'm glad we finally got to the bottom of this. I
thought I was going crazy for a while there!
In the short term, I'll use Niphlod's trick of setting a dummy session
variable to make sure the session is saved to disk.
In the medium term, I vote for option 1 (always
submit for form 1
doesn't do anything. You may need to refresh several times to reproduce.
Bug, or I have I done something wrong?
Neil
On Sunday, 21 April 2013 20:19:25 UTC+1, Anthony wrote:
Probably both forms have the same formname, either because they are both
based on the same DAL
I've been playing around with it a bit more, and it seems to be the same
underlying problem that Anthony described above. The question is: why
doesn't the formname fix work for ajax components?
On Monday, 22 April 2013 09:19:06 UTC+1, Neil wrote:
Thanks for that. Unfortunately, there seems
This is turning out to be an elusive one! Notes:
1) I don't think I'm using an old web2py.js, unless it is accidentally
being packaged with the latest source.
2) weheh: Nope, no uploading involved - all the code is above.
3) I guessed it is related to the multiple forms issue since
the behavior
Note: it is still frustratingly unpredictable. I followed my own
instructions 10 times before it happened again...
On Monday, 22 April 2013 14:10:33 UTC+1, Neil wrote:
1) go to http://www.ai-therapy.com/ajax_test/
2) enter something in Form 1, and press submit
3) did it work *the first time
I didn't upgrade - when I ran locally I downloaded trunk from github and
used that version with rocket. Same problem.
On Monday, 22 April 2013 14:47:14 UTC+1, Anthony wrote:
web2py.js is inside your app (in /appname/static/js), so it does not get
updated when you upgrade web2py. When you
Just to clarify, I used the new simple application option with trunk (I
didn't copy over the app from a previous version). Just to be 100% sure I
also copied the web2py.js and web2py_ajax.html files over from the welcome
app with no success.
On Monday, 22 April 2013 14:53:28 UTC+1, Neil wrote
Wow, really! That's really frustrating...
Nope, I never tried clearing cookies and then submitting. I always clear my
history, shut down the browser, restart the browser, copy the URL, and then
the first submit (sometimes) fails.
What else about my system could lead to this behavior? I'm
My first submit failed on Mac (both Chrome and Safari). However, I can't
get it to happen on Ubuntu.
I can now reproduce in the following situations:
- running web2py locally and remote
- 2 server OSs (windows linux)
- 2 webservers (rocket uwgsi/nginx)
- 2 front-end OSs (windows
Good suggestion - I think we may be getting somewhere. When it fails, the
server is getting a '_formkey[formname2]' when submitting form 1. I'll try
to dig a little deeper.
On Monday, 22 April 2013 15:26:03 UTC+1, Anthony wrote:
Not sure what's going on. In the browser, maybe use the
then on. Does this give any more clues?
On Monday, 22 April 2013 15:44:21 UTC+1, Neil wrote:
Good suggestion - I think we may be getting somewhere. When it fails, the
server is getting a '_formkey[formname2]' when submitting form 1. I'll try
to dig a little deeper.
--
---
You received
Good thought, but that doesn't seem to be a factor since it works in
incognito after the first submit, and I can reproduce in regular mode.
For some reason, on initial page load it is not saving both formkeys. Is it
possible that there is a conflict when saving the the sessions file? i.e.
On Monday, April 22, 2013 12:13:25 PM UTC-4, Neil wrote:
Good thought, but that doesn't seem to be a factor since it works in
incognito after the first submit, and I can reproduce in regular mode.
For some reason, on initial page load it is not saving both formkeys. Is
it possible
I'm having this problem now - is there a trick to having two ajax forms on
one page?
Basically, as above, I have to hit submit twice for anything result. Has
anyone successfully had 2+ ajax forms on the same page?
On Wednesday, 21 July 2010 08:37:54 UTC+1, mdipierro wrote:
will look into
Thanks Massimo,
I think what happened was I coded this up without the integer tag on count,
then realised I needed it, and added it. The first commit occurred with the
integer tag , so as far as I could see it was always an integer.
Recreating the table fixed it
Neil
On Saturday, February 16
would want
21,12,2,1
I am using web2py 2.3.2 and SQLite
Any thoughts on what I'm doing wrong?
Many thanks,
Neil
--
---
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
), everything starts working again.
Anyone know (a) what is causing this, and (b) how I can get around it?
Neil
--
---
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
Worked perfectly - thanks.
On Monday, February 4, 2013 8:08:47 PM UTC, Limedrop wrote:
(a) Because when you changed the DAL connection string, web2py thinks it
might be a new database and tries to recreate the tables from scratch.
(b) You could try:
db = DAL(...,fake_migrate_all=True)
The function:
request.requires_https()
might be what you're looking for.
On Wednesday, January 30, 2013 2:46:08 PM UTC, Annet wrote:
I the past I hosted a web2py application at Webfaction. I had a dedicated
IP address, and added:
domains: mydomain.com, www.mydomain.com and
?
On Monday, December 17, 2012 11:34:51 AM UTC-8, Neil wrote:
What I've done for that is set up another webfaction application of type
static to server all the css, images, audio, videos, etc. That creates a
new folder, for example:
/home/[USER]/webapps/static_web2py_myapp
Then, in my web2py
in the command line. For the
socket parameter use 127.0.0.1 and the port webfaction assigned for your
custom app. There are a few other posts in this group about selecting good
uwsgi parameters so that you don't run out of memory (seems to be a common
pitfall on webfaction)
Hope that's useful.
Neil
This thread has a more detailed exampled of a script:
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/uwsgi$20webfaction/web2py/PWpwayGa4Io/bBVyehyZ3ogJ
On Monday, December 17, 2012 12:32:21 PM UTC, Neil wrote:
There are a few other posts in this group about selecting good uwsgi
?
On Monday, December 17, 2012 4:32:21 AM UTC-8, Neil wrote:
I'm also not a sysadmin, but I did go through the process of setting up
web2py on webfaction recently as well. I also found that script but it
seemed to be overly complicated. In particular, there is no need to
download, build
your
processes if you go over your limit. There's a number of posts on this
topic in this forum.
In general, it's a fast server and relatively straightforward set up. Might
be more suitable for your needs than fiddling with apache config files.
Neil
On Tuesday, November 6, 2012 5:52:52 PM UTC
but delegating the
native_importer (__builtin__.__import__) with the same arguments.
If you have any idea please let me know. If you can give me access to the
server I can try some debugging.
massimo
On Tuesday, 6 November 2012 01:58:38 UTC-6, Neil wrote:
It seems to be there, as I can import
import_tb = sys.exc_info()[2]
return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
# line 87
and see what changes?
On Friday, 2 November 2012 09:09:03 UTC-5, Neil wrote:
Can't see any potential conflicts. I have the problem for both
track_changes(True
:
can you do
from matplotlib.projections.geo import AitoffAxes
I assume it is there.
On Monday, 5 November 2012 16:10:14 UTC-6, Neil wrote:
No problem. Here is what I get:
import matplotlib.pylab
Traceback (most recent call last):
File console, line 1, in module
File
/home/aicbt
in your app/modules/* that may conflict? Did you set
track_changes(True) or not? If you do web2py.py -S yourapp can you import
form the web2py shell?
On Friday, 2 November 2012 02:18:47 UTC-5, Neil wrote:
A little more info:
- On linux (works fine on Windows)
- matplotlib is an egg
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?
--
New mobile admin looks great.
However, trunk doesn't seem to come with jquery.mobile-1.2.0.min.js
jquery.mobile-1.2.0.min.css, so it doesn't work out of the box. Not sure
if this is by design, but for anyone else who's noticed it you can download
from http://jquerymobile.com/download/
Neil
Fixed.
On Sunday, September 30, 2012 8:23:47 PM UTC+1, Massimo Di Pierro wrote:
Please try again. I was messing up with trunk.
On Sunday, 30 September 2012 12:43:16 UTC-5, Neil wrote:
I just upgraded to 2.0.9, but had some problems with the editor, so I
upgraded to trunk (incidentally
: no_table
This is the offending code:
def contact():
form=SQLFORM.factory(
Field('your_email',requires=IS_EMAIL()),
Field('question', type='text', requires=IS_NOT_EMPTY()))
Anyone know what would cause this?
Neil
--
to that first.
Neil Harding
--
it should have an extra parameter to control whether it should
include the a wrapping around the image.
Neil Harding
On Tuesday, September 4, 2012 5:15:47 AM UTC-7, Alan wrote:
responsive layouts are pretty amazing, working through my own design at
the moment after following the guide below
Hopefully this is an easy one.
I'm using a pattern-based routes.py file. How can I enable
map_hyphens functionality? Do I have to come up with a regex for my
routes_in and routes_out, or is there a way to mix pattern-based and
parameter-based systems?
Thanks,
Neil
--
erroneously logged in as had been active
on the site around the time.
- I rolled back to stable before this happened, so it isn't a problem with
trunk
- Using webfaction/nginx/uwsgi (ver 1.2.4)
Neil
On Tuesday, July 24, 2012 11:53:26 PM UTC+1, Craig Younkins wrote:
What is the deployment
Incidentally, no problems importing urandom.
On Wednesday, July 25, 2012 8:10:53 AM UTC+1, Neil wrote:
Issue #2
===
There is a bug with may prevent urandom from working:
http://community.webfaction.**com/questions/9333/**
importerror-cannot-import-**name-urandomhttp
using my Android mobile, and no noticeable problems.
On Wednesday, July 25, 2012 9:27:36 AM UTC+1, Neil wrote:
Incidentally, no problems importing urandom.
On Wednesday, July 25, 2012 8:10:53 AM UTC+1, Neil wrote:
Issue #2
===
There is a bug with may prevent urandom from working
Could this be related?
http://stackoverflow.com/questions/11092444/nginx-keeps-passing-the-same-http-cookie-to-uwsgi
It's a little beyond me, but I notice that HTTP_REFERER is facebook in both
cases, and they are also using nginx+uwsgi.
On Wednesday, July 25, 2012 12:07:26 PM UTC+1, Neil
I got to the point where I could reproduce this locally using incognito
mode. Looks like it is a known uwsgi bug that was just patched 3 days ago:
http://stackoverflow.com/questions/11598935/uwsgi-resends-headers-in-async-mode
To anyone else using a recent version of uwsgi - you might want to
personally. However, it's
concerning enough that I thought I'd see if anyone else
has experienced such a thing. If not, any ideas how such a thing could even
happen?
I'm using trunk - I suppose I should roll back to stable?
Neil
--
at it, session.forget in application/default/index seems
like a bad idea. I put it in to see if I could speed up the main page and
kind of forgot about it... Just removed it.
Neil
On Tuesday, July 24, 2012 2:11:25 PM UTC+1, Richard wrote:
For sure using trunk is not very safe in production
.
Neil
On Tuesday, July 24, 2012 4:43:44 PM UTC+1, Massimo Di Pierro wrote:
We will investigate this throughly but please get as much information as
possible about what this person was doing. Did he try login? Could you also
send me a copy of your app (confidentially)?
The fact is even
this week! Learning web2py has
been a pleasure.
On Saturday, July 21, 2012 10:06:32 PM UTC+1, Jonathan Lundell wrote:
On 21 Jul 2012, at 1:38 PM, Neil wrote:
I can confirm that I can't reproduce the behaviour using the same web2py
code locally with Rocket on windows. Also, I tried adding
I'm following these instructions, and get stuck at the same point:
initializing 24 uGreen threads with stack size of 262144 (256 KB)
mprotect(): Invalid argument [plugins/ugreen/ugreen.c line 109]
How did you fix this?
On Thursday, July 5, 2012 4:17:48 PM UTC+1, Alec Taylor wrote:
Alright,
:56 AM UTC+1, Neil wrote:
I'm following these instructions, and get stuck at the same point:
initializing 24 uGreen threads with stack size of 262144 (256 KB)
mprotect(): Invalid argument [plugins/ugreen/ugreen.c line 109]
How did you fix this?
On Thursday, July 5, 2012 4:17:48 PM UTC+1
not included). However, when I put ugreen back in and removed
--limit-as 64, it worked (with ver 1.2.4)
Neil
On Saturday, July 21, 2012 11:02:51 AM UTC+1, Alec Taylor wrote:
When I currently visit the site it says:
uWSGI Error
Python application not found
The logfile says:
Python version
I'm going through this exact thing at the moment. I was wondering if it was
because I am testing out the dev version of web2py, but I guess not. If I
click the reload routes link on the main admin page it works. At least
temporarily - I'm experiencing some strange behaviour. I know I have to
Trunk. routes seems to work for a minute or two, and then stops until I
click the reload button. Not sure if this is a uwsgi issue or not.
On Saturday, July 21, 2012 3:11:29 PM UTC+1, Massimo Di Pierro wrote:
Using stable or trunk?
On Saturday, 21 July 2012 07:06:02 UTC-5, Neil wrote:
I'm
Just checked, and I don't have this problem with stable. After a bit more
testing, it appears that routes turns on and off sporadically. For example,
if I set the default application to examples, and hit refresh on the root
domain 10 times, sometimes the welcome application loads and sometimes
Sure, I'll create a script once I have a more confidence that everything is
working. I still don't completely understand some of the settings I've
found to work, so I'm a little hesitant...
On Saturday, July 21, 2012 3:08:52 PM UTC+1, Massimo Di Pierro wrote:
Neil, do you think it is work
I can confirm that I can't reproduce the behaviour using the same web2py
code locally with Rocket on windows. Also, I tried adding:
logging = 'debug'
and
default_ logging = 'debug'
to routes.py, and I couldn't get any logged info (on either platform).
Neil
On Saturday, July 21, 2012 7
How does the experts4solutions website work? For example, if I wanted to
see if anyone (anywhere) was interested in a paid hourly contract, would I
have to send an individual email to each expert listed? Who does the
contact us form get sent to? It would be really useful to be able to post
.
Thanks again,
Neil
to be viewing the page source), but my hope is that
if I understand what causes it, I may be able to figure out why it happens
randomly for me *without *viewing the source.
Thanks,
Neil
matches.
What is the recommended solution when this seems to happen randomly to some
pages? Sounds like removing the session from the form opens up
vulnerabilities.
Neil
On Thursday, June 28, 2012 8:01:42 PM UTC+1, Neil wrote:
I have a page with a simple form on it, and sometimes when I click
recommend a safe update to the regular expression?
Thanks,
Neil
On Monday, June 18, 2012 9:27:43 PM UTC+1, Neil wrote:
Arnaud - did you find a solution to this?
I am having the same problem: I deployed to nginx, and I can edit the
models/views/controllers/etc. without any problems. However, I
ideas of other things I can check?
Thanks,
Neil
On Sunday, October 3, 2010 10:09:48 AM UTC+1, Arnaud Masselin wrote:
Hi MAssimo,
on localhost, I use web2py server. I look in httpd config.
Thanks.
On 2 oct, 22:04, mdipierro mdipie...@cs.depaul.edu wrote:
Could be a permission issue. When
Actually, I fixed it another way. My problem was that I was using the same
options as input for multiple SELECT()s. If I create new instances of
OPTIONS() for each drop-down box, the state is correctly remembered.
Thanks,
Neil
On Saturday, May 12, 2012 12:22:13 AM UTC+1, Massimo Di Pierro
. In particular, it
always says selected=0.
Is this a bug, or am I doing something wrong? Is there a workaround?
Neil
71 matches
Mail list logo