Cannot Open Files
2 posters
Page 1 of 1
Cannot Open Files
Hello,
First time using ComicTagger and I can't seem to get any files to open. Relevant Info:
1. ComicTagger 1.1.15-beta (Comic Vine API tested and working)
2. Manjaro (Openbox)
3. GUI (Started from terminal to troubleshoot)
4. Running from extracted Python Package .zip
Upon opening ComicTagger from terminal, I get:
When I try to open a file, I get the following output:
At this point, the GUI shows an "Adding Files" progress bar displaying the path to the file but does not progress past 0%.
I've also tried installing ComicTagger but ran into the same issue. I'm sure I'm just missing something. Any help would be most appreciated. Thanks!
First time using ComicTagger and I can't seem to get any files to open. Relevant Info:
1. ComicTagger 1.1.15-beta (Comic Vine API tested and working)
2. Manjaro (Openbox)
3. GUI (Started from terminal to troubleshoot)
4. Running from extracted Python Package .zip
Upon opening ComicTagger from terminal, I get:
- Code:
python2 comictagger.py
(python2:27840): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(python2:27840): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
When I try to open a file, I get the following output:
- Code:
Traceback (most recent call last):
File "/home/username/comictagger-1.1.15-beta/comictaggerlib/taggerwindow.py", line 946, in selectFile
self.fileSelectionList.addPathList( fileList )
File "/home/username/comictagger-1.1.15-beta/comictaggerlib/fileselectionlist.py", line 196, in addPathList
row = self.addPathItem( f )
File "/home/username/comictagger-1.1.15-beta/comictaggerlib/fileselectionlist.py", line 306, in addPathItem
self.updateRow( row )
File "/home/username/comictagger-1.1.15-beta/comictaggerlib/fileselectionlist.py", line 311, in updateRow
fi = self.twList.item( row, FileSelectionList.dataColNum ).data( Qt.UserRole ).toPyObject()
AttributeError: 'NoneType' object has no attribute 'data'
At this point, the GUI shows an "Adding Files" progress bar displaying the path to the file but does not progress past 0%.
I've also tried installing ComicTagger but ran into the same issue. I'm sure I'm just missing something. Any help would be most appreciated. Thanks!
Last edited by richardjones on Thu Jun 26, 2014 6:05 pm; edited 1 time in total
richardjones- Posts : 7
Join date : 2014-06-25
Re: Cannot Open Files
Hmmm, not sure what would be happening here. I've never used Manjaro, let alone tested on it. I wonder if there is some subtle version difference in Python, Qt, or PyQt that is exacerbating this problem. Can you find the versions?
Are you adding a single file or a bunch. Both should work, I'm just trying to narrow it down. Maybe try it with various known good comic files, one at a time.
Some other things to verify that CT "likes" the file: run comictagger.py with -p and single file
This is command line mode, and should verify that is recognizes the file as a comic, at minimum.
Also, if you're comfortable with a little debugging, can you edit fileselectionlist.py, and add a line:
I haven't been in this part of the code in a long while!
Are you adding a single file or a bunch. Both should work, I'm just trying to narrow it down. Maybe try it with various known good comic files, one at a time.
Some other things to verify that CT "likes" the file: run comictagger.py with -p and single file
- Code:
comictagger.py -p yourcomic.cbz
This is command line mode, and should verify that is recognizes the file as a comic, at minimum.
Also, if you're comfortable with a little debugging, can you edit fileselectionlist.py, and add a line:
- Code:
print "row=",row
I haven't been in this part of the code in a long while!
Re: Cannot Open Files
ComicTagger wrote:Hmmm, not sure what would be happening here. I've never used Manjaro, let alone tested on it. I wonder if there is some subtle version difference in Python, Qt, or PyQt that is exacerbating this problem. Can you find the versions?
Are you adding a single file or a bunch. Both should work, I'm just trying to narrow it down. Maybe try it with various known good comic files, one at a time.
Some other things to verify that CT "likes" the file: run comictagger.py with -p and single file
- Code:
comictagger.py -p yourcomic.cbz
This is command line mode, and should verify that is recognizes the file as a comic, at minimum.
Also, if you're comfortable with a little debugging, can you edit fileselectionlist.py, and add a line:right before line 311?
- Code:
print "row=",row
I haven't been in this part of the code in a long while!
Hi! Thanks for helping me troubleshoot this. Manjaro is basically like Arch Linux if you've ever used that.
I've tried adding both a single file and adding a folder with multiple files and got the same result.
Here's the result of running from the command line on a single .cbz file:
- Code:
python2 comictagger.py -p 2.cbz
ZIP archive ( 48 pages) tags:[ none ]
and a single .cbr file:
- Code:
python2 comictagger.py -p 1.cbr
RAR archive ( 36 pages) tags:[ none ]
I'd be happy to try to help with the debugging. I added a line between 310 and 311 in fileselectionlist.py that reads:
- Code:
print "row=",row
Is that correct? What should I try after doing that?
Thanks again for the help.
richardjones- Posts : 7
Join date : 2014-06-25
Re: Cannot Open Files
Also, if I run 'python comictagger.py' rather than 'python2 comictagger.py', I get:
Subsequently, the GUI does not launch. Not sure if that's relevant but I though I should mention it.
- Code:
Traceback (most recent call last):
File "comictagger.py", line 2, in <module>
from comictaggerlib.main import ctmain
File "/home/username/comictagger-1.1.15-beta/comictaggerlib/main.py", line 54
print "Key set"
^
SyntaxError: invalid syntax
Subsequently, the GUI does not launch. Not sure if that's relevant but I though I should mention it.
richardjones- Posts : 7
Join date : 2014-06-25
Re: Cannot Open Files
Forgot to add Arch package info and versions for Python, QT, and and PyQT:
Python2: 2.7.7.1
QT4: 4.8.6-1
Python2-pyqt4: 4.11-1
Python2: 2.7.7.1
QT4: 4.8.6-1
Python2-pyqt4: 4.11-1
richardjones- Posts : 7
Join date : 2014-06-25
Re: Cannot Open Files
I'm back Sorry for the delay.
I'm stumped. There's nothing obvious about the versions that would be causing issues. But I've never used Arch or Manjaro, so I should probably load it up on a new VM to test it out. Can't say when I will have time to do that though.
That "print" line I had you add will show a value on the terminal when you add a comic. It may show 0 or None. Just curious what comes out. (BTW, that line needs to be tabbed the same as line after it)
I'm stumped. There's nothing obvious about the versions that would be causing issues. But I've never used Arch or Manjaro, so I should probably load it up on a new VM to test it out. Can't say when I will have time to do that though.
That "print" line I had you add will show a value on the terminal when you add a comic. It may show 0 or None. Just curious what comes out. (BTW, that line needs to be tabbed the same as line after it)
Re: Cannot Open Files
ComicTagger wrote:I'm back Sorry for the delay.
I'm stumped. There's nothing obvious about the versions that would be causing issues. But I've never used Arch or Manjaro, so I should probably load it up on a new VM to test it out. Can't say when I will have time to do that though.
That "print" line I had you add will show a value on the terminal when you add a comic. It may show 0 or None. Just curious what comes out. (BTW, that line needs to be tabbed the same as line after it)
Should it look like this (first line being 310 and the last 312)?
- Code:
def updateRow( self, row ):
print "row=",row
fi = self.twList.item( row, FileSelectionList.dataColNum ).data( Qt.UserRole ).toPyObject()
I'm guessing that I'm doing something incorrect
richardjones- Posts : 7
Join date : 2014-06-25
Re: Cannot Open Files
I managed to install Manjaro, and found the issue.
You can replace "fileselectionlist.py" file with this one:
https://comictagger.googlecode.com/svn/trunk/comictaggerlib/fileselectionlist.py
This should solve your problem!
You can replace "fileselectionlist.py" file with this one:
https://comictagger.googlecode.com/svn/trunk/comictaggerlib/fileselectionlist.py
This should solve your problem!
Re: Cannot Open Files
That did the trick! Thank you SO much!
richardjones- Posts : 7
Join date : 2014-06-25
Similar topics
» Won't tag files
» Filter tagged files
» change one field in multiple files?
» Cannot Open ComicTagger
» Filter tagged files
» change one field in multiple files?
» Cannot Open ComicTagger
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum