psi-im / psi

XMPP client
https://psi-im.org/
Other
403 stars 123 forks source link

Get rid of "Unable to retrieve your account information." dialogue #4

Closed devurandom closed 12 years ago

devurandom commented 13 years ago

Everytime I log in to vz.net, I get the annoying error message "Unable to retrieve your account information. Perhaps you haven't entered any yet.". Please remove that error, since it seems to be in no way critical. A discreet warning would be totally enough in my opinion.

wadealer commented 13 years ago

options.vcard.query-own-vcard-on-login = false will solve your problem

devurandom commented 13 years ago

Thanks for that hint! I'd still prefer to see something non-fatal producing only a warning instead of a annoy-me error box.

slajerek commented 13 years ago

this did not help. I added new account on some public server, but whenever I log in I receive this error: "Unable to retrieve your account information. Perhaps you haven't entered any yet.". So I enter some data but when I try to Publish my details I receive another error: "Unable to publish your account information, Reason: Service unavailable. The server or recipient does not currently provide the requested service.". I think I'm logged in, but whenever I log out and log in back I have this error. And so on, and so on. Of course I have Options/Advanced/options.vcard.query-own-vcard-on-login set to false. No luck. So my question is HOW TO REALLY GET RID OF THIS MESSAGE BOX?

kekeseb commented 13 years ago

Same problem here with the server I have to use at work. I tried options.vcard.query-own-vcard-on-login = false but the window still pops up.

lwid commented 12 years ago

I am experiencing the same issue, no matter of the value of options.vcard.query-own-vcard-on-login I get the "unable to retrieve..." error on every login.

I have sent a pull request which implements a fix for this issue.

Ri0n commented 12 years ago

I think it's better to fix void PsiAccount::slotCheckVCard() and check option like this

if (j->vcard().isEmpty() && PsiOptions::instance()->getOption("options.vcard.query-own-vcard-on-login").toBool()) { changeVCard(); return; }

please test

lwid commented 12 years ago

Makes perfect sense.

Tested and verified, works perfectly. You want a new pull request or you push it yourself?

Ri0n commented 12 years ago

pushed

ghost commented 12 years ago

I am using Psi 0.14 and get this popup (actually TWO popups, the vcard information input dialog and the warning dialog, which is especially painful under my window manager (ratpoison), even with the above option added to ~/.psi/psirc (is that the right place?).

As vcards are an optional part of the XMPP standard, they were not implemented by the folks who wrote our XMPP server at work. It may seem like a minor annoyance, but it gets really aggravating after dealing with it daily for months on end I really don't see why there should be any sort of warning about this whatsoever since it is not a required part of the standard for servers to implement. I have tested perhaps a dozen other XMPP clients, and not seen this sort of behavior.

wadealer commented 12 years ago

No, this isnt right place! http://pix.academ.org/img/2012/09/07/032ef88f748cf12c04c0553515e18f94.png

ghost commented 12 years ago

Doesn't matter if I set it to true or false, whenever I go offline
then back online, I get the aggravating popups.

Casey Allen Shobe casey@shobe.info

wadealer commented 12 years ago

Then you should update to Psi 0.15 RC2. This bug fixed there.