[asterisk-bugs] [Asterisk 0016688]: Console documentation not loaded from XML
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Jan 24 23:52:03 CST 2010
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=16688
======================================================================
Reported By: bklang
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16688
Category: Core/PBX
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2
SVN Revision (number only!): 242606
Request Review:
======================================================================
Date Submitted: 2010-01-24 23:52 CST
Last Modified: 2010-01-24 23:52 CST
======================================================================
Summary: Console documentation not loaded from XML
Description:
On a fresh install of Asterisk I was unable to load the console
documentation from the core-en_US.xml file. This results in CLI commands
such as "core show application Dial" displaying error messages.
I noticed the following log messages when starting asterisk:
I/O warning : failed to load external entity
"/var/opt/asterisk/documentation{/thirdparty/,/}*-{en_US,en_??,en_US}.xml"
[Jan 25 00:21:54] ERROR[2951]: xmldoc.c:1830
ast_xmldoc_load_documentation: Could not open XML documentation at
'/var/opt/asterisk/documentation{/thirdparty/,/}*-{en_US,en_??,en_US}.xml'
The first line (without the timestamp) comes from libxml2. The second
line (beginning with ERROR[2951]) is from main/xmldoc.c.
The problem appears to be that the preceding glob() call around line 1801
is not actually expanding the list of possible files. This results in the
glob string itself being passed as the filename back to libxml2 and no XML
documentation is loaded.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-01-24 23:52 bklang New Issue
2010-01-24 23:52 bklang Asterisk Version => SVN
2010-01-24 23:52 bklang Regression => No
2010-01-24 23:52 bklang SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.2
2010-01-24 23:52 bklang SVN Revision (number only!) => 242606
======================================================================
More information about the asterisk-bugs
mailing list