[web2py] How to limit upload speed in web2py?

2012-06-06 Thread Charles Tang
I am using SQLForm to submit a large file and want to limit the upload speed. How to do it ? Thanks.

[web2py] Moving Data From Sqlite To MySql

2012-06-06 Thread Hassan Alnatour
Dear ALL, How can i move my database from sqlite to mysql ? regards,

[web2py] response.flash: null

2012-06-06 Thread Johann Spies
I am working with the trunk code. When I load a form (SQLFORM.factory) there appears a 'null' flash which does not come from my code. I do not want it there. How can I prevent this flash? This is even before the form is submitted. Screenshot attached. Regards Johann -- Because experiencing y

[web2py] web2py interactive console

2012-06-06 Thread Hassan Alnatour
Dear ALL , i am trying to use web2py from the terminal now i open the terminal and did this : $ cd web2py $ python web2py.py -S welcome here web2py will start the interactive console : >>> db = DAL('sqlite://storage.sqlite') >>> db.tables [] i didnt find my tables , why ?? i want to d

Re: [web2py] web2py interactive console

2012-06-06 Thread Javier Pepe
Hello You need add the -M option to load models. On Wed, Jun 6, 2012 at 6:25 AM, Hassan Alnatour wrote: > Dear ALL , > > i am trying to use web2py from the terminal now i open the terminal and > did this : > > $ cd web2py > $ python web2py.py -S welcome > > > here web2py will start the intera

Re: [web2py] web2py interactive console

2012-06-06 Thread hasan alnator
Oh thank you , it working now

[web2py] Watching a table for changes

2012-06-06 Thread Omri Har-Shemesh
Is it possible to watch a table for changes and define a callback whenever the table is changed? I am trying to implement a mechanism where the client is asking for data every 5 seconds from the server and the server should only return not a null value whenever the data has changed. The problem

[web2py] Why the temporary file is larger than the original one?

2012-06-06 Thread Charles Tang
I am uploading a video from using web2py SQLFORM and want to process it while it is uploading. I find that even the video is completely uploaded the temporary file of the video in the /tmp directory is larger than the original video.Why?Does the python tempfile module add some bytes to it?Many

[web2py] Re: response.flash: null

2012-06-06 Thread Niphlod
Trunk code, but application was created with trunk welcome or not ? There is a small issue with encoding on flash messages for internationalization Il giorno mercoledì 6 giugno 2012 10:59:33 UTC+2, Johann Spies ha scritto: > > I am working with the trunk code. When I load a form (SQLFORM.factory

[web2py] DAL Sybase Adapter testing update

2012-06-06 Thread dlypka
We have successfully queried rows using cursor.execute() with pythonodbc connected to our Sysbase database. We cannot test a native pythonsybase driver because from what we found in opensource, you have to have the Sybase SDK to build the opensource native driver and the SDK costs more than $1,70

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread Andrew
Funny ? I've copied welcome's layout.html, and the whole welcome static folder to my old app ( I hadn't modified them in my old app, except for Paolo's files above). I imagine others do this to get their existing basic apps updated with the UI changes in trunk. The jQuery selector above '.n

Re: [web2py] Re: Innovation under Austerity

2012-06-06 Thread António Ramos
WOW quoting. "the next facebook should never happen. Its intermediated inovation serving the needs of finnanceer, not serving the needs of people. which is not to say that social networking shouldnt happend, it shouldnt happend with a man in the midle attack." 2012/6/6 Massimo Di Pierro >

[web2py] book page is down

2012-06-06 Thread Vasile Ermicioi
http://web2py.com/book Internal error Ticket issued

[web2py] LOAD with ajax=True not working please help

2012-06-06 Thread szimszon
Version 2.00.0 (2012-06-05 00:02:52) dev in layout.html {{=LOAD('default','setuser',extension='load',ajax=True)}} $("#" + target) is null @ http://127.0.0.1:8000/.../static/js/web2py.js:107 without ajax=True it loads but is is working correctly only with ajax=True :( http://code.google.com/p/w

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread szimszon
I have issue with dropdown menu when the main menu is a link too. If I click on the main menu than that menu is activated and I can't access the items below it with any means :(

[web2py] Accessing extra sqlform elements from view

2012-06-06 Thread rahulserver
I added this extra element to my sqlform (as given in web2py book chapter forms and validators): form = SQLFORM(db.yourtable) my_extra_element = TR(LABEL('I agree to the terms and conditions'), \ INPUT(_name='agree',value=True,_type='checkbox')) form[0].insert(-1,my_extra_el

Re: [web2py] Re: response.flash: null

2012-06-06 Thread Johann Spies
On 6 June 2012 12:30, Niphlod wrote: > Trunk code, but application was created with trunk welcome or not ? > There is a small issue with encoding on flash messages for > internationalization > > I am using the static/css, static/js and views/layout.html(with a few changes) from the welcome app.

[web2py] Error connecting with mysql database

2012-06-06 Thread Hassan Alnatour
Dear ALL, i am trying to connect my website to a mysql database using this connection string db = DAL('mysql://i3zif_user:i3zif@localhost/i3zif_test') and i keep getting this : ERROR TICKET FOR "I3ZIF2" TICKET ID 127.0.0.1.2012-06-06.07-02-36.d2515abd-2f82-4ed8-aef8-e1e52b134cd7 (1064, u

[web2py] Re: LOAD with ajax=True not working please help

2012-06-06 Thread szimszon
Here is what I found with help of http://stackoverflow.com/questions/777062/jquery-field-is-null --- web2py.js.old2012-06-04 22:02:56.0 +0200 +++ web2py.js2012-06-06 14:12:48.546141468 +0200 @@ -104,8 +104,8 @@ function web2py_component(action, target, timeout, times){ jQuer

[web2py] grid's web2py style cleanup

2012-06-06 Thread szimszon
Hi! I wonder if somebody could help to clean up sqlhtml.py's grid web2py style because there are buttons with 'button' and 'buttontext' class but the css have no visible definition for it. It should be 'btn' or something. I opened an issue about it in google code: http://code.google.com/p/web2

[web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread drelyn86
> > Fluxflex will be shut down and will be no longer available on June 30, > 2012. > = > From 2010, we have provided Fluxflex for about two years. > But because of profitability, instability and some other issues, > we decided to shut down fluxflex on June 30, 2012. > Because our team is comp

[web2py] Three typos/updates in web2py online book (JSON/Pyjamas section)

2012-06-06 Thread Larry Wapnitsky
In section http://web2py.com/books/default/chapter/29/10#JSONRPC-and-Pyjamas 1. Pyjamas is now known as PyJS, even though the libraries are still called pyjamas 2. import pyjamas.ui.KeyboardListener should read import pyjamas.ui.KeyboardListener as KeyboardListener to work properly

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Omi Chiba
Too bad.. On Wed, Jun 6, 2012 at 8:03 AM, drelyn86 wrote: > Fluxflex will be shut down and will be no longer available on June 30, >> 2012. >> = >> From 2010, we have provided Fluxflex for about two years. >> But because of profitability, instability and some other issues, >> we decided to s

[web2py] Re: LOAD with ajax=True not working please help

2012-06-06 Thread Anthony
Good point -- the new reload functionality should have used "jQuery()" rather than "$()". Anthony On Wednesday, June 6, 2012 8:17:07 AM UTC-4, szimszon wrote: > > Here is what I found with help of > http://stackoverflow.com/questions/777062/jquery-field-is-null > > --- web2py.js.old2012-06-

[web2py] syntaxis error in dal

2012-06-06 Thread Jose
in the function def select(self,query,fields,attributes): (items, tablename, fields) = self.select_raw(query,fields,attributes) # self.db['_lastsql'] = self._select(query,fields,attributes) rows = [[(t=='id' and item.key().id_or_name()) or \ (t=='nativeRef

Re: [web2py] syntaxis error in dal

2012-06-06 Thread Johann Spies
On 6 June 2012 15:26, Jose wrote: > > File "/usr/home/jose/web2py/gluon/dal.py", line 4130 > rows = [[(t=='id' and item.key().id_or_name()) or \ > > ^ > there is more space at the end of line > > I have reported it in issue 838 few hours ago. Regards Johann -- Because experiencing your loya

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread LightDot
I don't have a personal preference about this since I'm not using these selectors in any project. But even if the default css doesn't use them, some developer could already be using them for custom css definitions. So wouldn't this break backward compatibility of web2py? Regards On Wednesday,

[web2py] Re: Accessing extra sqlform elements from view

2012-06-06 Thread Anthony
When you add an extra element this way, it gets inserted into the form object, but it does not get added to the items in form.custom.widget, form.custom.label, etc. (those are constructed when the form is first created). You have a couple options. In the view, you can simply refer to: {{=form.e

[web2py] Re: Watching a table for changes

2012-06-06 Thread Anthony
In trunk, there are now triggers for DAL tables: self._before_insert = [] self._before_update = [lambda self,fs:self.delete_uploaded_files(fs )] self._before_delete = [lambda self:self.delete_uploaded_files()] self._after_insert = [] self._after_update = []

[web2py] Question about layout.html

2012-06-06 Thread Doug Philips
I'm getting ready to deploy my first web2py application. First off: THANK YOU! I couldn't have pulled this off (I'm a systems programmer, not a web programmer). While I have only one application to deploy, I am hoping there are others. As such, I want to use welcome as the 'landing page' which wil

[web2py] Re: Question about layout.html

2012-06-06 Thread Anthony
Good catch -- we should make that change. In your case, you can just remove that line. Anthony On Wednesday, June 6, 2012 9:45:09 AM UTC-4, Doug Philips wrote: > > I'm getting ready to deploy my first web2py application. > First off: THANK YOU! > I couldn't have pulled this off (I'm a systems

Re: [web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-06 Thread Richard Vézina
Maybe it the permissions on your files... sudo chown -R www-data.www-data web2py/applications/APP/ Richard On Sat, Jun 2, 2012 at 5:56 PM, François Delpierre < francois.delpie...@gmail.com> wrote: > I just created a simple plugin as described here (Only the > view/layout.html and a CSS) : > htt

[web2py] Re: Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Liam
Oh no! I had a great experience using Fluxglex. All the best in future. On Wednesday, June 6, 2012 3:03:48 PM UTC+2, drelyn86 wrote: > > Fluxflex will be shut down and will be no longer available on June 30, >> 2012. >> = >> From 2010, we have provided Fluxflex for about two years. >> But bec

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread szimszon
SQLFORM.grid and .smartgrid is experimental... If grid and smartgrid will use the button and buttontext class for buttons in grid with new app you have to add this class definition back manually to the new look&feel layout :( What if grid and smartgrid can access some resource in app layout sys

[web2py] Web2Py + Mercurial + uWSGI + Nginx in Ubuntu 12.04

2012-06-06 Thread orsomannaro
After installing Web2Py with this script: http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh I made some changes to integrate a Mercurial server. It seem to work but I'm a newbie, so I would like someone give me feedback. Thanks. = Mercurial = ==

[web2py] Re: Innovation under Austerity

2012-06-06 Thread Cliff Kachinske
Re: Facebook and other 'Free' social networking sites, this old quote applies: "If you aren't paying for it, you are not the customer. You are the product." On Tuesday, June 5, 2012 7:02:25 PM UTC-4, mcm wrote: > > F2C2012: Eben Moglen keynote - "Innovation under Austerity" > > http://youtu

Re: [web2py] Moving Data From Sqlite To MySql

2012-06-06 Thread Sebastian E. Ovide
check this http://goo.gl/VpwpB for moving the data... and the official book has a chapter that explains how to use an existing DB. Do you want also to keep the migration info ? On Wed, Jun 6, 2012 at 9:18 AM, Hassan Alnatour wrote: > Dear ALL, > > How can i move my database from sqlite to mysql

Re: [web2py] Re: Innovation under Austerity

2012-06-06 Thread António Ramos
we are just Sheeple! 2012/6/6 Cliff Kachinske > Re: Facebook and other 'Free' social networking sites, this old quote > applies: > > "If you aren't paying for it, you are not the customer. You are the > product." > > > > On Tuesday, June 5, 2012 7:02:25 PM UTC-4, mcm wrote: >> >> F2C2012: Eben

Re: [web2py] Error connecting with mysql database

2012-06-06 Thread Sebastian E. Ovide
would try to replace *Like* with something else ? it is a MySql (SQL) keyword... On Wed, Jun 6, 2012 at 1:08 PM, Hassan Alnatour wrote: > Field('Like','integer',default=1), > -- Sebastian E. Ovide

Re: [web2py] How to limit upload speed in web2py?

2012-06-06 Thread Sebastian E. Ovide
via your webserver config... On Wed, Jun 6, 2012 at 8:14 AM, Charles Tang wrote: > I am using SQLForm to submit a large file and want to limit the upload > speed. How to do it ? Thanks. > -- Sebastian E. Ovide

Re: [web2py] Re: Question about layout.html

2012-06-06 Thread Doug Philips
Ok, I've entered an issue for it: http://code.google.com/p/web2py/issues/detail?id=841 Thanks! ---Doug On Wed, Jun 6, 2012 at 9:49 AM, Anthony wrote: > Good catch -- we should make that change. In your case, you can just remove > that line.

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread LightDot
Quite right, I forgot that the grids are experimental. Sorry, I was too quick to comment in regards to backward compatibility. I missed the scope of the issue anyway, since if I remember right, "ui" setting for the grid is already defined as a dictionary in sqlhtml.py. With definitions such as

[web2py] Setting initial password when registering?

2012-06-06 Thread Doug Philips
Hello all, again, (I'm guessing the answer to this is in 'the book' , but that's down right now and when I went looking last night I couldn't seem to figure out where.) For the app I'm deploying which does require users to authenticate (login), I want to use the verification facility. I have the

[web2py] Re: how to groupby date on a datetime field?

2012-06-06 Thread Massimo Di Pierro
Can you try s=(db.mytable.notified.year() | db.mytable.notified.month() | db.mytable.notified.day()) rows = db(...).select(s, db.mytable.id.count(),groupby=s,orderby=s) On Wednesday, 6 June 2012 00:14:38 UTC-5, weheh wrote: > > I have db.define_table('mytable', ..., Field('notified', 'datetime'

[web2py] Re: Typo bug in DAL

2012-06-06 Thread Massimo Di Pierro
oops. Fixing in trunk. On Wednesday, 6 June 2012 00:37:15 UTC-5, pbreit wrote: > > Traceback (most recent call last): > File "web2py.py", line 16, in > import gluon.widget > File "/Users/pbreit/web2py/gluon/__init__.py", line 19, in > from dal import DAL, Field > File "/Users/pbrei

[web2py] how to get correct values in info tag on gmap

2012-06-06 Thread greaneym
Hi, I am having some difficulty in plottings some points on a gmap with informational attributes and I hope someone can help me understand what mistakes I am making. I am aware that these cities are already marked on the map, but I want to add these markers for a quiz app I'm making. The poi

[web2py] Re: Setting initial password when registering?

2012-06-06 Thread Doug Philips
Ok, so, for the record, I'm an idiot. :-) My app was generated with the admin wizard. Apparently when I was just starting to get my web2py feet wet, I went in and tinkered very early on and marked the password field as writable=False ... removing that allows for a password and repeat/verify passwor

Re: [web2py] Re: Instant press 2.1.0 holiday edition (?)

2012-06-06 Thread vince
after the peek into custom_import, it was my mistake of missing __init__.py in /applications. actually i just notice we can use standard import instead of local_import now. On Wednesday, June 6, 2012 2:49:29 AM UTC+8, vince wrote: > > i am using 1.99.7 with the similar errors, appsettings.py doe

[web2py] Re: how to get correct values in info tag on gmap

2012-06-06 Thread Anthony
plugin_gmap.represent=lambda row: '%(state_name)s %(capital_latitude)s %(capital_longitude)s ' should be: plugin_gmap.represent=lambda row: '%(state_name)s %(capital_latitude)s %(capital_longitude)s' % row Anthony On Wednesday, June 6, 2012 11:57:12 AM UTC-4, greaneym wrote: > > Hi, > > I am

[web2py] Re: how to get correct values in info tag on gmap

2012-06-06 Thread greaneym
Anthony, Thank you very much, that works. Margaret On Wednesday, June 6, 2012 11:13:58 AM UTC-5, Anthony wrote: > > plugin_gmap.represent=lambda row: '%(state_name)s %(capital_latitude)s > %(capital_longitude)s ' > > should be: > > plugin_gmap.represent=lambda row: '%(state_name)s %(capital_lat

[web2py] Re: Why the temporary file is larger than the original one?

2012-06-06 Thread Massimo Di Pierro
The upload is done by the cgi.FieldStorage. It may store some additional metedata with it, like the original filename. Not sure. On Wednesday, 6 June 2012 05:15:01 UTC-5, Charles Tang wrote: > > I am uploading a video from using web2py SQLFORM and want to process it > while it is uploading. I fi

Re: [web2py] Web2Py + Mercurial + uWSGI + Nginx in Ubuntu 12.04

2012-06-06 Thread Richard Vézina
I am not sure with the new version of ubuntu, I am still under 10.04, but Mercurial that comes with the official depot, is most of the time outdated and there is PPA to get the bleeding edge Mercurial and Tortoise version : https://launchpad.net/~tortoisehg-ppa https://launchpad.net/~mercurial-ppa

Re: [web2py] Accessing extra sqlform elements from view

2012-06-06 Thread Cornelius Kölbel
Hello Rahul, I think you should be able to access it as form.vars.agree which would either be "on" or None. Kind regards Cornelius Am 06.06.2012 13:45, schrieb rahulserver: > I added this extra element to my sqlform (as given in web2py book > chapter forms and validators): > form = SQLFORM

[web2py] Re: book page is down

2012-06-06 Thread Massimo Di Pierro
I started having problems since last upgared because I left migrations on. That causes problems on high traffic. I disabled migrations and should now be fine. On Wednesday, 6 June 2012 06:24:03 UTC-5, Vasile Ermicioi wrote: > > http://web2py.com/book > Internal error Ticket issued >

[web2py] Re: LOAD with ajax=True not working please help

2012-06-06 Thread Massimo Di Pierro
fixed in trunk. Thanks Anthony and Michele. On Wednesday, 6 June 2012 08:18:29 UTC-5, Anthony wrote: > > Good point -- the new reload functionality should have used "jQuery()" > rather than "$()". > > Anthony > > On Wednesday, June 6, 2012 8:17:07 AM UTC-4, szimszon wrote: >> >> Here is what I fo

Re: [web2py] syntaxis error in dal

2012-06-06 Thread Massimo Di Pierro
Fixed On Wednesday, 6 June 2012 08:29:09 UTC-5, Johann Spies wrote: > > On 6 June 2012 15:26, Jose wrote: > >> >> File "/usr/home/jose/web2py/gluon/dal.py", line 4130 >> rows = [[(t=='id' and item.key().id_or_name()) or \ >>

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Massimo Di Pierro
I agree. too bad. I liked it. On Wednesday, 6 June 2012 08:18:13 UTC-5, Omi Chiba wrote: > > Too bad.. > > On Wed, Jun 6, 2012 at 8:03 AM, drelyn86 wrote: > >> Fluxflex will be shut down and will be no longer available on June 30, >>> 2012. >>> = >>> From 2010, we have provided Fluxflex for

[web2py] Re: backward-compatible CRYPT() upgrades

2012-06-06 Thread pbreit
Were these suggestions considered or deployed? In light of today's LinkedIn compromise, I am again searching for either a salted password or bcrypt solution. On Friday, July 31, 2009 12:40:35 PM UTC-7, Jonathan Lundell wrote: > > There are several measures we might take to tighten up default se

[web2py] how to use crud.search for tables with fields that are references to other tables?

2012-06-06 Thread lcamara
Hey, I've been trying to use crud.search for a table with many fields that reference other tables, After failing I found: http://code.google.com/p/web2py/issues/detail?id=329 Which seems to be an old bug report saying this does not work. However, I glanced at the crud.search source code and

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Andrew
So where do we go now?

[web2py] We should add mariaDB to the list of functioning databases

2012-06-06 Thread Jason Brower
Right now it is a drop in replacement for MySQL so the support is there. Personally though, I think it will support more features so it might be good to have it as it's own call for future proofing it. I met with Monty the creator of MySQL and MariaDB and I think I want to give this MariaDB a c

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Jason Brower
On 06/06/2012 08:35 PM, Andrew wrote: So where do we go now? I know the owners of Pagodabox. They are looking to support python, and I think web2py should be involved. :) BR, Jason

Re: [web2py] We should add mariaDB to the list of functioning databases

2012-06-06 Thread R. Strusberg
+1 In fact MariaDB is a MySQL binary replacement. Meanwhile, you can use the MySQL python drivers without problem. Latinux use MariaDB and web2py together. However, it would be great to support MariaDB characteristics that are not in MySQL. Ending July, Latinux will have the first certification

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread sesenmaister
Andrew, I have the same question. Today I wanted to get payed hosting on FluxFlex. And now I have no idea where to go. I'm not pro, stdudying python and web2py for pleasure, I've got no idea how to install web2py in a "normal" server and have no idea if all hostings permit that. So FluxFlex was

[web2py] Re: String EOF error

2012-06-06 Thread Chris
I have had a similar issue. Is there a resolution? On Wednesday, April 25, 2012 5:29:09 PM UTC-4, Bruce Wade wrote: > > Hi I randomly get a EOFError this doesn't always happen and I have no idea > what is causing it. > > Traceback (most recent call last): > > File "/home/developer/projects/ya

Re: [web2py] Re: String EOF error

2012-06-06 Thread Bruce Wade
Nope I still have the same issue it happens constantly not sure where to look or how to fix it. Also don't have the time this second to dig in more as I have 1000 tasks on the go for this project. On Wed, Jun 6, 2012 at 11:22 AM, Chris wrote: > I have had a similar issue. Is there a resolution?

[web2py] Re: grid's web2py style cleanup

2012-06-06 Thread szimszon
Or better the dictionary should be tied in the layout(.html) somehow. I think it would better than polluting the web2py core with time limited data... it could be a javascript / javascript variable that should set the right class names in layout scope. So people do not need to search and replac

[web2py] Re: String EOF error

2012-06-06 Thread Derek
He just said there is a hotfix in trunk - that means you'd want to get the nightly release to fix it, or wait for an official release. He said it's a corrupted ticket, and that's your workaround. So, go to the file system - applications - your application - errors- and delete the tickets there.

[web2py] web2py: crud interface and query strings

2012-06-06 Thread Joel Robinson
First, let me give some background on what I've been trying to do. We wanted to set up an inventory system using QR codes which would be put on stickers on our stock and then scaned with smartphone when removing inventory bring up the appropiate web page. The QR code should contain something li

Re: [web2py] niphlod tvseries error

2012-06-06 Thread blye
Thanks very much for prompt reply. Never quite sure if its a bug ... or me :-( This issue has happened with other apps, not sure if I understand. w2p has its own internal Python 2.5.. ??? I have py 2.5 and 2.7 installed on my machine How do I resolve the w2p 2.7 issue? Should I be running w2p fr

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread Paolo Caruccio
Andrew, if it's possible, could you post the raw html source of not working page? Moreover, try to put in static/js folder the "web2py_ajax.js" from old application: sometimes the dropdown doesn't fire if this file is missing, I don't know why. Il giorno mercoledì 6 giugno 2012 12:55:39 UTC+2

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread Paolo Caruccio
Szimszon, is it a new application or have you replaced an old layout with that new one? Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha scritto: > > I have issue with dropdown menu when the main menu is a link too. > > If I click on the main menu than that menu is activated and I

[web2py] Re: web2py: crud interface and query strings

2012-06-06 Thread Massimo Di Pierro
Looks like the error is at row = rows[0] because rows is empty (no records matching query). You need a check like if rows: row = rows[0] On Wednesday, 6 June 2012 12:19:14 UTC-5, Joel Robinson wrote: > > First, let me give some background on what I've been trying to do. We > wanted to

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Massimo Di Pierro
We can help if they want to. On Wednesday, 6 June 2012 12:46:37 UTC-5, encompass wrote: > > On 06/06/2012 08:35 PM, Andrew wrote: > > So where do we go now? > I know the owners of Pagodabox. They are looking to support python, and > I think web2py should be involved. :) > BR, > Jason >

Re: [web2py] niphlod tvseries error

2012-06-06 Thread Niphlod
if you're using binary version there is a good chance that web2py will run under 2.5 if you have also 2.7 installed, download the source code version, unzip in a folder, then python web2py.py and voilà. Il giorno mercoledì 6 giugno 2012 22:18:34 UTC+2, blye ha scritto: > > Thanks very much for

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-06 Thread Bruno Rocha
pythonanywhere has easy deployment for web2py http://zerp.ly/rochacbruno Em 06/06/2012 15:10, "sesenmaister" escreveu: > Andrew, I have the same question. Today I wanted to get payed hosting on > FluxFlex. And now I have no idea where to go. I'm not pro, stdudying python > and web2py for pleasur

[web2py] conflicts with issue 778

2012-06-06 Thread Carlos
Hi Massimo, Why was the code in the following changeset re-included?: (e808fd6f684a) do not show errors about already uploaded files This was already handled (so far successfully) via the following changeset: (af730eb609c0) fixed onvalidation for SQLFORM, issue 778 http://code.google.

Re: [web2py] Hosting services recommendation

2012-06-06 Thread sesenmaister
lot of thanks Anthony, now that fluxflex is going down this link pointed me to new valid options jsesen El viernes, 6 de enero de 2012 15:54:41 UTC+1, Anthony escribió: > > See https://groups.google.com/d/topic/web2py/e2SL5ViOhL4/discussion

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread LightDot
I can confirm this, using fresh welcome application and Bootstrap upgraded to 2.0.4. If a menu item has both an URL specified and also additional submenus, these don't get displayed. Regardless if this is a first or a second level menu item. If the URL is set as None, additional submenus displa

[web2py] Embed youtube videos

2012-06-06 Thread Kevin Miller
I have been trying to figure out the best way to embed a youtube video in web2py. I would like a form with an entry for the youtube video link/code then at some point it will be displayed. I found this comment using the widget from plugin_wiki, but that did not work for me: https://groups.google.c

[web2py] has_permission() broken?

2012-06-06 Thread craley
Traceback (most recent call last): File "/srv/web2py/gluon/restricted.py", line 204, in restricted ccode = compile2(code,layer) File "/srv/web2py/applications/dashboard/controllers/admin.py" , line 258,

[web2py] Re: Embed youtube videos

2012-06-06 Thread pbreit
Should be pretty easy. Once you capture the YouTube URL, just pass it to a view and then: === view.html === http://example.com"; frameborder="0"/> === controller.py === def play_video(): video = db.video(request.args(0)) return dict(video=video) video.url would need to be something li

Re: [web2py] Re: Embed youtube videos

2012-06-06 Thread Kevin Miller
Ok thanks for answering. Thanks for the idea. I include the first part of the url and replace the code section with the argument passed to the view. When I used the entire URL it did not work. The only problem I don't like with this approach is that the user has to enter the code (which is sometime