[web2py] Mulitple left join: unsupported query?

2012-03-13 Thread Johann Spies
I have tried to translate this query: select A.id, A.surname, A.firstname, A.name, A.birthdate, A.race, A.gender, A.address, C.title as Journal, C.subject from akb_authors A left join akb_authors_article_link B on (B.author = A.uuid) left join akb_articles D on (D.uuid = B.article)

Re: [web2py] web2pyslice auth error

2012-03-13 Thread szimszon
It's OK now. 2012. március 12., hétfő 23:35:15 UTC+1 időpontban rochacbruno a következőt írta: OK, I found the problem and I will fix it soon. Thanks for reporting. On Mon, Mar 12, 2012 at 4:57 PM, szimszon szims...@gmail.com wrote: Hi! I was on the page and I tried to update a slice

[web2py] Re: Differentiating between URLs in web2py controllers

2012-03-13 Thread Saurabh Kumar
Yes, I can differentiate b/w /user/login and user/login?code= But Facebook in some cases redirects to user/login?code= which I am able to handle successfully. In other cases it redirects to user/login#_=_ in which case my code fails. Can you think of a solution to this? Thanks

[web2py] Re: Differentiating between URLs in web2py controllers

2012-03-13 Thread Saurabh Kumar
Yes, That is a solution but not the most elegant one :( Saurabh On Monday, March 12, 2012 8:20:12 PM UTC+5:30, Anthony wrote: Actually we are implementing FB login for our app. For this we want to detect whether /user/login controller was a redirect from facebook (after authentication)

[web2py] Re: web2py recipe book

2012-03-13 Thread Hassan Alnatour
i just ordered the ebook , but i dont know how to download it , i payed and everything but how can i get the pdf ??

Re: [web2py] web2pyslice auth error

2012-03-13 Thread szimszon
That's weired with my laptop I got redirected to facebook but not with my desktop pc :-o I deleted _all_ cookies from laptop but no effect :( 2012. március 13., kedd 9:26:43 UTC+1 időpontban szimszon a következőt írta: It's OK now. 2012. március 12., hétfő 23:35:15 UTC+1 időpontban

[web2py] Re: Multiple Login methods

2012-03-13 Thread Sanjeet Kumar
Hi Hassan please refer this link i think it will be useful for you :- http://www.web2py.com/books/default/chapter/29/9#Integration-with-OpenID,-Facebook,-etc. On Monday, March 12, 2012 8:30:36 PM UTC+5:30, Hassan Alnatour wrote: Dear ALL, I want to use Facebook and linked in and open iD and

[web2py] Re: Auth.user is still NULL after a successful login

2012-03-13 Thread Sushant Taneja
Hi, I studied the source code of auth.login() and found that all the validations are applied within the login method itself. The error message is automatically written to an element of class flash via setting session.flash to auth.messages.invalid_login. I modified my view code to include the

[web2py] raspberry pi

2012-03-13 Thread António Ramos
it would be nice to be able to install web2py in raspberry pi http://www.raspberrypi.org/

Re: [web2py] raspberry pi

2012-03-13 Thread Bruno Rocha
I see no problem to install Python and web2py on this, You just need to boot from an SD card with python and web2py on it. 2012/3/13 António Ramos ramstei...@gmail.com it would be nice to be able to install web2py in raspberry pi http://www.raspberrypi.org/ -- Bruno Rocha

Re: [web2py] Re: Upgrading web2py in Linux

2012-03-13 Thread Wikus van de Merwe
I assume that you have only one application and you keep it separate from web2py: $HOME/workspace/my-project/src -- your application folder $HOME/workspace/my-project/web2py -- web2py folder To upgrade web2py to a desired version you can run then the following script. It pulls the changes

Re: [web2py] web2py talk at PyCon US 2012 [video]

2012-03-13 Thread Marco Mansilla
Thanks a lot! http://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had

Re: [web2py] Re: Upgrading web2py in Linux

2012-03-13 Thread José Luis Redrejo Rodríguez
2012/3/13 Wikus van de Merwe dupakrop...@googlemail.com: I assume that you have only one application and you keep it separate from web2py: $HOME/workspace/my-project/src  -- your application folder $HOME/workspace/my-project/web2py  -- web2py folder To upgrade web2py to a desired version you

[web2py] Re: subdomain routes for websites

2012-03-13 Thread Wikus van de Merwe
What is the purpose of the demo version there? Wouldn't it be easier to have a separate demo controller? You could then simply define the default for the domains as: routers = dict( BASE = dict( domains = {domain.com:app, demo.domain.com:app/demo/index}, default_application =

[web2py] Re: web2py recipe book

2012-03-13 Thread Larry Wapnitsky
Amazon just cancelled my order. They apparently don't have any in stock on the day it was supposed to ship. Guess im going directly to packt On Monday, March 12, 2012 3:18:43 AM UTC-4, Massimo Di Pierro wrote: The web2py recipes book is finally out:

[web2py] apologies

2012-03-13 Thread Massimo DiPierro
About the PyCon talk. I apologize to all of you who should have been mentioned and were not. I took the list of contributors from web2py.com/examples/default/who and generated a word map from it. If you are not listed on that page and you feel you should be, please email me. Any omission is

Re: [web2py] apologies

2012-03-13 Thread Ovidio Marinho
Relax, Itś workś. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi 83 9334 0266 - Claro Brasil

[web2py] Re: web2py site and disabling browser right clicks

2012-03-13 Thread Rahul
Well I have these two files attached with my pyjamas application bootstrap.js and bootstrap_progress.js. These are from the same web2py - pyjamas application example that is available online. I happened to try it. I find that although they have code in js, I don't find the database parameters.

[web2py] Installing PIL for creating thumbnails in windows7 environment

2012-03-13 Thread praveen krishna
Hi, I unable to install PIL in win for web2py .I came to know some commands like ( sudo apt-get install python-imaging,sudo easy_install PIL and sudo pip install PIL) but I think these are only applicable for linux environment if there is any possibility to install PIL in win it would

[web2py] SQLForm

2012-03-13 Thread Brian F
I have a table with a user id, an item id, and a permission level. I am trying to generate a form using SQLForm to change the permission level. The problem is I still want the user id and the item id to show up, but I don't want them to be editable. I would have thought setting writeable to false

Re: [web2py] Installing PIL for creating thumbnails in windows7 environment

2012-03-13 Thread Massimiliano
Download the installer from PIL site: http://www.pythonware.com/products/pil/ On Tue, Mar 13, 2012 at 12:25 PM, praveen krishna praveenchitne...@gmail.com wrote: Hi, I unable to install PIL in win for web2py .I came to know some commands like ( sudo apt-get install

[web2py] Re: Support for PyPy

2012-03-13 Thread Francisco Costa
Ok, a few more tests with pypy (jit enable) in the welcome app with the Web2py 1.99.3 (2011-12-09 16:18:03) stable - *not the latest * *PyPy* ab -n 50 -c 10 http://127.0.0.1:8000/welcome/ This is ApacheBench, Version 2.3 $Revision: 655654 $ Copyright 1996 Adam Twiss, Zeus Technology Ltd,

Re: [web2py] Upgrading web2py in Linux

2012-03-13 Thread Richard Vézina
you have to set a parameters.py or parameters_443.py, you will find it in your backup in web2py folder. Richard On Mon, Mar 12, 2012 at 5:18 PM, horridohobbyist horrido.hobb...@gmail.comwrote: I followed your instructions, but when I try to access admin/default/index, I get the following

Re: [web2py] Upgrading web2py in Linux

2012-03-13 Thread Richard Vézina
You just have to copy the file in your new application and it should work. You can also create a new one, but I should have look to detail how to do it. Ask if you need it. Richard On Tue, Mar 13, 2012 at 9:40 AM, Richard Vézina ml.richard.vez...@gmail.com wrote: you have to set a

[web2py] tropo Instant voice and sms with python code

2012-03-13 Thread António Ramos
check this out www.tropo.com nice!

[web2py] Re: SQLForm

2012-03-13 Thread Anthony
Show your code. Note, it is writable, not writeable. Anthony On Tuesday, March 13, 2012 9:15:34 AM UTC-4, Brian F wrote: I have a table with a user id, an item id, and a permission level. I am trying to generate a form using SQLForm to change the permission level. The problem is I still

[web2py] Re: web2py site and disabling browser right clicks

2012-03-13 Thread Anthony
Well I have these two files attached with my pyjamas application bootstrap.js and bootstrap_progress.js. These are from the same web2py - pyjamas application example that is available online. I happened to try it. I find that although they have code in js, I don't find the database

Re: [web2py] web2py recipe book

2012-03-13 Thread Adi
just ordered from packt :) On Monday, March 12, 2012 6:55:03 PM UTC-4, rochacbruno wrote: On Mon, Mar 12, 2012 at 12:10 PM, Bruce Wade bruce.w...@gmail.com wrote: The other book would be version 4 of the official manual. Bought it because I didn't think it would be free online until much

Re: [web2py] Mulitple left join: unsupported query?

2012-03-13 Thread Richard Vézina
I think you need to use smartgrid for this kind of purpose, since smartgrid si suppose to be the samething of grid but allow to manage more than one table fk... Richard On Tue, Mar 13, 2012 at 3:39 AM, Johann Spies johann.sp...@gmail.comwrote: I have tried to translate this query: select

Re: [web2py] Installing PIL for creating thumbnails in windows7 environment

2012-03-13 Thread praveen krishna
I treid to install from http://www.pythonware.com/products/pil/ but it is asking to register python 2.7 I tried to register using the script given in link http://effbot.org/zone/python-register.htm but it is giving an error *** Unable to register! *** You probably have another Python

Re: [web2py] Re: SQLForm

2012-03-13 Thread Mark Mulrooney
Ah! That would do it. Sigh its been a long day. Thanks! On Mar 13, 2012, at 11:31 , Anthony wrote: Show your code. Note, it is writable, not writeable. Anthony On Tuesday, March 13, 2012 9:15:34 AM UTC-4, Brian F wrote: I have a table with a user id, an item id, and a permission level. I

Re: [web2py] Re: SQLForm

2012-03-13 Thread Anthony
I always think it should be writeable too (both are acceptable spellings of the word in English, though I think writable is actually more common). :-) On Tuesday, March 13, 2012 1:28:35 PM UTC-4, Brian F wrote: Ah! That would do it. Sigh its been a long day. Thanks! On Mar 13, 2012, at

Re: [web2py] Time picker is not showing up on Appadmin page.

2012-03-13 Thread Richard Vézina
I think you need to setup validator to have date time picker to show up. Richard On Mon, Mar 12, 2012 at 9:44 PM, Kenny nis...@gmail.com wrote: Date and datetime pickers are working fine except time picker Field('start_time', 'time',notnull=True), is what I put. It doesn't give me any js

Re: [web2py] Installing PIL for creating thumbnails in windows7 environment

2012-03-13 Thread Philip Kilner
Hi Praveen, On Tue 13 Mar 2012 17:25:54 GMT, praveen krishna wrote: I treid to install from http://www.pythonware.com/products/pil/ http://www.pythonware.com/products/pil/ but it is asking to register python 2.7 I tried to register using the script given in link

[web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Sushant Taneja
Hi, In my view index.html, I have two forms: auth.login() and custom forgot password form. Initially the login form is displayed with a Forgot Password link. When we click on the link the form flips(rotates using CSS) and the forgot password form is now displayed. The forgot password form is

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Mariano Reingart
WARNING with import and threading.local(): they were hot topics on the pycon webdev summit, and other frameworks are facing problems with them. They could be memory hungry and contention problems could arise, so they could have scalabillity issues too. I think the web2py way is not so bad, but

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Bruno Rocha
Mariano, if you are saying that importing anything and using current object inside the modules that we are importing is a problem, so I guess we really have a big problem! Many small apps can rely on some basic model execution system, but even if cached it would be still strange to have all of

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Bruno Rocha
can you share your CSS/ Javascript code regarding the *flipLink and **flipToLogin objects? * On Tue, Mar 13, 2012 at 4:04 PM, Sushant Taneja sushant.tanej...@gmail.comwrote: Hi, In my view index.html, I have two forms: auth.login() and custom forgot password form. Initially the login form

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Sushant Taneja
Hi, Below is the CSS Code: #formContainer{ width:288px; min-height:100px; margin:0 auto; position:relative; z-index:1; -moz-perspective: 800px; -webkit-perspective: 800px; perspective: 800px; } #formContainer table{ width:100%; height:100%;

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Mariano Reingart
Bruno: Sorry but I don't agree. We cannot solve the python threading problems (mostly caused by the GIL assumptions I think). It is simply out of the scope of the web2py project. So if you have a really big app and import everything, it will surely have an important memory footprint. It goes

[web2py] Reporting documentation/book typos?

2012-03-13 Thread rdodev
What's the most efficient avenue to report documentation/book typos? Thx.

[web2py] Re: Time picker is not showing up on Appadmin page.

2012-03-13 Thread Anthony
This is the time entry widget included with web2py (slightly modified): http://keith-wood.name/timeEntry.html. Note, when you click in the input field, there is no calendar popup. Instead, as soon as you start typing or hit an arrow key, you get a formatted time display, which you can then

[web2py] Re: logical/relationship url mapping

2012-03-13 Thread rdodev
Thanks Anthony, Seems that experimental RESTful feature is exactly what I was looking for. The controller action approach got really ugly really fast, thus why I was looking for a more elegant approach :) On Monday, March 12, 2012 10:39:27 AM UTC-4, Anthony wrote: Check out the RESTful web

Re: [web2py] Time picker is not showing up on Appadmin page.

2012-03-13 Thread Anthony
On Tuesday, March 13, 2012 2:06:30 PM UTC-4, Richard wrote: I think you need to setup validator to have date time picker to show up. No, you don't need to set up a validator -- should work as long as the field type is time (that results in the input element getting class=time, which is the

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Bruno Rocha
So let me understand better, Mariano, do you think that the use of modules to table-model definitions and using no-models scripts is a bad idea? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Bruno Rocha
On Tue, Mar 13, 2012 at 4:35 PM, Sushant Taneja sushant.tanej...@gmail.comwrote: $(function(){ $('.flipLink').click(function(e){ $('#formContainer').toggleClass('flipped'); $('.flash').hide('slow'); })}); The problem is that this JS is loaded before the ajax component, you have to

[web2py] Re: Reporting documentation/book typos?

2012-03-13 Thread Anthony
Right here is good. Unfortunately, the new online book is not easily editable at the moment (except by Massimo), so corrections may take a while (once it's editable, someone will usually make the fix immediately). Anthony On Tuesday, March 13, 2012 3:54:56 PM UTC-4, rdodev wrote: What's the

Re: [web2py] Re: Reporting documentation/book typos?

2012-03-13 Thread Ruben Orduz
Thanks again, Anthony, I was just wondering if there was a system so that not to pollute the list with duplicate typos that have already been reported. On Tue, Mar 13, 2012 at 4:13 PM, Anthony abasta...@gmail.com wrote: Right here is good. Unfortunately, the new online book is not easily

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Sushant Taneja
Sorry, but I didn't get you. As per my understanding the component is loaded with option ajax=False, thus it will load with rest of the page. The script tag for inclusion of the JS file is just above the closing body tag (/body) and after the LOAD call. Also the flip works until the forgot

[web2py] Re: web2py talk at PyCon US 2012 [video]

2012-03-13 Thread lyn2py
Well there, Massimo is pretty good looking! ;) On Tuesday, March 13, 2012 1:22:39 PM UTC+8, rochacbruno wrote: http://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Sushant Taneja
Does this mean that I have to reload the JS again with the form as it is reloaded after submit ? On Wednesday, March 14, 2012 1:45:57 AM UTC+5:30, Sushant Taneja wrote: Sorry, but I didn't get you. As per my understanding the component is loaded with option ajax=False, thus it will load

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Mariano Reingart
I think that using modules to hold models is good only in some cases, so it is not something we should standarize/enforce/promote in general. We should search better ways to optimize web2py. IMHO Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Anthony
Although the component (i.e., LOAD) is not initially an Ajax component, because you have ajax_trap=True, it becomes an Ajax component upon form submission (i.e., the form is submitted via Ajax, and the post-submission response is loaded into the component target via Ajax). Your click event

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Anthony
Does this mean that I have to reload the JS again with the form as it is reloaded after submit ? No -- see other replies. Just change how you attach the click event handler. Anthony

[web2py] Re: web2py talk at PyCon US 2012 [video]

2012-03-13 Thread Anthony
Excellent presentation. Great job highlighting web2py's many strengths (in a fairly short time). Congratulations, Massimo (and everyone)! Anthony On Tuesday, March 13, 2012 1:22:39 AM UTC-4, rochacbruno wrote: http://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had -- Bruno

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Sushant Taneja
Thanks to both Bruno and Anthony ! It is working now :) On Wednesday, March 14, 2012 2:05:42 AM UTC+5:30, Anthony wrote: Although the component (i.e., LOAD) is not initially an Ajax component, because you have ajax_trap=True, it becomes an Ajax component upon form submission (i.e., the form

Re: [web2py] Re: web2py talk at PyCon US 2012 [video]

2012-03-13 Thread Bruno Rocha
Massimo, I want the tool you used to drive the presentation.. what is that magic? On Tue, Mar 13, 2012 at 5:38 PM, Anthony abasta...@gmail.com wrote: Excellent presentation. Great job highlighting web2py's many strengths (in a fairly short time). Congratulations, Massimo (and everyone)!

[web2py] add a plugin to a created site?

2012-03-13 Thread Derek
Is there any way to add a plugin to a created site? I'm looking at the plugin_wiki and if I create a new site, I get to choose from several, (well, if I can see them). I have an app that I made, now I want to add the comments plugin to it. But plugins are not available anymore, only during the

[web2py] Modules on Google App Engine

2012-03-13 Thread Udi Milo
Hi all, I've added a new api.py file to the /modules directory. I've also added a call from my default.py from api import Api working locally, everything is fine. when deploying to GAE, I get type 'exceptions.ImportError' No module named api can anyone suggest an answer to my problem?

Re: [web2py] Modules on Google App Engine

2012-03-13 Thread Bruno Rocha
Maybe you have a syntax error or an error with imports inside the api module, the web2py custom importer does not shows complete traceback for that cases. On Tue, Mar 13, 2012 at 10:48 AM, Udi Milo udim...@gmail.com wrote: Hi all, I've added a new api.py file to the /modules directory. I've

[web2py] Re: who uses the online designer?

2012-03-13 Thread Derek
It's horribly out of date. SQLField isn't used anymore, and it won't make foreign keys when you are designing a web2py database. It's good for single table setups, but the code it produces is pretty useless. Sometimes the data types it tries to use are just wrong. I can't get saving to work no

[web2py] Re: add a plugin to a created site?

2012-03-13 Thread Anthony
There are plugins here (http://www.web2py.com/plugins) and here (http://dev.s-cubism.com/web2py_plugins), as well as a few others scattered about. To add a plugin to an existing application, just download the plugin .w2p file and either unzip it over your application's folder or use the plugin

[web2py] pycon talk

2012-03-13 Thread VP
Massimo: can you make this url shortening app available? http://www.youtube.com/watch?v=M5IPlMe83yI thanks.

[web2py] Re: web2py recipe book

2012-03-13 Thread greenpoise
Is there a site with the table of contents??? would be nice to see the TOC.. thanks On Monday, 12 March 2012 00:18:43 UTC-7, Massimo Di Pierro wrote: The web2py recipes book is finally out:

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Derek
Regarding the GIL - IronPython has no GIL, and as of 2.7.1 has the CSV module, so the only thing that wouldn't work is the built-in webserver, and database drivers. You'd have to write the database access yourself. On Tuesday, March 13, 2012 12:46:31 PM UTC-7, Mariano Reingart wrote: Bruno:

[web2py] error in def show():

2012-03-13 Thread praveen krishna
Hii, I am getting an error at line 9: in creating an image blog in ubuntu(linux) 11.10 ,I have installed the web2py through terminal 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. def show(): image = db(db.image.id==request.args(0)).select().first() db.comment.image_id.default = image.id

[web2py] web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Massimo Di Pierro
http://www.reddit.com/r/Python/comments/qv7zh/some_results_form_the_pycon_sprint/ Please help us test it

Re: [web2py] error in def show():

2012-03-13 Thread Bruno Rocha
where is the traceback erro message? On Tue, Mar 13, 2012 at 7:18 PM, praveen krishna praveenchitne...@gmail.com wrote: Hii, I am getting an error at line 9: in creating an image blog in ubuntu(linux) 11.10 ,I have installed the web2py through terminal 4. 5. 6. 7. 8. 9. 10.

Re: [web2py] web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Alvaro Lizama Molina
Can i add this in pipy and add a setup.py? This is very usefull for me :) and others great job! This week i try to make my tiny version of web2py with werkzeug. 2012/3/13 Massimo Di Pierro massimo.dipie...@gmail.com:

Re: [web2py] error in def show():

2012-03-13 Thread praveen krishna
Traceback (most recent call last): File /usr/lib/pymodules/python2.7/gluon/restricted.py, line 192, in restricted exec ccode in environment File /home/praveen/web2py/applications/my_images/controllers/default.py http://127.0.0.1:8000/admin/default/edit/my_images/controllers/default.py,

[web2py] Re: Picture Gallery

2012-03-13 Thread Massimo Di Pierro
there is also an example (a bit dated) in web2py.com/appliances On Monday, 12 March 2012 04:36:07 UTC-5, Praveen Bhat wrote: Hello, Can someone give me a simple example for Photo Gallery with Sliding content? Thanks in advance!!! Regards Praveen

[web2py] Re: Web2py cookbook

2012-03-13 Thread Massimo Di Pierro
I was told it is available but I do not know more than you. We finished it one week ago. On Monday, 12 March 2012 05:27:44 UTC-5, bussiere adrien wrote: Does anyone know when the web2py cookbook will be available please ? Regards Bussiere Les nouvelles technologies offrent pleins de

[web2py] Installing web2py source libraries, etc.

2012-03-13 Thread David Wong
Hi, I'm trying to install the web2py source code so I can import the modules from any Python program. But I'm having trouble. The setup.py for web2py itself seems to require imports from web2py modules. I'm not sure how to install the libraries so they appear on my Python path. Thanks for any

[web2py] Re: web2py talk at PyCon US 2012 [video]

2012-03-13 Thread Massimo Di Pierro
On Tuesday, 13 March 2012 00:22:39 UTC-5, rochacbruno wrote: http://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: pycon talk

2012-03-13 Thread Massimo Di Pierro
https://github.com/mdipierro/web2py-appliances/tree/master/UrlShortening On Tuesday, 13 March 2012 17:04:09 UTC-5, VP wrote: Massimo: can you make this url shortening app available? http://www.youtube.com/watch?v=M5IPlMe83yI thanks.

[web2py] Re: Installing web2py source libraries, etc.

2012-03-13 Thread Alan Etkin
gluon is the main library of web2py (and what you are more likely to import from another python app). for the script to have access to the gluon library/package you should start the script from the web2py source folder In a linux console: (with superuser rights) cd web2py folder ./setup.py On

Re: [web2py] Re: Installing web2py source libraries, etc.

2012-03-13 Thread Alvaro Lizama Molina
web2py should distribute like a python module too, via pypi this repo is old. 2012/3/13 Alan Etkin spame...@gmail.com: gluon is the main library of web2py (and what you are more likely to import from another python app). for the script to have access to the gluon library/package you should

[web2py] Re: pycon talk

2012-03-13 Thread VP
Thank you. Bookmark = db.define_table( 'bookmark', Field('link','reference link',writable=False), Field('category',requires=IS_IN_SET(['work','personal'])), Field('tags','list:string'), auth.signature) Can you explain what auth.signature? This feature doesn't seem

[web2py] install web2py in dreamhost

2012-03-13 Thread Alex s
Hi, Have anyone installed web2py in dreamhost or have a tutorial similar to do it? Thanks Alex

[web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Anthony
Nice. On Github, change the description from: Port of web2py to other Bottle, Flask, Pyramid, Tornado and other frameworks to: Port of web2py to Bottle, Flask, Pyramid, Tornado and other frameworks On Tuesday, March 13, 2012 6:27:34 PM UTC-4, Massimo Di Pierro wrote:

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
Bookmark = db.define_table( 'bookmark', Field('link','reference link',writable=False), Field('category',requires=IS_IN_SET(['work','personal'])), Field('tags','list:string'), auth.signature) Can you explain what auth.signature? This feature doesn't seem

[web2py] Re: error in def show():

2012-03-13 Thread Massimo Di Pierro
You seem to be running an old web2py. Perhaps you have a conflicting version of the gluon libraries? On Tuesday, 13 March 2012 17:18:35 UTC-5, praveen krishna wrote: Hii, I am getting an error at line 9: in creating an image blog in ubuntu(linux) 11.10 ,I have installed the web2py

[web2py] Re: pycon talk

2012-03-13 Thread VP
Also, I saw in the video the field tag of type list:string is presented nicely in view in the following way: after a new tag is entered, a new empty textbox is added so a new tag can be added. How is this done? (I don't think this is the default behavior).

[web2py] Re: web2py recipe book

2012-03-13 Thread weheh
Hope this stimulates much interest in the cookbook and that I'm not stepping on any copyright issues. This is the pre-production TOC. web2py Cookbook Table of Contents (draft copy) Chapter 1: Deploying web2py - Installing web2py on Windows (from source code) - Installing web2py on Ubuntu -

[web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Massimo Di Pierro
I think you are looking at the old repo. I deleted it. The new one is this one: https://github.com/mdipierro/gluino On Tuesday, 13 March 2012 19:40:20 UTC-5, Anthony wrote: Nice. On Github, change the description from: Port of web2py to other Bottle, Flask, Pyramid, Tornado and other

[web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Anthony
No, that's the one I'm looking at -- the one-line description says: Port of web2py to other Bottle, Flask, Pyramid, Tornado and other frameworks Delete the other before Bottle. Anthony On Tuesday, March 13, 2012 9:18:11 PM UTC-4, Massimo Di Pierro wrote: I think you are looking at the old

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
On Tuesday, March 13, 2012 9:17:06 PM UTC-4, VP wrote: Also, I saw in the video the field tag of type list:string is presented nicely in view in the following way: after a new tag is entered, a new empty textbox is added so a new tag can be added. How is this done? (I don't think this

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Bruce Wade
Isn't dreamhost and hostmonster the same? If they are I have my site running on hostmonster and can show you. On Tue, Mar 13, 2012 at 5:27 PM, Alex s alexsalga...@gmail.com wrote: Hi, Have anyone installed web2py in dreamhost or have a tutorial similar to do it? Thanks Alex -- --

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Bruce Wade
.htaccess: Options +SymLinksIfOwnerMatch AddHandler fcgid-script .fcgi # Do not change this line. RewriteEngine on RewriteCond %{HTTP_HOST} ^www.website.com$ # Change 'subfolder' to be the folder you will use for your main domain. RewriteCond %{REQUEST_URI} !^/web2py.fcgi/ # Don't change

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Alex s
Hi Bruce, I don´t know if its the same, but could you show me about your pass-by-pass installation process ? Thanks Alex On Tue, Mar 13, 2012 at 10:36 PM, Bruce Wade bruce.w...@gmail.com wrote: Isn't dreamhost and hostmonster the same? If they are I have my site running on hostmonster and can

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Bruce Wade
Copy the .htaccess from my last message, change website.com to whatever your website is. Create web2py.fcgi copy the contents in that file from the last email. Make sure to make that file executable. chmod +x web2py.fcgi On Tue, Mar 13, 2012 at 6:42 PM, Alex s alexsalga...@gmail.com wrote: Hi

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Bruce Wade
http://www.web2pyslices.com/slice/show/1401/web2py-on-shared-hosting-hostmonster-with-fastcgi On Tue, Mar 13, 2012 at 6:44 PM, Bruce Wade bruce.w...@gmail.com wrote: Copy the .htaccess from my last message, change website.com to whatever your website is. Create web2py.fcgi copy the contents

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Alex s
Thank you Bruce, I will try it on dreamhost.com shared server. Thanks Alex On Tue, Mar 13, 2012 at 10:46 PM, Bruce Wade bruce.w...@gmail.com wrote: http://www.web2pyslices.com/slice/show/1401/web2py-on-shared-hosting-hostmonster-with-fastcgi On Tue, Mar 13, 2012 at 6:44 PM, Bruce Wade

Re: [web2py] install web2py in dreamhost

2012-03-13 Thread Bruce Wade
Yeah it should be similar. On Tue, Mar 13, 2012 at 6:48 PM, Alex s alexsalga...@gmail.com wrote: Thank you Bruce, I will try it on dreamhost.com shared server. Thanks Alex On Tue, Mar 13, 2012 at 10:46 PM, Bruce Wade bruce.w...@gmail.com wrote:

[web2py] Re: pycon talk

2012-03-13 Thread VP
Anthony, maybe I didn't ask clearly. Here's the model: Bookmark = db.define_table( 'bookmark', Field('link','reference link',writable=False), Field('category',requires=IS_IN_SET(['work','personal'])), Field('tags','list:string'), auth.signature) I'm talking about field

[web2py] Re: SQLForm

2012-03-13 Thread lyn2py
Sharp eyes there, Anthony :D On Tuesday, March 13, 2012 11:31:43 PM UTC+8, Anthony wrote: Show your code. Note, it is writable, not writeable. Anthony On Tuesday, March 13, 2012 9:15:34 AM UTC-4, Brian F wrote: I have a table with a user id, an item id, and a permission level. I am

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
As long as the form is a SQLFORM (including Crud and SQLFORM.grid), then yes, that should be the default behavior simply by specifying a list:string type field. SQLFORM automatically uses the SQLFORM.widgets.list widget for list:string and list:integer fields, and that widget includes the

[web2py] Re: pycon talk

2012-03-13 Thread VP
That's strange. I'm using the latest web2py and I do not have this as default behavior. On Mar 13, 9:47 pm, Anthony abasta...@gmail.com wrote: As long as the form is a SQLFORM (including Crud and SQLFORM.grid), then yes, that should be the default behavior simply by specifying a list:string

[web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Massimo Di Pierro
I found it. And I fixed it now. Thanks for reporting it. On Tuesday, 13 March 2012 20:20:02 UTC-5, Anthony wrote: No, that's the one I'm looking at -- the one-line description says: Port of web2py to other Bottle, Flask, Pyramid, Tornado and other frameworks Delete the other before

Re: [web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Bruno Rocha
Amazing! just installed using easy_install on windows! *c:\Python27\Scriptseasy_install.exe gluino* Searching for gluino Reading http://pypi.python.org/simple/gluino/ Reading https://github.com/mdipierro/gluino Best match: Gluino 0.1 Downloading

  1   2   >