telehash / plinth

Python Library for InterNetworking with TeleHash
MIT License
26 stars 8 forks source link

wrong seeds.json format? hash_name=seed['hashname'] #4

Open groovehunter opened 10 years ago

groovehunter commented 10 years ago

Seems it cannot interpret the seeds.json ? Could you guide with that please.

i use https://github.com/quartzjer/telehash-seeds/blob/619dbeb4ea8280af6a437e509e8ef49b5d7469b5/seeds.json

 File "./examples/seed.py", line 66, in <module>
    run_seed(keyfile=keyfile, seedfile=seedfile, port=args.port)
  File "./examples/seed.py", line 46, in run_seed
    seed.serve_forever()
  File "/srv/projektstuff/prog/python/plinth/local/lib/python2.7/site-packages/gevent/baseserver.py", line 282, in serve_forever
    self.start()
  File "/srv/projektstuff/prog/python/plinth/local/lib/python2.7/site-packages/plinth/core.py", line 45, in start
    seed_id = SwitchID(hash_name=seed['hashname'],
TypeError: string indices must be integers