Welcome, Guest
Try to get help from other ComicRack users

TOPIC: Help with books showing red X's

Help with books showing red X's 7 years 5 months ago #22616

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 92
  • Thank you received: 5
  • Karma: 1
Maybe this has been asked and answered so forgive me if it has...

Is there a way to create a (smart)list of books with the red X's ???:huh:

Sometimes it happens that CR cannot display a book because there is something wrong with thr archive.
(The usual way to correct this is to repack thr archive).

It would help me a lot if I could search through my library in one go and see which books have a problem with displaying so I can correct them.

Anyone has a suggestion??

Cheers !!!:laugh:
The administrator has disabled public write access.

Re: Help with books showing red X's 7 years 5 months ago #22617

  • JamesBolivar
  • JamesBolivar's Avatar
  • Offline
  • Junior Boarder
  • Posts: 29
  • Thank you received: 2
  • Karma: 1
This works for me:
<?xml version="1.0"?>
<ReadingList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>Unreadable</Name>
  <Books />
  <Matchers>
    <ComicBookMatcher xsi:type="ComicBookPageCountMatcher" MatchOperator="2">
      <MatchValue>1</MatchValue>
    </ComicBookMatcher>
  </Matchers>
</ReadingList>
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: 600WPMPO

Re: Help with books showing red X's 7 years 5 months ago #22619

  • forkicks
  • forkicks's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 873
  • Thank you received: 119
  • Karma: 37
I didn't reply to this thread because there isn't at the moment a reliable way to do this other than converting your WHOLE collection and looking at the conversion log.

The smart list that James posted will only get you books that are totally unreadable. (Also, it should be pages = 0, not 1, although you'll have to skip fileless entries).

Archives can be broken in more than one way. They can be totally unreadable, and they will be picked up by James' smart list, or they can just have broken image files inside, and they will not be detected. What would be interesting would be if there was a smart list operator like "Reported files" that returned the number of files the zip archive header lists and which we could then compare to "page count". If they are not the same, the file is broken.

Or a "Test file" operation that zip tests the files and reports any problems. Other than that, i haven't found a way to reliably do this from inside comicrack.

Outside comicrack, you can go to the base folder for your collection, search for all *.cb* files, select them all, and right click, and using winrar or 7-zip, select "Test files". It will take a while.

fK
The administrator has disabled public write access.

Re: Help with books showing red X's 7 years 5 months ago #22621

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 92
  • Thank you received: 5
  • Karma: 1
Thanks James for providing the smartlist !!
It helps in part as explained by forkicks so it solves at least a part of my problem.

Forkicks, thanks for your explanation. I'll look into ways outside CR through winrar.
The administrator has disabled public write access.

Re: Help with books showing red X's 7 years 5 months ago #22622

  • JamesBolivar
  • JamesBolivar's Avatar
  • Offline
  • Junior Boarder
  • Posts: 29
  • Thank you received: 2
  • Karma: 1
In my collection there are some pdfs that can't be read for unknown reasons. They can be read using Foxit or CdisplayEx, but not using CR or Irfanview which both use Ghostscript.
The administrator has disabled public write access.

Re: Help with books showing red X's 7 years 5 months ago #22623

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 601
  • Karma: 235
I think malor89's perl scripts will help here: testarchives.pl

File Attachment:

File Name: testarchives.zip
File Size:1 KB


Here is the description:
testarchives.pl
- Tests all the archives of the matching file types in the current directory and subdirectories.
- The results are saved in a text file named "corrupt.txt".
- If there is a directory named "corrupt" in the current directory, archives with errors will be moved to it.

Note: 7-Zip must be installed for this script to work.
The path to 7z.exe can be set in the script if the default isn't correct.
The script is initially set to only check cbz, cbr, and cb7, but it would work equally well on standard zip, rar or whatever other archive types 7-Zip supports.
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.
The following user(s) said Thank You: forkicks, oraclexview

Re: Help with books showing red X's 7 years 5 months ago #22625

  • forkicks
  • forkicks's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 873
  • Thank you received: 119
  • Karma: 37
Thanks, this should be handy.

fK
The administrator has disabled public write access.

Re: Help with books showing red X's 7 years 5 months ago #22633

  • oraclexview
  • oraclexview's Avatar
  • Offline
  • Moderator
  • aka SoundWave
  • Posts: 919
  • Thank you received: 206
  • Karma: 38
@600WPMPO - thanks for the tip. I may find this useful as well.
The administrator has disabled public write access.
Time to create page: 0.389 seconds

Who's Online

We have 109 guests and one member online