Re: [web2py] How to update web app on server without change the data already in database

2013-01-21 Thread selecta
as Johann already mentioned overwriting all your .py files will not change you database so you should be fine doing that if you do not wan to do this manually you can e.g. use a version control system and exclude the content of the databases directory then on the client side all you have to do

[web2py] scientific reference for migrations

2013-01-21 Thread selecta
As I am currently writing my phD thesis i wonder if there is a proper reference to the migrations technique used in web2py. I cannot even find a proper Wikipedia article for that (not that this would be a reference I would like to use). the closest I found so far is http://guides.rubyonrails.or

[web2py] conditional models requires check if table already exists for db admin to work

2012-07-03 Thread selecta
In my project I use conditional models since I have a lot of tables. However I have a problem since one of the database tables (defined in a conditional model) has to be defined in another conditional model here an example /models/plugin_restapidoc/plugin_restapidoc.py /models/wizard/wizard.py /m

[web2py] Re: Errors creating/reading tickets

2012-04-20 Thread selecta
yes I know this problem for a long time, would be nice if this would be fixed. I guess right now the problem is that the whole ticket display fails if one ticket is corrupted. I think this could be quickfixed by a simple try catch block around the deserialization of each ticket pickle file. On

[web2py] return json with generic.json that is not an object/dictionary

2012-04-13 Thread selecta
is it possible to do something similar to def test(): response.generic_patterns = ['json'] return [1,2,3,4]

[web2py] how to make basic auth work?

2012-04-13 Thread selecta
I enable basic auth with auth.settings.allow_basic_login = True I tried wget --user=u...@bla.de --password=xxx http: //127.0.0.1:8000/pyMantis/tlc/records.json/Strain curl --head -u u...@bla.de:xxx http: //127.0.0.1:8000/pyMantis/tlc/records.json/Strain and the python code import urllib2 import

Re: [web2py] Re: 10.24$ reward for a recipe logging a user

2012-04-02 Thread selecta
I am not able to find out how to email you in private o_O On Tuesday, March 27, 2012 12:06:43 AM UTC+2, bussiere adrien wrote: > > It work > > Thanks > Just mail me in private where to give > Bussiere > > Le lundi 26 mars 2012 20:23:06 UTC+2, selecta a écrit : >>

[web2py] Re: web2py icon/logo?

2012-03-30 Thread selecta
thanks, this is better, even though the quality of the rectangular logo is still a bit crappy, a svg version would be much better (for all the logos) On Thursday, March 29, 2012 5:51:44 PM UTC+2, Anthony wrote: > > On Thursday, March 29, 2012 10:56:47 AM UTC-4, selecta wrote: >>

[web2py] Re: web2py icon/logo?

2012-03-29 Thread selecta
wnload. You might also consider > using the web2py.com favicon, which you can find in the /static folder of > the "examples" app that comes with web2py (see > https://github.com/web2py/web2py/blob/master/applications/examples/static/favicon.ico > ). > > Anthony > > On

[web2py] web2py icon/logo?

2012-03-29 Thread selecta
I want to put an icon of web2py on a poster that I am going to present. Is this icon the right choice? http://s3.amazonaws.com/uploads.uservoice.com/logo/design_setting/60411/original/web2py_icon_4162_0.png?1322778787 I dont want to use the strechted logo (http://web2py.com/examples/static/image

Re: [web2py] Re: 10.24$ reward for a recipe logging a user

2012-03-26 Thread selecta
if it works please donate to the web2py project

[web2py] Re: 10.24$ reward for a recipe logging a user

2012-03-26 Thread selecta
'inscriptioninvit')) On Monday, March 26, 2012 11:53:28 AM UTC+2, selecta wrote: > > did you see this slice > > http://www.web2pyslices.com/​slice/show/1443/auto-login-​when-you-come-from-localhost<http://www.web2pyslices.com/slice/show/1443/auto-login-when-you-come-fr

[web2py] Re: 10.24$ reward for a recipe logging a user

