View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016782 | Scribus | Scripter | public | 2022-04-21 17:21 | 2022-04-21 19:43 |
| Reporter | willsonlin | Assigned To | jghali | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | no change required | ||
| OS | Windows | OS Version | 8 | ||
| Product Version | 1.5.8 | ||||
| Summary | 0016782: Scribus always crashes when I execute this script | ||||
| Description | I 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. | ||||
| Tags | No tags attached. | ||||
| Patch | No | ||||
|
|
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. |
| 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 |