MapFish server on windows

View: New views
4 Messages — Rating Filter:   Alert me  

MapFish server on windows

by Yves Moisan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Following Eric's advice, I have filed a ticket regarding the uneasy
MapFish server installation under windows :
http://trac.mapfish.org/trac/mapfish/ticket/215.  The reason I want to
test MF Server on Windows is that deployment on our customer premisses
is still by and large on Windows boxes.

My aim is to have an "easy install" (pun intended) story on Windows.  If
it were possible, I would like the Windows MF server instruction set to
be very similar to the *NIX instructions.  So my first attempt was to
try and get virtualenv to work on my Windows box.  I fought to no avail.
Now, I would like to look at the possibility of using zc.buildout
(instead of -- and eventually in combination with -- virtualenv) to get
all the pieces managed.  

To my knowledge, virtualenv and buildout (short for zc.buildout) are the
two contenders in the area of Python sandboxing/deployment.  I know
buildout is used on Windows deployments so that's a good start.  If
anyone on this list has experience to share RE buildout or any other
attempt at getting a functional MF Server on a windows box, please chime
in.  I want to try out MF Server soon :-).

Cheers,

Yves Moisan

_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Re: MapFish server on windows

by Eric Lemoine-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yves. Thanks for your effort. As I already said having a MapFish
Server story would definitely be great. I myself have on experience
with buildout. The thing I know is the Python virtual env we picked
was known to work on Windows, and apparently, based on your
experience, it's not, right? Eric

2008/9/4, Yves Moisan <yves.moisan@...>:

> Hi All,
>
> Following Eric's advice, I have filed a ticket regarding the uneasy
> MapFish server installation under windows :
> http://trac.mapfish.org/trac/mapfish/ticket/215.  The reason I want to
> test MF Server on Windows is that deployment on our customer premisses
> is still by and large on Windows boxes.
>
> My aim is to have an "easy install" (pun intended) story on Windows.  If
> it were possible, I would like the Windows MF server instruction set to
> be very similar to the *NIX instructions.  So my first attempt was to
> try and get virtualenv to work on my Windows box.  I fought to no avail.
> Now, I would like to look at the possibility of using zc.buildout
> (instead of -- and eventually in combination with -- virtualenv) to get
> all the pieces managed.
>
> To my knowledge, virtualenv and buildout (short for zc.buildout) are the
> two contenders in the area of Python sandboxing/deployment.  I know
> buildout is used on Windows deployments so that's a good start.  If
> anyone on this list has experience to share RE buildout or any other
> attempt at getting a functional MF Server on a windows box, please chime
> in.  I want to try out MF Server soon :-).
>
> Cheers,
>
> Yves Moisan
>
> _______________________________________________
> Users mailing list
> Users@...
> http://www.mapfish.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Re: MapFish server on windows

by Yves Moisan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le jeudi 04 septembre 2008 à 21:47 +0200, Eric Lemoine a écrit :
> Hi Yves. Thanks for your effort. As I already said having a MapFish
> Server story would definitely be great. I myself have on experience
> with buildout. The thing I know is the Python virtual env we picked
> was known to work on Windows, and apparently, based on your
> experience, it's not, right? Eric

See my thread here :
http://groups.google.com/group/python-virtualenv/browse_thread/thread/6d826044b2267d57

Apparently some people got virtualenv to work under windows but many
have not, including me.  I know at least one Finnish who stumbled on
virtualenv too, so my guess is that windows "localizations" (I have a
French Canadian windows install) may have something to do with the
issue.  Hopefully, the story is easier with buildout.

Thanx for your support,

Yves

_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Re: MapFish server on windows

by Yves Moisan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some very preliminary results :

with C:\buildout.cfg =

[buildout]
parts = mypython

[mypython]
recipe = zc.recipe.egg
interpreter = mypython
eggs = MapFish

The result is :

C:\>buildout
Installing mypython.
Getting distribution for 'MapFish'.
Got mapfish 0.2.
Getting distribution for 'GeoJSON==1.0a3'.
Got geojson 1.0a3.
Getting distribution for 'Shapely==1.0.3'.
Got shapely 1.0.3.
Getting distribution for 'Pylons==0.9.6.1'.
Got pylons 0.9.6.1.
Getting distribution for 'SQLAlchemy==0.4.5'.
Got sqlalchemy 0.4.5.
Getting distribution for 'simplejson'.
Got simplejson 1.9.2.
Getting distribution for 'Mako>=0.1.8'.
Installing Mako 0.2.2
Caused installation of a distribution:
mako 0.2.2
with a different project name.
Got mako 0.2.2.
Getting distribution for 'nose>=0.9.3'.
Got nose 0.10.3.
Getting distribution for 'decorator>=2.1.0'.
Got decorator 2.3.1.
Getting distribution for 'FormEncode>=0.7'.
Got formencode 1.0.1.
Getting distribution for 'PasteScript>=1.3.6'.
Installing PasteScript 1.6.3
Caused installation of a distribution:
pastescript 1.6.3
with a different project name.
Got pastescript 1.6.3.
Getting distribution for 'PasteDeploy>=1.3.1'.
warning: no previously-included files found matching 'docs\rebuild'
Installing PasteDeploy 1.3.2
Caused installation of a distribution:
pastedeploy 1.3.2
with a different project name.
Got pastedeploy 1.3.2.
Getting distribution for 'Paste>=1.4'.
Installing Paste 1.7.1
Caused installation of a distribution:
paste 1.7.1
with a different project name.
Got paste 1.7.1.
Getting distribution for 'Beaker>=0.7.5'.
SyntaxError: ('future feature absolute_import is not defined',)
SyntaxError: ('future feature absolute_import is not defined',)
Installing Beaker 1.0.1
Caused installation of a distribution:
beaker 1.0.1
with a different project name.
Got beaker 1.0.1.
Getting distribution for 'WebHelpers>=0.3.2'.
Installing WebHelpers 0.6.1
Caused installation of a distribution:
webhelpers 0.6.1
with a different project name.
Got webhelpers 0.6.1.
Getting distribution for 'Routes>=1.7'.
Installing Routes 1.9.2
Caused installation of a distribution:
routes 1.9.2
with a different project name.
Got routes 1.9.2.
Generated interpreter 'C:\\bin\\mypython'.

The "buildout" command looks for a buildout.cfg file as argument.  Of
course, one has to 'easy_install zc.buildout' first.

This sandboxed interpreter has the egg on it's path, as mentioned in the
zc.buildout doc.  I haven't tested anything yet, but it sure looks like
dependencies were handled correctly.  More testing next week.

Cheers,

Yves

Le jeudi 04 septembre 2008 à 21:47 +0200, Eric Lemoine a écrit :

> Hi Yves. Thanks for your effort. As I already said having a MapFish
> Server story would definitely be great. I myself have on experience
> with buildout. The thing I know is the Python virtual env we picked
> was known to work on Windows, and apparently, based on your
> experience, it's not, right? Eric
>
> 2008/9/4, Yves Moisan <yves.moisan@...>:
> > Hi All,
> >
> > Following Eric's advice, I have filed a ticket regarding the uneasy
> > MapFish server installation under windows :
> > http://trac.mapfish.org/trac/mapfish/ticket/215.  The reason I want to
> > test MF Server on Windows is that deployment on our customer premisses
> > is still by and large on Windows boxes.
> >
> > My aim is to have an "easy install" (pun intended) story on Windows.  If
> > it were possible, I would like the Windows MF server instruction set to
> > be very similar to the *NIX instructions.  So my first attempt was to
> > try and get virtualenv to work on my Windows box.  I fought to no avail.
> > Now, I would like to look at the possibility of using zc.buildout
> > (instead of -- and eventually in combination with -- virtualenv) to get
> > all the pieces managed.
> >
> > To my knowledge, virtualenv and buildout (short for zc.buildout) are the
> > two contenders in the area of Python sandboxing/deployment.  I know
> > buildout is used on Windows deployments so that's a good start.  If
> > anyone on this list has experience to share RE buildout or any other
> > attempt at getting a functional MF Server on a windows box, please chime
> > in.  I want to try out MF Server soon :-).
> >
> > Cheers,
> >
> > Yves Moisan
> >
> > _______________________________________________
> > Users mailing list
> > Users@...
> > http://www.mapfish.org/cgi-bin/mailman/listinfo/users
> >

_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users
LightInTheBox - Buy quality products at wholesale price!