Nandaka / DanbooruDownloader

*booru image downloader
http://nandaka.devnull.zone/
390 stars 38 forks source link

Tags.xml Updated Successfully for e621.net, But Character, Artist and Copyright Tags Don't Work When Naming Files #85

Closed Gho57X90 closed 7 years ago

Gho57X90 commented 8 years ago

In a past issue that has come up, (I'm having trouble relocating issue submission in question), I recall reading that when the tags like %artist%, %character% and %copyright% are showing up as 'No Artist', 'No Character' and 'No Copyright', it's because the tags.xml for a provider needs to be updated. I've done this before, having the same issue and it has solved it, but now when I do it for e621.net, it still comes up as 'No Artist' etc.

Is there something I've missed, or is this a new bug?

Nandaka commented 8 years ago

can you upload the generated tags.xml? I suspect the contents is empty.

Try to use tags.xml from yande.re

Gho57X90 commented 8 years ago

Here's the files tags.xml, tags-e621 (Furry).xml and tags-e621 (Furry).xml.bak, all last moddified on the 10th of September, 2016. Tags XML Files.zip

I did check the filels myself, and they came up with the exact same code as each other. There's also 820 !TMP files for the tags.xml file in the root directory for my install. As I'm not savvy with how the application updates the tags beyond "it downloads them from X site's tags listing via its API", I'm not sure if it's related or not, but I zipped them up as well for your diagnosis if it's of use. !TMP tags.xml Files.zip

Nandaka commented 8 years ago

For some reason, the tags.xml & tags-e621 (Furry).xml only contains single tag definition (mammals, you can check it using notepad). I'm still not sure why, but for time being, delete those files and use tags.xml from yande.re first.

As for the !tmp file, it can be safely deleted.

Gho57X90 commented 8 years ago

Apologies, but I'm not sure that I understood your instructions clearly.

Did you mean to use the Yande.re tags for e621.net instead, (which to be honest I'm not sure how to configure in that scenario), or did you mean to delete all the tags files and start from scratch with Yande.re first?

Nandaka commented 8 years ago

You can just delete both tags.xml first, then download the one from yande.re. No need to update from e621.

Gho57X90 commented 8 years ago

I deleted the tags.xml and tags.xml.bak, and now it only comes up with this. 2016-09-14_17-48-28

It works again when I restore tags.xml, however.

Edit: Sorry, I just remembered it gives you additional debug info. This is what it said;

Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: DanbooruDownloader3.exe Problem Signature 02: 3.2016.8.16 Problem Signature 03: 57b2beaa Problem Signature 04: DanbooruDownloader3 Problem Signature 05: 3.2016.8.16 Problem Signature 06: 57b2beaa Problem Signature 07: 73 Problem Signature 08: 29 Problem Signature 09: System.IO.FileNotFoundException OS Version: 6.3.9600.2.0.0.256.48 Locale ID: 3081 Additional Information 1: be49 Additional Information 2: be4981b69f46b5c93477ec81c7769732 Additional Information 3: 2392 Additional Information 4: 2392b4f696faa73d180256d06ae0dd29

Nandaka commented 8 years ago

weird, it should show the download tags.xml when you run it. Anyway, try to update the tags.xml after restoring it.