Quote:
Originally Posted by kovidgoyal
@kacir: Run calibre in debug mode and it will print lots of info about the drag and drop events. calibre-debug -g
|
Create two directories.
~/0/
~/[Really] - [weird directory] - name/
put the same jpg image into both of them
try Drag & Drop cover into a book pane from both of them.
One works, the other not ;-)
Looks like I stumbled into something that is not related to Beta
See debug log:
Spoiler:
kacir@Petra:~ > calibre-debug -g
calibre 1.205 isfrozen: True is64bit: True
Linux-3.11.0-12-generic-x86_64-with-debian-wheezy-sid Linux ('64bit', 'ELF')
('Linux', '3.11.0-12-generic', '#19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013')
Python 2.7.8
Linux: ('debian', 'wheezy/sid', '')
Successfully initialized third party plugins: Kindle and Mobipocket DeDRM && Webscription && Kindle Collections && Search The Internet && Open With && Quality Check && Modify ePub && Find Duplicates && Favourites Menu && Barnes & Noble && Quick Preferences && Fantastic Fiction && Goodreads && Manage Series && FictionDB
Starting up...
Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 163, in __init__
File "site-packages/calibre/gui2/ui.py", line 177, in init_iaction
File "site-packages/calibre/customize/__init__.py", line 582, in load_actual_plugin
File "importlib/__init__.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.kindle_collections.ui", line 11, in <module>
ImportError: No module named PyQt4.Qt
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Started up in 29.62 seconds with [MANY - edited by Kacir] books
Debugging DND event
text/uri-list 27 'file:///home/kacir/0/cover.jpg'
text/plain 27 'file:///home/kacir/0/cover.jpg'
COMPOUND_TEXT 27 'file:///home/kacir/0/cover.jpg'
Firefox rurl: None None
URLS: [u'file:///home/kacir/0/cover.jpg']
Paths: [u'/home/kacir/0/cover.jpg']
Extensions: frozenset([u'jpg'])
Firefox rurl: None None
Debugging DND event
text/uri-list 79 'file:///home/kacir/%5BReally%5D%20-%20%5Bweird%20directory%5D%20-%20name/cover.jpg'
text/plain 61 'file:///home/kacir/[Really] - [weird directory] - name/cover.jpg'
COMPOUND_TEXT 61 'file:///home/kacir/[Really] - [weird directory] - name/cover.jpg'
Firefox rurl: None None
URLS: [u'file:///home/kacir/%5BReally%5D - %5Bweird directory%5D - name/cover.jpg']
Paths: [u'/home/kacir/[Really] - [weird directory] - name/cover.jpg']
Extensions: frozenset([u'jpg'])
Firefox rurl: None None
Firefox rurl: None None