Comments (8)
There was a breaking change made in szurubooru, It's probably fixed in this fork.
I haven't touched this project in a long while but maybe I'll come back to it.
from szurubooru-auto-tagger.
I've copied the changes from that fork which should fix this. That said though I'll be rewriting this project soon which will likely be a breaking change.
from szurubooru-auto-tagger.
Thank you for looking into it for me. I built the jar with the updates and I still get the same error when trying to use danbooru authed, but now unauthed its giving me the following:
Exception in thread "main" java.lang.ClassCastException: java.util.HashMap cannot be cast to com.kotcrab.szurubooru.tagger.RemapDto
at com.kotcrab.szurubooru.tagger.AutoTagger.remapTagCategory(AutoTagger.kt:557)
at com.kotcrab.szurubooru.tagger.AutoTagger.(AutoTagger.kt:73)
at com.kotcrab.szurubooru.tagger.MainKt.main(Main.kt:55)
I tired to make sense of it, but I just don't know anything about Kotlin. If this isn't a trivial problem I wouldn't worry about it since you are planning on rewriting anyway.
from szurubooru-auto-tagger.
You should remove remapCategories
section from the config. It's not deserialized correctly (it's a bug in auto-tagger).
from szurubooru-auto-tagger.
Well, that did help getting further into the program, but now I get the SSLHandshakeException upon every iteration going through the tags, even when I have anonymous set to true in the conifg. I even tried to manually add the danbooru cert into java but that didn't help either.
from szurubooru-auto-tagger.
I'd need to see the full stack trace but I just noticed in your first comment you're getting SSLHandshakeException
in the Danbooru.isAuthorized
this is weird. Even with wrong credentials you would get error 401. This suggests something is wrong with your Java installation / certificate store. Try using OpenJDK 11 from https://adoptopenjdk.net/ (I know readme calls for Java 8 - it's old...)
from szurubooru-auto-tagger.
OpenJDK did it, everything seems to be working now. Thank you so much for the help!
from szurubooru-auto-tagger.
Great, I've updated the readme. I'm closing this, the issue with categories remap will be addressed in the rewrite.
from szurubooru-auto-tagger.
Related Issues (12)
- Better Jsoup error handling
- Obtain post notes
- Limit number of request made
- Additional invocation options
- Recover from timed out errors
- Convert notes HTML to Markdown
- Extract tag wiki HOT 1
- Add batch downloader
- Use post source for faster lookup
- Notify user when bigger version of image was found
- Java heap out of memory error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from szurubooru-auto-tagger.