pyFreenet icon indicating copy to clipboard operation
pyFreenet copied to clipboard

freesitemgr update site fails when another site cannot be found

Open debbiedub opened this issue 2 years ago • 1 comments

When I do freesitemgr update site and there is another site whose directory is not availables, I get the following error message and the command fails:

Traceback (most recent call last):
  File "/usr/local/bin/freesitemgr", line 563, in <module>
    main()
  File "/usr/local/bin/freesitemgr", line 444, in main
    sitemgr = SiteMgr(*args, **opts)
  File "/usr/local/lib/python3.10/site-packages/fcp3/sitemgr.py", line 104, in __init__
    self.load()
  File "/usr/local/lib/python3.10/site-packages/fcp3/sitemgr.py", line 166, in load
    site = SiteState(
  File "/usr/local/lib/python3.10/site-packages/fcp3/sitemgr.py", line 503, in __init__
    raise Exception("Site %s, directory %s nonexistent" % (
Exception: Site t3, directory /home/debbiedub/test/t3 nonexistent

The problem is in pyFreenet-0.5.8 (freesitemgr 0.3.4).

debbiedub avatar Apr 10 '23 14:04 debbiedub

Is my understanding correct that the behavior you would expect is that it only matter whether the site you've specified doesn't exist?

Thynix avatar Jun 25 '23 00:06 Thynix