Project

General

Profile

Bug #22033

poms_client: get_campaign_id 500 error

Added by Yuyi Guo 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/01/2019
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Traceback (most recent call last):
File "/Users/yuyi2/PycharmProjects/project-py/bin/poms_cli.py", line 200, in <module>
poms_client.get_campaign_id(args.campaign, test=args.test, user=my_username, experiment=my_experiment)
File "/Users/yuyi2/PycharmProjects/poms/poms_client/python/poms_client.py", line 70, in get_campaign_id
configfile=configfile)
File "/Users/yuyi2/PycharmProjects/poms/poms_client/python/poms_client.py", line 478, in make_poms_call
raise RuntimeError( "POMS call %s error: HTTP status: %d\n%s" % ( method, status_code, res ))
RuntimeError: POMS call get_campaign_id error: HTTP status: 500
Traceback (most recent call last):
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 630, in respond
self._do_respond(path_info)
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 689, in _do_respond
response.body = self.handler()
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/lib/encoding.py", line 221, in call
self.body = self.oldhandler(*args, **kwargs)
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/lib/jsontools.py", line 58, in json_handler
value = cherrypy.serving.request._json_inner_handler(*args, **kwargs)
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in call
return self.callable(*self.args, **self.kwargs)
File "/home/poms/poms_releases/current/poms/poms/webservice/logit.py", line 18, in wrapper
return function(*args, **kwargs)
TypeError: get_campaign_id() got an unexpected keyword argument 'experiment'

History

#1 Updated by Stephen White 11 months ago

  • Assignee set to Vladimir Podstavkov

Correct poms_client error -- maybe a server error.

#2 Updated by Marc Mengel 11 months ago

Works if you don't pass experiment=whatever

Removing optional experiment argument.

#3 Updated by Marc Mengel 11 months ago

  • % Done changed from 0 to 100
  • Assignee changed from Vladimir Podstavkov to Marc Mengel
  • Status changed from New to Resolved

#4 Updated by Yuyi Guo 11 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF