Tim Legant wrote:

> Rick Weinbender <[EMAIL PROTECTED]> writes:
>
> > Cory wrote:
>
> > > On Tue, Nov 04, 2003 at 10:33:28PM -0600, Rick Weinbender wrote:
> > > > Traceback (most recent call last):
> > > >   File "/usr/bin/tmda-filter", line 50, in ?
> > > >     execfile(os.path.join(execdir, 'tmda-rfilter'))
> > > >   File "/usr/bin/tmda-rfilter", line 115, in ?
> > > >     from TMDA import Defaults
> > > >   File "./TMDA/Defaults.py", line 75, in ?
> > > > IOError: [Errno 13] Permission denied
> > > > Traceback (most recent call last):
> > > >   File "/usr/bin/tmda-filter", line 64, in ?
> > > >     from TMDA.Defaults import LOGFILE_DEBUG
> > > > ImportError: cannot import name LOGFILE_DEBUG
> > >
> > > Does the user have permission to read the TMDA/Defaults.py[c] file?
> >
> > Yes, permissions are mod 644 on Defaults.py
> > the same on Defaults.pyc
>
> Is the TMDA directory in /usr/bin?  Is it the correct, up-to-date TMDA
> directory, or do you have others floating around your system?
> Sometimes, packaged versions of TMDA install the TMDA directory to one
> location and admins using tarballs put it somewhere else.  Which one
> gets read depends on the internal Python module search path.  Also,
> does the TMDA directory itself have the correct permissions to allow
> all users to read it (0755, assuming it's owned by root)?
>
> Tim
>

***********************************************
>>Is the TMDA directory in /usr/bin?
No, the TMDA dir is in
/usr/lib/python2.1/site-packages/TMDA/    (where the debian command
"apt-get install tmda" puts it)
it is the only TMDA dir with all caps and the only dir containing
Defaults.py file
*
Permissions on ../TMDA are 0755 as you say they should be.
The debian "apt-get install tmda" installs tmda ver. 0.51 which is not
the newest version, but it is the only way I've been able to install tmda
and not get errors
*
How can I check to see what the internal Python module search path is?

Thanks very much for the help,
-Rick

>
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to