[Bug 34915] New: how-to.pl/tt blocks translation script
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 Bug ID: 34915 Summary: how-to.pl/tt blocks translation script Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz Created attachment 156223 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156223&action=edit Screenshot of the error in a terminal window I'm putting this here, I don't know if this is a "just me" problem or if it's a larger one. I've only recently started using KTD so I might not be using it correctly. I'm more used to using the git installation. When I do `ktd up` it adds "how-to" files in my koha git directory. When I do `ktd down` those files are not removed. Normally, I don't think I would mind, but the translation update script doesn't like those files at all. To recreate: 1. ktd up 2. ktd down 3. In the git directory, run `gulp po:update --lang fr-CA` --> Error [09:20:40] 'po_extract_messages' errored after 2.17 s [09:20:40] Error: ENOENT: no such file or directory, stat '[...]how-to.pl' [09:20:40] 'po:update' errored after 2.18 s I added a screenshot of what it looks like in my terminal. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Hum, sorry but I don't have a good solution here. I've tried hard to exclude this file from the script, but failed... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I'll make myself an alias to run after `ktd down`. So should I close this bug, or you want to keep it open? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 --- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- in case anyone needs it, I added this to ~/.bash_aliases alias rmhowto='rm -rf $KOHA_PATH/how-to.pl && rm -rf $KOHA_PATH/koha-tmpl/intranet-tmpl/prog/en/modules/how-to.tt' I don't know if it would work in any environment, but this works for me. To be run after `ktd down` -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- This may be a solution: https://stackoverflow.com/questions/41451159/how-to-execute-a-script-when-i-... And it will need to be done in ktd. I would open an issue there. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 --- Comment #5 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- https://gitlab.com/koha-community/koha-testing-docker/-/issues/401 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34915 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org