Getting error when I click on models in mlflow - sqlite

I am using SQLite as back-end for ml-flow and I have registered a model. I got registered successful as output. but whenever I click on models I am getting below error. Not sure why I am getting this.
INVALID_PARAMETER_VALUE: Invalid clause(s) in filter string: 'name', 'ilike', ''%%''. Expected search filter with single comparison operator. e.g. name='myModelName'

This seems to be a bug in an earlier version of the sqlparse module. I had the same problem. Updated:
sqlparse==0.3.1 (was 0.3.0)
SQLAlchemy==1.3.13 (was 1.3.3)
and it solved the problem.

Related

How to locate the method using an error message string?

I would like to know where is this error code located in the AOT. Would like to know the path to understand the structure and develop custom code.
Transaction has been selected, for settlement, although settlement type: none was selected
I generally use one of two methods to locate message strings.
Provided the cross reference is updated (it should be in dev) use the "Label editor" to to search for then string, see this answer.
Put a breakpoint in top of info.add method, disable CIL if needed, then rerun to get the error message invoking the debugger, see this answer.

HPQC 12.53 - Error While Raising a Defect From a Failed Test Step

I am getting the following error while trying to raise a defect for a failed test step: "Object reference not set to an instance of an object".
This error is observed from all test cases that were uploaded using ALM Excel Add In. But for any other test cases that were manually created this error is not observed.
We are using HPQC 12.53 version. HP ALM Add In is also for version 12.53.
I have checked the Registry value per this link's suggestion (https://community.hpe.com/t5/Quality-Center-ALM-Practitioners/Object-reference-not-set-to-an-instance-of-an-object-quot-QC-to/td-p/5711671), however, the relevant registry already has the correct value.
Hoping for any help.
I've found the reason of the above error message. When testers uploaded test cases using HP's Excel Add In, a required field called "Type" was left to have no value. Surprising part for me was that HPQC didn't have any complaint about the empty Type field and happily uploaded test cases. The problem arose when these test cases were executed from test lab and the null reference error message was thrown.
If 'Type' is empty, you can fill in 'Manual' for manual test case using Find & replace functionality. It should work fine.

RStudio errors: "In .HTMLsearch(query) : Unrecognized search field:"

The following errors pop up whenever I use the search box in the Help tab - but notably only when the search does not match any functions in any loaded packages. Furthermore, the errors do not show until I enter something else in the R Console. So for example I type xxxxxx or cbinddd in the Help search box, and press Enter. The search might yield some approximate results or not. But no error. Then I enter anything into the Console, say, print("x") or whatever, and these show up, always all three:
Warning messages:
1: In .HTMLsearch(query) : Unrecognized search field: title
2: In .HTMLsearch(query) : Unrecognized search field: keyword
3: In .HTMLsearch(query) : Unrecognized search field: alias
It started back when RStudio had a bug where help would open in browser by default (Q&A), but the next update fixed that. The 'Search Results' page would not show initially, but updating R itself fixed that too; but now I have these weird "delayed" errors. I tried reinstalling R and RStudio, changing the help options in .Rprofile.site, tried setting options("help_type" = "text") and to NULL, nothing seems to help. Note that entering ?xxxxx and ??xxxxx do not produce these errors.
Seems like an uncommon problem, since googling the error or parts of it yields no useful results. How do I fix it?
Update: I have R 3.2.2 and RStudio 0.99.486, running on 64bit Windows 8.1, if that helps.
Update 2: The .Rprofile file is not the culprit.
Updade 3: The error is due to a bug in RStudio, which will hopefully be fixed at some point (cf. comments for details). As such, this question does no longer need an answer. -> Answered it, since this page still gets hits.
Since this QA still comes up as the no. 1 match for the query "In .HTMLsearch(query) : Unrecognized search field:" in Google, I'm just going to leave this here: apparently (as of July 2016, v0.99.902 ), this behaviour, bug or not, still occurs, when you press enter in the Search field to string that does not immediately get an automatic match. Search works, but when you press Enter the next time in the Console, then those warnings appear. According to RStudio support they are working on it (or at least were). So the answer is, there's nothing you can do about it until they fix/change it (but it's really a minor inconvenience that does not affect your code, just the IDE usage).
This behaviour can be caused by a search you did previously (even in a previous session) that doesn't get a match. In my case, it occurred because I was looking (in RStudio Help) for a function in a library that was loaded in the previous session, but isn't loaded when I started this session. If it annoys you, just click the home button in the search window of RStudio.

Either 'GDI', 'WPF' or 'SILVERLIGHT' must be defined how to remove this error?

I have been working on a project in Visual Studio, C# language and I found an error described above. How can I remove this error?
"Either 'GDI', 'WPF' or 'SILVERLIGHT' must be defined"
Open the project properties for the project that throws the error (Alt+Enter in VS Solution Explorer), go to the Build tab and enter the symbol you want into the "Conditional compilation symbols" field. Enter one of the three values.
It seems the value got lost. I cannot tell you which value got lost. Check one of the other PDFsharp projects (I hope not all projects lost their symbols).

Custom dictionary is not working in endeca

I am trying to add a custom dictionary in stemming but found no luck.
Steps I tried:
1) I have added the following lines in /config/script/DataIngest.xml:
<dgidx id="Dgidx" host-id="ITLHost">
<args>
.....
<arg>--stemming-updates</arg>
<arg>C:/Endeca/Apps/CRS/config/script/stemmingExtension.en.xml</arg>
</args>
</dgidx>
And added following lines in stemmingExtension.en.xml:
<word_forms_collection_updates>
<WORD_FORMS>
<WORD_FORM>shuts</WORD_FORM>
<WORD_FORM>shirts</WORD_FORM>
</WORD_FORMS>
</word_forms_collection_updates>
Ran a baseline update and then tried to search for "shuts" and expected to get "shirts" results, but not.
What's the correct way of setting up custom dictionary words in stemming?
Thanks in advance for your help.
Basavaraj
What version of the etl salience component are you using? I remember of a similar bug in oeid 3.0 bundle, and unluckily the answer is that the component used in clover etl doesn't call the appropriate method from java's api to get the stemmed word. You can build a mockup, directly calling java api's, to see the different methods used
For Endeca 3.1.2 version, try adding it to /MDEX/<version>/conf/stemming/en_word_forms_collection.xml (for English)
Example:
<WORD_FORMS_COLLECTION>
...
<WORD_FORMS>
<WORD_FORM>shuts</WORD_FORM>
<WORD_FORM>shirts</WORD_FORM>
</WORD_FORMS>
<WORD_FORMS_COLLECTION>

Resources