2012-03-26 Thread selecta
did you see this slice http://www.web2pyslices.com/slice/show/1443/auto-login-when-you-come-from-localhost it logs you in when you come from localhost, just exchange the if an there you go :D On Monday, March 26, 2012 2:11:29 AM UTC+2, bussiere adrien wrote: > > it's more a logical problem than y

[web2py] Re: featured web2py apps

2012-03-22 Thread selecta
I know pyMantis would need some clean up but it has some really nice an unique features http://pymantis.org/ source: https://sourceforge.net/scm/?type=hg&group_id=304012 On Thursday, September 22, 2011 8:52:05 PM UTC+2, Massimo Di Pierro wrote: > > I think we should make a list of featured web2p

[web2py] date(time) picker not working with multiple ajax loaded forms

2011-12-08 Thread selecta
If I load multiple forms as web2py components the date(time) picker only works in the first form. Can somebody verify that or is it just a bug in my code?

[web2py] Re: openid server

2011-10-06 Thread selecta
i'm on it so far the only implementation i have seen is https://bitbucket.org/bottiger/web2py-openid/overview but we cannot get it get it working :( tell me if you were more successful with something

[web2py] Re: URL function in external js and css files

2011-09-28 Thread selecta
you can if you put your js and css files in the view folder e.g. controllers/default.py def myscript(): return dict() def index(): response.files.append(URL('myscript.js')) views/default/myscript.js jQuery(document).ready(function() { alert('this is an alert with a web2py url {{=URL('index

[web2py] Re: top 5

2011-09-27 Thread selecta
db.define_table('person',Field('name'),Field('description','text'),Field('sex')) records = db(...).select(..., limitby=(0, 5)) for r in records: r.description = '%s%s'%(r.description[:10],'...' if len(r.description)>10 else '')

[web2py] Re: Import error !!!

2011-09-27 Thread selecta
oh an here the css code to make it work inline (remove scrollbars, infobox, linenumbers and excessive spacing) .syntaxhighlighter { padding-bottom: 1px; margin: 0px !important; } PRE('[(str, int)]', _class='brush: py; gutter: false; toolbar: false;')

[web2py] Re: Import error !!!

2011-09-27 Thread selecta
yes i had the same problem, but since i had some other issues i abandoned this see here https://groups.google.com/forum/#!searchin/web2py/pygments|sort:date/web2py/9EyKOZ-bHHM/1myqDA9qMv0J since this is still not working I changed to http://alexgorbatchev.com/SyntaxHighlighter/ here is an exampl

[web2py] Re: How to Model an 'upload' field to permit more than one attachment?

2011-07-29 Thread selecta
oh yes Field("foobar", "list:upload") would be very nice check google, some people already talked about it On Jul 29, 1:21 pm, António Ramos wrote: > How to Model an 'upload' field to permit more than one attachment? > thank you > > António

[web2py] Re: export data to OOO and Excel

2011-07-25 Thread selecta
Have a look at http://tlc2.hg.sourceforge.net/hgweb/tlc2/tlc2/file/d68f1405e1c5/views/generic.xls http://tlc2.hg.sourceforge.net/hgweb/tlc2/tlc2/file/d68f1405e1c5/views/generic.xlsx they use tablib (which includes xlwt, ...) http://docs.tablib.org/en/latest/index.html

[web2py] Re: plugins

2011-06-20 Thread selecta
> If I find any bug, would you like me to send it to you yes :D please post them here http://pymantis.org/pymantis_server/plugin_issue/index

[web2py] Re: How to create web2py-based desktop app?

2011-06-20 Thread selecta
check out the plugin_release from pyMantis it will automatically build win linux mac and w2p package releases of your app it also has an update mechanism that allows the download and installation of updated versions the plugin is not perfect yet and it would be cool to have more testers/developers

[web2py] Re: import error

2011-06-20 Thread selecta
maybe it is better so switch to some javascript syntax highlighter? any recommendations ...

[web2py] Re: import error

2011-06-20 Thread selecta
> try to replace: > > oldmod = sys.modules['pygments.lexers'] > > with: > > import pygments.lexers as oldmod hagrr why must pygements be so ... i tried that but i got File "applications/pygments_test/modules/pygments/lexers/__init__.py", line 223, in import pygments.lexers as oldmod Attribu

[web2py] Re: plugins

2011-06-20 Thread selecta
On Jun 20, 8:32 am, José L. wrote: > selecta, the downloads > fromhttp://pymantis.org/pymantis_server/plugin_release/downloaddon't work in > any of its versions. i know but the strange thing is that i works from some locations (all that i have access to :( ) and others not (down

[web2py] Re: import error

2011-06-20 Thread selecta
> > but the pygments error still exists > >  oldmod = sys.modules['pygments.lexers'] > >  KeyError: 'pygments.lexers' > > any clue about this one? > > -- > > Hello, > > The importer will import the module as something like > applications.appname.modules.pygments (this the name used for sys.modul

[web2py] Re: import error

2011-06-20 Thread selecta
:39 am, Pierre Thibault wrote: > 2011/6/17 selecta > > > I also have problems importing pygments from the modules directory > >http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.app.pygments_test... > > > i downloaded pygments fromhttp://pypi.python.org/pypi/Pygments >

[web2py] Re: import error

2011-06-19 Thread selecta
thanks sounds great, i will try first thing tomorrow morning at work, things are kind of messed up at home right now ... On Jun 18, 1:39 am, Pierre Thibault wrote: > 2011/6/17 selecta > > > I also have problems importing pygments from the modules directory > >http://jaguar.bio

[web2py] Re: Linking directly to an uploaded image

2011-06-17 Thread selecta
btw if you have different image type you can get the extension with os.path.splitext(path) On Jun 17, 11:41 am, selecta wrote: > The problem is that download creates a http response with attachment > you should be able to write a function that just returns the content > of the image &

[web2py] Re: Linking directly to an uploaded image

2011-06-17 Thread selecta
The problem is that download creates a http response with attachment you should be able to write a function that just returns the content of the image def show() import gluon.contenttype response.headers['Content-Type'] = gluon.contenttype.contenttype('.jpg') filename, file = db.myimages.img_

[web2py] Re: import error

2011-06-17 Thread selecta
vel) File "/home/fkrause/Downloads/tmp/web2py/gluon/custom_import.py", line 75, in __call__ level) File "applications/pygments_test/modules/pygments/lexers/ __init__.py", line 222, in oldmod = sys.modules['pygments.lexers'] KeyError: 'pygments.lexers

[web2py] Re: import error

2011-06-17 Thread selecta
I send you a test app that reproduces the error in case somebody else wants to test/debug you can download it from http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.app.w2popenid_test.w2p On Jun 17, 4:32 am, Pierre Thibault wrote: > 2011/6/15 Massimo Di Pierro > > > looking into this... > > St

[web2py] Re: import error

2011-06-17 Thread selecta
hi there i work with mamadou on this so i try to get some code working for you to test this On Jun 17, 4:32 am, Pierre Thibault wrote: > 2011/6/15 Massimo Di Pierro > > > looking into this... > > Still no news. Should we forget this issue? I really would like to debug but > I don't have enough i

[web2py] Re: SQLFORM layout - very frustrating

2011-06-15 Thread selecta
> you can customize select / option tags layout with CSS that is what i usually do go with you mouse and rightclik on the element and select inspect element (ff+firebug, chrom or opera) now you can see the id of the element in you css you can now write something like #mytable_body{ width: 790px

[web2py] Re: BUG causes all error tickets to be unknown

2011-06-10 Thread selecta
I created a bug report, would be good if someone could confirm this bug http://code.google.com/p/web2py/issues/detail?id=301

[web2py] Re: IS_IN_SET validator not working as expected

2011-06-10 Thread selecta
On Jun 10, 2:21 pm, Ross Peoples wrote: > I'm sure you've already considered this, but maybe use a checkbox instead, yes but this is a question of style an readability, radioboxes with text are just far more descriptive an a single small checkbox > as it's specifically designed to handle true/fa

[web2py] IS_IN_SET validator not working as expected

2011-06-10 Thread selecta
i have the model db.define_table( 'foobar', Field('open', 'boolean', requires = IS_IN_SET([(True, 'open'), (False, 'closed')], zero = None), default = True, widget=SQLFORM.widgets.radio.widget), ) and the controller def edit(): return crud.update(db.foobar, request.args(0), deletable = Fal

[web2py] Re: BUG causes all error tickets to be unknown

2011-06-09 Thread selecta
replacing TAG[''] with DIV solved the problem, but still it would be nice to find out why this causes web2py to act this way

[web2py] Re: BUG causes all error tickets to be unknown

2011-06-09 Thread selecta
On Jun 9, 12:37 pm, Daniel Gonzalez wrote: > Im not working with the latest version, but sometimesn it happens to me, > and is because there's not write permissions on the /errors folder, or > because the  /errors folder does not exists. no this is not the case for me, you can help by following my

[web2py] BUG causes all error tickets to be unknown

2011-06-09 Thread selecta
I check out the latest web2py version from the hg I created a "New simple application" I modified the first menu item in models/menu.py response.menu = [ (TAG['']('Index'), False, URL(request.application,'default','index'), []) ] this does not make sense, and is just for testing, actualy

[web2py] Re: BUG?: Funny Bug with LOAD;

2011-06-07 Thread selecta
if this is fixed properly it could also fix http://code.google.com/p/web2py/issues/detail?id=271 :D On Jun 4, 2:19 am, "Sebastian E. Ovide" wrote: > tracked inhttp://code.google.com/p/web2py/issues/detail?id=285 > > On Sat, Jun 4, 2011 at 12:53 AM, Massimo Di Pierro < > > > > > > massimo.dipie..

[web2py] Re: How to start web2py server permanently

2011-06-07 Thread selecta
if you want to make sure that web2py starts again shortly after a crash you can use this script http://www.web2pyslices.com/main/slices/take_slice/97 On Jun 6, 6:47 pm, Pradeesh wrote: > I have installed web2py on a remote opensuse server 10.3 and I am > using a Putty to start the web2py server.

[web2py] Re: error on crud.update delete

2011-06-01 Thread selecta
31, 3:46 pm, selecta wrote: > > > > > ERROR:web2py:Traceback (most recent call last): > >   File "/home/select/Dev/web2py/gluon/restricted.py", line 181, in > > restricted > >     exec ccode in environment > >   File "/home/select/Dev/web2py/applica

[web2py] running python on client side browser

2011-05-31 Thread selecta
in case you do no know this yet http://syntensity.com/static/python.html

[web2py] crud onaccept vs form.accepts - is this expected

2011-05-31 Thread selecta
def edit(): record_id = request.args(0) def on_accept(form): print 'in on accept' response.headers['web2py-component-command'] = XML("web2py_component('%s','list')"%URL('list')) if not record_id: db.plugin_whishlist.open.readable, db.plugin_whishlist.open.writabl

[web2py] error on crud.update delete

2011-05-31 Thread selecta
ERROR:web2py:Traceback (most recent call last): File "/home/select/Dev/web2py/gluon/restricted.py", line 181, in restricted exec ccode in environment File "/home/select/Dev/web2py/applications/pyMantis/controllers/ plugin_whishlist.py", line 118, in File "/home/select/Dev/web2py/gluon/gl

[web2py] Re: TABLIB - Would be a nice tool to integrate with DAL

2011-05-13 Thread selecta
very nice, just what i need, does it import xls too? xlsx even? On May 13, 9:24 am, Bruno Rocha wrote: >  docshttp://docs.tablib.org/en/latest/index.html > -- > Bruno Rocha > [ About me:http://zerp.ly/rochacbruno] > > > > On Fri, May 13, 2011 at 4:13 AM, Bruno Rocha wrote: > >https://github.com/

[web2py] Re: login fails for ajax components

2011-05-13 Thread selecta
so what about fixing this issue? should i create a issue on gcode?

[web2py] Re: login fails for ajax components

2011-05-12 Thread selecta
On May 11, 7:07 pm, pbreit wrote: > Hmmm...I haven't seen that pattern. I always put the LOAD() in a view. And > decorate the calling controller. I don't see why or when you'd ever want to > protect an individual component. because you cannot grantee that the component cannot be guessed image so

[web2py] Re: login fails for ajax components

2011-05-11 Thread selecta
, selecta wrote: > i have never botherd with this bug very much, but i think this could > be solved by giving the login form a proper action and the class > no_trap

[web2py] login fails for ajax components

2011-05-11 Thread selecta
i have never botherd with this bug very much, but i think this could be solved by giving the login form a proper action and the class no_trap

[web2py] Re: Seperating HTML from JavaScript (while preserving templating with {{= }} in JS ) ... BUG

2011-05-05 Thread selecta
> the DIV is rendered fine in my tests, no need to add any prefix such > as '.html' or '.load' for it to work. hmm ok, i have to try some more, maybe i can find out how to reproduce this strange behavior > > But having a LOAD in the controller generates an unnecessary ajax > call, this was just fo

[web2py] Re: how to set the value of textarea form field on accept, upload without storing files

2011-05-04 Thread selecta
YEEEHA > species_form.element(_id="no_table_species").components[0] = 'foobar' thank you this is what I wanted to, know :D

[web2py] Seperating HTML from JavaScript (while preserving templating with {{= }} in JS ) ... BUG

2011-05-04 Thread selecta
I always wondered how I could separate my JavaScript from the rest of my HTML It came to me and it worked almost well controllers/default.py def index(): response.files.append(URL(request.application,'default','script.js')) return dict(content = LOAD('default', 'strange', ajax=True)) def scrip

[web2py] Re: how to set the value of textarea form field on accept, upload without storing files

2011-05-04 Thread selecta
I tried it but it did not work, also it would be nice if i could do something with the uploaded information first (apply some filter, reformating ...) >   Field('species_file', 'upload', label="Upload Names", > uploadfield='species') > > uploadfield = True # means store file on disk > uploadfield =

[web2py] Re: how to set the value of textarea form field on accept, upload without storing files

2011-05-02 Thread selecta
*bump* On Apr 29, 1:30 pm, selecta wrote: > > Also I wonder if there is a method to upload the file without ever > > storing it? If I remove the uploadfolder argument it does not work. I > > really dont want to store the file at all. > > ok i should have serached a bit

[web2py] Re: how to set the value of textarea form field on accept, upload without storing files

2011-04-29 Thread selecta
> Also I wonder if there is a method to upload the file without ever > storing it? If I remove the uploadfolder argument it does not work. I > really dont want to store the file at all. ok i should have serached a bit more uploadfield=False does the trick a bit more information on the other probl

[web2py] how to set the value of textarea form field on accept, upload without storing files

2011-04-29 Thread selecta
I have the following form species_form = form_factory( Field('species', 'text', label=TAG[''] ("Yeast",BR(),"Systematic Names")), Field('species_file', 'upload', label="Upload Names", uploadfolder=os.path.join(request.folder, 'tmp')), ) I want he text field to be filled

[web2py] Re: problems creating an issue tracker

2011-04-29 Thread selecta
custom error page, but you shouldn't get a loop > either. > > Anthony > > > > On Thursday, April 28, 2011 1:48:55 PM UTC-4, selecta wrote: > > hmm well ic, i guess this still not so bad > > i will create two modes, > > 1) development mode that show the tic

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
> What do you mean by corrupted error tickets? Do you have a traceback? all I get is an unknow error, a printout in the shell and a ticket file if i try to access this ticket file in the appadmin i get the traceback that i posted before Traceback (most recent call last): File "/home/fkrause/Dow

[web2py] Re: problems creating an issue tracker

2011-04-28 Thread selecta
alternative would be to have the errors handled by > a separate application. > > Anthony > > > > On Thursday, April 28, 2011 5:42:54 AM UTC-4, selecta wrote: > > i am currently writing an issue tracker, that works already quite > > nicely > > however I have a bi

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
auth.settings.mailer = None and the error messages are unknown again and only appear in the shell i am stumbeling in the dark, what is going on here? On Apr 28, 11:32 am, selecta wrote: > ok this cant be correct > so i started importing things that were missing > > from gluon.tools import Aut

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
auth.settings.mailer = None and the error messages are unknown again and only appear in the shell On Apr 28, 11:32 am, selecta wrote: > ok this cant be correct > so i started importing things that were missing > > from gluon.tools import Auth #ok > from gluon.tools import Crud #ok >

[web2py] problems creating an issue tracker

2011-04-28 Thread selecta
i am currently writing an issue tracker, that works already quite nicely however I have a big problem I want the issue tracker to create custom error messages i learned that you can do this by modifying routes.py routes_onerror = [ ('pyMantis/500', '/pyMantis/plugin_issue/ error_ticket') ] this w

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
ok this cant be correct so i started importing things that were missing from gluon.tools import Auth #ok from gluon.tools import Crud #ok from gluon.tools import Service #ok from gluon.tools import Mail<-here it starts creating corrupt error tickets again On Apr 28, 11:11 am, selecta wr

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
after deleting my app step by step i found it i had from gluon.tools import * in one of my model files this breaks the ticket generation! On Apr 28, 11:06 am, selecta wrote: > I get an unkown error for every ticket that is created by my > application > I can see the print out of

[web2py] Re: Tr.lời: Re: Tr.lời: Re: Tr.lời: Re: web2py 1.95.1 and open issues

2011-04-28 Thread selecta
I get an unkown error for every ticket that is created by my application I can see the print out of the error trackeback in the shell i started web2py in also the ticked pickle files are broken, when i open the admin to view the tickets i get Traceback (most recent call last): File "/home/fkrause

[web2py] typo

2011-04-27 Thread selecta
File "/home/select/Dev/web2py/gluon/sqlhtml.py", line 944, in createform raise RuntimeError, 'formsyle not supported' RuntimeError: formsyle not supported

[web2py] Re: LOAD/web2py component improved web2py_trap_form

2011-04-25 Thread selecta
> So the solution to multiple forms using LOAD is to define a formname... I > guess... right this is the solution for multiple forms (for all pages, not just LOADed pages) this patch fixes something different: ONE form, multiple submit buttons

[web2py] Re: LOAD/web2py component improved web2py_trap_form

2011-04-23 Thread selecta
it searches for that property (was_clicked_to_submit) and adds this element to the variable list, if you can it would be nice if you could debug it look in firebug/dragonfly/... if was_clicked_to_submit is an attribute of your submit button maybe your submit button has a different type?? On Apr 23, 6:37 pm, Tit

[web2py] Re: IMPROVED: show error tickets directly if you are a authorized web2py admin

2011-04-22 Thread selecta
playing around with it i realised that inluding the admin css file is not a good idea a new css file would have to be added that works better with error messages in web2py components, will get to that after easter, latest

[web2py] Re: IMPROVED: show error tickets directly if you are a authorized web2py admin

2011-04-21 Thread selecta
On Apr 21, 8:04 pm, pbreit wrote: > This potentially saves one click right not more not less >and prevents opening the error in a new tab? why? the link is still there, you can do it if you want to > > -1

[web2py] Re: custom error ticket message

2011-04-21 Thread selecta
> > > On Thursday, April 21, 2011 9:37:33 AM UTC-4, selecta wrote: > > that is not so nice, it would be a lot better if i could define the > > error message in my application > > the reason is that i created an issue tracker plugin that should > > directly be displaye

[web2py] IMPROVED: show error tickets directly if you are a authorized web2py admin

2011-04-21 Thread selecta
this patch fixes the files needed to show error tickets directly if you are logged in into the admin app if not you will only see the old error message, nothing else http://code.google.com/p/web2py/issues/detail?id=241 massimo, it would be really nice if you could look at this and include it into

[web2py] Re: custom error ticket message

2011-04-21 Thread selecta
1 5:44:26 AM UTC-4, selecta wrote: > > I found that in rewrite.py > > def _params_default(app=None): > > there is > >    p.error_message_ticket = ... > > > Is there a way to customise/overwrite this error messag in my > > application? > > or do i have to edit rewrite.py to customize it

[web2py] custom error ticket message

2011-04-21 Thread selecta
I found that in rewrite.py def _params_default(app=None): there is p.error_message_ticket = ... Is there a way to customise/overwrite this error messag in my application? or do i have to edit rewrite.py to customize it

[web2py] Re: LOAD/web2py component improved web2py_trap_form

2011-04-13 Thread selecta
done http://code.google.com/p/web2py/issues/detail?id=232 On Apr 11, 3:44 pm, Massimo Di Pierro wrote: > No objection in principle but need to check implementation. Can you > please open an issue on google code and upload your propose patch. > Thanks. > > Massimo > > On Ap

[web2py] Re: LOAD/web2py component improved web2py_trap_form

2011-04-11 Thread selecta
*bump* massimo will you include this? On Apr 7, 11:46 am, selecta wrote: > itsnt it annoying that when you have forms with multiple submit > buttons in a web2py component the button that is clicked to submit the > form is not submitted > here is a fix for web2py_ajax.html > >

[web2py] Re: Fwd: web2py_1.92.1-1_i386.changes ACCEPTED into unstable

2011-04-11 Thread selecta
+1 yeay On Apr 10, 11:30 pm, Massimo Di Pierro wrote: > +1 > > On Apr 10, 9:35 am, José Luis Redrejo Rodríguez > wrote: > > > > > It's just been accepted into Debian. I'll upload latest stable version > > available (1.94.6) inwww.web2py.comtomorrow. > > So, from now on, Debian users can install

[web2py] Re: component and jquery lightbox

2011-04-07 Thread selecta
print A(filename, _href = URL(request.application, 'default', 'download', args = record.myfile)) it returns issue file so you have the original file name and the name under which it is stored? what other original file name would you need? On Apr 7, 1:53 pm, carlo wrote: > mm

[web2py] Re: component and jquery lightbox

2011-04-07 Thread selecta
record = db.mytable[1] filename, file = db.mytable.myfile.retrieve(record.myfile) A('%s'%filename, _href = URL(request.application, 'default', 'download', args = record.myfile)) i read the answer on this mailing list and i provided it to others like 50 times, this should go into the FAQ of web2py

[web2py] LOAD/web2py component improved web2py_trap_form

2011-04-07 Thread selecta
itsnt it annoying that when you have forms with multiple submit buttons in a web2py component the button that is clicked to submit the form is not submitted here is a fix for web2py_ajax.html now you can have forms with 2 or more submit buttons/images in web2py components diff -r 25822b3791e4 ap

[web2py] Re: Congratulations to this mailing list

2011-04-04 Thread selecta
ah i was just about to complain that the main page still links to a strange irc channel, but that finally changed i guess this is one of the reasons why there are so few people in the irc channel, it was just not linked properly On Apr 4, 9:38 am, Mengu wrote: > it's because they beat us on the n

[web2py] Re: GSOC 2011 - BioChemical Reaction Network Visualization - web2py

2011-04-01 Thread selecta
> can you summarize for us, what is done, what needs to be done. so far we have experiences visualizing biochemical networks with tools like Cytoscape, Graphviz, ... we even wrote our own web2py plugin to create force directed graphs http://groups.google.com/group/web2py/browse_thread/thread/d9c5

[web2py] Re: GSOC 2011 - BioChemical Reaction Network Visualization - web2py

2011-03-31 Thread selecta
Mar 22, 3:59 pm, selecta wrote: > Hi web2py coders, > I am very happy to tell you that my group - Theoretical Biophysics at > the HU-Berlin - got selected for a mentoring program for the GSOC2011 > (http://code.google.com/soc/). We want to create an new layout > algorithm for bioch

[web2py] Re: squeeze + Apache2 = lots of RAM

2011-03-28 Thread selecta
> Anybody is using Apache2 with Debian 6? > > I just upgraded from Debian 5 to 6, and notice an obscene amount of > memory taken by Apache2, which almost 600MB.   Unbelievable.   In > Debian 5, it took about 300MB. I tried this setup on my virtual machine server (256MB ram) and i could not get web

[web2py] Re: another video: web2py components

2011-03-23 Thread selecta
> Because we do not use them enough and feel we have room for > improvement. ha what do you mean? components are my fav in web2py :D http://www.web2pyslices.com/main/slices/take_slice/74 http://pymantis.org/ -> plugin_restapidoc created it within a few hours with the heavy use of components ht

[web2py] GSOC 2011 - BioChemical Reaction Network Visualization - web2py

2011-03-22 Thread selecta
Hi web2py coders, I am very happy to tell you that my group - Theoretical Biophysics at the HU-Berlin - got selected for a mentoring program for the GSOC2011 (http://code.google.com/soc/). We want to create an new layout algorithm for biochemical reaction networks, a visualization of the reaction n

[web2py] Re: plugins

2011-03-22 Thread selecta
For the the pyMantis project I created the following plugins. Since they are integrated into the access management of pyMantis some of them will need some small modifications to make them work with other applications. download the web2py app package from, the os releases are currently broken but w

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-22 Thread selecta
> just trying to get to a point where i can do the db structure scrape to > create the web2py db code as i interpret that is what your code does yes the script uses the mysql and mysqldump excecutables to dump the table structures and parses that with regular expressions Nice work Kevin, I have

[web2py] Re: Bypassing tickets in development

2011-02-08 Thread selecta
there was already a suggestion for that, the answer was to take the methods for displaying the tickets and displaying the ticket content instead of the link if the user has the right permissions, should be straight forward for somebody a bit into the web2py code unfortunately nobody had time/intere

[web2py] Re: password reset does not work

2011-02-08 Thread selecta
On Feb 7, 5:29 am, selecta wrote: > > > > > Traceback (most recent call last): > >   File "/home/fkrause/Dev/web2py/gluon/restricted.py", line 188, in > > restricted > >     exec ccode in environment > >   File "/home/fkrause/Dev/web2py/application

[web2py] password reset does not work

2011-02-07 Thread selecta
Traceback (most recent call last): File "/home/fkrause/Dev/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/fkrause/Dev/web2py/applications/pyMantis/controllers/ default.py", line 101, in File "/home/fkrause/Dev/web2py/gluon/globals.py", line 95,

[web2py] Re: response.view does not work with @cache

2011-01-27 Thread selecta
very nice, thank you On Jan 26, 6:19 pm, Massimo Di Pierro wrote: > You can put this in a model: > > if application.function='option': response.view='default.html' > > On Jan 26, 9:41 am, selecta wrote: > > > > > this will not work since the inf

[web2py] response.view does not work with @cache

2011-01-26 Thread selecta
this will not work since the inforamtion that a different view should be userd is not chached @cache(request.env.path_info, time_expire=360, cache_model=cache.ram) def option(): items = [] items.append( ITEM_SLINK('&Books', URL(r=request, f='index'), 'back') ) ... response.view='def

[web2py] auto login when you come from localhost

2011-01-21 Thread selecta
http://www.web2pyslices.com/main/slices/take_slice/118 if you have an application that has access control it can be annoying to log in every time even though you are on localhost. This small snippet will automatically log you in as the first user when you come from localhost put the following in

[web2py] Re: Storing the Original Filename in the official web2py book

2011-01-14 Thread selecta
no need to store the original filename record = db(db.mytable.id==1).select().first() filename, file = db.mytable.uploadfield.retrieve(record.uploadfield) A('%s'%filename, _href = URL(request.application, 'default', 'download', args = [record.uploadfield])) On Jan 14, 9:29 am, cjrh wrote: > bump

[web2py] Re: ajax upload for components

2011-01-11 Thread selecta
and just for completion my slice doing something similar http://web2pyslices.com/main/slices/take_slice/113 On Jan 10, 11:35 pm, Michele Comitini wrote: > I made a slice: > > http://web2pyslices.com/main/slices/take_slice/114 > > mic > > 2011/1/10 K.R.Arun : > > > > > Can you show me an example w

  1   2   3   4   >