Comments (2)
from openadapt.
I created a PR to address this ticket. So far I have been able to successfullly install all dependencies and run black. However I am being blocked by the pytest test cases failing due to import errors. You can see the failed Github Action attempt here: https://github.com/Mustaballer/puterbot/actions
This is my Github actions script: https://github.com/MLDSAI/OpenAdapt/pull/138/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
This is the output I am getting:
________________ ERROR collecting tests/puterbot/test_events.py ________________
ImportError while importing test module '/home/runner/work/puterbot/puterbot/tests/puterbot/test_events.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/importlib/__init__.py:1[26](https://github.com/Mustaballer/puterbot/actions/runs/4951391799/jobs/8856295760#step:8:27): in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/puterbot/test_events.py:9: in <module>
from puterbot.models import ActionEvent, WindowEvent
puterbot/models.py:4: in <module>
from pynput import keyboard
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/pynput/__init__.py:40: in <module>
from . import keyboard
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/pynput/keyboard/__init__.py:[31](https://github.com/Mustaballer/puterbot/actions/runs/4951391799/jobs/8856295760#step:8:32): in <module>
backend = backend(__name__)
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/pynput/_util/__init__.py:78: in backend
raise ImportError('this platform is not supported: {}'.format(
E ImportError: this platform is not supported: ('failed to acquire X connection: Bad display name ""', DisplayNameError(''))
E
E Try one of the following resolutions:
E
E * Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
=========================== short test summary info ============================
ERROR tests/puterbot/test_events.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.42s ===============================```
from openadapt.
Related Issues (20)
- Dashboard: replays HOT 1
- Add option to enable audio in system tray recording dialog
- Implement model cursor for visual feedback HOT 5
- Canvas: animate keyframe/parent actions
- [Bug]: visualize fails when no screenshots are present HOT 1
- Update Gitbook Getting Started guide with Screenshots HOT 7
- Support multiple monitors HOT 24
- Upload recordings
- Fix Posthog events HOT 1
- Implement PyAutoGuiReplayStrategy
- [Bug]: Local development record, replay and start fail HOT 3
- Add recording smoke test HOT 3
- Deprecate `openadapt.start`
- Document permissions on latest MacOS
- [Bug]: openadapt.window:get_active_window_state:63 - exc=ElementNotFoundError({'active_only': True, 'backend': 'uia', 'visible_only': False})
- [Bug]: build fails on M2
- Convert to PNG base64
- Investigate semantic-kernel
- Add click and drag reducer to `events.py`
- [Bug]: Not able to create a recording 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 openadapt.