Re: How to clean up Python in Fedora 38

2023-09-05 Thread Michael Hannon
I think that the suggestions offered so far (environments, etc.) are all
very good, but another approach is to use the Anaconda distribution of
Python:

https://www.anaconda.com/

I use this distribution precisely to avoid any mixups with the Python files
that come with the OS distribution.  Note that the use of the Anaconda
version of Python doesn't preclude the use of pip, Python environments, etc.


On Mon, Sep 4, 2023 at 10:25 PM Javier Perez  wrote:

> Thanks.
> I used plain pip, no sudo stuff.
> Time to hunt the . directories.
> Thanks!
>
> On Mon, Sep 4, 2023 at 11:08 AM Jonathan Billings 
> wrote:
>
>> On Sep 4, 2023, at 11:35, Javier Perez  wrote:
>> > I installed Pycharm to learn python, installed some libraries using
>> pip, totally sure I must have screwed up something although I have not felt
>> the effect yet.
>> >
>> > My question is, how can I go back to default without reinstalling my
>> whole linux setup from scratch? This is also my personal computer and I am
>> sure there are customizations even I forgot I set up in general. It would
>> be kind of a pain.
>> > I know I cannot delete totally Python because linux uses it heavily
>> nowadays.
>> >
>> > My goal is to delete whatever was installed through pip and stick to
>> packages from the repositories and reinstall a programming environment in a
>> reasoned, less haphazzard/ad hoc way.
>>
>> Did you use ‘sudo pip install …’ or just pip as your regular user?
>> Because if you just used your regular user, it’s most likely sitting in a
>> directory in ~/.local/lib/python3.*  and you can just delete everything in
>> there and not affect the OS packages.
>>
>> If you used sudo, most likely it’s all in /usr/local/lib/python3.* and
>> /usr/local/share/python3.* but it might be worth running ‘rpm -Va python*’
>> and reinstall any packages that fail checksum verification.
>>
>> If you want to play with pip I really suggest leaning to love Python
>> virtual environments (the venv module) since they are really good for
>> containing everything in a directory.  If you must use sudo pip, check out
>> podman container toolbox to keep it from breaking your OS.  Container
>> toolboxes might not work with your IDE though, I tend to use emacs so I’ve
>> never had a problem.
>>
>> --
>> Jonathan Billings
>> ___
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>> Fedora Code of Conduct:
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives:
>> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>> Do not reply to spam, report it:
>> https://pagure.io/fedora-infrastructure/new_issue
>>
>
>
> --
> --
>  /\_/\
>  |O O|  pepeb...@gmail.com
>   Javier Perez
>    While the night runs
>    toward the day...
>   m m   Pepebuho watches
> from his high perch.
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Recommendations for python libs installs for my user

2021-11-09 Thread Michael Hannon
Another approach is to install Anaconda Python, which is then
completely orthogonal to the system libraries:

https://www.anaconda.com/products/individual

On Tue, Nov 9, 2021 at 4:22 AM George N. White III  wrote:
>
> On Tue, 9 Nov 2021 at 06:59, Frederic Muller  wrote:
>>
>> Hi!
>>
>> I did post about some issues with my libraries (and it seems, the way I
>> install them) with F34.
>>
>>
>> So, I have a brand new "untouched" F35 under my fingers and configuring
>> things for myself. Only me uses that machine. There is only 1 user.
>>
>> Now I use Python for some development and.. for myself. A few libraries
>> are not part of the Python packages included in Fedora and I was
>> wondering how to install them. I used to do pip3 install --user
>> python-lib but ended up with some issues. Not sure if I can use a
>> virtual environment and set it up as default for my logged in user.
>>
>> What do you guys recommend? I'm ready to try! :-P
>
>
> pip has added warnings to head off the too common problems of
> people doing "sudo pip install" and breaking Python apps.
>
> I like to install problematic libraries to a location outside existing python
> paths, and then adjust sys.path in my scripts.  That way I know exactly
> what the script needs.when I come back to it a few years later.
>
> --
> George N. White III
>
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Radio silence?

2014-08-13 Thread Michael Hannon
Hi, Rolf.  I noticed the dearth of message, but I just got yours.

-- Mike

On Wed, Aug 13, 2014 at 3:52 PM, Rolf Turner r.tur...@auckland.ac.nz wrote:


 This is really a test message.  I have received nothing today from the
 Fedora list.  Has the list gone down?

 cheers,

 Rolf Turner

 --
 Rolf Turner
 Technical Editor ANZJS
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Brother HL-5250DN duplex printing: loves me, loves me not, ...

2014-07-02 Thread Michael Hannon
Thanks, Hugh.  I enabled the repo, as per your (untested) suggestion,
did the yum update, and voila, I got duplex printing.  This was
success with only one document, and if the update is going to break
other things, it hasn't had time to do that.  But things look very
good so far.  Thanks again.

-- Mike

On Wed, Jul 2, 2014 at 12:11 AM, D. Hugh Redelmeier h...@mimosa.com wrote:
 | From: D. Hugh Redelmeier h...@mimosa.com

 | Please sign up for bz 1035090 and whine :-)
 | That may increase the priority for backporting the already-fixed
 | pdftops.

 New alternative: try my COPR.  I've assembled a version of poppler
 that seems to fix the problem.  And be compatible with the rest of
 F20.

 See http://copr.fedoraproject.org/coprs/hugh/poppler-fix-f20/

 I'd love feedback.
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Brother HL-5250DN duplex printing: loves me, loves me not, ...

2014-05-19 Thread Michael Hannon
Greetings.  I've got a brother HL-5250DN printer on my local network, and it
is *currently* not doing duplex printing under Fedora 20.

I've seen discussions of a similar problem in various places.  The responses to
the problem seem to fall into several categories:

(1) Duplex printing must be *enabled* on the printer before it will print
duplex.

(2) Some printers are not well-supported under linux.  You should check the
Open Printing database (or similar).

(3) Get the printer driver from Brother.

Regarding (1), the duplex option *is* enabled on the printer, and it *does*
print in duplex from Windows and Mac systems (and others -- see below).

Regarding (2), the printer printed in duplex just fine through various
versions of Fedora, up through Fedora 18 (the last version I had installed
prior to Fedora 20).  Furthermore, it prints duplex just fine from an Ubuntu
14.04 system that I have running in VirtualBox on my Fedora machine.  In all
cases the duplex printing capability happened without my having to expend any
brain power at all on the issue: it just worked.

Regarding (3), I've tried that, but it didn't appear to help.

So far as I can tell, my problems are pretty similar to those reported by
other people.  One possibly novel thing: I noticed, without paying close
attention, that some of the recent updates to Fedora 20 have been
CUPS-related.  That motivated me to roll the dice and try duplex printing
again.  And shazam!  It worked!

If that were the end of the story, I wouldn't bother to tell it.  The printer
once again does *not* print duplex.  I'm assuming that the problem must have
been fixed by one CUPS-related upgrade and broken again by a later one.  Here
are the candidates:

# rpm -qa --last | grep -i cups
cups-filters-1.0.53-2.fc20.x86_64 Thu 15 May 2014 11:48:18 AM PDT
cups-filters-libs-1.0.53-2.fc20.x86_64Thu 15 May 2014 11:48:15 AM PDT
bluez-cups-5.18-1.fc20.x86_64 Fri 02 May 2014 12:18:41 PM PDT
cups-1.7.2-1.fc20.x86_64  Wed 30 Apr 2014 11:41:06 AM PDT
cups-libs-1.7.2-1.fc20.x86_64 Wed 30 Apr 2014 11:40:45 AM PDT
cups-filesystem-1.7.2-1.fc20.noarch   Wed 30 Apr 2014 11:40:45 AM PDT
python-cups-1.9.65-1.fc20.x86_64  Sat 15 Mar 2014 03:09:34 PM PDT
gutenprint-cups-5.2.9-14.fc20.x86_64  Mon 23 Dec 2013 11:23:50 PM PST
cups-pk-helper-0.2.5-2.fc20.x86_64Mon 23 Dec 2013 11:08:33 PM PST

Unfortunately, as I said, I wasn't paying close attention to the timing of the
not-work/work/not-work cycle, so I can't shed any more light on the problem.
If you can, I'd love to hear from you.

BTW, the driver I'm using is:

Brother HL-5250DN Foomatic/Postscript

and it *does* have the duplex printing option enabled:

Double-sided printing: Long Edge (standard)

Thanks.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Change locale globally (f20)?

2013-12-26 Thread Michael Hannon
Great.  Thanks, Tom.

-- Mike


On Wed, Dec 25, 2013 at 7:46 PM, Tom H tomh0...@gmail.com wrote:

 On Wed, Dec 25, 2013 at 11:51 PM, Michael Hannon
 jmhannon.ucda...@gmail.com wrote:
 
  Greetings.  I evidently did not pay enough attention when I recently
  installed Fedora 20 on my desktop system, as my system appears to be set
 for
  the GB locale.  E.g.,
 
  $ env | grep LANG
  LANG=en_GB.utf8
  GDM_LANG=en_GB.utf8
 
  Likewise, the following:
 
  $ cd /etc
  $ find . -type f -exec grep GB {} /dev/null \;
 
  gets a gazillion hits.
 
  This leads to some undesirable behaviour/behavior.  My spell checker
  (hunspell) was using British spellings, for instance.
 
  I've mitigated the problem by adding:
 
  LANG=en_US.utf8
  export LANG
 
  to my .bash_profile, but I wonder if there's some way to change the
 setting
  globally, i.e., from GB... to US...   Any thoughts?  Thanks.

 localectl set-locale LANG=en_US.UTF-8
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Change locale globally (f20)?

2013-12-25 Thread Michael Hannon
Greetings.  I evidently did not pay enough attention when I recently
installed Fedora 20 on my desktop system, as my system appears to be set
for the GB locale.  E.g.,

$ env | grep LANG
LANG=en_GB.utf8
GDM_LANG=en_GB.utf8

Likewise, the following:

$ cd /etc
$ find . -type f -exec grep GB {} /dev/null \;

gets a gazillion hits.

This leads to some undesirable behaviour/behavior.  My spell checker
(hunspell) was using British spellings, for instance.

I've mitigated the problem by adding:

LANG=en_US.utf8
export LANG

to my .bash_profile, but I wonder if there's some way to change the setting
globally, i.e., from GB... to US...   Any thoughts?  Thanks.

--Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Use firewall-cmd to filter by MAC address?

2013-12-21 Thread Michael Hannon
Greetings. In a previous version of Fedora I had iptables rules of the
form:

-A INPUT -p tcp --destination-port 25 -m mac --mac-source \
AA:BB:CC:DD:EE:FF -j ACCEPT

in order to accept email only from selected local systems.

I've just installed Fedora 20, and I'm trying to implement the same kind of
thing using:

firewall-cmd

but I've been unable to figure out how to do this. Any thoughts?

Thanks,

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f18 replacement for KEYTABLE, SYSFONT?

2013-02-02 Thread Michael Hannon
Jorge Martínez López jorg...@gmail.com wrote:


 2013/2/2 Michael Hannon jm_han...@yahoo.com:
 Greetings.  I just did a fedup upgrade from f17 to f18.  The
 system is now up and running, mostly just fine, but I did notice a brief
 warning message during boot to the effect that KEYTABLE is deprecated.

 I've seen some mention of this on the web, and it appears that a
 solution MIGHT be to replace the word KEYTABLE with the word KEYMAP in
 the appropriate place or places.  In another place I've seen it suggested
 that there are TWO changes that are required:

 KEYTABLE -- vconsole.keymap
 SYSFONT  -- vconsole.font

 I do see the term KEYTABLE in one place in my /boot partition:

 # pwd
 /boot

 # find . -type f -exec grep -i keytable {} /dev/null \;
 ./efi/EFI/redhat/grub.conf:    kernel /vmlinuz-3.7.4-204.fc18.x86_64
 rd.md=0 rd.lvm=0 rd.dm=0 root=UUID=20ccc8f9-c293-4fba-888d-fd54f476d36a 
 KEYTABLE=us acpi=off noapic SYSFONT=True rd.luks=0 ro LANG=en_US.UTF-8
 rhgb quiet nouveau.modeset=0 rd.driver.blacklist=nouveau
 .
 .
 .

 It would be easy enough to edit grub.conf to substitute vconsole.keymap (or
 KEYMAP?) for KEYTABLE and vconsole.font (or FONT?) for SYSFONT.  Is that
 the right thing to do?  And/or is there anything else that needs to happen?


 You need to make the changes in /etc/default/grub, and then update the
 Grub configuration. If you make the changes in /boot they will be
 overwritten the next time you update the kernel.

 So,
 1. Make the changes in /etc/default/grub
 2. Run grub2-mkconfig -o /boot/efi/EFI/redhat/grub.conf (--- only UEFI
 systems)

 And that's it!

Thanks, Jorge.  That's very helpful.  Unfortunately, it appears that the fedup
procedure doesn't provide the file /etc/default/grub, but I did find some
words about creating one at:

    http://fedoraproject.org/wiki/FedUp#Updating_GRUB_.28UEFI_systems.29

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


f18 replacement for KEYTABLE, SYSFONT?

2013-02-01 Thread Michael Hannon
Greetings.  I just did a fedup upgrade from f17 to f18.  The system is now
up and running, mostly just fine, but I did notice a brief warning message
during boot to the effect that KEYTABLE is deprecated.

I've seen some mention of this on the web, and it appears that a solution
MIGHT be to replace the word KEYTABLE with the word KEYMAP in the appropriate
place or places.  In another place I've seen it suggested  that there are TWO
changes that are required:

    KEYTABLE -- vconsole.keymap
    SYSFONT  -- vconsole.font

I do see the term KEYTABLE in one place in my /boot partition:

# pwd
/boot

# find . -type f -exec grep -i keytable {} /dev/null \;
./efi/EFI/redhat/grub.conf:    kernel /vmlinuz-3.7.4-204.fc18.x86_64 rd.md=0
rd.lvm=0 rd.dm=0 root=UUID=20ccc8f9-c293-4fba-888d-fd54f476d36a  KEYTABLE=us
acpi=off noapic SYSFONT=True rd.luks=0 ro LANG=en_US.UTF-8 rhgb quiet
nouveau.modeset=0 rd.driver.blacklist=nouveau
.
.
.

It would be easy enough to edit grub.conf to substitute vconsole.keymap (or
KEYMAP?) for KEYTABLE and vconsole.font (or FONT?) for SYSFONT.  Is that the
right thing to do?  And/or is there anything else that needs to happen?

Thanks.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Problem with nvidia driver for latest f17 kernel

2013-01-31 Thread Michael Hannon
Greetings.  It appears that I don't have an nvidia kernel module for the
latest kernel for f17.  Please see the appended for some details about my
system.

The system boots fine into run-level 3 with the latest kernel, but it hangs
forever when I try to boot into run-level 5.

Fortunately, the system also boots fine into run-level 5 with the penultimate
kernel, which I'm using at the moment.

I installed the *kmod-nvidia stuff shortly after f17 appeared, and I've been
happily sleep-walking through kernel updates ever since.  Now I've been rudely
awakened.

I've rebooted the system several times, on the theory that one of the *kmod
packages would notice the version mismatch and compile a new module.  That
hasn't happened so far.

Maybe I'm missing something obvious.  Any comments?  Thanks.

-- Mike


# cat /proc/version 
Linux version 3.6.11-5.fc17.x86_64
(mockbu...@bkernel01.phx2.fedoraproject.org) (gcc version 4.7.2 20120921 (Red
Hat 4.7.2-2) (GCC) ) #1 SMP Tue Jan 8 21:40:51 UTC 2013

# /sbin/lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GF116 [GeForce GTX 550
Ti] (rev a1)

# rpm -qa | grep -i nvidia
xorg-x11-drv-nvidia-304.64-3.fc17.x86_64
nvidia-xconfig-1.0-20.fc17.x86_64
xorg-x11-drv-nvidia-libs-304.64-3.fc17.x86_64
kmod-nvidia-3.6.11-1.fc17.x86_64-304.64-1.fc17.6.x86_64
nvidia-settings-1.0-22.fc17.x86_64
akmod-nvidia-304.64-1.fc17.x86_64
kmod-nvidia-3.6.11-5.fc17.x86_64-304.64-1.fc17.7.x86_64

latest installed kernel = vmlinuz-3.7.3-101.fc17.x86_64
kernel currently in use = vmlinuz-3.6.11-5.fc17.x86_64
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Symbolic computation on Fedora

2012-09-16 Thread Michael Hannon

At the moment I am short on time, so cannot experiment with sage.  That
said, Fedora has a long standing packaging effort for SAGE[1].  It seems
to me sage needs a TeXLive-like distribution model to be not so
intimidating for new users.  This however does not make the effort
required to include it in Linux distribution respositories any simpler.

I'll try compiling my own in a few weeks when I have some more time and
report back.


Hi, Suvayu.  It's possible I was just lucky enough to have all the required 
dependencies already installed, but in my case it took less than a minute of my 
own time to download and build sage (e.g., wget ...; make).  It did take a 
lot of time for the file to download and the build to complete, but I didn't 
have to do anything while these were ongoing.

-- Mike

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Symbolic computation on Fedora

2012-09-14 Thread Michael Hannon
Suvayu Ali fatkasuvayu+li...@gmail.com wrote:

 I need to do symbolic computation from time to time on my Fedora machine.
 So far I have tried maxima, which seems quite good for simple things but
 often fails to give me any usable results for more complicated cases.
 Acquiring Mathematica licenses is not feasible at the moment; so my question
 is what other alternatives have people used and liked?
 
 So far I have come across these:

 1. SymPy - this seems a bit lacking in features (what I could gather
   from the Wikipedia page as the project page is rather sparse).
 2. Sage - this seems to be quite well mature but non-trivial to maintain
   an installation.

 Anyone has any opinions?

Hi, Suvayu.  My first inclination was to recommend sage, until I saw your
assessment of it.  I tried it some time ago, mostly out of curiosity, as it
seemed like a REALLY nice idea (and at the time I was doing a fair amount of
Python).

I recall that there was some version of Fedora on which I just couldn't get
sage to work at all, although I've forgotten the details.  At that point, I
lost interest in it.

But prompted by your note, I downloaded the sage source (didn't see a binary
built for Fedora 17).  It took a good long while to download, and it took a
much longer time to build (via a simple make command), but it seems to have
built successfully on my system (Fedora 17, x86_64).

I ran a few of the examples in the sage tutorial, including some with the
notebook interface, and everything worked as advertised.

I realize that it's dangerous to draw conclusions from a single data point,
but maybe the sage developers have solved the maintenance issues.

I'd be interested to know what you finally decide to do.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Install Fedora 17 onto a PC with NVIDIA GeForce GTX 550Ti?

2012-06-08 Thread Michael Hannon
Ed Greshko ed.gres...@greshko.com wrote:

On 06/08/2012 01:00 PM, Michael Hannon wrote:
 Greetings.  I've got a new HP desktop system with an NVIDIA GeForce GTX 550Ti
 video card.  The system came with Windows 7, but it has a second disk drive, 
 on
 which I was hoping to install Fedora 17.  I've tried installing from the 
 Fedora
 17 DVD but have had what is evidently a common problem.  I.e., just as the
 installer appears to be about to launch into the GUI, the monitor goes into
 sleep mode and never returns.

 I've seen some discussion on the net about changing kernels, getting the
 proprietary drivers, modifying xorg.conf, etc., etc., but at installation 
 time
 I'm stuck with whatever is on the DVD.

 If you have any suggestions as to how I can work around this problem, please
 pass 'em along.


 Try this.

 Boot the DVD and when the menu appears hit your tab key.  Then add this

 acpi=off noapic

 to the end of the line and continue

Thanks, Ed.  That seems to work just fine.  Now I've got to deal with another
unexpected problem (need a bootloader Stage 1 target device), but I'll have
to save that for later.

-- Mike

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Atheros Ethernet controller with Fedora 17?

2012-06-08 Thread Michael Hannon
Greetings.  As I mentioned in a previous note, I've got a new, HP desktop
system that came with Windows 7 installed.

My plan for this system was to install Fedora 17 on the second disk drive,
then create a virtual machine that used the physical Windows partition as its
hard drive.

I had trouble with the video card during installation, but a suggestion from
Ed Greshko got me around that (thanks, Ed).

I also had trouble with the partitioning scheme on this UEFI system.  After a
good bit of fiddling around, I finally have (a) Fedora 17 installed on the
second drive, with (b) the Windows partition still intact and functioning.

Aside from all the time wasted, this seems like a pretty good state of
affairs.  The rub is that I have no networking under Fedora.

The system has two network adapters, wired and wireless:

    Atheros AR8161/8165 PCI-E Gigabit Ethernet controller (wired, of course)

    Ralink Dual Stream 802.11n (wireless)

I'd really like to get the Atheros (wired) controller working, but I'd settle
for either one at this point.

It appears that Qualcomm/Atheros doesn't have much love for linux.  Likewise,
the sites that turn up in a web search seem to have drivers exclusively for
Windows.

Is there any hope?  Fedora 18?  New network card?  I know I should have
checked before I bought, but I've done this Windows/Fedora thing on a number

of HP boxes in the past and never had any problems.

Thanks.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Atheros Ethernet controller with Fedora 17?

2012-06-08 Thread Michael Hannon
Ed Greshko ed.gres...@greshko.com wrote:

 On 06/09/2012 08:59 AM, Michael Hannon wrote:
 The system has two network adapters, wired and wireless:
 
     Atheros AR8161/8165 PCI-E Gigabit Ethernet controller (wired, of 
 course)
 
     Ralink Dual Stream 802.11n (wireless)
 
 I'd really like to get the Atheros (wired) controller working, but 
 I'd settle
 for either one at this point.
 
 It appears that Qualcomm/Atheros doesn't have much love for linux.  
 Likewise, the sites that turn up in a web search seem to have drivers
 exclusively for Windows.
 
 Is there any hope?  Fedora 18?  New network card?  I know I should have
 checked before I bought, but I've done this Windows/Fedora thing on a 
 number...
 
 First, you're very welcome.
 
 Second, could you run lspci -v as root and post the relevant portions for both
 adapters?  You can always use sneaker net to move the output to a system with
 a working network.  :-)

Yep, good idea.  Please see the appended.

-- Mike


03:00.0 Network controller: Ralink corp. Device 5392
        Subsystem: Ralink corp. Device f053
        Flags: fast devsel, IRQ 11
        Memory at f620 (32-bit, non-prefetchable) [disabled] [size=64
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00

04:00.0 Ethernet controller: Atheros Communications Device 1091 (rev 08)
        Subsystem: Hewlett-Packard Company Device 2ad5
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at f610 (64-bit, non-prefetchable) [size=256K]
        I/O ports at d000 [size=128]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
        Capabilities: [d8] MSI-X: Enable- Count=16 Masked-

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Install Fedora 17 onto a PC with NVIDIA GeForce GTX 550Ti?

2012-06-07 Thread Michael Hannon
Greetings.  I've got a new HP desktop system with an NVIDIA GeForce GTX 550Ti
video card.  The system came with Windows 7, but it has a second disk drive, on
which I was hoping to install Fedora 17.  I've tried installing from the Fedora
17 DVD but have had what is evidently a common problem.  I.e., just as the
installer appears to be about to launch into the GUI, the monitor goes into
sleep mode and never returns.

I've seen some discussion on the net about changing kernels, getting the
proprietary drivers, modifying xorg.conf, etc., etc., but at installation time
I'm stuck with whatever is on the DVD.

If you have any suggestions as to how I can work around this problem, please
pass 'em along.

Thanks.

-- Mike

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 18 release name

2012-05-02 Thread Michael Hannon
 Spherical Cow is really an idiom, and arguably not a normal adjective-noun
 pair.
 Justify it all you want, it still sounds like Copying Ubuntu to me.

 Dudes, it's just a name.
 Please, focus on technical.

I'm late to this (all-important) thread, but I haven't seen anybody mention
the origin of the term spherical cow.  It's a physics joke, or, maybe
better, a joke about physicists.  The world is a complicated place, and to
make any progress in analyzing it, physicists (and other scientists) have to
resort to simplifying assumptions.  E.g., the earth and the sun are not really
spheres,  but if you ignore that geometric subtlety, you can do some
reasonable calculations about the gravitational interaction of the sun and the
earth.

Non-physicists tend to view this approach as a simplistic retreat from
reality.  Hence, the joke: A physics professor says to the class, consider a
spherical cow of mass M.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Michael Hannon
 From: Joe Zeff j...@zeff.us
Sent: Wednesday, January 11, 2012 10:46 AM


Hi, Joe.

 My desktop doesn't use NM, and for a very good reason: it nuked my DNS
 numbers every time I rebooted until I permanently disabled it.  I've not had
 a single issue of that kind since I went back to using network.

I'm beginning to think that resistance is futile and have started to accept
the inevitability of NM.  OTOH, I run my own name server for my tiny home
network and was none too pleased to find NM wiping my name server out of
/etc/resolv.conf.

I was querying this list about a somewhat-related problem when somebody (don't
recall the name offhand) made the brilliant suggestion to mark resolv.conf as
immutable.  I've added the following to my resolv.conf to remind me of what
I did and how to undo it:

    #
    # I've marked this file as immutable via:
    #
    #    chattr +i resolv.conf
    #
    # To undo that:
    #
    #    chattr -i resolv.conf
    
I haven't been mugged by NM since I did this.

BTW, I did the same thing to my iptables file to keep some helpful system
utility (NM?) from messing with my configuration.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Problems with DNS name server in Fedora 16

2011-11-13 Thread Michael Hannon
 Greetings.  I just installed Fedora 16 (x86_64) on my home computer today.
 Not an altogether pleasant experience so far, I must say.

 I've got one issue in particular that's really puzzling me.

[...]

 I.e., the host utility CAN resolve the name, as can the dig
 utility (not shown in the examples), but other utilities, such as
 ping and ssh cannot resolve the name.

[...]

 Check the contents of /etc/resolv.conf on the main system.  It probably
 isn't referencing itself but whatever nameserver your ISP provides.  As
 an example, it should probably look like:
 
 search my.lan
 nameserver 192.168.1.72
 nameserver isp.dns.server

Very good suggestion.  In fact, my resolv.conf DID have an entry for my
system, but it was in reverse order.  I.e., to use your example, it was:

 search my.lan
 nameserver isp.dns.server
 nameserver 192.168.1.72

I don't understand why the resolver didn't fall through to the second
nameserver, but it evidently did not.  After I put the nameservers in the
order you suggest, everything seems to be working fine!

 Resolv.conf gets rewritten every time the net initializes, so you may
 want to:
 chattr +i /etc/resolv.conf
 
 to make it immutable. (Remember to chattr -i  if you nned to edit it
 later.)

Another good suggestion.  I had forgotten about the immutable attribute.  I've
set it now.  (It's a safe bet that in six months or so I'll be sending a note
to the list, whining about how I can't edit resolv.conf ;-)

Thanks for your help.

-- Mike-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Problems with DNS name server in Fedora 16

2011-11-13 Thread Michael Hannon
 Another good suggestion.  I had forgotten about the immutable attribute.
 I've set it now.  (It's a safe bet that in six months or so I'll be sending
 a note to the list, whining about how I can't edit resolv.conf ;-)

 Suggestion: take off the immutable bit, now, add a comment saying that it's
 immutable (and why) then re-run chatter +i so that next time you need to
 edit it, you'll have a reminder inside the file.

Yet another good idea, and now implemented.  Thanks.

-- Mike-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Problems with DNS name server in Fedora 16

2011-11-13 Thread Michael Hannon
 I don't understand why the resolver didn't fall through to the second
 nameserver, but it evidently did not.  After I put the nameservers in the
 order you suggest, everything seems to be working fine!

 Because the multiple servers are only good for the first server failing.
 Once the first server says I know there isn't any such name defined, it
 doesn't ask the 2nd server.

Yep, that makes perfect sense.  Thanks, Tom.

-- Mike-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Problems with DNS name server in Fedora 16

2011-11-12 Thread Michael Hannon
Greetings.  I just installed Fedora 16 (x86_64) on my home computer today.
Not an altogether pleasant experience so far, I must say.

I've got one issue in particular that's really puzzling me.  I use my linux
box as a nameserver for a few other computers at our house, just to save
myself the trouble of copying /etc/hosts files.

I've got a very simple DNS configuration that worked well in Fedora 15.  I
added the statement:

    controls {};

to the end of /etc/named.conf to disable what appears to be a new feature
(rndc).  Otherwise, everything is the same as in Fedora 15, so far as I'm
aware.

Here's an example of the puzzling thing:

    $ ping compute-server
    ping: unknown host compute-server

    $ ssh compute-server
    ssh: Could not resolve hostname compute-server: Name or service not known

    $ host compute-server
    compute-server.my.lan has address 192.168.1.72
    $ 

(I've made my Fedora box authoritative for the domain my.lan. I get the same
results if I use the FQDN in the above examples.)

I.e., the host utility CAN resolve the name, as can the dig utility (not
shown in the examples), but other utilities, such as ping and ssh cannot
resolve the name.

Perhaps even stranger, if I go to one of the other machines in our house,
e.g.:

    ssh 192.168.1.72

the utilities such as ping and ssh on the remote system DO resolve our
local names successfully, even though the remote system is using my Fedora box
as the nameserver!

If you can help, please do so.

Thanks,

-- Mike-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Convert sqlite to mysql in f14?

2011-02-15 Thread Michael Hannon
Hi, folks.  I've received a sqlite database that I'd like to convert to a mysql 
database on my Fedora 14 system.  It's easy enough to dump the sqlite database, 
but the resulting file contains some commands that mysql doesn't like.

I see that there are commercial tools available to do this kind of conversion, 
but this is (I hope) a one-time thing for me, so I'd prefer not to spend money 
on it.

If you know of a (free) tool that will reliably do the conversion from sqlite 
to 
mysql, will you please send me the relevant information?

Thanks,

-- Mike



  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: PuTTy Problems

2010-10-21 Thread Michael Hannon
Hi, Mike.  I didn't know that putty was available for linux, but I just typed:

yum install putty

and had no problems with that.  I then issued the putty command and saw the 
old, familiar interface.

What problems have you had?

-- Mike



- Original Message 
 From: Mike Dwiggins m...@azdwiggins.com
 To: fedora list fedora-l...@redhat.com
 Sent: Thu, October 21, 2010 7:17:16 PM
 Subject: PuTTy Problems
 
 Anyone know of a good source (mail list, forum or blog) about dealing 
 with  installation problems with PuTTy?
 
 I am trying to install in Fedora 13 and  having no luck and don't want to 
 use bandwidth  here.
 
 Thanks
 
 Mike
 
 -- 
 users mailing list
 users@lists.fedoraproject.org
 To  unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines:  http://fedoraproject.org/wiki/Mailing_list_guidelines
 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Using awstats on Fedora 13

2010-10-16 Thread Michael Hannon
Greetings.  I'm trying to use awstats to analyze Apache log files on a
Fedora 13 (x86_64) system.

When I go to the web page:

http://localhost/awstats/awstats.pl

I consistently get a 403 message:

Forbidden

You don't have permission to access /awstats/awstats.pl on this server.

The corresponding entry in the httpd error_log file is:

[error] [client ::1] client denied by server configuration:
/usr/share/awstats/wwwroot/cgi-bin/awstats.pl

I've done the usual kind of web search, and I've applied a bunch of sure-fire
remedies to the problem, none of which has made any difference.  I haven't
attempted to catalog the suggested solutions, but I can probably dig them up
if necessary.  I CAN tell you that I've repeatedly restarted httpd, so it
isn't like that that's the problem.

If you have awstats running in a Fedora 13 environment, please pass along any
information that you think might be relevant.  Or, if you have a better
solution than awstats, I'd like to hear about that.

Thanks.

-- Mike


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: What's up with bash shell and spaces in filenames?

2010-05-10 Thread Michael Hannon
Hi, Alan.  Are you sure that the spaces are causing the error?  I.e., if the 
directory were actually named:

Media My Book

you'd get the behavior you describe.  I don't usually use spaces in file names, 
but I've never had a problem dealing with spaces (e.g., when I've gotten files 
with spaces in the names from other people).

-- Mike



- Original Message 
 From: Alan Evans ame.fed...@gmail.com
 To: fedora-l...@redhat.com
 Sent: Mon, May 10, 2010 8:23:54 AM
 Subject: What's up with bash shell and spaces in filenames?
 
 This is an on-again-off-again kind of problem. It usually hits me when
it is 
 least convenient, like when I only have shell access to the
machine. 
 Example:

[a...@agena ~]$ cd /media/My\ Book/
bash: cd: /media/My: No 
 such file or directory
[a...@agena ~]$ cd /media/My Book/
bash: cd: 
 /media/My: No such file or directory
[a...@agena ~]$ Gaaah!
bash: Gaaah!: 
 command not found

What's up with that? Usually it is no trouble, but 
 occasionally, bash
refuses to deal with spaces. I don't even know what to do 
 in this
case.
-- 
users mailing list

 ymailto=mailto:users@lists.fedoraproject.org; 
 href=mailto:users@lists.fedoraproject.org;users@lists.fedoraproject.org
To 
 unsubscribe or change subscription options:

 href=https://admin.fedoraproject.org/mailman/listinfo/users; target=_blank 
 https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: 
 http://fedoraproject.org/wiki/Mailing_list_guidelines


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines