On 11 June 2011 04:55, Pierre Thibault pierre.thibau...@gmail.com wrote:
2011/6/9 Pierre Thibault pierre.thibau...@gmail.com
2011/6/9 caleb.hatti...@gmail.com
On , Anthony abasta...@gmail.com wrote:
Do you have an app to reproduce the problem? I created an app named
Castalia (note the
2011/6/11 Alessandro Iob alessandro@gmail.com
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
On 11 June 2011 11:42, Pierre Thibault pierre.thibau...@gmail.com wrote:
2011/6/11 Alessandro Iob alessandro@gmail.com
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
2011/6/9 Pierre Thibault pierre.thibau...@gmail.com
2011/6/9 caleb.hatti...@gmail.com
On , Anthony abasta...@gmail.com 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
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
On , Pierre Thibault pierre.thibau...@gmail.com 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
2011/6/9 caleb.hatti...@gmail.com
On , Pierre Thibault pierre.thibau...@gmail.com 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
For anyone else following, the thread is
herehttps://groups.google.com/d/topic/web2py/_zhjxWa4tAU/discussion.
I am going to have a look at this.
So you suggest removing the case insensitive flag that was added in 1.96.4?
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
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 *must
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.castialia
But
On , Anthony abasta...@gmail.com 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
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 abasta...@gmail.com wrote:
On Thursday, June 9, 2011 10:18:41 AM UTC-4, cjrh wrote:
On , Massimo Di
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
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
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 fix.
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, it is
On , Anthony abasta...@gmail.com 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
2011/6/9 caleb.hatti...@gmail.com
On , Anthony abasta...@gmail.com 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
On Jun 7, 10:38 pm, danto web2py.n...@gmail.com 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
On Jun 7, 10:38 pm, danto web2py.n...@gmail.com 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,
On Jun 7, 10:16 pm, Massimo Di Pierro massimo.dipie...@gmail.com
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
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 caleb.hatti...@gmail.com wrote:
On Jun 7, 10:16 pm, Massimo Di
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
what is the exact path to the model? and what s the associated
controller name (full path)?
On Jun 8, 2:29 pm, JayShaffstall jshaffst...@gmail.com wrote:
Can anyone verify whether controller specific models are working for
them using 1.96.4?
I had an email.py controller, with
My application is working with model files under a subdirectory == the
controller name.
And in the pypi?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 ron_m ron.mco...@gmail.com
My application is working with model files under a subdirectory == the
controller name.
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.
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.
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
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
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 pierre.thibau...@gmail.com wrote:
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
I am not
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
2011/6/8 Massimo Di Pierro massimo.dipie...@gmail.com
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
2011/6/8 Jonathan Lundell jlund...@pobox.com
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?
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
On Jun 8, 2011, at 6:47 PM, Pierre Thibault wrote:
2011/6/8 Jonathan Lundell jlund...@pobox.com
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
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
What do you propose? I do not like it very much either.
On Jun 7, 3:33 pm, Pierre Thibault pierre.thibau...@gmail.com wrote:
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
- auto import should work on windows (now on windows ignore will
ignore case by default)
I don't like this
good job, everyone, hope web2py improve day by day, thank you so much.
\(^o^)/
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
What do you propose? I do not like it very much either.
On Jun 7, 3:33 pm, Pierre Thibault pierre.thibau...@gmail.com wrote:
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
- auto import should work on windows (now on windows
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 pierre.thibau...@gmail.com wrote:
2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com
What do you propose? I do not like it very much either.
On
42 matches
Mail list logo