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
After installing synapse-client on a fresh install Debian Squeezy 6.0, I was getting this error when testing on localhost:
Traceback (most recent call last):
File "/usr/bin/synapse-client", line 5, in<module>
from syncli import main
File "/usr/lib/pymodules/python2.6/syncli/main.py", line 4, in<module>
from syncli.config import get_config_path
File "/usr/lib/pymodules/python2.6/syncli/config.py", line 45, in<module>
config.read(get_config_path('synapse-client.conf'))
File "/usr/lib/python2.6/ConfigParser.py", line 281, inreadforfilenamein filenames:
TypeError: 'NoneType' object is not iterable
Fixed:
In this file
/usr/lib/pymodules/python2.6/syncli/config.py
synapse-client searches for the config file, in the "/etc/synapse" directory,
exactely on line 33:
etc_path=join("/etc/synapse", filename)
which is wrong. The correct path on Debian is "/etc/synapse-client", so updating the line with
etc_path=join("/etc/synapse-client", filename)
It works fine.
-Shaps
The text was updated successfully, but these errors were encountered:
After installing synapse-client on a fresh install Debian Squeezy 6.0, I was getting this error when testing on localhost:
Fixed:
In this file
synapse-client searches for the config file, in the "/etc/synapse" directory,
exactely on line 33:
which is wrong. The correct path on Debian is "/etc/synapse-client", so updating the line with
It works fine.
-Shaps
The text was updated successfully, but these errors were encountered: