-
Notifications
You must be signed in to change notification settings - Fork 126
tox fails #370
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
Comments
Please modify Lib/slapdtest/_slapdtest.py at line 404 and replace Christian |
Related: python-ldap#370 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Thanks for the quick response!
I just started with LDAP at all yesterday, set up a server which works. Now, I tried to add data via this package, did not find a lot of documentation, had a look at Thanks for helping! |
|
The system service is irrelevant. The test suite is using a custom instance and custom configuration. Now please remove the |
|
Related: python-ldap#370 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Please try PR #371 and post the new stderr output of slapd. |
Just to be sure I am on your branch...
|
The stderr output starts with a line similar to |
I set a breakpoint to extract the message oO
|
complete output this time :-)
|
Hm... looks like test folders get created, but they have a different number part.
vs
Maybe this is not the right direction.. looks like the folders get removed after the test run - at least now. |
@tiran Thanks for your patience! If it would be of any help for you to speed up the debugging by having a remote session, please hit me up on Twitter with the same handle. Otherwise I try to follow your instructions. Unfortunately, I guess I am not a big help here otherwise. |
Related: #370 Signed-off-by: Christian Heimes <cheimes@redhat.com>
@azmeuk Thanks for pinging me. I am still facing errors when running tox.
I am not using On the other hand, if you or @tiran want to give it another shot, I am here to help. |
I'm seeing this too, although in a completely different context (no tox, my own project). It's like |
Not sure if this will help anyone, but I discovered the source of my problem was AppArmor. It has a policy that restricts |
omg :-) Awesome! @wesleyjellis Could you create a PR for the documentation? I just had a look in |
Same, I'd never looked at apparmor before this, but the fix for me was to install I'm not sure I have the time in the next couple of weeks to look into this, so someone else can grab it before me |
Maybe the solution to this issue is to write the apparmor trick in some piece of documentation? |
|
Thanks @wesleyjellis, this fixed this issue for me too. |
This is also a problem on Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008355,can resove this question |
Please describe the issue and your environment here.
I tried to run tox on my machine and it fails.
Steps to reproduce:
Operating system:
Ubuntu 18.04
Python version:
3.8.5
python-ldap version:
current master = 2e34d75
I am bit suspicious that my tests fail while Travis, which also runs tox via tox-travis works. :-(
I installed the dev dependencies as described in the installation guide:
Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: