[Qgis-tr] update the language when compiling QGIS

Werner Macho werner.macho at gmail.com
Wed Feb 18 09:00:28 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

The only thing that I can think of now is

git reset --hard HEAD

though not sure if that will really work.
But if you cannot do anything afterwards with transifex you somehow
screwed up your clone.

HTH
regards
Werner

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

iEYEARECAAYFAlTkxSkACgkQDAH1YiCxBgmedQCfegE/oVEEutpPweivFamQQysS
xtoAn3XjlkD4gsAGmdALi8kI08l+0FPH
=zlH0
-----END PGP SIGNATURE-----


More information about the Qgis-tr mailing list