[Bugzilla] [Bug 15469] New: When the doc sources have a path containing "%", buildDoc() fails (tbx_builder_help(), xmltohtml(), xmltojar(), xmltoformat(), tbx_make(., "help")))
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Sat Mar 3 01:45:32 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=15469
--------- Bug Summary -----------
When the doc sources have a path containing "%", buildDoc() fails (tbx_builder_help(), xmltohtml(), xmltojar(), xmltoformat(), tbx_make(.,"help")))
---------- Changed by ------------
sgougeon at free.fr
---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter
Bug ID: 15469
Summary: When the doc sources have a path containing "%",
buildDoc() fails (tbx_builder_help(), xmltohtml(),
xmltojar(), xmltoformat(), tbx_make(.,"help")))
Product: Scilab software
Version: 5.5.2
Hardware: (not used)
OS: All OS
Status: NEW
Severity: Minor
Priority: (field not used)
Component: Documentation system
Assignee: bugzilla.admin at scilab.org
Reporter: sgougeon at free.fr
BUG DESCRIPTION:
----------------
When a help directory that must be built has a path containing a "%", the doc builder buildDoc() fails with the message:
Building the manual file [javaHelp] in C:\%myPath\myDir\help\en_US.
at line 681 of function xmltoformat ( SCI\modules\helptools\macros\xmltoformat.sci line 698 )
at line 17 of function xmltojar ( SCI\modules\helptools\macros\xmltojar.sci line 29 )
at line 51 of function tbx_build_help ( SCI\modules\modules_manager\macros\tbx_build_help.sci line 67 )
at line -10 of executed file C:\%myPath\myDir\help\en_US\build_help.sce
at line 13 of function tbx_builder ( SCI\modules\modules_manager\macros\tbx_builder.sci line 26 )
at line 49 of function tbx_builder_help_lang ( SCI\modules\modules_manager\macros\tbx_builder_help_lang.sci line 64 )
at line -6 of executed file C:\%myPath\myDir\help\builder_help.sce
at line 13 of function tbx_builder ( SCI\modules\modules_manager\macros\tbx_builder.sci line 26 )
at line 36 of function tbx_builder_help ( SCI\modules\modules_manager\macros\tbx_builder_help.sci line 53 )
at line 16 of function main_builder ( C:\%myPath\myDir\builder.sce line 22 )
at line 26 of executed file C:\%myPath\myDir\builder.sce
If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1
When the directory is moved to a path without "%", the builder works correctly without problem.
ERROR LOG:
----------
Please see hereabove
HOW TO REPRODUCE THE BUG:
-------------------------
* Copy a small scilab module to a directory named %tmpDir
* Make this dir your current directory
* Run
tbx_builder_help(".")
OTHER INFORMATION:
------------------
Scilab 6.0.1 / Win7 64 bits
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180303/1b90bd18/attachment.htm>
More information about the Bugzilla
mailing list