Re: Package building error on OTRS 5
"Finetti, Stefano" <[email protected]> Fri, 18 Mar 2016 10:17:58 +0100
| Newsgroups | gmane.comp.otrs.devel |
|---|---|
| Message-ID | <CADp4ddRKsg54oBumuxN7+nfyjXMUdH921t_q1HtJo7KKa3pnAA@mail.gmail.com> |
--===============0962037199== Content-Type: multipart/alternative; boundary=001a11431e76414415052e4f3a4b --001a11431e76414415052e4f3a4b Content-Type: text/plain; charset=UTF-8 Thanks, but the real problem was the PackageIsDownloadable xml tag. By the way --source-path and --target-directory are not flags to be used, you just need to put the source path and the dest dir without -- flags: bin/otrs.Console.pl Dev::Package::Build --module-directory /path/th /source/path/sopm /target/dir It works now, I have installed the package successfully Thanks for the help though 2016-03-18 10:14 GMT+01:00 Renee B <[email protected]>: > The command should look like this: > > su -c "/opt/otrs/bin/otrs.Console.pl Dev::Package::Build --source-path > ./LynxCustomersAddOn.sopm --target-directory /tmp --module-directory ." -s > /bin/bash otrs > > > > > Am 18.03.2016 um 09:35 schrieb Finetti, Stefano: > >> Maybe because the PackageIsDownloadable is set to 0? >> I had a more clear error using the old package manager in otrs 4. But it >> really should be better documented in the manual... >> >> 2016-03-18 9:30 GMT+01:00 Finetti, Stefano < >> [email protected]> >> : >> >> Hi, >>> >>> I'm trying to bulild an .opm file from a .sopm spec file, but >>> otrs.Console.pl continues to give me an error without any hint of where >>> I >>> should look for the problem. >>> >>> When I launch this command: >>> >>> su -c "/opt/otrs/bin/otrs.Console.pl Dev::Package::Build >>> ./LynxCustomersAddOn.sopm /tmp" -s /bin/bash otrs >>> >>> I always obtain: >>> >>> Building package... >>> Error: Package cannot be built. >>> >>> I've double and triple-checked the .sopm file, and it contains all the >>> mandatory tags as well as all the necessary tags for the module, >>> including >>> file list and database operations. I've created using an XML editor in >>> Aptana Studio 3 (syntax highlighting and completion), and it evidences no >>> errors. >>> >>> Is there any way to enable a more "communicative" version of the Console >>> that gives a bit more output to help me understand where in the sopm file >>> the problem is? >>> >>> Thanks >>> >>> P.S. >>> I can paste the sopm here, but it's quite long so I avoided to do it on >>> the first post... >>> >>> -- >>> *Lynx International Srl* >>> *Stefano Finetti* >>> *http://www.lynx-international.com <http://www.lynx-international.com>* >>> >>> *Lynx International Srl is a part of AXED Group* >>> Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina >>> >>> >>> >> >> >> _______________________________________________ >> OTRS mailing list: dev - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/dev >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev >> > > > > -- > Perl / OTRS development: http://perl-services.de > OTRS AddOn repository: http://opar.perl-services.de > _______________________________________________ > OTRS mailing list: dev - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/dev > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev > -- *Lynx International Srl* *Stefano Finetti* *http://www.lynx-international.com <http://www.lynx-international.com>* *Lynx International Srl is a part of AXED Group* Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina -- This e-mail and any files transmitted contain documentation which is highly confidential and intended solely for the use of the individual or entity to whom they are addressed. All written data and other information in the documentation is and shall remain the property of the disclosing party. If you are not the intended recipient you are hereby formally notified that any disclosure, dissemination, forwarding, storing, copying or use of any of the information is strictly prohibited and will be legally pursued. If you received this in error, please contact the sender and destroy the documentation including deletion of the same from any computer. Thank you. --001a11431e76414415052e4f3a4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks, but the real problem was the PackageIsDownloadable= xml tag.<div><br><div>By the way --source-path and --target-directory are = not flags to be used, you just need to put the source path and the dest dir= without -- flags:</div><div><br></div><div>bin/<a href=3D"http://otrs.Cons= ole.pl">otrs.Console.pl</a> Dev::Package::Build --module-directory /path/th= /source/path/sopm /target/dir</div><div><br></div><div>It works now, I hav= e installed the package successfully</div><div><br></div><div>Thanks for th= e help though</div><div><br></div></div></div><div class=3D"gmail_extra"><b= r><div class=3D"gmail_quote">2016-03-18 10:14 GMT+01:00 Renee B <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>></span>:<br><blockquote class=3D"gmail_= quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1= ex">The command should look like this:<br> <br> su -c "/opt/otrs/bin/<a href=3D"http://otrs.Console.pl" rel=3D"norefer= rer" target=3D"_blank">otrs.Console.pl</a> Dev::Package::Build --source-pat= h ./LynxCustomersAddOn.sopm=C2=A0 --target-directory /tmp --module-director= y ." -s /bin/bash otrs<div><div class=3D"h5"><br> <br> <br> <br> Am 18.03.2016 um 09:35 schrieb Finetti, Stefano:<br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"> Maybe because the PackageIsDownloadable is set to 0?<br> I had a more clear error using the old package manager in otrs 4. But it<br= > really should be better documented in the manual...<br> <br> 2016-03-18 9:30 GMT+01:00 Finetti, Stefano <<a href=3D"mailto:sfinetti@l= ynx-international.com" target=3D"_blank">[email protected]</a= >><br> :<br> <br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"> Hi,<br> <br> I'm trying to bulild an .opm file from a .sopm spec file, but<br> <a href=3D"http://otrs.Console.pl" rel=3D"noreferrer" target=3D"_blank">otr= s.Console.pl</a> continues to give me an error without any hint of where I<= br> should look for the problem.<br> <br> When I launch this command:<br> <br> su -c "/opt/otrs/bin/<a href=3D"http://otrs.Console.pl" rel=3D"norefer= rer" target=3D"_blank">otrs.Console.pl</a> Dev::Package::Build<br> ./LynxCustomersAddOn.sopm /tmp" -s /bin/bash otrs<br> <br> I always obtain:<br> <br> Building package...<br> Error: Package cannot be built.<br> <br> I've double and triple-checked the .sopm file, and it contains all the<= br> mandatory tags as well as all the necessary tags for the module, including<= br> file list and database operations. I've created using an XML editor in<= br> Aptana Studio 3 (syntax highlighting and completion), and it evidences no<b= r> errors.<br> <br> Is there any way to enable a more "communicative" version of the = Console<br> that gives a bit more output to help me understand where in the sopm file<b= r> the problem is?<br> <br> Thanks<br> <br> P.S.<br> I can paste the sopm here, but it's quite long so I avoided to do it on= <br> the first post...<br> <br> --<br></div></div> *Lynx International Srl*<br> *Stefano Finetti*<br> *<a href=3D"http://www.lynx-international.com" rel=3D"noreferrer" target=3D= "_blank">http://www.lynx-international.com</a> <<a href=3D"http://www.ly= nx-international.com" rel=3D"noreferrer" target=3D"_blank">http://www.lynx-= international.com</a>>*<br> <br> *Lynx International Srl is a part of AXED Group*<span class=3D""><br> Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina<br> <br> <br> </span></blockquote> <br> <br> <br> _______________________________________________<br> OTRS mailing list: dev - Webpage: <a href=3D"http://otrs.org/" rel=3D"noref= errer" target=3D"_blank">http://otrs.org/</a><br> Archive: <a href=3D"http://lists.otrs.org/pipermail/dev" rel=3D"noreferrer"= target=3D"_blank">http://lists.otrs.org/pipermail/dev</a><br> To unsubscribe: <a href=3D"http://lists.otrs.org/cgi-bin/listinfo/dev" rel= =3D"noreferrer" target=3D"_blank">http://lists.otrs.org/cgi-bin/listinfo/de= v</a><span class=3D"HOEnZb"><font color=3D"#888888"><br> </font></span></blockquote><span class=3D"HOEnZb"><font color=3D"#888888"> <br> <br> <br> -- <br> Perl / OTRS development: <a href=3D"http://perl-services.de" rel=3D"norefer= rer" target=3D"_blank">http://perl-services.de</a><br> OTRS AddOn repository: <a href=3D"http://opar.perl-services.de" rel=3D"nore= ferrer" target=3D"_blank">http://opar.perl-services.de</a><br> _______________________________________________<br> OTRS mailing list: dev - Webpage: <a href=3D"http://otrs.org/" rel=3D"noref= errer" target=3D"_blank">http://otrs.org/</a><br> Archive: <a href=3D"http://lists.otrs.org/pipermail/dev" rel=3D"noreferrer"= target=3D"_blank">http://lists.otrs.org/pipermail/dev</a><br> To unsubscribe: <a href=3D"http://lists.otrs.org/cgi-bin/listinfo/dev" rel= =3D"noreferrer" target=3D"_blank">http://lists.otrs.org/cgi-bin/listinfo/de= v</a><br> </font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b= r><div class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><di= v dir=3D"ltr"><span style=3D"color:rgb(50,100,246);font-family:'Courier= New';font-size:18px"><b>Lynx International Srl</b><span style=3D"font-= size:12px;font-family:Times;color:rgb(0,0,0)">=C2=A0</span></span><span sty= le=3D"border-collapse:separate;border-spacing:0px"><div style=3D"word-wrap:= break-word"><span style=3D"border-collapse:separate;border-spacing:0px"><di= v style=3D"word-wrap:break-word"><div style=3D"margin:0px;font-size:16px;fo= nt-family:'Courier New';color:rgb(119,119,119)"><b>Stefano Finetti<= /b></div><div style=3D"margin:0px;font-size:16px;font-family:'Courier N= ew';color:rgb(119,119,119)"><b><a href=3D"http://www.lynx-international= .com" target=3D"_blank">http://www.lynx-international.com</a></b></div><div= style=3D"margin:0px;font-size:16px;font-family:'Courier New';color= :rgb(119,119,119);min-height:18px"><br></div><div style=3D"margin:0px;font-= size:16px;font-family:'Courier New';color:rgb(119,119,119)"><b>Lynx= International Srl is a part of AXED Group</b></div><div style=3D"margin:0p= x;font-size:16px;font-family:'Courier New';color:rgb(119,119,119)">= Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina</div><div style=3D"margin= :0px;font-size:16px;font-family:'Courier New';color:rgb(119,119,119= )"><br></div></div></span></div></span></div></div></div></div></div> </div> <br> <span style=3D"color:rgb(153,153,153);font-family:'Courier New';fon= t-size:12px">This e-mail and any files transmitted contain documentation wh= ich is highly confidential and intended solely for the use of the individua= l or entity to whom they are addressed. All written data and other informat= ion in the documentation is and shall remain the property of the disclosing= party. If you are not the intended recipient you are hereby formally notif= ied that any disclosure, dissemination, forwarding, storing, copying or use= of any of the information is strictly prohibited and will be legally pursu= ed. If you received this in error, please contact the sender and destroy th= e documentation including deletion of the same from any computer. Thank you= .</span> --001a11431e76414415052e4f3a4b-- --===============0962037199== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev --===============0962037199==--