Have you tried to upgrade to 1.90.2 that uses the new DAL interface?
Kenneth
https://groups.google.com/forum/#!topic/pymysql-users/vrnKcoE6ZD0
Hi Kenneth,
Current web2py using : 1.90.2
Yes,i have tried.
Great app
I would suggest you to use a technology agnostic name so that PHP,
Ruby, Java, ... Guys don't go away and to consider some kind of extra
value into your app against stack overflow website.
Another thing, consider sharing functionality of questions for twitter
at leata.
Good work, congr
I started receiving this traceback on the console after the upgrade:
Traceback (most recent call last):
File "web2py.py", line 20, in
File "gluon/widget.py", line 781, in start
File "gluon/shell.py", line 194, in run
File "", line 1, in
File "applications\Jellybean_Kingdom\controllers\
self reference with IS_IN_DB pointing to self
Field('parent', 'reference mytable', requires =
IS_EMPTY_OR(IS_IN_DB(db,'mytable.id','%(name)s'))),
this does not work any more
On Dec 18, 8:38 pm, mdipierro wrote:
> This is a major - major release mostly because it includes the new
> DAL.
>
> It
Looks like I have a problem. I want to compute field like this and it
works FINE:
Field('logo_small','upload',writable=False,readable=False,widget=uploadWidget,compute=lambda
r: THUMB(r)),
def THUMB(r):
try:
image=r['logo']
except:
#yes, None is deleting my thumbnail
I dont't understand this line: seems to me that dogs_teamname is not defined
db.users.team.requires = IS_IN_DB(db, 'dogs.teamname', ' dogs_teamname')
Great!, I will test tomorrow!.
I like it, congrats good app!. I have a sugestion, Do you consider to make
janrain authetication?, because I don't like to put info of my google
account. A bit late for exhibition also :).
+1
or do I really have to go with onaccept= in every form I created.. and
disable compute field
fixing this in trunk.
On Dec 19, 4:05 am, berubejd wrote:
> I started receiving this traceback on the console after the upgrade:
>
> Traceback (most recent call last):
> File "web2py.py", line 20, in
> File "gluon/widget.py", line 781, in start
> File "gluon/shell.py", line 194, in run
>
Sorry typo mistake dogs.names is defined.
Sorry typo mistake dogs.teamname is defined.
fixing in trunk.
On Dec 19, 5:28 am, selecta wrote:
> self reference with IS_IN_DB pointing to self
>
> Field('parent', 'reference mytable', requires =
> IS_EMPTY_OR(IS_IN_DB(db,'mytable.id','%(name)s'))),
>
> this does not work any more
>
> On Dec 18, 8:38 pm, mdipierro wrote:
>
> > This is a
+1 really nice!
I second the two suggestions proposed:
- use janrain
- make the name py agnostic
- you need a better logo/css/js (*)
Would be nice if pyStack, pyForum and Instant Press had similar CSS
conventions and a swicth to use the same CAS login. I could integrate
them with the LMS I am wor
I would take "compute=lambda r: THUMB(r)" out of the table definition
and add
db.table.logo_small.compute=THUMB
in the controller action where you have insert/update forms.
On Dec 19, 5:34 am, Kuba Kucharski wrote:
> Looks like I have a problem. I want to compute field like this and it
> works
The second issue should now be resolved in trunk. That was a typo in
web2py.
The first of the two issue is a mysql error. I cannot tell if the
query is malformed (can you check the query from mysql logs?) or if
indeed the table is not there.
Massimo
On Dec 19, 1:50 am, sushanth wrote:
> Hi,
>
>
All the issues raised should now be fixed in 1.90.3
On Dec 19, 10:14 am, mdipierro wrote:
> fixing in trunk.
>
> On Dec 19, 5:28 am, selecta wrote:
>
> > self reference with IS_IN_DB pointing to self
>
> > Field('parent', 'reference mytable', requires =
> > IS_EMPTY_OR(IS_IN_DB(db,'mytable.id',
Hi everyone,
I've come along a long way thanks to everyone's help here. I've
successfully managed to deploy my application to GAE using the command
line (python2.5 ./appcfg.py update ../web2py), however, am trying to
get the administration panel to work with it (Google App Engine
Deployment Interf
Thanks for the fast reply.
Unfortunately, after upgrade to 1.90.3 and restart, the same result as
before:
Traceback (most recent call last):
File "c:\web2py\gluon\main.py", line 453, in wsgibase
session._try_store_on_disk(request, response)
File "c:\web2py\gluon\globals.py", line 402, in _
It would be great to see some polished core apps like Forums, CMS and Blog.
Looks like you are trying store on a session something that is not
pickable.
Can you show us what objects are your storing in the session?
It will help me figure out what is wrong.
Massimo
On Dec 19, 11:47 am, czamb wrote:
> Thanks for the fast reply.
> Unfortunately, after upgrade to 1.90.3 an
that is a good solution indeed, thanks for the fast response
--
Kuba
SO what to do then? It appears no web2py.pid file is being created.
On Dec 18, 3:27 pm, ghoulmann wrote:
> Thanks Kenneth. When I look in the specified dir I see that no web2py
> existed. I thought maybe you meant changing the value $PIDDIR, so I
> tried that. I changed it to /root/$name and I en
Added to the web2py powered-by list (http://web2py.com/poweredby).
Excellent work. Thanks for sharing this (and pyForum).
Anthony
On Dec 19, 12:47 am, Julio Schwarzbeck wrote:
> Dear community,
>
> I am pleased to inform the release the first (beta) revision of
> pyStack.com, an open source qu
Hello there,
The tagging widget (from plugin_wiki) does not create the proper lines
from form.custom.begin and .end when encapsulated in another form it
seems. This behavior only occurred when the tagging widget was used
inside another custom form for editing an entry (generated also by
SQLFORM.fa
One more remark: as a result the tagging submit button submits the
outer form and tagging functionality cannot be achieved inside the
outer edit form.
On Dec 19, 7:30 pm, czamb wrote:
> Hello there,
>
> The tagging widget (from plugin_wiki) does not create the proper lines
> from form.custom.beg
Overall, I like the design, but visually, I think the comments look
somewhat "heavy". I think the gray background makes the comments stand
out too much (relative to the actual question answers). Comments are
also taking up a lot of vertical space because the check/X icons are
on their own line and
Sure thanks Massimo, and folks that have taken the time to review the
app, please don't refrain from (constructive) criticism, I am not the
kind that gets "offended" by such posts, I welcome them in fact, now
having said that, here's some of my comments (not responses) regarding
some of what I've r
Congrats. Very nice app. Suggestions: I agree with Anthony that the ui
format makes it a little hard to easily distinguish between answers
and comments. Consequently, there is a lack of central focus in the
answer. I sometimes use Yahoo! answers and you could look there for
some ideas. Also, the ic
Hey Massimo, what's up, you've asked me to contact you via mail, man
this release took me a while :) but it's been a smooth ride as far as
schema design and coding, for the past couple of weeks I've been
usimng my "lunch time" lol to "wrap up" and tie all the loose ends,
and working for a financial
On Dec 19, 10:55 am, Anthony wrote:
>
> Also, could use some tooltips with the icons that appear under some of
> the questions.
>
> Anthony
>
Totally agreed, I was relying on the alt property of the IMG tag but
apparently that does not work in all browsers.
On 11/22/2010 7:57 PM, db-py wrote:
Thanks! I will give it a try..
On Nov 22, 5:28 pm, Phyo Arkar wrote:
i have not tried as FCGI tho.
Did you get fcgi working with nginx?
I've got them talking, but I keep getting the welcome app at / instead
of the app I want.
This worked in lighttpd:
> - Original Message -
> From: Julio Schwarzbeck
> Sent: 12/19/10 08:26 PM
> To: web2py-users
> Subject: [web2py] Re: Say hello to pyStack.com
> in any case, please continue testing if you can, I will release some
> "common" usernames that you can use (each one with its own access
> level
Traceback (most recent call last):
File "/home/felix/Desktop/web2py/gluon/restricted.py", line 188, in
restricted
exec ccode in environment
File "/home/felix/Desktop/web2py/applications/SGE/controllers/
incidents.py", line 174, in
File "/home/felix/Desktop/web2py/gluon/globals.py", line
Fixing in 1.90.4. I apologize and wish people had tested this more on
trunk but looks like very few users test trunk.
Massimo
On Dec 19, 2:38 pm, pandaluv wrote:
> Traceback (most recent call last):
> File "/home/felix/Desktop/web2py/gluon/restricted.py", line 188, in
> restricted
> exec c
In 1.90.3, my SQLFORM calls are failing with
Traceback(most recent call last):
File"/home/gherron/Dropbox/projects/web2py/gluon/restricted.py",line188,inrestricted
execccodeinenvironment
File"/home/gherron/Dropbox/projects/web2py/applications/ServeITS/controllers/default.py",line233,in
Thanks Gary, just fixed it in 1.90.4
On Dec 19, 3:06 pm, Gary Herron wrote:
> In 1.90.3, my SQLFORM calls are failing with
>
> Traceback(most recent call last):
>
> File"/home/gherron/Dropbox/projects/web2py/gluon/restricted.py",line188,inrestricted
> execccodeinenvironment
>
> Fil
=D great!
On Dec 19, 6:06 pm, mdipierro wrote:
> Fixing in 1.90.4. I apologize and wish people had tested this more on
> trunk but looks like very few users test trunk.
>
> Massimo
>
> On Dec 19, 2:38 pm, pandaluv wrote:
>
> > Traceback (most recent call last):
> > File "/home/felix/Desktop/we
I always test trunk, but I think there are users who has some difficult using
hg to pull trunk.
If possible to include a .zip version of trunk available to download I guess
more people would test it.
Google code has a download tab.
Maybe the commit script could zip and upload it just after
On Dec 19, 2:35 pm, Julio Schwarzbeck wrote:
> On Dec 19, 10:55 am, Anthony wrote:
>
> > Also, could use some tooltips with the icons that appear under some of
> > the questions.
>
> > Anthony
>
> Totally agreed, I was relying on the alt property of the IMG tag but
> apparently that does not work
Hi,
Is it possible (and how) to know the country / state / city related to
the current visitor in my website?.
I'm mostly interested (for the moment) in Mexico.
Thanks,
Carlos
I know you do and some people do. The fact is that some bugs are very
rare. This for example has the following story
the new DAL broke inline requirements for self referential fields.
This was never supposed to work (requirements should be specified
after table definition if table has self ref
I came across this:
http://www.reddit.com/r/Python/comments/eoflx/pootle2py/
http://code.google.com/p/pootle2py/
=D okay now, I undestand
On Dec 19, 6:25 pm, mdipierro wrote:
> I know you do and some people do. The fact is that some bugs are very
> rare. This for example has the following story
>
> the new DAL broke inline requirements for self referential fields.
> This was never supposed to work (requ
+10
pyStack is pretty awesome.
I suppord the registration and naming suggestions, though.
Marco
When I stop my background queue job to inspect the state of the queue
records *from within web2py admin*, I often can't get to the db record
of interest because of the following error:
File "C:\web2py\gluon\sql.py", line 1537, in __allocate
raise RuntimeError, "Using a recursive select but e
I am thinking of organizing a party between Christmas and New Year's
eve.
Who is in Chicago or willing to come anyway? I may be able to
accommodate a few people - if you offer to help with cleaning. ;-)
Too far for me! But I can send you some cleaning produtcs ;-)
2010/12/19 mdipierro :
> I am thinking of organizing a party between Christmas and New Year's
> eve.
>
> Who is in Chicago or willing to come anyway? I may be able to
> accommodate a few people - if you offer to help with cleaning. ;
This issue is resolved in 1.90.3.
Thanks!
On Dec 19, 2:05 am, berubejd wrote:
> I started receiving this traceback on the console after the upgrade:
>
> Traceback (most recent call last):
> File "web2py.py", line 20, in
> File "gluon/widget.py", line 781, in start
> File "gluon/shell.py",
Anyone doing customization of their web2py layout knows that they are
going to heavily modify both the layout.html and static/css files.
This can result in breakage of the admin utility. It is good policy, I
think, to segregate the admin app from the user's app sufficiently
that the developer can c
Wish I could come, but it's too far for me, too. I'll send some
"clean" thoughts your way ;-)
On Dec 19, 5:18 pm, mdipierro wrote:
> I am thinking of organizing a party between Christmas and New Year's
> eve.
>
> Who is in Chicago or willing to come anyway? I may be able to
> accommodate a few pe
I like it! +1
2010/12/19 ma...@rockiger.com :
> +10
> pyStack is pretty awesome.
> I suppord the registration and naming suggestions, though.
> Marco
What do you want? aktzero app as init app? did you change routes.py?
Indeed, I am seeing your server is very fast, from Linode, yesterday
I signed up a VPS on dreamhost, but now I thinks your web2py on
Linode runs faster than my web2py on Dreamhost (http://www.web2py.es/
examples) how many
What do you want? aktzero app as init app? did you change routes.py?
Indeed, I am seeing your server is very fast, from Linode, yesterday
I signed up a VPS on dreamhost, but now I thinks your web2py on
Linode runs faster than my web2py on Dreamhost (http://www.web2py.es/
examples) how many
One idea is: get their IP address and then use a lookup service.
This link might provide a starting point for you...
http://geobytes.com/iplocator.htm
-David
On Dec 19, 9:22 pm, Carlos wrote:
> Hi,
>
> Is it possible (and how) to know the country / state / city related to
> the current visitor
I have the following error message when i try to upload a file in
web2py 1.90.4. This feature was working fine for me with the previews
versions.
Traceback (most recent call last):
File "/home/charis/Desktop/Dropbox/BioSP_v0.6/gluon/restricted.py",
line 188, in restricted
exec ccode in envir
I cannot reproduce the problem. What db?
On Dec 19, 6:39 pm, Charis wrote:
> I have the following error message when i try to upload a file in
> web2py 1.90.4. This feature was working fine for me with the previews
> versions.
>
> Traceback (most recent call last):
> File "/home/charis/Desktop/
Error ticket for "appootle":
...
File "C:/web2py/web2py.es/applications/appootle/controllers/
default.py", line 86, in items
_updated_statistic(_prj.project_language.id)
NameError: global name '_prj' is not defined
...
ERROR IS '_prj' IN LINE 86:
_updated_statistic(_prj.project_language.id)
I do not know who the author is and if he is here. Perhaps you can
report an issue with google code.
On Dec 19, 10:03 pm, GoldenTiger wrote:
> Error ticket for "appootle":
> ...
> File "C:/web2py/web2py.es/applications/appootle/controllers/
> default.py", line 86, in items
> _updated_statis
This project is cool:
https://github.com/berk/tr8n
Just a quick piece of info. I've renamed the app to QA-Stack.com to
make it more application and programming language agnostic, read more
info here when you have time
http://www.pyforum.org/pyforum/default/view_topic/576
Also thank you all for your comments and suggestions, there are
several chang
Ahh shucks. That would have been nice.
Best Regards,
jason brower
- Original message -
> I am thinking of organizing a party between Christmas and New Year's
> eve.
>
> Who is in Chicago or willing to come anyway? I may be able to
> accommodate a few people - if you offer to help with cle
instead of relying on an external service you can try this:
http://code.google.com/p/pygeoip/
http://www.maxmind.com/app/ip-location
There is free data and more accurate paid data.
I am experimenting with the free data at the moment.
many of the widgets require a commercial license
Found mysql two issues in new dal.py
First issues
mysql VARCHAR length should be 0 to 255,but web2py default varchar value was
set to length = 512,if some forgot to declare varchar length he will get
error message key too long.
Second issue
After creating FK in the model
if we declare
db.d
I think I have fixed the former issue length now defaults to 255 for
mysql.
I am not sure how to fix the second issue and I will wait to form a
suggestion from Denes.
Massimo
On Dec 19, 11:55 pm, sushanth wrote:
> Found mysql two issues in new dal.py
>
> First issues
>
> mysql VARCHAR length sh
This is rather daunting. An sms gateway put their variables in their
header rather than urlencode it. I am not sure how to get my app to
fetch the header variables from the request sent by the server.
I tried mimicking using urllib2 by sending headers to my app. But,
request.headers always return
What should the 'reference' string to be in the case the they is more
than one field?
On Dec 19, 11:55 pm, sushanth wrote:
> Found mysql two issues in new dal.py
>
> First issues
>
> mysql VARCHAR length should be 0 to 255,but web2py default varchar value was
> set to length = 512,if some forgot
they are in request.env
so header called blablabla would be in request.env.http_blablabla
On Dec 20, 12:09 am, rāma wrote:
> This is rather daunting. An sms gateway put their variables in their
> header rather than urlencode it. I am not sure how to get my app to
> fetch the header variables fro
Hi,
I'm using web2py with the Rocket webserver over SSL. Every now and
than I'm getting this error message when I'm uploading a file. If I'm
trying to upload the same file some seconds later everything is
working.
Any hints on that strange error? Should I migrate to lighttp?
Error traceback
Tra
There is enough of a delay when calling mail.send() that I want to
find ways to send the mail asynchronously.Has anyone else tried
this, or looked into other methods of minimizing the time cost for
mail sending?
Thanks a bunch! Its working
On Dec 20, 2:32 pm, mdipierro wrote:
> they are in request.env
>
> so header called blablabla would be in request.env.http_blablabla
>
> On Dec 20, 12:09 am, rāma wrote:
>
>
>
> > This is rather daunting. An sms gateway put their variables in their
> > header rather t
74 matches
Mail list logo