Skip to content

Python error on server-side hook #2

@sebbes

Description

@sebbes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions