Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3
syncthing-gtk
syncthing-gtk-fix-config-read.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File syncthing-gtk-fix-config-read.patch of Package syncthing-gtk
--- a/syncthing_gtk/configuration.py +++ b/syncthing_gtk/configuration.py @@ -64,7 +64,7 @@ class _Configuration(object): self.load() except Exception, e: log.warning("Failed to load configuration; Creating new one.") - log.warning("Reason: %s", (e,)) + log.warning(b"Reason: %s", e) self.create() # Convert objects serialized as string back to object --- a/syncthing_gtk/daemon.py +++ b/syncthing_gtk/daemon.py @@ -333,11 +333,11 @@ class Daemon(GObject.GObject, TimerManag log.debug("Reading syncthing config %s", self._configxml) config = file(self._configxml, "r").read() except Exception, e: - raise InvalidConfigurationException("Failed to read daemon configuration: %s" % e) + raise InvalidConfigurationException(b"Failed to read daemon configuration: %s" % e) try: xml = minidom.parseString(config) except Exception, e: - raise InvalidConfigurationException("Failed to parse daemon configuration: %s" % e) + raise InvalidConfigurationException(b"Failed to parse daemon configuration: %s" % e) tls = "false" try: tls = xml.getElementsByTagName("configuration")[0] \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor