Problemas al Intalar el Package de OTRSCodePolicy

Post Reply
jcartesv
Znuny newbie
Posts: 2
Joined: 30 Jul 2017, 08:24
Znuny Version: 5.0.21
Real Name: jcartes
Company: ddconsulting

Problemas al Intalar el Package de OTRSCodePolicy

Post by jcartesv »

Hola equipo,
Tengo un problema:
No puedo instalar mediante el portal de OTRS el plugin de OTRSCodePolicy, por comando instalé Code:TidyAll sin errores, con App::cpanminus y Perl::Critic sin problemas, pero al instalar el package por la web, me dá error. Intenté instalar por comando "shell> bin/otrs.Console.pl Admin::Package::Install /path/to/OTRSCodePolicy-1.0.10.opm" pero no encontraba el package "shell> bin/otrs.Console.pl Admin::Package::Install /path/to/OTRSCodePolicy-1.0.10.opm

Versión actual de OTRS: 5.0.21

[root@localhost otrs]# cpanm Code::TidyAll
Code::TidyAll is up to date. (0.63)

[root@localhost otrs]# cpanm App::cpanminus
App::cpanminus is up to date. (1.7043)

[root@localhost otrs]# cpanm Perl::Critic
Perl::Critic is up to date. (1.130)

[otrs@localhost ~]$ bin/otrs.Console.pl Admin::Package::Install /path/to/OTRSCodePolicy-1.0.10.opm
Installing package...
Error: No such file '/path/to/OTRSCodePolicy-1.0.10.opm' or invalid 'package-version'!



Error mediante la Web:

Backend ERROR: OTRS-CGI-84 Perl: 5.16.3 OS: linux Time: Sat Jul 29 23:55:46 2017

Message: Sorry, can't install package, because module Code::TidyAll v0.17 is required and not installed!

RemoteAddress: 192.168.0.103
RequestURI: /otrs/index.pl?Action=AdminPackageManager;Subaction=InstallRemote;Source=http%3A%2F%2Fftp.otrs.org%2Fpub%2Fotrs%2Fpackages%2F;File=OTRSCodePolicy-1.0.10.opm;Name=OTRSCodePolicy;Version=1.0.10;ChallengeToken=ccgr19YFz32x8Exc7NRrOP0DFRxfGtzE;

Traceback (1461):
Module: Kernel::System::Package::_CheckModuleRequired Line: 3342
Module: Kernel::System::Package::PackageInstall Line: 505
Module: Kernel::Modules::AdminPackageManager::_InstallHandling Line: 1938
Module: Kernel::Modules::AdminPackageManager::Run Line: 883
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1054
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

A alguien le ha pasado con la nueva versión?

Saludos.
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: Problemas al Intalar el Package de OTRSCodePolicy

Post by reneeb »

cpanminus can install modules into both system Perl and user specific directory. Did you check that the modules were installed into system Perl?
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
Post Reply