[7744] in testers

home help back first fref pref prev next nref lref last post

Re: odd Athena 10 printing problem

daemon@ATHENA.MIT.EDU (Tim Abbott)
Thu Oct 16 17:19:41 2008

Date: Thu, 16 Oct 2008 17:18:56 -0400 (EDT)
From: Tim Abbott <tabbott@MIT.EDU>
To: Alex T Prengel <alexp@mit.edu>
cc: testers@mit.edu
In-Reply-To: <200810162105.m9GL51BY017277@outgoing.mit.edu>
Message-ID: <alpine.DEB.2.00.0810161713580.16997@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Tecplot seems to be a python program, so I'm guessing some sort of 
explicit PYTHONPATH forcing is going on in its wrapper scripts, which is 
then passed via the environment to the (python) lpr wrapper that decides 
whether to use CUPS or lprng for printing, which then can't find the 
hesiod module.

 	-Tim Abbott

On Thu, 16 Oct 2008, Alex T Prengel wrote:

>
> This is a strange one. When I try to print from tecplot on Athena 10,
>
> I get:
>
> Traceback (most recent call last):
>  File "/usr/bin/lpr", line 12, in <module>
>    import hesiod
> ImportError: No module named hesiod
>
> in the launch terminal window. Looking at /usr/bin/lpr, I see that line 12
> is indeed
>
> import hesiod
>
> yet when I start a python shell and type
>
> import hesiod
>
> at the >>> prompt, it doesn't complain. I'm not sure how this can be fixed...
>
>                                        Alex
>

home help back first fref pref prev next nref lref last post