ed, with a proper os test, to the importer
code?
On 6/6/11 21:35 , Pierre Thibault wrote:
2011/6/6 Alessandro Iob mailto:alessandro@gmail.com>>
No, it does not work. And the problem is not related to the
*_DateTrackerImporter as I'm not using the track_changes options.*
Yes
On 6/6/11 21:35 , Pierre Thibault wrote:
2011/6/6 Alessandro Iob mailto:alessandro@gmail.com>>
No, it does not work. And the problem is not related to the
*_DateTrackerImporter as I'm not using the track_changes options.*
**I've made some tests and I&
Alessandro Iob mailto:alessandro@gmail.com>>
Found something: the application folder is named 'Castalia' with the
first char in uppercase, while the importer tries to import it as
'applications.castalia', in lowercase.
I've tried from t
Found something: the application folder is named 'Castalia' with the
first char in uppercase, while the importer tries to import it as
'applications.castalia', in lowercase.
I've tried from the python shell to import using
applications.Castalia. and it worked.
On 6/6/11 17:06 , Pierr
I've tested it with a python 2.6 interpreter. It returns the same error
as in web2py.
I've also created a simple module under applications/castalia/modules
but I can not import it too.
On 6/6/11 17:06 , Pierre Thibault wrote:
import sys
sys.path.append("C:\w2p\web2py")
import applications.
the name arg passed to _PYTHON_STANDARD_IMPORTER has value
"applications.castalia.modules.selfgroup.castalia".
On 6/6/11 16:37 , Pierre Thibault wrote:
2011/6/6 Alessandro Iob mailto:alessandro@gmail.com>>
I'll try, but the super is really just the standard __imp
I'll try, but the super is really just the standard __import__ method.
On 6/6/11 16:05 , Pierre Thibault wrote:
2011/6/6 Alessandro Iob mailto:alessandro@gmail.com>>
I really do not know why, but that's the error. A mistery for me.
Can you trace the super call?
s line:
module_prefix + '.' + name =
applications.castalia.modules.selfgroup.castalia
does not look like a valid Python statement to me.
On Jun 6, 9:05 am, Pierre Thibault wrote:
2011/6/6 Alessandro Iob
I really do not know why, but that's the error. A mistery for me.
Can you trace the super call?
I really do not know why, but that's the error. A mistery for me.
On 6/6/11 15:42 , Pierre Thibault wrote:
2011/6/6 Alessandro Iob mailto:alessandro@gmail.com>>
No, it does not work. And the problem is not related to the
*_DateTrackerImporter as I'm not using t
..@gmail.com> wrote:
> If this s the problem, I have a possible fix in trunk.Please give it a
> try. Yet I am not convinced this is the problem.
>
> On Jun 4, 5:20 pm, Pierre Thibault wrote:
> > 2011/6/3 Alessandro Iob
> >
> >
> >
> >
> >
> >
If I'll find some free time I'll have a look at the code.
Thank you very much for the help!
On 5/6/11 19:51 , Pierre Thibault wrote:
2011/6/5 Alessandro Iob mailto:alessandro@gmail.com>>
Hi Pierre,
this is the output of the code from the web2py application sh
it__.py").st_mtime
1304593994.0
.
Thank you very much,
Alessandro
On Sun, Jun 5, 2011 at 12:20 AM, Pierre Thibault wrote:
> 2011/6/3 Alessandro Iob
>
>> I have tried the new modules import feature (from mymodule import *,
>> looks for mymodule in applications/thisapp/
I have tried the new modules import feature (from mymodule import *, looks
for mymodule in applications/thisapp/ modules first and then in sys.path. No
more need for local_import) and it works wonderfully on OS/X but not at all
on Windows. Below you can find the traceback.
web2py™Version 1.96.
13 matches
Mail list logo