We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site = 'TRA', API = 'aspenone' serach with no wildcard works:
ims.search('TRA-35PT3601A.PV') [('TRA-35PT3601A.PV', 'Tog A gass innløp trykk')]
serach with wildcard does not:
ims.search("-35TI") Traceback (most recent call last): File "", line 1, in File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\clients.py", line 313, in search return self.handler.search(tag=tag, desc=desc, timeout=timeout) File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 411, in search description = self._get_tag_description(tagname) File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 461, in get_tag_description data = self.fetch(url, params=query) File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 146, in fetch return json.loads(txt) File "C:\Program Files\Python310\lib\json_init.py", line 346, in loads return _default_decoder.decode(s) File "C:\Program Files\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Program Files\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
tagreader 5.1.3
Sorry, something went wrong.
Er problem med ein tag 'TRA-35PT3016.PV#del', skal sjå om eg finn ein måte å omgå den på
No branches or pull requests
Site = 'TRA', API = 'aspenone'
serach with no wildcard works:
ims.search('TRA-35PT3601A.PV')
[('TRA-35PT3601A.PV', 'Tog A gass innløp trykk')]
serach with wildcard does not:
ims.search("-35TI")
Traceback (most recent call last):
File "", line 1, in
File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\clients.py", line 313, in search
return self.handler.search(tag=tag, desc=desc, timeout=timeout)
File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 411, in search
description = self._get_tag_description(tagname)
File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 461, in get_tag_description
data = self.fetch(url, params=query)
File "c:\Users\torlid\OneDrive - Equinor\Python\pyCmpr.venv\lib\site-packages\tagreader\web_handlers.py", line 146, in fetch
return json.loads(txt)
File "C:\Program Files\Python310\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: