[web2py] 1.95.1 - Field delete_this_record does not belong to the table

2011-05-06 Thread andrej burja
After upgrading to 1.95.1 (on windows, from source) get error: Traceback (most recent call last): File ...\gluon\restricted.py, line 181, in restricted exec ccode in environment File .../controllers/racun.py http://127.0.0.1:8000/admin/default/edit/test7/controllers/racun.py, line 65,

[web2py] new versions of software

2011-05-06 Thread elffikk
just want to share some news :) recently released pypy 1.5 jquery 1.6 codemirror 2 flex 4.5

[web2py] Re: ajax:whats wrong with this

2011-05-06 Thread Resa
the problem is that its in the javascript..(in the view) the url is not goin to work.. and teh ajax is not workin.. the problem is that i need all teh scripts to run in a sequential order and the ajax or javascript is actually the last on to run so thats why i placed the the function in a

[web2py] Chunked downloads and corrupt files with Internet Explorer 8 (IE8)

2011-05-06 Thread Stefan Scholl
The classic download function: def download(): return response.download(request, db) I'm developing on localhost (127.0.0.1, no SSL) and one strange thing happened: Downloads in IE8 (Windows XP) were all corrupt/broken if they weren't below 64KiB in size. Very easy to see with large images.

[web2py] python/javascript

2011-05-06 Thread Resa
how can i put javascript in a python variable eg var h-hello {{message}}=h can this work and if not how can i do it?

[web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Christopher Steel
The effect is similar (but the method is not the same) to creating a new Web2py application from the Welcome application only we are doing it with plugins using templates so the new plugin comes with as standard skeleton which includes menus, plugin_config and plugin admin users and whatever else

[web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Christopher Steel
whoops replace: plugin_py_template_path = os.path.join(current_app,'static','plugin_plugin','template_plugin_plugin_py') with: controller_py_template_path = os.path.join(current_app,'static','plugin_plugin','template_plugin_controller_py') sorry... On May 6, 7:31 am, Christopher Steel

Re: [web2py] Re: a chance to vote for web2py

2011-05-06 Thread Syed Mushtaq
Top 10 :) On Fri, May 6, 2011 at 4:59 AM, Anthony abasta...@gmail.com wrote: Cool -- web2py is up to #11 on the list. :-) On Wednesday, May 4, 2011 10:59:52 AM UTC-4, Massimo Di Pierro wrote: http://list.ly/list/9E-tools-and-services-for-a-lean-startup

[web2py] Re: Login problems with _formkey changing

2011-05-06 Thread Ed Greenberg
My user had success (and closed his issue) after removing all Firefox add-ons. Thank you.

[web2py] Using the web2py template system to create new file.

2011-05-06 Thread Christopher Steel
How would I go about creating a new file using the Web2py template system? Would something like this be a practical way to use it? Example: template_source_path = ./static/my_readme_template template_target_path = ./static/README Template Example: contents of static/my_readme_template #

[web2py] Re: CRUD.search sorting order

2011-05-06 Thread niknok
Thanks for the response Villas. Do note that my use of fields=['id','last_name','first_name', ... is based on examples in the book . I tried your suggestions, sadly, I'm getting a KeyError error message. W2P complaining about the db.auth_user table names... Have you tried this out yourself and

[web2py] skinning a cat ...

2011-05-06 Thread niknok
this SQL statement : SELECT agency.card_type FROM agency WHERE agency.id NOT IN (select issuer from card where person=1) is equivalent in DAL: registered_cards=db(db.card.person==1)(db.card.issuer==db.agency.id)._select(db.card.issuer)

[web2py] requires questions

2011-05-06 Thread niknok
I'm doing a requires statement so the id number matches a prescribed format, encrypt it, and then store it in the database (if it isn't a duplicate number) db.card.id_number.requires=[eval(db.agency[int(request.vars.id_number)].regex),CRYPT(),IS_NOT_IN_DB(db,'card.id_number') Do you use

[web2py] Re: represented fields and jqgrid

2011-05-06 Thread niknok
bump... Anyone? On May 5, 8:27 am, niknok nikolai...@gmail.com wrote: I .represent a field as follows:         db.auth_user.gender.represent=lambda i: db.aux_gender[i].concept[:1] if i0 else '?'         db.auth_user.member_status.represent=lambda i: config.member_status.get(i)[:1] or '?'

[web2py] Gluon contrib json encoder

2011-05-06 Thread omicron
Before, the encoder have : Implementation of JSONEncoder Modified by Massimo Di Pierro to handle datetime and now it's not the case in the last stable version ?

[web2py] Re: validator for self-join

2011-05-06 Thread Dave
I'm having trouble getting a custom validator to work with the crud form. Is the is the correct implementation? def f(form): #if form.vars.id == form.vars.myfield: form.errors.myfield = 'cannot be same as id' ... form = crud.update(db.mytable,myrecord,onvalidation=f) ... The

[web2py] PowerTable editable callback

2011-05-06 Thread Francisco Costa
Hello, I'm using PowerTable and I love it! But I have an issue: I want to edit a column named status, but only that column. And I want to alter de value of that column (status) on the databse, with an update. I've made an editable function, but something is missing, I guess, because it doesn't

[web2py] Re: vertical submenu width pb

2011-05-06 Thread francois
ok that's good, yesterday I was not having the right glasses. thank you Francois On 5 mai, 20:20, Anthony abasta...@gmail.com wrote: I see a few problems:    - It should be =MENU(...), not MENU=(...)    - The arguments should be separated by commas, not spaces.    - _lu_class should be

[web2py] webfaction python2.5 - python2.6

2011-05-06 Thread olivier
hi there, I have an old installation of web2py on webfaction. It is using mod_wsgi 2.5 and Python 2.5.4 How can I a upgrade to python 2.6? (I need it for some modules I plan to use) Should I start a new installation from scratch or is there a simpler way to migrate to mod_wsgi 3.3 and Python

[web2py] how do you put a JavaScript variable in a python variable

2011-05-06 Thread Resa
how can i put javascript in a python variable eg var h-hello {{message}}=h can this work and if not how can i do it?

[web2py] Re: Component's non-ascii response.flash does not show well in IE and Firefox

2011-05-06 Thread Iceberg
You did not see them, because I did not mail them. :-) Well, nice to see two fixes are in. But your fix to issue 260 breaks all response.js feature. I've write some comment in the code review. Read the line-by-line comment here please.

[web2py] Re: how do you put a JavaScript variable in a python variable

2011-05-06 Thread ron_m
In a typical view file you have to think about where the execution will occur. The Python code in the view will run on the server as part of the page generation process, the page is shipped out to the user's browser as the response and will be HTML and Javascript and the Javascript that

[web2py] Update application without deleting tables

2011-05-06 Thread mmartinez
The problem I have is when I update an application, when loading the application with the changes I have to remove the tables auth_event, auth_group, auth_membership, auth_permission. My question is I have to do to avoid having to delete these tables, I am working with postgresql.

Re: [web2py] Re: a chance to vote for web2py

2011-05-06 Thread Robert Kooij
Voted! :)

[web2py] Re: how do you put a JavaScript variable in a python variable

2011-05-06 Thread pbreit
I suppose you could do this but I'm not really sure why you'd want to. What are you trying to do? {{js = XML(alert('Hello.');)}} script{{=js}}/script

[web2py] Re: represented fields and jqgrid

2011-05-06 Thread Ross Peoples
I had similar issues with computed fields. I don't know if this helps or not, but it looks like you are using member_status as a selection of hard coded options. This is what I do: db.member_statuses = { 1: 'Active', 2: 'Inactive', } db.define_table('auth_user_extended',

[web2py] Re: represented fields and jqgrid

2011-05-06 Thread pbreit
I'm not sure this is a valid function: config.member_status.get(i) Where did you get that?

[web2py] Re: Update application without deleting tables

2011-05-06 Thread pbreit
I believe this will do it although I have not tested: # ## if none, they will be created settings.table_group = True settings.table_membership = True settings.table_permission = True settings.table_event = True I usually just ignore them. One thing I do is

Re: [web2py] Update application without deleting tables

2011-05-06 Thread Kenneth Lundström
Hello, why do you have to remove the tables? What kind of changes are you making to the code? Kenneth The problem I have is when I update an application, when loading the application with the changes I have to remove the tables auth_event, auth_group, auth_membership, auth_permission. My

[web2py] Re: webfaction python2.5 - python2.6

2011-05-06 Thread pbreit
Is this what you want? http://docs.webfaction.com/software/python.html 1. Open an SSH session. 2. Open ~/.bash_profile in a text editor. 3. On a new line, add alias python=python*X.Y* where *X.Y* is the Python version number. For example, to use Python 2.6 by default, add a new

