View Issue Details

IDProjectCategoryView StatusLast Update
0016264ScribusScripterpublic2020-10-08 16:30
ReporterNairo Assigned To 
PrioritylowSeverityminorReproducibilityN/A
Status newResolutionopen 
Platformlinux appOSdebianOS Versionstable
Product Version1.5.6.svn 
Target VersionFixed in Version 
Summary0016264: I was using script "autoquote 2" (fr; 1; O) and I have a bug message :
DescriptionTraceback (most recent call last):
  File "<string>", line 10, in <module>
  File "/tmp/.mount_scribuEkqZKA/lib/x86_64-linux-gnu/../share/scribus/scripts/Autoquote2.py", line 288, in <module>
    elif ((ord(prevchar) == 39) and ((nextchar != ' ') and (nextchar != ',') and (nextchar != ';') and (nextchar != '.'))):
TypeError: ord() expected a character, but string of length 3 found
Steps To ReproduceI have a text in a block with a flag shape. I wanted to replace the quotes with French quotes. I got this message and it didn't work of course.
TagsNo tags attached.
PatchNo

Activities

Nairo

2020-10-08 13:23

reporter   ~0048141

Reproducibility: every time

Nairo

2020-10-08 13:29

reporter   ~0048142

I made a copy and paste of vector objects from inkscape into scribus. They are put with a skin that I can't remove without ungrouping them (which I don't want to do because it's a bit of a mess). I think that's what makes things a bit messy.

JLuc

2020-10-08 14:43

developer   ~0048143

Last edited: 2020-10-08 14:44

View 2 revisions

Could you try with updated version of script ?
https://github.com/JLuc/autotypo/blob/master/autotypo.py

It's more powerfull, there are more options and hence there are more dialogs, but you can prevent dialogs that are of no use for you : just set the right default value at the begining of script for variables and/or simply/ comment do_ask=True (line 43) and uncomment do_ask=False (line 44)

Nairo

2020-10-08 16:30

reporter   ~0048146

Ok ! I'll do that :) thank you very much

Issue History

Date Modified Username Field Change
2020-10-08 13:06 Nairo New Issue
2020-10-08 13:23 Nairo Note Added: 0048141
2020-10-08 13:29 Nairo Note Added: 0048142
2020-10-08 14:43 JLuc Note Added: 0048143
2020-10-08 14:44 JLuc Note Edited: 0048143 View Revisions
2020-10-08 16:30 Nairo Note Added: 0048146