View Issue Details

IDProjectCategoryView StatusLast Update
0010062Talerdeployment and operationspublic2025-07-03 19:09
ReporterChristian Grothoff Assigned ToStefan  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-1.0Fixed in Versiongit (master) 
Summary0010062: weblate installation on pixel looks cursed
Descriptioncelery service doesn't even start, pip environment in /home/weblate looks very broken, no documentation on the setup.

We probably should:

1) Re-install it properly on firefly, using
  - user systemd services (loginctl enable ...)
  - maybe celery from Debian?
  - still with postgresql database
  - probably more recent version?
  - document setup, move gpg signing key & Git ssh access key
2) Then:
 - remove weblate->pixel CNAME in DNS
 - migrate data,
 - point DNS to firefly
TagsNo tags attached.

Relationships

related to 0010148 assignedBohdan Merge all pot files in /taler-tutorials into one file for Weblate 

Activities

schanzen

2025-06-26 20:42

administrator   ~0025368

Please test if everything is as expected, then this issue can be resolved.

Stefan

2025-06-26 22:47

developer   ~0025369

Testing: In Weblate, I was able to log in, I could edit strings in the component "Main web site", pushed the changes to git, merged master and reviewed the result on the web. Success!
Tomorrow further testing will be absolved.

Stefan

2025-06-27 08:54

developer   ~0025370

Testing continued: I was able to commit strings also to four other components (Taler Bank SPA, Taler merchants demo pages, Taler typescript-core and Taler Tutorials). So, Weblate's basic functionality seems to be restored.
Nevertheless, Weblate triggered an alert for two components in its Weblate repositories (Taler Tutorials and GNU Taler's Main Web Site), see also this as https://weblate.gnunet.org/manage/alerts/ what I paste explicitly here as follows:
(1) https://weblate.gnunet.org/projects/gnu-taler/taler-tutorials/
Following files are no longer present in the repository: _build/gettext/docs.pot
(2) https://weblate.gnunet.org/projects/gnu-taler/main-web-site/#alerts
Following files are no longer present in the repository: locale/messages.pot
Interestingly, I can still find the allegedly missing file messages.pot for www.taler.net on the git (https://git.taler.net/taler-www.git/tree/locale/messages.pot) and on my local repository as well! So, why is Weblate complaining about a file that is obviously existing for the said component?

Another bug in the component for www.taler.net (Main Web Site) seems to be the folder 'dist' which is created in the 'rendered' folder with a huge 67, 1 MB of data including three ZIP files containing bootstrap stuff and fontawesome leftovers.

schanzen

2025-06-27 09:44

administrator   ~0025371

1) and 2) are false alarms generated during the migration. The files exist. As is also demonstrated by the fact that you can use the system/make translations for this repo.
Regarding the dist folder, I am not sure how this is related to weblate. This seems like a website build/deploy issue instead?

schanzen

2025-06-27 11:59

administrator   ~0025372

As expected critical alarms are gone after 1d automatically now. The messages.pot alarm is actually a change in the weblate behaviour regarding bilingual translations (pot files). We may have to ignore "en" translations (as in: not offer them).
I also deleted the dist files in the repo for the website.

Stefan

2025-06-27 12:02

developer   ~0025373

Weblate's error message can be ignored for the Main Web Site as the messages.pot exists for www.taler.net in the git repository. But for the other error message regarding the Taler tutorials (1) I see a plurality of different pot files in the git (/taler-tutorials/_build/gettext/): 39 pot files - of which we definitely need only one merged file to be linked and synchronised in Weblate.

We had this issue already once before with another component, the Merchant Backend. Bohdan solved this issue. He merged all formerly existing pot files into one file, AFAIK taler-merchant-api-tutorial.pot. This is why I would like to invite Bohdan to also take a look at our present problem. And it is a problem as the Weblate component does neither manage the mapping of existing strings - which is a total chaos right now - nor does it handle the translations for the tutorials in German and French that Emmanuel and me committed so far. Both languages have been translated by us to a much larger degree than the 1 % of strings in the Weblate repo.

Please, anyone who feels responsible for the Taler tutorials (Emmanuel?), be so kind and take action to create one pot file for the whole Taler tutorials component in the git so that we can let Weblate snychronise with it and allow for properly managed translations.

Stefan

2025-06-27 18:40

developer   ~0025374

Bohdan is looking into this issue tonight. Maybe he will find an easy way to merge all 39 pot files into a single one which Weblate can sync with.

Stefan

2025-07-03 17:40

developer   ~0025407

Has there been progress in regard to the merging of the 39 pot files? Should @bohdan assign a new Mantis ticket for the task so that we can close this one here?

Bohdan

2025-07-03 17:52

developer   ~0025408

Stefan, as I wrote to you in the Mattermost, I can't see this problem to be present now... I acknowledge the problem with _build, but that's definitely the question of another bug. So, yes sure this one can be closed from my POV.

Issue History

Date Modified Username Field Change
2025-06-02 23:36 Christian Grothoff New Issue
2025-06-02 23:36 Christian Grothoff Status new => assigned
2025-06-02 23:36 Christian Grothoff Assigned To => schanzen
2025-06-26 20:41 schanzen Assigned To schanzen => Stefan
2025-06-26 20:42 schanzen Status assigned => feedback
2025-06-26 20:42 schanzen Note Added: 0025368
2025-06-26 22:47 Stefan Note Added: 0025369
2025-06-27 08:54 Stefan Note Added: 0025370
2025-06-27 09:44 schanzen Note Added: 0025371
2025-06-27 11:59 schanzen Note Added: 0025372
2025-06-27 12:02 Stefan Note Added: 0025373
2025-06-27 18:40 Stefan Note Added: 0025374
2025-07-03 17:40 Stefan Note Added: 0025407
2025-07-03 17:52 Bohdan Note Added: 0025408
2025-07-03 19:08 Stefan Relationship added related to 0010148
2025-07-03 19:09 Stefan Status feedback => resolved
2025-07-03 19:09 Stefan Resolution open => fixed
2025-07-03 19:09 Stefan Fixed in Version => git (master)