Welcome, Guest
Python Scripts for ComicRack

TOPIC: Scan Information from Filename

Re: Scan Information from Filename 5 years 11 months ago #18378

  • Helmic
  • Helmic's Avatar
  • Offline
  • Expert Boarder
  • (Don't be) That guy
  • Posts: 150
  • Thank you received: 82
  • Karma: 52
Remember to let us know if it fails to grab the scanner name, or grabs a scanner name when there is no scanner, no matter how insignificant you think it is. Every little bit helps.
Request webcomics on IRC: http://widget.mibbit.com/?server=irc.rizon.net&channel=%23comicrack
server: irc.rizon.net
channel: #comicrack
Or in the webcomics subforum: http://comicrack.cyolito.com/forum/22-web-comics
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19041

Only trouble I'm running into is batch information grabs. Previous to .5? I think, I could grab the whole collection to test stuff and it would take a bit longer, but grab the names. Now it only allows a certain amount of files to be scanned. I haven't done extensive testing, but it seems that when I attempt to grab more than a screen's worth of comics, it crashes comicrack.

Trying to help.
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19042

  • Helmic
  • Helmic's Avatar
  • Offline
  • Expert Boarder
  • (Don't be) That guy
  • Posts: 150
  • Thank you received: 82
  • Karma: 52
That's odd. Can you try running ComicRack with the scripting console open and trying it?

Easiest way is to create a shorcut to ComicRack, go to Properties, and add -ssc to the end of the filepath, outside of the quotation marks. I don't have a large collection to test that out on, but according to Stonepaw he can handle large lists just fine.

If you can post the filenames themselves, that'd be the most useful, as I can use that to figure out if the regex being used is what's causing it to screw up.
Request webcomics on IRC: http://widget.mibbit.com/?server=irc.rizon.net&channel=%23comicrack
server: irc.rizon.net
channel: #comicrack
Or in the webcomics subforum: http://comicrack.cyolito.com/forum/22-web-comics
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19043

I can sometimes get it to work when I select around 40+ titles then selecting all.
If I select all first, it crashes. Same when I use the -ssc.

I've tried with various filenames, but the above results are from comics without scanner names, as I've already scanned then moved.

I think it has something to do with the last 2 versions because never crashed previously.

However, I do have comicrack pause/fail constantly when I try to open a comic. It could be linked even though the crash didn't happen before.

Also of note, my comics are on another hard drive.
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19059

  • Helmic
  • Helmic's Avatar
  • Offline
  • Expert Boarder
  • (Don't be) That guy
  • Posts: 150
  • Thank you received: 82
  • Karma: 52
It sorta sounds like something may be up with the API, but that's not really enough information to work with.

When you get a chance, hop on IRC (click the first link in my signature or use whatever client you'd like). Don't be discouraged if it looks like no-one's there, if you say someone's exact name it'll cause their client to beep letting them know someone wants to talk. Either myself or Stonepaw should be able to help you. Bugfixing's a helluva lot easier when we can have a real-time conversation.

What I was wanting you to do is copy the output from the scripting console that should have popped up alongside ComicRack, but according to Stonepaw it doesn't print anything that'd be useful for our current predicament.

IIRC, not much actually changed from .5 to .6. The regex was adjusted very slightly to account for a couple issues regarding underscores, months were added to the blacklist, I'm assuming you haven't added anything to the user blacklist, and there's checks to make sure it's not picking up any pre-existing metadata or part of a series title. I don't know what about any of that would cause the behavior you're describing.

Is 40 the exact number that can fit on a screen, and as soon as you go one over a screenfull it gets fussy? If the number that can fit on a screen is variable, does it work JUST so long that everything fits on the same screen?

If you can, it'd be really helpful if you could grab the filenames you're working with; if you hop on IRC, Stonepaw can give you a script to quickly grab them all and save the list as a .TXT. If I have that, I can figure out whether or not optimizing the regex will fix this.
Request webcomics on IRC: http://widget.mibbit.com/?server=irc.rizon.net&channel=%23comicrack
server: irc.rizon.net
channel: #comicrack
Or in the webcomics subforum: http://comicrack.cyolito.com/forum/22-web-comics
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19074

Ok, when I have time later today, I'll hop on that. Yeah. 05 and .06 have had the same problem. The one before didn't. When running -ssc, if it crashed, the scripting interface crashed too, so no copying.
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19183

  • Helmic
  • Helmic's Avatar
  • Offline
  • Expert Boarder
  • (Don't be) That guy
  • Posts: 150
  • Thank you received: 82
  • Karma: 52
Hmm. I've tried the script with just under 200 files, and it grabbed all the scanner names in less than a split-second. No slowdowns, hangups, or crashes.

I know this will be a pain, but could you try using a different version of ComicRack? If you're not using the latest version, go ahead and try updating. If you're already using the latest version, try using the version you were using before you started having problems with the script - or ComicRack in general. It seems to me that CR's not playing nice with your system for some reason, and that's spilling over into the script's behavior.

Hop on IRC sometime, make sure we can recognize you. Remember to say someone's name to get their attention.
Request webcomics on IRC: http://widget.mibbit.com/?server=irc.rizon.net&channel=%23comicrack
server: irc.rizon.net
channel: #comicrack
Or in the webcomics subforum: http://comicrack.cyolito.com/forum/22-web-comics
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19188

Yes, it's the latest version. I selected the first 125 files and tried it, it still crashes. 100 and it seems fine.
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19265

  • Helmic
  • Helmic's Avatar
  • Offline
  • Expert Boarder
  • (Don't be) That guy
  • Posts: 150
  • Thank you received: 82
  • Karma: 52
rickstaman05 wrote:
Yes, it's the latest version. I selected the first 125 files and tried it, it still crashes. 100 and it seems fine.

Before you said it was whenever you tried 40+ files. Are you sure the number of files is the real factor?

What OS are you using, by the way? It seems people using Windows 7 64 bit are having performance issues, including myself. Any other system specs would be appreciated as well.
Request webcomics on IRC: http://widget.mibbit.com/?server=irc.rizon.net&channel=%23comicrack
server: irc.rizon.net
channel: #comicrack
Or in the webcomics subforum: http://comicrack.cyolito.com/forum/22-web-comics
Last Edit: 5 years 11 months ago by Helmic.
The administrator has disabled public write access.

Re: Scan Information from Filename 5 years 11 months ago #19267

The 40+ thing was a testing, not crashing. So when I collected around 40 plus and scanned, it worked and allowed me to select all and scan. Just describing a behavior. If I didn't select the 40 plus first, I couldn't scan the whole collection.

After further refining, I find that this behavior works starting with 100 as well. I scan a hundred then full collection and it works. Starting with full collection doesn't. I tried scanning only the comics between 100 and 125 and it worked fine, so not the filenames.

Windows 7 premium 64. Intel i7 3.2 GHz, 12GB RAM, Radeon HD 5570.
The administrator has disabled public write access.
Time to create page: 0.354 seconds

Who's Online

We have 165 guests and 3 members online