I had a similar problem --> language customization stopped at 92%
With debug mode developer
Debug info: FEHLER: NULL-Wert in Spalte »original« verletzt Not-Null-Constraint
INSERT INTO mdl_tool_customlang (lang,componentid,stringid,original,master,timemodified,outdated,local,timecustomized) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9) RETURNING id
[array (
'lang' => 'de',
'componentid' => '153',
'stringid' => 'typea',
'original' => NULL,
'master' => NULL,
'timemodified' => 1329419188,
'outdated' => 0,
'local' => NULL,
'timecustomized' => NULL,
)]
Stack trace:
- line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 232 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- line 781 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- line 833 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
- line 190 of /admin/tool/customlang/locallib.php: call to pgsql_native_moodle_database->insert_record()
- line 60 of /admin/tool/customlang/index.php: call to tool_customlang_utils::checkout()
I solved it.
The module 153 is the mrbs module.
solution:
1. I changemod to 0 the lang folder of the mrbs directory
2. I started the Language customization
--> 100%
3. changemod to 755 of the lang folder of the mrbs dirctory
If you don't know the module, you have to do try this with other lang folders in the block or modul folder.
Jürg Hoerner