Can't generate language statistics

Bug #1774682 reported by Hachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape-docs
Fix Released
Undecided
Patrick Storz

Bug Description

Hi - sorry, I need some help with that.

Somehow, the git branches for inkscape (inkscape.git) had become incompatible, so I removed the whole repo and cloned it again, then initialized both git repos inside the statistics dir.

So now, all is fresh and new.

Still, running

make all

(from the main directory) fails with:

...

### Making 'all' in 'statistics'
make[1]: Verzeichnis „.../ink-documentation/statistics“ wird betreten
make git-inkscape
make[2]: Verzeichnis „.../ink-documentation/statistics“ wird betreten
# pulling remote changes from inkscape repo
WARNING: INKBRANCH is not set, pulling inkscape repo from master
cd inkscape.git && \
  git pull --depth 1 origin master && \
  git checkout .
remote: Total 0 (delta 0), reused 0 (delta 0)
Von https://gitlab.com/inkscape/inkscape
 * branch master -> FETCH_HEAD
Already up-to-date.
make[2]: Verzeichnis „.../ink-documentation/statistics“ wird verlassen
make git-website
make[2]: Verzeichnis „.../ink-documentation/statistics“ wird betreten
# pulling remote changes from inkscape-web-i18n repo
cd web-i18n.git && git pull --depth=1
remote: Total 0 (delta 0), reused 0 (delta 0)
Already up-to-date.
make[2]: Verzeichnis „.../ink-documentation/statistics“ wird verlassen
./language_statistics.sh \
        --docs-dir ../ \
        --inkscape-dir inkscape.git \
        --website-dir web-i18n.git \
        --version > translation_statistics.html
./language_statistics.sh: Zeile 252: $1 ist nicht gesetzt.
Makefile:12: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 1
make[1]: Verzeichnis „.../ink-documentation/statistics“ wird verlassen
Makefile:5: die Regel für Ziel „default“ scheiterte
make: *** [default] Fehler 2

Revision history for this message
Patrick Storz (ede123) wrote :

Hi Maren,

sorry for the slow response, just saw this message now (I'm currently sifting through all the bug mail that piled up lately - still over 100 unread mails, probably won't get to them all...).

The reason it fails for you is that "--version" is not set (set it through the "INKBRANCH" variable).
I already have some code lying around locally which was supposed to address this but did not get around to finalizing it yet.

Revision history for this message
Hachmann (marenhachmann) wrote :

Thank you, Patrick.

I was able to solve my immediate need for language statistics by running the corresponding script in the Inkscape master branch directly, so there's no urgency.

It's good though that you've already had time to make a start on this. Thanks!

Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape-docs:
status: New → Fix Released
assignee: nobody → Patrick Storz (ede123)
Revision history for this message
Hachmann (marenhachmann) wrote :

Thank you, Patrick - I'll open a new report for the missing download. Couldn't test this fix due to it yet.

Revision history for this message
Hachmann (marenhachmann) wrote :

Works :D

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.