Untergeordnete Seiten
  • Exception: No user credentials found during translation download

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Table of Contents

Overview

Building MediaPortal 2 or pulling the translations from Transifex.com fails with a "No user credentials found" exception.

Symptoms

When compiling a full MediaPortal 2 build at some point the translations are downloaded (pulled) from Transifex.com. It may happen that an error or exception occurs with the following message:

Exception: No user credentials found for host https://www.transifex.com. Edit ~/.transifexrc and add the appropriate info in there.
D:\MediaPortal\Sources\MediaPortal-2-dev\MediaPortal\Build\Transifex.targets(36,5): error MSB3073: Der Befehl ""D:\MediaPortal\Sources\MediaPortal-2-dev\MediaPortal\Build\..\Tools\Transifex\tx.exe" pull -a -f" wurde mit dem Code 1 beendet.

The same might happen when running the

tx_4_Pull_Translations.bat

in

MediaPortal\Tools\Transifex

-folder.

Unfortunately it is not supported to downloading translations anonymously. A pull request related to it can be found at #100.

The problem are missing user credentials within the transifex user settings (

C:\Users\%YourWindowsUserName%\.transifexrc

).

Resolution

1. Create an account

Signup at Transifex.com: https://www.transifex.com/signup/

2. Configure user credentials

To initialize the user credentials you call the Transifex-Client (tx.exe) using the init parameter.

Even easier: Start in 

MediaPortal\Tools\Transifex

 in MediaPortal 2 repository. Run 

tx_0_Init_User.bat
tx: There is already a tx folder!
Do you want to delete it and reinit the project? [y/N]:

Type

y

and press

enter

.

Creating .tx folder...
Transifex instance [https://www.transifex.com]:

Leave it empty and press

enter

.

Creating skeleton...
Creating config file...
No entry found for host https://www.transifex.com. Creating...
Please enter your transifex username:

Type in your username and press

enter

.

Password:

Type in your password and press

enter

.

Updating C:\Users\%YourWindowsUserName%\.transifexrc file...
Done.

In case you used the tx_0_Init_User.bat from within MP2 repo,
you should revert the modifications done to the

MediaPortal\Tools\Transifex\.tx\config

.

Finished. You can now close the cmd prompt and re-try to download the translations.

Related

   

 

This page has no comments.