id

85

publisher

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

title
jp profile info <profile> doesn't work when <profile> is not connected
reporter
Matteo Cypriani
created
15/09/2014, 22:16
updated
24/11/2015, 10:18
labels
jp
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal
body

$ jp profile list MyProfile $ jp profile info MyProfile jid: myjid@example.com/SàT Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler *message.get_args_list())) File "/usr/share/salutatoi/sat_frontends/bridge/DBus.py", line 138, in <lambda> return unicode(self.db_core_iface.asyncGetParamA(name, category, attribute, security_limit, profile_key, timeout=const_TIMEOUT, reply_handler=callback, error_handler=lambda err:errback(dbus_to_bridge_exception(err)))) TypeError: 'NoneType' object is not callable ^CInterrompu par l'utilisateur: au revoir (jp stays blocked on the TypeError line, then I must kill it with Ctrl-c.) After connecting the profile with Primitivus: $ jp profile info MyProfile jid: myjid@example.com/SàT pwd: mypassword

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

Click to reduce…

I forgot to mention that I tested with SàT 0.4.1 and I didn't experience this problem.

Click to expand… Click to reduce…

Click to reduce…

jp now have a better handling of disconnected profiles (proper error message) It is now possible to start a session without connecting (with the --start-session option), and so to get informations without connecting to the XMPP server. note that password is not shown anymore by default, you need to use --show-password for that. rev b7ee113183fc

Click to expand… Click to reduce…

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