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

"Use of uninitialized value $salt" on --import #656

Closed
2 tasks done
bohwaz opened this issue Jun 13, 2019 · 1 comment
Closed
2 tasks done

"Use of uninitialized value $salt" on --import #656

bohwaz opened this issue Jun 13, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@bohwaz
Copy link

bohwaz commented Jun 13, 2019

Version 6.2.30
Installation method : yum package

Trying to import addresses to list. It works but the output is creating errors and is incorrect

Issues:

  • error message
  • confirmation message is missing the list address

Errors:

$ sympa.pl [email protected] < /tmp/sympa-subscribers
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 358, <STDIN> line 1.
Use of uninitialized value $hash_type in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 371, <STDIN> line 1.
Use of uninitialized value $salt in string eq at /usr/share/sympa/lib/Sympa/User.pm line 314, <STDIN> line 1.
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 316, <STDIN> line 1.
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 358, <STDIN> line 1.
Use of uninitialized value $hash_type in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 371, <STDIN> line 1.
Use of uninitialized value $salt in string eq at /usr/share/sympa/lib/Sympa/User.pm line 314, <STDIN> line 1.
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 316, <STDIN> line 1.
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 358, <STDIN> line 1.
Use of uninitialized value $hash_type in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 371, <STDIN> line 1.
Use of uninitialized value $salt in string eq at /usr/share/sympa/lib/Sympa/User.pm line 314, <STDIN> line 1.
Use of uninitialized value $salt in concatenation (.) or string at /usr/share/sympa/lib/Sympa/User.pm line 316, <STDIN> line 1.

Incorrect output:

add [user] L'utilisateur '[email protected]' est déjà abonné à la liste ''.
add [notice] L'utilisateur [email protected] est maintenant abonné à la liste .
Total imported subscribers: 1

As you can see the list address is missing.

Note that it does work indeed, but this doesn't look like it is working correctly.


EDIT by ikedas: ToDo:

  • Spurious warnings on uninitialized value
  • Missing list name in the output
@bohwaz
Copy link
Author

bohwaz commented Jun 19, 2019

Great, thanks :)

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