[web2py] Re: Multi Tabbed Menu - Any Suggestions.

2011-01-06 Thread Chris Baron
http://jqueryui.com/demos/tabs/ You could also try writing your own if you're not happy with the way it works. Use the jquery code as a reference. On Jan 5, 11:58 pm, David J. da...@styleflare.com wrote: I was wondering if anyone on the list has seen an good multi-level horizontal tab menu.

Re: [web2py] Re: jquery.tooltip jquery.cluetip do not work

2011-01-06 Thread Martin Weissenboeck
I have found the answer: I have loaded jquery.tooltip.min.js as js/jquery.tooltip.min.js, but it should be called js/jquery.tooltip.js I am shure that there is a description on the jquery-website, but I did not find it. It would be nice to have small example for using jquery ui and similar

[web2py] Bug with Recaptcha options

2011-01-06 Thread anton.mue...@googlemail.com
Hello Everybody, when the options argument was added to the Recaptcha.__init__()-method (gluon/tools.py line 603) and reference to the self.options member in the Recaptcha.xml()-method (line 666) there is no self.options member. I would suggest to append a line to the Recaptcha.__init__()-method

[web2py] Bug with last trunk update

2011-01-06 Thread dederocks
Hello, Since the last trunk update(s? -- less than 24 hours), I get the following problem: Traceback (most recent call last): File C:\Users\Andre\Documents\web2py\gluon\restricted.py, line 188, in restricted exec ccode in environment File

[web2py] Combining left outer join how to?

2011-01-06 Thread Uolter
Hi all, I have this sql query that combine two left outer join. select * from auth_user LEFT OUTER JOIN auth_membership on auth_membership.user_id=auth_user.id LEFT OUTER JOIN auth_group on auth_membership.user_id=auth_user.id basically, it returns all users with their role when they have

[web2py] Re: Bug with last trunk update

2011-01-06 Thread Seeker
+1 On Jan 6, 11:52 am, dederocks dediro...@gmail.com wrote: Hello, Since the last trunk update(s? -- less than 24 hours), I get the following problem: Traceback (most recent call last):   File C:\Users\Andre\Documents\web2py\gluon\restricted.py, line 188, in restricted     exec ccode in

[web2py] Re: Using fossil-scm as a distributed backed for web2py and unhosted (on-linf off-line) apps.

2011-01-06 Thread cjrh
On Jan 6, 2:02 am, Offray Vladimir Luna Cárdenas off...@riseup.net wrote: I imagine some kind of webapp that can be used off-line and synchronized to a website using a DVCS like fossil. Git for VCS and Fabric for deployment. FTW.

[web2py] Re: need help with db table

2011-01-06 Thread pk
is it perhaps possible to solve it with: IS_EXPR ??? if yes, how? thanks On 5 Jan., 23:51, pk peter.kirch...@youngdesigners.de wrote: hi thanks for your help but i still get this: friends.id      friends.userid  friends.hauptperson     friends.freund friends.freundseit      friends.bestaetigt

Re: [web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread Martín Mulone
congrats!! 2011/1/5 Bruno Rocha rochacbr...@gmail.com Good News! I would like to attend, but it is so far away. ** *Web Frameworks:* It should not be surprising that the next biggest area of interest came from addressing the web and the various ways Python can make it easier to

Re: [web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread Michele Comitini
cheers! evviva! 2011/1/6 Martín Mulone mulone.mar...@gmail.com: congrats!! 2011/1/5 Bruno Rocha rochacbr...@gmail.com Good News! I would like to attend, but it is so far away. Web Frameworks: It should not be surprising that the next biggest area of interest came from addressing

[web2py] Ticket, do not understand why

2011-01-06 Thread Kenneth Lundström
What is wrong with this row: bill_sub_items[item_id]['items'] = db(db.t_receipt_item.f_bill_item == item_id).select() If I use the exact same row with an other query it works. Apache, Mysql, mod_wsgi Version web2py™ Version 1.91.6 (2011-01-03 17:55:14) Python Python 2.6.5: /usr/bin/python

[web2py] Re: Unknown Ticket

2011-01-06 Thread marius.v.niekerk
Shouldn't we detect that? Possibly display a message like 'error cannot write to filesystem'? I have been bitten by this one before on a poorly configured shared hosting setup. On Jan 6, 1:28 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: You will not finding anything at tha apache log

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-06 Thread David Watson
I had the same crash as David Marko on the welcome app. On Jan 6, 2:23 am, David Marko dma...@tiscali.cz wrote: I have the same problem here. Whats more with latest trunk I cant openhttp://127.0.0.1:8000/welcome/default/index. It raises: Traceback (most recent call last):   File

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-06 Thread Massimo Di Pierro
pleas try again On Jan 5, 10:59 pm, David Watson davidthewat...@gmail.com wrote: Hi Massimo, I updated and now it fails with a similar exception on close: Traceback (most recent call last):   File /Users/david/web2py/gluon/main.py, line 466, in wsgibase    

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-06 Thread Massimo Di Pierro
? this line should not be in trunk: r = self.represent_exceptions(self,obj,fieldtype) it is r = self.represent_exceptions(obj,fieldtype) Massimo On Jan 6, 1:23 am, David Marko dma...@tiscali.cz wrote: I have the same problem here. Whats more with latest trunk I cant

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-06 Thread dederocks
Works now -- thank you! On 6 jan, 14:21, Massimo Di Pierro massimo.dipie...@gmail.com wrote: ? this line should not be in trunk: r = self.represent_exceptions(self,obj,fieldtype) it is r = self.represent_exceptions(obj,fieldtype) Massimo On Jan 6, 1:23 am, David Marko dma...@tiscali.cz

[web2py] Re: need help with db table

2011-01-06 Thread DenesL
It works for me. Maybe you had those values in the DB. On Jan 5, 5:51 pm, pk peter.kirch...@youngdesigners.de wrote: hi thanks for your help but i still get this: friends.id      friends.userid  friends.hauptperson     friends.freund friends.freundseit      friends.bestaetigt 9       5    

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-06 Thread David Marko
CouchDB si working for me as well. How can I get the original couchDb connection object from couchDB driver so can use another functions such as attachment handling etc.? Thanks!! David

[web2py] Re: Bug with last trunk update

2011-01-06 Thread DenesL
It could be the same problem in http://groups.google.com/group/web2py/msg/ef14e0a844a67df6 try changing r = self.represent_exceptions(self,obj,fieldtype) to r = self.represent_exceptions(obj,fieldtype) in the dal.py source. On Jan 6, 4:52 am, dederocks dediro...@gmail.com wrote: Hello,

[web2py] Re: need help with db table

2011-01-06 Thread pk
no i tested it now with a clear table, but i can still add the same values On 6 Jan., 14:51, DenesL denes1...@yahoo.ca wrote: It works for me. Maybe you had those values in the DB. On Jan 5, 5:51 pm, pk peter.kirch...@youngdesigners.de wrote: hi thanks for your help but i still

[web2py] Re: Combining left outer join how to?

2011-01-06 Thread DenesL
Just make a list of the left joins: users=db().select(db.auth_user.ALL, db.auth_group.ALL, left=[db.auth_membership.on(db.auth_user.id == db.auth_membership.user_id), db.auth_group.on(db.auth_user.id == db.auth_membership.user_id) ] ) On Jan 6, 5:25 am, Uolter wtras...@googlemail.com

Re: [web2py] Re: Not open source yet... but

2011-01-06 Thread Lorin Rivers
Thanks, Massimo! Looking forward to checking out the processing stuff! On Dec 30, 2010, at 18:32 , mdipierro wrote: Source: http://code.google.com/p/emte-trading/ -- Lorin Rivers Mosasaur: Killer Technical Marketing http://www.mosasaur.com mailto:lriv...@mosasaur.com 512/203.3198 (m)

Re: [web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread Vinicius Assef
Very cool. Nowadays, in agile communities, we see Rail, Django and Web2py. 2 good options powered by Python. ;-) PHP, of course, is more popular than others. Congrats, people. On Thu, Jan 6, 2011 at 9:43 AM, Michele Comitini michele.comit...@gmail.com wrote: cheers! evviva! 2011/1/6

[web2py] Re: Very minor bug in Version 1.91.6

2011-01-06 Thread Massimo Di Pierro
Actually should be class JsonRpcException(Exception):   please check if it works fine now. On Jan 5, 5:42 pm, Matt mjwat...@gmail.com wrote: Hi there, A very small bug has crept into this version that means you can no longer raise Service.JsonRpcExceptions without getting the following

[web2py] list:reference problem?

2011-01-06 Thread dederocks
I have a field with the 'list:reference xxx' type. Using it gets the following error (I think): Traceback (most recent call last): File C:\Users\Andre\Documents\web2py\gluon\restricted.py, line 188, in restricted exec ccode in environment File

Re: [web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread Vasile Ermicioi
cool!! web2py deserves more appreciation than it had till now

[web2py] SyntaxError: No such record: on MySQL

2011-01-06 Thread MicLee
Hi, I encountered the captioned error when I moved my app from GAE to MySQL +Apache. After a few tests I narrowed down to the following demo to replicate the error (the 'customer' table contains only one record: name='John', age=25): # Encounter exception if I use the 'shortcut' syntax to

[web2py] Re: need help with db table

2011-01-06 Thread pk
this combination should not be more than one time in the db table: nueva_vido makir but i still get this with: friends.id friends.userid friends.hauptperson friends.freund friends.freundseit friends.bestaetigt 9 5 nueva_vido makir 2011-01-04 18:09:46 False

[web2py] new URL router release candidate

2011-01-06 Thread Jonathan Lundell
The new router logic in the trunk is looking fairly stable now, and needs feedback. See the comments in router.example.py for summary documentation (reproduced below), and ask here if you have questions. The simplest possible router is: routers = dict() This sets all the defaults (including

[web2py] Re: need help with db table

2011-01-06 Thread pk
or just better: how can i avoid this with the selection box: IS_IN_DB()? because i will also not that friends.hauptperson == friends.freund i need help very badly... thanks On 6 Jan., 17:24, pk peter.kirch...@youngdesigners.de wrote: this combination should not be more than one time in the db

Re: [web2py] Re: Newbie Problems with Cherokee + Web2py

2011-01-06 Thread Offray Vladimir Luna Cárdenas
Hi, El 05/01/11 19:12, John-Kim Murphy escribió: Try using the most recent instructions for getting Web2Py working with Cherokeehttp://stackoverflow.com/questions/4332514/set-up-cherokee-web2py-on-ubuntu-10-04-lucid/4528543#4528543 . I documented the steps I took about two weeks ago. The

Re: [web2py] Re: Using fossil-scm as a distributed backed for web2py and unhosted (on-linf off-line) apps.

2011-01-06 Thread Offray Vladimir Luna Cárdenas
Hi, El 06/01/11 05:43, cjrh escribió: On Jan 6, 2:02 am, Offray Vladimir Luna Cárdenas off...@riseup.net wrote: I imagine some kind of webapp that can be used off-line and synchronized to a website using a DVCS like fossil. Git for VCS and Fabric for deployment. FTW. I think that

Re: [web2py] Re: 1.79.2 - 1.91.6 migration error (SQL Server BIT field seems to break)

2011-01-06 Thread Roman Bataev
It works. Thank you very much! -Roman On Wed, Jan 5, 2011 at 11:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: I believe this is now fixed in trunk. Please revert to mssql:// if that is what you had before. This was a new dal compatibility issues with BIT types. Massimo On Jan 5, 9:39

[web2py] Re: 1.79.2 - 1.91.6 migration error (SQL Server BIT field seems to break)

2011-01-06 Thread Massimo Di Pierro
This will go in stable probably tomorrow. Thanks for checking. Massimo On Jan 6, 12:33 pm, Roman Bataev roman.bat...@gmail.com wrote: It works. Thank you very much! -Roman On Wed, Jan 5, 2011 at 11:41 PM, mdipierro mdipie...@cs.depaul.edu wrote: I believe this is now fixed in trunk.

[web2py] Re: new URL router release candidate

2011-01-06 Thread VP
While this is intended to simplify the current specifications of routes.py (I think), what I have seen is more confusing to me. Does this replace the old routes.py? Maybe, can you provide examples of typical use cases? For example, one VPS account, each domain mapping to each app. Anything

Re: [web2py] Re: new URL router release candidate

2011-01-06 Thread Jonathan Lundell
On Jan 6, 2011, at 11:52 AM, VP wrote: While this is intended to simplify the current specifications of routes.py (I think), what I have seen is more confusing to me. Does this replace the old routes.py? Only if you define a routers dict. Maybe, can you provide examples of typical use

Re: [web2py] Re: new URL router release candidate

2011-01-06 Thread Jonathan Lundell
On Jan 6, 2011, at 11:52 AM, VP wrote: While this is intended to simplify the current specifications of routes.py (I think), what I have seen is more confusing to me. Does this replace the old routes.py? Maybe, can you provide examples of typical use cases? For example, one VPS account,

[web2py] Re: list:reference problem?

2011-01-06 Thread dederocks
To follow-up, switching from Sqlite to Postgresql gets this similar error, which I believe comes from dal (MATERIAU should be without ()): Traceback (most recent call last): File C:\Users\Andre\Documents\web2py\gluon\restricted.py, line 188, in restricted exec ccode in environment File

[web2py] web2py-related thread at reddit

2011-01-06 Thread Anthony
In case anyone is interested... http://www.reddit.com/r/Python/comments/ex54j/seeking_clarification_on_pylonsturbogearspyramid/

[web2py] Foreign Key Constraints with SQLite

2011-01-06 Thread Tony Young
Hi web2py, Currently, web2py doesn't handle foreign key constraints on SQLite but, looking at the SQLite website, it should: http://www.sqlite.org/foreignkeys.html Could this be as simple as setting PRAGMA foreign_keys = ON and updating the SQLite library? Thanks, Tony

[web2py] ADVOCACY: every single other Python program ever written uses imports?

2011-01-06 Thread Mariano Reingart
Reading the reddit discusion, specifically the post of jacobian (one of the Django creators) that says: I know that in your mind skipping imports is about not repeating yourself. But look guys: every single other Python program ever written uses imports. By not including them you've basically

Re: [web2py] ADVOCACY: every single other Python program ever written uses imports?

2011-01-06 Thread Jonathan Lundell
On Jan 6, 2011, at 4:12 PM, Mariano Reingart wrote: With this I only want to help to demystify this negative appreciation about web2py, surely there are many more examples like this as Python is a dynamic language specially designed to execute and evaluate code (i.e., OpenOffice/GIMP/etc.

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread Luther Goh Lu Feng
On Jan 7, 6:06 am, Anthony abasta...@gmail.com wrote: In case anyone is interested... http://www.reddit.com/r/Python/comments/ex54j/seeking_clarification_o... Seriously downvoting this comment is ridiculous === mdipierro -3 points 9 hours ago[-] Example

Re: [web2py] ADVOCACY: every single other Python program ever written uses imports?

2011-01-06 Thread mikech
That conversation is over my head in a lot of ways. Despite my time on this list I'm a rank beginner in Python and Web2py. I've never been confused about the lack of imports in some programs, or the source of db.xxx vs. dict(), but then I'm reading the book :) I can't imagine anyone using

[web2py] [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread Luther Goh Lu Feng
Even though it is in php, with the release of Drupal 7, I am tempted to give it a spin just to see what's the fuss all about. Drupal seems extremely popular, looking at some of the well known organisations that have used it. But are there any python, or hopefully, web2py alternatives to it?

[web2py] Re: SOAP service - repeating elements/sets of elements

2011-01-06 Thread Dragonfyre13
What you say below makes sense. The bad code part of it was just my design sense screaming since it's required that there be specific keys, and the values be specific types. Would have been better suited to their own key/value pairs, rather than generic ones. I'll check more into raising my own

[web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread blackthorne
Congratulations, that's a big deal. :) On Jan 5, 11:32 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I just found out. Here is a complete list:  am happy to announce that we have been able to accept the following tutorials for PyCon 2011: Wednesday AM (7) * Python 101 * Pinax

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread Anthony
Sadly, there is a cadre of redditors who simply reflexively downvote any post or comment that is remotely positive about web2py (usually without making any response). Even the most innocuous and friendly comment will be downvoted. Conversely, any comment criticizing web2py will be upvoted.

Re: [web2py] [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread rochacbruno
I just can see Instant Press as alternative to cms and blog. There are toomuch work to do in InstantPress and I am sure Martin are open to contributions. Just need to gather some people and start using, testing and extending it. I hope to contribute more to instant press as I get more free

Re: [web2py] ADVOCACY: every single other Python program ever written uses imports?

2011-01-06 Thread rochacbruno
Nobody advise me that I need to write some PEP proposal to be elegible to join the Python Conmunity. Lets start to write a PEP right now. LOL

[web2py] Re: [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread Luther Goh Lu Feng
I see. I did hear about InstantPress, but was under the impression that it is simply meant to be a blog because the similar name to Wordpress. Will look into it. Tks. On Jan 7, 10:19 am, rochacbruno rochacbr...@gmail.com wrote: I just can see Instant Press as alternative to cms and blog.

Re: [web2py] Re: [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread Jonathan Lundell
On Jan 6, 2011, at 7:47 PM, Luther Goh Lu Feng wrote: I see. I did hear about InstantPress, but was under the impression that it is simply meant to be a blog because the similar name to Wordpress. WordPress is increasingly useful as a site builder. I developed http://prfound.org using

Re: [web2py] ADVOCACY: every single other Python program ever written uses imports?

2011-01-06 Thread pbreit
When I started learning Python the excessive importing made no sense to me. It seemed like something that obviously the computer should figure out (isn't that what computers are good at?). If it would make people happy, I suppose we could add from glon imprt web2py (or whatever) to every file.

[web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread Massimo Di Pierro
I hope some of you will sign up for the tutorial so I can meet you at PyCon! On Jan 6, 8:07 pm, blackthorne francisco@gmail.com wrote: Congratulations, that's a big deal. :) On Jan 5, 11:32 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I just found out. Here is a complete

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread mattgorecki
Sadly, there is a cadre of redditors who simply reflexively downvote any post or comment that is remotely positive about web2py (usually without making any response). Reddit itself adds downvotes to all posts. Why this is, I don't know, but it's more than likely not malicious.

[web2py] Re: Foreign Key Constraints with SQLite

2011-01-06 Thread ron_m
SQLite was embedded in the Python standard library since Python 2.5 so it would depend on which version of SQLite was pulled in for the versions of Python. Taking a quick look I could not find which version is included with the different versions of Python. i noticed the SQLite docs are saying

[web2py] Re: web2py Turnkey Linux Appliance (collaborator needed)

2011-01-06 Thread ghoulmann
I completed and submitted the patch to create a web2py/postgres/apache appliance from TurnKey Linux's LAPP 11.0 (Lucid). The post the the general forum at TKL, with the patch attached, is at http://www.turnkeylinux.org/forum/general/20110107/tklpatch-web2py-framework. At http://9while9.com, I've

[web2py] DAL bugs in 1.91.6 on GAE

2011-01-06 Thread howesc
I have found several problems with the DAL on GAE, which include: validator problems with list:reference http://code.google.com/p/web2py/issues/detail?id=147 represent problem with list:reference (SQLTable will not display) http://code.google.com/p/web2py/issues/detail?id=149 and belongs is

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread cjrh
On Jan 7, 12:06 am, Anthony abasta...@gmail.com wrote: In case anyone is interested... http://www.reddit.com/r/Python/comments/ex54j/seeking_clarification_o... Massimo should just stop caring. The reddit people have already heard the sales pitch, and further energy spent on trying to