You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many thanks again for all your great work with Wikipedia dumpster-dive !
While working to update my previous download of Wikipedia articles, I encountered a "TypeError: Cannot read properties of undefined (reading '0')" error message that occurs on a frequent basis.
The following is a snippet of example output that is printed to the terminal output:
---Error on "Marlon Brando"
TypeError: Cannot read properties of undefined (reading '0')
at Object.blockquote (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:6225:41)
at parseTemplate (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7375:34)
at parseNested (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7651:26)
at /usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:30
at Array.forEach ()
at allTemplates (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:12)
at process (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7683:26)
at new Section (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8095:7)
at parseSections (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8681:21)
at new Document (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8776:24)
─── worker #3 ───:
+109,000 pages
-168,559 redirects
-5,436 disambig
0 ns #2 +500 pages - 327ms - "Yu Lan" #1 +500 pages - 388ms - "Rosanna Cabot"
#0 +500 pages - 1s - "Myasthenia gravis" #3 +500 pages - 281ms - "Rohan Rangarajan"
---Error on "Messerschmitt Me 262"
TypeError: Cannot read properties of undefined (reading '0')
at Object.blockquote (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:6225:41)
at parseTemplate (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7375:34)
at parseNested (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7651:26)
at /usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:30
at Array.forEach ()
at allTemplates (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:12)
at process (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7683:26)
at new Section (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8095:7)
at parseSections (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8681:21)
at new Document (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8776:24)
─── worker #0 ───:
+112,500 pages
-177,470 redirects
-5,613 disambig
0 ns
─── worker #1 ───:
+112,500 pages
-177,608 redirects
-5,621 disambig
0 ns
─── worker #2 ───:
+112,500 pages
-177,616 redirects
-5,621 disambig
0 ns
Many thanks for the quick turnaround on this ... The updated library appears to have fixed the error messages and the new install of dumpster-dive has already worked through 5.9M+ articles with no errors reported !
My thinking is that I may rerun with all of the options activated: "dumpster ./my-wiki-dump.xml --infoboxes=true --citations=true --categories=true --links=true"
If possible, would be nice to also include all the templates (i.e. "--templates=true") or at least the navigation boxes (i.e. "--navboxes")
Please let me know if these additional options may be available as command-line arguments/options.
Many thanks again for all your great work with Wikipedia dumpster-dive !
While working to update my previous download of Wikipedia articles, I encountered a "TypeError: Cannot read properties of undefined (reading '0')" error message that occurs on a frequent basis.
The following is a snippet of example output that is printed to the terminal output:
---Error on "Marlon Brando"
TypeError: Cannot read properties of undefined (reading '0')
at Object.blockquote (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:6225:41)
at parseTemplate (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7375:34)
at parseNested (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7651:26)
at /usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:30
at Array.forEach ()
at allTemplates (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:12)
at process (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7683:26)
at new Section (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8095:7)
at parseSections (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8681:21)
at new Document (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8776:24)
─── worker #3 ───:
+109,000 pages
-168,559 redirects
-5,436 disambig
0 ns
#2 +500 pages - 327ms - "Yu Lan"
#1 +500 pages - 388ms - "Rosanna Cabot"
#0 +500 pages - 1s - "Myasthenia gravis"
#3 +500 pages - 281ms - "Rohan Rangarajan"
#1 +500 pages - 389ms - "Northern Ireland Schools Debating Competition"
#3 +500 pages - 374ms - "Dolno Konjari"
#2 +500 pages - 357ms - "Chapman Taylor"
---Error on "Messerschmitt Me 262"
TypeError: Cannot read properties of undefined (reading '0')
at Object.blockquote (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:6225:41)
at parseTemplate (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7375:34)
at parseNested (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7651:26)
at /usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:30
at Array.forEach ()
at allTemplates (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7672:12)
at process (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:7683:26)
at new Section (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8095:7)
at parseSections (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8681:21)
at new Document (/usr/lib/node_modules/dumpster-dive/node_modules/wtf_wikipedia/builds/wtf_wikipedia.cjs:8776:24)
─── worker #0 ───:
+112,500 pages
-177,470 redirects
-5,613 disambig
0 ns
─── worker #1 ───:
+112,500 pages
-177,608 redirects
-5,621 disambig
0 ns
─── worker #2 ───:
+112,500 pages
-177,616 redirects
-5,621 disambig
0 ns
#1 +500 pages - 322ms - "Louis Secretan"
─── worker #3 ───:
+113,000 pages
-177,895 redirects
-5,632 disambig
Please let me know if there may be a configuration issue for my download.
Greatly appreciate your help in tracking down this issue.
The text was updated successfully, but these errors were encountered: