KDE Plasma | No overlay
Opened this issue · 15 comments
Startup:
2020-05-19 20:15:23,901 WARNING Chose screen 'DVI-D-0' as fallback because 'None' could not be matched
Crash:
js: Uncaught (in promise) Error: Unable to generate an invite for null. Does this user have permissions?
malloc_consolidate(): invalid chunk size
Aborted
Using Kwin on X11, Debian testing
I am using KDE Plasma on debian testing and interestingly it worked before (last week), but it does not work anymore (I only see a short white flash instead of the browser overlay) without any code change.
EDIT: I take that back: I was in the wrong voice chat. So it is working fine now for me, but it crashes on every save.
The crash (malloc_consolidate(): invalid chunk size
) also happened when it worked before when clicking on save, but it seems like it was not needed to use the overlay.
I have been able to reproduce the 'crash-on-save' in Ubuntu 20.04
Unfortunately I have absolutely no idea what's causing it, but that's just a matter for debugging. Thanks for the report!
Is this still reproducible on latest?
I am getting this by running the setup.py:
from: can't read /var/mail/setuptools
./setup.py: line 3: syntax error near unexpected token ('
./setup.py: line 3: def readme():'
It works now, but I can't know if it was fixed because of any changes in the code.
As now one needs to install it as a package to run the script, I had to create a virtualenv which means PyQt5 was installed from pip instead of the one from the debian repository and maybe this fixed it.
@Tiixxel It seems like the python script was executed as bash. You need to run it with python (or add a shebang)
Ran it with python3 this time:
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
For setup.py files you need the setuptools (e.g. python3-setuptools
on debian).
I would advise running python -m pip install .
Ideally the executable should be ~/.local/bin/discord-overlay
It might be that ~/.local/bin isn't in your PATH, which should have been said by the installer. None the less try running it directly for now
when trying to execute the binary that is in there, i get this error:
raceback (most recent call last):
File "/home/legendofmiracles/.local/bin/discord-overlay", line 5, in <module>
from discord_overlay.discord_overlay import entrypoint
File "/home/legendofmiracles/.local/lib/python3.8/site-packages/discord_overlay/__init__.py", line 1, in <module>
from .discord_overlay import *
File "/home/legendofmiracles/.local/lib/python3.8/site-packages/discord_overlay/discord_overlay.py", line 21, in <module>
from PyQt5.QtWebEngineWidgets import QWebEngineView
ImportError: /home/legendofmiracles/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5WebEngineCore.so.5: undefined symbol: _ZNSt12out_of_rangeC1EPKc, version Qt_5
i'm on arch using kde plasma and when i try to execute ~/.local/bin/discord-overlay the terminal reports this error:
Traceback (most recent call last):
File "/home/souxd/.local/bin/discord-overlay", line 33, in <module>
sys.exit(load_entry_point('discordoverlaylinux==0.0.2', 'console_scripts', 'discord-overlay')())
File "/home/souxd/.local/bin/discord-overlay", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/home/souxd/.local/lib/python3.9/site-packages/discord_overlay/__init__.py", line 1, in <module>
from .discord_overlay import *
File "/home/souxd/.local/lib/python3.9/site-packages/discord_overlay/discord_overlay.py", line 23, in <module>
from PyQt5.QtWebEngineWidgets import QWebEngineView
ImportError: /home/souxd/.local/lib/python3.9/site-packages/PyQt5/Qt5/lib/libQt5WebEngineCore.so.5: undefined symbol: _ZNSt12out_of_rangeC1EPKc, version Qt_5
This project is no longer supported and has been superseded by https://github.com/trigg/Discover