[asterisk-bugs] [Asterisk 0016688]: [patch] Console documentation not loaded from XML

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 9 17:55:58 CST 2010


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-24 23:52 CST
Last Modified:              2010-03-09 17:55 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0119199) qwell (administrator) - 2010-03-09 17:55
 https://issues.asterisk.org/view.php?id=16688#c119199 
---------------------------------------------------------------------- 
Duplicate of https://issues.asterisk.org/view.php?id=15402.

Please search for existing issues before creating a new one in the future. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-09 17:55 qwell          Note Added: 0119199                          
2010-03-09 17:55 qwell          Status                   acknowledged => closed
======================================================================




More information about the asterisk-bugs mailing list