View Issue Details

IDProjectCategoryView StatusLast Update
0016782ScribusScripterpublic2022-04-21 19:43
Reporterwillsonlin Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionno change required 
OSWindowsOS Version8 
Product Version1.5.8 
Summary0016782: Scribus always crashes when I execute this script
DescriptionI grab a calendar generation script from https://github.com/tstanford/scribus-calendar/blob/master/cal.py then I execute this script on Scribus,no matter which version of Scribus I used,e.g. Scribus 1.5.8 or Scribus 1.5.5, it caused crashes.It seems that I could execute this script without any issue in the past, but what wrong with it now? My computer works fine and other scripts work here.
TagsNo tags attached.
PatchNo

Activities

jghali

2022-04-21 19:42

administrator   ~0049625

Last edited: 2022-04-21 19:43

From line 83 to 87, the script attempts to create character styles with specific fonts. If these fonts are not available on your computer, for eg. the Noto Sans Regular font used line 86 is not available on Windows by default, a python exception will be logically triggered. You just have to replace the fonts specified in the script by fonts which are really installed on your computer.

My testing shows only expected Python exceptions in this situation, no crash.

Issue History

Date Modified Username Field Change
2022-04-21 17:21 willsonlin New Issue
2022-04-21 19:42 jghali Note Added: 0049625
2022-04-21 19:43 jghali Note Edited: 0049625
2022-04-21 19:43 jghali Assigned To => jghali
2022-04-21 19:43 jghali Status new => resolved
2022-04-21 19:43 jghali Resolution open => no change required
2022-04-21 19:43 jghali Status resolved => closed