Comments (8)
This looks like maybe a version mismatch between pyasn1_modules and pyasn1. Make sure to install both the same way.
from jabbercat.
pip install --upgrade pyasn1
(inside the venv) fixed that. It installed version 0.4.2
IMHO The problem was that pyasn1_modules was installed automatically in the venv but pyasn1 was used from the site-packages (version 0.1.9) where it lies around from debian package python3-pyasn1
(installed due to unrelated reasons).
While this is easy to fix I still think this should be handled via install_requires= ...
in setup.py of aioxmpp.
from jabbercat.
I’m not sure what an install_requires
can do here? We would have to pin to a specific version of pyasn1 or pyasn1_modules, which I don’t want to.
from jabbercat.
What about pyasn1>=0.4
like in the case of aiosasl>=0.3
?
from jabbercat.
But we don’t strictly require pyasn1>=0.4
. This is a dependency problem with pyasn1_modules
, not aioxmpp
, if I understand the situation correctly.
FWIW, the other alternative should be to install python3-pyasn1-modules outside the venv.
from jabbercat.
Hmm. You are right. Someone should open an issue there.
Nevertheless there is the pragmatic view: fixing that dependency might prevent problems for other testers leaving more time and motivation for actual testing of jabbercat.
from jabbercat.
I’ll leave a note in the testing guide.
I also think that this might be due to pip not ensuring that dependencies w.r.t. --system-site-packages
are actually fulfilled, instead of a missing dependency declaration at pyasn1_modules
.
At which point the question is whether:
- simplify the testing process by removing
--system-site-packages
, with the downside that people will install things like PyOpenSSL into a venv, or - add another note to guide people on what to do…
from jabbercat.
I think the cleanest way is what you mentioned above:
install python3-pyasn1-modules outside the venv.
I tried it:
- uninstalled pyasn1 and pyasn1_modules via pip in the venv,
- installed python3-pyasn1-modules via apt)
→ jabbercat does start.
This would mean to add some additional dependencies to the guide but no extra prosa notes which are tedious to process.
from jabbercat.
Related Issues (20)
- "Manage Services" UI
- Generate URL previews in external tool
- Support for muclumbus-powered MUC search
- Inform the user about logging and anonymity of a room (ideally before joining, if possible)
- Wrong wording in ad-hoc discovery on MUC service HOT 1
- Figure out why and stop requesting of avatars from full JIDs which are not MUC occupants
- UI for Active (Jingle) Sessions HOT 1
- Paste as quote/citation
- RFCs and XEPs support page with VERSION HOT 4
- XEP-0443: XMPP Compliance Suites 2021 HOT 1
- Groupchat reply UI idea
- Update the website and github for XMPP HOT 2
- Generate a device ID when creating an account and use it as resource HOT 1
- Banquet vs. Barbecue HOT 3
- The message view scrollbar misbehaves when resizing the window
- Inconsistent appearance of messages due to delivery state icons HOT 2
- Prioritise roster avatar fetches
- Fix fallout from using full JIDs in accounts HOT 1
- "Swap out" conversation views which are not active
- After embedding an image, the conversation isn’t scrolled to the bottom
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 jabbercat.