[web2py] plugin wiki

2010-08-31 Thread david.waldrop
after adding the plugin wiki to the welcome app I get the following message when opening the welcome app: Error traceback 1. 2. 3. 4. 5. 6. Traceback (most recent call last): File "gluon/restricted.py", line 178, in restricted File "C:/Users/david/My Projects/Miscelaneous/MeetingMonkey/web2py/

[web2py] Re: successfully created tables can not be accessed

2010-08-31 Thread Benjamin Goll
Hi, thank you very much, Adrian! You made my day! :-) I just replaced "db = DAL('sqlite://storage.sqlite')" by "db2 = DAL('sqlite://storage.sqlite')" in the file "db.py" and now it works like a charm! Thank you too, Massimo for clarifying how web2py handles this. Problem: solved! :-) Regards B

[web2py] Re: dashes in controller names?

2010-08-31 Thread mdmcginn
A more important SEO consideration than dashes/underscores (since search engines usually treat them the same) is duplicate content/ canonical content. Googlebot doesn't like being fed an infinite number of URLs that all point to the same content. Ideally, there should be logic that would send HTTP

Re: [web2py] plugin wiki

2010-08-31 Thread Bruno Rocha
What is your web2py version? did you try cloning cube2py? http://code.google.com/p/cube2py/ 2010/8/31 david.waldrop > after adding the plugin wiki to the welcome app I get the following > message when opening the welcome app: > > Error traceback > 1. > 2. > 3. > 4. > 5. > 6. > Traceback (most r

[web2py] Re: Problems getting my web2py app working on GAE

2010-08-31 Thread Jurgis Pralgauskis
for debugging on GAE try: * with local dev_appserver.py - in terminal (for me even more convenient than tickets) - and also http://localhost:8080/_ah/admin - with real GAE: Dashboard: Main -> Logs for printlike debugging, gae would contaminate generated html. I just made myprint(*args, **kwarg

[web2py] Re: Online Python Debugger - see how the code is executed! Cool

2010-08-31 Thread Skiros
Goooddd ! Thanks ! On 30 ago, 12:36, Bruno Rocha wrote: > http://people.csail.mit.edu/pgbovine/python/

[web2py] Re: Problems getting my web2py app working on GAE

2010-08-31 Thread hswolff
That was the problem! My app is online and operational! Albeit in alpha form, it still works! I'm on cloud nine. Thank you everyone!!! On Aug 31, 1:59 am, mdipierro wrote: > GAE supports only python 2.5 you seem to be using 2.6. I am not sure > this is the only problem but this is for sure a

[web2py] Re: How to switch language in application?

2010-08-31 Thread Skiros
Hmmm Maybe You can save the language selected like a property of the user and in the login store that value in a session variable and use that with T.force() in any action... On 26 ago, 06:53, David Marko wrote: > How can I switch language in application in a way, that app will > remember this?

[web2py] problem list:string in GAE

