【发布时间】:2016-01-14 10:45:58
【问题描述】:
我从 perl 开始,想在 Ubuntu 14.04 上安装 IDE Padre。
The answers in this question表示我可以简单地使用apt-get:
sudo apt-get install padre
我也尝试安装它:
sudo cpan Padre
如here所示。
但是,当我运行 padre 时,它给了我以下错误:
DBD::SQLite::db selectall_arrayref failed: attempt to write a readonly database at (eval 1905) line 41.
Perl exited with active threads:
1 running and unjoined
0 finished and unjoined
0 running and detached
当我以 root (sudo padre) 运行它时:
DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at (eval 1905) line 37.
Perl exited with active threads:
1 running and unjoined
0 finished and unjoined
0 running and detached
padre --version 显示:Perl Application Development and Refactoring Environment 1.00,而我的 perl 版本是 5.18.2。
在/usr/bin/padre 脚本中,我没有看到对 SQLite 数据库的任何引用。有谁知道我该如何解决这个问题?
【问题讨论】:
标签: perl sqlite ubuntu-14.04 padre