Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

KDE Plasma | No overlay #30

Open
npxtune opened this issue May 19, 2020 · 15 comments
Open

KDE Plasma | No overlay #30

npxtune opened this issue May 19, 2020 · 15 comments
Labels
Dependency Issue PIP or Package issue

Comments

@npxtune
Copy link

npxtune commented May 19, 2020

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

@Findus23
Copy link

Findus23 commented May 22, 2020

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.

@Findus23
Copy link

Findus23 commented May 22, 2020

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.

@trigg
Copy link
Owner

trigg commented May 26, 2020

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!

@trigg
Copy link
Owner

trigg commented May 28, 2020

Is this still reproducible on latest?

@npxtune
Copy link
Author

npxtune commented May 28, 2020

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():'

@Findus23
Copy link

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.

@trigg trigg added the bug Something isn't working label May 28, 2020
@Findus23
Copy link

@Tiixxel It seems like the python script was executed as bash. You need to run it with python (or add a shebang)

@npxtune
Copy link
Author

npxtune commented May 28, 2020

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

@Findus23
Copy link

For setup.py files you need the setuptools (e.g. python3-setuptools on debian).

@trigg
Copy link
Owner

trigg commented May 28, 2020

I would advise running python -m pip install .

@npxtune
Copy link
Author

npxtune commented May 28, 2020

Screenshot_20200528_180307

@trigg
Copy link
Owner

trigg commented May 29, 2020

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

@legendofmiracles
Copy link

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

@trigg trigg added Dependency Issue PIP or Package issue and removed bug Something isn't working labels Sep 21, 2020
@souxd
Copy link

souxd commented Nov 7, 2021

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

@midget3111
Copy link
Collaborator

This project is no longer supported and has been superseded by https://github.com/trigg/Discover

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Dependency Issue PIP or Package issue
Projects
None yet
Development

No branches or pull requests

6 participants