darold / pgbadger

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

Pgbadger throws error while running on Windows OS. #832

Closed PremSahooESL closed 2 months ago

PremSahooESL commented 3 months 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 months ago

What are the name and version of your operating system?

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

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

PremSahooESL commented 3 months ago

Strawberry Perl (Version: 5.40.0.1)

darold commented 3 months ago

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

PremSahooESL commented 3 months ago

ok. Thanks for your kind reply.