[dev] [en] Installation on cygwin

Goffi goffi at goffi.org
Lun 17 Sep 12:25:10 CEST 2012


Hey,

the D-Bus server is not running. I'm not sure how it works with Cygwin, but 
you can try the following command:

eval `dbus-launch --auto-syntax`

and launch SàT (and the frontends) from the same shell (or an other shell, but 
export the D-Bus environment variables).

I would be happy to have your feedbacks on Cygwin.

By the way, I'm planing to write a new universal installation script for the 
release.

Cheers
Goffi


Le dimanche 16 septembre 2012 11:19:22 souliane a écrit :
> Hey,
> 
> I'm trying to run sat on cygwin... pip is happy with the dependencies
> and managed to install the package.
> 
> But when I run it I got this error:
> 
> *********************************
> Init DBus...
> Unhandled Error
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/twisted/application/app.py",
> line 652, in run
>     runApp(config)
>   File "/usr/lib/python2.6/site-packages/twisted/scripts/twistd.py",
> line 23, in runApp
>     _SomeApplicationRunner(config).run()
>   File "/usr/lib/python2.6/site-packages/twisted/application/app.py",
> line 386, in run
>     self.application = self.createOrGetApplication()
>   File "/usr/lib/python2.6/site-packages/twisted/application/app.py",
> line 451, in createOrGetApplication
>     application = getApplication(self.config, passphrase)
> --- <exception caught here> ---
>   File "/usr/lib/python2.6/site-packages/twisted/application/app.py",
> line 462, in getApplication
>     application = service.loadApplication(filename, style, passphrase)
>   File "/usr/lib/python2.6/site-packages/twisted/application/service.py",
> line 405, in loadApplication
>     application = sob.loadValueFromFile(filename, 'application', passphrase)
> File "/usr/lib/python2.6/site-packages/twisted/persisted/sob.py", line 210,
> in loadValueFromFile
>     exec fileObj in d, d
>   File "/usr/lib/python2.6/site-packages/sat/sat.tac", line 32, in <module>
>     service = SAT()
>   File "/usr/lib/python2.6/site-packages/sat/core/sat_main.py", line
> 117, in __init__
>     self.bridge=DBusBridge()
>   File "/usr/lib/python2.6/site-packages/sat/bridge/DBus.py", line
> 490, in __init__
>     self.session_bus = dbus.SessionBus()
>   File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 211, in
> __new__ mainloop=mainloop)
>   File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 100, in
> __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
> File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 122, in __new__
> bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a
> dbus-daemon without a $DISPLAY for X11
> 
> Failed to load application: org.freedesktop.DBus.Error.NotSupported:
> Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
> *********************************
> 
> This is probably cygwin specific, but maybe you have an idea about what to
> do?
> 
> Cheers,
> Adrien
> 
> _______________________________________________
> dev mailing list
> dev at goffi.org
> http://lists.goffi.org/listinfo/dev



Plus d'informations sur la liste de diffusion dev