[asterisk-bugs] [Asterisk 0016688]: [patch] Console documentation not loaded from XML
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 2 20:41:31 CST 2010
The following issue has been set as DUPLICATE OF issue 0015402.
======================================================================
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: acknowledged
Target Version: 1.6.1.18
Asterisk Version: SVN
JIRA: SWP-792
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-03-02 20:41 CST
======================================================================
Summary: [patch] 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.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0015402 [patch] Cannot find XML documentation u...
related to 0016689 [patch] Crash in res_agi when trying to...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-03-02 20:41 snuffy Relationship added duplicate of 0015402
======================================================================
More information about the asterisk-bugs
mailing list