id

231

publisher

xma@tickets.goffi.org/e3e14e52-c4c1-4638-9b56-555f0aa5d47e

title
[libervia] error 500 when clicking on 'chat' menu
author
xma
created
13/01/2018, 20:27
updated
10/07/2019, 07:30
labels
libervia chat
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal
body

Clicking on the chat menu entry raie an error 500 with the following TB:

Launching Libervia in foreground mode
2018-01-12 22:24:05+0100 [-] twistd 17.9.0 (/usr/local/opt/python/bin/python2.7 2.7.14) starting up.
2018-01-12 22:24:05+0100 [-] reactor class: twisted.internet.glib2reactor.Glib2Reactor.
2018-01-12 22:24:06+0100 [-] Added /app page
2018-01-12 22:24:06+0100 [-] Added /blog_new page
2018-01-12 22:24:06+0100 [-] Added /chat page
2018-01-12 22:24:06+0100 [-] Added /chat[...]/select page
2018-01-12 22:24:06+0100 [-] Added /common page
2018-01-12 22:24:06+0100 [-] Added /common[...]/blog page
2018-01-12 22:24:06+0100 [-] setting pubsub/microblog URIs handler
2018-01-12 22:24:06+0100 [-] Added /g page
2018-01-12 22:24:06+0100 [-] Added /g[...]/e page
2018-01-12 22:24:06+0100 [-] Added /login page
2018-01-12 22:24:06+0100 [-] Added /login[...]/logged page
2018-01-12 22:24:06+0100 [-] Added /merge-requests page
2018-01-12 22:24:06+0100 [-] Added /merge-requests[...]/new page
2018-01-12 22:24:06+0100 [-] Added /merge-requests[...]/view page
2018-01-12 22:24:06+0100 [-] Added /register page
2018-01-12 22:24:06+0100 [-] Added /tickets page
2018-01-12 22:24:06+0100 [-] Added /tickets[...]/new page
2018-01-12 22:24:06+0100 [-] Added /tickets[...]/view page
2018-01-12 22:24:06+0100 [-] Added /u page
2018-01-12 22:24:06+0100 [-] loaded fr templates translations
2018-01-12 22:24:06+0100 [-] loaded sk templates translations
2018-01-12 22:24:06+0100 [-] Site starting on 8080
2018-01-12 22:24:06+0100 [-] Starting factory <twisted.web.server.Site instance at 0x1097c9128>
2018-01-12 22:24:11+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] "127.0.0.1" - - [12/Jan/2018:21:24:10 +0000] "GET /chat HTTP/1.1" 401 356 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:19+0100 [-] "127.0.0.1" - - [12/Jan/2018:21:24:18 +0000] "GET /u/xavier HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:21+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] "127.0.0.1" - - [12/Jan/2018:21:24:20 +0000] "GET /login HTTP/1.1" 200 786 "http://localhost:8080/u/xavier" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:22+0100 [-] "127.0.0.1" - - [12/Jan/2018:21:24:22 +0000] "POST /login HTTP/1.1" 303 20 "http://localhost:8080/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:22+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] "127.0.0.1" - - [12/Jan/2018:21:24:22 +0000] "GET /login HTTP/1.1" 200 637 "http://localhost:8080/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:27+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] "127.0.0.1" - - [12/Jan/2018:21:24:27 +0000] "GET /login HTTP/1.1" 200 637 "http://localhost:8080/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:31+0100 [-] /!\ /!\ Uncatched error for HTTP request on http://localhost:8080/chat: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'module' object has no attribute 'Room'
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:1442:gotResult
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:1432:_inlineCallbacks
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:500:errback
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/local/lib/python2.7/site-packages/libervia/server/pages.py:730:_renderEb
/usr/local/lib/python2.7/site-packages/twisted/python/failure.py:359:trap
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:1386:_inlineCallbacks
/usr/local/lib/python2.7/site-packages/libervia/pages/chat/select/page_meta.py:26:prepare_render
]
2018-01-12 22:24:31+0100 [-] "127.0.0.1" - - [12/Jan/2018:21:24:30 +0000] "GET /chat HTTP/1.1" 500 341 "http://localhost:8080/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0"
2018-01-12 22:24:31+0100 [-] /!\ /!\ Unhandled error in Deferred:
2018-01-12 22:24:31+0100 [-] /!\ /!\ Unhandled Error
Traceback (most recent call last):
Failure: sat.core.exceptions.CancelError: error page is used

2018-01-12 22:25:31+0100 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 61686)

To reproduce it:

1. go to your libervia login page
2. login using your prefered profile
3. goto Chat

Regards

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_y4aSnpVtUr8qcBpu6kYgDg
You can close this BR. No longer present with latest hg pull. Regards

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