Skip to content
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

a2aproxy dict instead of ConfigDict #8

Open
mdavidsaver opened this issue Jul 27, 2016 · 2 comments
Open

a2aproxy dict instead of ConfigDict #8

mdavidsaver opened this issue Jul 27, 2016 · 2 comments
Assignees
Labels

Comments

@mdavidsaver
Copy link
Contributor

Rory Clarke reports:

http://www.aps.anl.gov/epics/tech-talk/2016/msg01307.php

2016-07-26 13:53:40+0100 [HTTPChannel,0,148.79.212.92]
INFO:carchive.a2aproxy.resource Request: archiver.names(1, 'rga')
2016-07-26 13:53:40+0100 [HTTPChannel,0,148.79.212.92]
WARNING:carchive.a2aproxy.resource Cleanup of request with no
reply
2016-07-26 13:53:40+0100 [HTTPChannel,0,148.79.212.92] 148.79.212.92 - -
[26/Jul/2016:12:53:39 +0000] "POST /cgi-bin/ArchiveDataServer.cgi
HTTP/1.1" 500 - "-" "Python-xmlrpc/3.5"
2016-07-26 13:53:40+0100 [HTTPChannel,0,148.79.212.92]
ERROR:carchive.a2aproxy.resource Unhandled execption during request:
Traceback (most recent call last):
File
"/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in
render
return m(request)
File
"/usr/local/lib/python2.7/dist-packages/carchive/a2aproxy/resource.py",
line 106, in render_POST
Dinfo = self.fetchInfo()
File
"/usr/local/lib/python2.7/dist-packages/carchive/a2aproxy/resource.py",
line 73, in fetchInfo
D = getArchive({'url':self.infourl})
File
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1237,
in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099,
in _inlineCallbacks
result = g.send(result)
File
"/usr/local/lib/python2.7/dist-packages/carchive/backend/appl.py", line
208, in getArchive
maxRequests=conf.getint('maxrequests', 100))
exceptions.AttributeError: 'dict' object has no
attribute 'getint'

@mdavidsaver mdavidsaver self-assigned this Jul 27, 2016
@mdavidsaver
Copy link
Contributor Author

In 'carchive/a2aproxy/resource.py' I see that getArchive() is indeed being called with a dict instead of ConfigDict.

@mdavidsaver
Copy link
Contributor Author

Should be fixed by 78b3196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant