[PySide] "Could not retrieve fonts from the server"

Israel Brewster ijbrewster at alaska.edu
Fri Feb 7 23:31:22 CET 2020


For what its worth, I just tried to put together a simple test case with just the basic steps needed to reproduce the issue, and was unable to generate a crash - the call to setHtml worked fine. So the problem lies elsewhere, I’m thinking some sort of race condition in my code perhaps, although I don’t really know. Thus my interest in finding where this error is actually generated, so I can see what might be different the times it crashes.

---
Israel Brewster
Software Engineer
Alaska Volcano Observatory 
Geophysical Institute - UAF 
2156 Koyukuk Drive 
Fairbanks AK 99775-7320
Work: 907-474-5172
cell:  907-328-9145

> On Feb 7, 2020, at 12:52 PM, Jason H <jhihn at gmx.com> wrote:
> 
> Are you on a mac? Seems to be a corrupt font entry?
> I would assume that the setHtml is referencing a font that is causing the lookup and subsequent crash?
>  
>  
>  
> Sent: Friday, February 07, 2020 at 2:48 PM
> From: "Israel Brewster" <ijbrewster at alaska.edu>
> To: pyside at qt-project.org
> Subject: [PySide] "Could not retrieve fonts from the server"
> Under certain situations, I will receive the following error from my PySide2 application:
>  
> 2020-02-07 10:19:50.577 Python[59660:37972433] Could not retrieve fonts from the server! Registering system fonts locally…
>  
> After which the application will crash with a SIGABRT (stack trace attached). It would appear it is crashing somewhere in the setHtml() function of a QGraphicsTextItem, but I can’t seem to find this error in the source code (either Qt itself or PySide2). Where might this error be coming from?
>  
>  
>  
> ---
> Israel Brewster
> Software Engineer
> Alaska Volcano Observatory 
> Geophysical Institute - UAF 
> 2156 Koyukuk Drive 
> Fairbanks AK 99775-7320
> Work: 907-474-5172
> cell:  907-328-9145
> _______________________________________________ PySide mailing list PySide at qt-project.org https://lists.qt-project.org/listinfo/pyside <https://lists.qt-project.org/listinfo/pyside>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20200207/a9f4bd4c/attachment.html>


More information about the PySide mailing list