View Issue Details

IDProjectCategoryView StatusLast Update
0016264ScribusScripterpublic2022-06-10 09:07
ReporterNairo Assigned ToJLuc  
PrioritylowSeverityminorReproducibilityN/A
Status closedResolutionunable to reproduce 
Platformlinux appOSdebianOS Versionstable
Product Version1.5.6.svn 
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

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

JLuc

2022-06-05 09:38

developer   ~0049681

Any news ?

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
2020-10-08 16:30 Nairo Note Added: 0048146
2021-11-28 15:08 JLuc Assigned To => JLuc
2021-11-28 15:08 JLuc Status new => feedback
2022-06-05 09:38 JLuc Note Added: 0049681
2022-06-10 09:07 JLuc Status feedback => closed
2022-06-10 09:07 JLuc Resolution open => unable to reproduce