[otrs] module Code::TidyAll v0.17 is required and not installed!

517 views
Skip to first unread message

Marty Hillman

unread,
Jan 16, 2014, 3:34:41 PM1/16/14
to ot...@otrs.org

I am upgrading to OTRS 3.3.3 from 3.2.10, and got the entire install including ITSM working on the first attempt.  However, there is one plugin that I am not able to install.  Every time I try to install OTRSCodePolicy, I get the error “Sorry, can't install package, because module Code::TidyAll v0.17 is required and not installed!”

 

I did try doing cpan Code::TidyAll, but that fails because of missing Digest::SHA1,Moo,Guard.

 

I have not been able to find anything in the documentation on this yet.  Anyone else run into this problem or have any ideas?

 

Marty Hillman – IT Manager of Network Infrastructure

Description: http://intranet.equuscs.com/mishelp/Faq/email-signature/logo.png

 

5801 Clearwater Drive, Minnetonka, MN 55343

 

P  612.617.4333  |  E mhil...@equuscs.com

 

 

Martin Gruner

unread,
Jan 17, 2014, 2:10:34 AM1/17/14
to User questions and discussions about OTRS.
Hi Marty,

it seems that installation of Code::TidyAll works fine with
App::Cpanminus. Install that first and then run "cpanm Code::TidyAll".
That worked for me.

Regards, mg

Am 16.01.14 21:34, schrieb Marty Hillman:
> I am upgrading to OTRS 3.3.3 from 3.2.10, and got the entire install
> including ITSM working on the first attempt. However, there is one
> plugin that I am not able to install. Every time I try to install
> OTRSCodePolicy, I get the error “Sorry, can't install package, because
> module Code::TidyAll v0.17 is required and not installed!”
>
>
>
> I did try doing cpan Code::TidyAll, but that fails because of missing
> Digest::SHA1,Moo,Guard.
>
>
>
> I have not been able to find anything in the documentation on this yet.
> Anyone else run into this problem or have any ideas?
>
>
>
> Marty Hillman – IT Manager of Network Infrastructure
>
> Description:
> http://intranet.equuscs.com/mishelp/Faq/email-signature/logo.png
>
>
>
>
>
> 5801 Clearwater Drive, Minnetonka, MN 55343
>
>
>
>
>
> *P*** 612.617.4333 | *E**mhil...@equuscs.com
> <mailto:mhil...@equuscs.com>*
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>

--
Martin Gruner
Senior Developer R&D

OTRS AG
Europaring 4
94315 Straubing

T: +49 (0)6172 681988 0
F: +49 (0)9421 56818 18
I: www.otrs.com/

Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751,
USt-Nr.: DE256610065
Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André
Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel

Einfache Planung, bessere Übersicht - Mit OTRS 3.3 einfach besseres
Service Management - Jetzt downloaden und testen
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Marty Hillman

unread,
Jan 17, 2014, 11:16:31 AM1/17/14
to User questions and discussions about OTRS.
Thanks. I think that got me closer. After I installed App::Cpanminus, I also had to install Code::TidyAll and Perl::Critic before the installer for OTRSCodePolicy stopped giving errors. However, I now get an Internal Server 500 error when trying to install. If I go back to the page, it tells me that it is installed, but improperly and that I must reinstall it. Reinstalling never works.

So much closer though!

-----Original Message-----
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] On Behalf Of Martin Gruner
Sent: Friday, January 17, 2014 1:11 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] module Code::TidyAll v0.17 is required and not installed!

Hi Marty,

it seems that installation of Code::TidyAll works fine with App::Cpanminus. Install that first and then run "cpanm Code::TidyAll".
That worked for me.

Regards, mg

Am 16.01.14 21:34, schrieb Marty Hillman:
> I am upgrading to OTRS 3.3.3 from 3.2.10, and got the entire install
> including ITSM working on the first attempt. However, there is one
> plugin that I am not able to install. Every time I try to install
> OTRSCodePolicy, I get the error "Sorry, can't install package, because
> module Code::TidyAll v0.17 is required and not installed!"
>
>
>
> I did try doing cpan Code::TidyAll, but that fails because of missing
> Digest::SHA1,Moo,Guard.
>
>
>
> I have not been able to find anything in the documentation on this yet.
> Anyone else run into this problem or have any ideas?
>
>
>
> Marty Hillman - IT Manager of Network Infrastructure

Martin Gruner

unread,
Jan 27, 2014, 4:33:26 AM1/27/14
to User questions and discussions about OTRS.
Hi Marty,

I just built a new version of this package, 1.0.2. It should show up on
the package manager sometime soon, otherwise you can try it from
ftp://ftp.otrs.org/pub/otrs/packages. Does it work with that one?
If not, can you please post relevant messages from your error log?

BTW, OTRSCodePolicy is only needed if you want to develop code for OTRS.

Regards, mg

Am 17.01.14 17:16, schrieb Marty Hillman:

Marty Hillman

unread,
Jan 27, 2014, 10:30:41 AM1/27/14
to User questions and discussions about OTRS.
I did as you suggested, but it is showing that the following files did not install and the overall package is still not installed properly.

Perl/Critic/PolicyOTRS.pm
Perl/Critic/Policy/OTRS/ProhibitLowPrecendeceOps.pm
Perl/Critic/Policy/OTRS/ProhibitOpen.pm
Perl/Critic/Policy/OTRS/RequireCamelCase.pm
Perl/Critic/Policy/OTRS/RequireLabels.pm
Perl/Critic/Policy/OTRS/RequireParensWithMethods.pm
Perl/Critic/Policy/OTRS/RequireTrueReturnValueForModules.pm
TidyAll/Plugin/OTRS/Base.pm
TidyAll/Plugin/OTRS/Common/CustomizationMarkers.pm
TidyAll/Plugin/OTRS/Common/HeaderlineFilename.pm
TidyAll/Plugin/OTRS/Common/RemoveCVSIDs.pm
TidyAll/Plugin/OTRS/DTL/Baselink.pm
TidyAll/Plugin/OTRS/DTL/CGIHandle.pm
TidyAll/Plugin/OTRS/DTL/Format.pm
TidyAll/Plugin/OTRS/DTL/LQData.pm
TidyAll/Plugin/OTRS/DTL/Select.pm
TidyAll/Plugin/OTRS/DTL/UniqueBlock.pm
TidyAll/Plugin/OTRS/JavaScript/DebugCode.pm
TidyAll/Plugin/OTRS/Legal/AGPLValidator.pm
TidyAll/Plugin/OTRS/Legal/ReplaceCopyright.pm
TidyAll/Plugin/OTRS/Legal/SOPMLicense.pm
TidyAll/Plugin/OTRS/Perl.pm
TidyAll/Plugin/OTRS/Perl/DBObject.pm
TidyAll/Plugin/OTRS/Perl/DieExit.pm
TidyAll/Plugin/OTRS/Perl/Dumper.pm
TidyAll/Plugin/OTRS/Perl/ForeachToFor.pm
TidyAll/Plugin/OTRS/Perl/ForMy.pm
TidyAll/Plugin/OTRS/Perl/Goto.pm
TidyAll/Plugin/OTRS/Perl/ISA.pm
TidyAll/Plugin/OTRS/Perl/LayoutObject.pm
TidyAll/Plugin/OTRS/Perl/ModuleFormat.pm
TidyAll/Plugin/OTRS/Perl/ParamObject.pm
TidyAll/Plugin/OTRS/Perl/PerlCritic.pm
TidyAll/Plugin/OTRS/Perl/PerlTidy.pm
TidyAll/Plugin/OTRS/Perl/PodChecker.pm
TidyAll/Plugin/OTRS/Perl/PodNewDoc.pm
TidyAll/Plugin/OTRS/Perl/PodSpelling.pm
TidyAll/Plugin/OTRS/Perl/Print.pm
TidyAll/Plugin/OTRS/Perl/Require.pm
TidyAll/Plugin/OTRS/Perl/ScriptFormat.pm
TidyAll/Plugin/OTRS/Perl/SortKeys.pm
TidyAll/Plugin/OTRS/Perl/SubDeclaration.pm
TidyAll/Plugin/OTRS/Perl/SyntaxCheck.pm
TidyAll/Plugin/OTRS/Perl/Time.pm
TidyAll/Plugin/OTRS/Perl/UseWarnings.pm
TidyAll/Plugin/OTRS/StaticFiles/XSD/Configuration.xsd
TidyAll/Plugin/OTRS/StaticFiles/XSD/Database.xsd
TidyAll/Plugin/OTRS/StaticFiles/XSD/SOPM.xsd
TidyAll/Plugin/OTRS/SOPM/DocumentationPresent.pm
TidyAll/Plugin/OTRS/SOPM/FileList.pm
TidyAll/Plugin/OTRS/SOPM/FileRights.pm
TidyAll/Plugin/OTRS/SOPM/Name.pm
TidyAll/Plugin/OTRS/SOPM/PackageRequired.pm
TidyAll/Plugin/OTRS/SOPM/RequiredElements.pm
TidyAll/Plugin/OTRS/SOPM/XSDValidator.pm
TidyAll/Plugin/OTRS/SQL/ColumnTypes.pm
TidyAll/Plugin/OTRS/SQL/ReservedWords.pm
TidyAll/Plugin/OTRS/Whitespace/FourSpaces.pm
TidyAll/Plugin/OTRS/Whitespace/Tabs.pm
TidyAll/Plugin/OTRS/Whitespace/TrailingWhitespace.pm
TidyAll/Plugin/OTRS/XML/Configuration/XSDValidator.pm
TidyAll/Plugin/OTRS/XML/Database/XSDValidator.pm
TidyAll/Plugin/OTRS/XML/ConfigDescription.pm
TidyAll/Plugin/OTRS/XML/ConfigSyntax.pm
TidyAll/Plugin/OTRS/XML/Lint.pm
TidyAll/Plugin/OTRS/XML/LintWithOurParsers.pm
TidyAll/OTRS.pm
TidyAll/OTRS/Git/PreCommit.pm
TidyAll/OTRS/Git/PreReceive.pm
TidyAll/tidyallrc
TidyAll/git-hooks/pre-commit.pl
TidyAll/git-hooks/pre-receive.pl
TidyAll/git-hooks/prepare-commit-msg.pl
TidyAll/run.pl

Martin Gruner

unread,
Jan 28, 2014, 2:56:19 AM1/28/14
to User questions and discussions about OTRS.
Hi Marty,

I see. The problem would probably be that the package creates new
toplevel directories which is not possible in OTRS 3.3 if run via the
webserver. You can try installing it via the commandline
(bin/otrs.PackageManager.pl) with the otrs user, then it should work. I
need to see if I can find a fix for that.

Best regards, mg

Am 27.01.14 16:30, schrieb Marty Hillman:

Martin Gruner

unread,
Jan 28, 2014, 4:59:27 AM1/28/14
to User questions and discussions about OTRS.
Hi Marty,

I created a new version 1.0.3 of the package that does no longer create
new toplevel directories in OTRS. Could you try that one please.

Regards, mg

Am 28.01.14 08:56, schrieb Martin Gruner:

Marty Hillman

unread,
Jan 28, 2014, 10:22:14 AM1/28/14
to User questions and discussions about OTRS.
I saw a 1.0.4 package at the ftp site, so gave that a shot instead of 1.0.3. It appears to have worked as all pm modules show as being installed. I will test through it and let you know if I have any issues.

Sol-G on here from cshotline.com was having the same issue. Sol-G - This appears to have fixed the problem.

Vielen Dank, Martin!
>>> --------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages