Comments (5)
An update to attrs breaks labgrid, see #165, we plan to do a release soon, but not before next year. For now please use the git master as described in the development docs.
from labgrid.
If the dev installation did not fix the problem please reopen this issue. I'll close this for now since a stable release is already tracked in #166.
from labgrid.
I have seen this bug to day with the 'master'
(labgrid-venv) wiens@es-lxwiens2:~/proj/BspTests/labgrid$ labgrid-client --help Traceback (most recent call last): File "/home/wiens/proj/BspTests/labgrid-venv/bin/labgrid-client", line 6, in <module> from labgrid.remote.client import main File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/__init__.py", line 1, in <module> from .target import Target File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/target.py", line 6, in <module> from .driver import Driver File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/driver/__init__.py", line 3, in <module> from .serialdriver import SerialDriver File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/driver/serialdriver.py", line 10, in <module> from ..resource import SerialPort, NetworkSerialPort File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/resource/__init__.py", line 7, in <module> from .udev import USBSerialPort File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/resource/udev.py", line 148, in <module> class USBSerialPort(SerialPort, USBResource): File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 702, in attrs return wrap(maybe_cls) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 671, in wrap builder = _ClassBuilder(cls, these, slots, frozen, auto_attribs) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 371, in __init__ attrs, super_attrs = _transform_attrs(cls, these, auto_attribs) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 337, in _transform_attrs .format(a=a) ValueError: No mandatory attributes allowed after an attribute with a default value or factory. Attribute in question: Attribute(name='match', default=NOTHING, validator=<instance_of validator for type <class 'dict'>>, repr=True, cmp=True, hash=False, init=True, metadata=mappingproxy({}), type=None, converter=None)
from labgrid.
Yes, the fix for attrs 17.4.0
is included in PR #189 as ecbdf6c . Unfortunately the attrs library had to include a breaking change in their release.
from labgrid.
PR #189 got merged with additional steps to reduce future problems with upstream libraries. We also updated the installation instructions, take a look at the new Installation section.
from labgrid.
Related Issues (20)
- Add ModbusRTUDriver remote support
- Controlling a strategy at runtime HOT 4
- Selecting the target in pytest HOT 8
- File transfer is slow HOT 10
- How to implement a recovery button? HOT 5
- Missing start of console output when booting from USB bootrom HOT 1
- Absolute paths HOT 3
- How to implement a multi-function device? HOT 8
- ser2net fails on place acquire HOT 2
- Add ability to jump in networkresource HOT 4
- labgrid-client console: add escape sequence to call other client commands HOT 3
- Dealing with a transient serial port HOT 4
- Recovery and reset on the same relay HOT 3
- write_file does not properly escape file names HOT 5
- Exception when sending "purge" to a remote serial driver HOT 4
- linux shell prompt not found HOT 6
- ManagedFile uses `/var/cache/labgrid/..` sync path even when resource is remote HOT 5
- add option to use `scp` instead of `rsync` in `ManagedFile` for syncing files to minimal targets
- Missing serial output at start when using USB loader HOT 6
- linter warnings since pylint 3.2.0 HOT 1
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 labgrid.