https://bugzilla.wikimedia.org/show_bug.cgi?id=42093

       Web browser: ---
             Bug #: 42093
           Summary: importDump.php dies with status 1 for sqlite
           Product: MediaWiki
           Version: 1.21-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Attempted to import a dump of uncyclopedia into a clean install (via git) using
sqlite:

$ nice -10 time php maintenance/importDump.php
/home/amgine/Downloads/pages_full.xml.gz
A database error has occurred.  Did you forget to run maintenance/update.php
after upgrading?  See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: INSERT OR IGNORE INTO page
(page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest,page_len)
VALUES
(NULL,'4','Upload_log','0','','0','1','0.727702939800','20121114033246','0','0')
Function: WikiPage::insertOn/single-row
Error: 8 attempt to write a readonly database

Command exited with non-zero status 1


I've dumped the LocalSettings.php and reinstalled with MySQL, and restarted the
import, am crossing fingers, knocking on wood, and will likely sacrifice a
virgin (kitten) if it's still running in the a.m.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to