Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #188851

Re: crash while using PyCharm / Python3

From "Adam" <adam@no_thanks.com>
Newsgroups alt.os.linux.ubuntu, comp.lang.python
Subject Re: crash while using PyCharm / Python3
Date 2016-03-22 14:52 -0700
Organization albasani.net
Message-ID <ncseq8$req$1@news.albasani.net> (permalink)
References (3 earlier) <ncpev8$51d$1@news.albasani.net> <ncpjj0$7ug$1@dont-email.me> <ncprqb$tl9$1@news.albasani.net> <ncq42h$b8v$1@news.albasani.net> <mp6dnaVAhbnh6GzLnZ2dnUU7-Y_NnZ2d@earthlink.com>

Cross-posted to 2 groups.

Show all headers | View raw


"Big Bad Bob" <BigBadBob-at-mrp3-dot-com@testing.local> wrote in message 
news:mp6dnaVAhbnh6GzLnZ2dnUU7-Y_NnZ2d@earthlink.com...
> On 03/21/16 17:23, Adam so wittily quipped:
>> "Adam" <adam@no_thanks.com> wrote in message
>> news:ncprqb$tl9$1@news.albasani.net...
>>>
>>> "Jonathan N. Little" <lws4art@gmail.com> wrote in message
>>> news:ncpjj0$7ug$1@dont-email.me...
>>>> Adam wrote:
>>>>> There ought to be a way to just reinstall the graphics subsystem 
>>>>> rather
>>>>> than
>>>>> an all-or-none installation approach.
>>>>
>>>> Yes you can. Did it for a borked install of the nVidia driver. 
>>>> reference
>>>> this:
>>>>
>>>> <https://wiki.ubuntu.com/X/Troubleshooting/VideoDriverDetection#Problem:_Need_to_purge_-fglrx>
>>>
>>> Thanks, even after doing the following...
>>>
>>> Problem: Need to purge -fglrx
>>>
>>> Typically, the following manual commands will properly uninstall -fglrx:
>>>
>>>  $ sudo apt-get remove --purge xorg-driver-fglrx fglrx*
>>>  $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri
>>> xserver-xorg-core
>>>  $ sudo dpkg-reconfigure xserver-xorg
>>>
>>> I still get that dreaded "The system is running in low-graphics mode"
>>> error.
>>> And, recovery mode failsafeX and Ctrl+Alt+F1 hangs with the following...
>>>
>>>    <more of the same>
>>> Initializing built-in extension MIT-SCREEN-SAVER
>>> Initializing built-in extension DOUBLE-BUFFER
>>> Initializing built-in extension RECORD
>>> Initializing built-in extension DPMS
>>> Initializing built-in extension Present
>>> Initializing built-in extension DRI3
>>> Initializing built-in extension X-Resource
>>> Initializing built-in extension XVideo
>>> Initializing built-in extension XVideo-MotionCompensation
>>> Initializing built-in extension SELinux
>>> Initializing built-in extension XFree86-VidModeExtension
>>> Initializing built-in extension XFree86-DGA
>>> Initializing built-in extension XFree86-DRI
>>> Initializing built-in extension DRI2
>>> Loading extension GLX
>>> <hangs here>
>>>
>>
>> After trying the following...
>>
>> http://askubuntu.com/questions/577093/how-to-install-gnome-desktop
>>
>> $ sudo apt-get update
>> $ sudo apt-get install gnome-shell
>>
>>
>> http://tipsonubuntu.com/2014/06/06/change-display-manager-ubuntu-14-04/
>>
>> $ sudo dpkg-reconfigure lightdm
>>
>> I am now able to login.  But,
>> not sure what happened to the "lightdm" display manager.
>> I am now using "gdm" display manager.
>
> if you're able to boot up by changing things *like* the display manager,
> you might want to take a look at the X11 configuration directly.  Adding
> "more cruft" to your system (i.e. gdm) isn't necessarily going to 'fix'
> a problem that's related to the X11 configuration.
>
> [it's one reason why I generally prefer to boot to command line rather
> than into a GUI for a typical linux install]
>
> as an example, you could save your xorg.conf file
>  /etc/X11/xorg.conf

No such file on my system.  Is it even needed ?


>
> and generate a new one, using 'xorg -configure' (as root).
>
> I'm guessing that when you installed the 'PyCharm' package, "some other
> dependent package" did something undesirable to your xorg.conf file.

I no longer think PyCharm / Python3 is the cause of the crash.
It was just a coincidence.

Search for "lightdm problem ubuntu 14.04"


>
> That would MOST CERTAINLY cause a hang during the desktop startup.

lightdm was failing.


>
> it might also be fixable by re-configuring your installed packages,
> rather than a full-blown re-install from scratch.
>
> dpkg-reconfigure -a
>
> [the man page warns "it may take a long time" - yeah, probably will]
>
>
> Keep in mind that adding gdm afterwards *might* have done the
> 'reconfigure' on the problem package(s) already.  So adding 'gdm'
> instead of whatever login manager you were using before [along with all
> of its dependent packages] would most likely have forced "the problem
> package" to re-configure.  That very well might have "fixed" the problem
> on its own.  So my suggestion here would be to remove this 'new' package
> and see if the problem comes back.  Most likely it won't.
>

Thanks, but it's working fine now.    :-)

Back to alt.os.linux.ubuntu | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-18 21:34 -0700
  Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 09:51 -0700
    Re: crash while using PyCharm / Python3 "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-03-21 18:33 +0100
      Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 11:05 -0700
      Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 11:36 -0700
        Re: crash while using PyCharm / Python3 "Jonathan N. Little" <lws4art@gmail.com> - 2016-03-21 15:58 -0400
          Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 15:15 -0700
            Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 17:23 -0700
              Re: crash while using PyCharm / Python3 "Jonathan N. Little" <lws4art@gmail.com> - 2016-03-21 22:58 -0400
                Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-22 00:41 -0700
                Re: crash while using PyCharm / Python3 "Jonathan N. Little" <lws4art@gmail.com> - 2016-03-22 09:10 -0400
                Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-22 14:52 -0700
                Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-05-03 12:33 -0700
              Re: crash while using PyCharm / Python3 Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2016-03-22 09:39 -0700
                Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-22 14:52 -0700
        Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 17:36 -0700
          Re: crash while using PyCharm / Python3 "Jonathan N. Little" <lws4art@gmail.com> - 2016-03-21 23:13 -0400
            Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-22 00:46 -0700
              Re: crash while using PyCharm / Python3 "Jonathan N. Little" <lws4art@gmail.com> - 2016-03-22 09:33 -0400
                Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-22 14:42 -0700
    Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-21 10:52 -0700
  Re: crash while using PyCharm / Python3 "Adam" <adam@no_thanks.com> - 2016-03-23 21:18 -0700

csiph-web