darold / pgbadger

A fast PostgreSQL Log Analyzer
http://pgbadger.darold.net/
PostgreSQL License
3.51k stars 349 forks source link

Pgbadger throws error while running on Windows OS. #832

Closed PremSahooESL closed 1 week ago

PremSahooESL commented 3 weeks ago

Attempt to call undefined import method with arguments ("tmpdir") via package "File::Spec" (Perhaps you forgot to load the package?) at pgbadger line 46.

darold commented 3 weeks ago

What are the name and version of your operating system?

PremSahooESL commented 3 weeks ago
OS: 
   Windows 11
darold commented 3 weeks ago

I don't know which Perl distribution you use on your Windows box but package File::Spec is missing.

PremSahooESL commented 3 weeks ago

Strawberry Perl (Version: 5.40.0.1)

darold commented 3 weeks ago

I can't help much more on Windows OS, I would recommend you to use Linux instead.

PremSahooESL commented 2 weeks ago

ok. Thanks for your kind reply.