ArchiveOrangemail archive

users.mapfish.org


(List home) (Recent threads) (3 other MapFish lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 3,545 messages, beginning Nov 2007
  • 0 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

mapfish demo, paster executable is missing

Ad
Gery 1337676748Tue, 22 May 2012 08:52:28 +0000 (UTC)
Hello,

I just tried to test the mapfish demo, but I couldn't install it properly:

[code]
...
Got JSTools 0.1.5.
Getting distribution for 'c2c.recipe.cssmin==0.5.1'.
zip_safe flag not set; analyzing archive contents...
c2c.__init__: module references __path__
c2c.recipe.__init__: module references __path__
Got c2c.recipe.cssmin 0.5.1.
Getting distribution for 'cssmin==0.1.4'.
warning: no previously-included files matching '.DS_Store' found anywhere in
distribution
zip_safe flag not set; analyzing archive contents...
cssmin: top-level module may be 'python -m' script
Got cssmin 0.1.4.
Getting distribution for 'c2c.recipe.msgfmt==0.2'.
Got c2c.recipe.msgfmt 0.2.
Getting distribution for 'Babel==0.9.5'.
Got Babel 0.9.5.
Installing eggs.
Getting distribution for 'GeoFormAlchemy==0.3'.
  File "build/bdist.linux-i686/egg/geoformalchemy/base.py", line 129
    'read_only' : 'true' if read_only else 'false',
                          ^
SyntaxError: invalid syntax
  File
"/var/www/html/MapFishSample/buildout/eggs/tmpgcyqxz/GeoFormAlchemy-0.3-py2.4.egg/geoformalchemy/base.py",
line 129
    'read_only' : 'true' if read_only else 'false',
                          ^
SyntaxError: invalid syntax
Got GeoFormAlchemy 0.3.
Getting distribution for 'TileCache==2.10'.
Installing tilecache 2.10
Caused installation of a distribution:
TileCache 2.10
with a different project name.
Got TileCache 2.10.
Getting distribution for 'httplib2==0.6.0'.
While:
  Installing eggs.
  Getting distribution for 'httplib2==0.6.0'.
Error: Couldn't find a distribution for 'httplib2==0.6.0'.
*************** PICKED VERSIONS ****************
[versions]

*************** /PICKED VERSIONS ***************
[root@localhost MapFishSample]# buildout/bin/paster serve --reload
development.ini
bash: buildout/bin/paster: No such file or directory
[root@localhost MapFishSample]# 
[/code]

Any help is very much appreciated, thanks.

OS: rhel5 32-bit
path: /var/www/html as root-- 
View this message in context: http://old.nabble.com/mapfish-demo%2C-paster-...
Sent from the MapFish - Users mailing list archive at Nabble.com.
Eric Lemoine 1337697120Tue, 22 May 2012 14:32:00 +0000 (UTC)
On Tue, May 22, 2012 at 10:52 AM, Gery  wrote:
>
> Hello,
>
> I just tried to test the mapfish demo, but I couldn't install it properly:
>
> [code]
> ...
> Got JSTools 0.1.5.
> Getting distribution for 'c2c.recipe.cssmin==0.5.1'.
> zip_safe flag not set; analyzing archive contents...
> c2c.__init__: module references __path__
> c2c.recipe.__init__: module references __path__
> Got c2c.recipe.cssmin 0.5.1.
> Getting distribution for 'cssmin==0.1.4'.
> warning: no previously-included files matching '.DS_Store' found anywhere in
> distribution
> zip_safe flag not set; analyzing archive contents...
> cssmin: top-level module may be 'python -m' script
> Got cssmin 0.1.4.
> Getting distribution for 'c2c.recipe.msgfmt==0.2'.
> Got c2c.recipe.msgfmt 0.2.
> Getting distribution for 'Babel==0.9.5'.
> Got Babel 0.9.5.
> Installing eggs.
> Getting distribution for 'GeoFormAlchemy==0.3'.
>  File "build/bdist.linux-i686/egg/geoformalchemy/base.py", line 129
>    'read_only' : 'true' if read_only else 'false',
>                          ^
> SyntaxError: invalid syntax
>  File
> "/var/www/html/MapFishSample/buildout/eggs/tmpgcyqxz/GeoFormAlchemy-0.3-py2.4.egg/geoformalchemy/base.py",
> line 129
>    'read_only' : 'true' if read_only else 'false',
>                          ^
> SyntaxError: invalid syntax
> Got GeoFormAlchemy 0.3.
> Getting distribution for 'TileCache==2.10'.
> Installing tilecache 2.10
> Caused installation of a distribution:
> TileCache 2.10
> with a different project name.
> Got TileCache 2.10.
> Getting distribution for 'httplib2==0.6.0'.
> While:
>  Installing eggs.
>  Getting distribution for 'httplib2==0.6.0'.
> Error: Couldn't find a distribution for 'httplib2==0.6.0'.
> *************** PICKED VERSIONS ****************
> [versions]
>
> *************** /PICKED VERSIONS ***************
> [root@localhost MapFishSample]# buildout/bin/paster serve --reload
> development.ini
> bash: buildout/bin/paster: No such file or directory
> [root@localhost MapFishSample]#
> [/code]
>
> Any help is very much appreciated, thanks.It looks like your Python version is too old. Use 2.6 or 2.7.-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : 
http://www.camptocamp.com
Gery 1337720883Tue, 22 May 2012 21:08:03 +0000 (UTC)
Thanks Eric for the tip, I installed python 2.6 and tried again, now I
receive:

[code]
$ python2.6 bootstrap.py --distribute --version 1.5.2
...
Download error on http://buildout.org: [Errno -3] Temporary failure in name
resolution -- Some packages may not be found!
...
[/code]

and

[code]
$ buildout/bin/buildout -c buildout_dev.cfg
...
Download error on http://svn.zope.org/zc.buildout: [Errno -3] Temporary
failure in name resolution -- Some packages may not be found!
Download error on http://svn.zope.org/zc.buildout: [Errno -2] Name or
service not known -- Some packages may not be found!
...
Error: Couldn't find a distribution for 'httplib2==0.6.0'.
...
[/code]

I will try tomorrow to see if the failure persists. I read that to use the
Print module I have to have installed apache-tomcat, is that true? if so,
what else should I install?

thanks.Eric Lemoine-2 wrote:
> 
> On Tue, May 22, 2012 at 10:52 AM, Gery  wrote:
>>
>> Hello,
>>
>> I just tried to test the mapfish demo, but I couldn't install it
>> properly:
>>
>> [code]
>> ...
>> Got JSTools 0.1.5.
>> Getting distribution for 'c2c.recipe.cssmin==0.5.1'.
>> zip_safe flag not set; analyzing archive contents...
>> c2c.__init__: module references __path__
>> c2c.recipe.__init__: module references __path__
>> Got c2c.recipe.cssmin 0.5.1.
>> Getting distribution for 'cssmin==0.1.4'.
>> warning: no previously-included files matching '.DS_Store' found anywhere
>> in
>> distribution
>> zip_safe flag not set; analyzing archive contents...
>> cssmin: top-level module may be 'python -m' script
>> Got cssmin 0.1.4.
>> Getting distribution for 'c2c.recipe.msgfmt==0.2'.
>> Got c2c.recipe.msgfmt 0.2.
>> Getting distribution for 'Babel==0.9.5'.
>> Got Babel 0.9.5.
>> Installing eggs.
>> Getting distribution for 'GeoFormAlchemy==0.3'.
>>  File "build/bdist.linux-i686/egg/geoformalchemy/base.py", line 129
>>    'read_only' : 'true' if read_only else 'false',
>>                          ^
>> SyntaxError: invalid syntax
>>  File
>> "/var/www/html/MapFishSample/buildout/eggs/tmpgcyqxz/GeoFormAlchemy-0.3-py2.4.egg/geoformalchemy/base.py",
>> line 129
>>    'read_only' : 'true' if read_only else 'false',
>>                          ^
>> SyntaxError: invalid syntax
>> Got GeoFormAlchemy 0.3.
>> Getting distribution for 'TileCache==2.10'.
>> Installing tilecache 2.10
>> Caused installation of a distribution:
>> TileCache 2.10
>> with a different project name.
>> Got TileCache 2.10.
>> Getting distribution for 'httplib2==0.6.0'.
>> While:
>>  Installing eggs.
>>  Getting distribution for 'httplib2==0.6.0'.
>> Error: Couldn't find a distribution for 'httplib2==0.6.0'.
>> *************** PICKED VERSIONS ****************
>> [versions]
>>
>> *************** /PICKED VERSIONS ***************
>> [root@localhost MapFishSample]# buildout/bin/paster serve --reload
>> development.ini
>> bash: buildout/bin/paster: No such file or directory
>> [root@localhost MapFishSample]#
>> [/code]
>>
>> Any help is very much appreciated, thanks.
> 
> It looks like your Python version is too old. Use 2.6 or 2.7.
> 
> 
> -- 
> Eric Lemoine
> 
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> 
> Tel : 00 33 4 79 44 44 96
> Mail : 
> http://www.camptocamp.com
> _______________________________________________
> Users mailing list
> 
> http://lists.mapfish.org/mailman/listinfo/use...
> 
>-- 
View this message in context: http://old.nabble.com/mapfish-demo%2C-paster-...
Sent from the MapFish - Users mailing list archive at Nabble.com.
Gery 1337760648Wed, 23 May 2012 08:10:48 +0000 (UTC)
Eric I tried today in 64-bit using python2.6 but I receive the same error
messages as the first emails:

[code]
[root@11gerardo MapFishSample]# python2.6 bootstrap.py --distribute
--version 1.5.2
Downloading
http://pypi.python.org/packages/source/d/dist...
Extracting in /tmp/tmp98yPi3
Now working in /tmp/tmp98yPi3/distribute-0.6.27
Building a Distribute egg in /tmp/tmpoEnMI8
/tmp/tmpoEnMI8/distribute-0.6.27-py2.6.egg
Getting distribution for 'distribute==0.6.21'.
Before install bootstrap.
Scanning installed packages
No setuptools distribution found
After install bootstrap.
Creating /usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info
Creating /usr/lib/python2.6/site-packages/setuptools.pth
Got distribute 0.6.21.
Generated script '/home/gery/tmp/MapFishSample/buildout/bin/buildout'.
[root@11gerardo MapFishSample]# buildout/bin/buildout -c buildout_dev.cfg
Getting distribution for 'buildout.dumppickedversions'.
Got buildout.dumppickedversions 0.5.
Develop: '/home/gery/tmp/MapFishSample/.'
Getting distribution for 'z3c.recipe.scripts==1.0.1'.
Got z3c.recipe.scripts 1.0.1.
Getting distribution for 'zc.recipe.egg==1.3.2'.
Got zc.recipe.egg 1.3.2.
Getting distribution for 'evg.recipe.activate==0.5'.
Got evg.recipe.activate 0.5.
Getting distribution for 'collective.recipe.modwsgi==1.2'.
Got collective.recipe.modwsgi 1.2.
Getting distribution for 'z3c.recipe.filetemplate==2.1.0'.
Got z3c.recipe.filetemplate 2.1.0.
Getting distribution for 'JSTools==0.1.5'.
creating
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg
Extracting JSTools-0.1.5-py2.6.egg to
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/deps.py
to deps.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/bo.py
to bo.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/tsort.py
to tsort.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/yuicompressor.py
to yuicompressor.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/__init__.py
to __init__.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/build.py
to build.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/memoize.py
to memoize.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/utils.py
to utils.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/merge.py
to merge.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/jst.py
to jst.pyc
byte-compiling
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg/jstools/jsmin.py
to jsmin.pyc

Installed
/home/gery/tmp/MapFishSample/buildout/eggs/tmpZVAq5V/JSTools-0.1.5-py2.6.egg

Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:

    pkg_resources.require("JSTools")  # latest installed version
    pkg_resources.require("JSTools==0.1.5")  # this exact version
    pkg_resources.require("JSTools>=0.1.5")  # this version or higher


Note also that the installation directory must be on sys.path at runtime for
this to work.  (e.g. by being the application's script directory, by being
on
PYTHONPATH, or by being added to sys.path by your code.)

Got JSTools 0.1.5.
Getting distribution for 'c2c.recipe.cssmin==0.5.1'.
zip_safe flag not set; analyzing archive contents...
c2c.__init__: module references __path__
c2c.recipe.__init__: module references __path__
Got c2c.recipe.cssmin 0.5.1.
Getting distribution for 'cssmin==0.1.4'.
warning: no previously-included files matching '.DS_Store' found anywhere in
distribution
zip_safe flag not set; analyzing archive contents...
Got cssmin 0.1.4.
Getting distribution for 'c2c.recipe.msgfmt==0.2'.
Got c2c.recipe.msgfmt 0.2.
Getting distribution for 'Babel==0.9.5'.
Got Babel 0.9.5.
Installing eggs.
Getting distribution for 'GeoFormAlchemy==0.3'.
Got GeoFormAlchemy 0.3.
Getting distribution for 'TileCache==2.10'.
Installing tilecache 2.10
Caused installation of a distribution:
TileCache 2.10
with a different project name.
Got TileCache 2.10.
Getting distribution for 'httplib2==0.6.0'.
While:
  Installing eggs.
  Getting distribution for 'httplib2==0.6.0'.
Error: Couldn't find a distribution for 'httplib2==0.6.0'.
*************** PICKED VERSIONS ****************
[versions]

*************** /PICKED VERSIONS ***************
[root@11gerardo MapFishSample]# buildout/bin/paster serve --reload
development.ini
bash: buildout/bin/paster: No such file or directory
[root@11gerardo MapFishSample]# 
[/code]

Any idea what would be the problem?

Thanks.Gery wrote:
> 
> Thanks Eric for the tip, I installed python 2.6 and tried again, now I
> receive:
> 
> [code]
> $ python2.6 bootstrap.py --distribute --version 1.5.2
> ...
> Download error on http://buildout.org: [Errno -3] Temporary failure in
> name resolution -- Some packages may not be found!
> ...
> [/code]
> 
> and
> 
> [code]
> $ buildout/bin/buildout -c buildout_dev.cfg
> ...
> Download error on http://svn.zope.org/zc.buildout: [Errno -3] Temporary
> failure in name resolution -- Some packages may not be found!
> Download error on http://svn.zope.org/zc.buildout: [Errno -2] Name or
> service not known -- Some packages may not be found!
> ...
> Error: Couldn't find a distribution for 'httplib2==0.6.0'.
> ...
> [/code]
> 
> I will try tomorrow to see if the failure persists. I read that to use the
> Print module I have to have installed apache-tomcat, is that true? if so,
> what else should I install?
> 
> thanks.
> 
> 
> 
> Eric Lemoine-2 wrote:
>> 
>> On Tue, May 22, 2012 at 10:52 AM, Gery  wrote:
>>>
>>> Hello,
>>>
>>> I just tried to test the mapfish demo, but I couldn't install it
>>> properly:
>>>
>>> [code]
>>> ...
>>> Got JSTools 0.1.5.
>>> Getting distribution for 'c2c.recipe.cssmin==0.5.1'.
>>> zip_safe flag not set; analyzing archive contents...
>>> c2c.__init__: module references __path__
>>> c2c.recipe.__init__: module references __path__
>>> Got c2c.recipe.cssmin 0.5.1.
>>> Getting distribution for 'cssmin==0.1.4'.
>>> warning: no previously-included files matching '.DS_Store' found
>>> anywhere in
>>> distribution
>>> zip_safe flag not set; analyzing archive contents...
>>> cssmin: top-level module may be 'python -m' script
>>> Got cssmin 0.1.4.
>>> Getting distribution for 'c2c.recipe.msgfmt==0.2'.
>>> Got c2c.recipe.msgfmt 0.2.
>>> Getting distribution for 'Babel==0.9.5'.
>>> Got Babel 0.9.5.
>>> Installing eggs.
>>> Getting distribution for 'GeoFormAlchemy==0.3'.
>>>  File "build/bdist.linux-i686/egg/geoformalchemy/base.py", line 129
>>>    'read_only' : 'true' if read_only else 'false',
>>>                          ^
>>> SyntaxError: invalid syntax
>>>  File
>>> "/var/www/html/MapFishSample/buildout/eggs/tmpgcyqxz/GeoFormAlchemy-0.3-py2.4.egg/geoformalchemy/base.py",
>>> line 129
>>>    'read_only' : 'true' if read_only else 'false',
>>>                          ^
>>> SyntaxError: invalid syntax
>>> Got GeoFormAlchemy 0.3.
>>> Getting distribution for 'TileCache==2.10'.
>>> Installing tilecache 2.10
>>> Caused installation of a distribution:
>>> TileCache 2.10
>>> with a different project name.
>>> Got TileCache 2.10.
>>> Getting distribution for 'httplib2==0.6.0'.
>>> While:
>>>  Installing eggs.
>>>  Getting distribution for 'httplib2==0.6.0'.
>>> Error: Couldn't find a distribution for 'httplib2==0.6.0'.
>>> *************** PICKED VERSIONS ****************
>>> [versions]
>>>
>>> *************** /PICKED VERSIONS ***************
>>> [root@localhost MapFishSample]# buildout/bin/paster serve --reload
>>> development.ini
>>> bash: buildout/bin/paster: No such file or directory
>>> [root@localhost MapFishSample]#
>>> [/code]
>>>
>>> Any help is very much appreciated, thanks.
>> 
>> It looks like your Python version is too old. Use 2.6 or 2.7.
>> 
>> 
>> -- 
>> Eric Lemoine
>> 
>> Camptocamp France SAS
>> Savoie Technolac, BP 352
>> 73377 Le Bourget du Lac, Cedex
>> 
>> Tel : 00 33 4 79 44 44 96
>> Mail : 
>> http://www.camptocamp.com
>> _______________________________________________
>> Users mailing list
>> 
>> http://lists.mapfish.org/mailman/listinfo/use...
>> 
>> 
> 
>-- 
View this message in context: http://old.nabble.com/mapfish-demo%2C-paster-...
Sent from the MapFish - Users mailing list archive at Nabble.com.
Home | About | Privacy