06-27-2017, 10:24 AM | #31 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
You just installed the wrong version of anaconda. You need the python 2.7 version:
https://repo.continuum.io/archive/An...OSX-x86_64.pkg |
06-28-2017, 08:09 PM | #32 | |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Quote:
|
|
06-28-2017, 08:15 PM | #33 |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Hmm, maybe I spoke too soon. The first comic I loaded into it, Avengers #1, it took a long time to search online and then crashed.
Of note, this is what I saw in terminal after I loaded it using "python comictagger.py": libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Traceback (most recent call last): File "/Users/username/Applications/Comictagger/comictaggerlib/volumeselectionwindow.py", line 407, in currentItemChanged self.volume_id, b = self.twList.item( curr.row(), 0 ).data( QtCore.Qt.UserRole ).toInt() AttributeError: 'int' object has no attribute 'toInt' Abort trap: 6 Feel free to laugh at me if I'm doing something stupid again :-) |
06-28-2017, 08:19 PM | #34 |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Uggh, both the "search online" and "auto identify" functions are causing the App to crash. Grrrr! Sooooo close.....
|
06-28-2017, 10:28 PM | #35 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Hm I just used an auto-convert script to convert from pyqt4 to pyqt5. Apperently, this does not work
open the terminal and enter conda install pyqt=4 Hopefully, that will install pyqt4 to the right anaconda installation on your computer. Now try the pyqt4 version of comictagger. That should work. |
06-28-2017, 11:23 PM | #36 |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Done, and this is what happened:
Fetching package metadata ......... Solving package specifications: . UnsatisfiableError: The following specifications were found to be in conflict: - navigator-updater -> pyqt >=5.6 -> qt 5.6.* - pyqt 4* -> qt 4.8.6 - pyqt 4* -> sip 4.16.5 Use "conda info <package>" to see the dependencies for each package. Is there a way to "uninstall" the newer version of pyqt? If not, what should I do next? |
06-29-2017, 08:03 AM | #37 | |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Quote:
conda create -n py27_qt4 python=2.7 anaconda source activate py27_qt4 conda remove pyqt conda install pyqt=4 If you want to start comictagger, you of course always have to switch to that environment first. You could of course make a batch script in the comictagger directory , so that you just need to click. See https://stackoverflow.com/a/14065171 for how to do it In the batch file you just need: source activate py27_qt4 python comictagger.py |
|
06-29-2017, 08:56 PM | #38 | |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Quote:
"Python Imaging Library (PIL) is not available and is needed for issue identification." Is that some kind of add on for the program? Now when I canceled that message, I did see a window asking me to select the series, so I think that helps. EDIT: OK, update to the above. I do keep getting that error message, but it WORKS! I am now able to import the metadata by doing the following: 1) Adding the series name to each comic individual 2) Clicking on "Auto-Identify" 3) Clicking to cancel the error message about the Python Imaging Library 4) Select the appropriate comic series 5) Saving the tags after verifying the information appears accurate THANK YOU! Now, just some follow up questions: 1) What is that Python Image Library thing? Do I need it? Can I get it so that I don't keep getting that error message? 2) How do I batch import meta-data? It seems I have to repeat the above process individually with each comic - a pain to be sure, though still more helpful than Calibre which wouldn't even find the metadata. Last edited by American_Desi; 06-29-2017 at 09:16 PM. |
|
06-29-2017, 09:20 PM | #39 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Seems like anaconda only ships with the successor of PIL. PIL is just a library for python, which allows all kind of things with images. Comictagger uses it, to compare the cover of the comic with covers on comic vine, to find the right issue (think of series like batman, which have x volumes. If you don't have that info or the pub date, it would be very difficult to find the right one).
Just activate the environment for comictagger in the terminal just try conda install pil if that doesn't work, try conda install -c anaconda pil=1.1.7 One of the two should work. I hope, that now everything works. If something is missing, just try installing it with conda install name or with pip install name of course always in the envirenment, that you can activate with source activate py27_qt4 Last edited by dickloraine; 06-29-2017 at 09:23 PM. |
06-29-2017, 10:09 PM | #40 |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
What about batch importing meta-data for multiple comics? Any way to do that?
I've tried selecting multiple files on the right side and right-clicking and doing "auto-identify" but it still only does one at a time. EDIT: Ok, sorry about this... you've been incredibly patient and helpful but I discovered one more serious problem. In addition to my question above about batch editing, I'm still having two problems. The less serious one is that, despite trying both commands above, the PIL is still not found. The MORE serious one is that the program does not read .cbr files. It tells me I need to put in the pathway for the unrar program, and so I downloaded WinRar for MacOS and set the appropriate programs in preferences. Nevertheless, when I try to read a cbr file, it just hangs and never fully imports it. Have you encountered this problem? It is a bug? Is there another program I can try? I have "The Unarchiver" for Mac which I normally use for rar files, but it doesn't allow me to select this program. Unfortunately, the vast majority of my comic files are in cbr format, so I can't do anything with them.... Last edited by American_Desi; 06-29-2017 at 11:44 PM. |
06-30-2017, 07:45 AM | #41 | |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Quote:
For pil, try pip install pil It can batch import. Just select the comics on the right and on the toolbar click auto-tag. Last edited by dickloraine; 06-30-2017 at 07:49 AM. |
|
07-01-2017, 12:31 PM | #42 | |||
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Quote:
I don't mind converting the cbr to cbz format. I understood from this process that both are just archives of jpeg files. Problem is, I can't seem to find a straightforward way to do it from all my Google searching. Jomic is a program that supposedly does it, but the program reads as "damaged" when I try to run it. There is another program called Unarchiver but this doesn't exactly covert them. It looks like I might have to individually unrar them and then zip them back which Unarchiver, which is painfully inefficient... another user also made mention of this issue from my internet searches. Quote:
Collecting pil Could not find a version that satisfies the requirement pil (from versions: ) No matching distribution found for pil Quote:
I'm reading the online user manual for the program. I wonder if the problem with Auto-Tag is that there are multiple Avengers series of comic books? I'm using an exact name match for the series in the file name... don't know how else to get it to see the correct series. Last edited by American_Desi; 07-01-2017 at 01:06 PM. |
|||
07-01-2017, 07:00 PM | #43 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Could be because it uses pil exactly for auto-tagging. Maybe google for pil and anaconda, there should be a way to import it. Alternatively you could try to replace all references to pil in the source code with pillow. That is the newer version anaconda comes with. But I don't know, if the api is fully compatible.
You could use the "embed comic metadata" plugin in calibre to mass convert cbr to cbz. It's one of the extra actions available there. |
07-01-2017, 07:06 PM | #44 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Maybe this helps:
https://stackoverflow.com/a/36855408 Just use your environment as the destination. |
07-01-2017, 11:53 PM | #45 | |
Connoisseur
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
|
Quote:
I'm trying to get my head around the first suggestion and your subsequent link. Bear in mind that I'm not a programmer, so this is all new to me. I always gravitate towards the simpler solution in these cases, so I looked at the web link you provided. There are a bunch of files there, about 8 for osX, 6 for what I assume is the 64-bit version and two for the 32-bit version. Which am I supposed to get? I'm running macOS Sierra 10.12.5, Late 2012 model 21.5" with 3.1 GHz Intel Core i7. And, do I get all of the files for a given version (32 or 64-bit) or just one of the files? Also, where do I put them? And when you say, "use your environment as the destination," do you mean the directory where I have the comictagger.py file? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Embed Comic Metadata | dickloraine | Plugins | 113 | 02-22-2024 01:01 PM |
Problems finding a port for Calibre Server | cptnemo | Library Management | 4 | 09-10-2012 02:37 AM |
Comic Book / Graphic Novels: problems | famousboot | Kindle Fire | 7 | 01-08-2012 03:16 AM |
Comic Book Conversion with Calibre | bmwr1200c | Conversion | 4 | 08-11-2011 03:31 PM |
problems with metadata in Calibre | dismukes | Library Management | 8 | 02-16-2011 02:06 PM |