#48979 [NEW]: pear2\Pyrus\XMLParser\Exception: Invalid XML document in phar
| From: | troelskn at gmail dot com | Date: | Sun, 19 Jul 2009 22:03:10 +0000 |
| Subject: | #48979 [NEW]: pear2\Pyrus\XMLParser\Exception: Invalid XML document in phar | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-139933@lists.php.net to get a copy of this message | ||
From: troelskn at gmail dot com
Operating system: linux
PHP version: 5.3.0
PHP Bug Type: Unknown/Other Function
Bug description: pear2\Pyrus\XMLParser\Exception: Invalid XML document in phar
Description:
------------
I have the current version of pyrus from
http://svn.pear.php.net/PEAR2/all
When I run pyrus.phar, I get an error.
Reproduce code:
---------------
tkn@tkn-laptop ~ $ /usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar
Pyrus version 2.0.0a1 SHA-1: C9AA2DD926908265A2A5AE96542E9E0CD1071F81
Using PEAR installation found at /home/tkn/pyrus
Unable to add all custom roles/tasks/commands:
pear2\Pyrus\XMLParser\Exception: Invalid XML document in
phar:///usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/XMLParser.php
on line 80
pear2\Pyrus\XMLParser\Exception: Line 1: Extra content at the end of the
document
in
phar:///usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/XMLParser.php
on line 80
#0
phar:///usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/XMLParser.php(80):
pear2\Pyrus\XMLParser->_parse('/home/tkn/.pear...', 'phar:///usr/loc...',
true)
#1
phar:///usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/PluginRegistry.php(92):
pear2\Pyrus\XMLParser->parse('/home/tkn/.pear...', 'phar:///usr/loc...')
#2
phar:///usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/ScriptFrontend/Commands.php(246):
pear2\Pyrus\PluginRegistry->scan()
#3 /usr/local/src/pear2-svn/PEAR2/Pyrus/pyrus.phar(37):
pear2\Pyrus\ScriptFrontend\Commands->run(Array)
#4 {main}
Pyrus, the installer for PEAR2
Usage:
php pyrus [/path/to/pear] [options]
php pyrus [/path/to/pear] [options] <command> [options] [args]
...snip...
--
Edit bug report at http://bugs.php.net/?id=48979&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48979&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48979&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48979&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=48979&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=48979&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48979&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48979&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48979&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48979&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48979&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48979&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48979&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48979&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48979&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48979&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48979&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48979&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48979&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48979&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48979&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48979&r=mysqlcfg