[web2py:17137] Re: Critical point in web2py

2009-02-27 Thread Joe Barnhart
One feature I do not see is the generation of stubs for new pages and the automatic links to existing pages. This is kind of an important aspect of a wiki -- the extensive cross-linking of ideas and content. Yarko -- the advantage of a wiki is that _anyone_ may contribute to it. Yes, it lacks s

[web2py:17136] Re: How to get id of last record added to db?

2009-02-27 Thread weheh
Got it! OK, now I see it in the doc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send emai

[web2py:17135] Can SQLFORM do this?

2009-02-27 Thread weheh
db.define_table('x',SQLField('name','string')) db.define_table('y',SQLField('x',db.x),SQLField('name','string')) I want a create() controller that that displays tables x and y on the same form and makes sure that y correctly links to x. Can SQLFORM do the job, or do I have to resort to FORMs and

[web2py:17134] Re: Critical point in web2py

2009-02-27 Thread Yarko Tymciurak
On Fri, Feb 27, 2009 at 6:48 PM, mdipierro wrote: > > I do not like the idea of things moving out of the wiki and never > coming back. Things will always need small updates and that it > critical. Small updates can happen in Wiki; when stable, they can happen in Sphinx I think this is no probl

[web2py:17133] Re: How to get id of last record added to db?

2009-02-27 Thread mdipierro
id=db.test.insert(a=3) or uring forms form=SQLFORM(db.test) if form.accepts(request.vars): response.flash='last id is %s' % form.vars.id Massimo On Feb 27, 11:42 pm, weheh wrote: > Let's say I have > > db.define_table('test',SQLField('a','integer')) > > How do I get the id of the last reco

[web2py:17132] Re: Authentication problem

2009-02-27 Thread mdipierro
You are passing a wrong parameter to auth somwhere (perhaps the constructor). Please post your db.py On Feb 27, 11:21 pm, weheh wrote: > Thanks, Yarko, I'll check it out. I'm now certain that at least some > of my problems has been from using an older version of web2py. I'm now > up to date, but

[web2py:17131] How to get id of last record added to db?

2009-02-27 Thread weheh
Let's say I have db.define_table('test',SQLField('a','integer')) How do I get the id of the last record with field 'a' that I inserted into the db? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewo

[web2py:17130] Re: Authentication problem

2009-02-27 Thread weheh
Thanks, Yarko, I'll check it out. I'm now certain that at least some of my problems has been from using an older version of web2py. I'm now up to date, but this is the 2nd time that's happened to me in the couple weeks, which is about how long I've been learning web2py. I'm still running into tro

[web2py:17129] Re: web2py.py on linux not using --port assignment

2009-02-27 Thread mdipierro
Fixed, more or less as you suggested (in trunk) Massimo On Feb 27, 7:53 pm, Kuba Kucharski wrote: > What about some change in gluon/widget.py? > > 224a225,228 > > >         (options, args) = console() > >         port_number=int(options.port) > > 232c236 > <         self.port_number.insert(Tkin

[web2py:17128] Re: Ubuntu 9.04 switches /usr/bin/python to python2.6 (from python2.5)

2009-02-27 Thread mdipierro
I do not think web2py 1.56 is using md5 if hashlib is present. web2py should also run in Python 2.6 although people have reported one problem that seems to be due to a bug in the Python cgi module. Try use it and let us know if you encouter any problem. Massimo On Feb 27, 10:52 pm, Jim wrote:

[web2py:17127] Re: Critical point in web2py

2009-02-27 Thread mdipierro
Pedro, the current web2py wiki has -a page tree -a public link to revision history and diffs (*) -recent changes page and rss will be added soon. (*) is not quite public. requires login and membership in the developer. Almost anybody who asks will get it. Massimo On Feb 27, 9:59 pm, Pedro wr

[web2py:17126] Ubuntu 9.04 switches /usr/bin/python to python2.6 (from python2.5)

2009-02-27 Thread Jim
ls -ald /usr/bin/python lrwxrwxrwx 1 root root 9 2009-02-27 11:25 /usr/bin/python -> python2.6 Noticed this: :13: DeprecationWarning: the md5 module is deprecated; use hashlib instead 9.04 should be released in about 2 months, meaning that 2.6 will then be standard on Ubuntu. --~--~-

[web2py:17125] Re: web2py.py on linux not using --port assignment

2009-02-27 Thread Kuba Kucharski
What about some change in gluon/widget.py? 224a225,228 > > (options, args) = console() > port_number=int(options.port) > 232c236 < self.port_number.insert(Tkinter.END, '8000') > self.port_number.insert(Tkinter.END, port_number) My solution is probably wrong but whe

[web2py:17124] Re: Internal Error on server

2009-02-27 Thread mdipierro
and how did you reload data into the db? if you used the shell, did you db.commit()? If not, is the shell still open? On Feb 27, 10:48 pm, mdipierro wrote: > This is a database error, not a web2py error. > Do you get it all the time after migration? Did you get it once? > Which database? If

[web2py:17123] Re: Internal Error on server

2009-02-27 Thread mdipierro
This is a database error, not a web2py error. Do you get it all the time after migration? Did you get it once? Which database? If it is portgresql or myssql, did you try restarting the database? On Feb 27, 9:14 pm, morningovermidnight wrote: > What might cause the following error message to be d

[web2py:17122] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
I could not start the file journaling in either system. Something always fails, no matter how I change the setup. Grrr... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this g

[web2py:17121] Re: Critical point in web2py

2009-02-27 Thread Pedro
I'll have to apologize, I didn't realize this discussion had 3 pages and therefore missed the last two. Looks like we're going with a homegrown wiki. Not necessarly my first choice, but cool indeed. Here's a couple of things I use regularly in other wikis that I kind of miss in web2py wiki: -a pag

[web2py:17120] Re: Critical point in web2py

2009-02-27 Thread Efe
I agree with Massimo. Wiki concept is proven and everyone understands howto update (and navigate) wiki content. Small updates "made easy" is critical. Keep it simple, keep the docs in a central wiki that is put up onto appengine (so we all have fast access), and that wiki software itself will imp

[web2py:17119] Internal Error on server

2009-02-27 Thread morningovermidnight
What might cause the following error message to be displayed: InternalError: current transaction is aborted, commands ignored until end of transaction block The two files involved are my default.py controller and the sql.py file in gluon. I am at a lost because everything had been previously wor

[web2py:17118] Re: Critical point in web2py

2009-02-27 Thread Pedro
Nice to see some enthusiasm and attitude towards solid documentation. I was one of those around when the current wiki was put up. The fact that it was a bit buggy did interfere with its function. Also the fact that it has a different look and feel from what most users are used to, and some lack of

[web2py:17117] Re: web2py "AJAX" admin editor

2009-02-27 Thread Boris Manojlovic
Massimo is there really a need for "restore" button in "ajax" mode editing or i should just hide it? As editor (Editarea) is perfectly capable of "reverting" or restoring last good state with simple clicking on button undo/redo. Current code is usefull and there should be no visible bugs :) Boris

[web2py:17116] Re: Critical point in web2py

2009-02-27 Thread Paul Eden
Sphinx is cool, but looking at the new wiki, I think it is pretty far already (now with reST, revisions, etc). Adding export to latex or pdf would be relatively simple to do from reST sources since docutils already converts from reST to these formats. We definitely need a wiki (or some other type

[web2py:17115] Re: web2py and GAE

2009-02-27 Thread AchipA
Well, two simple ideas to begin with: a) extend the tuples with a third parameter which would be the domain (also regex), use an exception to make it backwards compatible. b) introduce a routes_domain = { 'mydomain.com' : (routes_in, routes_out, routes_onerror) } style hash and use the global/c

[web2py:17114] Re: Critical point in web2py

2009-02-27 Thread Paul Eden
I think that would work, but I was wondering if it might be easier to just have some type of google custom search that included both the sphinx site and the wiki as sources. Is that feasible? desired? Paul On Fri, Feb 27, 2009 at 5:36 PM, Yarko Tymciurak wrote: > > Having said that - Massimo c

[web2py:17113] Re: Critical point in web2py

2009-02-27 Thread mdipierro
I do not like the idea of things moving out of the wiki and never coming back. Things will always need small updates and that it critical. We can start with that but then we need to build a web interface directly to the sphinx docs. Massimo On Feb 27, 6:36 pm, Yarko Tymciurak wrote: > On Fri,

[web2py:17112] Re: web2py and GAE

2009-02-27 Thread mdipierro
can you propose a syntax to do that is backward compatible? If we agree on that it should be easy to patch it. On Feb 27, 4:19 pm, AchipA wrote: > Massimo, how would you feel about extending routes to take into > account domains as well ? Basically, with routes.py you can do away > with the app

[web2py:17111] Re: joins between database drivers

2009-02-27 Thread mdipierro
After pycon. ;-) On Feb 27, 4:04 pm, Markus Gritsch wrote: > Hi, > > any plans to implement the 'prefix' argument mentioned below? It > could be used to prevent from accidentally using the same tables by > different applications on GAE? > > Markus > > On 7 Feb., 23:56, mdipierro wrote: > > > T

[web2py:17110] Re: Critical point in web2py

2009-02-27 Thread Yarko Tymciurak
On Fri, Feb 27, 2009 at 1:31 PM, Paul Eden wrote: > +1 I like these ideas. > > One thing I would add. > > If we do have a wiki and sphinx in source control then we should have one > place where users can search through *both* places. > > That way they don't have to look through one and then look

[web2py:17109] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
On Feb 27, 5:22 pm, carlo wrote: > Did you try to journal your table and see if you still have the 7008 error? working on it... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post

[web2py:17108] Re: DAL mssql DSN connection

2009-02-27 Thread carlo
unfortunately my server is even older. I had exactly the same error with my insert (my select was ok) but I thought the fault was the table was not journaled (it is not by default) and you can not update tables not journaled. Why do you think this is a bug? Did you try to journal your table and s

[web2py:17107] Re: web2py and GAE

2009-02-27 Thread AchipA
Massimo, how would you feel about extending routes to take into account domains as well ? Basically, with routes.py you can do away with the application name only if you use one application, but it would be nice to be able to use a single web2py install for multiple apps. On Feb 27, 10:29 pm, mdi

[web2py:17106] Re: web2py and GAE

2009-02-27 Thread Jim
That's fantastic news about the different ways. I've been trying routes.py and it wasn't working for me. I noted your suggestion that it not be used in a production environment. And I'm pretty sure that GAE doesn't allow for Apache-style rewriting. But I will definitely try #1. With GAE allo

[web2py:17105] Re: TIM - can't create windows service

2009-02-27 Thread Timothy Farrell
UAC, it'll getcha every time! dbb wrote: > Thanks, problem solved.The steps take for vista since vista showed > access denied when I tried to run install, (1) create a short cut of > the command line prompt,i.e. C>, (2) high light it, then right click > on it, (3) select run as admin (4) run inst

[web2py:17104] Re: TIM - can't create windows service

2009-02-27 Thread dbb
Thanks, problem solved.The steps take for vista since vista showed access denied when I tried to run install, (1) create a short cut of the command line prompt,i.e. C>, (2) high light it, then right click on it, (3) select run as admin (4) run install, start and stop- it works On Feb 26,

[web2py:17103] Re: joins between database drivers

2009-02-27 Thread Markus Gritsch
Hi, any plans to implement the 'prefix' argument mentioned below? It could be used to prevent from accidentally using the same tables by different applications on GAE? Markus On 7 Feb., 23:56, mdipierro wrote: > This is an un-necessary complication. > > I think all we need (eventually) is > >

[web2py:17102] Re: ANN: t3 foto galleria

2009-02-27 Thread mdipierro
thanks. Massimo On Feb 27, 2:58 pm, Wes James wrote: > T3 Foto Galleria > > Photo Gallery built on T3 (plus some mods) > > 1. When a failed login occurs you get the username back with the > password field active > 2. itemize modified to display 4x3 grid of images - includes new > navigation and

[web2py:17101] Re: web2py and GAE

2009-02-27 Thread mdipierro
Hi Jim, you raise many issues and I am not sure I am answering them all. about the path in URL you have four ways to change that: 1) call your app init 2) create an empty app init that redirects to your app 3) rename and edit routes.example.py as routes.py and remap URLs (like Django does) 4) us

[web2py:17100] Re: Checkbox validation broken?

2009-02-27 Thread mdipierro
Now I understand. You should use this db.table.checkbox_field.requires=IS_IN_SET(['on']) instead because it is not obvious to me that an unchecked checkbox should be considered empty since it implies that a choice has been made. It is possible that revision 1.55 broke IS_NOT_EMPTY for checkboxes

[web2py:17099] Re: ANN: t3 foto galleria

2009-02-27 Thread Wes James
I just noticed the title field should probably be: db.Field('title', requires=[IS_NOT_EMPTY()]), -wj On Fri, Feb 27, 2009 at 2:08 PM, compte...@gmail.com wrote: > > Forgot to mention, I used f...@galleria.org for the inital email > address and foto for the password. > > (the email is fake) > >

[web2py:17098] Re: web2py and GAE

2009-02-27 Thread Markus Gritsch
On Fri, Feb 27, 2009 at 9:56 PM, Jim wrote: > > 2.  web2py really needs to work without the application name  - / > default/index would be fine for now >          with a goal of having / as "home".     > www.mydomain.com/myapp/default/index > is huge and is >          bad from an SEO standpoint

[web2py:17097] Re: ANN: t3 foto galleria

2009-02-27 Thread compte...@gmail.com
Forgot to mention, I used f...@galleria.org for the inital email address and foto for the password. (the email is fake) or you can just register and add your own of course. -wj On Feb 27, 1:58 pm, Wes James wrote: > T3 Foto Galleria > > Photo Gallery built on T3 (plus some mods) > > 1. When a

[web2py:17095] web2py and GAE

2009-02-27 Thread Jim
Executive summary: 1. web2py needs to focus on appealing to newbies As we get more experienced, we hopefully can make contributions to make web2py better and better. If I'm in charge of maintaining a site that's already written, it's unlikely that I'll want to throw out PH

[web2py:17094] Re: Checkbox validation broken?

2009-02-27 Thread Voltron
apologize, I meant IS_NOT_RMPTY() On Feb 27, 6:31 pm, mdipierro wrote: > db.table.checkbox_field.requires=IS_IN_SET(['on']) > > yes > > On Feb 27, 10:44 am, DenesL wrote: > > > On Feb 27, 10:42 am, Voltron wrote: > > > > Ok, how would I validate if a checkbox is checked in a form? > > > How a

[web2py:17093] Re: Textarea on SQLFORM

2009-02-27 Thread murray3
Thanks Massimo, I did try using _value=XML(thipage.body,sanitize=True) previouslyand although it saves the value in correct format, when the input button clicked / activated the nicedit textarea clears? If you click it again the updated record data shows but is a mixture of the correct format d

[web2py:17092] Re: DAL mssql DSN connection

2009-02-27 Thread mdipierro
Probably read committed. On Feb 27, 2:01 pm, DenesL wrote: > Massimo, which setting would you recommend in the ODBC DSN? > > Commit modes > > These are default commit modes that will be used if the application > does not specifically set them. > > Commit immediate (*NONE) > > Specifies that comm

[web2py:17091] Re: Critical point in web2py

2009-02-27 Thread mdipierro
This https://mdp.cti.depaul.edu/wiki now uses reST. How can we integrate it with Sphinx? Should we? Or should we just use bzr? Masssimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.

[web2py:17090] Re: Critical point in web2py

2009-02-27 Thread mdipierro
You can use anything in AlterEgo and you can use examples from the book. If you want to use more than examples from the book please email me personally. Massimo On Feb 27, 12:13 pm, Markus Gritsch wrote: > On Fri, Feb 27, 2009 at 3:29 PM, Greg Fuller wrote: > > > You've made some very good po

[web2py:17089] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
Massimo, which setting would you recommend in the ODBC DSN? Commit modes These are default commit modes that will be used if the application does not specifically set them. Commit immediate (*NONE) Specifies that commitment control is not used. COMMIT and ROLLBACK statements are not allowed. U

[web2py:17088] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
>From the server job log (edited): Message ID . . . . . . : SQL7008 Severity . . . . . . . : 30 Message . . . . : PERSON in QGPL not valid for operation. Cause . . . . . : The reason code is 3. Reason codes and their meanings are: 3 -- PERSON not journaled, or no authority to t

[web2py:17087] Re: Critical point in web2py

2009-02-27 Thread Paul Eden
+1 I like these ideas. One thing I would add. If we do have a wiki and sphinx in source control then we should have one place where users can search through *both* places. That way they don't have to look through one and then look through the other to find answers. Paul On Fri, Feb 27, 2009 a

[web2py:17086] Re: Authentication problem

2009-02-27 Thread Yarko Tymciurak
I often post this - perhaps time again: here is a handly table of reserved words for Postgres, as well as the various SQL standards - you might find this a useful guide (it's not just for Postgres): http://www.postgresql.org/docs/8.3/static/sql-keywords-appendix.html On Fri, Feb 27, 2009 at 12:03

[web2py:17085] Re: Critical point in web2py

2009-02-27 Thread Markus Gritsch
On Fri, Feb 27, 2009 at 3:29 PM, Greg Fuller wrote: > > You've made some very good points. > > Would the following  make sense? > > Use the wiki for the initial gathering of doc pages, then after the > first sphinx-based documentation is produced,  just clean the wiki of > those pages.  After tha

[web2py:17084] Re: web2py.py on linux not using --port assignment

2009-02-27 Thread Yarko Tymciurak
Is this something there should be a message about? Would some feedback help from the startup? On Fri, Feb 27, 2009 at 4:34 AM, Kuba Kucharski wrote: > You have to: "--port 8003 -a password". Or recycle password. The "-a" > option is vital. > > -- > Kuba > > > > > On Fri, Feb 27, 2009 at 6:21 AM,

[web2py:17083] Re: Critical point in web2py

2009-02-27 Thread Yarko Tymciurak
I haven't fully thought about this yet, but in general - Wiki == freeform idea collection; I agree that some structure to begin and guide is good; Good place for transient information; I would think once content is in a sphinx doc (and I agree completely w/ source control - much like what the Py

[web2py:17082] Re: DAL mssql DSN connection

2009-02-27 Thread mdipierro
I can only confirm your "huh"! Can you show me a typical console session? Are missing some initialization statement? On Feb 27, 11:02 am, DenesL wrote: > On Feb 27, 11:36 am, mdipierro wrote: > > > Sorry my fault > > > self._execute = lambda a: self._cursor.execute(a[:-1]) > > > not > > > self

[web2py:17081] Re: Checkbox validation broken?

2009-02-27 Thread mdipierro
db.table.checkbox_field.requires=IS_IN_SET(['on']) yes On Feb 27, 10:44 am, DenesL wrote: > On Feb 27, 10:42 am, Voltron wrote: > > > Ok, how would I validate if a checkbox is checked in a form? > > How about: > > db.table.checkbox_field.requires=IS_IN_SET(['on'}) --~--~-~--~~

[web2py:17080] Re: IIS6+web2py+MSSQL

2009-02-27 Thread Paul Eden
Thanks! On Fri, Feb 27, 2009 at 10:19 AM, phecker wrote: > > Just finished: > > Using web2py with IIS, MSSQL and Helicon ISAP_Rewrite 3 on Windows > Server 2003/2008 > > => http://mdp.cti.depaul.edu/AlterEgo/default/show/207 > > _p_ > > On 26 Feb., 22:09, mdipierro wrote: > > ... and you kept t

[web2py:17079] Re: IIS6+web2py+MSSQL

2009-02-27 Thread phecker
Just finished: Using web2py with IIS, MSSQL and Helicon ISAP_Rewrite 3 on Windows Server 2003/2008 => http://mdp.cti.depaul.edu/AlterEgo/default/show/207 _p_ On 26 Feb., 22:09, mdipierro wrote: > ... and you kept this powerful secret to yourself until now? Just > kidding... could you post som

[web2py:17078] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
On Feb 27, 11:36 am, mdipierro wrote: > Sorry my fault > > self._execute = lambda a: self._cursor.execute(a[:-1]) > > not > > self._execute = lambda *a: self._cursor.execute(a[:-1]) Traceback (most recent call last): File "C:\web2py\trunk\gluon\restricted.py", line 98, in restricted exec

[web2py:17077] Re: Checkbox validation broken?

2009-02-27 Thread DenesL
On Feb 27, 10:42 am, Voltron wrote: > Ok, how would I validate if a checkbox is checked in a form? How about: db.table.checkbox_field.requires=IS_IN_SET(['on'}) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2

[web2py:17076] Re: DAL mssql DSN connection

2009-02-27 Thread mdipierro
Sorry my fault self._execute = lambda a: self._cursor.execute(a[:-1]) not self._execute = lambda *a: self._cursor.execute(a[:-1]) On Feb 27, 10:06 am, DenesL wrote: > Ok, more tests. > > If I change sql.py around line 790 > #             self._execute = lambda *a, **b: self._cursor.execute(*a

[web2py:17075] Re: facebook + web2py app

2009-02-27 Thread mdipierro
I guess the problem is that the application has a bug and that returns an error ticket which facebook ineterprets as invalid format. use admin and browse for recent errors. On Feb 27, 10:29 am, notabene wrote: > I use Your facebook application: > > views/layout.html: > > > {{if response.flash:}

[web2py:17074] Re: Checkbox validation broken?

2009-02-27 Thread mdipierro
Can you show me the code of IS_EMPTY ? To valicate acceptance of a contract you need IS_NOT_EMPTY? Am I wrong? On Feb 27, 9:50 am, Voltron wrote: > the checkbox  is in a fairly large form, it suggests that users should > accept the terms and coditions of a contract. IS_EMPTY() used to work > > O

[web2py:17073] Re: facebook + web2py app

2009-02-27 Thread notabene
I use Your facebook application: views/layout.html: {{if response.flash:}}{{=response.flash}}{{pass}} {{include}} powered by http://www.web2py.com";>web2py! On 27 Feb., 16:32, mdipierro wrote: > Make sure you extend a layout that says ONLY > > {{include}} > > Massimo > > On Feb 27, 4:14 a

[web2py:17072] Re: DAL mssql DSN connection

2009-02-27 Thread DenesL
Ok, more tests. If I change sql.py around line 790 # self._execute = lambda *a, **b: self._cursor.execute(*a, **b) self._execute = lambda *a: self._cursor.execute(a[:-1]) I get Traceback (most recent call last): File "C:\web2py\trunk\gluon\restricted.py", line 98, in re

[web2py:17071] Re: Checkbox validation broken?

2009-02-27 Thread Voltron
the checkbox is in a fairly large form, it suggests that users should accept the terms and coditions of a contract. IS_EMPTY() used to work On Feb 27, 4:42 pm, Voltron wrote: > Ok, how would I validate if a checkbox is checked in a form? > > Thanks --~--~-~--~~~---~-

[web2py:17070] Re: Checkbox validation broken?

2009-02-27 Thread Voltron
Ok, how would I validate if a checkbox is checked in a form? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubs

[web2py:17069] Re: web2py.py on linux not using --port assignment

2009-02-27 Thread Kuba Kucharski
You have to: "--port 8003 -a password". Or recycle password. The "-a" option is vital. -- Kuba On Fri, Feb 27, 2009 at 6:21 AM, Jim wrote: > > Hello, > > Thanks for the response. I'm running Ubuntu 9.04. > > It looks like the server ignores the --port=8001 but I can enter it by > hand in t

[web2py:17068] Re: Checkbox validation broken?

2009-02-27 Thread mdipierro
I do not know... I did not write IS_EMPTY(), can you show us the source code? why would you such a thing anyway? On Feb 27, 8:22 am, voltron wrote: > I use to use IS_EMPTY() to validate checkboxes a while back, is it > broken? Nothing happesn and the form is accpted if the checkbox is > checked

[web2py:17067] Re: facebook + web2py app

2009-02-27 Thread mdipierro
Make sure you extend a layout that says ONLY {{include}} Massimo On Feb 27, 4:14 am, notabene wrote: > Might be very usefull. > > I get this error: > > FBML Error (line 88): illegal tag "body" under "fb:canvas" > > Using /facebook/default/index > > controller/default: > from applications.faceb

[web2py:17066] Re: Reddish comments doesnt count

2009-02-27 Thread mdipierro
That's not doing much. It is more or less as if I were running a readonly web2py admin on appspot. I would be able to read my own file. The problem is, I have not uploaded anything to do it. Massimo On Feb 27, 2:30 am, Efe wrote: > hi Massimo! > > I haven't tried, but thishttp://enter.appspot.c

[web2py:17065] Re: Textarea on SQLFORM

2009-02-27 Thread mdipierro
for your second problem > else: > response.flash="form is invalid!" should be > elif form.errors: > response.flash="form is invalid!" About your first problem: replace _value=thispage.body with _value=XML(thipa

[web2py:17064] Re: Critical point in web2py

2009-02-27 Thread cjparsons
> Use the wiki for the initial gathering of doc pages, then after the > first sphinx-based documentation is produced,  just clean the wiki of > those pages.  After that, just use the wiki for contributed recipes > and other pages, some of which are selectively migrated to sphinx. > Keep the change

[web2py:17063] Re: Critical point in web2py

2009-02-27 Thread Paul Eden
On Fri, Feb 27, 2009 at 5:53 AM, chris p wrote: > > I think if you treat the documentation as a built deliverable with > reST source files, and handle contributions, revisions, etc through > source control. This makes it dead-simple to couple doc revisions with > the web2py source itself, somethi

[web2py:17062] Re: Get a certificate in Web2py!

2009-02-27 Thread Paul Eden
That looks great! It's too bad my company's training budget is already exhausted for this year (mostly due to pycon ;-) ). Paul On Thu, Feb 26, 2009 at 9:09 PM, mdipierro wrote: > > http://ipdweb.cs.depaul.edu/wdp/Prog_WDP.htm > > > -- Best Regards, Paul Eden "...and a little looking out

[web2py:17061] Re: Critical point in web2py

2009-02-27 Thread Greg Fuller
You've made some very good points. Would the following make sense? Use the wiki for the initial gathering of doc pages, then after the first sphinx-based documentation is produced, just clean the wiki of those pages. After that, just use the wiki for contributed recipes and other pages, some

[web2py:17060] Checkbox validation broken?

2009-02-27 Thread voltron
I use to use IS_EMPTY() to validate checkboxes a while back, is it broken? Nothing happesn and the form is accpted if the checkbox is checked or not --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewor

[web2py:17059] Re: Critical point in web2py

2009-02-27 Thread chris p
I've been mostly lurking, but would like to offer a few comments... reST to HTML is very straightforward, the docutils pacage has an rst2Html script to do exactly that (and it is just a few lines of code). Sphinx, as Yarko has pointed out, is a tool chain using reST that adds better facilities f

[web2py:17058] Re: Critical point in web2py

2009-02-27 Thread cjparsons
If you agree it would be good to think about structure before we start (e.g even http://mdp.cti.depaul.edu/examples/default/docs is a bit overwhelming) I made a "documentation organisation" page on the test wiki. Please edit/delete what I put there already and / or comment. https://mdp.cti.depaul

[web2py:17057] Re: web2py mentioned in blog post of Michael Foord

2009-02-27 Thread AchipA
There is a 4th w/web2py only thing here - platform independent asynchronously executed tasks (=cron and postconnectiontasks). Arguably not fully mature yet in all usage scenarios, but AFAIK it's a web2py exclusive, best others can do is a blocking soft-cron or external invocation. On Feb 27, 1:33

[web2py:17056] Re: facebook + web2py app

2009-02-27 Thread notabene
Might be very usefull. I get this error: FBML Error (line 88): illegal tag "body" under "fb:canvas" Using /facebook/default/index controller/default: from applications.facebook.modules.facebook import * facebook_settings.FACEBOOK_API_KEY = 'da74af75965cb6cxxx' facebook_settings.FACEBO

[web2py:17055] Re: Reddish comments doesnt count

2009-02-27 Thread Efe
hi Massimo! I haven't tried, but this http://enter.appspot.com/ claims you can retrieve files from appengine!! please get that latest Reddish code you lost for us :) Efe On Feb 27, 12:17 pm, mdipierro wrote: > I had a hd crash some time and I lost the image that I uploaded to the > app engine

[web2py:17054] Re: Textarea on SQLFORM

2009-02-27 Thread murray3
works with the following in controller: def edit(): try: thispage=db(db.page.id==request.args[0]).select() [0] except: redirect(URL(r=request,f='index')) form=FORM(DIV(TEXTAREA(_style="width: 98%;", _name="wikibody1", _id="wikibody1",_value=thispage.

[web2py:17053] Re: Reddish comments doesnt count

2009-02-27 Thread Efe
Unfortunately I'm no python coder. :P in Reddish, no<> pagination too. and one user can vote more than once, needs to be fixed. Massimo (below) says latest Reddish version is the one on http://web2py.appspot.com/ and he lost that code There must be a way to read that code from appengin