Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daylastupdated error #1381

Open
Unknown7001 opened this issue Oct 14, 2024 · 5 comments
Open

daylastupdated error #1381

Unknown7001 opened this issue Oct 14, 2024 · 5 comments

Comments

@Unknown7001
Copy link

When i set daylastupdated = 0

I get this error:

"
Processing from database.
Error at selectAllMember(): (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'strip'"), <traceback object at 0x0000019985599E80>)
failed
Error at process_list(): (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'strip'"), <traceback object at 0x0000019985599F80>)
Failed
Traceback (most recent call last):
File "PixivUtil2.py", line 1745, in main
File "PixivUtil2.py", line 1414, in main_loop
File "PixivUtil2.py", line 498, in menu_download_from_list
File "PixivListHandler.py", line 22, in process_list
File "PixivDBManager.py", line 469, in selectAllMember
File "PixivListItem.py", line 19, in init
AttributeError: 'NoneType' object has no attribute 'strip'
Unknown Error, please check the log file: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'strip'"), <traceback object at 0x000001998559A080>)
press enter to exit.
"

Thank you

@biggestsonicfan
Copy link
Contributor

What are you hoping to accomplish by setting daylastupdated to 0?

@Unknown7001
Copy link
Author

What are you hoping to accomplish by setting daylastupdated to 0?

I want to be able to update all the pixiv members to the latest post at any time.

@biggestsonicfan
Copy link
Contributor

It looks like the error is hitting here:

self.path = path.strip()

Is your dbPath set correctly?

@Unknown7001
Copy link
Author

I didnt set anything for dbPath. Its still the default setting

dbPath =

@biggestsonicfan
Copy link
Contributor

daylastupdated is not when the Pixiv artist last updated, but when you last attempted to downloaded from the artist. To do this, it checks the database to see when you last downloaded an image from that person. Without a database, you can not use daylastupdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants