Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-11 Thread Caleb Hattingh
On 11 June 2011 11:42, Pierre Thibault wrote: > 2011/6/11 Alessandro Iob > >> Hi Pierre, >> >> I'll send a test application to Anthony this weekend. >> >> I've experienced the same problem under OS X (with a case-insensitive file >> system) when I've changed the case from "Castalia" to "castalia

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-11 Thread Pierre Thibault
2011/6/11 Alessandro Iob > Hi Pierre, > > I'll send a test application to Anthony this weekend. > > I've experienced the same problem under OS X (with a case-insensitive file > system) when I've changed the case from "Castalia" to "castalia": > web2py tried to include the controllers from old "Ca

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-10 Thread Caleb Hattingh
On 11 June 2011 04:55, Pierre Thibault wrote: > 2011/6/9 Pierre Thibault >> >> 2011/6/9 >>> >>> On , Anthony wrote: >>> > Do you have an app to reproduce the problem? I created an app named >>> > "Castalia" (note the capitalization) with a module >>> > /modules/selfgroup/castalia/config.py, whi

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-10 Thread Pierre Thibault
2011/6/9 Pierre Thibault > 2011/6/9 > >> On , Anthony wrote: >> > Do you have an app to reproduce the problem? I created an app named >> "Castalia" (note the capitalization) with a module >> /modules/selfgroup/castalia/config.py, which I think is the same structure >> and naming as Alessandro's

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Pierre Thibault
2011/6/9 > On , Anthony wrote: > > Do you have an app to reproduce the problem? I created an app named > "Castalia" (note the capitalization) with a module > /modules/selfgroup/castalia/config.py, which I think is the same structure > and naming as Alessandro's app. In a controller action, I the

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread caleb . hattingh
On , Anthony wrote: Do you have an app to reproduce the problem? I created an app named "Castalia" (note the capitalization) with a module /modules/selfgroup/castalia/config.py, which I think is the same structure and naming as Alessandro's app. In a controller action, I then did: from

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Anthony
On Thursday, June 9, 2011 10:40:19 AM UTC-4, cjrh wrote: > > On Thursday, 9 June 2011 16:22:10 UTC+2, Anthony wrote: >> >> importer still appears to work. So, as far as I can tell, the importer >> works, even without the fix in trunk, though maybe I have misunderstood the >> problem. >> > > Yes

[web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Anthony
On Thursday, June 9, 2011 10:29:40 AM UTC-4, Massimo Di Pierro wrote: > > It works for you because of the temporary fix (ignore capitalization). > What Pierre and Caleb are saying is that it should NOT work if you get > capitalization wrong. No, I'm testing with 1.96.3, which is before the fi

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread cjrh
On Thursday, 9 June 2011 16:22:10 UTC+2, Anthony wrote: > > But in a web2py app, you would have something like > /applications/Cast/modules/cast.py, and in your code you would just do > 'import cast'. My understanding of the problem is that in that case, the new > web2py importer tries to import

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread cjrh
On Thursday, 9 June 2011 16:22:10 UTC+2, Anthony wrote: > > importer still appears to work. So, as far as I can tell, the importer > works, even without the fix in trunk, though maybe I have misunderstood the > problem. > Yes, it is confusing. The case-insensitivity works only until a name is

[web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Massimo Di Pierro
It works for you because of the temporary fix (ignore capitalization). What Pierre and Caleb are saying is that it should NOT work if you get capitalization wrong. On Jun 9, 9:25 am, Anthony wrote: > On Thursday, June 9, 2011 10:18:41 AM UTC-4, cjrh wrote: > > > On , Massimo Di Pierro wrote: > >

Re: Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread caleb . hattingh
On , Anthony wrote: On Thursday, June 9, 2011 10:18:41 AM UTC-4, cjrh wrote: On , Massimo Di Pierro massim...@gmail.com> wrote: > So you suggest removing the case insensitive flag that was added in 1.96.4? Yes. In Alessandro's specific case, he should use: import app.Castalia.blah.blah.c

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Anthony
On Thursday, June 9, 2011 10:18:41 AM UTC-4, cjrh wrote: > > On , Massimo Di Pierro wrote: > > So you suggest removing the case insensitive flag that was added in > 1.96.4? > > Yes. In Alessandro's specific case, he should use: > > import app.Castalia.blah.blah.castialia But shouldn't he be a

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread cjrh
On Thursday, 9 June 2011 16:03:01 UTC+2, cjrh wrote: > > In my opinion, we should just document that the cast must match. Note that > this issue has *nothing to do with web2py*, and as a Windows user, I am > not too surprised by this behaviour anyway. > ...should just document that the *case *

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Anthony
But in a web2py app, you would have something like /applications/Cast/modules/cast.py, and in your code you would just do 'import cast'. My understanding of the problem is that in that case, the new web2py importer tries to import applications.cast.modules.cast instead of applications.Cast.modu

Re: Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread caleb . hattingh
On , Massimo Di Pierro wrote: So you suggest removing the case insensitive flag that was added in 1.96.4? Yes. In Alessandro's specific case, he should use: import app.Castalia.blah.blah.castialia and all will be fine.

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Massimo Di Pierro
So you suggest removing the case insensitive flag that was added in 1.96.4?

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread cjrh
For anyone else following, the thread is here. I am going to have a look at this.

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Pierre Thibault
2011/6/9 > On , Pierre Thibault wrote: > > 2011/6/9 cjrh caleb.hatti...@gmail.com> > > > > On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote:Users > who have an opinion please share it now. This is important. > > > > Could you direct us to more details about the issue?My curre

Re: Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread caleb . hattingh
On , Pierre Thibault wrote: 2011/6/9 cjrh caleb.hatti...@gmail.com> On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote:Users who have an opinion please share it now. This is important. Could you direct us to more details about the issue? My current understanding is shallow,

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-09 Thread Pierre Thibault
2011/6/9 cjrh > On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote: >> >> Users who have an opinion please share it now. This is important. >> > > Could you direct us to more details about the issue?My current > understanding is shallow, but I agree with Pierre that platform-spe

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread cjrh
On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote: > > Users who have an opinion please share it now. This is important. > Could you direct us to more details about the issue?My current understanding is shallow, but I agree with Pierre that platform-specific environment setti

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Massimo Di Pierro
If I understand the code in trunk (with the temp fix) it does not affect file wiring. It just changes how modules are located so that if you have both module and modUle and you import modUle, it would incorrectly pick up the former instead of the latter. I have yet to see to module with names that

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Jonathan Lundell
On Jun 8, 2011, at 6:47 PM, Pierre Thibault wrote: > 2011/6/8 Jonathan Lundell > On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote: > > > > Let me tink about this. > > This has relevant content: > > http://www.python.org/dev/peps/pep-0235/ > > > > Users who have an opinion please share it now. T

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread contatogilson...@gmail.com
The blocks are not working. layout.html (...) {{ block header }}{{end}} header.html {{ extend 'layout.html' }} {{ block header }} Header {{ end }} _ *Gilson Filho* *Web Developer http://gilsondev.com* 2011/6/8 Pierre Thibault > 2011/6/8 Jonath

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Pierre Thibault
2011/6/8 Jonathan Lundell > On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote: > > > > Let me tink about this. > > This has relevant content: > > http://www.python.org/dev/peps/pep-0235/ > > > > Users who have an opinion please share it now. This is important. > > What's going on, exactly? My i

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Pierre Thibault
2011/6/8 Massimo Di Pierro > Let me tink about this. > This has relevant content: > http://www.python.org/dev/peps/pep-0235/ > > Users who have an opinion please share it now. This is important. > Thank you for the pointer. It seems there is a bug in the web2py code where we are losing the capit

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Jonathan Lundell
On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote: > > Let me tink about this. > This has relevant content: > http://www.python.org/dev/peps/pep-0235/ > > Users who have an opinion please share it now. This is important. What's going on, exactly? My impression is that something is getting lowe

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Massimo Di Pierro
Let me tink about this. This has relevant content: http://www.python.org/dev/peps/pep-0235/ Users who have an opinion please share it now. This is important. On Jun 8, 7:45 pm, Pierre Thibault wrote: > 2011/6/7 Massimo Di Pierro > > > I am not much of a windows user. I would like to understand

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Pierre Thibault
2011/6/7 Massimo Di Pierro > I am not much of a windows user. I would like to understand what can > go wrong with the solution in trunk? > -- > Is the solution in the trunk the one proposed by Alessandro: os.environ['PYTHONCASEOK'] = '1' ? Well, this solution is using a global change to fix f

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread JayShaffstall
The model is in email/settings.py, the controller is email.py. Both are in the standard spots for web2py models and controllers (e.g. /app/ controllers/email.py, and /app/models/email/settings.py). This was working before the update to 1.96.4, but I'm not sure which version I had pre-update. Bas

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread ron_m
I should have said using version 1.96.4 as verification requested by Jay. BTW controller specific models were not introduced until 1.96.1 On Wednesday, 8 June 2011 13:37:11 UTC-7, ron_m wrote: > > My application is working with model files under a subdirectory == the > controller name. >

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread contatogilson...@gmail.com
And in the pypi? _ *Gilson Filho* *Web Developer http://gilsondev.com* 2011/6/8 ron_m > My application is working with model files under a subdirectory == the > controller name. >

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread ron_m
My application is working with model files under a subdirectory == the controller name.

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Massimo Di Pierro
what is the exact path to the model? and what s the associated controller name (full path)? On Jun 8, 2:29 pm, JayShaffstall wrote: > Can anyone verify whether controller specific models are working for > them using 1.96.4? > > I had an email.py controller, with email/settings.py model.  Confirme

[web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread JayShaffstall
Can anyone verify whether controller specific models are working for them using 1.96.4? I had an email.py controller, with email/settings.py model. Confirmed with a print that the settings.py model is no longer being loaded when I invoke a method inside email.py. This was working fine with my pr

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-08 Thread Phyo Arkar
cjrh Thank you so much for this notice. I have not update web2py for very long coz it have a track record of breaking my production site apps :D. I will check out what breaks and what not. On Wed, Jun 8, 2011 at 12:53 PM, cjrh wrote: > On Jun 7, 10:16 pm, Massimo Di Pierro > wrote: >> - explic

[web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread cjrh
On Jun 7, 10:16 pm, Massimo Di Pierro wrote: > - explicitly closing all open files (should make it work in Pypy), > thanks Caleb Just everyone, please note: that was a large change (>80KB diff) affecting tiny parts of many files, so you should test your apps before immediately upgrading any produ

[web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread cjrh
On Jun 7, 10:38 pm, danto wrote: > Traceback (most recent call last): >   File "/home/danto/web2py/gluon/restricted.py", line 184, in restricted >     passed to RestrictedError to identify where the error occurred. >   File "/home/danto/web2py/applications/admin/models/access.py", line > 2, in >

[web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread cjrh
On Jun 7, 10:38 pm, danto wrote: > I tried to upgrade from the web interface at my local installation and seem > to break something, raising me an error. I found this in the admin app error > log: > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > > Traceback (most recent call last): >   File "/home/danto/web

[web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread Massimo Di Pierro
I am not much of a windows user. I would like to understand what can go wrong with the solution in trunk? On Jun 7, 7:01 pm, Pierre Thibault wrote: > 2011/6/7 Massimo Di Pierro > > > What do you propose? I do not like it very much either. > > > On Jun 7, 3:33 pm, Pierre Thibault wrote: > > > 20

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread Pierre Thibault
2011/6/7 Massimo Di Pierro > What do you propose? I do not like it very much either. > > On Jun 7, 3:33 pm, Pierre Thibault wrote: > > 2011/6/7 Massimo Di Pierro > > > > > - auto import should work on windows (now on windows ignore will > > > ignore case by default) > > > > I don't like this so

Re: [web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread Stifan Kristi
good job, everyone, hope web2py improve day by day, thank you so much. \(^o^)/

[web2py] Re: web2py 1.96.4 is OUT

2011-06-07 Thread Massimo Di Pierro
What do you propose? I do not like it very much either. On Jun 7, 3:33 pm, Pierre Thibault wrote: > 2011/6/7 Massimo Di Pierro > > > - auto import should work on windows (now on windows ignore will > > ignore case by default) > > I don't like this solution. > > -- > > A+ > > - > Pier