[web2py] migrate=False ignored?

2012-08-31 Thread Annet
I defined the following tables: # ## Address bookt: # db.define_table('node', migrate='node.table') db.define_table('organization', ...

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Annet
> yet you have a > >{{=auth.navbar()}} in the layout. > Do you mean this line in layout.html? {{='auth' in globals() and auth.navbar() or ''}} Does appadmin need it? Or is it there for us to use in our views? In case of the latter I could remove this line without running into problems.

[web2py] Re: Customizing Auth

2012-08-31 Thread Annet
> is missing a closed ), > > Field('comment',type='text',requires=IS_LENGTH(512,error_message=T('length > exceeds 512 characters'))), > Thanks, problem solved. > There may be more typos I did not catch. > No, this was the only one ;-) Kind regards, Annet. --

[web2py] Foreign Key not showing up in form (One table only)

2012-08-31 Thread Kevin C
We're having a strange issue here. We have defined around 20 tables already with foreign keys everywhere and working fine. Today we created two additional tables but the foreign key dropdown isn't working for one of them. (This is just using the database manager through appadmin) Tables are: d

[web2py] Re: web2py 2.0.5 is out

2012-08-31 Thread apps in tables
make a gift to win 10,000 ??? it is in the main page of web2py.com --

Re: [web2py] Re: Lazy_tables with virtual fields

2012-08-31 Thread paolo.vall...@gmail.com
Hi Massimo, the error is: Cannot operate on a closed database. ticket: Traceback (most recent call last): File "/home/paolo/Dropbox/git/pp/web2py/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/paolo/Dropbox/git/pp/web2py/applications/test_vf/views/defa

[web2py] Re: web2py resources

2012-08-31 Thread lukedc
This is a very useful topic. I have found this site to be very useful. It is for beginners: http://killer-web-development.com/ On Monday, April 30, 2012 2:49:41 PM UTC-5, Anthony wrote: > > Most web2py resources can be found on web2py.com, but here are some > Google Groups topics identifying

Re: [web2py] help with apache

2012-08-31 Thread Marin Pranjić
I have the same problem, but starting web2py with WingIDE debugger (rocket). It happens on ubuntu but not on windows (I do not use windows much so maybe I didn't notice yet). I change ~5 ports in one day. And this wasn't happening before. On Sep 1, 2012 12:02 AM, "Massimo Di Pierro" wrote: My w

[web2py] Re: Ckeditor(plugin) using the LOAD (....., ajax = True)

2012-08-31 Thread Picheth
Hi All I need to use the function LOAD(ajax=True) ckeditor but is there a way I can help. Picheth. --

Re: [web2py] Cannot install on computer

2012-08-31 Thread lukedc
Yes, it works. Thank you so much. I am learning web2py, it is a great framework, Thank you once again sir, Luke On Thursday, August 30, 2012 11:40:21 PM UTC-5, Massimo Di Pierro wrote: > > The web2py_win.zip should also work now. > > On Thursday, 30 August 2012 23:19:20 UTC-5, lukedc wrote: >> >>

[web2py] Re: web2py 2.0.5 is out

2012-08-31 Thread wwwgong
Congratulations and Many Thanks! The new web2py is my best birthday gift. Cheers! On Friday, August 31, 2012 5:59:43 PM UTC-4, Massimo Di Pierro wrote: > > web2py 2.0.5 is out. > All known backward compatibility issues should be fixed but continue > testing... thank you for your patience. > > m

[web2py] Re: How to modify Welcome application so that users with "do not want to be tracked" can still register?

2012-08-31 Thread Massimo Di Pierro
You are right. if auth.remember is set the cookie will have an expiration. that must be the problem. On Friday, 31 August 2012 18:50:34 UTC-5, Anthony wrote: > > If you include the "remember me for 30 days" option on the login form, I > think it does set a cookie expiration, right? Maybe that's

Re: [web2py] help with apache

2012-08-31 Thread Cliff Kachinske
Maybe you have an orphan process? http://www.geekride.com/orphan-zombie-process/ On Friday, August 31, 2012 7:10:25 PM UTC-4, Massimo Di Pierro wrote: > > That helps. Somehow my screen was not large enough and I did not see the > PID. > > mdipierro@www:~$ sudo /etc/init.d/apache2 stop > [sudo] p

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Anthony
On Friday, August 31, 2012 3:11:20 PM UTC-4, Massimo Di Pierro wrote: > > what is the point of auth = Auth(db) in your code without having an > auth_user table? I must be missing something about what you are trying to > do. First, just to have the auth navbar appear on every page, it shouldn't

[web2py] Re: How to modify Welcome application so that users with "do not want to be tracked" can still register?

2012-08-31 Thread Anthony
If the remember me option is the issue, maybe you could add a Javascript popup that warns the user that cookies must be enabled. Anthony On Friday, August 31, 2012 7:50:34 PM UTC-4, Anthony wrote: > > If you include the "remember me for 30 days" option on the login form, I > think it does set a

[web2py] Re: How to modify Welcome application so that users with "do not want to be tracked" can still register?

2012-08-31 Thread Anthony
If you include the "remember me for 30 days" option on the login form, I think it does set a cookie expiration, right? Maybe that's the problem. Of course, someone who doesn't want to be remembered probably shouldn't check the "remember me" option. Anthony On Friday, August 31, 2012 5:54:58 PM

Re: [web2py] help with apache

2012-08-31 Thread Massimo Di Pierro
That helps. Somehow my screen was not large enough and I did not see the PID. mdipierro@www:~$ sudo /etc/init.d/apache2 stop [sudo] password for mdipierro: * Stopping web server apache2 [ OK ] mdipierro@www:~$ sudo /etc/init.d/a

Re: [web2py] help with apache

2012-08-31 Thread Bruno Rocha
There is something here: http://ubuntuforums.org/showthread.php?t=1636667 On Fri, Aug 31, 2012 at 7:02 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Address already in use: make_sock: could not bind to address [::]:80 --

[web2py] Real time web app game

2012-08-31 Thread Oscar Hou
Hello, I am trying to build a web based game that requires real time interactions. What I currently have in mind is to have a UI and game interface in a web2py application. The application will make rest calls to a Node.js server ( that may be hosted on the same machine) to communicate and inte

[web2py] help with apache

2012-08-31 Thread Massimo Di Pierro
My web server started exhibiting a strange behavior: $ /etc/init.d/apache stop [ok] $ /etc/init.d/apache start * Starting web server apache2 (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make

[web2py] web2py 2.0.5 is out

2012-08-31 Thread Massimo Di Pierro
web2py 2.0.5 is out. All known backward compatibility issues should be fixed but continue testing... thank you for your patience. massimo On Wednesday, 29 August 2012 22:41:34 UTC-5, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed r

Re: [web2py] "Tweet this" and web2py forms. How do I design this?

2012-08-31 Thread Massimo Di Pierro
web2py has an Oauth 1 and Oauth 2 consumer, not a provider. It includes a CAS provider. not sure if this answers your question. On Thursday, 30 August 2012 15:42:56 UTC-5, Pystar wrote: > > But I am only using web2py inbuilt Auth. Can I use Auth and still allow > users grant permission to my ap

[web2py] Re: How to modify Welcome application so that users with "do not want to be tracked" can still register?

2012-08-31 Thread Massimo Di Pierro
Do not track means: "do not remember me" Login means: "please remember me" they are both manages through cookies. Cookies without expiration should be treated by the browser as session cookies and do not ignore them even if you do not want to be tracked. Web2py does not set an expiration for se

[web2py] Re: "Tweet this" and web2py forms. How do I design this?

2012-08-31 Thread Pystar
question still not answered On Thursday, August 30, 2012 8:17:23 PM UTC+1, Pystar wrote: > > I have a form that includes a "tweet this" select box option. I would like > to tweet the contents of the textarea which is the only form field and at > the same time submit the form to a database. I am

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Massimo Di Pierro
You are right. It is now fixed in 2.0.5 posted. On Friday, 31 August 2012 16:01:52 UTC-5, Brad Miller wrote: > > Here's the select output by the query causing the problem. It looks > exactly how I would right it. So it must be right. :-) > > It seems to me that this new parse_datetime is broke

[web2py] Re: Querying on 1:M Relationships in SQLFORM.grid and SQLFORM.smartgrid

2012-08-31 Thread Massimo Di Pierro
Hello Mike, thanks for your patch? Would you please attach it to a google code issue so we do not forget. We cannot add new feaures until all 2.0.x issues have been resolved. On Friday, August 31, 2012 2:41:30 PM UTC-5, Mike Leone wrote: > > Hello, > > We're building a web2py application that l

[web2py] Too many Values to Unpack -- regression?

2012-08-31 Thread Brad Miller
I just downloaded the latest 2.0.3 (stable) and upgraded my copy of web2py. When checking some of my pages I got this error, which I have reconfirmed works just fine on the 1.99.7 version. Traceback (most recent call last): File "/Users/bmiller/Beta/web2py/gluon/restricted.py", line 209, in r

[web2py] Querying on 1:M Relationships in SQLFORM.grid and SQLFORM.smartgrid

2012-08-31 Thread Mike Leone
Hello, We're building a web2py application that leverages SQLFORM.smartgrid heavily. Out of the box, this does not support filtering on 1:M relationships, or reference fields on the model. We understand the concerns about this: It could potentially be a huge performance hit, especially if the

[web2py] How to modify Welcome application so that users with "do not want to be tracked" can still register?

2012-08-31 Thread nc
Hi, I'm new to web development and just started trying out web2py (v.2.0.3). I found that the user registration in the Welcome application was not working for me: after filling in the form and clicking the Register button, the fields in the form would just all get emptied and there would be n

[web2py] newbie question - recursively finding children

2012-08-31 Thread web-dev-m
Hey everyone! Wow Web2py 2.0 looks so cool! I can't wait to try all the new features. This has made it so easy for me (a non-programmer) to make viable web applications! My question is as follows: For one of my views, each page in my application has a variable number of "child pages", each

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Brad Miller
Just as a quick check, I replaced the new parse_datetime function with the old, and all is well. Brad On Friday, August 31, 2012 3:49:32 PM UTC-5, Brad Miller wrote: > > Here is the value that printed: > > 2012-07-05 02:36:50 > > This field is declared in the model as:Field('timestamp','date

Re: [web2py] Re: Lazy_tables with virtual fields

2012-08-31 Thread Massimo Di Pierro
What's the error? Works for me. On Friday, 31 August 2012 16:00:24 UTC-5, Paolo wrote: > > Hi Massimo, > I made a simple app, accordingly this example the error seems related > to the cache, because without the cache all works fine. > > The model: > db.define_table('reviews_like_s', >

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Brad Miller
Here's the select output by the query causing the problem. It looks exactly how I would right it. So it must be right. :-) It seems to me that this new parse_datetime is broken. The data sure doesn't look corrupt, and I can see how the old logic would work just fine on the data I printed.

Re: [web2py] Re: Lazy_tables with virtual fields

2012-08-31 Thread paolo.vall...@gmail.com
Hi Massimo, I made a simple app, accordingly this example the error seems related to the cache, because without the cache all works fine. The model: db.define_table('reviews_like_s', Field('review_id', 'reference reviews'), Field('helpful', 'boolean')) db.define_

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Brad Miller
Here is the value that printed: 2012-07-05 02:36:50 This field is declared in the model as:Field('timestamp','datetime'), The old parse_datetime function seems to skip over the date part before it does the split on the - Here's the old one: def parse_datetime(self, value, field_type):

[web2py] Re: Smartgrid web2py_console element placement change

2012-08-31 Thread Massimo Di Pierro
Do you use a custom form? Not sure. Can you email the generate html? On Friday, 31 August 2012 15:05:12 UTC-5, Jim S wrote: > > Prior to upgrading to 2.0.x yesterday I was running 2.00.0 dated > 5/17/2012. Up to then the placement of the elements in div > class="web2py_console" were ordered thi

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Massimo Di Pierro
This is the code that causes the problem to you: def parse_datetime(self, value, field_type): if not isinstance(value, datetime.datetime): elif '-' in value: value,tz = value.split('-') This function is called when parsing data retrieved from d

[web2py] Re: Too many values to unpack -- regression?

2012-08-31 Thread Niphlod
seems more a problem with returned values than a different form of select . can you please the output of res with the _select (mind the underscore) with both versions ? count = db.useinfo.id.count() last = db.useinfo.timestamp.max() res = db(db.useinfo.course_id==course.course_id)._selec

Re: [web2py] Re: 2.02 can't edit examples - no languages folder

2012-08-31 Thread Nico Zanferrari
Yes, you're right. The problem is already fixed in the nightly build, but not in the Current version: 2.0.3 (2012-08-30 21:45:50) stable available in the download page. thank you, Nico --

[web2py] Too many values to unpack -- regression?

2012-08-31 Thread Brad Miller
I just upgraded my app to the latest 2.0.3 (stable) and while checking some of my pages got the following error: Traceback (most recent call last): File "/Users/bmiller/Beta/web2py/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/Users/bmiller/Beta/web2py/

Re: [web2py] Re: 2.02 can't edit examples - no languages folder

2012-08-31 Thread Adnan Smajlovic
Nico, I noticed you use yesterday's build... I took today's from github, and all works fine.. On Aug 31, 2012 2:37 PM, "Massimo Di Pierro" wrote: > Where did you get the code from (web2py_src.zip, github, googlecode)? > > On Friday, 31 August 2012 12:03:11 UTC-5, Nico Zanferrari wrote: >> >> I'm

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Massimo Di Pierro
what is the point of auth = Auth(db) in your code without having an auth_user table? I must be missing something about what you are trying to do. On Friday, 31 August 2012 13:58:19 UTC-5, Anthony wrote: > > You cannot have a navbar without defining tables. This would never have >> worked and i

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Massimo Di Pierro
Do no worry nobody is offended. :-) We can do better and we should make better. Anyway let me summarize the status: - There was a problem building OSX and Windows binary. This was because of the different folder structure in those distributions. This problem should have been caught long ago. I

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Anthony
> > You cannot have a navbar without defining tables. This would never have > worked and it should not work. > Looks like it would be easy to make an alteration so navbar wouldn't require the auth tables to be defined. We could add an auth.settings.use_username setting and use it as an alterna

[web2py] Re: Customizing Auth

2012-08-31 Thread Massimo Di Pierro
Line Field('comment',type='text',requires=IS_LENGTH(512,error_message=T('length exceeds 512 characters')) is missing a closed ), Field('comment',type='text',requires=IS_LENGTH(512,error_message=T('length exceeds 512 characters'))), There may be more typos I did not catch. On Friday, 31 Augus

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Massimo Di Pierro
As stated before this is not a web2py 2.0.x issue. The problem is that you have auth =Auth() but you commented out auth.define_tables() yet you have a {{=auth.navbar()}} in the layout. You cannot have a navbar without defining tables. This would never have worked and it should not

[web2py] Re: 2.02 can't edit examples - no languages folder

2012-08-31 Thread Massimo Di Pierro
Where did you get the code from (web2py_src.zip, github, googlecode)? On Friday, 31 August 2012 12:03:11 UTC-5, Nico Zanferrari wrote: > > I'm sorry but the folder:web2py/applications/examples/languages > > is still missing in the 2.0.3 source code (web2py_src.zip of 2012-08-30 > 21:45:50 ) . Af

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread vinicius...@gmail.com
+1 Again, note that I'm not against our team. I'm on it, too. I'm not criticizing. I'm suggesting quality improvement. -- Vinicius Assef On 08/31/2012 11:07 AM, Richard Vézina wrote: Hello, I love web2py and normally I just wait a bit when there is new version to make sure I don't spend to

Re: [web2py] Customizing Auth

2012-08-31 Thread vinicius...@gmail.com
Your error is here: (invalid syntax (20_auth_db.py, line 36)) On 08/31/2012 02:25 PM, Annet wrote: |(invalid syntax (20_auth_db.py, line 36))| --

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-31 Thread Annet
I encountered a similar issue: 'DAL' object has no attribute 'auth_user' Version web2py™ (2, 0, 3, datetime.datetime(2012, 8, 30, 21, 45, 50), 'stable') Python Python 2.6.1: /usr/bin/python2.6 Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Traceback (most recent call last):

[web2py] Customizing Auth

2012-08-31 Thread Annet
I defined the following table: db.define_table( auth.settings.table_user_name, Field('title',length=8,requires=IS_IN_SET(['de heer','mevrouw'],zero=T('select a value')),label='Aanheft * '), Field('firstName',length=32,requires=IS_LENGTH(32,error_message=T('length exceeds 32 charact

[web2py] Re: Deploying as RPM

2012-08-31 Thread LightDot
Sure, I can clean up my spec file for web2py and post it as a starting point / reference. What I'd really like to do is bring it up closer to general Fedora standards in the process, perhaps aiming at an inclusion into Fedora/EPEL later on. The main difference now (a major one) is that I packag

[web2py] Re: 2.02 can't edit examples - no languages folder

2012-08-31 Thread Nico Zanferrari
I'm sorry but the folder:web2py/applications/examples/languages is still missing in the 2.0.3 source code (web2py_src.zip of 2012-08-30 21:45:50 ) . After creating it manually, editing examples application works fine. Nico Il giorno giovedì 30 agosto 2012 22:07:51 UTC+2, Massimo Di Pierro ha

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Le Don X
Well .. so far all the mini apps I have done on web2py 1.99.7 are working fine with 2.02+ ... I have not found any issues yet ! ... except for that upgrade button on 1.99.7 that is not working on any platform or browser !! ( well .. maybe with a mac platform ! - I did not test it on a mac )

[web2py] Re: Async processing options

2012-08-31 Thread Yarin
No I'd much rather use the scheduler than introduce ajax- It's the server's responsibility after all. Not a big deal, just wanted to make sure I wasn't missing something obvious. -Thanks On Friday, August 31, 2012 12:37:42 PM UTC-4, Niphlod wrote: > > I'll try to be as little biased as I can: yo

Re: [web2py] Removing labels from forms

2012-08-31 Thread Alec Taylor
Perfect, thanks to you both :) --

[web2py] Re: IS_IN_DB limited to parentID==0

2012-08-31 Thread Annet
Hi, Thanks for your reply, I'll give your solution a try. Kind regards, Annet --

[web2py] Re: web2py 2.02 ( stable) install right next to web2py 1.99.7 (stable) under home/www-data/ ....

2012-08-31 Thread Don_X
For those of you who wish to do the same thing ...and have web2py running under apache2 with ubuntu ( in my case it is ubuntu 12.04 LTS ) While the upgrade action is not possible or a bit buggy from 1.99.7 to 2.02+, this thread is about installing the latest web2py in parallel ( or next to ) y

[web2py] Re: Async processing options

2012-08-31 Thread Niphlod
I'll try to be as little biased as I can: you can embed an ajax call in your response page that points to a "hidden" page that does all the work of resizing/uploading/updatingthedb. Basically the users uploads the large image, you redirect him to "Thanks for posting" page, in that page there is

[web2py] Async processing options

2012-08-31 Thread Yarin
I have an app where the user uploads a large photo using web2py's normal upload mechanism. After that, the program needs to do some image manipulation, upload it to cloudfiles, and update the db when it's complete. But I don't want to require the user to wait around for all that to finish befor

[web2py] plugin_detect_mobile in Coockbook

2012-08-31 Thread andrej burja
in the book Application development cookbock there is plugin_detec_mobile (page 324) and there is a line, if switch_view: view = '%(controller)s/%(function)s.mobile.%(extension)s' % request if os.path.exists(os.path.join(request.folder, 'views',view)): response.view = view there i

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread greaneym
Web2py and its support community are fantastic. I will try to participate more in testing. On Friday, August 31, 2012 7:46:29 AM UTC-5, Massimo Di Pierro wrote: > > We should have tested the osx and win more. This is my mistake. Other > minor issues are physiological. > Anyway, I believe all is

Re: [web2py] Re: How to turn retrieved rows into a SELECT?

2012-08-31 Thread Massimo Di Pierro
You may be making all your data publicly readable/writable and deletable if you do that. On Thursday, 30 August 2012 21:27:29 UTC-5, lyn2py wrote: > > I finally figured out how. Just remove user_signature=True and it works > > On Thursday, August 30, 2012 9:48:21 PM UTC+8, Richard wrote: >> >> Wi

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Anthony
It's also worth noting that with this release, 2.0.1 was not released as "stable" but was only ever labeled as a release candidate (rc4 and rc5). The first "stable" release was actually 2.0.2. This is a little different from how it was done in the past (in the past, .1 would have been released

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Richard Vézina
I know, I had test a couple of time... I have many difficulties to migrate since 1.99.7, before this version I was following web2py cycle with not so much difficulties... I could just develop a dummy app to test the new features, but it takes time. If there were testing app, were we could all im

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Anthony
> > but I think it could be very good to have a beta testing a week before > stable. > July 15: https://groups.google.com/forum/#!msg/web2py/oJWdhd9WENE/vqLrMgnmLT4J August 17: https://groups.google.com/forum/#!msg/web2py/YNfreBJ2LYo/vr59ctrKYboJ August 26: https://groups.google.com/forum/?fr

Re: [web2py] Re: How to turn retrieved rows into a SELECT?

2012-08-31 Thread Richard Vézina
Hmm there is conflict with the plugin and user_signature feature, that's not good... Richard On Thu, Aug 30, 2012 at 10:27 PM, lyn2py wrote: > I finally figured out how. Just remove user_signature=True and it works > > > On Thursday, August 30, 2012 9:48:21 PM UTC+8, Richard wrote: > >> Will tr

[web2py] Re: problem upgrading from 1.994 to latest version on mac os

2012-08-31 Thread greaneym
Massimo, I changed nothing on my mac and re-downloaded again just now and it is working. I don't have any file on my system named "Applicatoin". But thank you, it's working now. >> >> >> --

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Richard Vézina
Hello, I love web2py and normally I just wait a bit when there is new version to make sure I don't spend to much time on version issue. I also test de trunk once in a wild, but I found difficult to proceed that way. 1) I don't have much time, 2) there is often little issue that will be gone in a

[web2py] Re: Issue rendering URL inside an A

2012-08-31 Thread Anthony
To be clear, when you do "view source" in the browser, you see: http://localhost:8000/web2py_jquery/default/index#null"; I get: http://localhost:8000/web2py_jquery/default/index#null>" and I don't see how web2py could be generating your version. Of course, if I hover over the link or actually

Re: [web2py] Upgrade to 2.0.x - AttributeError: 'Table' object has no attribute 'permissionid'

2012-08-31 Thread Jim S
Yes, that works for me. -Jim On Friday, August 31, 2012 8:36:51 AM UTC-5, Massimo Di Pierro wrote: > > I am using trunk (2.0.3). Your original code is correct. > > I cannot reproduce the issue. I tried: > > $ python web2py.py -S welcome -M -N > >>> link = db.define_table('link', > Field('lin

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Anthony
> > > Web2py has so much features and it is impossible to test everything. > > Sorry, but I cannot agree with this statement. Is it the official > position? > Well, we can probably improve the unit test coverage. And there's been recent talk of developing a test application to check against f

Re: [web2py] Upgrade to 2.0.x - AttributeError: 'Table' object has no attribute 'permissionid'

2012-08-31 Thread Massimo Di Pierro
I am using trunk (2.0.3). Your original code is correct. I cannot reproduce the issue. I tried: $ python web2py.py -S welcome -M -N >>> link = db.define_table('link', Field('linkId', 'id', readable=False), Field('name', length=50, required=True, unique=True), Field('parentLinkId', 'r

[web2py] Re: problem upgrading from 1.994 to latest version on mac os

2012-08-31 Thread Massimo Di Pierro
I am pretty sure this is resolved. /Applicatoins is not in web2py. That must be a folder in your system. I am pretty sure you downloaded web2py in the wrong place and are you still trying to run the one posted yesterday. This issue has been fixed since 2012-08-31 00:31:48 EST. Try download it a

Re: [web2py] Upgrade to 2.0.x - AttributeError: 'Table' object has no attribute 'permissionid'

2012-08-31 Thread Jim Steil
No, I made no changes to my code what-so-ever. -Jim On Fri, Aug 31, 2012 at 8:20 AM, Bruno Rocha wrote: > did you turned lazy_tables to True on your db definition? > > Bruno Rocha > http://rochacbruno.com.br > mobile > Em 31/08/2012 10:02, "Jim S" escreveu: > > Getting the following: >> >> Tr

Re: [web2py] Upgrade to 2.0.x - AttributeError: 'Table' object has no attribute 'permissionid'

2012-08-31 Thread Bruno Rocha
did you turned lazy_tables to True on your db definition? Bruno Rocha http://rochacbruno.com.br mobile Em 31/08/2012 10:02, "Jim S" escreveu: > Getting the following: > > Traceback (most recent call last): > File "C:\dev\web2py\gluon\restricted.py", line 209, in restricted > exec ccode in

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Jim S
For the problems I'm having, I only have myself to blame. We were given plenty of time to test our specific implementations but I didn't make the time. I migrated my 2.0.x yesterday and am having issues but Massimo and the team are on top of it, helping me out when I've done nothing to deserve

[web2py] Upgrade to 2.0.x - AttributeError: 'Table' object has no attribute 'permissionid'

2012-08-31 Thread Jim S
Getting the following: Traceback (most recent call last): File "C:\dev\web2py\gluon\restricted.py", line 209, in restricted exec ccode in environment File "C:/dev/web2py/applications/infocenter/models/db.py" , line 152, in

Re: [web2py] Re: KeyError: 'index_name`' when upgrading to 2.0.3

2012-08-31 Thread Jim S
Thanks Massimo, that did the trick. I'm now on to my next error but will start a new thread. -Jim On Thursday, August 30, 2012 8:19:08 PM UTC-5, Massimo Di Pierro wrote: > > Can you check if this works now with trunk? > > On Thursday, 30 August 2012 18:05:34 UTC-5, Jim S wrote: >> >> Wow, I'm r

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-08-31 Thread Alexei Vinidiktov
That would be great! :) On Fri, Aug 31, 2012 at 3:04 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > My wife teaches Italian. Perhaps I get finally get her to use web2py. ;-) > > > On Thursday, 30 August 2012 09:53:56 UTC-5, Alexei Vinidiktov wrote: >> >> Hi, >> >> I'm glad to announ

[web2py] Re: Authenticate one application from another application

2012-08-31 Thread Pradeeshnarayan
Thanks Anthony. I was not aware of CAS. Nice concept. I think this is the best solution for my problem. Thanks again. On Friday, 31 August 2012 12:59:22 UTC+2, Anthony wrote: > > Have you looked at > http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service > ? > > Anthony > >

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Massimo Di Pierro
We should have tested the osx and win more. This is my mistake. Other minor issues are physiological. Anyway, I believe all issues have been taken care within 24hrs. massimo On Friday, August 31, 2012 7:28:19 AM UTC-5, viniciusban wrote: > > See, guys, I'm not blaming anyone and I'm not saying W

[web2py] Re: problem upgrading from 1.994 to latest version on mac os

2012-08-31 Thread greaneym
Hello, I just now downloaded again and get a zip file web2py_osx.zip, which uncompressed. I mv'd it to /Applications from ~/Downloads. When I open, I get a similar error but notice that the word Applications is now spelled Applicatoins in the error which I copied from a popup screen: OSError:

Re: [web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-31 Thread Massimo Di Pierro
I agree. Let's discuss on web2py-developers the best way to do that. On Friday, August 31, 2012 6:07:30 AM UTC-5, Anthony wrote: > > FYI, grid now sets cacheable=True when doing selects: > http://code.google.com/p/web2py/source/detail?r=6596fb84ed0fb49fa19879f80de5fb30ee4d0403. > > Still no cac

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Marin Pranjić
> > Web2py has so much features and it is impossible to test everything. >> > > Sorry, but I cannot agree with this statement. Is it the official position? > > Of course not. These are my thoughts only. It is better when I don't talk much Marin --

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread vinicius...@gmail.com
See, guys, I'm not blaming anyone and I'm not saying Web2py is not good, or your work failed. I pay my bills working with web2py for the last year. I use it for 3 years, now. I really like that and help spread the word. Web2py has so much features and it is impossible to test everything.

[web2py] Re: Issue rendering URL inside an A

2012-08-31 Thread Daniel Gonzalez
>From trunk (github) On Friday, August 31, 2012 1:24:40 PM UTC+2, Anthony wrote: > > I cannot reproduce this either. Running the latest trunk, here's the > output I get in the browser: > > > > > > Testing error with URL and A > click me > /test/default/mycallback > > > > Are you running fr

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Marin Pranjić
It is called stable since no one using trunk/nightly build detected those errors. I agree with you, but you cannot blame anyone. Web2py has so much features and it is impossible to test everything. On Fri, Aug 31, 2012 at 1:44 PM, vinicius...@gmail.com < vinicius...@gmail.com> wrote: > First of

[web2py] Re: Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Anthony
On Friday, August 31, 2012 7:44:31 AM UTC-4, viniciusban wrote: > > First of all, I'd like to thank you all. You're making a great job, guys. > I see web2py becoming more reliable to bigger projects and I'm very > pleased with it. > You all rock! :-) > > In spite of this huge effort, isn't it p

[web2py] Re: Sites not working on http://web2py.com/poweredby

2012-08-31 Thread Anthony
Thanks for reporting. I removed Ourway. todo.kz looks like it was spam, which happens occasionally -- I removed it. The other three will be back up soon. Note, the better sites are already marked as "featured" and always appear at the top of the list. New sites that people add (including spam)

[web2py] Re: Firebird - accessing DB leads to a ticket

2012-08-31 Thread villas
The changed code appears to work well. I do not have fdb yet, but kinterbasdb is now being selected OK, so that's good. Thank you. D On Friday, August 31, 2012 2:24:55 AM UTC+1, Massimo Di Pierro wrote: > > Please check trunk. > > On Thursday, 30 August 2012 19:27:23 UTC-5, villas wrote: >>

[web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread vinicius...@gmail.com
First of all, I'd like to thank you all. You're making a great job, guys. I see web2py becoming more reliable to bigger projects and I'm very pleased with it. You all rock! :-) In spite of this huge effort, isn't it premature to call 2.0.2 or even 2.0.3 stable? I know there were several months

[web2py] Re: user login tables

2012-08-31 Thread Yebach
Yes I kid of worked it trough, the login/logout part It works fine :) Thanks for all the help Anthony. I read a lot of your posts and got some useful answers I will address my next question shortly :) On Thursday, August 30, 2012 9:14:29 AM UTC+2, Anthony wrote: > > On Thursday, August 30, 20

[web2py] Re: Issue rendering URL inside an A

2012-08-31 Thread Anthony
I cannot reproduce this either. Running the latest trunk, here's the output I get in the browser: Testing error with URL and A click me /test/default/mycallback Are you running from source, or the Windows or Mac binary? Anthony On Friday, August 31, 2012 2:13:01 AM UTC-4, Daniel Gonzale

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-31 Thread Anthony
On Thursday, August 30, 2012 10:44:51 PM UTC-4, Amit wrote: > > As I told you I have created my own custom html without extending > layout.html. "I have created my own custom html" != "I have not loaded jQuery" :-) > I am not sure how to load JQuery in that? > It's just a Javascript libra

Re: [web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-31 Thread Anthony
FYI, grid now sets cacheable=True when doing selects: http://code.google.com/p/web2py/source/detail?r=6596fb84ed0fb49fa19879f80de5fb30ee4d0403. Still no caching option, though (I guess you can cache the output of the grid itself, though, which is probably better because it avoids all the proce

[web2py] Re: Authenticate one application from another application

2012-08-31 Thread Anthony
Have you looked at http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service? Anthony On Friday, August 31, 2012 6:06:19 AM UTC-4, Pradeeshnarayan wrote: > > I have two different web2py application. (different database) > > I have a requirement like. My second application (appl

Re: [web2py] Removing labels from forms

2012-08-31 Thread Anthony
On Friday, August 31, 2012 6:41:14 AM UTC-4, Alec Taylor wrote: > > Is it not possible to display the text "Password"? Sure you can. My point was that the code Bruno gave you specifically selects inputs of type "text", so it's not touching the password field, which is type "password". Anthony

Re: [web2py] Removing labels from forms

2012-08-31 Thread Alec Taylor
Is it not possible to display the text "Password"? Like they do in Twitter-Bootstrap examples: http://twitter.github.com/bootstrap/base-css.html#forms On Fri, Aug 31, 2012 at 12:54 AM, Anthony wrote: > It doesn't work for password because type="password" for that field. It > doesn't work for po

[web2py] Re: Authenticate one application from another application

2012-08-31 Thread Ralo Tannahill
In application1 when the user is registered you can load the session variables you need and access them from application2 session.connect(request,response,masterapp='application1') Put it in a model in application2 and you can access to the session variables fro mapplication1, without accessing

  1   2   >