•  » Extensions
  •  » Piwigo Tree Import Can't locate LWP/UserAgent.pm in @INC

#1 2024-08-13 05:56:28

jdmaris
Member
Cincinnati OH
2024-08-02
10

Piwigo Tree Import Can't locate LWP/UserAgent.pm in @INC

Hello/Hi/Greetings,

New user attempting to import photos from Windows 11. I have installed Perl and that seems to be working. I worked through one module missing and now getting this message
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC entries checked: c:/Users/maris/AppData/Local/activestate/cache/67fcf293/site/lib c:/Users/maris/AppData/Local/activestate/cache/67fcf293/lib) at piwigo_import_tree.pl line 29.

Trying to figure out how to install LWP? Can someone give me any direction to proceed.

Piwigo 14.5.0 Check for upgrade
Installed on 2 August 2024, 1 week 3 days ago
Operating system: Linux
PHP: 8.3.6 (Show info) [2024-08-12 23:53:16]
MySQL: 8.0.39-0ubuntu0.24.04.1 [2024-08-12 23:53:16]
Graphics Library: External ImageMagick 6.9.12-98
Cache size N/A   never calculated Refresh

Piwigo URL: http://marisfamily.ddns.net:3080/piwigo/

Offline

 

#2 2024-08-14 01:46:27

jdmaris
Member
Cincinnati OH
2024-08-02
10

Re: Piwigo Tree Import Can't locate LWP/UserAgent.pm in @INC

I could not figure out how to install LWP/UserAgent so I installed Strawberry Perl and that seems to work. It does look like I have not defined the --directory correctly. I used a home Album where I intededed the photos to be copied.

Here is my script and my error.  I will keep going and find out what is needed here.

C:\FamilyHomePerl>perl piwigo_import_tree.pl --base_url=http://marisfamily.ddns.net:3080/piwigo/ --user=DaleMaris --password=??????????? --directory="FamilyHome"
Can't stat FamilyHome: No such file or directory
at piwigo_import_tree.pl line 121.

Offline

 

#3 2024-08-15 11:31:23

erAck
Only trying to help
2015-09-06
2237

Re: Piwigo Tree Import Can't locate LWP/UserAgent.pm in @INC

Your --directory="FamilyHome" specifies a relative directory, so cd into the parent directory that contains the FamilyHome directory. Note that as you are on Windows and depending on which command shell you are using the " quote characters may be literally taken and be part of the argument, so rather specify --directory=FamilyHome instead.


Running Piwigo at https://erack.net/gallery/

Offline

 
  •  » Extensions
  •  » Piwigo Tree Import Can't locate LWP/UserAgent.pm in @INC

Board footer

Powered by FluxBB