On Fri, 2019-04-05 at 12:57 +0200, Milan Crha wrote:
> The attached is a result of the files being processes
> through it, including slightly modified patch proposed earlier (it
> looks for python3 now, instead of python2).

        Hi,
I've been playing with this a bit more and there's an issue with
python3-twisted [1]. Once fixed, a similar issue rises with the
syncevo-http-server.py. The attached is an additional change to the
SyncEvolution, which removes that "import gobject", because it's not
used at that file at all. If you'd prefer to keep it there (like if
it's needed and I overlooked something), then you might change the
import to the smart one, like in src/dbus/server/pim/examples/sync.py,
where it reads:

   try:
       import gobject
   except ImportError:
       from gi.repository import GObject as gobject

   Hope it helps.
        Bye,
        Milan

   [1] https://bugzilla.redhat.com/show_bug.cgi?id=1712748
diff -up syncevolution-1.5.3/test/syncevo-http-server.py.imp-gobject syncevolution-1.5.3/test/syncevo-http-server.py
--- syncevolution-1.5.3/test/syncevo-http-server.py.imp-gobject	2019-05-21 17:35:12.463672604 +0200
+++ syncevolution-1.5.3/test/syncevo-http-server.py	2019-05-22 10:16:30.254545191 +0200
@@ -10,7 +10,6 @@ DBusGMainLoop(set_as_default=True)
 glib2reactor.install()
 
 import dbus
-import gobject
 import sys
 import urllib.parse
 import optparse
_______________________________________________
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to