Raised This Month: $51 Target: $400
 12% 

Log import failed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fragenstein
Member
Join Date: Mar 2005
Old 04-29-2023 , 20:27   Log import failed
Reply With Quote #1

Here's the error:

C:\WINDOWS\system32>type C:\xampp\htdocs\ggturbo.ddns.net\cstrike\logs \*.log | C:\xampp\perl\bin\perl.exe C:\xampp\scripts\hlstats.pl -s -t --norcon --server-ip 192.168.1.10 --server-port 27015

C:\xampp\htdocs\ggturbo.ddns.net\cstrike\logs \l0102000.log


Can't locate Syntax/Keyword/Try.pm in @INC (you may need to install the Syntax::Keyword::Try module) (@INC contains: C:/xampp/perl/site/lib C:/xampp/perl/vendor/lib C:/xampp/perl/lib) at C:/xampp/scripts/HLstats_Server.pm line 41.
BEGIN failed--compilation aborted at C:/xampp/scripts/HLstats_Server.pm line 41.
Compilation failed in require at C:\xampp\scripts\hlstats.pl line 75.
The process tried to write to a nonexistent pipe.

Syntax::Keyword::Try module is installed. Any ideas?
__________________
Fragenstein is offline
3ipKa
Member
Join Date: Jul 2013
Old 04-30-2023 , 08:17   Re: Log import failed
Reply With Quote #2

As I understand, you use updated version from NomisCZ. Did you installed it by following this guide?
Specifically the section for Perl
https://github.com/NomisCZ/hlstatsx-...rerequisites-1
3ipKa is offline
Fragenstein
Member
Join Date: Mar 2005
Old 04-30-2023 , 09:37   Re: Log import failed
Reply With Quote #3

Quote:
Originally Posted by 3ipKa View Post
As I understand, you use updated version from NomisCZ. Did you installed it by following this guide?
Specifically the section for Perl
https://github.com/NomisCZ/hlstatsx-...rerequisites-1
I did. All the required modules are installed.
__________________
Fragenstein is offline
3ipKa
Member
Join Date: Jul 2013
Old 05-01-2023 , 12:38   Re: Log import failed
Reply With Quote #4

I can see your Perl installed in non-standard location, maybe this is the reason? Or Path variable, for example
3ipKa is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-01-2023 , 13:16   Re: Log import failed
Reply With Quote #5

Quote:
Originally Posted by 3ipKa View Post
I can see your Perl installed in non-standard location, maybe this is the reason? Or Path variable, for example
I tried setting path to try.pm:

Code:
use lib 'C:/xampp/perl/vendor/lib/Log/Report/Dispatcher';
use Syntax::Keyword::Try;
It still threw error.
__________________
Fragenstein is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-02-2023 , 11:00   Re: Log import failed
Reply With Quote #6

Finally figured it out. I changed:

Code:
type C:\xampp\htdocs\ggturbo.ddns.net\cstrike\logs \*.log | C:\xampp\perl\bin\perl.exe C:\xampp\scripts\hlstats.pl -s -t --norcon --server-ip 192.168.1.10 --server-port 27015
to:

Code:
type C:\xampp\htdocs\ggturbo.ddns.net\cstrike\logs\*.log | C:\Perl64\bin\perl.exe C:\xampp\scripts\hlstats.pl -s -t --norcon --server-ip 192.168.0.10 --server-port 27015
Code:
C:\Perl64\bin\perl.exe
is where ActivePerl installed the try module.
Logs were successfully imported
__________________
Fragenstein is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-13-2023 , 11:49   Re: Log import failed
Reply With Quote #7

Well...after successfully importing the logs, the stats were all messed up. Player connection time wasn't even close. Last connect on most players was "unavailable". Players that connected a day or 2 ago had 0 activity. Wound up resetting the stats
__________________
Fragenstein is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode