<div dir="ltr"><div><div><div>HI Werner,<br></div>sorry to keep you asking things.. <br></div>module installed and client configured... other error... :(<br><br>Saving translations<br>tar: src/plugins/plugin_template/plugingui.cpp: Cannot stat: No such file or directory<br>tar: src/plugins/plugin_template/plugin.cpp: Cannot stat: No such file or directory<br>tar: Exiting with failure status due to previous errors<br>Restoring files...<br>Removing temporary files<br><br></div>what is wrong with plugins?!?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 16:41 GMT+01:00 Werner Macho <span dir="ltr"><<a href="mailto:werner.macho@gmail.com" target="_blank">werner.macho@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matteo,<br>
<br>
The answers in short:<br>
<br>
The error is from a missing perl module<br>
<a href="http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm" target="_blank">http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm</a><br>
don't ask me why it needs this perl module - I never had this problem before ..<br>
Usually there is a package with a name similar to libxml-simple-perl<br>
(this is the name in debian)<br>
<br>
the second thing is that you have to configure your tx client first<br>
using your transifex credentials before you are able to "login" and<br>
pull:<br>
<a href="http://docs.transifex.com/developer/client/config" target="_blank">http://docs.transifex.com/developer/client/config</a><br>
<br>
hope this helps<br>
regards<br>
<span class="HOEnZb"><font color="#888888">Werner<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Feb 18, 2015 at 4:28 PM, Matteo Ghetta <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> wrote:<br>
> it seems that after running for the first time ./script/pull_ts.sh all the<br>
> .ts files inside i18t have been deleted due to:<br>
><br>
> ./script/pull_ts.sh<br>
> Pulling new translations...<br>
> Exception: No user credentials found for host <a href="https://www.transifex.com" target="_blank">https://www.transifex.com</a>.<br>
> Edit ~/.transifexrc and add the appropriate info in there.<br>
> Restoring files...<br>
> Removing temporary files<br>
><br>
> weird (for me) is that if I run git pull the directory remains empty..<br>
><br>
> What I did now is: copy the ts files from another QGIS repository into the<br>
> "master" repository (the one I use to compile QGIS). Edit the transifexrc<br>
> file and re-running ./script(pull_ts.sh<br>
><br>
> After a while I receive this error:<br>
> Updating python translations<br>
> Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple<br>
> module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.1<br>
> /usr/local/share/perl/5.20.1 /usr/lib/i386-linux-gnu/perl5/5.20<br>
> /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20<br>
> /usr/local/lib/site_perl .) at ../scripts/<a href="http://ts2cpp.pl" target="_blank">ts2cpp.pl</a> line 17.<br>
> BEGIN failed--compilation aborted at ../scripts/<a href="http://ts2cpp.pl" target="_blank">ts2cpp.pl</a> line 17.<br>
> Removing temporary files<br>
><br>
> And a last question.. I have to run first script/pull_ts.sh and then compile<br>
> QGIS in order to see the changes, right? Or can I have QGIS compiled and<br>
> script/pull_ts.sh updates the translations anyway?!<br>
><br>
> Thanks guys<br>
><br>
> Matteo<br>
><br>
><br>
><br>
> 2015-02-18 15:58 GMT+01:00 Werner Macho <<a href="mailto:werner.macho@gmail.com">werner.macho@gmail.com</a>>:<br>
>><br>
>> Hi!<br>
>><br>
>> Never had this type of error ..<br>
>> Are you sure you executed the pull_ts.sh script from the root<br>
>> directory of a git cloned repository?<br>
>><br>
>> ./scripts/pull_ts.sh<br>
>><br>
>> otherwise I have no clue what could have happened.. can you join into<br>
>> the i18n dir and take a look whats inside?<br>
>><br>
>> regards<br>
>> Werner<br>
>><br>
>> On Wed, Feb 18, 2015 at 3:18 PM, Matteo Ghetta <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>><br>
>> wrote:<br>
>> > Hi Werner,<br>
>> > thanks for the reply.<br>
>> > I have now tx-client installed on my pc, but still problem when running<br>
>> > ./script/pull_ts.sh<br>
>> ><br>
>> > Saving translations<br>
>> > rm: cannot remove ‘i18n/qgis_*.ts’: No such file or directory<br>
>> > Restoring files...<br>
>> > Removing temporary files<br>
>> ><br>
>> ><br>
>> > no idea how to fix this...<br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > Matteo<br>
>> ><br>
>> > 2015-02-18 10:19 GMT+01:00 Werner Macho <<a href="mailto:werner.macho@gmail.com">werner.macho@gmail.com</a>>:<br>
>> >><br>
>> >> Hi Matteo.<br>
>> >><br>
>> >> Doing the<br>
>> >><br>
>> >> ./scripts/pull_ts.sh<br>
>> >><br>
>> >> is the correct way - but the message<br>
>> >> tx not found only indicates that you are missing the (python) transifex<br>
>> >> client<br>
>> >><br>
>> >> which can be installed as<br>
>> >> pip install transifex-client<br>
>> >> IIRC<br>
>> >><br>
>> >> hope this helps<br>
>> >> kind regards<br>
>> >> Werner<br>
>> >><br>
>> >> On Wed, Feb 18, 2015 at 10:13 AM, Matteo Ghetta<br>
>> >> <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Hi all,<br>
>> >> > I have a simple question, but I cannot deal with this issue.<br>
>> >> > I'm compiling QGIS, but what should I do in order to update also the<br>
>> >> > translation?<br>
>> >> > I tried:<br>
>> >> ><br>
>> >> > ./pull_ts.sh<br>
>> >> ><br>
>> >> > inside the scripts dir, but I got an error:<br>
>> >> ><br>
>> >> > ./pull_ts.sh: line 18: scripts/update_ts.sh: No such file or<br>
>> >> > directory<br>
>> >> ><br>
>> >> > so I tried<br>
>> >> ><br>
>> >> > ./scripts/pull_ts.sh<br>
>> >> ><br>
>> >> > in the main dir of the repo, but I got<br>
>> >> ><br>
>> >> > tx not found<br>
>> >> ><br>
>> >> ><br>
>> >> > Am I missing something?<br>
>> >> ><br>
>> >> > Thanks to all<br>
>> >> ><br>
>> >> > Matteo<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Qgis-tr mailing list<br>
>> >> > <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> >> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
>> >> _______________________________________________<br>
>> >> Qgis-tr mailing list<br>
>> >> <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Qgis-tr mailing list<br>
>> > <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
>> _______________________________________________<br>
>> Qgis-tr mailing list<br>
>> <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-tr mailing list<br>
> <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
_______________________________________________<br>
Qgis-tr mailing list<br>
<a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a></div></div></blockquote></div><br></div>