Giter Site home page Giter Site logo

mupl's People

Contributors

alex-eliot avatar antsylich avatar ardaxhz avatar kouyo-quotient avatar lvl1scans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mupl's Issues

Expired token check failing

Hey,

In oauth.py at line 135, a check for null is missing on the token argument, resulting in a crash when trying to split it. Happens on first run/when .mdauth doesn't exist.

Error while uploading

Hello, I'm not sure if there is a solution or a workaround on this error, but I got an error saying that the images were too large and the uploader stopped. I thought that the uploader had the same factions as the uploader on the mDex site so I just went ahead and used it without asking.

The exact error I got is:
image

OS: Window 10
Python Version: 3.11

"Logged in." but "Error: 401: User not found"

Manga id: √, chapter: 2, volume: None, title: None, language: zh-hk, groups: ['√'], publish on: None.
Logged in.
Created upload session: √.
31 images to upload.
Uploading images 1 to 10.
Success: Uploaded page 01.png, size: 1445060 bytes.
……
Uploading images 11 to 20.
Success: Uploaded page 11.jpg, size: 1356547 bytes.
……
Uploading images 21 to 30.
Success: Uploaded page 21.jpg, size: 1056374 bytes.
……
Uploading images 31 to 31.
Error: 401: User not found
Error: 401: User not found
Error: 401: User not found

Deleting draft due to failed image upload: √
Failed uploads:
Folder: √

Name format check fails with decimal chapter number

It appears that if two numbers are input after the period, the format check fails and the chapter will not be uploaded, despite the API accepting more than one number after the period.

Format check fails
image

Format check succeeds
image

UnicodeDecodeError when loading name_id_map.json

Hey,

I had a problem with loading the name_id_map.json because of some unicode characters not being properly decoded. I was working with spanish releases so it contained a few spanish accents.

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 2556: character maps to <undefined>

My file seemed properly encoded so I figured the issue was in the script. Specifying the encoding when opening the file solved the issue for me. Line 26 :

files_path.joinpath(config["Paths"]["name_id_map_file"]), "r", encoding="utf8"

(I couldn't be bothered to make a pull request for this.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.