This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Pisg Module

Discussion of Eggdrop's code and module programming in C.
Post Reply
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Pisg Module

Post by Romeyo »

hi,
i am using pisg 0.67 with my eggdrop...
everything was fine. now after 1 week am getting this error.
pad@sh3lls:~/pisg-0.67$ ./pisg
pisg v0.67 - Perl IRC Statistics Generator

Using config file: pisg.cfg

Statistics for channel #test @ DALnet by Romeyo

Looking for logfiles in /home/ircer/pad/logs/test/...

8 logfile(s) found, using eggdrop format...

Analyzing log /home/pad/logs/test/test.log.11Dec2005... 2 days, 30118 lines total
Analyzing log /home/pad/logs/test/test.log.12Dec2005... 3 days, 66130 lines total
Analyzing log /home/pad/logs/test/test.log.13Dec2005... 4 days, 102628 lines total
Analyzing log /home/pad/logs/test/test.log.14Dec2005... 5 days, 137116 lines total
Analyzing log /home/pad/logs/test/test.log.15Dec2005... 6 days, 171848 lines total
Analyzing log /home/pad/logs/test/test.log.16Dec2005... 7 days, 205015 lines total
Analyzing log /home/pad/logs/test/test.log.17Dec2005... 8 days, 238792 lines total
Analyzing log /home/pad/logs/test/test.log.18Dec2005... 8 days, 267726 lines total
Channel analyzed successfully in 00 hours, 01 minutes and 17 seconds on Sun Dec 18 12:35:32 2005

Text::Iconv is not installed, skipping charset conversion of language templates
Now generating HTML in /home/pad/www/test.html...
Out of memory during request for 9 bytes, total sbrk() is 33411072 bytes!
but the webpage gets updated... no idea where the problem resides...
thanks...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

get more memory
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Post by Romeyo »

Sorry.. getting more memory from where... as far i saw pisg is using only the log files by parsing them n creating the webpage na? i have to allocate more memory for the eggdrop? please explain in detail..
Thanks ..
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well that depends on many things - the operating system type, whether you have administrative rights on that computer, etc.
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Post by Romeyo »

hie,
I don't have administrative rights in that system. Its a shell account.
The operating system is FreeBSD 5.4-STABLE

Server configuration is,

Dual Xeon 3.0 Ghz
2 GB Ram
200 GB HDD
255 IP
100 mbit Port

thanks...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

then you are out of luck and short of contacting your admin there isn't a thing you can do about that
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Post by Romeyo »

thank you :)
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

'Transparent' graphs in Pisg [solved]

Post by Torrevado »

Hi, I'm trying to use Pisg 0.68 as my stats generator but generated html doesn't show fancy graphs, well... it does, but that graphs have not colors... they are just transparent... Is anything wrong in my pisg.cfg?
Last edited by Torrevado on Sat Oct 28, 2006 6:30 pm, edited 2 times in total.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re: 'Transparent' graphs in Pisg

Post by Alchera »

Fly wrote:Hi, I'm trying to use Pisg 0.68 as my stats generator but generated html doesn't show fancy graphs, well... it does, but that graphs have not colors... they are just transparent... Is anything wrong in my pisg.cfg?

Here they are... http://galeon.com/spanglish/Stats/spanglish.html :cry:
Try READING the pisg 0.68 documentation.

pisg 0.68 examples
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
devilsoulblack
Halfop
Posts: 62
Joined: Wed Nov 19, 2003 9:18 pm
Location: Chile
Contact:

Re: Pisg Module

Post by devilsoulblack »

Romeyo wrote:hi,
i am using pisg 0.67 with my eggdrop...
everything was fine. now after 1 week am getting this error.
pad@sh3lls:~/pisg-0.67$ ./pisg
pisg v0.67 - Perl IRC Statistics Generator

Using config file: pisg.cfg

Statistics for channel #test @ DALnet by Romeyo

Looking for logfiles in /home/ircer/pad/logs/test/...

8 logfile(s) found, using eggdrop format...

Analyzing log /home/pad/logs/test/test.log.11Dec2005... 2 days, 30118 lines total
Analyzing log /home/pad/logs/test/test.log.12Dec2005... 3 days, 66130 lines total
Analyzing log /home/pad/logs/test/test.log.13Dec2005... 4 days, 102628 lines total
Analyzing log /home/pad/logs/test/test.log.14Dec2005... 5 days, 137116 lines total
Analyzing log /home/pad/logs/test/test.log.15Dec2005... 6 days, 171848 lines total
Analyzing log /home/pad/logs/test/test.log.16Dec2005... 7 days, 205015 lines total
Analyzing log /home/pad/logs/test/test.log.17Dec2005... 8 days, 238792 lines total
Analyzing log /home/pad/logs/test/test.log.18Dec2005... 8 days, 267726 lines total
Channel analyzed successfully in 00 hours, 01 minutes and 17 seconds on Sun Dec 18 12:35:32 2005

Text::Iconv is not installed, skipping charset conversion of language templates
Now generating HTML in /home/pad/www/test.html...
Out of memory during request for 9 bytes, total sbrk() is 33411072 bytes!
but the webpage gets updated... no idea where the problem resides...
thanks...
i have issue running pisg 0.72

Code: Select all

aandaluz@im:~/stats/pisg/pisg$ ./pisg
pisg v0.72+CVS - Perl IRC Statistics Generator

Using config file: pisg.cfg

Statistics for channel #orenses @ DALnet by Bellota

Looking for logfiles in /home/aandaluz/bombon/logs/orenses/...

8 logfile(s) found, using eggdrop format...

Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100812... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100813... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100814... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100815... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100816... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100817... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100818... 0 days, 0 lines total
Analyzing log /home/aandaluz/bombon/logs/orenses/orenses.log.20100819... 0 days, 0 lines total
Channel analyzed successfully in 00 hours, 00 minutes and 00 seconds on Thu Aug 19 14:42:32 2010

No parseable lines found in logfile (975 total lines). Skipping.
-> You might be using the wrong format.
-> A common error is that the logs do not contain timestamps for each line.
aandaluz@im:~/stats/pisg/pisg$ 
this ist the eggdrop log setup

Code: Select all

### Logfile Settings ###
set max-logs 7
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "/home/aandaluz/bombon/logs/egg-drop.log" 
logfile jpk #Siliconvalley "/home/aandaluz/bombon/logs/siliconvalley/siliconvalley.log"
logfile jpk #Orenses "/home/aandaluz/bombon/logs/orenses/orenses.log"
logfile jpk #Ecuador "/home/aandaluz/bombon/logs/ecuador/ecuador.log"
set log-time 1
#set timestamp-format {[%H:%M:%S]}
set keep-all-logs 1
set logfile-suffix ".%Y%m%d"
set switch-logfiles-at 300
set quiet-save 0
pisg.cfg

Code: Select all

<set Format="eggdrop">
<set Lang="EN">
<set Maintainer="Bellota">
<set Network="DALnet">

<set ImagePath="/users/">

<set DefaultPic="http://ecuador.irc.su/users/default.jpg">
<set UserPics="no">
<set LangFile="lang.txt">
#<set LangFile="PISG/pisg/lang.txt">

<set DailyActivity="31">
<set ShowWords="1">
<set ShowLastSeen="1">
#<set ShowWpl="1">
#<set ShowCpl="1">
#<set ShowLineTime="1">
#<set ShowWordTime="1">
<set ActiveNicks="60">
<set ActiveNicks2="40">
<set ShowMostActiveByHour="1">
<set ShowMostActiveByHourGraph="1">

<set ShowShoutLine="1">
<set ShowFoulLine="1">
<set ShowViolentLines="1">
<set ShowMostNicks="0">
#<set ShowOnlyTop="1">
<set TopicHistory="5">
<set UrlHistory="10">
#<set SortByWords="1">
<set ShowKickLine="0">
<set ShowKarma="1">
<set ShowSmileys="1">

<channel="#orenses">
	LogDir = "/home/aandaluz/bombon/logs/orenses/"
	OutputFile = "/home/aandaluz/stats/orenses/index.html"
	Network = "DALnet"
	UserPics = "1"
	TopicHistory = "5"
	ShowOps = "0"
</channel>

any idea ? what ist wrong ?
---------
Add [SOLVED] to the thread title if your issue has been.
Search - FAQ
Post Reply