[web2py] Autocomplete with foreign chars...

2010-02-04 Thread Jason Brower
I have my nifty little autocomplete working thanks to your gracious help but I have one more issue to resolve It seems that searchs with öäå don't work. I think it has to do with how I send the data to the server so let me show you my search page: I can't send the äåö in the url so how could

[web2py] generate pdf example

2010-02-04 Thread ceriox
hi all, there is a easy example of generating pdf app? -- 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] Re: The state of the wiki and documentation in general

2010-02-04 Thread Anand Vaidya
On Feb 4, 3:59 am, DenesL denes1...@yahoo.ca wrote: AFAIK Massimo does not oppose but actually encourages the creation of more documentation in any form. OK, I bit the bullet and did the following: = Registered the domain webtopy.org and signed up for a Godaddy shared hosting (150GB disk,

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread hamdy.a.farag
Hi The problem is that only few people are willing to or can contribute their time. I want to contribute in documentation so if there's a plan for documentation , let me know and I'm ready . Regards Hamdy -- You received this message because you are subscribed to the Google Groups

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread tiago almeida
Nice. I took the liberty of posting DenesL Change log to that site (Formatting is messed up don't know why). Hope that is ok. Regards, Tiago On Thu, Feb 4, 2010 at 10:05 AM, Anand Vaidya anandvaidya...@gmail.comwrote: On Feb 4, 3:59 am, DenesL denes1...@yahoo.ca wrote: AFAIK Massimo does

[web2py] Adding script to the head when extending layout.html

2010-02-04 Thread Dane
Hi, I need to add a script block to the head of one of my templates (for registering a flash object), and I'm a bit confused about how to accomplish this since it doesn't seem like a good idea to mess with the location of layout.html's {{include}}. This is the first time since I've started with

Re: [web2py] Adding script to the head when extending layout.html

2010-02-04 Thread tiago almeida
The include directive just defines the point where another template will be inserted. When you are rendering view X, if X has extend layout.html it will use layout.html up to the point where it finds the include, then insert X, then continue with the rest of layout.html. In other words you can

[web2py] For who will plugin MongoDB for DAL : Mingo

2010-02-04 Thread Alexandre Andrade
Maybe it can help adapt Mongo to DAL: The goal of Ming is to allow you to specify the schema for your data in Python code and then develop in confidence, knowing the format of data you get from a query. http://merciless.sourceforge.net/tour.html -- Atenciosamente --

[web2py] Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread Stefan
Hi all, (Sorry for the double-post in another thread: I thought that this should be its own post.) What's the trick to update a plugin_datatable display via an Ajax call? As an example, I have the function: def data(): rows= db().select(db.statustable.ALL, orderby=db.statustable.createdon)

[web2py] Re: admin app misses symlinked directories

2010-02-04 Thread selecta
Ubuntu 9.10 \n \l web2py Version 1.74.11 (2010-02-03 10:53:34) yes i made sure the case is correct and it must be since the application works just to be clear, symlinked files are not a problem (app works, and displayed in admin app designer) symlinked directories have problems (app works, not

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Anand Vaidya
Hi Tiago, Thanks. You need to select Full HTML as the choice for the Input Format field. Default is Filtered HTML Moreover, you can obtain a friendly URL by filling up URL path setting. This will result in URLs such as http://site.domain.com/AboutUs instead of http://site.domain.com/?q=23

[web2py] PluginManager app

2010-02-04 Thread selecta
Hi, if you know the problem of writing plug-ins for multiple applications, then this is for you. The Plugin Manager allows you to copy and symlink plug-ins so that if you e.g. develop a comments plug-in you can use it in two applications at the same time while continuing to develop just one

[web2py] Re: admin app misses symlinked directories

2010-02-04 Thread selecta
you can test this for yourself with this http://groups.google.com/group/web2py/browse_thread/thread/d10bf589cc81082b click on a plugin to manage it, test the plugin, it will still work but e.g. the views will not be visible in the admin design interface On Feb 4, 1:13 pm, selecta

[web2py] the team to leave web2py for these abides

2010-02-04 Thread Zoom.Quiet
just last week this team to decide by vote to give up web2py, usage Django develping; reasons:: - bad routes.py - changeless pattern for URL had to base routes.py redirect into short URL - routes.py is out app - url can not understand Chinese - tooo stand alone app - session/static ... is

[web2py] Re: format zero IS_IN_DB

2010-02-04 Thread DenesL
Any more pros/cons on this? Now is the time to weigh in your opinion. -- 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

Re: [web2py] Re: how to support multiple web2py trees

2010-02-04 Thread Wes James
change the host:port to 127.0.0.1:port and apache will use this internally but rewrite the rule to be used with http://host/app. -wes On Wed, Feb 3, 2010 at 3:08 PM, Ted Baker ted...@gmail.com wrote: I can't use extra ports.  Our university firewall policy does not allow traffic except on

Re: [web2py] Re: making changes in web2py

2010-02-04 Thread Wes James
On Wed, Feb 3, 2010 at 6:07 PM, mdipierro mdipie...@cs.depaul.edu wrote: I am confused. appadmin does not requires any. appadmin, by default, required admin (perhaps you refer to that). appadmin predates auth. If your app needs a more complex appadmin authentication you should connect to the

[web2py] Re: Adding script to the head when extending layout.html

2010-02-04 Thread DenesL
See section 5.4 in the book. It explains page layout including blocks. -- 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] Re: trying to get email to work

2010-02-04 Thread mdipierro
I do not believe this is a web2py issue anyway try these three tests: 1) Open a normal pyhton shell and use import smtplib server = smtplib.SMTP(localhost,25) server.sendmail('f...@example.com', ['y...@example.com'], 'hi there') 2) Open a web2py shell do the same as a bove 3) Open a web2py

