Page MenuHomeMiraheze

Importing a dump from Bad TV Channels Wiki to Worst TV Networks Wiki
Closed, InvalidPublic

Description

I am again creating a task about this because this issue is still not fixed. I am having an issue importing a dump file from Bad TV Channels Wiki (badtvchannels.miraheze.org) to Worst TV Networks Wiki (worsttvnetworks.miraheze.org). When I try to import it, it says this:

Capture.PNG (181×672 px, 11 KB)

Event Timeline

We can not import an invalid XML. If it fails for you with that so will it for us as well. The XML is invalid from what I can tell from this screenshot. But you did not provide the XML to take a further look.

Reception123 triaged this task as Normal priority.Aug 23 2022, 08:52
Reception123 added a subscriber: Reception123.

So what should I do?

Check the XML. The message seems to indicate that it's an empty file, so maybe you've got the wrong one? If you're not sure you can upload it here and we can look

What exactly should I check? Should I describe how I uploaded the dump?

What exactly should I check? Should I describe how I uploaded the dump?

No, you need to check the dump itself, the contents of it. But as I said if you don't know how please just upload it here.

How do I do that?

There's the icon with a cloud above this text box where you can upload files to Phabricator.


Here it is.


Here it is.

Hello, that uploaded file is not accessible to us due something with Phabricator, files default to hidden to everyone but the user who uploaded them, can you please grant the view permission? Thanks!

How do I do that?

There should be a button that says attach file or something under the "Referenced Files" section on the sidebar if I remember correctly.

We were able to make the file public using the database directly. I will take a look at the file shortly.

Universal_Omega claimed this task.

You're XML file was indeed invalid.

  1. the file you gave us was a compressed archive that first needs extracted before it can be uploaded.
  2. inside that archive is an XML file (a valid one) with the wrong extension, renaming it to .xml works properly, and is a valid file.

I have also opened https://meta.miraheze.org/wiki/Special:RequestImportDumpQueue/58 for you in order to request this be imported by us, as it is also to large for on-wiki Special:Import to work.

Okay, but how do I fix the first problem in future? I just did what I was told to do.

Okay, but how do I fix the first problem in future? I just did what I was told to do.

Extract the file. It was a valid file, but compressed, and also the inner XML file had the wrong file extension, which was fixed by renaming it.

How do I extract it?

We already imported this one. No need now.

Where and how did you import it? I don't see anything imported.