question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linux resources support!!

See original GitHub issue

I’m using this theme for my PyQt5 application and I’m trying to build the app using PyInstaller but I get this error message:

Traceback (most recent call last):
  File "qdarktheme/compile.py", line 18, in compile_stylesheet
  File "pathlib.py", line 1242, in open
  File "pathlib.py", line 1110, in _opener
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/_MEIYRoBwg/qdarktheme/template.qss'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 1166, in <module>
  File "main.py", line 1161, in init_app
  File "main.py", line 218, in __init__
  File "main.py", line 230, in init_window
  File "qdarktheme/resource_manager.py", line 39, in load_stylesheet
  File "qdarktheme/compile.py", line 25, in compile_stylesheet
FileNotFoundError: 
=======================================================================
Unable to load the QSS file.
QSS file path: /tmp/_MEIYRoBwg/qdarktheme/template.qss
The qss file may be crushed or not installed properly.
Try reinstalling the module again.[pip install qdarktheme]
Also, this module has only been tested on mac and windows.
Operation on other operating systems, such as Linux, is not guaranteed.
=======================================================================

And I want to know if there is a way you could test it and fix it, or guide me to be able to fix it. (Maybe should I add qdarktheme/templace.qss as a data in my .spec file?). Here’s my .spec file.


I really like this theme and I don’t want to change it.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Patitotectivecommented, Oct 23, 2021

It worked!!! Thanks.

1reaction
5yutan5commented, Oct 23, 2021

This has been released (on the master branch and on pypi)!

Read more comments on GitHub >

github_iconTop Results From Across the Web

7.1. System Resources
System resources can be taken up by individual users, or by services your system may host such as email or web pages. The...
Read more >
The 8 Best Online Tech Support Resources For Linux Users
The 8 Best Online Tech Support Resources For Linux Users · 1. LinuxQuestions on Reddit · 2. Google+ Linux Communities · 3. The...
Read more >
Resource Management Guide Red Hat Enterprise Linux 7
This guide covers the control groups (cgroups), a Linux kernel feature that allows you to allocate resources such as CPU time, system memory, ......
Read more >
Contact Us | Linux Foundation
Please submit a Training & Certification Support Request. ... To get answers to your Linux questions, please check Linux-related resources available on the ......
Read more >
Monitoring and Controlling Linux Resources - TechDocs
for Linux on System z and. Hardware Interface Service ... Linux resource definitions are loaded as part of an active z/VM system image....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found