-
Notifications
You must be signed in to change notification settings - Fork 91
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
Python error on server-side hook #2
Comments
Hi Sebastian, Check out the pull request as it allows access from the keychain. The /dev/tty hack may not work if with the hooks running server side. |
Sorry, I am not maintaining it (it was a temporary experiment for me). |
I was able to get around the SOAPpy problem by doing
However, now I"m running into |
Hi dlai0001, Is seems you have to set the loglevel yourself, around line 10 or something, to set it to INFO/DEBUG/etc. Hope that helps. |
Hi,
not sure anyone is still maintaining this project. I want to use the server-side hook to check against jira. When I enable the hook locally it works fine, when I try to push into the remote report I get the following error:
remote: /usr/lib/python2.6/site-packages/SOAPpy/wstools/XMLSchema.py:2641: DeprecationWarning: object.init() takes no parameters
remote: tuple.init(self, args)
remote: Traceback (most recent call last):
remote: File "hooks/update", line 619, in
remote: exit (main())
remote: File "hooks/update", line 74, in main
remote: return handle_update()
remote: File "hooks/update", line 185, in handle_update
remote: (jira_soap_client, jira_auth) = jira_start_session(jira_url)
remote: File "hooks/update", line 329, in jira_start_session
remote: auth = jira_login(jira_url, soap_client)
remote: File "hooks/update", line 349, in jira_login
remote: auth = jira_explicit_login(soap_client)
remote: File "hooks/update", line 388, in jira_explicit_login
remote: sys.stdin = open('/dev/tty', 'r')
remote: IOError: [Errno 6] No such device or address: '/dev/tty'
remote: error: hook declined to update refs/heads/master
Environment: server - OS: centos 6.3 (64 bit), python 2.6.6, client OS - Fedora 17 (64 bit), python 2.7.3
Appreciate if anyone could hint I went wrong.
regards,
Sebastian
The text was updated successfully, but these errors were encountered: