conv2QualifierStruct: LoadQualifier failed!
Brought to you by:
ergorion
Hi, respectable developer. The following question is met by me and another guy on the stackoverflow. I don't have much details but only:
conv2QualifierStruct: LoadQualifier failed!
above is the error text it gave. It happens once a while. For more please refer to the question:
pyars issue when get data from remedy database
. It is guessed that this is caused by unstable connection to the db of ARS.
If anyone is out of this problem, please give some help, which is tryly appreciated.
Anonymous
Unfortunately, you give little details for the call itself. e.g. It is unclear, how schema, query and fields are set. In addition, the erARS class does not contain a _db_login method. If you are using this method to just login to the database, then it is obvious that GetListEntryWithFields will fail, because it needs a connection to the Action Request System server. But you write, that sometimes it works, sometimes it does not.
Please provide more details so that I can try to answer your question. Axel
The last response was my answer to the question on stack overflow that you quoted.
Still, I cannot help you with this little information...
Axel
Very much appreciate your response here. I will give my code in part as below:
First, the below two lines of code try to log into the server and use a method to retrieve the Issues.
Then it goes to the method it calls, which has only one line, returning the result given by another method.
Below gives another mehtod it uses:
Then as I said, the error itself only occurs from time to time, so I will give the error info later.
Last edit: elubrtowone 2019-01-14
I also hit this issue sometimes and i am sure my usage has no issue.
backtrace:
(entries, num) = ars.GetListEntryWithFields(schema, query, fields, None)
File "c:\users\admini~1\appdata\local\temp\easy_install-x_sfek\pyars-1.8.2-py2.7-win32.egg.tmp\pyars\erars.py", line 3546, in GetListEntryWithFields
File "c:\users\admini~1\appdata\local\temp\easy_install-x_sfek\pyars-1.8.2-py2.7-win32.egg.tmp\pyars\erars.py", line 470, in conv2QualifierStruct
pyars.erars.ARError: An WARNING (0) occured: None
I haven 't used pyARS in a while. If I remember correctly, the server sometimes -- surpsisingly -- raised this warning.
Can't you catch the exception, and simply retry the call?
Hope this helps...