You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking at how to make use your sdsss-archon calls for our project. I created a simple standalone simulator to work with my testing program for some commands provided by controller.py. While I was testing write_config(configFile), it failed
confifFile = 'TOPATH/shortConfig.acf'
await archon.write_config(configFile)
[Errno 2] No such file or directory: '/home/marvel/.config/sdss/archon/archon.yaml'
I looked at ~/anaconda3/lib/python3.9/site-packages/archon/controller/controller.py,
in async def write_config():
if is_file:
self.acf_loaded = os.path.realpath(input)
I believe that this a typo or bug, shall this to be "self._acf_loaded = os.path.realpath(input)"?
once I changed to "self._acf_loaded = os.path.realpath(input)",
await archon.write_config(configFile) passed OK
Can you confirm this? if this is right, please update your code
By the way
can we copy TOPATH/anaconda3/lib/python3.9/site-packages/archon/etc/archon.yml to
$HOME/.config/sdss/archon/archon.yaml
Regards
Xiaofeng
The text was updated successfully, but these errors were encountered:
Hello, adss-archon developer
[after "pip install sdss-archon"]
I am looking at how to make use your sdsss-archon calls for our project. I created a simple standalone simulator to work with my testing program for some commands provided by controller.py. While I was testing write_config(configFile), it failed
I looked at ~/anaconda3/lib/python3.9/site-packages/archon/controller/controller.py,
in async def write_config():
if is_file:
self.acf_loaded = os.path.realpath(input)
I believe that this a typo or bug, shall this to be "self._acf_loaded = os.path.realpath(input)"?
once I changed to "self._acf_loaded = os.path.realpath(input)",
await archon.write_config(configFile) passed OK
Can you confirm this? if this is right, please update your code
By the way
can we copy TOPATH/anaconda3/lib/python3.9/site-packages/archon/etc/archon.yml to
$HOME/.config/sdss/archon/archon.yaml
Regards
Xiaofeng
The text was updated successfully, but these errors were encountered: