croot / nekopaw

Automatically exported from code.google.com/p/nekopaw
1 stars 0 forks source link

super-heavy CPU drain and fail to download. #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ive come across a problem... but not sure what's triggering it.
At the moment, I'm getting it with three active tabs; two are bulk-lists for 
Pixiv artists, and one is a bulk-list for DeviantArt artists.

What's happening is that Graber is taking 50% CPU (when it's normally low all 
the time, even with multiple tabs of long listings), and I'm getting a constant 
stream of errors, all the same:
List index out of bounds (-1)
The error is repeated about 15 or so per second (hard to count with it moving 
that fast)
I'm pretty sure that's what is causing the CPU drag, but have no idea what's 
causing it!

Original issue reported on code.google.com by JarieSui...@gmail.com on 8 Sep 2014 at 4:25

GoogleCodeExporter commented 9 years ago
Oh, and never mind the "fail to download" part. After watching it for a while, 
I think the downloads are just happening slowly (due to the CPU lag).

Original comment by JarieSui...@gmail.com on 8 Sep 2014 at 4:26

GoogleCodeExporter commented 9 years ago
Yeah, it's quite a blunder (I meant an "out of bounds" error by itself). But 
hard to localize it. I'll try to find it.

Original comment by catgirlfighter on 9 Sep 2014 at 8:59

GoogleCodeExporter commented 9 years ago
Thanks. I'll let you know if I manage to narrow it down, but not sure how I 
could.

Original comment by JarieSui...@gmail.com on 9 Sep 2014 at 10:16

GoogleCodeExporter commented 9 years ago
Ok, with a few galleries I've gotten, I wonder if I've found it...
It seems to happen when the start of a Pixiv gallery is an Album (not sure if 
it triggers at the start of the album, or at the end of it...)

Original comment by JarieSui...@gmail.com on 15 Sep 2014 at 4:41

GoogleCodeExporter commented 9 years ago
At the same time with you some other people responded with data about that bug 
as well.
Yes, it was happenig in the end of album's download. Fixed it.

Original comment by catgirlfighter on 16 Sep 2014 at 11:08

GoogleCodeExporter commented 9 years ago
Glad that's fixed! But... now I can't seem to download the gallery for any user 
by their UserID? There isn't even an option for it anymore?
I like the option for the New Works and Feed... but I don't have much use for 
them, and have much more need for the ability to download user galleries in a 
list.

Original comment by JarieSui...@gmail.com on 18 Sep 2014 at 1:49

GoogleCodeExporter commented 9 years ago
That is, when I put a User ID into the Tags list, I get an error (example):
19:50:37 pixiv.net: @thread.execute(): 
http://pixiv.net/member_illust.php?id=0&tag=4404716&p=1: HTTP/1.1 404 Not Found

I'm sure the regular one at a time User ID works, but I get so many... the List 
option is really needed.

Original comment by JarieSui...@gmail.com on 18 Sep 2014 at 1:51

GoogleCodeExporter commented 9 years ago
Hah, I wrote in changelog that you may read more in examples. Source selector 
and "use user ID" now different options. So if you uncheck "Use user ID", you 
can use a tag string to input IDs. It was made to remove additional options 
with "id in tags".

Original comment by catgirlfighter on 18 Sep 2014 at 9:52

GoogleCodeExporter commented 9 years ago
Oh, I see. ^_^; I guess I didn't quite understand what that was saying that 
time.
Got it working now! Thanks for clearing that up.

Original comment by JarieSui...@gmail.com on 18 Sep 2014 at 10:13

GoogleCodeExporter commented 9 years ago

Original comment by catgirlfighter on 19 Sep 2014 at 7:26