Comments (4)
Note that WebKit and WebEngine are two different renderers. ReText 7.x prefers WebKit. And if you have WebKit installed from your distro and PyQt is from PyPI, they may be incompatible.
I can suggest these options:
-
Remove everything from
~/.local/lib/python3.10/dist-packages
and rely on packages provided by distro. -
Or: use a virtualenv (e.g. using
virtualenvwrapper
Debian package) and install ReText in that environment. This way it should interfere less with distro packages. Also, that will pick ReText 8.x which uses PyQt6 (which will bring newer Chromium code base and thus maybe better Unicode support). -
Or: keep your configuration but try removing distro
python3-pyqt5.qtwebkit
package. This is the less preferred option, because other packages may still cause conflict.
from retext.
Thanks for the quick response ! I already tried removing everything and installing ReText 8 via pip3 as per the instructions in README ( not using a virtualenv ). This was even worse - when I do this, I don't get an exception, just a cryptic message that says something like -
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
To be honest, chasing down and fixing dependency hell problems with Qt and Python is not what I need to be doing right now, I need to be editing Markdown, so I may come back to this and try some of your suggestions at some less critical time. 7 looked promising until I broke it, but right now I'll revert to ghostwriter which kind-of works even though they broke some important things long ago in 2.0 ( the main reason I started looking for alternatives ).
Thanks,
Mark
from retext.
No action required.
from retext.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Qt 6's xcb plugin has some new library dependencies compared to Qt 5. In particular, it needs libxcb-shape0
and libxcb-cursor0
. Pip cannot install library packages for you. You can do that yourself using the following commands:
retext/.github/workflows/main.yml
Lines 54 to 55 in bf4b850
This is why my first suggestion was relying on packages provided by the distro — there would be no such problems there.
from retext.
Related Issues (20)
- License discrepancy? HOT 3
- Synchronised scrolling is not bidirectional between panes HOT 3
- Ctrl+Tab and Ctrl+Shift+Tab for tab switching HOT 2
- Mouse cursor on link hover HOT 1
- Tried opening many markdown files and editor froze then laptop
- Someone is selling this software on the Microsoft store under a different name HOT 1
- Strange problem rendering '$'s HOT 1
- Link destination popup on hover HOT 5
- Tables print different from preview, alignment breaks print HOT 1
- Custom stylesheet not being used? HOT 1
- Remember realtime preview HOT 2
- strike-through HOT 2
- Headings navigation HOT 1
- Is Installation Via "pip install --user retext" Supposed to *Not* Install "me.mitya57.ReText.desktop"? HOT 1
- App crashes when clicking the tiny box at the bottom with the cursor line and position. HOT 2
- setup.py install has been deprecated in favour of pip install HOT 1
- [Flatpak] ReText freezes when attempting font change (both editor and preview) HOT 1
- [BUG]module markups HOT 2
- keyboard shortcuts HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retext.