Re: [web2py] Re: trying to get email to work

2010-02-04 Thread Wes James
Have you used wingide or some debugger to see that the values are correct in the send email part? Have you tried 127.0.0.1 instead of localhost telnet localhost 25 or telnet 127.0.0.1 25 to see that you are reaching the smtp service you expect. -wes On Wed, Feb 3, 2010 at 11:40 PM, weheh

Re: [web2py] the team to leave web2py for these abides

2010-02-04 Thread Timothy Farrell
I'd like to weigh in on these comments. routes.py: - It seems to me that Django routes are just as complicated: http://docs.djangoproject.com/en/1.1/intro/overview/#design-your-urls - Providing the routes.py outside of an app makes sense for web2py since it directly maps app/controller/function

[web2py] Re: generate pdf example

2010-02-04 Thread mdipierro
Yes http://www.mail-archive.com/web2py@googlegroups.com/msg15577.html On Feb 4, 2:40 am, ceriox cer...@gmail.com wrote: hi all, there is a easy example of generating pdf app? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this

[web2py] Re: Adding script to the head when extending layout.html

2010-02-04 Thread mdipierro
You can follow Denes suggestion (and the book) or use a new feature. Put the script in a static/my.js file and in the controller that needs it: response.files.append(URL(r=request,c='static',f='my.js')) On Feb 4, 5:20 am, Dane dane.schnei...@gmail.com wrote: Hi, I need to add a script

[web2py] Re: Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread mdipierro
There is a js code that trigger datatable, something like jQuery('.table_class').dataTable();. You want the script to be executed AFTER the ajax content is retrieved. Web2py provides a mechanism for this: def data(): rows= db().select(db.statustable.ALL,orderby=db.statustable.createdon)

Re: [web2py] Re: making changes in web2py

2010-02-04 Thread Timothy Farrell
+1 for anti-brute-forcing -1 for having to edit a pickled file to remove the offending IP. Surely you guys have used a broken keyboard before and typed in a password 10 times before realizing that your keyboard is broken. I recommend locking it out for a time period. You could add a value to

[web2py] Re: PluginManager app

2010-02-04 Thread mdipierro
This is a very good idea, although by using symlink can I assume this is unix only? On Feb 4, 7:28 am, selecta gr...@delarue-berlin.de wrote: Hi, if you know the problem of writing plug-ins for multiple applications, then this is for you. The Plugin Manager allows you to copy and symlink

[web2py] Re: generate pdf example

2010-02-04 Thread DenesL
See around line 100 in http://trac.sahanapy.org/browser/models/01_RESTlike_controller.py On Feb 4, 3:40 am, ceriox cer...@gmail.com wrote: hi all, there is a easy example of generating pdf app? -- You received this message because you are subscribed to the Google Groups web2py-users group.

[web2py] Re: admin app misses symlinked directories

2010-02-04 Thread mdipierro
Could be that isdir returns false on symlinked directories? form admin/ controller/default.py if os.path.exists(aviewpath): if os.path.isdir(aviewpath): viewlist = glob(os.path.join(aviewpath,'*.html')) On Feb 4, 7:37 am, selecta gr...@delarue-berlin.de

[web2py] Re: format zero IS_IN_DB

2010-02-04 Thread mdipierro
I do not really have an opinion on this. I am only reluctant to changes in behavior. Anyway, I am prepared to make this change (zero=None by default). I would like to know that all major contributors are on board so that you can answer the emails when users complain instead of me. ;-) Anybody who

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread DenesL
@Anand: thank you, let's hope it gets the required involvement. @tiago: No objection, be my guest. On Feb 4, 6:13 am, tiago almeida tiago.b.alme...@gmail.com wrote: Nice. I took the liberty of posting DenesL Change log to that site (Formatting is messed up don't know why). Hope that is ok.

Re: [web2py] Re: making changes in web2py

2010-02-04 Thread Jonathan Lundell
On Feb 3, 2010, at 9:38 PM, Thadeus Burgess wrote: -1 for admin username +1 for anti-brute-forcing. If incorrect password typed 3 times, ban the IP permanently until you log into ssh and edit a pickled file. We had a longish thread on this general subject a while back. I could probably find

Re: [web2py] Re: admin app misses symlinked directories

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 7:01 AM, mdipierro wrote: Could be that isdir returns false on symlinked directories? form admin/ controller/default.py if os.path.exists(aviewpath): if os.path.isdir(aviewpath): viewlist = glob(os.path.join(aviewpath,'*.html'))

Re: [web2py] Re: format zero IS_IN_DB

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 7:08 AM, mdipierro wrote: I do not really have an opinion on this. I am only reluctant to changes in behavior. Anyway, I am prepared to make this change (zero=None by default). I would like to know that all major contributors are on board so that you can answer the emails

[web2py] Re: the team to leave web2py for these abides

2010-02-04 Thread mdipierro
Hi Zoom, I am sorry to hear that and thanks for letting us know. We are glad to provide an option but everybody has it own preferences. Anyway, I have some responses to your comments: reasons:: - bad routes.py - changeless pattern for URL had to base routes.py redirect into short URL -

[web2py] Re: format zero IS_IN_DB

2010-02-04 Thread mdipierro
Mind that currently zero='' should be interpreted as zero='(please choose a value)'. the value '' is not in the db and will not pass validation. It s just a place holder. Only if IS_NULL_OR(IS_IN_DB(...zero='')) then the value '' can pass validation. On Feb 4, 9:25 am, Jonathan Lundell

[web2py] Re: admin access from remote machine

2010-02-04 Thread Al
Thank you for all the help... The firewall service was never started so it was not an issue - otherwise portqry would show filtered rather than not listening. One of the mistakes I made was that the cherrypy server was started with 127.0.0.1 instead of 0.0.0.0. Now I can assess the machine and

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Jonathan Lundell
On Feb 3, 2010, at 9:43 AM, Thadeus Burgess wrote: Ok take a look at the following proposed changes Comments. * Could we use 'check_reserved' instead of 'check_reserve'? It sounds more natural to me. * Capitalize SQL in the error message strings * dal.py is already much too long. Could the

[web2py] Re: admin access from remote machine

2010-02-04 Thread Al
I tried to follow the instructions on http://www.web2py.com/AlterEgo/default/show/140, but on the second step I get an error: Unable to load config info from /usr/local/ssl/openssl.cnf when creating the certificate Was the instruction meant for linux/Mac OS X? Any advise? Al On Feb 2, 11:37 

Re: [web2py] Re: format zero IS_IN_DB

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 7:34 AM, mdipierro wrote: Mind that currently zero='' should be interpreted as zero='(please choose a value)'. the value '' is not in the db and will not pass validation. It s just a place holder. Only if IS_NULL_OR(IS_IN_DB(...zero='')) then the value '' can pass

[web2py] Re: Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread Stefan
Thanks for the response, Massimo. However! I can't seem to get the command to execute. I event tried including: response.headers['web2py-component-flash'] = Updated! but my after I make the Ajax call, I get a static table with no flash message. In default.py: def data(): rows=

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Thadeus Burgess
* Could we use 'check_reserved' instead of 'check_reserve'? It sounds more natural to me. Why not. * Capitalize SQL in the error message strings It is capitalized. * dal.py is already much too long. Could the wordlists live somewhere else? No, they belong with their relative adapters.

Re: [web2py] Re: Changing redirect for @auth.requires_login()

2010-02-04 Thread Thadeus Burgess
yes but it wont. the redirect is bug since it creates the strings when you instantiate the Auth class, the urls set in stone. So auth = Auth(globals()) auth.settings.controller = 'myauth' print auth.settings.login_next '/init/default/index' -Thadeus On Wed, Feb 3, 2010 at 9:06 PM, weheh

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 8:19 AM, Thadeus Burgess wrote: * Could we use 'check_reserved' instead of 'check_reserve'? It sounds more natural to me. Why not. * Capitalize SQL in the error message strings It is capitalized. raise SyntaxError, 'invalid name \'%s\': is a \'common\' reserved

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread villas
On Feb 3, 8:58 pm, mdipierro mdipie...@cs.depaul.edu wrote: Denes is right. Hi Massimo, Well, more specifically then: 1. Do you agree that it's a good idea to use the current book to make an online book? If not, let's forget it. 2. Do you have an opinion on what form the online book should

Re: [web2py] Re: format zero IS_IN_DB

2010-02-04 Thread Thadeus Burgess
This is a difficult to decide. For me it is both ways. Since half of my forms require zero=None and the other half require zero='', either way it goes there will be no option that is more convenient for my development. I stand in support of zero=None. Web2py is a data/business logic oriented

Re: [web2py] Re: admin access from remote machine

2010-02-04 Thread Drapko Nitzhonot
I've used successfully on Debian. This is SSL related issue, so check how to create a self-signed certificate for your operating system. On Thu, Feb 4, 2010 at 4:59 PM, Al albertsec...@gmail.com wrote: I tried to follow the instructions on http://www.web2py.com/AlterEgo/default/show/140, but

[web2py] Re: Adding script to the head when extending layout.html

2010-02-04 Thread Dane
Thanks, I'll check it out. On Feb 4, 9:45 am, DenesL denes1...@yahoo.ca wrote: See section 5.4 in the book. It explains page layout including blocks. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread tiago almeida
Why go through all this effort to just replicate what's already available in the PDF, to an html format? What a website can give, and a book can't, is tutorials, short tips, FAQs, discussions etc. Something the wiki could provide if it were open to public editing (or the newly created

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Thadeus Burgess
1. I do not capitalize name because this is actually what you are attempting to call your column, it could be 'select', 'Select', 'SELect'. It just seemed more logical to display the name that you wrote. Though it can be capitalized. I thought you were referring to the name of the database it was

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Wes James
+1 We don't need an online book. We need a location that has what each peaces does in web2py. What can goin db.py, what can go in views, what can go in controllers and an explanation of each piece and some examples of each piece. -wes On Thu, Feb 4, 2010 at 9:57 AM, tiago almeida

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Thadeus Burgess
... tutorials, short tips, FAQs, discussions Search. The number one key feature is the ability to have intelligent search. I don't think we need an online book (bad idea). I think we need something more along the lines of like the django documentation. A 4 to 5 part tutorial that gets you

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread DenesL
First of all you can't just replicate the pdf book, only the code examples. Second, sales revenue is not an objective. The effort of webtopy is to unify scattered docs. An online version of documentation is not a bad idea, it allows timely update so it is always current (ala other doc wikis).

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Thadeus Burgess
We need two sets of documentation. Community documentation, for those who use web2py Developer documentation, for those who contribute to web2py. As far as developer documentation, I would be happy with lots of comments in the code. At the very least 25% of the lines should become meaningful

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread villas
Hi Tiago Why go through all this effort to just replicate what's already available in the PDF, to an html format? So we can constantly make it better, every day rather than every year. What a website can give, and a book can't, is tutorials, short tips, FAQs, discussions etc. Why not link

[web2py] csv export/import oddities

2010-02-04 Thread Miguel
Hi I am running into weird issues with the csv import/export of the db. To start I use the following code to check the dialect of the csv files: import csv def DisplayDialect(file): csvfile = open(file) smple = csvfile.read() dialect = csv.Sniffer().sniff(smple) print

Re: [web2py] csv export/import oddities

2010-02-04 Thread Thadeus Burgess
The issue is when you export the entire web2py database. It exports it into a meta csv file. So its csv, but it has web2py generated metadata about what goes where, try opening your exported csv file in a text editor and you will see what I mean. This is why when you open in excel, it is unable

[web2py] Dumb syntax error! Can't fix it!

2010-02-04 Thread Jason Brower
Prolly obvious, but I can't see it... can you? -- 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

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-04 Thread szimszon
It works but I think it's just a workaround :( On febr. 3, 21:07, Thadeus Burgess thade...@thadeusb.com wrote: Try assigning them unique ID's instead of the string. IS_IN_SET((1, 2, 3, 4), (option a, option b, option c, option d), multiple=True) -Thadeus On Wed, Feb 3, 2010 at 2:03 PM,

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-04 Thread szimszon
If you mean u'Új'.encode('UTF-8') ? It's not working :( On febr. 3, 22:12, mdipierro mdipie...@cs.depaul.edu wrote: Use UTF8 not unicode. On Feb 3, 2:03 pm, szimszon szims...@gmail.com wrote: IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Használt','Selejtezve', 'Cseredarab', 'Bérben',

Re: [web2py] Dumb syntax error! Can't fix it!

2010-02-04 Thread Thadeus Burgess
A traceback might help :) -Thadeus On Thu, Feb 4, 2010 at 12:35 PM, Jason Brower encomp...@gmail.com wrote: Prolly obvious, but I can't see it... can you? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email

Re: [web2py] Dumb syntax error! Can't fix it!

2010-02-04 Thread Thadeus Burgess
And thank you for your email password. -Thadeus On Thu, Feb 4, 2010 at 12:41 PM, Thadeus Burgess thade...@thadeusb.com wrote: A traceback might help :) -Thadeus On Thu, Feb 4, 2010 at 12:35 PM, Jason Brower encomp...@gmail.com wrote: Prolly obvious, but I can't see it... can you?

[web2py] Re: Dumb syntax error! Can't fix it!

2010-02-04 Thread mr.freeze
I think 'transaction' is a reserved word. Try changing it to 'transactions'. On Feb 4, 12:35 pm, Jason Brower encomp...@gmail.com wrote: Prolly obvious, but I can't see it... can you?  db.py 6KViewDownload -- You received this message because you are subscribed to the Google Groups

Re: [web2py] Dumb syntax error! Can't fix it!

2010-02-04 Thread Jason Brower
Yes of course... (: Traceback (most recent call last): File /home/encompass/Programming/Web Pages/2hand/gluon/restricted.py, line 173, in restricted exec ccode in environment File /home/encompass/Programming/Web Pages/2hand/applications/2hand/models/db.py, line 57, in module

Re: [web2py] csv export/import oddities

2010-02-04 Thread Miguel Goncalves
thanks!! On Thu, Feb 4, 2010 at 10:33 AM, Thadeus Burgess thade...@thadeusb.comwrote: The issue is when you export the entire web2py database. It exports it into a meta csv file. So its csv, but it has web2py generated metadata about what goes where, try opening your exported csv file in a

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 9:02 AM, Thadeus Burgess wrote: 1. I do not capitalize name because this is actually what you are attempting to call your column, it could be 'select', 'Select', 'SELect'. It just seemed more logical to display the name that you wrote. Though it can be capitalized. I

Re: [web2py] Re: Dumb syntax error! Can't fix it!

2010-02-04 Thread Jason Brower
Gees thanks, I never thought about that one... Password changed, thanks... BR, Jason Brower On Thu, 2010-02-04 at 10:48 -0800, mr.freeze wrote: I think 'transaction' is a reserved word. Try changing it to 'transactions'. On Feb 4, 12:35 pm, Jason Brower encomp...@gmail.com wrote: Prolly

Re: [web2py] Dumb syntax error! Can't fix it!

2010-02-04 Thread Thadeus Burgess
mr freeze is right on target :) transaction is a reserved keyword. -Thadeus On Thu, Feb 4, 2010 at 12:49 PM, Jason Brower encomp...@gmail.com wrote: Yes of course... (: Traceback (most recent call last): File /home/encompass/Programming/Web Pages/2hand/gluon/restricted.py, line 173, in

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Thadeus Burgess
Ok I get what you mean on changing sql to SQL. Misunderstanding, I thought you ment the keyword that was being thrown off. It will be an immutable array (tuple). The bracket just slipped in there :P Any ideas you could share on modularizing dal.py that could allow this to be in another file?

Re: [web2py] Re: Dumb syntax error! Can't fix it!

2010-02-04 Thread Thadeus Burgess
OperationalErrors only get raised by the cursor object, meaning there was an issue at the database level, not the web2py level. -Thadeus On Thu, Feb 4, 2010 at 1:03 PM, Jason Brower encomp...@gmail.com wrote: Gees thanks, I never thought about that one... Password changed, thanks... BR,

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Jonathan Lundell
On Feb 4, 2010, at 11:08 AM, Thadeus Burgess wrote: Ok I get what you mean on changing sql to SQL. Misunderstanding, I thought you ment the keyword that was being thrown off. It will be an immutable array (tuple). The bracket just slipped in there :P Any ideas you could share on

[web2py] Re: DAL migration problem

2010-02-04 Thread villas
Hi Thadeus I will send to you a file with the Firebird keywords via email. There are differences between versions but I have tried to amalgamate all. I am never quite sure about the non-reserved keywords, so I include those too. Note that my file will only include the Firebird words. Let me

[web2py] Re: PluginManager app

2010-02-04 Thread selecta
yes unix/linux/osx(most likely) only, but if web2py would support the windows link files i could improve the app :) for now i only tested it on ubuntu 9.10, test on other systems would be nice On Feb 4, 3:59 pm, mdipierro mdipie...@cs.depaul.edu wrote: This is a very good idea, although by

[web2py] non minified version of calendar.js

2010-02-04 Thread Anthon
I am looking for a non minified version of calendar.js. The old version from Dynarch.com doesn't seem to have all of the time related extensions and I could not get it to work. I am get a stack overflow in IE7, when using calendars in a pane loaded using web2py_ajax_page() from menu entries. and

[web2py] call response.flash = smoething from view

2010-02-04 Thread Tomas Pelka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, it possible run response.flash = smoething from view? You know I need to display response.flash = Analyzing ... when I click on submit button and then response.flash = Successful done when everything is done. Thanks for advice. - -- Tom

[web2py] Re: Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread mdipierro
Try something simpler: response.headers['web2py-component-command']=alert('hello world'); and make sure you have the web2py_ajx.html from the latest welcome app. On Feb 4, 10:13 am, Stefan stefan.louis.no...@gmail.com wrote: Thanks for the response, Massimo. However! I can't seem to get the

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-04 Thread DenesL
Hi szimszon, you have to encode the options in UTF-8 and u'Új'.encode('UTF-8') does not do what you think it does. You need to lookup each character that is not in the x00-xFF range in a table: Ú is xC39A in UTF-8, so 'Új' encoded is '\xC3\x9Aj' The table I am using is at www.utf8-chartable.de

[web2py] Problem with PostConnectionTask: Cannot operate on a closed database.

2010-02-04 Thread JonasR
Hi I lift my hat off to mdipierro and all web2py contributors. I find it amazing. Here is a problem I have: I'm trying to spawn a post action task that needs to access the database. When my PostConnectionTask tries to access db I get an error: ERROR:root:Callback execution failed for

Re: [web2py] Re: Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread Jonathan Lundell
Speaking of plugin_datatable, the example at http://www.web2py.com/plugins/default/datatable looks v. messed up via Safari and Firefox (I haven't tried anything else). Is that expected? I get something similar when I use it in my own app. FWIW, the CSS doesn't validate. (Among other things, //

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread mdipierro
Let me clarify. I am in the business of writing the book. That is my job. I am in academia. That is how I justify my time on web2py. You are in the business of writing online docs. These are separate projects. On Feb 4, 10:39 am, villas villa...@gmail.com wrote: On Feb 3, 8:58 pm, mdipierro

[web2py] Blank page with 'Done' error

2010-02-04 Thread Dmitri Zagidulin
Hi all, I'm having trouble tracking down a particularly mysterious bug, and I was wondering if any of you have encountered something like this before. The situation is this. I have a fairly simple controller, about 125 lines of code, that displays the detail view of a record (it's linked to from

[web2py] Re: Problem with PostConnectionTask: Cannot operate on a closed database.

2010-02-04 Thread mdipierro
This could be a problem with python2.5 web2py/web2py.py -a pass try: cd web2py python2.5 web2py.py -a pass On Feb 4, 3:05 pm, JonasR jonas.rundb...@gmail.com wrote: Hi I lift my hat off to mdipierro and all web2py contributors. I find it amazing. Here is a problem I have: I'm

Re: [web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Thadeus Burgess
The best doc help right now would probably be documenting web2py in a way which Sphinx could be used to generate the online documentation. Isnt this how python does it? I have started by documenting anything new I might contribute. -Thadeus On Thu, Feb 4, 2010 at 4:12 PM, mdipierro

[web2py] jsondumps update_record and delete_record

2010-02-04 Thread Thadeus Burgess
Is update_record and delete_record supposed to serialize with json ? -Thadeus -- 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] Re: jsondumps update_record and delete_record

2010-02-04 Thread mdipierro
? On Feb 4, 4:26 pm, Thadeus Burgess thade...@thadeusb.com wrote: Is update_record and delete_record supposed to serialize with json ? -Thadeus -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py] Re: Blank page with 'Done' error

2010-02-04 Thread mdipierro
Could it be related to this? http://stackoverflow.com/questions/150/download-link-fails-in-ie Can you try add this line to the controller? del response.headers['Cache-Control'] Is this going over HTTPS? On Feb 4, 4:17 pm, Dmitri Zagidulin dzagidu...@gmail.com wrote: Hi all, I'm

[web2py] Re: Problem with PostConnectionTask: Cannot operate on a closed database.

2010-02-04 Thread JonasR
Nope. Still same... On 4 Feb, 23:17, mdipierro mdipie...@cs.depaul.edu wrote: This could be a problem with python2.5 web2py/web2py.py -a pass   try: cd web2py python2.5 web2py.py -a pass   On Feb 4, 3:05 pm, JonasR jonas.rundb...@gmail.com wrote: Hi I lift my hat off to

[web2py] Re: Blank page with 'Done' error

2010-02-04 Thread Dmitri Zagidulin
I will try that, thanks! I don't think it's going over https, though I will double-check. On Feb 4, 5:48 pm, mdipierro mdipie...@cs.depaul.edu wrote: Could it be related to this? http://stackoverflow.com/questions/150/download-link-fails-in-ie Can you try add this line to the

[web2py] Re: Problem with PostConnectionTask: Cannot operate on a closed database.

2010-02-04 Thread mdipierro
Reading your post again. This is never going to work. This is not supposed to work. postconnection tasks are not documented in the book because they are an internal variable and they WILL go away. as they are implemented they are very buggy: 1) they are executed after the database is closed; 2)

Re: [web2py] Re: jsondumps update_record and delete_record

2010-02-04 Thread Thadeus Burgess
if you... return dict(results=db(db.table.id 0).select()) and it is json web2py returns something like 1: {id: 1, name: jessie, update_record: function at ..., delete_record: function at ..., count: 5} -Thadeus On Thu, Feb 4, 2010 at 4:43 PM, mdipierro mdipie...@cs.depaul.edu wrote: ?

[web2py] powered by drupal?

2010-02-04 Thread mdipierro
http://webtopy.org/community/tips-examples -- 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

[web2py] Re: jsondumps update_record and delete_record

2010-02-04 Thread mdipierro
Almost. def index(): return dict(results=db(db.table.id 0).select().as_dict()) you can call it with http://.index.json, .xml and it will convert. It can convert a dict of list of dict but not a dict of Rows. On Feb 4, 5:05 pm, Thadeus Burgess thade...@thadeusb.com wrote: if you...

Re: [web2py] Re: jsondumps update_record and delete_record

2010-02-04 Thread Thadeus Burgess
well it converts the dict of Rows fine and dandy for me :P i was just curious, i'm parsing it into my own dict object formatted for my javascripts -Thadeus On Thu, Feb 4, 2010 at 5:14 PM, mdipierro mdipie...@cs.depaul.edu wrote: Almost. def index():    return dict(results=db(db.table.id

[web2py] Re: powered by drupal?

2010-02-04 Thread mr.freeze
Confusing. On Feb 4, 5:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: http://webtopy.org/community/tips-examples -- 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

[web2py] Re: powered by drupal?

2010-02-04 Thread Anand Vaidya
Yes, Drupal CMS. http://www.drupal.org/ I don't think there is anything in Python as good and easy to use. esp.for end users who are familiar with WYSISYG HTML editing but may be not familiar with RST, Markdown etc. I tried MoinMoin with the RST/Markdown plugin, seems very buggy still (or maybe

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread Anand Vaidya
Request to Massimo: Can you please deny updates to the wiki while we complete transferring the pages over. Please leave the content visible though. You could turn off logins to the wiki, probably If you need ownership of the domain and/or the CMS site , I am open to sharing or transferring,

Re: [web2py] Re: DAL migration problem

2010-02-04 Thread Jonathan Lundell
On Feb 3, 2010, at 9:45 AM, Thadeus Burgess wrote: As an added note, I could use some help in creating the database specific keywords lists. http://drupal.org/node/141051 (I might have sent this before?) -- You received this message because you are subscribed to the Google Groups

[web2py] Re: The state of the wiki and documentation in general

2010-02-04 Thread mdipierro
I do not manage the wiki. Alvaro does. I just link it. On Feb 4, 5:59 pm, Anand Vaidya anandvaidya...@gmail.com wrote: Request to Massimo: Can you please deny updates to the wiki while we complete transferring the pages over. Please leave the content visible though. You could turn off logins

[web2py] Re: powered by drupal?

2010-02-04 Thread mdipierro
Do you want me to endorse a web2py wiki make with Drupal? Massimo On Feb 4, 5:56 pm, Anand Vaidya anandvaidya...@gmail.com wrote: Yes, Drupal CMS.http://www.drupal.org/ I don't think there is anything in Python as good and easy to use. esp.for end users who are familiar with WYSISYG HTML

[web2py] Re: the team to leave web2py for these abides

2010-02-04 Thread mdipierro
Thanks for you comments and the patches. Will look into them asap. Even if you do not use it, your comments are constructive and very much appreciated. Massimo On Feb 4, 8:12 pm, Zoom.Quiet zoom.qu...@gmail.com wrote: On Thu, Feb 4, 2010 at 23:27, mdipierro mdipie...@cs.depaul.edu wrote: Hi

[web2py] Re: Updating contents of plugin_datatable via Ajax?

2010-02-04 Thread Stefan
Hi Jonathan, I noticed the same thing. To fix it, you need to modify the CSS file: PluginsdatatableStatic filesplugin_datatable*.css Update it with the following configuration: .dataTables_wrapper { // position: relative; // min-height: 100px; // _height: 302px; // clear: both; float:

  1   2   >