G

jp profile info <profile> doesn't work when <profile> is not connected

$ 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
G

Matteo Cypriani 16/09/2014, 03:15

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

G

Goffi 24/11/2015, 10:18

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

id

85

author

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