Closed magnus919 closed 10 years ago
Can you try the latest commit for the apiv2 branch? Should solve that issue and other introduced by that commit.
I'm also testing it mysqlg as much as I can to avoid that mistake again.
Thanks for the feedback!!
Different error:
Traceback (most recent call last):
File "./foo", line 5, in
I see two things here, those extra parameters and the fact that I'm missing the *json files in the stup.py when building the package, I'll fix them today or tomorrow. Is it blocking you anyhow?
No, not a blocker. Thank you for the concern, though. My Python-fu is a little young at heart right now but I have some good use for this module when this passes. Thanks so much!
Ok, fixed the issues, can you give it another try? (you'll have to manually remove the rpm, as the version has not changed)
Success!
Thanks for solving this!
Trying out the latest python-foreman from github (0.2) against Foreman 1.5.0, interactively inside of ipython and python 2.7:
In [1]: from getpass import getpass
In [2]: from foreman.client import Foreman
In [3]: f = Foreman('https://foreman.example.com/', ('username', getpass()))
Password:
ForemanVersionException Traceback (most recent call last)