-
Notifications
You must be signed in to change notification settings - Fork 106
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
pip install pyhs2 is not installing the latest master branch? #61
Comments
Have you had any luck with this? I've been experiencing the same issue and haven't been able to find anything aside from this on the subject |
Are you referring to the |
@mkmoisen well, they are sort of intertwined since pip is installing a slightly different version than the repo. I am getting the same error when I try to use fetchmany(). |
@anshanno Got it. I ended up uninstalling it from pip, cloning the latest git repo Best regards, Matthew Moisen |
@mkmoisen Alright, thanks. What is the best practice for using .fetchmany()? |
@anshanno I actually gave up on This library also uses string instead of unicode, which caused me some errors with Flask/Jinja templates. I've raised another pull request for that. My application is a simple read only app. My general flow is the following. I use a thread to obtain a connection to the Database, because I noticed that when HS2 is down, it hangs for a long time. If the thread exceed a certain time limit I'll throw an exception to fail gracefully.
|
This is still an issue with whatever source is being used on PyPI. The git master branch works fine, but not the source on PyPI. |
@kpweiler Do you mean to say that this is a known issue with all repos, not just this one? |
If I issue a
cur.fetchmany(i)
, it fails withI can see in this repo that the code has been changed to
if size < 0 or size > self.MAX_BLOCK_SIZE:
However, the version installed by pip doesn't have the
self
and it is throwing this error.Is there a mismatch between this repo and pip?
The text was updated successfully, but these errors were encountered: