cubes-examples icon indicating copy to clipboard operation
cubes-examples copied to clipboard

Examples should work with the specified versions

Open tlevine opened this issue 11 years ago • 0 comments

I installed the requirements like so.

$ sudo pip2 install -r requirements.pip

I get an error when I try to start the server for the web shop.

$ cd webshop && slicer serve slicer.ini
Traceback (most recent call last):
  File "/usr/bin/slicer", line 326, in <module>
    args.func(args)
  File "/usr/bin/slicer", line 151, in run_server
    cubes.server.run_server(config)
  File "/usr/lib/python2.7/site-packages/cubes/server/slicer.py", line 224, in run_server
    application = Slicer(config)
  File "/usr/lib/python2.7/site-packages/cubes/server/slicer.py", line 100, in __init__
    self.context = create_slicer_context(config)
  File "/usr/lib/python2.7/site-packages/cubes/workspace.py", line 58, in create_slicer_context
    model_path = config.get("model", "path")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'model'

And I get an error when I try to serve the procurements.

$ cd procurements && slicer serve slicer.ini
Traceback (most recent call last):
  File "/usr/bin/slicer", line 326, in <module>
    args.func(args)
  File "/usr/bin/slicer", line 151, in run_server
    cubes.server.run_server(config)
  File "/usr/lib/python2.7/site-packages/cubes/server/slicer.py", line 224, in run_server
    application = Slicer(config)
  File "/usr/lib/python2.7/site-packages/cubes/server/slicer.py", line 100, in __init__
    self.context = create_slicer_context(config)
  File "/usr/lib/python2.7/site-packages/cubes/workspace.py", line 58, in create_slicer_context
    model_path = config.get("model", "path")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'model'

Here is what I have installed.

pip2 freeze
Chiplotle==0.4.1
Editra==0.7.20
Flask==0.9
GDAL==1.11.0
GeoTypes==0.7.0
Jinja2==2.6
MarkupSafe==0.23
Pygments==1.6
SQLAlchemy==0.7.9
Sphinx==1.2.2
Twisted==14.0.0
Werkzeug==0.8.3
arandr==0.1.7.1
aubio==0.4.1
cffi==0.8.6
chardet==2.2.1
cryptography==0.5.4
cubes==0.10
cwiid==0.6.00
deluge==1.3.7
docutils==0.11
egenix-mx-base==3.2.7
futures==2.1.6
instant-runoff==0.1
ipython==2.2.0
irc==8.9.1
iscpy==1.05
itsdangerous==0.24
jaraco.util==10.0.2
jsonschema==2.3.0
lxml==3.3.5
mezoGIS==0.1.5
mingus==0.4.2.3
more-itertools==2.2
music21==1.9.3
nose==1.3.3
notmuch==0.18.1
numpy==1.8.1
offlineimap==6.5.5
pcapy==0.10.8
pesto==25
pickle-warehouse==0.0.18
picklecache==0.0.4
ply==3.4
pyFluidSynth==1.2.4
pyOpenSSL==0.14
pyPdf==1.13
pycparser==2.10
pycrypto==2.6.1
pygame==1.9.1release
pyserial==2.7
python-dateutil==2.2
python-libtorrent==0.16.17
pytz==2014.4
pyxdg==0.25
randua==0.0.1
repoze.lru==0.6
requests==2.3.0
s3cmd==1.5.0-rc1
sheetmusic==0.0.3
six==1.7.3
team==1.0
thready==0.1.4
wsgiref==0.1.2
wxPython==3.0.0.0
wxPython-common==3.0.0.0
zope.interface==4.1.1

This must have worked at some point, so I think the versions just need to be specified appropriately.

tlevine avatar Sep 22 '14 13:09 tlevine