2010-08-31 Thread Martin.Mulone
I don't get the logic of this problem. This problem only ocurrs in GAE, local works fine. I'am using the new introduce features list:string My db definition is similar to this (only the necesary): db.define_table('posts', db.Field('id', 'id'), db.Field('keywords', 'list:string'), #tags db.Field(

[web2py] very straaaaaaange

2010-08-31 Thread weheh
I'm taking the len(x) where x is an instance of an SQLRow object and I'm getting back what I'm looking for, which is the response.session_id, but I didn't expect to find it there!!! Coincidentally, retrieving x.myfield gets ticketed: Traceback (most recent call last): File "C:\web2py\gluon\rest

[web2py] Re: per app routes

2010-08-31 Thread mwolfe02
I'm still debugging now, but there seems to be an issue using the special $anything token inside app-specific routes_in. It appears that the incoming URL is being applied to each app-specific routes_in one at a time before it is applied against routes_app. I'll try to include more details later,

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 9:31 AM, mwolfe02 wrote: > > I'm still debugging now, but there seems to be an issue using the > special $anything token inside app-specific routes_in. It appears > that the incoming URL is being applied to each app-specific routes_in > one at a time before it is applied again

[web2py] Re: per app routes

2010-08-31 Thread mwolfe02
More clues... When web2py loads, rewrite.params.routes_in gets set as follows: - items from base routes_in are appended first - then items from app-specific routes_in are appended in alphabetical order by application This seems to be causing my problems. More info to follow... -Mike On Aug 31

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 10:01 AM, mwolfe02 wrote: > > More clues... When web2py loads, rewrite.params.routes_in gets set as > follows: > > - items from base routes_in are appended first > - then items from app-specific routes_in are appended in alphabetical > order by application > > This seems to

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 10:16 AM, Jonathan Lundell wrote: > > On Aug 31, 2010, at 10:01 AM, mwolfe02 wrote: >> >> More clues... When web2py loads, rewrite.params.routes_in gets set as >> follows: >> >> - items from base routes_in are appended first >> - then items from app-specific routes_in are ap

[web2py] Re: per app routes

2010-08-31 Thread mwolfe02
This fixed the problems I was having. I'll let you know if I run into anything else. Great work by the way...app-specific routes are a huge plus for web2py. -Mike On Aug 31, 1:31 pm, Jonathan Lundell wrote: > On Aug 31, 2010, at 10:16 AM, Jonathan Lundell wrote: > > > > > On Aug 31, 2010, at 1

[web2py] Re: problem list:string in GAE

2010-08-31 Thread Martin.Mulone
I made a simple app, that show the bug, the problem is only in GAE. http://rapidshare.com/files/416295273/web2py.app.listproblem.w2p On Aug 31, 11:45 am, "Martin.Mulone" wrote: > I don't get the logic of this problem. This problem only ocurrs in > GAE, local works fine. > > I'am using the new i

[web2py] Re: per app routes

2010-08-31 Thread mwolfe02
default_function does not seem to be recognized properly in app- specific routes.py. I'm thinking default_controller may have a similar problem, but I'm not really redefining it. My base routes.py has default_application set to 'my_app' (and nothing set for default_controller or default_function)

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 12:53 PM, mwolfe02 wrote: > > default_function does not seem to be recognized properly in app- > specific routes.py. I'm thinking default_controller may have a > similar problem, but I'm not really redefining it. > > My base routes.py has default_application set to 'my_app' (

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 12:53 PM, mwolfe02 wrote: > > default_function does not seem to be recognized properly in app- > specific routes.py. I'm thinking default_controller may have a > similar problem, but I'm not really redefining it. > > My base routes.py has default_application set to 'my_app' (

Re: [web2py] Re: strange problem

2010-08-31 Thread Richard Vézina
Hello, Sorry for the delay I have been out off time... Ok The problem is that you can't not see which id are selected if "multiple=True" db.databasetable.field.requires=\ IS_IN_DB(db,'othertable.id',multiple=True) crud.update(db.databasetable,1) Will not show the multiples foreign id sele

[web2py] Python and web2py in the brazilian magazine 'Espirito Livre'

2010-08-31 Thread Bruno Rocha
This month the brazilian magazine Espirito Livre("Free Spirit"), which deals with various issues related to free and open source software, presents the premiere of the column "web development with Python" In this first edition is an article talking about using of Python by big corporations and has

Re: [web2py] Re: per app routes

2010-08-31 Thread Michael Wolfe
That didn't seem to quite do it. Visiting http://domain.com/ rewrites to http://domain.com/my_app/default/index/ instead of http://domain.com/my_app/default/search/. The URL is being substantively rewritten in the parse_url function (lines 802-807) of gluon/main.py: request.application = \

Re: [web2py] Re: per app routes

2010-08-31 Thread Jonathan Lundell
On Aug 31, 2010, at 2:20 PM, Michael Wolfe wrote: > > That didn't seem to quite do it. Visiting http://domain.com/ rewrites > to http://domain.com/my_app/default/index/ instead of > http://domain.com/my_app/default/search/. The URL is being > substantively rewritten in the parse_url function (li

[web2py] ANN: PeerTool, a web2py app for collaborative problem solving

2010-08-31 Thread Michael Ellis
Hi all, First of all, a thousand thanks to Massimo and all the regulars on this group. It's made all the difference in getting this app written. As usual, the credit is theirs, the blame mine. Version 0.55 of PeerTool is available for use on GAE at http://peertool.appspot.com There's an intr

Re: [web2py] Re: Field default

2010-08-31 Thread Adrian Klaver
On Sunday 29 August 2010 3:51:30 pm mdipierro wrote: > > The former is the intended way this should be done. With recent > changed to trunk, you should be able to do in the latter way... buy > why? It just results in code that is less portable. > > Massimo > The change to trunk worked for me. By

[web2py] Re: Date field represent not respected when for validation fails [SOLVED]

2010-08-31 Thread smg
Sorry, what I use not my own conversation, but I try to change calendar widget for date field and have same problem like RipRyness had. I create small application just to recreate this problem: In model: T.force('it') # force internationalization to change date format to

[web2py] Re: How to switch language in application?

2010-08-31 Thread Christopher Steel
Hi David, You can do this a number of ways. We have an application here http://code.google.com/p/uc-language/ you can take a look at. We implemented language changing using a session variable which allows us to test. You can clone the application to your web2py directory and run it. Note that the

[web2py] Re: How to switch language in application?

2010-08-31 Thread Christopher Steel
That will work, Note that generally this is only required for people who want to view the site in a language the client (browser) is not set up for (something we do all the time when we are creating multilingual applications. Christopher Steel Voice of Access On 31 août, 10:42, Skiros wrote: >

[web2py] Re: How to switch language in application?

2010-08-31 Thread Christopher Steel
FYI, you can disable the debugging information by setting the debugging var in the menu to 'False' when you no longer need all the var info. Cheers, Chris On 26 août, 05:53, David Marko wrote: > How can I switch language in application in a way, that app will > remember this? T.force() seems to

[web2py] rewrite.py patch

2010-08-31 Thread Jonathan Lundell
One more change to rewrite.py. http://web.me.com/jlundell/filechute/rewrite.zip I took out the custom logging logic, which was confusing, because now that we have generalized logging it's redundant. However, there's a remaining problem to be resolved. Maybe.

[web2py] Re: ANN: first pre-alfa release (v0.2) of Web2Py_CC

2010-08-31 Thread sociotech
Stef, Thanks for developing what looks like an awesome environment for web2py. I tried installing it with your recommended dependencies on my Ubuntu 10.04 system (Python 2.6) and got the following error: Traceback (most recent call last): File "Web2py_CC.py", line 24, in import wx.lib.agw

[web2py] Re: very straaaaaaange

2010-08-31 Thread mdipierro
I do not understand. Can you show some code? On Aug 31, 10:11 am, weheh wrote: > I'm taking the len(x) where x is an instance of an SQLRow object and > I'm getting back what I'm looking for, which is the > response.session_id, but I didn't expect to find it there!!! > > Coincidentally, retrieving

[web2py] Re: problem list:string in GAE

2010-08-31 Thread mdipierro
there is an error right here: post.update_record(keywords = 'keywords1 keywords2') should be post.update_record(keywords = ['keywords1','keywords2']) On Aug 31, 9:45 am, "Martin.Mulone" wrote: > I don't get the logic of this problem. This problem only ocurrs in > GAE, local works fine. > > I

[web2py] Re: Python and web2py in the brazilian magazine 'Espirito Livre'

2010-08-31 Thread mdipierro
wow. congratulations Bruno. On Aug 31, 4:18 pm, Bruno Rocha wrote: > This month the brazilian magazine Espirito Livre("Free Spirit"), > which deals with various issues related to free and open source software, > presents the premiere of the column "web development with Python" > > In this first e

[web2py] Re: ANN: PeerTool, a web2py app for collaborative problem solving

2010-08-31 Thread mdipierro
I have not seen the entire video yet but I will soon. Seems very interesting and could be useful for teaching. Massimo On Aug 31, 6:43 pm, Michael Ellis wrote: > Hi all, > > First of all,  a thousand thanks to Massimo and all the regulars on > this group.  It's made all the difference in getting

Re: [web2py] Re: ANN: PeerTool, a web2py app for collaborative problem solving

2010-08-31 Thread Michael Ellis
Thanks Massimo, and sorry about the length of the video. I was trying to explain it in a way that would be accessible to non-technical users so I felt like I needed to be explicit about things like how to register, use the editor, etc. On Tue, Aug 31, 2010 at 11:25 PM, mdipierro wrote: > I ha

[web2py] Re: please check 1.84.0 (beta)

2010-08-31 Thread mart
Hi again, k, good news! I broke it again! :) I can't get the server to start (which is a good thing here). Now, I can jump in and see. But before I do, do we have a patching system? I.e. download and run "patch # X" (will this or that problem)?. Just asking because this kind of feels like this ty

[web2py] 250+ users one application

2010-08-31 Thread annet
Last week someone asked me if I could build a web app for a node in a network. Over the past couple of days I gave this question some thought, and I came up with a design of which I don't know if its doable in web2py. The node has 250+ members. At the moment there is a master/detail function which