[scribus-dev] Autoquote not working in 1.5.1 but works in 1.5.0
Gregory Pittman
gpittman at iglou.com
Sat Nov 7 15:12:40 UTC 2015
On 11/07/2015 09:53 AM, Gregory Pittman wrote:
> On 11/07/2015 09:26 AM, Gregory Pittman wrote:
>> On 11/05/2015 04:57 PM, John Culleton wrote:
>>>
>>> It hangs up on the last window titled "Finished".
>>> Can't kill window or save file. Have to kill the
>>> console session. Using Slackware 1.4.0 and
>>> Scribus 1.5.1 revision 20532.
>>>
>> What I see so far is that for me, Autoquote doesn't work in 1.5.1svn or
>> 1.5.0, though it works in 1.4.6svn, where there is also Autoquote2.
>>
>> I tried using the Autoquote and Autoquote2 from 1.4.6svn in 1.5.1svn,
>> but these don't work either. Obviously something is changed in the way
>> 1.5.x handles some command late in the scripts -- will see what I can
>> figure out. I expect it should be fixable.
>>
>
> Ok, here is what I learned. For whatever reason, there are no longer and
> numerical associations with the constants for icons and buttons.
>
> So for example, the original Autoquote script used "icon = 0" as a
> messagebox option, instead you have to use "icon = scribus.ICON_NONE".
> Similarly, "button1 = scribus.BUTTON_OK".
>
> I will commit the corrected version.
>
> Unless anyone has objections, I will also add Autoquote2 which has some
> enhancements.
>
The other interesting thing I found was that even though Autoquote2.py
doesn't show up in 1.5.1svn after building, it actually is in the svn
download. When I went to save the corrected version, KWrite told me that
there was a flaw in the file in that it did not end with a newline
character, so we'll see if that allows it to show up now.
Greg
More information about the scribus-dev
mailing list