Bug #17591 [Opn]: Pyrus: SqlLite3 locked
| From: | warnar at dmmw dot nl | Date: | Wed, 14 Jul 2010 14:22:37 +0000 |
| Subject: | Bug #17591 [Opn]: Pyrus: SqlLite3 locked | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-11960@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17591&edit=1
ID: 17591
Updated by: warnar@dmmw.nl
Reported By: warnar at dmmw dot nl
Summary: Pyrus: SqlLite3 locked
Status: Open
Type: Bug
Package: Documentation
Operating System: Windows 7 x64
PHP Version: 5.3.1
Roadmap Versions:
New Comment:
PHP code:
require_once 'PEAR2\Autoload.php';
\PEAR2\Pyrus\Config::setCurrent('d:/pear/testRepo');
$pkg = new \PEAR2\Pyrus\Package('pear2.php.net/PEAR2_Pyrus-2.0.0a1');
try {
\PEAR2\Pyrus\Installer::begin();
\PEAR2\Pyrus\Installer::prepare($pkg);
\PEAR2\Pyrus\Installer::commit();
} catch(Exception $e) {
\PEAR2\Pyrus\Installer::rollback();
throw $e;
}
Previous Comments:
------------------------------------------------------------------------
[2010-07-14 14:20:20] boekkooi
Description:
------------
When installing a PEAR2_Pyrus using de OOP interface the following
warning is displayed 'Unable to execute statement: database is locked'
I have included a debug_print_backtrace file and the install code.
(Hiope you guys can find the exact point where it go's wrong because i'm
lost)
Test script:
---------------
See attachment.
Expected result:
----------------
No warnings.
Actual result:
--------------
Warning: SQLite3::querySingle(): Unable to execute statement: database
is locked
in D:\pear\repo\php\PEAR2\Pyrus\ChannelRegistry\Sqlite3.php on line
141
Warning: SQLite3::querySingle(): Unable to execute statement: database
is locked
in D:\pear\repo\php\PEAR2\Pyrus\ChannelRegistry\Sqlite3.php on line
146
Warning: SQLite3::querySingle(): Unable to execute statement: database
is locked
in D:\pear\repo\php\PEAR2\Pyrus\ChannelRegistry\Sqlite3.php on line
340
Warning: SQLite3::querySingle(): Unable to execute statement: database
is locked
in D:\pear\repo\php\PEAR2\Pyrus\ChannelRegistry\Sqlite3.php on line 345
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17591&edit=1