But... How i can do it? There is some documents which explain that in the 
official app engine's documentation?

Thanks again!

El jueves, 17 de enero de 2013 20:27:49 UTC+1, Guido van Rossum escribió:
>
> Usually this is because you are setting sys.path to point to the 
> libraries, but you have an entry point in your app.yaml that doesn't 
> invoke the code that sets sys.path. One solution is to put the 
> sys.path-setting code in appengine_config.py. 
>
> On Thu, Jan 17, 2013 at 11:25 AM, Jesús Espejo 
> <[email protected]<javascript:>> 
> wrote: 
> > Hello, 
> > 
> > Since 2 days i'm experimenting issues when i load my own libraries 
> > (libraries created by myself and used in mi app): 
> > 
> > Traceback (most recent call last): 
> >   File 
> > 
> "/python27_runtime/python27_lib/versions/1/google/appengine/runtime/wsgi.py", 
>
> > line 196, in Handle 
> >     handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) 
> >   File 
> > 
> "/python27_runtime/python27_lib/versions/1/google/appengine/runtime/wsgi.py", 
>
> > line 255, in _LoadHandler 
> >     handler = __import__(path[0]) 
> >   File 
> > 
> "/base/data/home/apps/s~37c2b5db880b7a17476582a0fb597b/1.364655963966448445/webHandler.py",
>  
>
> > line 15, in <module> 
> >     from lib.userLib import adminUser 
> >   File 
> > 
> "/base/data/home/apps/s~37c2b5db880b7a17476582a0fb597b/1.364655963966448445/lib/userLib/adminUser.py",
>  
>
> > line 15, in <module> 
> >     import common as CU 
> >   File 
> > 
> "/base/data/home/apps/s~37c2b5db880b7a17476582a0fb597b/1.364655963966448445/lib/userLib/common.py",
>  
>
> > line 16, in <module> 
> >     import normalUser 
> >   File 
> > 
> "/base/data/home/apps/s~37c2b5db880b7a17476582a0fb597b/1.364655963966448445/lib/userLib/normalUser.py",
>  
>
> > line 16, in <module> 
> >     from lib import common, city, images, sport, club 
> >   File 
> > 
> "/base/data/home/apps/s~37c2b5db880b7a17476582a0fb597b/1.364655963966448445/lib/club.py",
>  
>
> > line 18, in <module> 
> >     from lib.userLib import common as CU 
> > ImportError: cannot import name common 
> > 
> > 
> > Sometimes it works, sometimes it doesn't work... What is the reason? For 
> the 
> > same version and without deploying new code, sometimes it works, 
> sometime it 
> > doesn't... 
> > 
> > 
> > Thanks in advance, 
> > 
> > Jesús. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Google App Engine" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/google-appengine/-/TmE90_U3WAUJ. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/google-appengine?hl=en. 
>
>
>
> -- 
> --Guido van Rossum (python.org/~guido) 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/a1Hav2oKntAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to