Problemas al Intalar el Package de OTRSCodePolicy

OTRS newbie
Posts: 2
Joined: 30 Jul 2017, 08:24
OTRS Version?: 5.0.21
Real Name: jcartes
Company: ddconsulting

Problemas al Intalar el Package de OTRSCodePolicy

Postby jcartesv » 30 Jul 2017, 09:29

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/ Admin::Package::Install /path/to/OTRSCodePolicy-1.0.10.opm" pero no encontraba el package "shell> bin/ 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/ 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!

RequestURI: /otrs/;Subaction=InstallRemote;;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?

You do not have the required permissions to view the files attached to this post.

OTRS guru
Posts: 4281
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x

Re: Problemas al Intalar el Package de OTRSCodePolicy

Postby reneeb » 14 Aug 2017, 11:23

cpanminus can install modules into both system Perl and user specific directory. Did you check that the modules were installed into system Perl?
Perl / OTRS development:
Free OTRS add ons from the community:
Commercial add ons:

Return to “Ayuda”

Who is online

Users browsing this forum: No registered users and 2 guests