driplineorg / driplineorg/dripline-python

Unhandled request type: OP_CMD error

Open
#139 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I am trying to run a [configure_scan](https://github.com/axiondarkmatterexperiment/dripline-orpheus/blob/c70ceb4afb62c3fdc602bdebd95e19db471e7c31/dripline/extensions/agilent34970A/agilent34970A.py#L17) command interactively since there is no `setup_commands` implemented so far.

I tried to run the command through dl-agent and get an `OP_CMD` error. I am running with dripline-python v4.5.4.

```
root@clerk-dripline-python-deployment-6dbc98564f-m7rvz:/usr/local/src/dripline-python-plugin/data_taking_scripts# dl-agent --auth-file /etc/rabbitmq-secret/authentications.json -b rabbitmq-app cmd muxer_prologix_service -s configure_scan
2021-07-12 14:35:49 [ PROG] i/application.cc(134): Final configuration:

{
dripline :
{
alerts-exchange : alerts
auth-file : /etc/rabbitmq-secret/authentications.json
broker : rabbitmq-app
heartbeat-interval-s : 60
heartbeat-routing-key : heartbeat
loop-timeout-ms : 1000
max-payload-size : 10000
message-wait-ms : 1000
requests-exchange : requests
}

rk : muxer_prologix_service
specifier : configure_scan
timeout : 10
}

2021-07-12 14:35:49 [ PROG] i/application.cc(135): Ordered args:

[
]

2021-07-12 14:35:49 [ PROG] library/agent.cc(238): Response:
Return code: 200
Return message: Unhandled request type: OP_CMD

Routing key: amq.gen-Wc5uZC9G-HD_ZvV_y4n_bQ
Correlation ID: 0e32c8bc-9cf8-49da-94dc-13bf509134f2
Reply To:
Message Type: 2
Encoding: json
Timestamp: 2021-07-12T14:35:49.833800Z
Sender Info:
Executable: /usr/local/bin/python3.8
Hostname: ag34970a-dripline-python-deployment-567595bddc-46cqs
Username: root
Service: muxer_prologix_service
Versions:
dripline:
Version: 3.0.0
Commit:
Package:
dripline-cpp:
Version: 2.8.0
Commit: 60e1388b0452d9cbe6acfe2ab9bbeb3a04d612f9
Package: Dripline
dripline-python:
Version: 0.0.0
Commit: na
Package: driplineorg/dripline-python
dripline.extensions.agilent34970A:
Version: 0.0.0
Commit: ---
Package: agilent34970A__plugin
dripline.extensions.digitizer_logger:
Version: 0.0.0
Commit: ---
Package: digitizer_logger__plugin
dripline.extensions.entities_snapshotter:
Version: 0.0.0
Commit: ---
Package: entities_snapshotter__plugin
dripline.extensions.jitter:
Version: 0.0.0
Commit: ---
Package: driplineorg/controls-guide/jitter_plugin
Specifier:
Payload: null
Return Code: 200
Return Message: Unhandled request type: OP_CMD
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.