We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

Failed to execute accumulator server in Orion

asked 2017-10-24 09:55:34 +0200

kazuki urabe gravatar image

Hello,

I would like to create the subscription using Docker(http://fiware-orion.readthedocs.io/en/develop/user/walkthrough_apiv2/#subscriptions).

However, the accumulator-server.py returned typeerror as bellow:


scripts]# ./accumulator-server.py --port 1028 --url /accumulate --host ::1 --pretty-print -v
verbose mode is on
port: 1028
host: ::1
server_url: /accumulate
pretty: True
https: False
Traceback (most recent call last):
  File "./accumulator-server.py", line 142, in <module>
    print "key file: " + key_file
TypeError: cannot concatenate 'str' and 'NoneType' objects
 

How can I execute it or create subscription without accumulator-server.py?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2017-12-11 12:09:03 +0200

ddmitrii gravatar image

Hi! Accumulator server was fixed (see changes in master branch: https://github.com/telefonicaid/fiwar...).

edit flag offensive delete link more

Comments

Thank you!!

kazuki urabe gravatar imagekazuki urabe ( 2018-01-10 06:40:54 +0200 )edit
0

answered 2017-10-24 17:24:38 +0200

arigliano gravatar image

Accumulator-serve.py is a test script for developers to test the context-broker, so you don't need it to run it and create subscriptions.

edit flag offensive delete link more
0

answered 2017-11-30 15:55:10 +0200

Matteo Fracassetti gravatar image

To start the accumulator server (for testing purpose, as arigliano said) add something like "--key none --cert none" to your command line. Seems there is a bug in the script which requires this values to be defined even if https in not enabled.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-24 09:55:34 +0200

Seen: 2,842 times

Last updated: Oct 24 '17