Bean 模块无法添加数据

当我添加block时出现这样的错误:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 2: INSERT INTO {bean} (vid, delta, label, title, type, view_mode, data) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => test33 [:db_insert_placeholder_2] => test33 [:db_insert_placeholder_3] => test33 [:db_insert_placeholder_4] => home_introduction [:db_insert_placeholder_5] => default [:db_insert_placeholder_6] => a:1:{s:9:"view_mode";s:7:"default";} ) in drupal_write_record() (line 7106 of /var/www/dev/xkzhou/si/includes/common.inc).

Bean Error

Archlinux drush 错误

$ drush
The following restricted PHP modes have non-empty values:            [error]
open_basedir. This configuration is incompatible with drush.  Please
check your configuration settings in /etc/php/php.ini or in your
drush.ini file; see examples/example.drush.ini for details.
file_exists(): open_basedir restriction in effect. File(/etc/drush/drushrc.php) is not within the allowed path(s):                         [warning]
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/pear/drush/:/etc/drush/:/root/) context.inc:150
file_exists(): open_basedir restriction in effect. File(/etc/drush/drush5rc.php) is not within the allowed path(s):                        [warning]
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/pear/drush/:/etc/drush/:/root/) context.inc:150
is_dir(): open_basedir restriction in effect. File(/usr/share/drush/commands) is not within the allowed path(s):                           [warning]
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/pear/drush/:/etc/drush/:/root/) command.inc:1289
Execute a drush command. Run `drush help [command]` to view command-specific help.  Run `drush topic` to read even more documentation.

在Arch Linux中. 安装drush后, 是能正常使用,但是会出现这样的错误

解决办法:
http://drupal.org/node/509506
http://drupal.stackexchange.com/questions/4088/drush-open-basedir-restriction-in-effect-on-media-temple

$cp /etc/php/php.ini ~/.drush/
$vim ~/.bashrc 

//添加
alias drush='/usr/bin/php -c ~/.drush/php.ini /usr/share/pear/drush/drush.php'

//编辑你copy的php.ini
$vim ~/.drush/php.ini

//将open_basedir 设置为空
open_basedir =