Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2014, 07:10 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
edit tweak preferences BUG v1.23 64 bit

will someone please test & confrim this:

My reproducible test sequence:
1. close calibre
2 open calibre ( so we have a clean start point)
navigate: preferences - tweaks.. scroll to save original files...
click on restore defaults then click apply ( the 2 bottom-of-screen boxes)
no reaction from program.
now go to top left & click apply
I then get :
Error: Invalid Tweaks
calibre, version 1.23.0
ERROR: Invalid tweaks: The tweaks you entered are invalid, try resetting the tweaks to default and changing them one by one until you find the invalid setting.

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 421, in commit
File "<string>", line 623
Qt = <class 'PyQt4.QtCore.Qt'>
^
SyntaxError: invalid syntax

NB I did not enter any data, I simply clicked on restore defaults.

Last edited by cybmole; 02-12-2014 at 07:14 AM.
cybmole is offline   Reply With Quote
Old 02-12-2014, 04:42 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@cybmole - OK here, after clicking the top line apply I was offered the restart as per normal

But if I don't do the bottom Restore, then the top Restore does not return Save original files... to default values - False, False - they remain as - True, True. But that doesn't seem to be the case with other Tweaks. So there appears to be something not quite right with respect to that specific tweak - which seems odd.

Suggestion to developers - rename the item buttons (the ones at the bottom) to Reset Tweak and Set Tweak. This is an instance where using different words to convey the same idea, but at a different level, within the same context has merit. Doing otherwise borders on being diabolically evil

BR

Last edited by BetterRed; 02-12-2014 at 05:26 PM.
BetterRed is online now   Reply With Quote
Advert
Old 02-13-2014, 01:31 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
thanks for checking, I am confused by having 2 "apply" buttons
I think the defaults are true & true, actually, but I want to set true & false.

so is there a way to change polish to False & get that to stick ?

retesting, and this is after an overnight PC power off + reboot...
the top apply is greyed out until the bottom apply is used.

the top "apply" is greyed out until th bottom "apply" is used.
after 2nd apply I still get:
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 421, in commit
File "<string>", line 623
Qt = <class 'PyQt4.QtCore.Qt'>
^
SyntaxError: invalid syntax

Last edited by cybmole; 02-13-2014 at 01:37 AM.
cybmole is offline   Reply With Quote
Old 02-13-2014, 02:04 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You've got some invalid tweaks in your config. Click the restore defaults at the top, then click apply at the top, then restart calibre and you should be able to make the changes.
kovidgoyal is offline   Reply With Quote
Old 02-13-2014, 02:09 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by kovidgoyal View Post
You've got some invalid tweaks in your config. Click the restore defaults at the top, then click apply at the top, then restart calibre and you should be able to make the changes.
no joy:
preferences, tweaks- restore defaults ( at top) - apply (at top);
similar error, but I see it's pointing to a different line of code now.
calibre, version 1.23.0
ERROR: Invalid tweaks: The tweaks you entered are invalid, try resetting the tweaks to default and changing them one by one until you find the invalid setting.

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 421, in commit
File "<string>", line 623
Qt = <class 'PyQt4.QtCore.Qt'>
^
SyntaxError: invalid syntax

strange thing is, except for the save original format tweak, I don't recall ever going to / altering this section
cybmole is offline   Reply With Quote
Advert
Old 02-13-2014, 02:14 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Go to preferences->miscellaneous->open configuration directory

then quit calibre

then delete tweaks.py
kovidgoyal is offline   Reply With Quote
Old 02-13-2014, 02:39 AM   #7
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
ok thanks- that seems to have fixed it - do you want to see the old problematic tweaks.py from my backup folder .- I attach a zip of it

now I can play the memory game of "what other tweaks might I have set once upon a time - that now need resetting "
Attached Files
File Type: zip tweaks.zip (2.5 KB, 121 views)
cybmole is offline   Reply With Quote
Old 02-13-2014, 03:04 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your problem was caused by the open with plugin. It inserts some invalid code into the tweaks file to customize its menus.
kovidgoyal is offline   Reply With Quote
Old 02-13-2014, 03:18 AM   #9
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
thanks for explaining that. I did adjust that plug in recently to amend my hotkey settings. I trust the plug-in author is aware of the issue.

PS I see that my open_with hot keys all still work though - they have not been reset by the reset defaults process.
cybmole is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? J-Mac Calibre 6 06-29-2013 06:40 AM
Windows 7 64-bit + Calibre 0.9.14 64 bit BSD rjh007 Calibre 6 01-27-2013 03:35 PM
Could use a bit of help with regular expressions to edit books on conversion Flammy Conversion 3 12-29-2011 10:29 AM
single metadata edit - bug? salines Calibre 0 11-25-2011 05:41 AM
Minor bug: tab order on bulk edit dialog in 0.7.23 kiwidude Calibre 1 10-11-2010 11:45 AM


All times are GMT -4. The time now is 06:23 AM.


MobileRead.com is a privately owned, operated and funded community.