Skip to Content.
Sympa Menu

en - [sympa-users] change_email update_user_db_failed error

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] change_email update_user_db_failed error

I have just discovered that globally changing your email address partially
fails and deletes the User Profile in the process.

I am on Sympa 6.2.14 running on Debian Wheezy. Sympa is installed from
source,. not the Debian package.

My perl is: 5.14.2-21+deb7u3

My Preferences | Changing Your Email Address fails with the following:

*******************
Error: Can't use string ("address@concealed") as a HASH ref while
"strict refs" in use at /usr/local/sympa/bin/Sympa/Message/Template.pm line
120.
Traceback
DIED: Can't use string ("address@concealed") as a HASH ref while
"strict refs" in use at /usr/local/sympa/bin/Sympa/Message/Template.pm line
120.
at /usr/local/sympa/bin/Sympa/Message/Template.pm line 120.
Sympa::Message::Template::new('Sympa::Message::Template', 'splicing_to',
ARRAY(0x6547a60), 'template', 'listmaster_notification', 'context',
'myinstitution.edu', 'data', HASH(0x6ca46a0), ...) called at /usr/local/sympa/
bin/Sympa/Spindle.pm line 39
Sympa::Spindle::new('Sympa::Spindle::ProcessTemplate', 'context',
'myinstitution.edu', 'template', 'listmaster_notification', 'rcpt',
ARRAY(0x6550530), 'data', HASH(0x6ca46a0), ...) called at /usr/local/sympa/
bin/Sympa.pm line 886
Sympa::send_notify_to_listmaster('myinstitution.edu',
'web_intern_error', HASH(0x6ca46a0)) called at /usr/local/sympa/bin/Sympa/
Report.pm line 308
Sympa::Report::reject_report_web('intern', 'update_user_db_failed',
HASH(0x6ca46a0), 'change_email', '', 'address@concealed"',
'myinstitution.edu') called at /usr/local/sympa/bin/wwsympa.fcgi line 20882
main::do_change_email() called at /usr/local/sympa/bin/wwsympa.fcgi line
1647
*******************

The command does successfully update the user's email addresses in all his/her
lists, changing the "user_subscriber" value in the subscriber_table.
However, it fails to update the user_table and the user profile gets lost.
The old user_table record is deleted first, but the new one doesn't get
created, so there is nothing left.

I think everything is breaking in Sympa::User::update_global_user.

If by chance, it has to do with setting language properly, which is another
component in the user preferences, I have in my sympa.conf file:
lang en_US (with an underscore)

But when you create your profile for the first time it is set as "en-
US" (with a hyphen) in the database.

Thanks for any help anyone can offer.






  • [sympa-users] change_email update_user_db_failed error, paul.kissman, 08/16/2022

Archive powered by MHonArc 2.6.19+.

Top of Page