Git Product home page Git Product logo

lasco's People

Contributors

dbaty avatar

Stargazers

 avatar

Watchers

 avatar  avatar

lasco's Issues

tables not created during "shortest path" demo

hi, lasco looks interesting. i tried the "shortest path to test Lasco" at:
https://lasco.readthedocs.org/en/latest/installation.html
and everything worked until:
gallery_add test "Test gallery"
which failed with:
sqlalchemy.exc.OperationalError: (OperationalError) no such table: galleries u'INSERT INTO galleries (name, title) VALUES (?, ?)' (u'test', u'Test gallery')
i created that table with those columns (in sqlite3) but then at:
gallery_users test +test
i got:
OperationalError: (OperationalError) no such column: galleries.id u'SELECT galleries.id AS galleries_id, galleries.name AS galleries_name, galleries.title AS galleries_title \nFROM galleries \nWHERE galleries.name = ?' (u'test',)
so it seems that the tables havent been created. how can i create them?
thanks, john

decoder jpeg not available

Lasco serves files now, but I see no images, only boxes containing datetimes. The 1st error below occurs for each image. I already have the latest libjpeg8-dev (running ubuntu 12.04). Based on http://stackoverflow.com/questions/4632261/pil-jpeg-library-help, I then attempted to replace PIL with pillow but got the 2nd error below. Evidently bitblt depends on PIL. Thanks!

PIL jpeg error:

ERROR:waitress:Exception when serving /pics/bitblt-Nonex200-12510ac833f5080ecc2d78fe293882b3d0478f96/50
Traceback (most recent call last):
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/waitress-0.8.5-py2.7.egg/waitress/channel.py", line 332, in service
task.service()
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/waitress-0.8.5-py2.7.egg/waitress/task.py", line 174, in service
self.execute()
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/waitress-0.8.5-py2.7.egg/waitress/task.py", line 382, in execute
app_iter = self.channel.server.application(env, start_response)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/repoze.bitblt-0.9-py2.7.egg/repoze/bitblt/processor.py", line 137, in call
body = self.process(app_iter, size)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/repoze.bitblt-0.9-py2.7.egg/repoze/bitblt/processor.py", line 64, in process
image.thumbnail(size, self.filter)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PIL-1.1.6repoze1-py2.7-linux-i686.egg/PIL/Image.py", line 1522, in thumbnail
self.load()
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PIL-1.1.6repoze1-py2.7-linux-i686.egg/PIL/ImageFile.py", line 180, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PIL-1.1.6repoze1-py2.7-linux-i686.egg/PIL/Image.py", line 375, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

cannot-use-pillow error:

(lasco)john@sap:~/work/websitedeli/gallery/lasco/test-lasco$ pserve dev.ini
Traceback (most recent call last):
File "/home/john/work/websitedeli/gallery/lasco/bin/pserve", line 9, in
load_entry_point('pyramid==1.4.2', 'console_scripts', 'pserve')()
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/scripts/pserve.py", line 50, in main
return command.run()
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/scripts/pserve.py", line 304, in run
global_conf=vars)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/scripts/pserve.py", line 328, in loadapp
return loadapp(app_spec, name=name, relative_to=relative_to, *_kw)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, *_kw)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 271, in loadobj
global_conf=global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 450, in get_context
global_additions=global_additions)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
APP, pipeline[-1], global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 454, in get_context
section)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 476, in _context_from_use
object_type, name=use, global_conf=global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 406, in get_context
global_conf=global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 328, in _loadegg
return loader.get_context(object_type, name, global_conf)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 620, in get_context
object_type, name=name)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
pkg_resources.require(self.spec)
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/john/work/websitedeli/gallery/lasco/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: PIL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.