id

53

publisher

goffi@goffi.org/d08fc2c8-30c5-4081-bff7-2f0f733436e8

title
Error when primivitus join a room
reporter
dal
created
19/09/2013, 13:29
updated
11/09/2014, 20:01
labels
Primitivus
type
bug
status
queued
priority
normal
milestone
0.7
severity
major
body

The following exception is raised when I try to join a room with primivitus: Traceback (most recent call last): File "/usr/local/bin/primitivus", line 556, in <module> sat.start() File "/usr/local/bin/primitivus", line 112, in start self.loop.run() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 272, in run self.screen.run_wrapper(self._run) File "/usr/local/lib/python2.7/dist-packages/urwid/raw_display.py", line 242, in run_wrapper return fn() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 337, in _run self.event_loop.run() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 1014, in wrapper return f(*args,**kargs) File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 881, in io_callback callback() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 388, in _update self.process_input(keys) File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 488, in process_input k = self._topmost_widget.keypress(self.screen_size, k) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 567, in keypress *self.calculate_padding_filler(size, True)), key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1560, in keypress key = self.focus.keypress(tsize, key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 2241, in keypress key = w.keypress((mc,) + size[1:], key) File "/usr/local/lib/python2.7/dist-packages/urwid_satext/sat_widgets.py", line 975, in keypress ret = urwid.Frame.keypress(self, size, key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1091, in keypress return self.footer.keypress((maxcol,),key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 379, in keypress key = self.__super.keypress(size, key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1560, in keypress key = self.focus.keypress(tsize, key) File "/usr/local/lib/python2.7/dist-packages/urwid/decoration.py", line 619, in keypress return self._original_widget.keypress(maxvals, key) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 2241, in keypress key = w.keypress((mc,) + size[1:], key) File "/usr/local/lib/python2.7/dist-packages/urwid/wimp.py", line 535, in keypress self._emit('click') File "/usr/local/lib/python2.7/dist-packages/urwid/widget.py", line 464, in _emit signals.emit_signal(self, name, self, *args) File "/usr/local/lib/python2.7/dist-packages/urwid/signals.py", line 121, in emit result |= bool(callback(*args_copy)) File "/usr/local/bin/primitivus", line 480, in onJoinRoom self.bridge.joinMUC(room_jid, self.profiles[self.profile]['whoami'].node, {}, self.profile) File "/usr/local/lib/python2.7/dist-packages/sat_frontends/bridge/DBus.py", line 221, in joinMUC return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 641, in call_blocking message.append(signature=signature, *args) ValueError: Unable to guess signature from an empty dict

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_53

Click to reduce…

Re, Maybe, the following traceback could be bound to my problem to join a room. This exception says that dbus doesn't offer a getRoomJoined method. And when I launch sat, I doesn't register this method. So, why it doesn't register it? How can I add this method? I can see this following exception when I launch primitivus but it disapears when I press a key: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/root/.local/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 150, in <lambda> callback=lambda watched: self.plug_profile_4(watched, autoconnect, profile), errback=self._getParamError) File "/root/.local/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 157, in plug_profile_4 self.plug_profile_5(watched, autoconnect, profile) File "/root/.local/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 194, in plug_profile_5 for room_args in self.bridge.getRoomsJoined(profile): File "/root/.local/lib/python2.7/site-packages/sat_frontends/bridge/DBus.py", line 94, in getPluginMethod return method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 654, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 246, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: getRoomsJoined is not a valid method of interface org.goffi.SAT.plugin

Click to expand… Click to reduce…

Click to reduce…

Can't reproduce with SàT 0.5.0.

Click to expand… Click to reduce…

Click to reduce…

Sally Davenport - Google Scholar Citations http://www.google-scholars.org 113, 1999. Strategic ambiguity as a discourse practice: the role of keywords in the discourse on 'sustainable'biotechnology. S Leitch, S Davenport. Discourse Studies 9 (1), 43-61, 2007. 90, 2007. Establishing trust during the formation of technology alliances. US Daellenbach, SJ Davenport. The Journal of technology ...

Click to expand… Click to reduce…

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