[web2py] Suggested web2py layout for iPhone/iPad?

2010-11-20 Thread David Mitchell
Hello all, Is there a suggested web2py layout for rendering on an iPhone or iPad? Obviously the screen size is a significant constraint on the iPhone; is there a layout that renders along the lines of the iWebkit ( http://iwebkit.net) framework, which is optimised for the iPhone? Thanks in

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread annet
I like the new admin interface, however, I had t re-open an older version of web2py to figure out the meaning of the black and yellow circle (test, my first association was 'beware toxic waste'). Maybe a tooltip would solve this problem. Furthermore I think edit/delete/test should all be buttons

[web2py] Error when using wizard to create a new application

2010-11-20 Thread Kenneth Lundström
I tried to create a new application with the wizard and when I pressed generate I got this error. When looking in the applictions folder all subfolders that should be under applications/appliction_name are in the applications folder. I created the folder and moved all subfolders into it, now

[web2py] Admin comments

2010-11-20 Thread Kenneth Lundström
Admin first page, why is the edit button black when all the others are grey? It looks like the edit button is allready pressed. On page /admin/wizard/step5/0: Use the markmin syntax syntax to add text to your pages. maybe one syntax is enough. Am I doing something wrong when I´m create a new

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread annet
I like the new admin interface, however, I had t re-open an older version of web2py to figure out the meaning of the black and yellow circle (test, my first association was 'beware toxic waste'). Maybe a tooltip would solve this problem. Furthermore I think edit/delete/test should all be buttons

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 3:22 AM, Anthony abasta...@gmail.com wrote: On Nov 19, 9:06 pm, Joel Clay ra3do...@gmail.com wrote: How about we turn the red X into a checkbox (think Gmail) You check the box and at the top there are links to perform actions (in this case delete). In my opinion, this

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 9:45 AM, annet annet.verm...@gmail.com wrote: I like the new admin interface, however, I had t re-open an older version of web2py to figure out the meaning of the black and yellow circle (test, my first association was 'beware toxic waste'). Maybe a tooltip would solve

[web2py] Facebox problems

2010-11-20 Thread Bernardo
Hi all, My question is, has anyone been able to place a working form inside a facebox box? Facebox is a jQuery plugin (http://chriswanstrath.com/facebox/). Well, the form is shown perfectly, but when sumbit button is pressed nothing happens. Has anyone dealt with this issue? Thanks a lot to

[web2py] cron

2010-11-20 Thread leone
Hi, what means WARNING:web2py.cron:WEB2PY CRON: Stale cron.master detected? My crontab: #crontab 1 * * * * root *plugin_CRONTAB/test (ubuntu os, last rel web2py) Thanks in advance

[web2py] display IS_IN_SET, from a select in a form

2010-11-20 Thread puercoespin
Hello, I have a custom db.auth_user, with a boolean field Field('profesional', 'boolean', default=False), . . format='%(first_name)s', ) and a table that references: ''' db.define_table('comentario_vendedor', Field('vendedor_id', db.auth_user,), I want

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Joel Clay
On Sat, Nov 20, 2010 at 3:16 AM, Branko Vukelic bg.bra...@gmail.com wrote: On Sat, Nov 20, 2010 at 9:45 AM, annet annet.verm...@gmail.com wrote: I like the new admin interface, however, I had t re-open an older version of web2py to figure out the meaning of the black and yellow circle

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Joel Clay
* The 'redness' of the X icon would fall into the 5th category, but there is no good solution, so it's a wontfix, again. Proposed solution all break 6 or are similar to the current solution. What? Really. I've seen quite a number of good solutions run through this topic. Obviously most of

[web2py] Re: jquery file addition in web2py_ajax.html trunk has a problem

2010-11-20 Thread mdipierro
uploading fix to trunk On Nov 20, 12:17 am, ron_m ron.mco...@gmail.com wrote: I use jQueryUI as well which is included in the view pages I create that need it. I found that using the current in trunk way to include jquery.js in web2py_ajax.html doesn't work:

[web2py] Re: Error when using wizard to create a new application

2010-11-20 Thread mdipierro
looks like you have an incomplete upgrade. admin was upgraded but the libraries from gluon/* no On Nov 20, 2:38 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: I tried to create a new application with the wizard and when I pressed generate I got this error. When looking in the

[web2py] Re: Admin comments

2010-11-20 Thread mdipierro
because edit is more important. Is it really confusing? Fixed the typo, thanks. On Nov 20, 2:41 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: Admin first page, why is the edit button black when all the others are grey? It looks like the edit button is allready pressed. On page

[web2py] Re: display IS_IN_SET, from a select in a form

2010-11-20 Thread mdipierro
This line db.comentario_vendedor.vendedor_id.requires=IS_IN_SET(db(db.auth_user.profesional=='True').select(db.auth_user.first_name)) should be db.comentario_vendedor.vendedor_id.requires=IS_IN_DB(db(db.auth_user.profesional=='True'),auth_user.first_name) On Nov 20, 6:43 am, puercoespin

[web2py] Re: bug? SQLTABLE with null values for reference fields

2010-11-20 Thread richard.ree
I see. I guess I just assumed that a validator like IS_NULL_OR(IS_IN_DB(db, db.other.id)) would be assigned by default to reference fields, since null values are allowed by default in other types of fields. Thanks, -Rick

[web2py] Re: bug? SQLTABLE with null values for reference fields

2010-11-20 Thread mdipierro
They are assigned by default IF the referenced table has a format='% (name)s' attribute else web2py does not know how to represent items in the dropdown. On Nov 20, 8:33 am, richard.ree richard.h@gmail.com wrote: I see.  I guess I just assumed that a validator like IS_NULL_OR(IS_IN_DB(db,

[web2py] Re: cron

2010-11-20 Thread mdipierro
Not 100% sure but I think this means that a cron task did not complete or exited abnormally. On Nov 20, 6:04 am, leone handja...@gmail.com wrote: Hi, what means WARNING:web2py.cron:WEB2PY CRON: Stale cron.master detected? My crontab: #crontab 1 * * * * root *plugin_CRONTAB/test (ubuntu

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 1:58 PM, Joel Clay ra3do...@gmail.com wrote: What? Really. I've seen quite a number of good solutions run through this topic. Obviously most of the community agrees that the X icon falls in the Interesting. This thread _is_ long, but I'm sure if you look at it carefully,

Re: [web2py] Re: Admin comments

2010-11-20 Thread Kenneth Lundström
because edit is more important. Is it really confusing? Me first impression when I looked at admin was that Edit is active, but I pressed Edit anyhow when I couldn't find any other way to edit it and voilá I found the place. Not an big deal. Any comments about the layout not showing?

[web2py] Re: Admin comments

2010-11-20 Thread mdipierro
Is this for one particular layout? On Nov 20, 8:53 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote:   because edit is more important. Is it really confusing? Me first impression when I looked at admin was that Edit is active, but I pressed Edit anyhow when I couldn't find any other

[web2py] Re: display IS_IN_SET, from a select in a form

2010-11-20 Thread puercoespin
Thanks Max, but, with that line raise an error: db.comentario_vendedor.vendedor_id.requires=IS_IN_DB(db(db.auth_user.profesional=='True'),auth_user.first_name) NameError: name 'auth_user' is not defined fixed with: db.comentario_vendedor.vendedor_id.requires=IS_IN_DB(db(db.auth_user.profes­

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Joel Clay
There are more than two solutions in this thread, I challenge you to read through and prove me wrong. Perhaps that was wrong of me to conclude that a majority agrees that the red X is distracting. Perhaps we should hold a poll. Being the designer, you have a bias towards your work and that is both

Re: [web2py] Re: cron

2010-11-20 Thread Jonathan Lundell
On Nov 20, 2010, at 6:43 AM, mdipierro wrote: Not 100% sure but I think this means that a cron task did not complete or exited abnormally. Right: still running after 60+ seconds. It's a little tricky to distinguish (in real time, anyway) between abnormal exits and long-running cron jobs,

[web2py] Re: Catch IntegrityError

2010-11-20 Thread CesarBustios
Mmmm i don't have the application right now but i'll let you know as soon as possible. I asume that its because of the IS_NOT_IN_DB() requirement, i let the application rise the error on purpose so i can catch it but i dont know how to do that mdipierro ha escrito: Can you show us the traceback?

[web2py] Re: cron

2010-11-20 Thread leone
Thanks. I discovered an error in script, as probable cause of that warning. I will follow your suggests! leone On Nov 20, 5:12 pm, Jonathan Lundell jlund...@pobox.com wrote: On Nov 20, 2010, at 6:43 AM, mdipierro wrote: Not 100% sure but I think this means that a cron task did not complete

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 5:03 PM, Joel Clay ra3do...@gmail.com wrote: There are more than two solutions in this thread, I challenge you to read through and prove me wrong. I don't even need to look around. You had a trash can solution. And another trash can solution. And a few more trash can

[web2py] Model scope

2010-11-20 Thread Lorin Rivers
For some reason, a model in default/db.py wasn't loading, but after I copied over to another file in the models directory, it worked fine. If I have a reports controller, a reports view, and a reports model, /reports/ is the only place that model will be available, right? A model in defaults

Re: [web2py] Re: DAL to Qurey Multiple defined IDs?

2010-11-20 Thread Lorin Rivers
It is in the book: http://web2py.com/book/default/chapter/06#Logical-Operators On Nov 19, 2010, at 20:00 , Bruno Rocha wrote: Not mentioned in the book that you can get the NOT IN SQL expression my_list = [1,2,3,4] NOT IN LIST: db(~(db.product.id.belongs(my_list))).select() IN LIST:

Re: [web2py] edit the book, get a free book

2010-11-20 Thread Lorin Rivers
You know, a comment feature would be really awesome for the online version of the book, like the PHP online docs have. One thing (as I mentioned earlier) that I think would be super helpful would be more examples of SQL translated to DAL. I know SQL pretty well and often test what I want to

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
And here's the tool-tip for the test icon (delete icon has a similar tooltip). On Sat, Nov 20, 2010 at 6:09 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Sat, Nov 20, 2010 at 9:31 AM, annet annet.verm...@gmail.com wrote: Personally, I like the icons webfaction is using, consistent styling

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Luis Díaz
+1 -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85

[web2py] Questions about sets

2010-11-20 Thread Lorin Rivers
Are delete, update the only the only database modification methods in set? Can I do something like compute a value from information in a record in a set and update a field in that set with that info? For example, my records include a string field which stores a date string and I want to

[web2py] Re: Questions about sets

2010-11-20 Thread mdipierro
something like this? db(query).update(field1=db.table.field2+db.table.field3) Massimo On Nov 20, 11:27 am, Lorin Rivers lriv...@mosasaur.com wrote: Are delete, update the only the only database modification methods in set? Can I do something like compute a value from information in a record

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Anthony
+1. Very nice. On Nov 20, 12:09 pm, Branko Vukelic bg.bra...@gmail.com wrote: On Sat, Nov 20, 2010 at 9:31 AM, annet annet.verm...@gmail.com wrote: Personally, I like the icons webfaction is using, consistent styling and a clear meaning. I've taken a look at webfaction's screencast. This

[web2py] Re: edit the book, get a free book

2010-11-20 Thread Anthony
On Nov 20, 12:07 pm, Lorin Rivers lriv...@mosasaur.com wrote: You know, a comment feature would be really awesome for the online version of the book, like the PHP online docs have. Note, there is a comment feature in the online book -- but you have to login for it to show up. The comment box

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread annet
Hi Branko, Indeed very nice. What about replacing the edit button with a similar icon? One with a pencil perhaps?? That would give the three options a more consistent look and feel. Regards, Annet

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread mdipierro
I have objected to that in the past since the edit functionality is the most important and visible to new users. On Nov 20, 12:15 pm, annet annet.verm...@gmail.com wrote: Hi Branko, Indeed very nice. What about replacing the edit button with a similar icon? One with a pencil perhaps?? That

Re: [web2py] Re: Questions about sets

2010-11-20 Thread Lorin Rivers
What about using a function? I need run db.table.field through split (the time part has too many decimal places) and then convert from string to time Here's what I tried: db4((db4.data_table.ReqTime =2010-11-08T22:09:00) (db4.data_table.ReqTime 2010-11-08T22:09:10) (db4.data_table.MacAddr ==

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread António Ramos
Hello, i suggest to keep the admin interface quest open because for someone entering web2py for the first time its the most important thing. Maybe a contest for the best admin interface? and a price for the winner too. The framework is fantastic, i discovered python and i love it. So i went

[web2py] Re: edit the book, get a free book

2010-11-20 Thread GoldenTiger
Note, there is a comment feature in the online book -- but you have to Yes, but if you read User Agreement at login : Please read agreement below. By logging you accept the agreement. THIS IS NOT A PLACE TO ASK QUESTIONS, SUBMIT BUGS OR COMPLAINTS. If you have a quesiton ask on the Google

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Anthony
On Nov 20, 1:44 pm, António Ramos ramstei...@gmail.com wrote: I hate having to scroll down the page. The models, views and controllers should be, maybe disposed horizontally or when you open for ex the tab controllers the others close so you dont have to scroll down and everything is in the

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread António Ramos
no, what i meant was that the edit should be the url itself or the button, other options should be in the right click because they are less important Best regards António 2010/11/20 Anthony abasta...@gmail.com On Nov 20, 1:44 pm, António Ramos ramstei...@gmail.com wrote: I hate having to

Re: [web2py] Re: Questions about sets

2010-11-20 Thread CesarBustios
Did you try converting the Field to string? str(db4.data_table.ReqTime).split(.)[0] Lorin Rivers ha escrito: What about using a function? I need run db.table.field through split (the time part has too many decimal places) and then convert from string to time Here's what I tried:

[web2py] Re: edit the book, get a free book

2010-11-20 Thread Anthony
On Nov 20, 2:23 pm, GoldenTiger goldenboy...@gmail.com wrote: Note, there is a comment feature in the online book -- but you have to Yes, but if you read User Agreement at login : Please read agreement below. By logging you accept the agreement. THIS IS NOT A PLACE TO ASK QUESTIONS, SUBMIT

Re: [web2py] Re: Questions about sets

2010-11-20 Thread Lorin Rivers
What do you mean? The field ReqTime is defined as a string: db4.data_table[78978] Row {'MacAddr': '00D1', 'update_record': function lambda at 0x101cc9a28, 'Vi': 34.88671875, 'StringID': 'S0003', 'Vstring': 24.0, 'Vo': 36.41015625, 'Ii': 1.61328125, 'Io': 1.4921875, 'RollupId':

[web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Anthony
On Nov 20, 2:34 pm, António Ramos ramstei...@gmail.com wrote: no, what i meant was that the edit should be the url itself or the button, other options should be in the right click because they are less important That makes sense, though we'd want to make sure it's very clear that there are some

Re: [web2py] ERP projects

2010-11-20 Thread Michele Comitini
Mariano, +1 This project can be very important to make web2py look even more appealing to the business world. I would like to help. mic 2010/11/19 Mariano Reingart reing...@gmail.com: Yes, I agree, development will be done in english, look at this facturalibre branch:

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Michele Comitini
2010/11/19 Niphlod niph...@gmail.com: the only thing on multiprocessing's queue that I don't like (it's not its fault, but psycopg's one) is that I have to create multiple connections (one for every process) to the database. Not a psycopg fault, it is the way PostgreSQL work, and it is very

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 8:29 PM, Anthony abasta...@gmail.com wrote: What about a right click menu over the files with delete,install,uninstall,etc as a sub menu. The page would look a lot more simple. We're probably mostly editing files, so it's nice to have a single click to start editing

Re: [web2py] better keywords comics

2010-11-20 Thread Michele Comitini
+1 Terrific! I contains such a huge number of concepts in just one page! ;-) If I were new to web2py it would scare me! Now it just caused me a headache ;-) 2010/11/20 mdipierro mdipie...@cs.depaul.edu: http://web2py.com/examples/static/web2py_keywords_comics.png

[web2py] Re: Questions about sets

2010-11-20 Thread mdipierro
no no no. db(query).update(field=expression) expression is not a python expression but an DAL expression that gets translated into SQL. This is wrong db4.data_table.FreezeTime=datetime.strptime(db4.data_table.ReqTime.split(.) [0], %Y-%m-%dT%H:%M:%S) because it assumes it gets evaluated by

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
Yes massimo Here is my current implementation , please note i use it outside of web2py and call it via subprocess . And it is quite crude and dirty , need to modify for using outside of my script. What it does : it accepts a list of files (file_list) and the function object (toprocess) , and

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
Wow celery is freaking awesome! http://pypi.python.org/pypi/celery/2.1.3#example I think we need it in web2py!. all other web frameworks have it now!. On 11/19/10, Niphlod niph...@gmail.com wrote: the only thing on multiprocessing's queue that I don't like (it's not its fault, but psycopg's

[web2py] Re: better keywords comics

2010-11-20 Thread Christopher Steel
I like C. On Nov 19, 10:42 pm, mdipierro mdipie...@cs.depaul.edu wrote: http://web2py.com/examples/static/web2py_keywords_comics.png

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread António Ramos
i got for that one. A much cleaner workspace is better for future evolution . Also the discovery of features is a natural process of web apps and only hurts the first time. After that everybody will say: That is nice, a lot better than before. Its like a loop where you use ony one variable

[web2py] graph node python

2010-11-20 Thread Luis Díaz
+1 http://nodebox.net/code/index.php/Boost_Graph -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-20 Thread Branko Vukelic
2010/11/20 António Ramos ramstei...@gmail.com: hurts the first time. After that everybody will say: That is nice, a lot better than before. ... or they might say I couldn't figure this out the very first time I've tried. Could you please completely change it to fit my way of thinking? as it

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Michele Comitini
+1 2010/11/20 Phyo Arkar phyo.arkarl...@gmail.com: Wow celery is freaking awesome! http://pypi.python.org/pypi/celery/2.1.3#example I think we need it in web2py!. all other web frameworks have it now!. On 11/19/10, Niphlod niph...@gmail.com wrote: the only thing on multiprocessing's

Re: [web2py] graph node python

2010-11-20 Thread António Ramos
Only for mac :( Go for http://www.graphviz.org/Gallery.php 2010/11/20 Luis Díaz diazluis2...@gmail.com +1 http://nodebox.net/code/index.php/Boost_Graph -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
One thing i am not clear about celery It needs a MQ Backend to installed and configured right? (RabbitMQ,Redis) etc ? They are whole new thing for me and they are Java/C , so much dependencies. Please Celerify lol :D On Sun, Nov 21, 2010 at 4:17 AM, Michele Comitini

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Michele Comitini
RabbitMQ seems Erlang a good sign, but add too many dependecies. Redis is C If it would be possible to replace sqlalchemy with DAL easily then we could integrate it, who is going to investigate? 2010/11/20 Phyo Arkar phyo.arkarl...@gmail.com: One thing i am not clear about celery It needs a

[web2py] web2py admin 2.0

2010-11-20 Thread Branko Vukelic
This topic is for brainstorming future development of the admin UI. Please do not report bugs with the current one in this topic, since its purpose is not fixing the current admin. Here are a few ideas. 1. Sites section 1.1 Workbench The workbench would be the space below the current top

Re: [web2py] graph node python

2010-11-20 Thread Michele Comitini
http://www.rdflib.net/ pure python and very strong for graphs (and fast enough). 2010/11/20 António Ramos ramstei...@gmail.com: Only for mac :( Go for http://www.graphviz.org/Gallery.php 2010/11/20 Luis Díaz diazluis2...@gmail.com +1 http://nodebox.net/code/index.php/Boost_Graph --

[web2py] Re: better keywords comics

2010-11-20 Thread ma...@rockiger.com
Cool stuff. On 20 Nov., 04:42, mdipierro mdipie...@cs.depaul.edu wrote: http://web2py.com/examples/static/web2py_keywords_comics.png

[web2py] Re: web2py admin 2.0

2010-11-20 Thread Branko Vukelic
On Sat, Nov 20, 2010 at 11:12 PM, Branko Vukelic bg.bra...@gmail.com wrote: 1. Sites section 1.5 Workbench wallpaper A cosmetic thing, really, but would make it more desktop-like. :) -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog:

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
Here is what i found from : http://celeryq.org/docs/configuration.html By default it dont need any MQ Brokers , works via database backend which is supported by SQLAlchemy. ALso can use memcache . - database (default) Use a relational database supported by

Re: [web2py] Re: better keywords comics

2010-11-20 Thread Phyo Arkar
+1 Nice! On Sun, Nov 21, 2010 at 4:44 AM, ma...@rockiger.com rocki...@googlemail.com wrote: Cool stuff. On 20 Nov., 04:42, mdipierro mdipie...@cs.depaul.edu wrote: http://web2py.com/examples/static/web2py_keywords_comics.png

Re: [web2py] Re: DAL to Qurey Multiple defined IDs?

2010-11-20 Thread Phyo Arkar
Yeah a day of not sleeping well make my eyes skip it lol! On Sat, Nov 20, 2010 at 11:34 PM, Lorin Rivers lriv...@mosasaur.com wrote: It is in the book: http://web2py.com/book/default/chapter/06#Logical-Operators On Nov 19, 2010, at 20:00 , Bruno Rocha wrote: Not mentioned in the book that

[web2py] Re: web2py admin 2.0

2010-11-20 Thread Branko Vukelic
Here are some wireframes: Workbench: http://www.flickr.com/photos/foxbunny/5192808829/sizes/o/ Design window: http://www.flickr.com/photos/foxbunny/5193406424/sizes/o/ On Sat, Nov 20, 2010 at 11:16 PM, Branko Vukelic bg.bra...@gmail.com wrote: On Sat, Nov 20, 2010 at 11:12 PM, Branko Vukelic

[web2py] Re: Facebox problems

2010-11-20 Thread ma...@rockiger.com
I use facebox, too. It works very well. Is the form in an iframe? On 20 Nov., 10:27, Bernardo estem...@gmail.com wrote: Hi all, My question is, has anyone been able to place a working form inside a facebox box? Facebox is a jQuery plugin (http://chriswanstrath.com/facebox/). Well, the

[web2py] Re: web2py admin 2.0

2010-11-20 Thread Anthony
This is awesome! Now, about those red X's... On Nov 20, 6:04 pm, Branko Vukelic bg.bra...@gmail.com wrote: Here are some wireframes: Workbench:http://www.flickr.com/photos/foxbunny/5192808829/sizes/o/ Design window:http://www.flickr.com/photos/foxbunny/5193406424/sizes/o/ On Sat, Nov

[web2py] Re: web2py admin 2.0

2010-11-20 Thread mdipierro
Notice that admin is an app and it can be replaced. I am not sure I want to replace admin with something too ajaxy (scares new users and it is less portable) but it would be nice to have options. Massimo On Nov 20, 5:26 pm, Anthony abasta...@gmail.com wrote: This is awesome! Now, about those

[web2py] Re: Python Message Queue

2010-11-20 Thread mdipierro
If we here to integrate a queue functionality in web2py what features would you consider most valuable? I can three different applications: 1) a message queue (one app sends a message, another one receives it) 2) a task queue (an app can submit a task to be executed later): task is executed by a

Re: [web2py] Re: web2py admin 2.0

2010-11-20 Thread António Ramos
All of that in the browser is outstanding I cant wait to use it. Just one detail that would be also important. Is it possible to add bellow the editarea a frame with the python shell? Also as a lotus notes programmer as i said previously where we have a workspace also with icons, we change the

[web2py] Re: web2py 1.89.2 is OUT

2010-11-20 Thread JoeCodeswell
I tried [twice] to upgrade using the upgrade now button in the site page of the administrative interface: from: Version 1.81.5 (2010-07-22 23:56:21) to: Version 1.89.4 (2010-11-19 02:50:05) on: Windows 2000 result: unable to upgrade because [Errno 13] Permission

Re: [web2py] Re: web2py admin 2.0

2010-11-20 Thread António Ramos
Those images of the possible 2.0 reminds me of the jqgrid example http://trirand.com/blog/jqgrid/jqgrid.html Treeview for models ,views controllers etc in the left side, and in the right side, the editarea with tabbed access to the files we open in the left. Don´t forget the shell in the bottom

[web2py] Wizard Code

2010-11-20 Thread villas
From wizard generated code, but a style promoted elsewhere too... f,v = request.args(0), request.args(1) query = f and db.table[f]==v or db.table If I use a wrong url e.g. 'function/my/error', this code fails. I expected that if 'f and db.table[f]==v' fails then 'db.table' is used

[web2py] Re: web2py admin 2.0

2010-11-20 Thread blackthorne
hey, also consider: - mobile view - good for keep updated on ticket reporting and so on... - integrated SQL designer - update option for each app - routes web interface - logging interface Thank you Best regards On Nov 20, 5:12 pm, Branko Vukelic bg.bra...@gmail.com wrote: This topic is for

[web2py] Re: Python Message Queue

2010-11-20 Thread blackthorne
I've used extensively ActiveMQ, RabbitMQ and memcache + starling for professional reasons, what is it that you really want to know? what is the target? On Nov 19, 2:09 am, Pystar aitoehi...@gmail.com wrote: I would like to know if any one here has used any message queue? and which one comes

[web2py] Selecting subsets of objects in a controller.

2010-11-20 Thread Joe J
Hi All, I have a one-to-many relationship between a table called org and a table called eventtype. (one org can have many eventtypes). I'm trying to construct a controller function that can edit a eventtype belonging to a specific org. The URL might look something like:

Re: [web2py] Re: Questions about sets

2010-11-20 Thread Lorin Rivers
I figured out what i was doing wrong. I should have been updating the datetime field with a string. -- Lorin Rivers Mosasaur: Killer Technical Marketing http://www.mosasaur.com mailto:lriv...@mosasaur.com 512/203.3198 (m)

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
For my problem i have to use multiprocessing + Queue is: I am developing a file indexer for a Digital Forensic Firm which extract huge archive of files , pst (ms Outlook archives), Read them . parse them , extract Mime and Indexable text out of many different type of documents , as much as

[web2py] Re: Python Message Queue

2010-11-20 Thread blackthorne
Hey Massimo, i think I can help on this and btw I think it is the way to go if we want to bring scalability and fault-tolerance to another level. I would suggest the very same architecture used in the Merb framework. They did an awesome work with nanites (a fabric of ruby daemons), bringing real

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
2) could be a compatibility layer on top of google's task queue. google's task queue? on GAE? for many orginizations and companys , GAE or any other public clouds are not an option. They want their sensitive data to be private, and paranoid to go it online. The firm i am working on is building

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
Thats Very cool! +1 On 11/21/10, blackthorne francisco@gmail.com wrote: Hey Massimo, i think I can help on this and btw I think it is the way to go if we want to bring scalability and fault-tolerance to another level. I would suggest the very same architecture used in the Merb framework.

[web2py] very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Carlos
Hi, Why do IE (v. 8) and Firefox (v. 3.6 with Firebug) browsers quite often take a LOOONG time to load web2py urls in the following format?: http://127.0.0.1:8000/ I just see in the following in the status bar: Waiting for http://127.0.0.1:8000/ ... Even after trying to refresh/reload

Re: [web2py] very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Bruno Rocha
Windows firewall, browser security settings or some antivirus system? 2010/11/20 Carlos carlosgali...@gmail.com Hi, Why do IE (v. 8) and Firefox (v. 3.6 with Firebug) browsers quite often take a LOOONG time to load web2py urls in the following format?: http://127.0.0.1:8000/ I just see

Re: [web2py] very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Gary Herron
On 11/20/2010 05:50 PM, Carlos wrote: Hi, Why do IE (v. 8) and Firefox (v. 3.6 with Firebug) browsers quite often take a LOOONG time to load web2py urls in the following format?: http://127.0.0.1:8000/ I just see in the following in the status bar: Waiting for http://127.0.0.1:8000/

Re: [web2py] very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Phyo Arkar
I got very long loading time on examples ., it just waiting for (about 10-15 seconds) and do nothing. http://127.0.0.1:8000/examples I suspect Twitter loads but they supposed to be load after document is ready, right? On 11/21/10, Bruno Rocha rochacbr...@gmail.com wrote: Windows firewall,

Re: [web2py] Re: web2py 1.89.2 is OUT

2010-11-20 Thread Phyo Arkar
coz it is using MSVCR71.dll currently. Better do clean upgrade after shutting down web2py On 11/21/10, JoeCodeswell joecodesw...@gmail.com wrote: I tried [twice] to upgrade using the upgrade now button in the site page of the administrative interface: from: Version 1.81.5 (2010-07-22

Re: [web2py] very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Bruno Rocha
examples loads google groups and google code RSS, Welcome loads Jquery from cdn.google, admin loads twitter feed and update/upgrade information. can be that. 2010/11/21 Phyo Arkar phyo.arkarl...@gmail.com I got very long loading time on examples ., it just waiting for (about 10-15 seconds) and

[web2py] Re: Wizard Code

2010-11-20 Thread mdipierro
you are correct. will fix it. On Nov 20, 5:57 pm, villas villa...@gmail.com wrote: From wizard generated code, but a style promoted elsewhere too...     f,v = request.args(0), request.args(1)     query = f and db.table[f]==v or db.table If I use a wrong url e.g. 'function/my/error',  this

[web2py] Re: Selecting subsets of objects in a controller.

2010-11-20 Thread mdipierro
Depends on the model. I will assume db.define_table('org',Field('name')) db.define_table('eventtype,Field('org',db.org),Field('name')) In this case def edit(): org_id, eventtype_id=request.args(0),request.args(1) eventtype==db.eventtype(eventtype_id,org=org_id) or redirect(URL(...)) I

[web2py] Re: Python Message Queue

2010-11-20 Thread mdipierro
http://code.google.com/appengine/docs/python/taskqueue/ On Nov 20, 7:29 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote: 2) could be a compatibility layer on top of google's task queue. google's task queue? on GAE? for many orginizations and companys , GAE or any other public clouds are not

[web2py] Re: very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread mdipierro
yes. the twitten part is loaded via ajax. Should not cause the delay. On Nov 20, 8:10 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote: I got very long loading time on examples ., it just waiting for (about 10-15 seconds) and do nothing.http://127.0.0.1:8000/examples I suspect Twitter loads but

Re: [web2py] Re: Python Message Queue

2010-11-20 Thread Phyo Arkar
I was never into GAE , but if GAE SDK works locally without any need from Google GAE ? Can we build cloud using it? On 11/21/10, mdipierro mdipie...@cs.depaul.edu wrote: http://code.google.com/appengine/docs/python/taskqueue/ On Nov 20, 7:29 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote: 2)

[web2py] Re: Selecting subsets of objects in a controller.

2010-11-20 Thread Joe J
Thank you very much for your advice. Yes, my models do relate to each other like that. This solution seems to be what I was looking for. Thanks again, Joe On Nov 20, 8:30 pm, mdipierro mdipie...@cs.depaul.edu wrote: Depends on the model. I will assume db.define_table('org',Field('name'))

Re: [web2py] Re: very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-20 Thread Luis Díaz
I had a similar problem and was produced by my work poxy if you are behind a proxy, I recommend you disable it in your browser while you do local tests. -- google translator -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/

  1   2   >