[web2py] crud update weirdness

2011-05-06 Thread Mike
I'm trying to utilize crud update but for some reason the submission is not working right. I'm trying to send the page to a crud update page using this logic: VIEW: {{=FORM(INPUT(_type='submit',_value = 'Edit'), hidden=dict(Record=row.id),_action='hostname_modify')}} CONTROLLER FOR CRUD: def

[web2py] PowerTable editable callback

2011-05-06 Thread Tiago Moutinho
Hello, I'm using PowerTable and I love it! But I have an issue: I want to edit a column named status, but only that column. And i want to alter de value of that column (status) on the databse, with an update. I've made an editable function, but something is missing, i guess, because it does not

[web2py] PowerTable editable callback

2011-05-06 Thread Tiago Moutinho
Hello, I'm using PowerTable and I love it! But I have an issue: I want to edit a column named status, but only that column. And i want to alter de value of that column (status) on the databse, with an update. I've made an editable function, but something is missing, i guess, because it does not

[web2py] Web2py MySql Tables coming empty

2011-05-06 Thread vrathore
Hello There, I am connecting to my existing Mysql DB, i am able to connect, but i am getting tables empty. Here is the Sample Code db=SQLDB('mysql://varun:VaruN@192.168.0.240:3306/test') print db print gettables ,db.tables I get the following respose on the console database DAL

[web2py] Re: 1.95.1 - Field delete_this_record does not belong to the table

2011-05-06 Thread Massimo Di Pierro
I believe this is fixed in trunk. Can you confirm? On May 6, 4:05 am, andrej burja andrej.bu...@gmail.com wrote: After upgrading to 1.95.1 (on windows, from source) get error: Traceback (most recent call last):   File ...\gluon\restricted.py, line 181, in restricted     exec ccode in

[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread pbreit
Looks like the whole package was updated March 1: http://code.google.com/p/web2py/source/detail?r=8b84ce8b08ebe4af15778d54dc3fc898d159055epath=/gluon/contrib/simplejson/encoder.py

[web2py] Re: Chunked downloads and corrupt files with Internet Explorer 8 (IE8)

2011-05-06 Thread Massimo Di Pierro
Can you try 1.95.1 On May 6, 6:03 am, Stefan Scholl stefan.sch...@gmail.com wrote: The classic download function: def download():     return response.download(request, db) I'm developing on localhost (127.0.0.1, no SSL) and one strange thing happened: Downloads in IE8 (Windows XP) were all

[web2py] Re: python/javascript

2011-05-06 Thread Massimo Di Pierro
No. You have to send h to the server via ajax. The message: variable lives in the server, not the client. On May 6, 6:13 am, Resa taratbr...@gmail.com wrote: how can i put javascript in a python variable eg var h-hello {{message}}=h can this work and if not how can i do it?

[web2py] Re: validator for self-join

2011-05-06 Thread pbreit
I think this might be what you want: crud.settings.create_onvalidation.mytablename.append(lambda form:) http://web2py.com/book/default/chapter/07#Settings

[web2py] Re: CRUD.search sorting order

2011-05-06 Thread villas
Hi Niknok I have looked at this in a little more detail now. The main problem seems to be that web2py does not accept the orderby argument for crud.search. ** I believe this is a bug ** I think it should be possible to fix this easily enough in tools.py but it is best if someone with more

[web2py] Re: spatial page load by ajax

2011-05-06 Thread Anthony
On Friday, May 6, 2011 1:19:55 AM UTC-4, 黄祥 wrote: script jQuery(document).ready(function(){ jQuery('.view').click(function(){ajax('{{=request.controller}}', [page + 1], 'comments')}); I don't think this will work as expected. The second argument to the ajax() function is supposed

[web2py] Re: requires questions

2011-05-06 Thread pbreit
Maybe the IS_EXPR() validator? IS_EXPR IS_EXPR Its first argument is a string containing a logical expression in terms of a variable value. It validates a field value if the expression evaluates to True. For example: 1. 2. requires = IS_EXPR

[web2py] Re: python/javascript

2011-05-06 Thread ron_m
Please don't multiple post the same question. I have seen this question posed 3 times in the last day and it has been answered by several people in the different instances of the question. If you don't get an answer right away it is because: 1) Everyone that might want to answer is getting 3

[web2py] Re: skinning a cat ...

2011-05-06 Thread pbreit
I didn't see EXISTS in dal.py: http://code.google.com/p/web2py/source/browse/gluon/dal.py That seems like it might be a tricky optimization to program but perhaps it's possible. You could also use raw sql: http://web2py.com/book/default/chapter/06#Raw-SQL

[web2py] Re: Confusion using experts4solutions

2011-05-06 Thread GoldenTiger
*Massimo Di Pierro*: * I did not know Ross (or I did not remember). That means there are even more people doing experts4solution work than I thought * Me too. My current job is because web2py. It is a high-paying job, no schedules, and I work from home. The job requirements were an

Re: [web2py] Update application without deleting tables

2011-05-06 Thread pbreit
That's odd. And odd that deleting the tables fixes it. Do you have a settings.table_event or settings.table_event_name in any of your models? You might also try updating to a more current version of Web2py (but this should not be necessary).

Re: [web2py] Update application without deleting tables

2011-05-06 Thread pbreit
I would suggest trying to figure out the root cause instead of deleting tables because that should not be happening.

Re: [web2py] Re: webfaction python2.5 - python2.6

2011-05-06 Thread Vasile Ermicioi
I also use webfaction : python2.7 + uwsgi + nginx if you like and need help with that configuration...

[web2py] Re: ajax:whats wrong with this

2011-05-06 Thread pbreit
I'd like to help but am extremely confused by your code and what you are trying to do. I would reiterate trying to start simply, get it to work and then add more complexity. And try to make your code look like code found in the book. It makes it a lot easier for us to understand.

[web2py] Re: Web2py MySql Tables coming empty

2011-05-06 Thread pbreit
What is line 5 in db.py?

[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread Mathew Grabau
For me to overcome the issues specified by this I switched to using: return response.json(...stuff to return...) The datetime encoder is not in there anymore and it was causing me trouble. This corrected the issue. On May 6, 8:20 am, omicron jacques.bouss...@gmail.com wrote: Before, the

[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread omicron
Yes. But my problem is with jsonrpc service. There is a bug in tools.py, line 3554 : replace return simplejson.dumps(... by return serializers.json(... On 6 mai, 18:49, Mathew Grabau mgra...@seccuris.com wrote: For me to overcome the issues specified by this I switched to using: return

[web2py] After login bringing up a page link

2011-05-06 Thread JagChris
After logging in, i want a user to see a link popping up on the screen so that when they click this link they go straight to a different page?

[web2py] Re: Confusion using experts4solutions

2011-05-06 Thread Massimo Di Pierro
:-) On May 6, 11:15 am, GoldenTiger goldenboy...@gmail.com wrote: *    Massimo Di Pierro*: *   I did not know Ross (or I did not remember). That means there are even   more people doing experts4solution work than I thought * Me too. My current job is because web2py. It is a high-paying

[web2py] Re: Update application without deleting tables

2011-05-06 Thread Massimo Di Pierro
I think you are using auth but are not running auth.define_tables() On May 6, 11:03 am, Marcelo Martinez alexra...@gmail.com wrote: reason to remove the tables is because I get the following error: type'exceptions.AttributeError' ('NoneType' object has no attribute 'insert ') an attachment

[web2py] Re: After login bringing up a page link

2011-05-06 Thread Massimo Di Pierro
This may work, but I have not tred it auth.settings.login_onaccept = lambda form: session.update(dict(flash=A('click me',_href=URL('index' On May 6, 11:40 am, JagChris cja...@gmail.com wrote: After logging in, i want a user to see a link popping up on the screen so that when they click

[web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Ross Peoples
I am still in the process of rewriting my modules and I've run into a problem. First, I noticed that auth is not part of current. Only cache, session, request, response, and T are a part of current. I have z_import_modules.py model that I used to use to import modules using local_import().

Re: [web2py] PowerTable editable callback

2011-05-06 Thread Bruno Rocha
Hi Thiago, from where are you getting the cariable 'value'? can you see an error ticket on admin? BTW: PowerTable is in 'alfa' version, I have to finish this plugin (any volunteer to help?) The editable functionality is experimental but it works for some cases, let me explain how it works. It

Re: [web2py] Re: Confusion using experts4solutions

2011-05-06 Thread Jason Brower
Awww... Massimo... is that a tear? I knew you had made a good product, but I didn't know you were man enough to cry about it. :) :P On 05/06/2011 08:15 PM, Massimo Di Pierro wrote: :-) On May 6, 11:15 am, GoldenTigergoldenboy...@gmail.com wrote: *Massimo Di Pierro*: * I did not know

[web2py] Re: webfaction python2.5 - python2.6

2011-05-06 Thread robsan
I'd appreciate if you could share your insight on that configuration, as I'm currently using Apache and would like to slim down the setup. On May 6, 5:29 pm, Vasile Ermicioi elff...@gmail.com wrote: I also use webfaction : python2.7 + uwsgi + nginx if you like and need help with that

Re: [web2py] Re: a chance to vote for web2py

2011-05-06 Thread Ovidio Marinho
top 9 voted. Ovidio Marinho Falcao Neto ovidio...@gmail.com 88269088 Paraiba-Brasil 2011/5/6 Robert Kooij zater...@gmail.com Voted! :)

[web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Ross Peoples
Ignore the part about 'from gluon import current' not working in the models. Restarting the web2py server fixed the problem. I may have forgotten to do that after updating from trunk. But out of curiosity, is there a reason other model variables (auth, db, etc) are showing up in current?

[web2py] Cloud Database

2011-05-06 Thread stargate
If you are starting out a new social site is it better to do it in mySQL first then move to a cloud database. Which cloud database is better and similar to mySQL slect statements?

Re: [web2py] Re: webfaction python2.5 - python2.6

2011-05-06 Thread Vasile Ermicioi
I guess you can use nginx 1.0.1, but I send you what I did and I know that it works [nginx] wget http://nginx.org/download/nginx-0.8.54.tar.gz tar xvxf nginx-0.8.54.tar.gz cd nginx-0.8.54 ./configure \ --prefix=/home/yourusername/nginx \ --sbin-path=/home/yourusername/nginx/sbin/nginx \

Re: [web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Jonathan Lundell
On May 6, 2011, at 10:56 AM, Ross Peoples wrote: Ignore the part about 'from gluon import current' not working in the models. Restarting the web2py server fixed the problem. I may have forgotten to do that after updating from trunk. But out of curiosity, is there a reason other model

[web2py] Compile Error

2011-05-06 Thread Deepan
Hi All, I am relatively new to web2py. I built a small application it works perfectly fine, but when I try to compile the applications it results in an error. It would be great if some one could let me know where i am going wrong !!! Here is the trace: Traceback (most recent call last): File

[web2py] automate web2py startup and shutdown via the command line in linux, OS X and unix etc.

2011-05-06 Thread Christopher Steel
If you are running OS X or some other nix like OS you can use the GUI in which case you need to type your administrative password or you can go without the GUI in which case you need to manually point your browser to the correct location. You can have both with these two collections of commands

Re: [web2py] Cloud Database

2011-05-06 Thread Bruno Rocha
Google BigTable except for the joins.. On Fri, May 6, 2011 at 3:06 PM, stargate kyoukh...@gmail.com wrote: If you are starting out a new social site is it better to do it in mySQL first then move to a cloud database. Which cloud database is better and similar to mySQL slect statements?

Re: [web2py] Re: some new cool stuff in trunk under testing

2011-05-06 Thread Ross Peoples
That would be nice. Also might I suggest a way to import gluon.storage.Storage when doing 'from gluon import *'. I find myself using Storage a lot, so having that load as a part of 'from gluon import *' would be awesome.

Re: [web2py] Re: python/javascript

2011-05-06 Thread TÅ®å ßrown
smiles... thats perfectly ok.. and i understand trust me i do lol.. -- Live Laugh Love || Strength, Courage and Wisdom

[web2py] Re: Cloud Database

2011-05-06 Thread stargate
Can Google BigTable work with web2py and can it be hosted on http://www.dotcloud.com/ ? On May 6, 2:16 pm, Bruno Rocha rochacbr...@gmail.com wrote: Google BigTable except for the joins.. On Fri, May 6, 2011 at 3:06 PM, stargate kyoukh...@gmail.com wrote: If you are starting out a new social

[web2py] Re: Compile Error

2011-05-06 Thread Ross Peoples
I think you have an {{include 'file'}} somewhere in one of your templates, and it can't find the filename.

[web2py] Problem with Mail.Attachment

2011-05-06 Thread Ross Peoples
Updated web2py from trunk this morning. Something changed in tools.py in the last few days that caused the following code to fail: attachment = (Mail.Attachment(filename)) The error that results: File /media/psf/Python/web2py/gluon/tools.py, line 139, in __init__ content_type =

[web2py] Re: a chance to vote for web2py

2011-05-06 Thread cyber
* Voted! Top 9! * On 6 май, 21:53, Ovidio Marinho ovidio...@gmail.com wrote: top 9 voted.         Ovidio Marinho Falcao Neto              ovidio...@gmail.com                      88269088                    Paraiba-Brasil 2011/5/6 Robert Kooij zater...@gmail.com

[web2py] Re: a chance to vote for web2py

2011-05-06 Thread cyber
top 8 On 6 май, 23:17, cyber vlad.mul...@gmail.com wrote: * Voted! Top 9! * On 6 май, 21:53, Ovidio Marinho ovidio...@gmail.com wrote: top 9 voted.         Ovidio Marinho Falcao Neto              ovidio...@gmail.com                      88269088      

[web2py] sessions2trash.py improved

2011-05-06 Thread Jim Karsten
Ross Peoples and I created a new version of sessions2trash.py. Features include: - Deletes expired sessions files only based on sessions actual expiration value. - An option to delete sessions files once, then exit. - An option to set the expiration time, overriding the

[web2py] Multiuser mode issues with uploading project

2011-05-06 Thread ADE
Hello I am trying to figure out Multiuser mode. The issue I am having is when a user uploads a project it doesn't appear in there workspace Another issue is if I upload a project as admin its not editable and in this case the project had an error and I could not see those errors, I received the

[web2py] Re: Cloud Database

2011-05-06 Thread pbreit
Google App Engine or MySQL are fine so go with what you are most comfortable with. As you get going you'll gain a better understanding of what your needs are and what solutions are most appropriate. You can even use both if necessary.

[web2py] Re: Multiuser mode issues with uploading project

2011-05-06 Thread Massimo Di Pierro
The point of multi-user model is to allow a teacher to setup an environment for students. Each student gets one app. There is no security, nothing to prevent one student to mess up web2py and/or other students projects. On May 6, 2:38 pm, ADE randra...@gmail.com wrote: Hello I am trying to

[web2py] Re: Problem with Mail.Attachment

2011-05-06 Thread pbreit
attachment = Mail.Attachment(filename) is not callable usually means there is something in () that should not bet.

[web2py] Odg.: Re: 1.95.1 - Field delete_this_record does not belong to the table

2011-05-06 Thread andrej burja
it is not (in 2011-05-05) but there is one difference: even when deletable is enabled, i first get the error (when there is an upload field) Field logo_highres__delete does not belong to the table andrej

[web2py] Re: skinning a cat ...

2011-05-06 Thread Niphlod
go for raw sql if you need to, but be aware that that article was written in 2007, testing only MS SQL Server behaviour we are in 2011, MS SQL Server 2008 is on the run (and that article could be referring only to the 2000 or 2005 version)... Hopefully MS ingeneers have found (or will find)

[web2py] Error on python2.4

2011-05-06 Thread Tito Garrido
Folks, I'm using kinghost.com.br as hosting and I got the following error when I try to login as a user on web2py: Traceback (most recent call last):\n File /home/falavalmir/apps_wsgi/falavalmir/gluon/restricted.py, line 181, in restricted\nexec ccode in environment\n File

Re: [web2py] Re: a chance to vote for web2py

2011-05-06 Thread Bruno Rocha
I hope people from other frameworks do not come to argue against. I know people who would do anything not to devalue the money they has investment in python frameworks. -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] On Fri, May 6, 2011 at 4:20 PM, cyber vlad.mul...@gmail.com wrote:

Re: [web2py] Re: python 2.4 support

2011-05-06 Thread Tito Garrido
Same problem to me :( On Wed, Jul 28, 2010 at 8:27 PM, Cory Coager ccoa...@gmail.com wrote: Sorry for my delay in testing. The gluon/tools.py seems to be compatible now and the rocket patch seems to work also. However, the hashlib issue still exists as I'm still getting this error:

[web2py] Re: automate web2py startup and shutdown via the command line in linux, OS X and unix etc.

2011-05-06 Thread Christopher Steel
I found an interesting discussion on this here: http://groups.google.com/group/web2py/browse_thread/thread/1c3621393c7f0a33 It includes a nice one for starting and stopping Web2py from the command line that Jonathan Lundell made from a script in scripts/ Seems to work great on OS X. C. On May

[web2py] Re: Cloud Database

2011-05-06 Thread howesc
google big table is used in conjunction with the Google App Engine. there are several known web2py applications that are successfully deployed on Google App Engine. Google provides hosting for all app engine applications, and it's free up to certain daily usage limits.

[web2py] Re: Error on python2.4

2011-05-06 Thread pbreit
Ca we see some code? The lines around line 72 in default.py

[web2py] Re: Odg.: Re: 1.95.1 - Field delete_this_record does not belong to the table

2011-05-06 Thread Massimo Di Pierro
Can you print for me what is in request.vars when you get this error? On May 6, 2:49 pm, andrej burja andrej.bu...@gmail.com wrote: it is not (in 2011-05-05) but there is one difference: even when deletable is enabled, i first get the error (when there is an upload field) Field

[web2py] Audit for all tables, independent of CRUD; and transaction rollback.

2011-05-06 Thread nick name
My use of web2py requires an audit trail for (essentially) all database tables; The preferable way to do that is to keep a foo_history table for each table foo. The records (both audited and original) need to have a revision that increments with each update, and last modified on, last modified

[web2py] a new html editor

2011-05-06 Thread elffikk
hi, I am here to present a work in progress: a lighweight jquery based html editor http://8plus2.org/init/static/bolteditor/index.html it is in alpha version now it is 10kb of js code + 15kb html+css+images and of course dependencies jquery and jquery.ui.position user interface (and just user

[web2py] Re: Audit for all tables, independent of CRUD; and transaction rollback.

2011-05-06 Thread pbreit
Check out auth.signature. It adds and manipulates these columns: is_active, created_on, created_by, modified_on, modified_by. I think is_active is to be used in place of deleting but I'm not sure. I believe it's based on the Table Inheritance capability:

[web2py] Re: a new html editor

2011-05-06 Thread pbreit
Not too bad. I've been using NicEdit and am reasonably happy although not married to it. Despite the plethora of options, I still haven't one that doesn't suck in some way. TinyMCE is way too bloated and outdated. CKeditor is also bloated and the new design is horrific. Regarding yours: *

Re: [web2py] Re: a new html editor

2011-05-06 Thread ADE
I don't mind the gray. Maybe make the colours easily customizable some how for it I agree window should be re-sizable And tool tips are handy :-) What I think a lot of these apps miss is the ability to embed youtube videos and different stuff like that maybe make a BBCode extension also I

Re: [web2py] Re: Error on python2.4

2011-05-06 Thread Tito Garrido
I could solve the problem commenting the sha512 keys setting... It's not on my code... seems that web2py doesn't support python 2.4 anymore... On Fri, May 6, 2011 at 6:35 PM, pbreit pbreitenb...@gmail.com wrote: Ca we see some code? The lines around line 72 in default.py -- Linux User

Re: [web2py] Re: a new html editor

2011-05-06 Thread pbreit
Just seems like the gray fade wil not fit in with any site design. A solid, very light shade of gray or just white I think works better. Looks a little Windows-ish which will be a non-starter for many.

[web2py] help

2011-05-06 Thread Resa
how can i redirect to another page in a JavaScript function without executing it until the function is actually called???

Re: [web2py] help

2011-05-06 Thread Shishir Ramam
http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery On Fri, May 6, 2011 at 5:21 PM, Resa taratbr...@gmail.com wrote: how can i redirect to another page in a JavaScript function without executing it until the function is actually called??? -- Imagine there

[web2py] Re: help

2011-05-06 Thread Resa
mean i am in index.html and it had a javascript function that holds redirect to physics.html... when i load index.html it doesn't go to index.html at all it skips it and executed physics.html.. do u understand? so when the page is loaded it executes the JavaScript without it being called On May

[web2py] Re: Audit for all tables, independent of CRUD; and transaction rollback.

2011-05-06 Thread DenesL
Have a look at http://web2py.com/book/default/chapter/07#Record-Versioning On May 6, 6:18 pm, nick name i.like.privacy@gmail.com wrote: My use of web2py requires an audit trail for (essentially) all database tables; The preferable way to do that is to keep a foo_history table for each

  1   2   >