Yunqa • The Delphi Inspiration

Delphi Components and Applications

User Tools

Site Tools


wiki:wikitaxi:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:wikitaxi:index [2020/07/19 14:36] – [Frequently Asked Questions] pojiswiki:wikitaxi:index [2020/07/20 13:28] – [WikiTaxi_Importer.exe stops and shows Error: XML Parser Error -1] pojis
Line 5: Line 5:
  
 ===== Frequently Asked Questions ===== ===== Frequently Asked Questions =====
-**Cannot import files** 
  
-It shows:// Error: XML Parser Error -1// while I try to import a xml.bz2 file. And the MD5 of the files is correct. +====WikiTaxi_Importer.exe stops and shows "Error: XML Parser Error -1"====
  
-** What are the WikiTaxi command line parameters? **+There are at least two reasons why this can happen: 
 + 
 +**1.** Wrong input file. Wikipedia offers many different xml.bz2 dump files with different contents. WikiTaxi needs the correct one, and only one of them. The file name must follow this pattern: ''wikiname-yyyymmdd--pages-articles.xml.bz2'' where 
 + 
 +  * ''wikiname'' is the name of the Wiki, i.e. enwiki, dewiki, simplewiki. 
 +  * ''yyyymmdd'' is the export date, like 20200720. 
 + 
 +Examples: 
 + 
 +  * simplewiki-20200701-pages-articles.xml.bz2 
 +  * enwiki-20200701-pages-articles.xml.bz2 
 + 
 +This file is a single file only, not multiple files. Depending on the Wiki, it can be many gigabytes in size. 
 + 
 +**2.** WikiTaxi has not been updated for a long time. It is possible that Wikipedia has since changed the file format of the dump file so WikiTaxi cannot read it anymore. 
 + 
 +The same is true for the Wikipedia syntax. There are new elements which WikiTaxi cannot handle and instead shows them as plain text. 
 + 
 + 
 +Thanks, my previous file is multistream version, and the correct file can be imported easily.  
 + 
 +====What are the WikiTaxi command line parameters?====
  
 WikiTaxi.exe currently takes two command line arguments: WikiTaxi.exe currently takes two command line arguments:
Line 19: Line 39:
   WikiTaxi.exe English.taxi "Albert Einstein"   WikiTaxi.exe English.taxi "Albert Einstein"
  
-**Tutorial:** [[shortcut|How to create a Windows shorcut to open a database automatically?]]+**Tutorial:** [[shortcut|How to create a Windows shortcut to open a database automatically?]]
  
 ===== Batch Importing ===== ===== Batch Importing =====
wiki/wikitaxi/index.txt · Last modified: 2020/08/28 12:51 by 127.0.0.1