Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"bad variable name", maybe JID incorrectly parsed? #3

Open
nicolas-raoul opened this issue Jan 5, 2015 · 4 comments
Open

"bad variable name", maybe JID incorrectly parsed? #3

nicolas-raoul opened this issue Jan 5, 2015 · 4 comments
Assignees
Labels

Comments

@nicolas-raoul
Copy link

shell-xmpp-client dies with "bad variable name".
Not sure it is related, but from what I see it seems to trunk the first part of the Jabber id:

$ ./xmpp.sh --connect --jid [email protected] --pass fAeo4t829d88U49t
./xmpp.sh: 381: local: [email protected]: bad variable name

Using latest Git version on Ubuntu 2014.04

@close2 close2 self-assigned this Mar 6, 2015
@close2
Copy link
Owner

close2 commented Mar 8, 2015

I think this is a dash problem. There is an old bug report about dash not implementing 'local' correctly. https://bugs.launchpad.net/ubuntu/+source/dash/+bug/139097

Could you please try with bash (or zsh) again?

It shouldn't be hard to fix all 'local' calls. I will put this onto my todo list.

@nicolas-raoul
Copy link
Author

I have never used dash.

The bug above is with bash, as it comes by default on Ubuntu.

@close2
Copy link
Owner

close2 commented Mar 9, 2015

interesting. I will try to reproduce this in a ubuntu 2014.04 virtualbox.

If I can't reproduce this I might need your debug file (--debug-file /tmp/debug.txt).

thanks for the fast reply.

@close2 close2 added the bug label Mar 9, 2015
@close2
Copy link
Owner

close2 commented May 1, 2016

As mentioned in issue #4, this might be because the script starts with #!/bin/sh

It apparently works when called with #!/bin/bash

I will try to reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants