Need help with mrc-converter-suite-2024-03-31

lukewarm9888
lukewarm9888
Community Member
in Mac

When I try to execute the command in terminal perl convert.pl -v bitwarden ~/Desktop/pm_export.json, it returns the following error

`an't locate Date/Calc.pm in @INC (you may need to install the Date::Calc module) (@INC entries checked: /Users/my/Desktop/mrc-converter-suite/. /Users/my/Desktop/mrc-converter-suite/lib /usr/local/opt/perl/lib/perl5/site_perl/5.38/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/site_perl/5.38 /usr/local/opt/perl/lib/perl5/5.38/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/5.38 /usr/local/lib/perl5/site_perl/5.38/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.38) at /Users/my/Desktop/mrc-converter-suite/./MCS/Generators/PUX.pm line 13.
BEGIN failed--compilation aborted at /Users/my/Desktop/mrc-converter-suite/./MCS/Generators/PUX.pm line 13.
Compilation failed in require at convert.pl line 129 (#1)
(F) You said to do (or require, or use) a file that couldn't be found.
Perl looks for the file in all the locations mentioned in @INC, unless
the file name included the full path to the file. Perhaps you need
to set the PERL5LIB or PERL5OPT environment variable to say where the
extra library is, or maybe the script needs to add the library name
to @INC. Or maybe you just misspelled the name of the file. See
"require" in perlfunc and lib.

Uncaught exception from user code:
Can't locate Date/Calc.pm in @INC (you may need to install the Date::Calc module) (@INC entries checked: /Users/my/Desktop/mrc-converter-suite/. /Users/my/Desktop/mrc-converter-suite/lib /usr/local/opt/perl/lib/perl5/site_perl/5.38/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/site_perl/5.38 /usr/local/opt/perl/lib/perl5/5.38/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/5.38 /usr/local/lib/perl5/site_perl/5.38/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.38) at /Users/my/Desktop/mrc-converter-suite/./MCS/Generators/PUX.pm line 13.
BEGIN failed--compilation aborted at /Users/my/Desktop/mrc-converter-suite/./MCS/Generators/PUX.pm line 13.
Compilation failed in require at convert.pl line 129.
`


1Password Version: 8.10.30
Extension Version: Not Provided
OS Version: macOS 14.4.1
Browser: Not Provided

Comments

  • MrC
    MrC
    Volunteer Moderator

    @lukewarm9888

    It appears you have MacPorts installed, and therefore are using the MacPorts version of Perl (due to your PATH having /opt/local/bin before /usr/bin). The converter suite assumes usage of the macOS installed version of Perl. Force the conversion to use the macOS-installed Perl:

    /usr/bin/perl convert.pl -v bitwarden ~/Desktop/pm_export.json

    Alternatively, you can install the required modules in MacPorts (e.g. sudo port install p5-date-calc). There may be others required too (I don't maintain a list of these modules, and install them as required.)

This discussion has been closed.