Last modified: 2013-05-25 21:56:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40793, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38793 - importDump.php: Oracle DB error "quoted string not properly terminated" after several hours
importDump.php: Oracle DB error "quoted string not properly terminated" after...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.19
PC Linux
: Normal blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks: oracle
  Show dependency treegraph
 
Reported: 2012-07-29 15:40 UTC by Steve
Modified: 2013-05-25 21:56 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Steve 2012-07-29 15:40:39 UTC
Error Message ORA-01756: quoted string not properly terminated is thrown after several hours of errorfree processing of the Wikipedia XML Dump.

The last DB query was 

SELECT /* LinkCache::addLinkObj 127.0.0.1 */ * FROM (SELECT  page_id,page_len,page_is_redirect,page_latest  FROM /*Q*/PAGE  WHERE page_namespace = '0' AND page_title = 'Diné_Bahaneʼ' ) WHERE rownum >= (1 + 0) AND rownum < (1 + 1 + 0)
Comment 1 Platonides 2012-07-29 15:42:35 UTC
The query looks good. I wonder if he doesn't like the quoted utf-8 characters.
Comment 2 Steve 2012-07-31 17:39:16 UTC
After switching the DB Charset to UTF-8 i cannot complete the setup process:

Creating main page with default content... failed
Information

Could not insert main page: ORA-02091: transaction rolled back ORA-02291: integrity constraint (MEDIAWIKI.REVISION_FK2) violated - parent key not found
Comment 3 Andre Klapper 2013-02-26 04:39:18 UTC
Steve: Which exact MediaWiki version is this about, and is this still a problem?
Comment 4 Jure Kajzer 2013-05-25 21:56:33 UTC
I'm closing this one ... the database charset setting is only the internal default (for internal sessions i.e triggers, jobs, aq) how the data is stored and retrieved depends on client NLS settings (which in MW is hardcoded to AL32UTF8).

There could be a php/oci problem ... i've heard (never actualy hit that problem) that sometimes the driver can't handle the fact that the database and client are not using the same NLS setting, but i couldn't reproduce it. 

In case you (Steve) still have there this problem, please free to reopen it or contact me directly.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links