Graphical stats error

Moderator: crythias

Locked
msillanp
Znuny newbie
Posts: 4
Joined: 20 May 2010, 12:27
Znuny Version: 2.4

Graphical stats error

Post by msillanp »

I got graphical stats error everytime when I try to do some graph stats. I don't know what is the problem so I decided to ask you OTRS people for solution. My OS is CentoOS 5.5 and OTRS version is 2.4. I got everytime this error message:

ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Aug 11 08:05:04 2010

Message: To much data, can't use it with graph!

Traceback (3478):
Module: Kernel::Output::HTML::Layout::Error (v1.176.2.17) Line: 1416
Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.176.2.17) Line: 1395
Module: Kernel::Modules::AgentStats::Run (v1.74.2.2) Line: 2194
Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 819
Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48

I have checked that every necessary perl modules is installed to system what you can see next:

o CGI............................ok (v3.49)
o Date::Pcalc....................ok (v1.2)
o Date::Format...................ok (v2.24)
o DBI............................ok (v1.52)
o DBD::mysql.....................ok (v3.0007)
o Digest::MD5....................ok (v2.36)
o Crypt::PasswdMD5...............ok (v1.3)
o LWP::UserAgent.................ok (v2.033)
o Encode::HanExtra...............Not installed! (Optional - Required to handle mails with several Chinese character sets.)
o IO::Scalar.....................ok (v2.110)
o IO::Wrap.......................ok (v2.110)
o MIME::Base64...................ok (v3.07)
o Mail::Internet.................ok (v2.04)
o MIME::Tools....................ok (v5.427)
o Net::DNS.......................ok (v0.59)
o Net::POP3......................ok (v2.29)
o Mail::POP3Client...............ok (v2.18 )
o IO::Socket::SSL.............ok (v1.01)
o Net::IMAP::Simple..............ok (v1.17)
o Net::IMAP::Simple::SSL......ok (v1.3)
o Net::SMTP......................ok (v2.31)
o Authen::SASL................ok (v2.12)
o Net::SMTP::SSL..............ok (v1.01)
o Net::LDAP......................ok (v0.4001)
o GD.............................ok (v2.44)
o GD::Text....................ok (v0.86)
o GD::Graph...................ok (v1.44)
o GD::Graph::lines............ok (v1.15)
o GD::Text::Align.............ok (v1.18)
o PDF::API2......................ok (v0.73)
o Compress::Zlib..............ok (v2.027)
o SOAP::Lite.....................Not installed! (Optional - Required for the SOAP interface.)
o XML::Parser....................Not installed! (Optional - Required for faster xml handling.)

I have installed OTRS 2 times to CentOS 5.5 and 1st time everything worked fine (test network). Now it doesn't. Only different is CPAN. I used CPAN to install every modules to test network but real network I didn't. I searched them via search.cpan.org and installed them manually. I didn't use CPAN because admin said that there is some issues with CPAN and CentOS 5.5.

If somebody have some explanations why this error occurs, please tell me. I need to make this work because this is part of my thesis.

Thanks Miika
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Graphical stats error

Post by jojo »

Message: To much data, can't use it with graph!

This means that the Output of the stats has to many values for this type of graph
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
msillanp
Znuny newbie
Posts: 4
Joined: 20 May 2010, 12:27
Znuny Version: 2.4

Re: Graphical stats error

Post by msillanp »

Thanks for answering me jojo but it didn't solve the problem. I have tried to do 1 single graph from 1 queue where is only few tickets and I tried to do it with all dynamic object type and all different graps but still I can't do it. Is there possible to be some kind of database or something else problem?
sakura
Znuny newbie
Posts: 3
Joined: 04 Mar 2011, 11:51
Znuny Version: 3.0.5

Re: Graphical stats error

Post by sakura »

Hello all,

I have exactly the same problem now :

Message d'Erreur: Too much data, can't use it with graph!

.
Too much data, can't use it with graph!
Backend ERROR: OTRS-CGI-1 Perl: 5.10.0 OS: linux Time: Fri Mar 4 11:01:45 2011

Message: Too much data, can't use it with graph!

Traceback (3191):
Module: Kernel::Output::HTML::Layout::Error (v1.350) Line: 1131
Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.350) Line: 1110
Module: Kernel::Modules::AgentStats::Run (v1.113) Line: 2240
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58) Line: 838
Module: ModPerl::ROOT::ModPerl::Registry::var_www_support_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 45
Module: (eval) (v1.89) Line: 204
Module: ModPerl::RegistryCooker::run (v1.89) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.89) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31


Can someone can help us please ? Thanks a lot in advance!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Graphical stats error

Post by jojo »

try a csv export of this stats
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
sakura
Znuny newbie
Posts: 3
Joined: 04 Mar 2011, 11:51
Znuny Version: 3.0.5

Re: Graphical stats error

Post by sakura »

Yes, I tried a csv and it works fine but not a graph... what happens ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Graphical stats error

Post by jojo »

as the error allready told: Message: Too much data, can't use it with graph!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
sakura
Znuny newbie
Posts: 3
Joined: 04 Mar 2011, 11:51
Znuny Version: 3.0.5

Re: Graphical stats error

Post by sakura »

sorry but what I try to explain is that I have NOT too much data but only 2 rows of datas in my csv stats file so I don't understand why this error is displayed...
And for information it worked fine in OTRS version 2.1.5....
Locked