justincpresley / ndn-hydra

ndn-hydra: A Python-coded NDN distributed repository with five focused attributes: resiliency, scalability, usability, efficiency, and security.
Apache License 2.0
3 stars 7 forks source link

NameError: name 'rgs' is not defined #21

Closed yoursunny closed 3 years ago

yoursunny commented 3 years ago

Environment

Steps to reproduce

root@4c4540439250:/# ndn-hydra-repo -rp /hydra -n $(hostname -s) -s $RANDOM
Traceback (most recent call last):
  File "/usr/local/bin/ndn-hydra-repo", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/ndn_hydra/repo/main/main.py", line 154, in main
    cmd_args = process_cmd_opts()
  File "/usr/local/lib/python3.9/site-packages/ndn_hydra/repo/main/main.py", line 80, in process_cmd_opts
    args = parse_cmd_opts()
  File "/usr/local/lib/python3.9/site-packages/ndn_hydra/repo/main/main.py", line 73, in parse_cmd_opts
    rgs["logging_path"] = "{workpath}/session.log".format(workpath=workpath)
NameError: name 'rgs' is not defined
justincpresley commented 3 years ago

Minor Typo that caused this error and the other one.

Silly me...