id

317

publisher

goffi@goffi.org/729559aa-9630-410b-b529-4be733bd4ac0

title
`themes` directory which was used in legacy blog is causing trouble
author
Goffi
created
03/07/2019, 07:55
updated
09/07/2019, 18:21
labels
libervia legacy_blog
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal
body

reported by stuart on sat@

This happen when trying to launch libervia in a virtualenv. themes was used by legacy blog, this code is not used anymore and should probably be fully removed.

(venv) stuart@edo:19:33:43~/libervia$ sat
(venv) stuart@edo:19:35:37~/libervia$ libervia fg
Launching Libervia in foreground mode
2019-07-03 19:35:44+1200 [-] twistd 19.2.1 (/home/stuart/libervia/venv/bin/python2 2.7.16) starting up.
2019-07-03 19:35:44+1200 [-] reactor class: twisted.internet.gireactor.GIReactor.
2019-07-03 19:35:44+1200 [-] loaded sk templates translations
2019-07-03 19:35:44+1200 [-] loaded fr templates translations
2019-07-03 19:35:44+1200 [-] [] Added /forums page
2019-07-03 19:35:44+1200 [-] [] Added /forums[]/list page
2019-07-03 19:35:44+1200 [-] [] Added /forums[]/topics page
2019-07-03 19:35:44+1200 [-] [] Added /forums[]/view page
2019-07-03 19:35:44+1200 [-] [] Added /photos page
2019-07-03 19:35:44+1200 [-] [] Added /photos[]/album page
2019-07-03 19:35:44+1200 [-] [] Added /register page
2019-07-03 19:35:44+1200 [-] [] Added /merge-requests page
2019-07-03 19:35:44+1200 [-] [] Added /merge-requests[]/edit page
2019-07-03 19:35:44+1200 [-] [] Added /merge-requests[]/view page
2019-07-03 19:35:44+1200 [-] [] Added /merge-requests[]/disco page
2019-07-03 19:35:44+1200 [-] [] Added /merge-requests[]/new page
2019-07-03 19:35:44+1200 [-] [] Added /app page
2019-07-03 19:35:44+1200 [-] [] Added /events page
2019-07-03 19:35:44+1200 [-] [] Added /events[]/rsvp page
2019-07-03 19:35:44+1200 [-] [] Added /events[]/view page
2019-07-03 19:35:44+1200 [-] [] Added /events[]/admin page
2019-07-03 19:35:44+1200 [-] [] Added /events[]/new page
2019-07-03 19:35:44+1200 [-] [] Added /g page
2019-07-03 19:35:44+1200 [-] [] Added /g[]/e page
2019-07-03 19:35:44+1200 [-] [] Added /files page
2019-07-03 19:35:44+1200 [-] [] Added /files[]/list page
2019-07-03 19:35:44+1200 [-] [] Added /files[]/view page
2019-07-03 19:35:44+1200 [-] [] Added /chat page
2019-07-03 19:35:44+1200 [-] [] Added /chat[]/select page
2019-07-03 19:35:44+1200 [-] [] Added /u page
2019-07-03 19:35:44+1200 [-] [] Added /u[]/atom.xml page
2019-07-03 19:35:44+1200 [-] [] Added /u[]/blog page
2019-07-03 19:35:44+1200 [-] [] Added /login page
2019-07-03 19:35:44+1200 [-] [] Added /login[]/logged page
2019-07-03 19:35:44+1200 [-] [] Added /tickets page
2019-07-03 19:35:44+1200 [-] [] Added /tickets[]/edit page
2019-07-03 19:35:44+1200 [-] [] Added /tickets[]/view page
2019-07-03 19:35:44+1200 [-] [] Added /tickets[]/disco page
2019-07-03 19:35:44+1200 [-] [] Added /tickets[]/new page
2019-07-03 19:35:44+1200 [-] [] Added /blog page
2019-07-03 19:35:44+1200 [-] [] Added /blog[]/view page
2019-07-03 19:35:44+1200 [-] setting pubsub/microblog URIs handler
2019-07-03 19:35:44+1200 [-] [] Added /blog[]/view[]/atom.xml page
2019-07-03 19:35:44+1200 [-] [quickstart.int] Added /salute page
2019-07-03 19:35:44+1200 [-] /!\ Init error: [Failure instance: Traceback: <type 'exceptions.ImportError'>: No module named themes
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:568:_startRunCallbacks
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:654:_runCallbacks
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:1613:unwindGenerator
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:1529:_cancellableInlineCallbacks
    --- <exception caught here> ---
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:1418:_inlineCallbacks
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/libervia/server/server.py:2029:backendReady
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/libervia/server/blog.py:136:__init__
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/libervia/server/blog.py:114:__init__
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/jinja2/loaders.py:224:__init__
    /home/stuart/libervia/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py:361:get_provider
    ]
2019-07-03 19:35:44+1200 [-] launching cleaning methods
2019-07-03 19:35:44+1200 [-] Can't disconnect service profile
2019-07-03 19:35:44+1200 [-] Server Shut Down.
comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_FdRsJsmZwiNwzhBJwww2aP

You are not logged. You need to log in to comment.