[web2py] Re: IMG helper and _width

2010-11-10 Thread annet
Massimo, Thanks, problem solved. However, this: {{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/%s' % logo[0].link), _vertical-align=middle)}} .. result in a SyntaxError: keyword can't be an expression According to W3C I should be able to set vertical-align on an img. Kind

[web2py] CAS not found

2010-11-10 Thread notabene
The CAS provider applicance should be here. http://mdp.cti.depaul.edu/appliances/default/index (https:// www.web2py.com/cas) https://mdp.cti.depaul.edu/cas (http://en.wikipedia.org/wiki/ Central_Authentication_Service). But I am not able to find it?

Re: [web2py] Re: IMG helper and _width

2010-11-10 Thread Bruno Rocha
This is working for me: {{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/%s' % logo[0].link), _style=vertical-align:'middle';)}} 2010/11/10 annet annet.verm...@gmail.com Massimo, Thanks, problem solved. However, this:

[web2py] Re: How to switch back to English for the Admin interface?

2010-11-10 Thread Stefan Scholl
I know, but I don't want to use one browser for development (English) and one for the rest (German). On 9 Nov., 14:28, mdipierro mdipie...@cs.depaul.edu wrote: wait. You should not need to delete files. The language is set by your browser. On Nov 9, 3:41 am, Stefan Scholl

[web2py] Re: validators order

2010-11-10 Thread andrej burja
thank you it is too obvious to see that i made replacement of the validators :) On Nov 4, 10:24 am, DenesL denes1...@yahoo.ca wrote: On Nov 3, 3:52 pm, andrej burja andrej.bu...@gmail.com wrote: hi why is order of validators important? i have db.tecaj.voditelj.requires=IS_NOT_EMPTY()

Re: [web2py] Re: UnicodeDecodeError: 'ascii' codec can't decode byte ...

2010-11-10 Thread Omri
sorry for the stupid question - but how can I call the print data function inside a function that is called through JSONRPC? where will I see the output? in case it helps - I know that at least I get the two fields that I sent, because the last line (where I name them specifically) works. On Tue,

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-10 Thread villas
The function looks interesting, but I didnt understand how to create the cols var. def mytable(rows, cols): return TABLE(*[TR(*[TD(row[c]) for c in cols]) for row in rows]) I would be grateful for an example how it might work. I did have this other idea to include an extra column, but I

[web2py] Small suggestion regarding auth.add_membership

2010-11-10 Thread Omri
Hello all, I used auth.add_membership today for the first time, and I realized that the add_membership function adds a membership also if the user already has this membership. Wouldn't it make more sense if the function first uses the has_membership function to check if the user is already a

Re: [web2py] Re: IMG helper and _width

2010-11-10 Thread Martín Mulone
Like bruno said, there are no attribute vertical-align in img object, this is css style thing 2010/11/10 Bruno Rocha rochacbr...@gmail.com This is working for me: {{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/%s' % logo[0].link), _style=vertical-align:'middle';)}}

[web2py] Re: linked tables and dropdown display

2010-11-10 Thread andrej burja
does not work, still getting id and no name On Nov 4, 3:59 pm, mdipierro mdipie...@cs.depaul.edu wrote: do this: db.define.table('basic'                 Field('name1')                 ...,format='%(name1)s') db.define.table('advanced'                 Field('name2',db.basic)              

Re: [web2py] Re: Not getting a result from query

2010-11-10 Thread Lorin Rivers
Alex, You put me on the right track! Thanks. -- Lorin Rivers Mosasaur: Killer Technical Marketing http://www.mosasaur.com mailto:lriv...@mosasaur.com 512/203.3198 (m)

[web2py] Re: UnicodeDecodeError: 'ascii' codec can't decode byte ...

2010-11-10 Thread mdipierro
If you start web2py from the console you should see the output to the console. You can also print to a file or log the output if that makes it easier. On Nov 10, 5:47 am, Omri omri...@gmail.com wrote: sorry for the stupid question - but how can I call the print data function inside a function

[web2py] Re: Small suggestion regarding auth.add_membership

2010-11-10 Thread mdipierro
yes. In trunk, please check it. On Nov 10, 5:52 am, Omri omri...@gmail.com wrote: Hello all, I used auth.add_membership today for the first time, and I realized that the add_membership function adds a membership also if the user already has this membership. Wouldn't it make more sense if

[web2py] Re: CAS not found

2010-11-10 Thread mdipierro
Has moved http://web2py.com/cas On Nov 10, 6:46 am, notabene niels...@gmail.com wrote: The CAS  provider applicance should be here.http://mdp.cti.depaul.edu/appliances/default/index (https://www.web2py.com/cas)https://mdp.cti.depaul.edu/cas(http://en.wikipedia.org/wiki/

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-10 Thread DenesL
If all you need is an extra column have a look at col3 in SQLFORM http://web2py.com/book/default/chapter/07#SQLFORM On Nov 10, 5:33 am, villas villa...@gmail.com wrote: The function looks interesting, but I didnt understand how to create the cols var. def mytable(rows, cols): return

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread mdipierro
Sorry I did not help. I cannot help you because the code you have above is incomplete. It opens a but never closes so I not understand how callback is used. Anyway I assume in the view you have: {{callback = URL(r=request,c='plugin_jqgrid',f='data',

[web2py] Re: Error Installing Appliance

2010-11-10 Thread mdipierro
If you are using Windows, can you please try the web2py binary distribution. Personally I have never used web2py with ActiveState Python and I cannot exclude some quirks with it. On Nov 10, 7:31 am, Syed syed.f.ka...@gmail.com wrote: Apologies for what will probably be a complete noob-error. I

[web2py] Re: error with uploadfield and blob

2010-11-10 Thread mdipierro
bug. Fixed in trunk. Sorry it took so long. On Nov 8, 10:38 pm, richard.ree richard.h@gmail.com wrote: I want to upload a file and store it in a blob field: db.define_table(     data,     Field(citation, string, required=True, notnull=True),     Field(datafile, upload,

[web2py] Re: Upload a file to db and store all metadata to separated db fields

2010-11-10 Thread mdipierro
def Upload(): from gluon.contenttype import contenttype import os, stat form=SQLFORM(db.image) if form.accepts(request.vars, session): file_handler = request.vars.pic ### this if a cgi.FieldStorage file_path = os.path.join(request.folder, 'uploads/',form.vars.pic)

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Syed
I'll make sure that all variables are removed from the equation.--I'll uninstall everything and that start from scratch with 2.5.5 from python.org. And then I'll be sure to try the binary distribution. I'll report back with the results. Thanks.

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread AsmanCom
Hi Massimo, never mind. I do not want the variable passed with jQuery.getJSON, but with the url: '% (callback) s', which is called with LoadComplete: .trigger (reload grid). Here's the code so far.. _ app/models/plugin_jqgrid.py: def

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread mdipierro
replace jQuery(document).ready(function(server_time){jQuery(#% (id)s).jqGrid({ url:'%(callback)s', with jQuery(document).ready(function(server_time){jQuery(#% (id)s).jqGrid({ url:'%(callback)sserver_time'+escape(server_time), On Nov 10, 9:34 am, AsmanCom d.as...@web.de

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Anthony
Note, if you use the web2py binary, it includes Python (2.5, I think), so you don't need to install Python separately. If you want to install your own Python, then you can run web2py from source on Windows (make sure your Python installation directory is in your Windows PATH variable). If

[web2py] help us test new admin on windows....

2010-11-10 Thread mdipierro
download the windows binary (nightly built) from http://web2py.com/examples/default/download with FF and IE, try admin, try create a new app and edit a file, report any problem.

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread AsmanCom
tried it like this: app/models/plugin_jqgrid.py: var server_time=null; jQuery(document).ready(function(server_time){jQuery(#% (id)s).jqGrid({ url:'%(callback)sserver_time'+escape(server_time), app/controllers/plugin_jqgrid.py: def data(): sleep(10) ... test1 =

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread mdipierro
You need to install firebug and check in the console log what is going on. On Nov 10, 9:53 am, AsmanCom d.as...@web.de wrote: tried it like this: app/models/plugin_jqgrid.py: var server_time=null; jQuery(document).ready(function(server_time){jQuery(#% (id)s).jqGrid({

[web2py] cas incorrect address in email

2010-11-10 Thread leone
Hi, CAS return this incorrect address in email https://mdp.cti.depaul.edu/cas/cas/verify?id=191key=d1c373ab1570cfb9a7dbb53c186b37a2 It must be https://www.web2py.com/cas/cas/verify?id=191key=d1c373ab1570cfb9a7dbb53c186b37a2 What can I do to correct it. There is a CAS application downloadable?

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread AsmanCom
By the way, how can i set initially the var server_time=null; to a python readble False? THX On 10 Nov., 16:55, mdipierro mdipie...@cs.depaul.edu wrote: You need to install firebug and check in the console log what is going on. On Nov 10, 9:53 am, AsmanCom d.as...@web.de wrote: tried it

Re: [web2py] Re: UnicodeDecodeError: 'ascii' codec can't decode byte ...

2010-11-10 Thread Omri
I should have thought about that.. the result from the print data function is: {u'textfield': u'Viele Umlauts: \xe4\xe4\xe4\xfc\xfc\xfc\xdc\xdc\xdc\xd6\xd6\xd6\xe4\xe4\xe4', u'name': u'\xdcberprufen'} for the following data sent: data = { name : Überprufen, textfield

[web2py] Re: Plugin_JqGrid long-polling

2010-11-10 Thread AsmanCom
http://127.0.0.1:8000/core/plugin_jqgrid/data?fieldname=tablename=devicefieldvalue=Nonecolumns=id%2Ccolumn1%2Ccolumn2%2Ccolumn3%2Ccolumn4%2Ccolumn5%2Ccolumn6%2Ccolumn7%2Ccolumn8%2Ccolumn9%2Ccolumn10server_timenull_search=falsend=1289404767209rows=10page=1sidx=sord=asc Parameter: _search false

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread mart
Is it worth a test on Mac? On Nov 10, 10:48 am, mdipierro mdipie...@cs.depaul.edu wrote: download the windows binary (nightly built) from    http://web2py.com/examples/default/download with FF and IE, try admin, try create a new app and edit a file, report any problem.

[web2py] Pagination [Web2py Utils] returns None

2010-11-10 Thread Andrew Evans
Hello I am trying to create some pagination on my comments page everything seems to be working, however when I click the next link it goes to a page that all it says is None Anyone know why this is happening and how to fix it There are entries in the db. Thanks in Advance below is my code

[web2py] Re: new demo appliance for gmap and fullcalendar

2010-11-10 Thread JmiXIII
Nice example... Just a note : Line 25 of mycal.html stop: new Date('{{=row.f_end_time.strftime('%B %d, %Y %H:%M:%S')}}'), should be: end: new Date('{{=row.f_end_time.strftime('%B %d, %Y %H:%M:%S')}}'), So events longer than a day render correctly. On 10 nov, 16:35, mdipierro

[web2py] plugin wiki on older aps?

2010-11-10 Thread mart
Hi, Helping my daughter with a school project and she loves the look of web2py in the Example minimalist wiki with versioning and authentication. She 's making a memory game (not sure how, but she is ;) ). Since she knows how to use the widget builder in plugin_wiki, she installed it, has the

Re: [web2py] plugin wiki on older aps?

2010-11-10 Thread Bruno Rocha
You have to replace web2py_ajax.html to a new version. web2py_components depends on some things in web2py_ajax.html! 2010/11/10 mart msenecal...@gmail.com Hi, Helping my daughter with a school project and she loves the look of web2py in the Example minimalist wiki with versioning and

Re: [web2py] plugin wiki on older aps?

2010-11-10 Thread Bruno Rocha
The newest version http://code.google.com/p/web2py/source/browse/applications/welcome/views/web2py_ajax.html 2010/11/10 Bruno Rocha rochacbr...@gmail.com You have to replace web2py_ajax.html to a new version. web2py_components depends on some things in web2py_ajax.html! 2010/11/10 mart

[web2py] Re: IMG helper and _width

2010-11-10 Thread annet
@Bruno, Thanks for providing me with a working solution. @Denes, Thanks for explaining me why I got this error. Kind regards, Annet. On Nov 10, 3:20 pm, DenesL denes1...@yahoo.ca wrote: Annet, allow me a little explanation on why you got SyntaxError: keyword can't be an expression.

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread Anthony
Creating a new app and editing files seems to work fine in IE and FF on Windows. One question: For files in subfolders, there is no slash in between the folder and file name (e.g., under static/css/ it says css base.css instead of css/base.css) -- is that intentional? Actually, now that we're

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
ah, i see it! :) Great! I must have declined the replace file? while dropping an updated filesset. thank you very much for that! :) On Nov 10, 12:35 pm, Bruno Rocha rochacbr...@gmail.com wrote: The newest versionhttp://code.google.com/p/web2py/source/browse/applications/welcome/vi...

Re: [web2py] Re: help us test new admin on windows....

2010-11-10 Thread Branko Vukelic
On Wed, Nov 10, 2010 at 6:51 PM, Anthony abasta...@gmail.com wrote: now that we're indenting the file names within subfolders, maybe we can simply get rid of the path altogether (this will especially help when there are several nested subfolders). I absolutely agree. In fact, I would have done

[web2py] flow charts

2010-11-10 Thread mart
Hey, Anybody know of any relatively decent flow chart app out there that would be compatible with web2py? Thanks, Mart :)

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
Works great! double thanks! she'll be thrilled, now I just need to change the blueish-green header/footer to purple, then I can walk away :) On Nov 10, 12:51 pm, mart msenecal...@gmail.com wrote: ah, i see it! :) Great! I must have declined the replace file? while dropping an updated filesset.

[web2py] problem whith admin

2010-11-10 Thread Jose
I have to edit some applications problems with the new admin. With some works without problems. In other gives the following error: Traceback (most recent call last): File /usr/home/jose/web2py/gluon/restricted.py, line 188, in restricted exec ccode in environment File

[web2py] Re: cas incorrect address in email

2010-11-10 Thread mdipierro
fixed everywhere I think On Nov 10, 9:58 am, leone handja...@gmail.com wrote: Hi, CAS return this incorrect address in emailhttps://mdp.cti.depaul.edu/cas/cas/verify?id=191key=d1c373ab1570cfb9... It must behttps://www.web2py.com/cas/cas/verify?id=191key=d1c373ab1570cfb9a7db... What can I

[web2py] Re: Pyodbc error with web2py under Apache and mod_wsgi

2010-11-10 Thread azarkowsky
Hi Massimo, Thanks for your prompt response. That was my first thought as well. The system I'm working on though is a pretty fresh build and searching the file system for 'site-packages' I only find results (as expected) within web2py and in my python installation folder, 'C:\python'. So unless

[web2py] another component question

2010-11-10 Thread Chris Baron
Hello web2py users, I've been playing around with components recently and they are helping me modularize my application. I was hoping someone could explain to me why they do what they do. I've noticed that when a controller function that is referenced by a component returns a dict(), it

Re: [web2py] Re: plugin wiki on older aps?

2010-11-10 Thread rochacbruno
You can try web2py.com/layouts Enviado via iPhone Em 10/11/2010, às 16:04, mart msenecal...@gmail.com escreveu: Works great! double thanks! she'll be thrilled, now I just need to change the blueish-green header/footer to purple, then I can walk away :) On Nov 10, 12:51 pm, mart

[web2py] Re: making layout plugin

2010-11-10 Thread Carlos
Hi John, I'm interested on the theme you are working on for web2py, in case you want to share. Thanks!, Carlos On Nov 9, 4:25 am, John Murphy wonsu...@gmail.com wrote: There are numerous web2py themes, but none of them are very good. So I decided to make a nice one based

[web2py] Web2py Application Exhibition ( Version 2.0 ) 5 weeks to go!

2010-11-10 Thread NetAdmin
Just in case you didn't see the pinned message at the top of the group messages, there are 5 weeks to get your apps ready for the Web2py Application Exhibition ( Version 2.0 ) For more details, see the pinned message. Good Luck! Mr.NetAdmin

[web2py] Re: linked tables and dropdown display

2010-11-10 Thread andrej burja
hi is it possible to create a text field in table 'advandced' containing 'name1' (no reference, just characters) andrej On 10 nov., 15:22, mdipierro mdipie...@cs.depaul.edu wrote: ERRATA: do this: db.define.table('basic'                 Field('name1')                

[web2py] Can I use redirect to pass hash variable?

2010-11-10 Thread Tom Chang
All, I just realized that when I pass a hash variable to redirect, it will get converted into a string? Is there a way I can pass a hash variable via redirect? for example, redirect(URL(r=request, f='scmView.html',vars=dict(scmResult=scmResult, a= a,

Re: [web2py] Re: making layout plugin

2010-11-10 Thread John Kim Murphy
I kind of stopped working on it after I learned that the Web2Py nightly has a default layout that is much more pleasing to the eye. I just wanted to demo my Web2Py appliances with a better looking theme. You can grab what I have, though:

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread mdipierro
fixed in trunk On Nov 10, 11:55 am, Branko Vukelic bg.bra...@gmail.com wrote: On Wed, Nov 10, 2010 at 6:51 PM, Anthony abasta...@gmail.com wrote: now that we're indenting the file names within subfolders, maybe we can simply get rid of the path altogether (this will especially help when

[web2py] Re: another component question

2010-11-10 Thread mdipierro
On Nov 10, 12:50 pm, Chris Baron topher.ba...@gmail.com wrote: Hello web2py users, I've been playing around with components recently and they are helping me modularize my application.  I was hoping someone could explain to me why they do what they do. I've noticed that when a controller

[web2py] Re: linked tables and dropdown display

2010-11-10 Thread mdipierro
db.define.table('advanced' Field('name1',requires=IS_IN_DB(db,'basic.name1')), On Nov 10, 1:49 pm, andrej burja andrej.bu...@gmail.com wrote: hi is it possible to create a text field in table 'advandced' containing 'name1' (no reference, just characters) andrej On 10 nov.,

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread qqsaqq
I tried the nightly on Win7 with FF 3.6 and IE. I couldn't break anything significant. Creating an app and fiddling around with it worked just fine. One thing that's a bit odd is the in file search, which doesn't seem to have any effect on FF (I entered index and pressed enter). On IE it's a bit

[web2py] Re: Can I use redirect to pass hash variable?

2010-11-10 Thread mdipierro
URL generates a URL, it can only contains strings. On Nov 10, 1:50 pm, Tom Chang t72...@gmail.com wrote: All, I just realized that when I pass a hash variable to redirect, it will get converted into a string? Is there a way I can pass a hash variable via redirect? for example,

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread qqsaqq
IE8 to be precise On 10 Nov., 21:00, qqsaqq sla...@gmx.net wrote: I tried the nightly on Win7 with FF 3.6 and IE. I couldn't break anything significant. Creating an app and fiddling around with it worked just fine. One thing that's a bit odd is the in file search, which doesn't seem to

Re: [web2py] Re: ProgrammingError: (2014, Commands out of sync; you can't run this command now)

2010-11-10 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This one is also quite common: Traceback (most recent call last): File /opt/web2py/gluon/main.py, line 475, in wsgibase BaseAdapter.close_all_instances(BaseAdapter.rollback) File /opt/web2py/gluon/sql.py, line 810, in close_all_instances

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Syed
Complete user-error. Although I did reinstall with python 2.5.4 from python.org, and then the binary distribution of web2py, the probably was a result of me trying to install instantpress_beta5.zip. I found the proper file: web2py.app.instantpress_beta5.w2p Installation was without issue. Sorry

[web2py] Re: error with uploadfield and blob

2010-11-10 Thread richard.ree
Not long at all. Many thanks! On Nov 10, 8:51 am, mdipierro mdipie...@cs.depaul.edu wrote: bug. Fixed in trunk. Sorry it took so long. On Nov 8, 10:38 pm, richard.ree richard.h@gmail.com wrote: I want to upload a file and store it in a blob field: db.define_table(     data,    

[web2py] Re: CRUD select with autosort headers

2010-11-10 Thread yamandu
But this fails when you to show the result of a query. You can only filter by one field from the serverside. It´s good, but not enough. A lot of potential of this jquery plugin is being lost. The editable jqgrid plugin is good, but is not documented and does not work fully. Would be nice to have

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread Anthony
One thing that's a bit odd is the in file search, which doesn't seem to have any effect on FF (I entered index and pressed enter). On IE it's a bit different: index and [enter] collapsed all sections (Models, Controllers, Views,...) and they couldn't be expanded again after this. Only F5

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Anthony
@Anthony: The reason that I am using python 2.5 is because I want web2py to play nicely with App Engine. If I am limiting myself to learning web2py first and foremost, does it matter that I am using python 2.5? If you're creating an app for App Engine, then I suppose sticking with 2.5 makes

[web2py] Re: ProgrammingError: (2014, Commands out of sync; you can't run this command now)

2010-11-10 Thread mdipierro
Here is a the problem. If you put queries in try... except you must follow this pattern: try: ... any db io ... except: db.rollback() If you do not rollback any subsequent attempt to commit or access the db again results in an error. On Nov 10, 2:07 pm, David Zejda d...@atlas.cz wrote:

[web2py] Re: How to switch back to English for the Admin interface?

2010-11-10 Thread guruyaya
I'm not sure how to attach files here, but I've created a patch that creates a dropdown with all possible languages on the admin. Anyone wants it? On Nov 10, 2:53 pm, Stefan Scholl stefan.sch...@gmail.com wrote: I know, but I don't want to use one browser for development (English) and one for

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread mdipierro
In admin/controllers/default.py|search(), can you add a print statement to make sure it is being called and it is returning te correct list of matching files? On Nov 10, 2:49 pm, Anthony abasta...@gmail.com wrote: One thing that's a bit odd is the in file search, which doesn't seem to have

[web2py] Re: How to switch back to English for the Admin interface?

2010-11-10 Thread mdipierro
send it to me and I will take a look. On Nov 10, 3:04 pm, guruyaya guruy...@gmail.com wrote: I'm not sure how to attach files here, but I've created a patch that creates a dropdown with all possible languages on the admin. Anyone wants it? On Nov 10, 2:53 pm, Stefan Scholl

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Anthony
On Nov 10, 3:18 pm, Syed syed.f.ka...@gmail.com wrote: Complete user-error. Although I did reinstall with python 2.5.4 from python.org, and then the binary distribution of web2py Note, if you run the binary version of web2py, I think it simply runs the Python interpreter that comes with web2py

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Syed
Nice. Thanks for the tip. If I'm completely new to python and web2py-- and am most interested building web2py apps on GAE--should I just stick to official book for awhile? Will I need to delve into peculiarities of GAE anytime soon?

[web2py] Re: CRON doesn't work

2010-11-10 Thread Jonas Rundberg
Hi Sverre, I have the exact same issue. (Running web2py 1.87.3) Did you manage to get to work? / jonas On Nov 4, 11:10 am, Sverre sverreodeg...@gmail.com wrote: My cron tab looking like this #crontab */2 * * * *     root  *sys/test_cron @hourly          root  

[web2py] Re: CRON doesn't work

2010-11-10 Thread mdipierro
Please try the web2py nighlty built. On Nov 10, 3:48 pm, Jonas Rundberg jo...@rundberg.com wrote: Hi Sverre, I have the exact same issue. (Running web2py 1.87.3) Did you manage to get to work? / jonas On Nov 4, 11:10 am, Sverre sverreodeg...@gmail.com wrote: My cron tab looking like

[web2py] simple table div

2010-11-10 Thread Martin.Mulone
I decided to start to make my own implementation of table maker. The diference with sqltable or TABLE(), it use div (more flexible), accept web2py helpers as values and is very simple to use. Example: http://web2pytesting.appspot.com/tablediv/ Code: table =

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread mdipierro
OK, I think I understand and it is fixed. Can you try it again (from trunk)? On Nov 10, 3:43 pm, Anthony abasta...@gmail.com wrote: According to Firebug, when I search for gae, it is calling: http://127.0.0.1:8000/admin/default/search/welcome?keywords=gae and returning the following JSON

Re: [web2py] flow charts

2010-11-10 Thread Michele Comitini
Hi mart, Not a flowchart app, a library, but you can make very nice charts if you need to show them with web2py: http://morrisonpitt.com/jsPlumb/html/jquery/demo.html mic 2010/11/10 mart msenecal...@gmail.com: Hey, Anybody know of any relatively decent flow chart app out there that would

[web2py] Re: Pyodbc error with web2py under Apache and mod_wsgi

2010-11-10 Thread azarkowsky
I just wanted to add that my new build of pyodbc using MinGW32 didn't seem to work either. I removed pyodbc from my Python site-packages folder and after installing MingW and adding it to my PATH in the pyodbc source folder I ran 'python setup.py build -c mingw32' followed by 'python setup.py

Re: [web2py] simple table div

2010-11-10 Thread rochacbruno
Nice! I want to use it. I am thinking in a way to create a inline editable table. Enviado via iPhone Em 10/11/2010, às 20:08, Martin.Mulone mulone.mar...@gmail.com escreveu: I decided to start to make my own implementation of table maker. The diference with sqltable or TABLE(), it use div

[web2py] Re: Pagination [Web2py Utils] returns None

2010-11-10 Thread Andrew Evans
I just noticed the difference in URLs https://127.0.0.1:8000/Working/display/product_wall/4056 above is the comments on the product notice the id. below is the next link of the pagination https://www.127.0.0.1:8000/Working/display/product_wall?p=5 it loses the 4056 which is the id of the

[web2py] Re: flow charts

2010-11-10 Thread mart
Mic, now that's what I'm talking about! That looks awesome! :) Thanks for that! Mart :) On Nov 10, 5:33 pm, Michele Comitini michele.comit...@gmail.com wrote: Hi mart, Not a flowchart app, a library, but you can make very nice charts if you need to show them with web2py:

[web2py] Re: medical data

2010-11-10 Thread mart
have you checked this page? http://en.wikipedia.org/wiki/List_of_open_source_healthcare_software Mart :) On Nov 10, 5:44 pm, mdipierro mdipie...@cs.depaul.edu wrote: Does anybody know of a free database (xml or csv) of medical conditions and/or drugs?

[web2py] Re: plugin wiki on older aps?

2010-11-10 Thread mart
layout , eh? ill give it a go. I assume will be easier then better then me trying the photoshop thing... thanks again Mart :) On Nov 10, 2:10 pm, rochacbruno rochacbr...@gmail.com wrote: You can try web2py.com/layouts Enviado via iPhone Em 10/11/2010, às 16:04, mart msenecal...@gmail.com

[web2py] Re: Selecting from dropdown using Ajax

2010-11-10 Thread oneroler
Alex, Thanks for all your help. Yes, you were correct that the issue was simply that the id value was not being passed in the ajax call. Here is my final code for reference if anyone is interested. default.py def test(): firms = db(db.firm).select() return dict(firms=firms) def

[web2py] radio button issue

2010-11-10 Thread mattynoce
can anyone figure out something going wrong here? i'm trying to get radio buttons that return True/False but show Yes/No to the user. these buttons look good but no matter what you select, they return True. this happens in appadmin, so there's nothing strange in my view code.

[web2py] Re: medical data

2010-11-10 Thread mdipierro
Not quite what I am looking for. Not software but lists of conditions and drugs. On Nov 10, 6:23 pm, mart msenecal...@gmail.com wrote: have you checked this page? http://en.wikipedia.org/wiki/List_of_open_source_healthcare_software Mart :) On Nov 10, 5:44 pm, mdipierro

[web2py] Help with No such file or directory error

2010-11-10 Thread CesarBustios
Hi, i'm trying to make a copy of an image inside my uploads folder. I ´m using the shutil module: import shutil shutil.copy(path, destination) But i get No such file or directory error. Can anyone tell me the correct path if my project is inside: /home/user/web2py/applications/

Re: [web2py] Re: Pagination [Web2py Utils] returns None

2010-11-10 Thread Thadeus Burgess
Its losing the args when it creates a new URL. It will require a patch on set_links so you can pass custom args and vars to URL. -- Thadeus On Wed, Nov 10, 2010 at 4:36 PM, Andrew Evans randra...@gmail.com wrote: I just noticed the difference in URLs

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread Anthony
Now I get a flash that says Searching: 1 files -- but it still doesn't display the matching file. On Nov 10, 5:26 pm, mdipierro mdipie...@cs.depaul.edu wrote: OK, I think I understand and it is fixed. Can you try it again (from trunk)? On Nov 10, 3:43 pm, Anthony abasta...@gmail.com wrote:

[web2py] Re: Error Installing Appliance

2010-11-10 Thread Anthony
On Nov 10, 4:26 pm, Syed syed.f.ka...@gmail.com wrote: Nice. Thanks for the tip. If I'm completely new to python and web2py-- and am most interested building web2py apps on GAE--should I just stick to official book for awhile? Will I need to delve into peculiarities of GAE anytime soon? I

[web2py] Re: help us test new admin on windows....

2010-11-10 Thread mdipierro
Can you email the page source in html? On Nov 10, 7:28 pm, Anthony abasta...@gmail.com wrote: Now I get a flash that says Searching: 1 files -- but it still doesn't display the matching file. On Nov 10, 5:26 pm, mdipierro mdipie...@cs.depaul.edu wrote: OK, I think I understand and it is

[web2py] Re: medical data

2010-11-10 Thread DenesL
Try http://www.health.gov.on.ca/english/providers/program/drugs/edition_40.html On Nov 10, 8:02 pm, mdipierro mdipie...@cs.depaul.edu wrote: Not quite what I am looking for. Not software but lists of conditions and drugs. On Nov 10, 6:23 pm, mart msenecal...@gmail.com wrote: have you

[web2py] Re: flow charts

2010-11-10 Thread Alexandre Augusto
Hey Mart, If you like visual appealing JavaScript Framework you may also be interested in Raphaël—JavaScript Library What is it? Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and

[web2py] Custom JSON-RPC error codes

2010-11-10 Thread Matt
Hi there, (This is probably more or a small request that a question.) The JSON-RPC service by default always returns error codes of 100. Can we possibly have this amended so that we could say raise a custom JsonRpcException (from within our methods) provide a code, and message and have that

[web2py] Re: Learning Management System survey

2010-11-10 Thread rāma
Interesting thread glad I found it by searching the group because this is what I am doing currently. However, the LMS is designed to be a prototype trial though. I will be testing the beta LMS with a bunch of students next week. I will be interested to help too in this project. On Nov 8, 2:45 pm,

[web2py] Re: web2py as a cross-platform mobile application platform

2010-11-10 Thread mdipierro
Can you please run these tests for me? cd into the gluon folder and run python from there (or vice versa). From the python shell run from contenttype import contenttype from storage import Storage, StorageList, Settings, Messages from validators import * from html import * from sqlhtml import *

[web2py] Re: Custom JSON-RPC error codes

2010-11-10 Thread mdipierro
Ok. In trunk. Please give this a try raise service.JsonRpcException(100,info) On Nov 10, 10:07 pm, Matt mjwat...@gmail.com wrote: Hi there, (This is probably more or a small request that a question.) The JSON-RPC service by default always returns error codes of 100. Can we possibly have

[web2py] blocking problem

2010-11-10 Thread VP
I have this problem that I think is related to threading and web2py. I have an apache2 standard setup with web2py. One of the function (in controller) is computing intensive, taking up to 10+ seconds to execute. When this function is called (i.e. http://domain/app/func), the app is locked up.

[web2py] Re: running web2py on Android?

2010-11-10 Thread mdipierro
did this work? should this perhaps be default in web2py? On Nov 9, 9:33 pm, mdipierro mdipie...@cs.depaul.edu wrote: http://code.google.com/p/android-scripting/issues/detail?id=276 On Nov 9, 6:18 pm, pallav pal...@fielddiagnostics.com wrote: I checked and the line was already commented

[web2py] Re: blocking problem

2010-11-10 Thread mdipierro
I do not think this is locking web2py. But there are two possibilities: - if you are using sqlite, the database is locked (sqlite cannot be accessed concurrently) - the user session is locked. This means the user who called the long running process cannot access other actions until his session is

[web2py] Re: blocking problem

2010-11-10 Thread mdipierro
Anyway... a background process may be a better solution (no session problem but you may still have sqlite lock unless you db.commit() manually after each update). On Nov 10, 11:57 pm, mdipierro mdipie...@cs.depaul.edu wrote: I do not think this is locking web2py. But there are two

[web2py] Re: flow charts

2010-11-10 Thread mart
Hey Alexandre, first jsPlumb, now this!... so many choices :) Looks so good as well :) and says easy to use right there on the front page! (love easy to use!). OK, tanks for that as well... I will try them both. Thanks for the tip! Mart :) On Nov 10, 10:08 pm, Alexandre Augusto

  1   2   >