View Single Post
Old 09-01-2020, 07:22 PM   #1
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,285
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
Quick Question about tag browser tweak

Am trying to customize the order in which the columns are displayed in the tag browser.

calibre, version 4.7.0
ERROR: Failed: There was a syntax error in your tweak. Click the "Show details" button for details.

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 535, in apply_tweak
File "<string>", line 14
u'#all_the_book_sources':12,
^
SyntaxError: invalid syntax

^
SyntaxError: invalid syntax

What am I doing wrong?

tag_browser_category_order = {u'authors': 1,
u'formats': 5,
u'identifiers': 7,
u'languages': 4,
u'publisher': 6,
u'rating': 8,
u'series': 2,
u'tags': 3,
u'#genre':9,
u'#heirarchal_booksource':10,
u'#booksource':11
u'#all_the_book_sources':12,
u'#h_details':13,
u'#details':14,
u'#book_style':15,
u'#currentbookshelves':16,
u'#exclusiveshelf':17,
u'#current_dash':18,
u'#bookshelves':19,
u'#gr_binding':20,
u'#readstatus':21,
u'#calibrelibrary':22,
u'#mfw':23,
u'#rc':24,
u'#read_dates':25,
u'#libraryonhold':26,
u'#ol_wait_weeks':27,
u'#orig_series':28,
u'#second_series':29,
u'#calibre_author':30}


I am not adding the news in this list because I never use it.

Nevermind, found the missing "," in Booksource, it works now.

Last edited by Rellwood; 09-01-2020 at 07:25 PM. Reason: Updated Error
Rellwood is offline   Reply With Quote