Skip to content

E501 error when using v10_client.v1_0_nslc_channels_list() #11

Description

@alexhutko

Not sure why, but trying to get channels runs into an error....

[seis@monitor TEMP_OCT13]$ ./get_channels_from_squac.py
check A, trying: v10_client.v1_0_nslc_channels_list()
Traceback (most recent call last):
File "./get_channels_from_squac.py", line 42, in
chans = v10_client.v1_0_nslc_channels_list()
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api/v1_0_api.py", line 4594, in v1_0_nslc_channels_list
(data) = self.v1_0_nslc_channels_list_with_http_info(**kwargs) # noqa: E501
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api/v1_0_api.py", line 4704, in v1_0_nslc_channels_list_with_http_info
collection_formats=collection_formats)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 333, in call_api
_preload_content, _request_timeout)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 172, in __call_api
return_data = self.deserialize(response_data, response_type)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 244, in deserialize
return self.__deserialize(data, response_type)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 261, in __deserialize
for sub_data in data]
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 261, in
for sub_data in data]
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 283, in __deserialize
return self.__deserialize_model(data, klass)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/api_client.py", line 629, in __deserialize_model
instance = klass(**kwargs)
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/models/read_only_channel_serializer.py", line 106, in init
self.name = name
File "/home/seis/anaconda3/lib/python3.6/site-packages/squacapi_client/models/read_only_channel_serializer.py", line 225, in name
raise ValueError("Invalid value for name, length must be greater than or equal to 1") # noqa: E501
ValueError: Invalid value for name, length must be greater than or equal to 1
[seis@monitor TEMP_OCT13]$

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions