-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
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
runSavedQueryByUrl only returns 34 results #158
Comments
Please help verify,
|
Not sure how I can verify either your #1 or #2 point, but I did verify that for the query URL I am using, in the web UI it says there are 170 results: Clone repo, checkout to release-0.6, pull.
Uninstall/reinstall pip package:
Run
Doing this will print out it is alot faster though, so the multithreading is there, maybe the multiple different threads handling the queries aren't getting combined and returned back to me correctly? |
if I run these same commands with my own rtcclient repo based on v6.0 without the multithreading addition, |
cc @casabre Multi-threading feature did lost some entries. Please help check and fix it. Thanks. |
@dixudx @MartinBarkerPhilips I am running the version Thus, I am not seeing any indication that the multi-threading itself could lead to wrong results. The routine just delegates the Out of the information, I am not sure if we are comparing apples and oranges because we are comparing version @MartinBarkerPhilips could you please validate your routine against |
I can check my query results using rtcclient v 0.7.0 , but I will probably have to make changes to the code because I am running an older version of rtcclient. |
but I am going to begin looking into this issue again, which to summarize is about getting multi-threading support for my older rtc version, because the current rtc query time is so so so long |
@casabre See the steps I ran below: download rtcclient v0.7.0 locally
install rtcclient v0.7.0 locally, verify version
I verify it says "rtcclient 0.7.0 c:\users\username\documents\repos\rtcclient0.7.0", so i have rtcclient v0.7.0 installedTest authenticating with rtcclient / prep setup
Got error:requests.exceptions.SSLError: HTTPSConnectionPool(host='rtcus1.ta.philips.com', port=443): Max retries exceeded with url: /ccm/authenticated/identity (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:997)'))) Edit file "rtcclient0.7.0/rtcclient/base.py"add the following code before line 77
|
Try to see whether this works. pip install --force-reinstall git+https://github.com/dixudx/[email protected] |
@MartinBarkerPhilips Please try latest version 0.8.0. Thanks. |
Facing a problem where when I run a query from a URL I only get at max 34 responses.
Is there a different way to run rtc queries with multithreading? If I try this method:
my query url is for 200+ results, but only ever returns 34 in my query_results list
am i doing something wrong? tried to follow the instructions in the docs https://rtcclient.readthedocs.io/en/0.6.0/quickstart.html#query-workitems-by-saved-query-url
The text was updated successfully, but these errors were encountered: