What can cause gnome-shell/gnome-tweaks to fail?












0














Ubuntu 18.10, python3.7.1, GNOME Tweaks, etc. installed.



Could installing a source build of python3.7.1 cause this issue? And how to debug?



I have tried a number of different ways to repair gnome-shell problems to no effect.
From the google-chrome extensions plugin: I see:




Unable to locate GNOME Shell settings or version. Make sure it is installed and running.




And if I try:



/usr/bin/python3 /usr/bin/gnome-shell


I see:



  File "/usr/bin/gnome-shell", line 1
SyntaxError: Non-ASCII character 'xfc' in file /usr/bin/gnome-shell on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


And attempting to launch 'GNOME Tweaks' fails:



   sudo /usr/bin/gnome-tweaks
(gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
WARNING : Shell not installed or running
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
raise Exception("Shell not running or DBus service not available")
...


And:



sudo /usr/bin/gnome-tweaks


Gives:



(gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
WARNING : Shell not installed or running
WARNING : Error detecting shell
Traceback .....


Purging and reinstalling gnome-shell and 'GNOME Tweaks' does not help. And



sudo apt-get install ubuntu-gnome-desktop


didn't help.



I also tried:



sudo gnome-shell --replace


which caused the display to blink, but didn't help either.



Any thoughts?










share|improve this question





























    0














    Ubuntu 18.10, python3.7.1, GNOME Tweaks, etc. installed.



    Could installing a source build of python3.7.1 cause this issue? And how to debug?



    I have tried a number of different ways to repair gnome-shell problems to no effect.
    From the google-chrome extensions plugin: I see:




    Unable to locate GNOME Shell settings or version. Make sure it is installed and running.




    And if I try:



    /usr/bin/python3 /usr/bin/gnome-shell


    I see:



      File "/usr/bin/gnome-shell", line 1
    SyntaxError: Non-ASCII character 'xfc' in file /usr/bin/gnome-shell on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


    And attempting to launch 'GNOME Tweaks' fails:



       sudo /usr/bin/gnome-tweaks
    (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
    WARNING : Shell not installed or running
    WARNING : Error detecting shell
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
    raise Exception("Shell not running or DBus service not available")
    ...


    And:



    sudo /usr/bin/gnome-tweaks


    Gives:



    (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
    WARNING : Shell not installed or running
    WARNING : Error detecting shell
    Traceback .....


    Purging and reinstalling gnome-shell and 'GNOME Tweaks' does not help. And



    sudo apt-get install ubuntu-gnome-desktop


    didn't help.



    I also tried:



    sudo gnome-shell --replace


    which caused the display to blink, but didn't help either.



    Any thoughts?










    share|improve this question



























      0












      0








      0


      1





      Ubuntu 18.10, python3.7.1, GNOME Tweaks, etc. installed.



      Could installing a source build of python3.7.1 cause this issue? And how to debug?



      I have tried a number of different ways to repair gnome-shell problems to no effect.
      From the google-chrome extensions plugin: I see:




      Unable to locate GNOME Shell settings or version. Make sure it is installed and running.




      And if I try:



      /usr/bin/python3 /usr/bin/gnome-shell


      I see:



        File "/usr/bin/gnome-shell", line 1
      SyntaxError: Non-ASCII character 'xfc' in file /usr/bin/gnome-shell on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


      And attempting to launch 'GNOME Tweaks' fails:



         sudo /usr/bin/gnome-tweaks
      (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      WARNING : Shell not installed or running
      WARNING : Error detecting shell
      Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
      raise Exception("Shell not running or DBus service not available")
      ...


      And:



      sudo /usr/bin/gnome-tweaks


      Gives:



      (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      WARNING : Shell not installed or running
      WARNING : Error detecting shell
      Traceback .....


      Purging and reinstalling gnome-shell and 'GNOME Tweaks' does not help. And



      sudo apt-get install ubuntu-gnome-desktop


      didn't help.



      I also tried:



      sudo gnome-shell --replace


      which caused the display to blink, but didn't help either.



      Any thoughts?










      share|improve this question















      Ubuntu 18.10, python3.7.1, GNOME Tweaks, etc. installed.



      Could installing a source build of python3.7.1 cause this issue? And how to debug?



      I have tried a number of different ways to repair gnome-shell problems to no effect.
      From the google-chrome extensions plugin: I see:




      Unable to locate GNOME Shell settings or version. Make sure it is installed and running.




      And if I try:



      /usr/bin/python3 /usr/bin/gnome-shell


      I see:



        File "/usr/bin/gnome-shell", line 1
      SyntaxError: Non-ASCII character 'xfc' in file /usr/bin/gnome-shell on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


      And attempting to launch 'GNOME Tweaks' fails:



         sudo /usr/bin/gnome-tweaks
      (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      WARNING : Shell not installed or running
      WARNING : Error detecting shell
      Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
      raise Exception("Shell not running or DBus service not available")
      ...


      And:



      sudo /usr/bin/gnome-tweaks


      Gives:



      (gnome-tweaks:25453): GLib-GIO-CRITICAL **: 15:29:44.666: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      WARNING : Shell not installed or running
      WARNING : Error detecting shell
      Traceback .....


      Purging and reinstalling gnome-shell and 'GNOME Tweaks' does not help. And



      sudo apt-get install ubuntu-gnome-desktop


      didn't help.



      I also tried:



      sudo gnome-shell --replace


      which caused the display to blink, but didn't help either.



      Any thoughts?







      gnome-shell python3 gnome-tweak-tool






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 6 at 7:25









      pomsky

      28.2k1185112




      28.2k1185112










      asked Dec 5 at 22:47









      JoelParke

      1014




      1014



























          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f1098791%2fwhat-can-cause-gnome-shell-gnome-tweaks-to-fail%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098791%2fwhat-can-cause-gnome-shell-gnome-tweaks-to-fail%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei