• Re: /usr/share/perl5/Publican/TreeView.pm has problem in runtime

    From Henning Follmann@21:1/5 to Mohsen Pahlevanzadeh on Fri Jan 31 15:30:01 2025
    Please do not post html formatted mails to the mailing list.

    On Fri, Jan 31, 2025 at 01:43:52PM +0330, Mohsen Pahlevanzadeh wrote:
    Hello ,


    When I‌ run publican version 4.3.2-4 on debian unstable, I get the following
    error message:

    #####################################


    mohsen@debian:~$ publican
    Attempt to call undefined import method with arguments ("abs2rel") via package
    [1]"File::Spec" (Perhaps you forgot to load the package?) at /usr/share/perl5/
    Publican/TreeView.pm line 12.
    Duplicate specification "help" for option "help"
    Can't open publican: No such file or directory at /usr/bin/publican line 646.


    #################################################


    How can I solve it?


    I assume you installed publican from the debian repository?

    And have you confirmed that File::Spec is there?
    The debian package would be libfile-spec-native-perl, I think.

    -H



    --
    Henning Follmann | [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mohsen Pahlevanzadeh@21:1/5 to Henning Follmann on Sat Feb 1 03:40:01 2025
    On 1/31/25 5:57 PM, Henning Follmann wrote:
    Please do not post html formatted mails to the mailing list.

    On Fri, Jan 31, 2025 at 01:43:52PM +0330, Mohsen Pahlevanzadeh wrote:
    Hello ,


    When I‌ run publican version 4.3.2-4 on debian unstable, I get the following
    error message:

    #####################################


    mohsen@debian:~$ publican
    Attempt to call undefined import method with arguments ("abs2rel") via package
    [1]"File::Spec" (Perhaps you forgot to load the package?) at /usr/share/perl5/
    Publican/TreeView.pm line 12.
    Duplicate specification "help" for option "help"
    Can't open publican: No such file or directory at /usr/bin/publican line 646.


    #################################################


    How can I solve it?


    I assume you installed publican from the debian repository?

    And have you confirmed that File::Spec is there?
    The debian package would be libfile-spec-native-perl, I think.

    -H

    Yes, OI installed this package, But I get the same error.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)