I use Dreamhost but I got things working with FastCGI.
I have documented the steps here:
http://www.web2pyslices.com/main/slices/take_slice/68
This is not the best/only way to do it, but I got it working (and in a
sub-directory/sub-url too).
-rppowell
--
You received this message because you a
Thanks!
I can confirm this is fixed in 1.76.3
On Mar 3, 11:28 am, mdipierro wrote:
> I think this is now fixed in trunk.
>
> On Mar 3, 3:24 am, Throngly wrote:
>
> > I also get this problem with code that used to work before the
> > ".count() to len()" change, so it appears to be a regression.
Thanks!
I can confirm this is fixed in 1.76.3
On Mar 3, 11:28 am, mdipierro wrote:
> I think this is now fixed in trunk.
>
> On Mar 3, 3:24 am, Throngly wrote:
>
> > I also get this problem with code that used to work before the
> > ".count() to len()" change, so it appears to be a regression.
Hi,
I am working on a first version and it is easy to code after you have
understood the css.
I will post to the list a first preview in the w.e.
On Thu, March 4, 2010 02:02, mdipierro wrote:
> The nice thing about wordpress is that it is color neutral and it doed
> almost everything with CSS not
I have a problem with date fields. I've created
a SQLFORM with lot of fields (about 40). Some of there are dates.
In firefox calendar widgets works correctly, but in IE the calendar
appear vertically
shifted. And the shift amount increase on the fields on the bottom of page.
Anyone already get t
There is a comment on uservoice about decimal.
DAL already has support for decimal although it is not documented in
the book. On SQLite it is mapped into "double" because SQLite does not
have native "decimal" but it works well on other databases.
Field('money','decimal(10,3)') for 3 decimals.
I'm experiencing a similar issue, seemingly because dev_appserver.py
does not support https.
If I try to use https, I get a lot of (presumably ssl) binary stuff in
the log and the browser gives me:
"ERR_SSL_PROTOCOL_ERROR"
If I try to use appadmin (working on the real GAE) locally, I'm
presented w
New features not documented in the PDF book (2nd edition)
as highlights in release order sequence (newer to older):
1.76.3
repost of 1.76.2 with crud captcha fix
http://groups.google.com/group/web2py/browse_thread/thread/658c72a8c08040d9#
1.76.2
*** use 1.76.3 ***
Main changes include:
1) major f
The new implementation works fine. Thx!
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more op
http://gluonframework.wordpress.com/2010/03/04/web2py-learner/
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@google
Nice!
-Thadeus
On Thu, Mar 4, 2010 at 9:08 AM, mdipierro wrote:
> http://gluonframework.wordpress.com/2010/03/04/web2py-learner/
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegrou
Hi all,
I use CRUD.update to generate update form. After submit this form a
receive:
TypeError: list indices must be integers, not str
MODEL:
db.define_table('runner',
Field('name','string'),
Field('male','integer',requires=IS_INT_IN_RANGE(0, 2))
)
CONTROLLER:
@auth.requires_login()
def ed
+1
On Mar 4, 10:14 am, Thadeus Burgess wrote:
> Nice!
> -Thadeus
>
> On Thu, Mar 4, 2010 at 9:08 AM, mdipierro wrote:
> >http://gluonframework.wordpress.com/2010/03/04/web2py-learner/
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "web2py-users" group
Other that pointing them in the right direction?.
On Mar 4, 8:06 am, mdipierro wrote:
> There is a comment on uservoice about decimal.
>
> DAL already has support for decimal although it is not documented in
> the book. On SQLite it is mapped into "double" because SQLite does not
> have native "
What designates a success though?
Something open source, that is better than wordpress, or trac, or
?
Or something written in a corporate environment that can't be released
or even anything shared about it due to legality issues?
There are many web2py apps that are being used in business, much m
In http://groups.google.com/group/web2py/msg/7b9661eac4f788e0 Massimo
said:
- - - - - - - - - - - -
I made some of you editors (if you are not and want to be just ask)
Please follow these few rules:
- Try use wiki instead of editing book section
- Do not rearrange or edit text in book sections
This reminds me of starship troopers... "Did you know?"
-Thadeus
On Thu, Mar 4, 2010 at 9:20 AM, DenesL wrote:
> +1
>
> On Mar 4, 10:14 am, Thadeus Burgess wrote:
>> Nice!
>> -Thadeus
>>
>> On Thu, Mar 4, 2010 at 9:08 AM, mdipierro wrote:
>> >http://gluonframework.wordpress.com/2010/03/04/w
I like this blog, it's a lot useful for people like me that still
discovering web2py.
Just one thing: i supose at title that *leaner* is *learner*, ( i'm not
english ).
Regards.
On Thu, Mar 4, 2010 at 5:06 PM, Thadeus Burgess wrote:
> This reminds me of starship troopers... "Did you know?"
> -T
Using virtualenv seemed to do the trick.
Although, I'm sure it doesn't matter now when I ran "import dbhash" I
got a several line long error:
Traceback (most recent call last):
File "", line 1, in
File "/home/username/opt//lib/python2.5/dbhash.py", line 5, in
import bsddb
File "/home/u
Hi,
yeah i´ve to expose CRUD functions by JSON or XML to the JS client.
Like ist done here in PHP:
http://www.extjs.com/deploy/dev/examples/writer/writer.html
But I need an Code example for web2py, I think.
That should be simple right? Because it has all been done before
Should be similar co
I am fond of a design pattern whereby a list of records (such as
orders) is displayed in the top part of a view and the detail for a
highlighted record is displayed in the lower part of the view via AJAX
onclick (such as the customer and product details for the order).
I like web2py because I want
I hand write html, and use tr id="123" or tr record_id="123"
and use
jQuery("tr").click(function(){$(this).parent().attr("record_id")})
-Thadeus
On Thu, Mar 4, 2010 at 10:56 AM, snfctech wrote:
> I am fond of a design pattern whereby a list of records (such as
> orders) is displayed in the
So the form helpers are only useful for record-level input or basic
list displays, and everything else needs to be hand-coded? I wish
there was a way to use the helpers in a more flexible fashion, so
there could be "one obvious way" to display forms for creating,
reading, updating and deleting. A
Cool!
On Thu, Mar 4, 2010 at 12:08, mdipierro wrote:
> http://gluonframework.wordpress.com/2010/03/04/web2py-learner/
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To un
That's no big deal, just mark the suggestion as DONE, and put a
comment about the existence of this feature...
On Mar 4, 7:29 am, DenesL wrote:
> Other that pointing them in the right direction?.
>
> On Mar 4, 8:06 am, mdipierro wrote:
>
> > There is a comment on uservoice about decimal.
>
> >
Can others besides the question creator mark something as DONE?
-Thadeus
On Thu, Mar 4, 2010 at 12:03 PM, waTR wrote:
> That's no big deal, just mark the suggestion as DONE, and put a
> comment about the existence of this feature...
>
>
>
> On Mar 4, 7:29 am, DenesL wrote:
>> Other that poi
I'm pointing my Learner to the web2py mailing list :)
Bowahahahahahahahaha!
Maybe it can start writing web2py code for me >.<
-Thadeus
On Thu, Mar 4, 2010 at 11:53 AM, Álvaro Justen [Turicas]
wrote:
> Cool!
>
> On Thu, Mar 4, 2010 at 12:08, mdipierro wrote:
>> http://gluonframework.wordpr
ok, I can send him a mail. If this bug is fixed, the editor is okay.
Nevertheless I have some suggestions:
* When try to leaving a page is not saved, ask for saving it.. (Often
I accidently go back and all changes are lost)
* in the views it would be great if there is a "{{ * put the curser
here
In that case, I have to ask. Does this have a dependency on nltk? I've
been reading a LOT on NLTK lately, and it does almost exactly this in
it's most basic form.
On Mar 4, 12:06 pm, Thadeus Burgess wrote:
> I'm pointing my Learner to the web2py mailing list :)
>
> Bowahahahahahahahaha!
>
> Maybe
LOL
On Mar 4, 1:06 pm, Thadeus Burgess wrote:
> I'm pointing my Learner to the web2py mailing list :)
>
> Bowahahahahahahahaha!
>
> Maybe it can start writing web2py code for me >.<
>
> -Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
"* in the views it would be great if there is a "{{ * put the curser
here * }}"-button (this will save time)"
i think a keyboard shortcut would be better rather than a button.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this grou
http://web2py.uservoice.com/forums/42577-general/suggestions/525621-plugin-gaebar-on-web2py
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email
It says it only works with django projects.
On Thu, Mar 4, 2010 at 12:40 PM, waTR wrote:
> http://web2py.uservoice.com/forums/42577-general/suggestions/525621-plugin-gaebar-on-web2py
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To p
No. It is very very basic. ~10 lines of code.
On Mar 4, 12:43 pm, Dragonfyre13 wrote:
> In that case, I have to ask. Does this have a dependency on nltk? I've
> been reading a LOT on NLTK lately, and it does almost exactly this in
> it's most basic form.
>
> On Mar 4, 12:06 pm, Thadeus Burgess w
I do not think it is Django specific. Only the examples are.
Massimo
On Mar 4, 1:57 pm, Wes James wrote:
> It says it only works with django projects.
>
> On Thu, Mar 4, 2010 at 12:40 PM, waTR wrote:
> >http://web2py.uservoice.com/forums/42577-general/suggestions/525621-p...
>
> > --
> > You re
i always got the error on 1.75.5. i am upgrading to 1.76.3 and see how
it goes.
i am using sqlite and it's not for heavy usage, is it suppose to be
delay instead of return error when the db file is locked?
File "/home/web2py/gluon/sql.py", line 3042, in select
rows = response(query)
Fil
here's some more errorlog just fyi.
actually it's easy to reproduce when opening page with lots of image
needs to be download via web2py
Traceback (most recent call last):
File "/home/web2py/gluon/main.py", line 488, in wsgibase
session._try_store_in_db(request, response)
File "/home/web2
The issue is that sqlite database is locked every time it is accessed.
So if you have a-lot of concurrent requests, some of those will fail
due to it being locked by other threads.
The solution is to use a database that does not rely on locking such
as postgresql or mysql.
-Thadeus
On Thu, M
On Mar 4, 2010, at 1:08 PM, Thadeus Burgess wrote:
> The issue is that sqlite database is locked every time it is accessed.
> So if you have a-lot of concurrent requests, some of those will fail
> due to it being locked by other threads.
>
> The solution is to use a database that does not rely on
Vince has had this problem in the past, and it was due to the .table
files being locked, he solved it by setting migrate=False.
Has he forgotten about this?
I just did a quick search on the groups for "lots of images"
-Thadeus
On Thu, Mar 4, 2010 at 3:23 PM, Jonathan Lundell wrote:
> On Ma
Hello,
I'm testing web2py with firebird 2.1 and I get the following error
when I try to connect:
Traceback (most recent call last):
File "C:\web2py\gluon\restricted.py", line 173, in restricted
exec ccode in environment
File "C:/web2py/applications/init/models/db.py", line 34, in
aut
when migrate=False it fixed the .table locking problem. but this
database locking issue is just another one, actually it's just a
single user application and i still have this problem.
i think it should be delay instead of return error when the file is
locked. same case apply to .table files altho
A brand must outlast individuals. As such Web2py is not a recognised
and accepted brand.
Web2py is exclusively managed by a single academic who gets uptight
about issues that are not relevant to Web2py and for which the time he
puts into Web2py does not provide him with significant financial or
ac
Hi John
I'm sure that many of us are grateful for your own contributions with
slices etc and realise that you wouldn't be making them if you didn't
see any future; that wouldn't make any sense at all, so your comments
are probably a little tongue in cheek.
Similarly if you thought that Pycon was
mdipierro wrote:
ok, in trunk. Thanks for your help with this.
On Mar 3, 8:42 pm, Rowdy wrote:
Bad news. I left it running overnight with the 5 and 10 minute jobs and
the check for >= 59 seconds, logging the extra debug messages.
The lowest values for the interval were (these are just the d
Anyone you could do a check for browsers (as far as I know, the only
browser the wouldn't work with Bespin would be IE, so...) and use
Bespin or something if it's not IE, and Editarea if it is?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To
On Mar 4, 5:57 pm, Wiiboy wrote:
> Anyone you could do a check for browsers
Oops, typoed. Make that "Anyway you could do a check for browser" =p
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@goo
Hi everyone. I'm having an issue with select() working after an
insert.
See below for what I'm doing:
zulu ~/web2py % ./web2py.py -S welcome
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.76.3 (2010-03-03 10:47:17)
Database drivers available: SQLite3
'Password' is a reserved word and causes a problem in Firebird. Try
this:
auth=Auth(globals(),db)
auth.settings.password_field='password2' # Insert this line here.
auth.define_tables(migrate=False)
You can then work with a 'password2' field instead :-)
Regards,
--David
--
You received this
Somehow one of your variables does not contain what you expect. Try
logging them:
@auth.requires_login()
def edit():
print request.vars['tbl'], request.vars['id']
form_edit = crud.update(db[request.vars['tbl']],
request.vars['id'])
what do you see?
On Mar 4, 9:10 am, kachna wrote:
> Hi all,
The fact is that some new users may want to be able to report issues
(and they can edit errata) but they cannot edit the book.
On Mar 4, 9:51 am, DenesL wrote:
> Inhttp://groups.google.com/group/web2py/msg/7b9661eac4f788e0Massimo
> said:
>
> - - - - - - - - - - - -
> I made some of you editors (
I agree with most of this with some caveats.
Even if a project is open source somebody must be responsible for
ownership of the trademark and copyright (even if it is declared to be
GPL somebody has to be responsible for making that statement). Usually
it is a company or a foundation (which is al
Let's think about this some more
On Mar 4, 5:43 pm, Rowdy wrote:
> mdipierro wrote:
> > ok, in trunk. Thanks for your help with this.
>
> > On Mar 3, 8:42 pm, Rowdy wrote:
>
> Bad news. I left it running overnight with the 5 and 10 minute jobs and
> the check for >= 59 seconds, logging the
It is not
>>> db().select(db.test.id>0)
but
>>> db(db.test.id>0).select()
db(condition).select(*fields,orderby=..,groupby=...,limitby=...,cache=...,distinct=...)
On Mar 4, 5:26 pm, compassiontara wrote:
> Hi everyone. I'm having an issue with select() working after an
> insert.
>
> See below
true you have a choice but they are all the same:
class FORM it is built on helpers
class SQLFORM(FORM) extends a FORM
crud.update and crud.create are just two functions that to
form=SQLFORM(...)
if form.accepts(...):
return form
so they return a SQLFORM with is a FORM and which can be mani
Although this can be done I need to look more in details at thos ExtJS
libraries.
As a related issue I think we can improve crud to make it more
restful. Currently crud create and crud update do take json imput
(look at the code) but no json output (unless you make your own *.json
view). I will try
thanks to Gyuris Szabolcs we have a working gluon/contrib/
login_methods/cas_auth.py
Let us know if you give it a try.
massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To uns
btw... the cas service is not at https://web2py.com/cas
On Mar 4, 9:48 pm, mdipierro wrote:
> thanks to Gyuris Szabolcs we have a working gluon/contrib/
> login_methods/cas_auth.py
>
> Let us know if you give it a try.
>
> massimo
--
You received this message because you are subscribed to the G
btw... the cas service is *NOW* at https://web2py.com/cas
On Mar 4, 9:49 pm, mdipierro wrote:
> btw... the cas service is not athttps://web2py.com/cas
>
> On Mar 4, 9:48 pm, mdipierro wrote:
>
> > thanks to Gyuris Szabolcs we have a working gluon/contrib/
> > login_methods/cas_auth.py
>
> > Let
Looks like setting up self signed SSL on dreamhost requires a unique
IP (for extra $) which I'm not exactly up for just to learn web2py
(yes I know I can run it on my own computer).
As for I believe doing an SSH tunnel I don't entirely see how that
would let me log into the admin pages.
Any other
So the entries in errata are finding their way into the book and are
being deleted afte, right?.
On Mar 4, 9:39 pm, mdipierro wrote:
> The fact is that some new users may want to be able to report issues
> (and they can edit errata) but they cannot edit the book.
>
--
You received this message
Also I added support so the DAL can check reserved SQL keywords.
http://web2py.com/book/default/section/6/2
-Thadeus
On Thu, Mar 4, 2010 at 7:35 PM, villas wrote:
> 'Password' is a reserved word and causes a problem in Firebird. Try
> this:
>
> auth=Auth(globals(),db)
> auth.settings.passw
admins (which includes Massimo) can set it to done.
I think the decimal question was a fair one given it wasn't documented
yet.
On Mar 5, 5:05 am, Thadeus Burgess wrote:
> Can others besides the question creator mark something as DONE?
>
> -Thadeus
>
>
>
> On Thu, Mar 4, 2010 at 12:03 PM, waTR
When I ran web2py on dreamhost I just edited my admin application and
removed the checks for https.
Of course your best option is to use a ssh tunnel, forward the port 80
of the server to your local port 8080 or something, since admin allows
any localhost connections to access it will work.
-Tha
This didn't used to issue a ticket until today. The only change I made
was to add a new table to my db. Any idea what might be causing this?
The db field is this:
db.Field('offset','double',requires=IS_FLOAT_IN_RANGE(-12.0,12.0)),
Traceback (most recent call last):
File "gluon/restricted.py"
On 3/4/2010 10:49 PM, mdipierro wrote:
btw... the cas service is *NOW* at https://web2py.com/cas
When you say the service is *NOW* at https://web2py.com/cas, you mean
it's no longer at https://mdp.cti.depaul.edu/cas the link on wikipedia,
correct?
(I had to look up CAS to find out what it
more then deleted, marked as fixed.
On Mar 4, 10:07 pm, DenesL wrote:
> So the entries in errata are finding their way into the book and are
> being deleted afte, right?.
>
> On Mar 4, 9:39 pm, mdipierro wrote:
>
> > The fact is that some new users may want to be able to report issues
> > (and t
good to know. thanks
On Mar 4, 10:17 pm, Richard wrote:
> admins (which includes Massimo) can set it to done.
>
> I think the decimal question was a fair one given it wasn't documented
> yet.
>
> On Mar 5, 5:05 am, Thadeus Burgess wrote:
>
> > Can others besides the question creator mark someth
'offset' is a keyword and cannot be used as a field name
On Mar 4, 10:34 pm, weheh wrote:
> This didn't used to issue a ticket until today. The only change I made
> was to add a new table to my db. Any idea what might be causing this?
> The db field is this:
>
> db.Field('offset','double',requi
I cannot control the DNS for mdp.cti.depaul.edu and currently it is
down.
I will try point it to web2py.com.
On Mar 4, 10:36 pm, Andrew Thompson wrote:
> On 3/4/2010 10:49 PM, mdipierro wrote:> btw... the cas service is *NOW*
> athttps://web2py.com/cas
>
> When you say the service is *NOW* athtt
urg. thanks. I just moved from MySQL to postgresql, so that must be
why it's being flagged, now.
On Mar 4, 11:46 pm, mdipierro wrote:
> 'offset' is a keyword and cannot be used as a field name
>
> On Mar 4, 10:34 pm, weheh wrote:
>
> > This didn't used to issue a ticket until today. The only cha
The question here is how do we get more people know and use web2py. is
it releasing some widely used and mostly needed applications developed
with web2py? or a big web site that is developed with web2py? as far
as i know django doesn't power, for example a social network that is
widely used. but wh
How about this,
Create a script to rename the app as follows
Myappname-hide
Now the app will "disappear" in the web2py interface.
The app (and everything in the app directory) remain, but Will no
longer show up in web2py because the folder name contains a "-"
hyphen.
You need to test, but mi
We need to be realistic. Not well meaning.
Feel good statements that "most of us are streets behind Massimo" is
frankly impractical and unhelpful. Nor do I like the implication that
somehow I am 'not behind Massimo'. Also the multi billion company I
was referring to as an example of the has nothin
Thank you!
Mengu on irc helped make me all smart as well.
For completeness sakes in case someone else gets as dumb as me, a very
very quick reference, based on what I've learned today.
#make the DB.
db.define_table('tablename',Field('fieldname','type',options)
INSERT:
db.TABLENAME.inse
Hello,
I am using XMLRPC to communicate between 2 separate apps:
http://web2py.com/book/default/section/9/2
Does this library compress/decompress the data, or would I need to do
that myself? (I will be transferring a lot of text)
Richard
--
You received this message because you are subscribed
Thanks. Now the pages display successfully that show the poll results
and the voting options: http://localhost:8080/Polls/default/detail/9
and http://localhost:8080/Polls/default/results/9.
But when I voted, I got errors with http://localhost:8080/Polls/default/detail/9
- my vote wasn't saved. The
I'll probably get flamed for talking about this...
In general I really like the 'magic' that web2py offers, where it
builds a nice structure and imports all the modules and everything.
Having stuff just exist for me is really handy! I'm not saying that
this should change.
However, there are time
78 matches
Mail list logo