Comment 12 for bug 1637353

Revision history for this message
str8arrow (subscrip99) wrote : calibre template- python function ??not working?/(Re: [Bug 1637353] Re: calibre bug 1637353)

Hi Kovid, I have a quick question..but firstly: Thank you for emailing me
re: resolution of bug 1637353 (cover images). I'm looking very forward to
Calibre 3 because I have a high pixel density display (newer versions of
calibre display only the upper right quadrant of cover images, so i'm using
v2.55 till v3 is released...just in case it helps you to know that!)

*More importantly, I have a quick question as I'm editing my library and
have found the python 'split' function does not work. *
*(I want to take the first 2 words of the series name -to use in a custom
'Book Title' column.) *
*I created a temp column to hold the first 2 words of the series name - **MY
TEMPLATE FOR #temp is *
                  *#series:split{}[:2]*

*This does not work.* If I can get it working my book title column will use
this template: {#temp}{series_index:0>2s| - | - }{title}

Thanks Kovid -
Dr. Alidina

*NB I've read the calibre template language documentation - it indicates
that python commands should translate to calibre (but perhaps they require
some modification I'm not aware of??)

On Thu, Oct 27, 2016 at 9:43 PM, Kovid Goyal <email address hidden>
wrote:

> I'm confused. What save as? Right clicking on a cover image in the edit
> metadata dialog or in the book details panels has no save as option,
> only a copy cover option.
>
> status incomplete
>
> ** Changed in: calibre
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1637353
>
> Title:
> 'SAVE AS' COVER IMAGE -Does Not Save File
>
> Status in calibre:
> Incomplete
>
> Bug description:
> Calibre 2.70.0 ON Windows10 PRO X64
> (ALSO OCCURS IN Calibre 2.58.0 - 2.69.0)
>
> When you DOWNLOAD METADATA (or Cover images) > THEN RIGHT-CLICK ON AN
> IMAGE /SELECT 'SAVE AS'
>
> THE IMAGE IS NOT SAVED (NO FILE IS SAVED.)
>
> This bug also occurs in Calibre 2.58.0 - 2.69.0. (I did not test
> 2.56.0/2.57.0)
>
> *It FUNCTIONS NORMALLY IN CALIBRE 2.55.0. - bug not present in this
> version.
>
> Thanks ...Would appreciate it if you could fix this. Until it's fixed,
> I'm stuck with using v2.55.0.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/calibre/+bug/1637353/+subscriptions
>