Failed to connect to socket bus

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am using schroot environment for run python 32 bit on 64 bit ubuntu 17.10 version.



(trusty_i386)root@sumonta-linux:/home# uname -a
Linux sumonta-linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 i686 i686 i686 GNU/Linux


My python script for skype connection checking not running and error given below. Anyone please suggens me what i amd doing wrong?



Error:



(trusty_i386)root@sumonta-linux:/home/PYTHON/Skype# python Skype_chat.py 
Traceback (most recent call last):
File "Skype_chat.py", line 42, in <module>
func_check()
File "Skype_chat.py", line 19, in func_check
skype = Skype4Py.Skype()
File "/usr/local/lib/python2.7/dist-packages/Skype4Py/skype.py", line 250, in __init__
self._Api = SkypeAPI(Options)
File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix.py", line 40, in SkypeAPI
return SkypeAPI(opts)
File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix_dbus.py", line 87, in __init__
self.bus = bus(mainloop=DBusGMainLoop())
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/dist-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.FileNotFound: Failed to connect to socket /run/user/0/bus: No such file or directory









share|improve this question

























    up vote
    0
    down vote

    favorite












    I am using schroot environment for run python 32 bit on 64 bit ubuntu 17.10 version.



    (trusty_i386)root@sumonta-linux:/home# uname -a
    Linux sumonta-linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 i686 i686 i686 GNU/Linux


    My python script for skype connection checking not running and error given below. Anyone please suggens me what i amd doing wrong?



    Error:



    (trusty_i386)root@sumonta-linux:/home/PYTHON/Skype# python Skype_chat.py 
    Traceback (most recent call last):
    File "Skype_chat.py", line 42, in <module>
    func_check()
    File "Skype_chat.py", line 19, in func_check
    skype = Skype4Py.Skype()
    File "/usr/local/lib/python2.7/dist-packages/Skype4Py/skype.py", line 250, in __init__
    self._Api = SkypeAPI(Options)
    File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix.py", line 40, in SkypeAPI
    return SkypeAPI(opts)
    File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix_dbus.py", line 87, in __init__
    self.bus = bus(mainloop=DBusGMainLoop())
    File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
    File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
    File "/usr/lib/python2.7/dist-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.FileNotFound: Failed to connect to socket /run/user/0/bus: No such file or directory









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am using schroot environment for run python 32 bit on 64 bit ubuntu 17.10 version.



      (trusty_i386)root@sumonta-linux:/home# uname -a
      Linux sumonta-linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 i686 i686 i686 GNU/Linux


      My python script for skype connection checking not running and error given below. Anyone please suggens me what i amd doing wrong?



      Error:



      (trusty_i386)root@sumonta-linux:/home/PYTHON/Skype# python Skype_chat.py 
      Traceback (most recent call last):
      File "Skype_chat.py", line 42, in <module>
      func_check()
      File "Skype_chat.py", line 19, in func_check
      skype = Skype4Py.Skype()
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/skype.py", line 250, in __init__
      self._Api = SkypeAPI(Options)
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix.py", line 40, in SkypeAPI
      return SkypeAPI(opts)
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix_dbus.py", line 87, in __init__
      self.bus = bus(mainloop=DBusGMainLoop())
      File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
      mainloop=mainloop)
      File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
      bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
      File "/usr/lib/python2.7/dist-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.FileNotFound: Failed to connect to socket /run/user/0/bus: No such file or directory









      share|improve this question













      I am using schroot environment for run python 32 bit on 64 bit ubuntu 17.10 version.



      (trusty_i386)root@sumonta-linux:/home# uname -a
      Linux sumonta-linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 i686 i686 i686 GNU/Linux


      My python script for skype connection checking not running and error given below. Anyone please suggens me what i amd doing wrong?



      Error:



      (trusty_i386)root@sumonta-linux:/home/PYTHON/Skype# python Skype_chat.py 
      Traceback (most recent call last):
      File "Skype_chat.py", line 42, in <module>
      func_check()
      File "Skype_chat.py", line 19, in func_check
      skype = Skype4Py.Skype()
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/skype.py", line 250, in __init__
      self._Api = SkypeAPI(Options)
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix.py", line 40, in SkypeAPI
      return SkypeAPI(opts)
      File "/usr/local/lib/python2.7/dist-packages/Skype4Py/api/posix_dbus.py", line 87, in __init__
      self.bus = bus(mainloop=DBusGMainLoop())
      File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
      mainloop=mainloop)
      File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
      bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
      File "/usr/lib/python2.7/dist-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.FileNotFound: Failed to connect to socket /run/user/0/bus: No such file or directory






      python playonlinux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 7 at 22:19









      Sumonta Naskar

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004033%2ffailed-to-connect-to-socket-bus%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004033%2ffailed-to-connect-to-socket-bus%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error

          How do I move numbers in filenames, in a batch renaming operation?