Skip to Content.
Sympa Menu

en - Re: [sympa-users] Renames via command line failing in 6.2.68

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "antonelli@cnaf" <address@concealed>
  • To: "Silvers, Tim" <address@concealed>, "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Renames via command line failing in 6.2.68
  • Date: Tue, 12 Apr 2022 09:13:38 +0200

Hi Tim

On 4/11/22 21:11, Silvers, Tim wrote:
Hi. Is anyone else experiencing failures renaming lists via the command line in Sympa 6.2.68? Here is the error we are seeing. We’re running the packages from EPEL on CentOS 7. Renames performed by the List Admin via the web UI are successful. I didn’t see any open issues in GitHub concerning this problem.

# sympa.pl --rename_list=oldlistname@robot --new_listname=newlistname --new_listrobot=newrobot

Can't locate object method "new" via package "Sympa::List" (perhaps you forgot to load "Sympa::List"?) at /usr/share/sympa/lib/Sympa/CLI.pm line 128.


yes I'm trying the new `sympa` command; my configuration is a Sympa 6.2.68 (rpm, multi domain) on CentOS 7.9.2009 and when I try

sympa move --mode=copy test"@"example.xx.yy test"@"example.1.xx.yy

I get the same error:
Can't locate object method "new" via package "Sympa::List" (perhaps you forgot to load "Sympa::List"?) at /usr/share/sympa/lib/Sympa/CLI.pm line 133.

So I try to add this to CLI.pm
package Sympa::List;

and get this other error message:
Can't locate object method "run" via package "Sympa::CLI" at /sbin/sympa line 39 (and even the simple `sympa` command gives the same error)

thank you
cheers
Stefano

Thanks,

Tim





Archive powered by MHonArc 2.6.19+.

Top of Page