librelist archives

« back to archive

Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

From:
Chris Collins
Date:
2010-09-10 @ 19:23
I just installed the flask app engine skeleton app from here:

http://bitbucket.org/tlynn/appengine-skel/src

It works fine, except for a warning I get when I run the dev app server:

WARNING  2010-09-10 19:19:42,596 py_zipimport.py:103] Can't open zipfile
C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg: IOError:
 [Errno 13] file not accessible:
'C:\\Python25\\lib\\site-packages\\wtforms-0.6-py2.5.egg'

Anyone know what would cause that?

Re: [flask] Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

From:
A. Guerrera
Date:
2010-09-11 @ 01:30

I'm using the Flask / AppEngine / Windows setup myself.  I had a difficult time 
getting the app engine dev server to find any packages.  Windows7 64bit has been 
particularly challenging;  I've yet to successfully use virtualenv for a 
significant application.  I really wish the Python experience was as seamless on 
Windows as it is on Ubuntu.

So I ended up using the following directory structure - this works.  Make sure 
all of your required packages are in your GAE application folder.

myapp
 / mywebapp  # my flask web application
       / static
       / templates
       /  __init__.py 
       / models.py
       / settings.py
       / views.py
 /  flask
 /  flaskext
        / __init__.py
        / sqlalchemy.py
 / sqlalchemy
 / app.yaml
 / main.py

What's nice about this is that you can run using the GAE dev server or the built 
in Flask dev server.




>
>From: Chris Collins <xoptop@gmail.com>
>To: flask@librelist.com
>Sent: Fri, September 10, 2010 3:23:18 PM
>Subject: [flask] Can't open zipfile 
>C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg
>
>I just installed the flask app engine skeleton app from here:
>
>http://bitbucket.org/tlynn/appengine-skel/src
>
>It works fine, except for a warning I get when I run the dev app server:
>
>WARNING  2010-09-10 19:19:42,596 py_zipimport.py:103] Can't open zipfile 
>C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg: IOError:
> [Errno 13] file not accessible: 
>'C:\\Python25\\lib\\site-packages\\wtforms-0.6-py2.5.egg'
>
>Anyone know what would cause that?
>


      

Re: [flask] Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

From:
Chris Collins
Date:
2010-09-12 @ 08:58
I'll try this structure. Thanks for the tip!

On Sat, Sep 11, 2010 at 2:30 AM, A. Guerrera <aguerrera@yahoo.com> wrote:

>
> I'm using the Flask / AppEngine / Windows setup myself.  I had a difficult
> time getting the app engine dev server to find any packages.  Windows7 64bit
> has been particularly challenging;  I've yet to successfully use virtualenv
> for a significant application.  I really wish the Python experience was as
> seamless on Windows as it is on Ubuntu.
>
> So I ended up using the following directory structure - this works.  Make
> sure all of your required packages are in your GAE application folder.
>
> myapp
>  / mywebapp  # my flask web application
>        / static
>        / templates
>        /  __init__.py
>        / models.py
>        / settings.py
>        / views.py
>  /  flask
>  /  flaskext
>         / __init__.py
>         / sqlalchemy.py
>  / sqlalchemy
>  / app.yaml
>  / main.py
>
> What's nice about this is that you can run using the GAE dev server or the
> built in Flask dev server.
>
>
>
>
> *From:* Chris Collins <xoptop@gmail.com>
> *To:* flask@librelist.com
> *Sent:* Fri, September 10, 2010 3:23:18 PM
> *Subject:* [flask] Can't open zipfile
> C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg
>
> I just installed the flask app engine skeleton app from here:
>
> http://bitbucket.org/tlynn/appengine-skel/src
>
> It works fine, except for a warning I get when I run the dev app server:
>
> WARNING  2010-09-10 19:19:42,596 py_zipimport.py:103] Can't open zipfile
> C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg: IOError:
>  [Errno 13] file not accessible:
> 'C:\\Python25\\lib\\site-packages\\wtforms-0.6-py2.5.egg'
>
> Anyone know what would cause that?
>
>
>

Re: [flask] Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

From:
Christian Ştefănescu
Date:
2010-09-11 @ 04:55
Hello,

I used the following tutorial for starting out with Flask on App
Engine (also with WTForms):
http://www.franciscosouza.net/2010/08/flying-with-flask-in-google-app-engine.html

If you miss the unix environment, why can't you install a linux distro
in a VM. Even a headless server to ssh into would be enough.

Regards,
Chris

On Saturday, September 11, 2010, A. Guerrera <aguerrera@yahoo.com> wrote:
>
> I'm using the Flask / AppEngine / Windows setup myself.  I had a 
difficult time getting the app engine dev server to find any packages. 
 Windows7 64bit has been particularly challenging;  I've yet to 
successfully use virtualenv for a significant application.  I really wish 
the Python experience was as seamless on Windows as it is on Ubuntu.
> So I ended up using the following directory structure - this works. 
 Make sure all of your required packages are in your GAE application 
folder.
> myapp / mywebapp  # my flask web application       / static       / 
templates       /
>   __init__.py        / models.py       / settings.py       / views.py / 
 flask /  flaskext        / __init__.py        / sqlalchemy.py / 
sqlalchemy / app.yaml / main.py
> What's nice about this is that you can run using the GAE dev server or 
the built in Flask dev server.
>
>
>
> From: Chris Collins
>  <xoptop@gmail.com>
> To: flask@librelist.com
> Sent: Fri, September 10, 2010 3:23:18 PM
> Subject: [flask] Can't open zipfile 
C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg
>
> I just installed the flask app engine skeleton app from here:
>
> http://bitbucket.org/tlynn/appengine-skel/src
>
> It works fine, except for a warning I get when I run the dev app server:
>
> WARNING  2010-09-10 19:19:42,596 py_zipimport.py:103] Can't open zipfile
C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg: IOError:
>  [Errno 13] file not accessible: 
'C:\\Python25\\lib\\site-packages\\wtforms-0.6-py2.5.egg'
>
> Anyone know what would cause that?
>
>
>
>
>

-- 
Mit freundlichen Grüßen,
Christian Stefanescu

Kaiserdamm 11, 14057 Berlin, Deutschland, Europa, Erde, Milchstrasse
st.chris@gmail.com
+49 (0)1578 455 3320

Re: [flask] Can't open zipfile C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg

From:
Chris Collins
Date:
2010-09-12 @ 08:57
Excellent article. Thanks for the link, Christian!

2010/9/11 Christian Ştefănescu <st.chris@gmail.com>

> Hello,
>
> I used the following tutorial for starting out with Flask on App
> Engine (also with WTForms):
>
> 
http://www.franciscosouza.net/2010/08/flying-with-flask-in-google-app-engine.html
>
> If you miss the unix environment, why can't you install a linux distro
> in a VM. Even a headless server to ssh into would be enough.
>
> Regards,
> Chris
>
> On Saturday, September 11, 2010, A. Guerrera <aguerrera@yahoo.com> wrote:
> >
> > I'm using the Flask / AppEngine / Windows setup myself.  I had a
> difficult time getting the app engine dev server to find any packages.
>  Windows7 64bit has been particularly challenging;  I've yet to successfully
> use virtualenv for a significant application.  I really wish the Python
> experience was as seamless on Windows as it is on Ubuntu.
> > So I ended up using the following directory structure - this works.  Make
> sure all of your required packages are in your GAE application folder.
> > myapp / mywebapp  # my flask web application       / static       /
> templates       /
> >   __init__.py        / models.py       / settings.py       / views.py /
>  flask /  flaskext        / __init__.py        / sqlalchemy.py /
> sqlalchemy / app.yaml / main.py
> > What's nice about this is that you can run using the GAE dev server or
> the built in Flask dev server.
> >
> >
> >
> > From: Chris Collins
> >  <xoptop@gmail.com>
> > To: flask@librelist.com
> > Sent: Fri, September 10, 2010 3:23:18 PM
> > Subject: [flask] Can't open zipfile
> C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg
> >
> > I just installed the flask app engine skeleton app from here:
> >
> > http://bitbucket.org/tlynn/appengine-skel/src
> >
> > It works fine, except for a warning I get when I run the dev app server:
> >
> > WARNING  2010-09-10 19:19:42,596 py_zipimport.py:103] Can't open zipfile
> C:\Python25\lib\site-packages\wtforms-0.6-py2.5.egg: IOError:
> >  [Errno 13] file not accessible:
> 'C:\\Python25\\lib\\site-packages\\wtforms-0.6-py2.5.egg'
> >
> > Anyone know what would cause that?
> >
> >
> >
> >
> >
>
> --
> Mit freundlichen Grüßen,
> Christian Stefanescu
>
> Kaiserdamm 11, 14057 Berlin, Deutschland, Europa, Erde, Milchstrasse
> st.chris@gmail.com
> +49 (0)1578 455 3320
>