Re: crash while using PyCharm / Python3

2016-05-03 Thread Adam

"Jonathan N. Little"  wrote in message 
news:ncqc7j$na1$1...@dont-email.me...
> Adam wrote:
>> "Adam"  wrote in message
>> news:ncprqb$tl9$1...@news.albasani.net...
>>>
>>> "Jonathan N. Little"  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:

 
>>>
>>> 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...
>>>
>>> 
>>> 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
>>> 
>>>
>>
>> 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
>
> Not sure about ATI, but when you purge the nVidia driver it takes Unity 
> with it so I had to reinstall unity-desktop afterwards. If you want 
> lightdm but are now using gdm, maybe it happened because unity-desktop was 
> uninstalled and you just installed gnome-shell, your can reset:
>
> sudo dpkg-reconfigure gdm
>
> and select lightdm from the list.
>

Today, I tried to switch from gdm back to lightdm and
still encountered the "The system is running in low-graphics mode" problem 
until I found...

NumLock Key ON...
http://ubuntuforums.org/showthread.php?t=2218111

grumblebum2 provided the fix in post #9...

For NumLock key ON (in Ubuntu 14.04), add...

greeter-setup-script=/usr/bin/numlockx on

to/usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
(not/etc/lightdm/lightdm.conf, which I deleted since there were no other 
settings)


>
> -- 
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-04-02 Thread Daniel Wilcox
Hi Adam, from my mail client sent to python-list directly -- actually
attempting to reply to the OP in the past has generated some weirdness and
bounced messages (probably Gmail attempting to stop me from replying-all
with the OP in the TO line rather than the list.  But the behavior you
mentioned is quite odd.

Here are some message headers I was just looking at, and pasting here to
debug.

1 - Adam (OP)

Message-ID: 

no references

list vars included

2 - from me
Message-ID: 

Re: crash while using PyCharm / Python3

2016-03-23 Thread Adam

"Adam"  wrote in message 
news:ncikss$tks$1...@news.albasani.net...
>
> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>
> System crashed while using PyCharm / Python3.
> Booting takes forever and stuck at the purple screen with
> the Ubuntu logo and the five dots cycling.
> How to fix?
>

Searching for this thread in a browser lead to
the code.activestate.com website where
I see posts from Daniel Wilcox.
But, in my newsreader, I do not see his posts,
which is why his posts are not getting any response.
Daniel, how/where are you responding to this thread?


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Adam

"Jonathan N. Little"  wrote in message 
news:ncrg2v$jo$2...@dont-email.me...
> Adam wrote:
>> Thanks, but why fix if it ain't broke?:-)
>
> No reason to.

Yup, I agree.


>
> -- 
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Adam

"Big Bad Bob"  wrote in message 
news:mp6dnavahbnh6gzlnz2dnuu7-y_nn...@earthlink.com...
> On 03/21/16 17:23, Adam so wittily quipped:
>> "Adam"  wrote in message
>> news:ncprqb$tl9$1...@news.albasani.net...
>>>
>>> "Jonathan N. Little"  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:

 
>>>
>>> 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...
>>>
>>>
>>> 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
>>> 
>>>
>>
>> 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.:-)


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Big Bad Bob
On 03/21/16 17:23, Adam so wittily quipped:
> "Adam"  wrote in message 
> news:ncprqb$tl9$1...@news.albasani.net...
>>
>> "Jonathan N. Little"  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:
>>>
>>> 
>>
>> 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...
>>
>>
>> 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
>> 
>>
> 
> 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

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.

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

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.


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Daniel Wilcox
Now as for *why* you needed to reinstall your graphics driver... did the
graphics driver get updated before the crash?  Or do we think something in
the java runtime for PyCharm ate libglx or friends?

I did find this PyCharm crash in which Java ate itself -- though didn't eat
any library files (as that is *very* special) -- going on out a limb here
maybe the crash was something like this, sans the markdown plugin:
https://github.com/nicoulaj/idea-markdown/issues/247


7f7b38dd9000 r-xp  08:06 926862
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f7b38dd9000-7f7b38fd8000 ---p 00015000 08:06 926862
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f7b38fd8000-7f7b38fda000 r--p 00014000 08:06 926862
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f7b38fda000-7f7b38fdb000 rw-p 00016000 08:06 926862
/usr/lib/x86_64-linux-gnu/libxcb-glx.s

So some xcb libraries do get mapped -- but that doesn't say much really --
after all paging a library in shouldn't lead to writing to it, corrupting
it -- but copy-on-write and all that crap... so maybe.

Also from some quick reading on XCD it doesn't sound like it has anything
to do with initializing the graphics system, which is still GLX+Xlib's
job.  So whether this could even affect you at startup isn't clear to me.

https://xcb.freedesktop.org/opengl/

Late to the party but glad to hear everything worked out.  It's been
literally a decade since I worried about having working 3d graphics in
Linux, so nouveau for me.  Cheers!


On Tue, Mar 22, 2016 at 6:10 AM, Jonathan N. Little 
wrote:

> Adam wrote:
>
>> Thanks, but why fix if it ain't broke?:-)
>>
>
> No reason to.
>
>
> --
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Jonathan N. Little

Adam wrote:

Thanks, but why fix if it ain't broke?:-)


No reason to.

--
Take care,

Jonathan
---
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Adam

"Jonathan N. Little"  wrote in message 
news:ncqd2d$pab$1...@dont-email.me...
> Adam wrote:
>> Sure glad I did not reinstall Ubuntu.  Whew!!
>
> Unless you really-really-really screw things up, you usually do not have 
> to. Linux is not Windows ;-) Even if you had to, with /home on its own 
> partition a reinstall would not have been an issue, you just have to 
> choose the "Something Else" on partitioning and only format the "/" and 
> set the "/home" partition mount point and NOT FORMAT it.

I would have to install additional apps all over again.  Ick!!


>
> A tip: If you use gparted or e2label and give partitions labels. Makes 
> moving partitions and data easier...
>
> sda1 "12.04-root"
> sda5 "old-home"
>
> sdb1 "14.04-root"
> sdb5 "new-home"

Thanks, I'll keep this in mind.


>
> So from a live session when I mount both drives it is easy to keep things 
> straight when I copy my profiles from old drive on sda to new drive with 
> newer version of Ubuntu on sdb...
>
> -- 
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-22 Thread Adam

"Jonathan N. Little"  wrote in message 
news:ncqc7j$na1$1...@dont-email.me...
> Adam wrote:
>> "Adam"  wrote in message
>> news:ncprqb$tl9$1...@news.albasani.net...
>>>
>>> "Jonathan N. Little"  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:

 
>>>
>>> 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...
>>>
>>> 
>>> 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
>>> 
>>>
>>
>> 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
>
> Not sure about ATI, but when you purge the nVidia driver it takes Unity 
> with it so I had to reinstall unity-desktop afterwards. If you want 
> lightdm but are now using gdm, maybe it happened because unity-desktop was 
> uninstalled and you just installed gnome-shell, your can reset:
>
> sudo dpkg-reconfigure gdm
>
> and select lightdm from the list.
>

Thanks, but why fix if it ain't broke?:-)


>
> -- 
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little

Adam wrote:

Sure glad I did not reinstall Ubuntu.  Whew!!


Unless you really-really-really screw things up, you usually do not have 
to. Linux is not Windows ;-) Even if you had to, with /home on its own 
partition a reinstall would not have been an issue, you just have to 
choose the "Something Else" on partitioning and only format the "/" and 
set the "/home" partition mount point and NOT FORMAT it.


A tip: If you use gparted or e2label and give partitions labels. Makes 
moving partitions and data easier...


sda1 "12.04-root"
sda5 "old-home"

sdb1 "14.04-root"
sdb5 "new-home"

So from a live session when I mount both drives it is easy to keep 
things straight when I copy my profiles from old drive on sda to new 
drive with newer version of Ubuntu on sdb...


--
Take care,

Jonathan
---
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little

Adam wrote:

"Adam"  wrote in message
news:ncprqb$tl9$1...@news.albasani.net...


"Jonathan N. Little"  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:




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...


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




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


Not sure about ATI, but when you purge the nVidia driver it takes Unity 
with it so I had to reinstall unity-desktop afterwards. If you want 
lightdm but are now using gdm, maybe it happened because unity-desktop 
was uninstalled and you just installed gnome-shell, your can reset:


sudo dpkg-reconfigure gdm

and select lightdm from the list.


--
Take care,

Jonathan
---
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Adam"  wrote in message 
news:ncpev8$51d$1...@news.albasani.net...
>
> "Dirk T. Verbeek"  wrote in message 
> news:56f03080$0$5924$e4fe5...@news.xs4all.nl...
>> Op 21-03-16 om 17:51 schreef Adam:
>>> "Adam"  wrote in message
>>> news:ncikss$tks$1...@news.albasani.net...

 Host OS:Ubuntu Desktop 14.04 LTS / Unity

 System crashed while using PyCharm / Python3.
 Booting takes forever and stuck at the purple screen with
 the Ubuntu logo and the five dots cycling.
 How to fix?

>>>
>>> So, I tried Ubuntu repair methods suggested here...
>>>
>>> How to Fix an Ubuntu System When It Won't Boot
>>> http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
>>> GRUB Boot Loader is accessible but using the recovery mode did not help.
>>> It hangs with "Loading extension GLX" but I forget which command I used.
>>>
>>> Then, I tried to...
>>>
>>> Reinstall Ubuntu While Keeping Files and Programs
>>>
>>> but, I am instead given the following options...
>>> ===
>>> This computer currently has Ubuntu 14.04.4 LTS on it.  What would you 
>>> like
>>> to do?
>>>
>>> - Erase Ubuntu 14.04.4 LTS and reinstall
>>>  Warning: This will delete all your Ubuntu 14.04.4 LTS programs,
>>> documents, photos...
>>> - Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
>>>  Documents, music, and other personal files will be kept.  You can 
>>> choose
>>> which operating system...
>>> - Erase disk and install Ubuntu
>>> - Something else
>>> ===
>>>
>>> Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is 
>>> the
>>> safest ?
>>>
>>>
>> It's easy to do a reinstall without wiping documents and application 
>> configurations/settings PROVIDING you have a separate / (root) and /home 
>> partition.
>>
>> During partition you select Manual partitioning and assign the existing 
>> partitions being VERY careful to NOT format the existing /home.
>>
>> But / where the OS and all applications reside will need to be 
>> formatted/deleted/overwritten.
>
> I guess I can do something like...
>
> $ dpkg --get-selections \*|awk '{print $1}'>~/package_list
> $ cat ~/package_list|sudo xargs -l1 aptitude reinstall
>
> to reinstall packages that were installed after installing Ubuntu.
>
> There ought to be a way to just reinstall the graphics subsystem rather 
> than
> an all-or-none installation approach.
>

Sure glad I did not reinstall Ubuntu.  Whew!!


>
>>
>> Keeping the configuration on your /home might cause the old error to be 
>> included in the new install...
>>
>> Although, you error seems to be the system, not the applications.
>
> 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Adam"  wrote in message 
news:ncprqb$tl9$1...@news.albasani.net...
>
> "Jonathan N. Little"  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:
>>
>> 
>
> 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...
>
>
> 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
> 
>

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.


>
>>
>> -- 
>> Take care,
>>
>> Jonathan
>> ---
>> LITTLE WORKS STUDIO
>> http://www.LittleWorksStudio.com
>
> 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Jonathan N. Little"  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:
>
> 

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-xorgI 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...


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



>
> -- 
> Take care,
>
> Jonathan
> ---
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little

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:




--
Take care,

Jonathan
---
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Dirk T. Verbeek"  wrote in message 
news:56f03080$0$5924$e4fe5...@news.xs4all.nl...
> Op 21-03-16 om 17:51 schreef Adam:
>> "Adam"  wrote in message
>> news:ncikss$tks$1...@news.albasani.net...
>>>
>>> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>>>
>>> System crashed while using PyCharm / Python3.
>>> Booting takes forever and stuck at the purple screen with
>>> the Ubuntu logo and the five dots cycling.
>>> How to fix?
>>>
>>
>> So, I tried Ubuntu repair methods suggested here...
>>
>> How to Fix an Ubuntu System When It Won't Boot
>> http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
>> GRUB Boot Loader is accessible but using the recovery mode did not help.
>> It hangs with "Loading extension GLX" but I forget which command I used.
>>
>> Then, I tried to...
>>
>> Reinstall Ubuntu While Keeping Files and Programs
>>
>> but, I am instead given the following options...
>> ===
>> This computer currently has Ubuntu 14.04.4 LTS on it.  What would you 
>> like
>> to do?
>>
>> - Erase Ubuntu 14.04.4 LTS and reinstall
>>  Warning: This will delete all your Ubuntu 14.04.4 LTS programs,
>> documents, photos...
>> - Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
>>  Documents, music, and other personal files will be kept.  You can 
>> choose
>> which operating system...
>> - Erase disk and install Ubuntu
>> - Something else
>> ===
>>
>> Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is the
>> safest ?
>>
>>
> It's easy to do a reinstall without wiping documents and application 
> configurations/settings PROVIDING you have a separate / (root) and /home 
> partition.
>
> During partition you select Manual partitioning and assign the existing 
> partitions being VERY careful to NOT format the existing /home.
>
> But / where the OS and all applications reside will need to be 
> formatted/deleted/overwritten.

I guess I can do something like...

$ dpkg --get-selections \*|awk '{print $1}'>~/package_list
$ cat ~/package_list|sudo xargs -l1 aptitude reinstall

to reinstall packages that were installed after installing Ubuntu.

There ought to be a way to just reinstall the graphics subsystem rather than
an all-or-none installation approach.


>
> Keeping the configuration on your /home might cause the old error to be 
> included in the new install...
>
> Although, you error seems to be the system, not the applications. 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Dirk T. Verbeek"  wrote in message 
news:56f03080$0$5924$e4fe5...@news.xs4all.nl...
> Op 21-03-16 om 17:51 schreef Adam:
>> "Adam"  wrote in message
>> news:ncikss$tks$1...@news.albasani.net...
>>>
>>> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>>>
>>> System crashed while using PyCharm / Python3.
>>> Booting takes forever and stuck at the purple screen with
>>> the Ubuntu logo and the five dots cycling.
>>> How to fix?
>>>
>>
>> So, I tried Ubuntu repair methods suggested here...
>>
>> How to Fix an Ubuntu System When It Won't Boot
>> http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
>> GRUB Boot Loader is accessible but using the recovery mode did not help.
>> It hangs with "Loading extension GLX" but I forget which command I used.
>>
>> Then, I tried to...
>>
>> Reinstall Ubuntu While Keeping Files and Programs
>>
>> but, I am instead given the following options...
>> ===
>> This computer currently has Ubuntu 14.04.4 LTS on it.  What would you 
>> like
>> to do?
>>
>> - Erase Ubuntu 14.04.4 LTS and reinstall
>>  Warning: This will delete all your Ubuntu 14.04.4 LTS programs,
>> documents, photos...
>> - Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
>>  Documents, music, and other personal files will be kept.  You can 
>> choose
>> which operating system...
>> - Erase disk and install Ubuntu
>> - Something else
>> ===
>>
>> Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is the
>> safest ?
>>
>>
> It's easy to do a reinstall without wiping documents and application 
> configurations/settings PROVIDING you have a separate / (root) and /home 
> partition.

Yes, I have a separate /home partition.


>
> During partition you select Manual partitioning and assign the existing 
> partitions being VERY careful to NOT format the existing /home.
>
> But / where the OS and all applications reside will need to be 
> formatted/deleted/overwritten.
>
> Keeping the configuration on your /home might cause the old error to be 
> included in the new install...
>
> Although, you error seems to be the system, not the applications.

I think it's a system issue as well.  The problem happened almost right 
after
creating a python3 virtual environment using PyCharm.
There were two checkboxes (both "Inherit global site-packages" and
"Make available to all projects" were checked).
Can this be the problem ? 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Adam"  wrote in message 
news:ncp8r1$ofd$1...@news.albasani.net...
>
> "Adam"  wrote in message 
> news:ncikss$tks$1...@news.albasani.net...
>>
>> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>>
>> System crashed while using PyCharm / Python3.
>> Booting takes forever and stuck at the purple screen with
>> the Ubuntu logo and the five dots cycling.
>> How to fix?
>>
>
> So, I tried Ubuntu repair methods suggested here...
>
> How to Fix an Ubuntu System When It Won't Boot
> http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
> GRUB Boot Loader is accessible but using the recovery mode did not help.
> It hangs with "Loading extension GLX" but I forget which command I used.

I remember now, failsafeX and Ctrl+Alt+F1 from here...
http://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error

But, still getting "The system is running in low-graphics mode" error.  How 
to fix?
The problem does not appear to be due to low disk space.
At least, it's no longer stuck at the purple screen with
the Ubuntu logo and the five dots cycling.
So, I will hold off reinstalling Ubuntu for now.


>
> Then, I tried to...
>
> Reinstall Ubuntu While Keeping Files and Programs
>
> but, I am instead given the following options...
> ===
> This computer currently has Ubuntu 14.04.4 LTS on it.  What would you like 
> to do?
>
> - Erase Ubuntu 14.04.4 LTS and reinstall
>Warning: This will delete all your Ubuntu 14.04.4 LTS programs, 
> documents, photos...
> - Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
>Documents, music, and other personal files will be kept.  You can 
> choose which operating system...
> - Erase disk and install Ubuntu
> - Something else
> ===
>
> Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is the 
> safest ?
> 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Dirk T. Verbeek

Op 21-03-16 om 17:51 schreef Adam:

"Adam"  wrote in message
news:ncikss$tks$1...@news.albasani.net...


Host OS:Ubuntu Desktop 14.04 LTS / Unity

System crashed while using PyCharm / Python3.
Booting takes forever and stuck at the purple screen with
the Ubuntu logo and the five dots cycling.
How to fix?



So, I tried Ubuntu repair methods suggested here...

How to Fix an Ubuntu System When It Won't Boot
http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
GRUB Boot Loader is accessible but using the recovery mode did not help.
It hangs with "Loading extension GLX" but I forget which command I used.

Then, I tried to...

Reinstall Ubuntu While Keeping Files and Programs

but, I am instead given the following options...
===
This computer currently has Ubuntu 14.04.4 LTS on it.  What would you like
to do?

- Erase Ubuntu 14.04.4 LTS and reinstall
 Warning: This will delete all your Ubuntu 14.04.4 LTS programs,
documents, photos...
- Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
 Documents, music, and other personal files will be kept.  You can choose
which operating system...
- Erase disk and install Ubuntu
- Something else
===

Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is the
safest ?


It's easy to do a reinstall without wiping documents and application 
configurations/settings PROVIDING you have a separate / (root) and /home 
partition.


During partition you select Manual partitioning and assign the existing 
partitions being VERY careful to NOT format the existing /home.


But / where the OS and all applications reside will need to be 
formatted/deleted/overwritten.


Keeping the configuration on your /home might cause the old error to be 
included in the new install...


Although, you error seems to be the system, not the applications.
--
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-21 Thread Adam

"Adam"  wrote in message 
news:ncikss$tks$1...@news.albasani.net...
>
> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>
> System crashed while using PyCharm / Python3.
> Booting takes forever and stuck at the purple screen with
> the Ubuntu logo and the five dots cycling.
> How to fix?
>

So, I tried Ubuntu repair methods suggested here...

How to Fix an Ubuntu System When It Won't Boot
http://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/
GRUB Boot Loader is accessible but using the recovery mode did not help.
It hangs with "Loading extension GLX" but I forget which command I used.

Then, I tried to...

Reinstall Ubuntu While Keeping Files and Programs

but, I am instead given the following options...
===
This computer currently has Ubuntu 14.04.4 LTS on it.  What would you like 
to do?

- Erase Ubuntu 14.04.4 LTS and reinstall
Warning: This will delete all your Ubuntu 14.04.4 LTS programs, 
documents, photos...
- Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS
Documents, music, and other personal files will be kept.  You can choose 
which operating system...
- Erase disk and install Ubuntu
- Something else
===

Perhaps, "Install Ubuntu 14.04.4 LTS alongside Ubuntu 14.04.4 LTS" is the 
safest ? 


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: crash while using PyCharm / Python3

2016-03-19 Thread Daniel Wilcox
>
> Host OS:Ubuntu Desktop 14.04 LTS / Unity
>
> System crashed while using PyCharm / Python3.
> Booting takes forever and stuck at the purple screen with
> the Ubuntu logo and the five dots cycling.
> How to fix?
>

First off your machine not booting isn't really Python related.  Python may
have managed to trigger a kernel panic or other fault - causing the
reboot.  Python isn't usually used during the boot up process so it
wouldn't have anything to do with the computer not starting.

Most likely you'll want to talk with folks on an Ubuntu forum but you will
definitely need to gather more information.  Press 'Esc' at that screen and
write down with the last messages printed.

The most relevant questions that comes to mind:

Have you rebooted recently and/or did your machine run any updates before
that reboot?
(reasoning: if the kernel, initrd, systemd or other boot related processes
were updated and that is causing issues you would notice until the next
reboot)
Do you use any experimental file systems? Btrfs ring a bell?  (if you
didn't go out of your way to do this -- don't worry about it)

Possible remedy:
When you reboot the computer you should get a menu for a few seconds
offering various boot options -- you can an arrow key to stop the timeout
and use Enter to select.  You can try another kernel on that menu and see
if you get a different result -- most distributions will keep a fallback or
older kernel option around, especially after an upgrade. (it's been awhile
since I used Ubuntu so I'm a touch fuzzy on what the recovery options
should look like)

Best of luck, there are a lot of possible causes for how your machine might
have crashed though most of them wouldn't prevent it from booting
subsequently (which led me to think an upgrade might have bitten you).  Let
me know the error messages you collect I might have an idea but generally
the Ubuntu forums would be the best place to look (after you have some
clues as to why it isn't booting).

Cheers,

-D
-- 
https://mail.python.org/mailman/listinfo/python-list


crash while using PyCharm / Python3

2016-03-18 Thread Adam

Host OS:Ubuntu Desktop 14.04 LTS / Unity

System crashed while using PyCharm / Python3.
Booting takes forever and stuck at the purple screen with
the Ubuntu logo and the five dots cycling.
How to fix?


-- 
https://mail.python.org/mailman/listinfo/python-list