[web2py] Re: crud delete_record checkbox [RESOLVED]

2010-01-31 Thread mr.freeze
I think a better question is why would you not want it in sqlhtml ;) On Jan 30, 12:58 am, mdipierro mdipie...@cs.depaul.edu wrote: Why do you want to put this in sqlhtml? In you controller you can do: form.custom.label['deletable'] = 'delete_label' On Jan 30, 12:53 am, weheh

[web2py] Re: Bulk inserts in Google App Engine

2010-01-31 Thread Jon Romero
Yeap the speadup is HUGE (one query to insert 100 rows). Inserting in gae is slow and if you try to insert 100 one by one you get timeout errors. I am using the gae_retry but insert queries are bad for quotas. I am already using put after importing gae but it accepts gae models in an array. So I

[web2py] local_import

2010-01-31 Thread pistacchio
Hi, i have a file named bb.py in my application's modules directory. i import it with local_import('bb'). i made some changes to it and i notice that the program no longer loads them (but keeps working like it were using an older version). so i renamed the file to bb2.py and it kept working. if i

[web2py] Re: plug-in webfolder

2010-01-31 Thread selecta
guess i just called it webfolder, don't know if this is the right term a screenshot shuld explain everything http://jaguar.biologie.hu-berlin.de/~fkrause/screenshot_webfolder.png On Jan 30, 7:17 pm, villas villa...@gmail.com wrote: Hi Selecta Pls forgive my ignorance,  but could you please

[web2py] Yet another installation problem

2010-01-31 Thread weheh
I'm trying to install web2py 1.74.8 from source on my windows server. When I try to run python web2py.py I get the following traceback: Traceback (most recent call last): File web2py.py line 16, in ? import gluon.import_all File D:\web2py\gluon\import_all.py, lion 104, In ? raise

[web2py] Re: Yet another installation problem

2010-01-31 Thread weheh
Oh, I forgot to mention that I ran easy_install-2.3 -U hashlib and the OS returned 'easy_install-2.3' is not recognized as an internal or external command, operable program or batch file. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post

[web2py] Re: local_import

2010-01-31 Thread pistacchio
i think the problem is a bit deeper.. after having changed the name it started working with the new version, but it contained an error (a variable not define because i mistyped it). i corrected the error and it keeps on yielding it and referring to a line number that does not exist anymore, like

[web2py] Re: local_import

2010-01-31 Thread pistacchio
i've noticed that shutting web2py server down and restarting solves the problem. are those modules loaded at startup times? how to debug them? thanks On 31 Gen, 14:42, pistacchio pistacc...@gmail.com wrote: i think the problem is a bit deeper.. after having changed the name it started working

[web2py] Re: cron issue

2010-01-31 Thread mdipierro
Got it now. On Jan 31, 12:27 am, John Heenan johnmhee...@gmail.com wrote: I have not get my point across. By 'Python exec' I mean using the 'exec' internal Python command. I don't mean 'Python exec' as a shorthand for 'execute a new Unix, Windows or Mac OS process under the ownership of the

[web2py] Re: local_import

2010-01-31 Thread mdipierro
modules are loaded the first time the imported and they are now reloaded when changed. The same is true for local_import unless you do local_import('bb',force=True) In this case it is reloaded every time. On Jan 31, 8:02 am, pistacchio pistacc...@gmail.com wrote: i've noticed that shutting

[web2py] Re: Bulk inserts in Google App Engine

2010-01-31 Thread mdipierro
needs testing but please check in trunk db.table.bulk_insert([dict(field='value'),dict(field1='value')]) Massimo On Jan 31, 3:11 am, Jon Romero darks...@gmail.com wrote: Yeap the speadup is HUGE (one query to insert 100 rows). Inserting in gae is slow and if you try to insert 100 one by one

[web2py] Ajax question - selecting n items from a large dataset and storing them

2010-01-31 Thread frollings
Hi, What is the 'recipe' in web2py for this; I have models Recipes and Ingredients, now when fill in a Recipe I want to select n ingredients. Ofcourse the list of ingredients is much too large to make a dropdown of it and ofcourse it would be multi select. So I'm thinking of something like the

[web2py] Re: Bulk inserts in Google App Engine

2010-01-31 Thread Jon Romero
I am going to stress test it this week :) On Jan 31, 4:44 pm, mdipierro mdipie...@cs.depaul.edu wrote: needs testing but please check in trunk db.table.bulk_insert([dict(field='value'),dict(field1='value')]) Massimo On Jan 31, 3:11 am, Jon Romero darks...@gmail.com wrote: Yeap the

[web2py] Creating a new auth session

2010-01-31 Thread Jon Romero
I have created a new facebook connect plugin where the user can login to auth using FBConnect. The thing that I am doing is after the user has logged in (and I have his fb_uid) I create a new session like this: if not auth.is_logged_in(): user_obj =

[web2py] Re: plug-in webfolder

2010-01-31 Thread mdipierro
Any chance you can modify it so that you first select select a file/ folder on the left hand tree and then when you insert/delete/move the system already knows which file/folder to act on? On Jan 31, 5:15 am, selecta gr...@delarue-berlin.de wrote: guess i just called it webfolder, don't know if

[web2py] Re: Creating a new auth session

2010-01-31 Thread mdipierro
All auth does on successful login is: from gluon.storage import Storage session.auth=Storage() session.auth.user = db(db.auth_user.id==logged_in_user_id).select ().first() session.auth.user_id = session.auth.user.id session.auth.last_visit = request.now set session.auth=None on logout. On Jan

[web2py] Re: Ajax question - selecting n items from a large dataset and storing them

2010-01-31 Thread mdipierro
Look into plugin_tagging http://groups.google.com/group/web2py/browse_thread/thread/4f9dfc4e9c4b5b27/8bc6a5909625e2ac?lnk=gstq=plugin_tagging#8bc6a5909625e2ac It is close to what you asked and perhaps it can be adapted. Massimo On Jan 31, 8:55 am, frollings tluy...@gmail.com wrote: Hi,

[web2py] Re: Creating a new auth session

2010-01-31 Thread Jon Romero
Ok, that's what I am doing also. But check this scenario: @auth.requires_login() def admin_area(): ...do stuf... return If a user creates a session by hand, he can access that area right? On Jan 31, 5:21 pm, mdipierro mdipie...@cs.depaul.edu wrote: All auth does on successful

[web2py] Re: jquery tools

2010-01-31 Thread weheh
Sounds great! Do you have an example online that we could look at? -- 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] Creating a new auth session

2010-01-31 Thread Alex Fanjul
Hi Jon, when you finnish the facebook connect with autologin plugin, could you please share it with us? it's very interesting for all the projects. thanks in advance, alex El 31/01/2010 16:08, Jon Romero escribió: I have created a new facebook connect plugin where the user can login to auth

[web2py] Re: Creating a new auth session

2010-01-31 Thread Jon Romero
Of course! The fbconnect is already on bitbucket (search on this group) but I've done a lot of changes so it can play nicely with auth. And mdipierro has created already a plugin using it. On Jan 31, 6:03 pm, Alex Fanjul alex.fan...@gmail.com wrote: Hi Jon, when you finnish the facebook connect

[web2py] about image uploads

2010-01-31 Thread pistacchio
hi! i've seen that i can retrieve uploaded images with {{=URL(r=request, f='download', args= IMAGE)}} coupled with the standard download method. now, if i want to statically save a reference to the image (like saving the string img src=/myapp/mycontroller/download/

[web2py] Re: jquery tools

2010-01-31 Thread mdipierro
Try this: http://www.web2py.com/plugins On Jan 31, 9:51 am, weheh richard_gor...@verizon.net wrote: Sounds great! Do you have an example online that we could look at? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send

[web2py] Re: jquery tools

2010-01-31 Thread mdipierro
Notice this demo (http://www.web2py.com/plugins) makes one sortable list per user (identified by client) so you can test it without affecting other users. Rearrange the items as you like then reload the page and see they stay sorted. Here is the complete code excluding the plugin file itself:

[web2py] Re: A small improvement for the edit interface

2010-01-31 Thread Jose
excellent, thanks jose -- 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 options, visit this

Re: [web2py] Re: Creating a new auth session

2010-01-31 Thread Alex Fanjul
Yea, that is the cool part, integrate it with the auth part of web2py to get a real single sing on, where you can really connect and login in a web2py app with a simple facebook account. alex El 31/01/2010 17:24, Jon Romero escribió: Of course! The fbconnect is already on bitbucket (search on

[web2py] Re: A small improvement for the edit interface

2010-01-31 Thread Jose
After saving the links to view are lost, you must reload the page to see them again. (trunk version) José -- 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

[web2py] Re: A small improvement for the edit interface

2010-01-31 Thread mdipierro
BTW. This is in trunk! On Jan 31, 10:46 am, Jose jjac...@gmail.com wrote: excellent, thanks jose -- 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,

[web2py] plugin to sort database records with the mouse via ajax

2010-01-31 Thread mdipierro
http://www.web2py.com/plugins -- 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 options,

[web2py] Re: A small improvement for the edit interface

2010-01-31 Thread mr.freeze
It only shows this for me on Windows: edit views: l, l, l, l I think it is because of the backslash in the path. On Jan 31, 11:02 am, mdipierro mdipie...@cs.depaul.edu wrote: BTW. This is in trunk! On Jan 31, 10:46 am, Jose jjac...@gmail.com wrote: excellent, thanks jose -- You

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread Brian M
Massimo, In trunk your check for Windows should be platform.system() == 'Windows' and not platform.systems() = 'Windows' You've got an extra s in there. I don't know that you need to disable it for windows as a whole or just for the binary distro of web2py. I have to do more testing. Also, I

[web2py] How to change field name without losing data?

2010-01-31 Thread weheh
Is there an easy way to rename a field without losing all the data behind it? I'm not sure I want to go through the trouble of writing all the data out, reformatting, and then reading it back in. -- You received this message because you are subscribed to the Google Groups web2py-users group. To

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread mdipierro
I think I addresses two of the issues. Please take a look. Thanks again for all your help. Massimo On Jan 31, 11:24 am, Brian M bmere...@gmail.com wrote: Massimo, In trunk your check for Windows should be platform.system() == 'Windows' and not platform.systems() = 'Windows' You've got

[web2py] Re: about image uploads

2010-01-31 Thread pistacchio
well, i've done, but it seems more like a hack: def show(): response.headers['Content-Type']='image/jpeg' img = db(db.images.id == request.args[0]).select()[0] import os return response.stream(open(os.getcwd() + '/applications/' + request.application + '/uploads/'

[web2py] Code that used to work now fails on 1.74.8

2010-01-31 Thread weheh
Traceback (most recent call last): File C:\web2py\gluon \restricted.py, line 173, in restricted exec ccode in environment File C:/web2py/applications/myapp/controllers/admin.py, line 962, in module File C:\web2py\gluon\globals.py, line 96, in lambda self._caller = lambda f: f() File

[web2py] Re: How to change field name without losing data?

2010-01-31 Thread weheh
But of course. I'm getting so used to working exclusively in web2py I forgot I knew MySQL ;^) Should I assume that if I change a field in my model, too, so that it corresponds to this new field name that the two will become one? -- You received this message because you are subscribed to the

[web2py] Re: jquery tools

2010-01-31 Thread weheh
Motto favoloso, MDP. Genio. -- 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 options, visit

[web2py] Re: How to change field name without losing data?

2010-01-31 Thread NetAdmin
Yes I think so. On Jan 31, 12:24 pm, weheh richard_gor...@verizon.net wrote: But of course. I'm getting so used to working exclusively in web2py I forgot I knew MySQL ;^) Should I assume that if I change a field in my model, too, so that it corresponds to this new field name that the two

[web2py] Code that used to work now fails in 1.74.8

2010-01-31 Thread weheh
Traceback (most recent call last): File C:\web2py\gluon \restricted.py, line 173, in restricted exec ccode in environment File C:/web2py/applications/myapp/controllers/admin.py, line 962, in module File C:\web2py\gluon\globals.py, line 96, in lambda self._caller = lambda f: f() File

[web2py] Re: Code that used to work now fails in 1.74.8

2010-01-31 Thread weheh
OK, I found out what is wrong. I'm using a represent statement that reformats the datetime to be more concise. In the process, the datetime becomes a string. Why this is the case I am still investigating. I have a field 'start'. I do db.mytable.start.represent=lambda value: dts2myhm(value) def

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread Brian M
Yes, that mostly fixes things. However, you still need an explicit test for the @reboot or it won't ever run, check won't have a -1 minute in it. I am testing out a modified cron.py with all of the fixes we've covered in this thread plus the checks for whether or not a task should be run split

[web2py] Re: Code that used to work now fails in 1.74.8

2010-01-31 Thread mdipierro
Does you field have a default set as a string instead of a datetime? On Jan 31, 12:42 pm, weheh richard_gor...@verizon.net wrote: OK, I found out what is wrong. I'm using a represent statement that reformats the datetime to be more concise. In the process, the datetime becomes a string. Why

[web2py] Re: How to change field name without losing data?

2010-01-31 Thread mdipierro
say you have # form here db.define_table('mytable',Field('a')) # to here and you have some data in it: 1) modify the above line as: #from here db.define_table('mytable',Field('a'),Field('b')) db(db.myable.id0).update(b=db.mytable.a) # to here 2) run appadmin once 3) modify the above two

Re: [web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread Jonathan Lundell
On Jan 31, 2010, at 11:20 AM, Brian M wrote: Yes, that mostly fixes things. However, you still need an explicit test for the @reboot or it won't ever run, check won't have a -1 minute in it. I am testing out a modified cron.py with all of the fixes we've covered in this thread plus the

[web2py] Re: Code that used to work now fails in 1.74.8

2010-01-31 Thread weheh
No -- there's no default set as a string. I believe I have correctly traced the problem to SQLTABLE using the reformatted datetime, which comes out of the represent lambda as a string. But I don't see why SQLTABLE would be running any validation? Does it? On Jan 31, 2:32 pm, mdipierro

[web2py] Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread weheh
OK, so I took the code that runs on my development machine and tried it out on my server. Now, on the server, I get a ticket that I don't get on my development machine: 2.3.4.5.6.7.8.9.10.11. Traceback (most recent call last): File gluon/restricted.py, line 173, in restricted File

[web2py] Re: How to change field name without losing data?

2010-01-31 Thread weheh
Nice. Totally makes sense. I should have thought of that. -- 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: How to change field name without losing data? [SOLVED]

2010-01-31 Thread weheh
Nice. Totally makes sense. I should have thought of that. -- 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: has anybody check the the cron in trunk?

2010-01-31 Thread mdipierro
The fact is, there are different types of cron but this variable is used only in the case soft. This is a global var and it should go away. The value should go in settings. The logic should depend on the value of this variable. On Jan 31, 1:47 pm, Jonathan Lundell jlund...@pobox.com wrote: On

[web2py] Re: Code that used to work now fails in 1.74.8

2010-01-31 Thread mdipierro
This may be a bug. It is not running validation but the opposite (formatting) yet this should not run if you have represent. On Jan 31, 1:55 pm, weheh richard_gor...@verizon.net wrote: No -- there's no default set as a string. I believe I have correctly traced the problem to SQLTABLE using the

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread mdipierro
This is known (rare) problem with mysql. Mysql cannot perform multiple alter tables in one transactions. It needs to be committed at each alter table. So it may happens that when you try con change type of a file between incompatible types, it fails in between and some of the temp steps have

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread weheh
Yes, it is my intention to move to postgresql. Unfortunately, I have a lot of legacy data on mySQL that keeps me there for the time being. I don't think it's practical for me to change right at this moment. I'm not sure I know what you're recommending? I have no unwanted tables in my db. At

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread weheh
OK. I didn't realize I might be changing type. Here's the field assignment: db.Field('assignment','string', requires=[ IS_NOT_EMPTY(), IS_IN_DB( db(db.cinst.fp_id==request.vars.fp_id), 'cinst.alphanum_id' ), ] ), I wrote this code a long time

[web2py] CMS content upload

2010-01-31 Thread weheh
This is not precisely a web2py question. But there are knowledgeable people here who may know the answer. I'm adding CMS functionality to my site. As it is currently implemented, I have a text field that an admin can type html into and then upload it to the site where it is displayed. My concern

[web2py] Re: jquery tools

2010-01-31 Thread Richard
how about JQuery UI: http://jqueryui.com/demos/ It handles drag and drop, tabs, sliders, etc, and can be hosted on Google: http://code.google.com/apis/ajaxlibs/documentation/index.html#jqueryUI On Feb 1, 5:28 am, weheh richard_gor...@verizon.net wrote: Motto favoloso, MDP. Genio. -- You

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread mdipierro
The problem is due to the fact that you have tried to change type before and there are columns in db that are not reflected in web2py table. You need to use SQL to access the db and drop those columns assignment__tmp On Jan 31, 3:04 pm, weheh richard_gor...@verizon.net wrote: Incidentally, I

[web2py] Re: CMS content upload

2010-01-31 Thread mdipierro
You can upload HTML but then splay it with {{=XML (html_text,sanitize=True)}} On Jan 31, 3:17 pm, weheh richard_gor...@verizon.net wrote: This is not precisely a web2py question. But there are knowledgeable people here who may know the answer. I'm adding CMS functionality to my site. As it

[web2py] Re: plug-in webfolder

2010-01-31 Thread selecta
yes, good idea, will do that as soon as i find time for it On Jan 31, 4:16 pm, mdipierro mdipie...@cs.depaul.edu wrote: Any chance you can modify it so that you first select select a file/ folder on the left hand tree and then when you insert/delete/move the system already knows which

Re: [web2py] CMS content upload

2010-01-31 Thread Jonathan Lundell
On Jan 31, 2010, at 1:17 PM, weheh wrote: Anybody know of such a markup language and its associated python module? (I know python has an html parser and I could block all tags other than a select few, but thought I'd ask in case there's a better answer out there.) How about markdown (in

[web2py] Global Variable Available Across Sessions

2010-01-31 Thread Mark Larsen
I'd like to use a global variable (an instance of an object) that is initiated at server start up and that is a available to all threads/processes of the application. Is such a thing possible? If it matters, I develop using the built-in server and use apache2/mod_wsgi in production. Thanks,

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread AchipA
I'm also workin on refactoring a few things in cron, let's not trip over each other :) I see people have been busy with my code so there are more things to check than I initially thought, but I'm still on track. I also plan on including a test module which will make regression tests easier. On

[web2py] Re: A small improvement for the edit interface

2010-01-31 Thread mr.freeze
I sent you a new admin/controllers/default.py. I'm not really sure how to make a patch with mercurial yet. On Jan 31, 12:08 pm, mdipierro mdipie...@cs.depaul.edu wrote: Can you fix it? On Jan 31, 11:19 am, mr.freeze nat...@freezable.com wrote: It only shows this for me on Windows: edit

Re: [web2py] Re: CMS content upload

2010-01-31 Thread Thadeus Burgess
also you might want to consider markdown, I am using it on my site for comments. With the WIKI that is in gluon/contrib/markdown and WMD javascript editor, with textarea resize it makes a great combo. Do take a look at blogitizor for how this is implemented. -Thadeus On Sun, Jan 31, 2010

Re: [web2py] Global Variable Available Across Sessions

2010-01-31 Thread Thadeus Burgess
Use cache.disk and cache your object instance. -Thadeus On Sun, Jan 31, 2010 at 5:04 PM, Mark Larsen larsen...@gmail.com wrote: I'd like to use a global variable (an instance of an object) that is initiated at server start up and that is a available to all threads/processes of the

[web2py] Should app/modules be in sys.path in the context of a local_import ?

2010-01-31 Thread MikeEllis
Ran into a small problem when I ported an app out of my local development host and onto a remote host for more testing. Basically it's this: In controllers/default.py I have f = local_import('foo', reload=True) and in modules/foo.py I have import bar where bar is app/modules/bar.py.

Re: [web2py] Global Variable Available Across Sessions

2010-01-31 Thread Mark Larsen
Thanks for the reply. I feel like I've asked this question before and gotten that reply. It seems like a waste to have to read the largish object off disk with request cycle (especially with a good user load). I've used cache.ram in the past but I remember a gotcha when using it with apache and

[web2py] Re: Global Variable Available Across Sessions

2010-01-31 Thread MikeEllis
FWIW, I had good results in a previous project using a recipe from Massimo for a ram cached threadsafe class. I wasn't using Apache, though. See http://groups.google.com/group/web2py/browse_thread/thread/325a8c8505ae7141/670cb692b8ecbab0?q=ThreadSafe+group:web2py#670cb692b8ecbab0 Cheers, Mike

Re: [web2py] Re: Global Variable Available Across Sessions

2010-01-31 Thread Mark Larsen
FWIW, I had good results in a previous project using a recipe from Massimo for a ram cached threadsafe class. I wasn't using Apache, though. Mike, that looks really promising. I imagine I could come up with a way to get all the apache processes to cache the same object after the server

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread mdipierro
I can stop making changes. Please make sure your changes apply to latest trunk. On Jan 31, 5:19 pm, AchipA attila.cs...@gmail.com wrote: I'm also workin on refactoring a few things in cron, let's not trip over each other :) I see people have been busy with my code so there are more things to

[web2py] Re: Should app/modules be in sys.path in the context of a local_import ?

2010-01-31 Thread mdipierro
hmm. need to to run some tests. On Jan 31, 7:52 pm, MikeEllis michael.f.el...@gmail.com wrote: Ran into a small problem when I ported an app out of my local development host and onto a remote host for more testing.  Basically it's this: In controllers/default.py I have      f =

[web2py] Re: Should app/modules be in sys.path in the context of a local_import ?

2010-01-31 Thread MikeEllis
FALSE ALARM. One of my colleagues made a change I didn't notice. Apologies, Mike On Jan 31, 9:14 pm, mdipierro mdipie...@cs.depaul.edu wrote: hmm. need to to run some tests. On Jan 31, 7:52 pm, MikeEllis michael.f.el...@gmail.com wrote: Ran into a small problem when I ported an app out of

[web2py] web2py code style consistency

2010-01-31 Thread Richard
Browsing through gluon I noticed many inconsistencies such as spacing around operators (a=1; a =1; a = 1), spacing between arguments (a,b, c ,d), string quotes (a='hello; a=hello), etc. Is there a recommended style for the source code (PEP8?), and even more importantly for examples? Also there

[web2py] Re: has anybody check the the cron in trunk?

2010-01-31 Thread Brian M
I just tried trunk cron on Linux and it does NOT seem to be working. Oddly, debugging is showing DEBUG:root:WEB2PY CRON Call retruned success: but it does not appear the tasks are actually running. I've got a cron_test app setup with controller functions to write a message to both a file and

[web2py] Re: Should app/modules be in sys.path in the context of a local_import ?

2010-01-31 Thread mdipierro
:-) On Jan 31, 8:41 pm, MikeEllis michael.f.el...@gmail.com wrote: FALSE ALARM. One of my colleagues made a change I didn't notice. Apologies, Mike On Jan 31, 9:14 pm, mdipierro mdipie...@cs.depaul.edu wrote: hmm. need to to run some tests. On Jan 31, 7:52 pm, MikeEllis

[web2py] Re: web2py code style consistency

2010-01-31 Thread mdipierro
We have done throught many pep8 revisions but things like this happen. I will take patches to clean-up. There are few catch-all except left and they should be removed. On Jan 31, 9:03 pm, Richard richar...@gmail.com wrote: Browsing through gluon I noticed many inconsistencies such as spacing

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread weheh
After I dropped the assignment__tmp column, I still got a ticket from web2py and this time it's complaining about a duplicate column name 'reset_password_key'. But when I look for it in auth_user, I only see one column by that name. Should I drop that one, too? -- You received this message

Re: [web2py] Re: A small improvement for the edit interface

2010-01-31 Thread Thadeus Burgess
freeze.. hg export revision so hg export tip and then its as easy as a hg import filename for massimo. -Thadeus On Sun, Jan 31, 2010 at 5:35 PM, mr.freeze nat...@freezable.com wrote: I sent you a new admin/controllers/default.py. I'm not really sure how to make a patch with mercurial

[web2py] Re: Code that used to work now fails in 1.74.8 -- Part 2

2010-01-31 Thread mdipierro
yes, same problem as above. On Jan 31, 10:29 pm, weheh richard_gor...@verizon.net wrote: After I dropped the assignment__tmp column, I still got a ticket from web2py and this time it's complaining about a duplicate column name 'reset_password_key'. But when I look for it in auth_user, I only

[web2py] Where to get complete routes syntax

2010-01-31 Thread K.R.Arun
Will some one point me to the documentation of routs' syntax(to use within routes.py). -- 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] Integrating existing GAE compatible python blog software with my web2py App

2010-01-31 Thread Lennon
I'm making a web2py application (running on GAE) and I'd prefer not to make my own blog software. There is a fully functional GAE compatible python blog called cpedia: http://code.google.com/p/cpedialog/ I'd love to use this but I'd like the user system to carry over between the blog and the

[web2py] Re: Integrating existing GAE compatible python blog software with my web2py App

2010-01-31 Thread K.R.Arun
Also Look their openID support. I like the interface (which supports, yahoo, aol, verisign, wordpress,.. to name a few.) Is there any such plugins for web2py? On Feb 1, 11:37 am, Lennon lpru...@hotmail.com wrote: I'm making a web2py application (running on GAE) and I'd prefer not to make my own

[web2py] Importing large amounts of data incremently gets slower...

2010-01-31 Thread Jason Brower
It's interesting, but now that my little import tool works.. I have noticed with very large imports 16,000+ records to 3 different tables it gets slower and slower over time. I started one import and it took over 3 hours. But started very fast and slowed down in about 15 mintues to about 1

[web2py] Re: Decode field in one to many relation

2010-01-31 Thread ceriox
thanks for help but for the first solution i have a syntax error Traceback (most recent call last): File gluon/restricted.py, line 171, in restricted File G:/web2py/applications/Siltel/controllers/default.py, line 41 (db.Customer_storage.ALL,db.Storage.Model,left=db.Storage.on