Bug 32584 - Can't update po files on master, because of missing UNIMARC files
Summary: Can't update po files on master, because of missing UNIMARC files
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 22:43 UTC by Katrin Fischer
Modified: 2023-02-20 23:18 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-01-06 22:43:10 UTC
When following the instructions on https://wiki.koha-community.org/wiki/Translating_Koha#Updating_the_po_files_in_your_installation you currently have 2 errors running gulp po:update:

[22:41:06] Error: File not found with singular glob: /kohadevbox/koha/misc/translator/po/si-installer-UNIMARC.po (if this was purposeful, use `allowEmpty` option)
    at Glob.<anonymous> (/kohadevbox/koha/node_modules/glob-stream/readable.js:84:17)
    at Object.onceWrapper (events.js:520:26)
    at Glob.emit (events.js:400:28)
    at Glob.emit (domain.js:475:12)
    at Glob._finish (/kohadevbox/koha/node_modules/glob/glob.js:197:8)
    at done (/kohadevbox/koha/node_modules/glob/glob.js:182:14)
    at Glob._processSimple2 (/kohadevbox/koha/node_modules/glob/glob.js:688:12)
    at /kohadevbox/koha/node_modules/glob/glob.js:676:10
    at Glob._stat2 (/kohadevbox/koha/node_modules/glob/glob.js:772:12)
    at lstatcb_ (/kohadevbox/koha/node_modules/glob/glob.js:764:12)

When you create the file, you notice a second file missing:

[22:42:33] 'po_update_installer_unimarc' errored after 85 ms
[22:42:33] Error: File not found with singular glob: /kohadevbox/koha/misc/translator/po/tk-installer-UNIMARC.po (if this was purposeful, use `allowEmpty` option)
    at Glob.<anonymous> (/kohadevbox/koha/node_modules/glob-stream/readable.js:84:17)
    at Object.onceWrapper (events.js:520:26)
    at Glob.emit (events.js:400:28)
    at Glob.emit (domain.js:475:12)
    at Glob._finish (/kohadevbox/koha/node_modules/glob/glob.js:197:8)
    at done (/kohadevbox/koha/node_modules/glob/glob.js:182:14)
    at Glob._processSimple2 (/kohadevbox/koha/node_modules/glob/glob.js:688:12)
    at /kohadevbox/koha/node_modules/glob/glob.js:676:10
    at Glob._stat2 (/kohadevbox/koha/node_modules/glob/glob.js:772:12)
    at lstatcb_ (/kohadevbox/koha/node_modules/glob/glob.js:764:12)
[22:42:33] 'po:update' errored after 1.63 s

This hinders testing, but I also wonder why we are missing the files?
Comment 1 Frédéric Demians 2023-01-07 11:13:08 UTC
I confirm that those 2 files are missing:

misc/translator/po/si-installer-UNIMARC.po
misc/translator/po/tk-installer-UNIMARC.po