package manager

Moderator: crythias

Locked
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

package manager

Post by kalyana1315 »

Package manager onclick error log:

[Error][Kernel::System::XML::XMLParse][774] C-Parser:
not well-formed (invalid token) at line 9, column 36, byte 632 at C:/Program Files (x86)/OTRS/StrawberryPerl/perl/vendor/lib/XML/Parser.pm line 187
!
[Fri Jul 26 17:18:29 2013][Error][Kernel::System::XML::XMLParse][775] XML::Parser produced errors. I use XML::Parser::Lite as fallback!
[Fri Jul 26 17:18:36 2013][Error][Kernel::System::XML::XMLParse][774] C-Parser:
not well-formed (invalid token) at line 9, column 36, byte 632 at C:/Program Files (x86)/OTRS/StrawberryPerl/perl/vendor/lib/XML/Parser.pm line 187
!
[Fri Jul 26 17:18:37 2013][Error][Kernel::System::XML::XMLParse][775] XML::Parser produced errors. I use XML::Parser::Lite as fallback!
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

any help how solving above error :(
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: package manager

Post by crythias »

Ask better questions, get better answers.

Read my "need help" link...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

thank :)
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

hi crythias

i trying to install one .opm file package manager option not working . log error is below


"C:\Program Files (x86)\OTRS\OTRS\bin>perl otrs.PackageManager.pl -a list
ERROR: OTRS-otrs.PackageManager.pl-10 Perl: 5.16.1 OS: MSWin32 Time: Fri Jul 26
17:45:33 2013

Message: C-Parser:
not well-formed (invalid token) at line 9, column 36, byte 632 at C:/strawberry/
perl/vendor/lib/XML/Parser.pm line 187.
!

Traceback (4648):
Module: Kernel::System::XML::XMLParse (v1.113) Line: 774
Module: Kernel::System::Package::PackageParse (v1.142) Line: 1770
Module: Kernel::System::Package::RepositoryList (v1.142) Line: 186
Module: otrs.PackageManager.pl (v1.16) Line: 435

ERROR: OTRS-otrs.PackageManager.pl-10 Perl: 5.16.1 OS: MSWin32 Time: Fri Jul 26
17:45:33 2013

Message: XML::Parser produced errors. I use XML::Parser::Lite as fallback!

Traceback (4648):
Module: Kernel::System::XML::XMLParse (v1.113) Line: 775
Module: Kernel::System::Package::PackageParse (v1.142) Line: 1770
Module: Kernel::System::Package::RepositoryList (v1.142) Line: 186
Module: otrs.PackageManager.pl (v1.16) Line: 435

Malformed UTF-8 character (fatal) at C:/Program Files (x86)/OTRS/OTRS/Kernel/cpa
n-lib/XML/Parser/Lite.pm line 133."
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

The XML of the opm is not valid. Did you change anything in the .opm? Was the download successful? Is it a public available package? if so, which package is it?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

Hi Reneeb,

yes i rename .opm name.

can u help me how to solving this error.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

Can you show us the .opm? (if it is not "secret"). Just to rename the file (without changing the content) doesn't lead to trouble...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

Hi reneeb,

opm package is sms event.

Please find the attachment rename file.i think non public package?

how to solve this error??

Note:: all attached file do not use anybody ,this file error or non-public package
You do not have the required permissions to view the files attached to this post.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

The xml is clean. Did you save the file as utf-8? The attachment is in iso-8859-1, but that might be an issue of the forum.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

how to clean xml ??
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

You don't need to change XML. Did you check in which charset the .opm is saved? On linux you can use "file -i /path/to/Sms....opm".
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

Hi,reneeb

i am done this steps
1. down load sms event package
2. admin-package - manager
3. choose file - sms event package
4. install package on click

after error happen and i am verify log
that time above error ..

so i think package is not installed. starting error .

any help solving this error? can u tell how to clean the xml..........
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

OTRS still works, right? You can still start the package manager, right? If not, please post the error messages. And please describe in detail what you're doing.
reneeb wrote:You don't need to change XML. Did you check in which charset the .opm is saved? On linux you can use "file -i /path/to/Sms....opm".
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

OTRS working fine. but onclick package manager

Error is screen

"
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@somenet.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error lo
g.""


log file checking
[Error][Kernel::System::XML::XMLParse][774] C-Parser:
not well-formed (invalid token) at line 9, column 36, byte 632 at C:/Program Files (x86)/OTRS/StrawberryPerl/perl/vendor/lib/XML/Parser.pm line 187
!
[Fri Jul 26 20:08:43 2013][Error][Kernel::System::XML::XMLParse][775] XML::Parser produced errors. I use XML::Parser::Lite as fallback!
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: package manager

Post by reneeb »

check if the package is already in the database:

Code: Select all

 select id, name from package_repository
and remove it.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kalyana1315
Znuny expert
Posts: 171
Joined: 24 Apr 2013, 12:29
Znuny Version: OTRS3.3
Real Name: kalyanachakravarthy M P
Company: TATA Technologies
Location: Pune,India
Contact:

Re: package manager

Post by kalyana1315 »

Hi,reneeb

Thank you :D :D :D

reneeb wrote:check if the package is already in the database:

Code: Select all

 select id, name from package_repository
and remove it.
Locked