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
pr
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
(me)!
On Saturday, July 21, 2012 9:33: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]
>
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
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 UT
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:
>
> Nei
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
com) later 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
erved this behaviour 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
--
ept:pass}}
Anything stand out? In particular, anything that would apply one user's
session to another user on a different computer?
Now that I look 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
u a copy of the app.
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 (confi
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
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:
>>>&
link
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
&
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,
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
This is very useful information - I was always unsure about using async.
Thanks a lot!
On Wednesday, July 25, 2012 6:49:39 PM UTC+1, Roberto De Ioris wrote:
>
>
> You can get the updated stable-branch from here:
>
> http://projects.unbit.it/hg/uwsgi-1.2
>
> (the maintainance release will be tom
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
--
ten have the thought', _value='4'),
OPTION('Always have the thought', _value='5')]
The form initially displays correctly, but when there is a validation
error, it forgets which option was previously selected. In particular, it
always says selected="0".
Is this a bug, or am I doing something wrong? Is there a workaround?
Neil
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
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 wrote:
> > Could be a p
ent/static/images/run.jpg
Can anyone 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
> model
in my case (I
don't expect my users 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
no longer 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
_formname. Assigning a unique formname should do the trick.
Thanks again,
Neil
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 admin.mydo
thing 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, sen
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
ffending 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
--
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
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.
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?
--
ay, November 1, 2012 9:52:57 PM UTC, Massimo Di Pierro wrote:
>
> Where is matplotlib installed?
>
> On Thursday, 1 November 2012 15:51:14 UTC-5, Neil wrote:
>>
>> I just upgraded from 2.1 to 2.2.1, and I can no longer import matplotlib.
>> I get the following err
ks fine for 2.2.1.
On Friday, November 2, 2012 1:22:03 PM UTC, Massimo Di Pierro wrote:
>
> Do you have anything 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?
>
>
raise ImportError, e1, import_tb # there an import error
> in the module
>
> with
>
> except ImportError, e1: # line 84
> import_tb = sys.exc_info()[2]
> return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
> # line 87
>
AM UTC, Massimo Di Pierro wrote:
>
> 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
t;
> So basically the custom_importer is doing nothing 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
e and more memory - webfaction kill 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
uwsgi binary, specifying parameters 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
pi
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 selectin
x.conf. Would that not mean reduced performance and higher RAM
> usage from 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
of the other app...
> Can you confirm that nginx is actually serving the static
> content separately?
>
> 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
>> &qu
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 th
}
{{=LOAD('default','f1.load',ajax=True)}}
{{=LOAD('default','f2.load',ajax=True)}}
The behavior is unpredictable. Sometimes the first submit for form 1
doesn't do anything. You may need to refresh several times to reproduce.
Bug, or I have I done someth
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. Unfortunat
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 wor
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 yo
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
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 goin
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 develop
to the session dictionary and it works
from 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 fo
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.
both
th just the form2
> formkey).
>
> Anthony
>
> 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.
>>
>
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 sa
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.co
nest, I've never
thought about the order of the URL. However, all I can say is that the
above code has been running for about a year 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 soluti
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 w
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 opportun
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 inc
year, it is always handled gracefully. If I
disable JavaScript, the validator still comes back with useful error
messages.
- The user is in a non-English country
Based on this, I do not think the problem is the input, but something
specific to this particular user's system (OS +
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 Pierr
sql integer.
I guess I should 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
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)
- https:/
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?
>
> https://stackoverflow.com/questions/39146039/pickle-typeerror-a-bytes-l
want to upgrade to that first.
Neil Harding
--
such as cropping a particular
image at lower resolutions.
I added the code for DEFER to html.py as
class DEFER(XmlComponent):
tag = 'IMG'
def __init__(self,url,alt=None,_class=None):
self.url = url
self.text = ' wrapping around the image.
Neil Harding
On Tu
r. A sample ordering might be 21, 2,12,1 i.e. 2 > 12 where I 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" gr
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
ng 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
73 matches
Mail list logo