From: <bac...@li...> - 2008-06-30 16:52:18
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=1110 ====================================================================== Reported By: pletiplot Assigned To: ====================================================================== Project: bacula Issue ID: 1110 Category: Director Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 06-30-2008 10:05 BST Last Modified: 06-30-2008 17:52 BST ====================================================================== Summary: Non english character prevent ClientRun scripts to be run Description: I have set up this in my Windows Job config: ClientRunBeforeJob = "\"C:/Documents and Settings/All Users/Data aplikací/Bacula/scripts/winbackup.bat\" %l" Job returned error: C:/Documents is neither system command nor executable. When I moved my scripts directory to: ClientRunBeforeJob = "\"C:/Documents and Settings/All Users/Programy/Bacula/scripts/winbackup.bat\" %l" everything went OK. I supose Bacula does command cutting wrong, when path contains non english characters. ====================================================================== ---------------------------------------------------------------------- ebollengier - 06-30-08 17:52 ---------------------------------------------------------------------- I suspect that this is a UT8 problem. Bacula uses CreateProcessA (ansi) function when calling bpipe(), and i think that CreateProcessW should be used instead. But i'm not sure that it will not break anything else. I will see that with kern, but the best solution is to avoid accent in script path. Issue History Date Modified Username Field Change ====================================================================== 06-30-08 10:05 pletiplot New Issue 06-30-08 17:52 ebollengier Note Added: 0003432 ====================================================================== |