Giter VIP home page Giter VIP logo

Comments (5)

biggestsonicfan avatar biggestsonicfan commented on June 25, 2024 1

Please disregard my previous posts. I think I have an answer. We both made assumptions and I think we were both wrong.

Pixivutil2 actually sorts lists. If my list.txt file contains:

200
4
5
3
1
2

It will process them in the numerical order 1,2,3,4,5,200.

I am now 99% sure that your member id 81858474 was the highest ID on your list if you sort it. Please verify the other member ids on your list that came after this member id and check the logs to see if they were processed.

from pixivutil2.

Napoli0n avatar Napoli0n commented on June 25, 2024 1

Thank you and sorry for the late response. You are correct. Pixivutil2 seems actually to react like I prefer.
I checked it now with shorter lists and different examples.

I wasn't aware, that the list was sorted in the background and therefore when I checked the last view entries in my list against the last console outputs, it looked like it stopped before finishing. To top it off, "81858474" was the highest number in my list, as you suspected, and therefore was processed last, confounding my confusion with the missing user error (from the middle of my list) right before it finished.

from pixivutil2.

biggestsonicfan avatar biggestsonicfan commented on June 25, 2024

This is intended behavior. It should never simply skip a user because they don't exist, PixivUtil2 is trying to tell you there is a problem when there is a problem. The problem is the Pixiv user does not exist. Therefore, the problem lies with your list, not PixivUtil2. Remove the user from the list or double check to ensure you have the correct user ID.

from pixivutil2.

Napoli0n avatar Napoli0n commented on June 25, 2024

I disagree with your view but it's of course a reasonable workaround (for now).
My reasons for the suggested behavior are, that when I want to use a list, I expect the program to download all (available) users in it and not stop at the first problem if it could just have continued.
In my case, I went to sleep, expecting it would download 20 users but when I woke up, I noticed, that it had only done 4 before stopping because of the missing user.
The biggest problem is, that you can't be sure, when a user deletes its profile. This could even happen in the few seconds between creating a new list and starting the download, and there is no reliable way to prevent that.

You can still be notified about the errors at the end of all other downloads, as I suggested. Stopping in between seems not so useful. Especially as it is a catchable "error" and not a real problem within the program.

from pixivutil2.

biggestsonicfan avatar biggestsonicfan commented on June 25, 2024

I'm not sure if you know, but if you choose option 1, and put in a space delimited sentence xxx yyy zzz of users, it works like this:

Input: 1
Member ids: 81858474 33706539
Start Page (default=1):
End Page (default= 0, 0 for no limit):
Including Pixiv Sketch.
Found 2 ids
Member IDs: ['81858474', '33706539']
Processing Member Id: 81858474
Page 1 of 0
Member Url    : https://www.pixiv.net/ajax/user/81858474/profile/all
Member ID (81858474): PixivException(1003 User has left pixiv or the user ID does not exist., hasDumpPage=Y)
User has left pixiv or the user ID does not exist.
Member Url    : https://www.pixiv.net/ajax/user/81858474/profile/all
Member ID: 81858474 is not valid
Processing Member Id: 33706539

The error is there to inform you your list is bad so you can correct it. Otherwise, use option 1.

EDIT: I stand corrected, I can not reproduce this behavior with option 4 either:

Input: 4
Tag :
Include Pixiv Sketch [y/n, default is no]?
Processing from database.
Select only last 7 days.
Found 3 items.
Processing Member Id: 22
Page 1 of 0
Member Url    : https://www.pixiv.net/ajax/user/22/profile/all
Member ID (22): PixivException(1004 No images for Member Id:22, from Bookmark: False, hasDumpPage=Y)
done for member id = 22.

Processing Member Id: 81858474
Page 1 of 0
Member Url    : https://www.pixiv.net/ajax/user/81858474/profile/all
Member ID (81858474): PixivException(1003 User has left pixiv or the user ID does not exist., hasDumpPage=Y)
User has left pixiv or the user ID does not exist.
done for member id = 81858474.

Processing Member Id: 81884444
Page 1 of 0
Member Url    : https://www.pixiv.net/ajax/user/81884444/profile/all
Member ID (81884444): PixivException(1004 No images for Member Id:81884444, from Bookmark: False, hasDumpPage=Y)
done for member id = 81884444.

Unknown errors from previous operation
Member: 81858474 ==> User has left pixiv or the user ID does not exist.
┌──────────────────────────────────────────────────────────┐

Can you paste the contents of your config.ini file without the Authentication portion?

from pixivutil2.

Related Issues (20)

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.