Hello Graham:

> To be quite blunt, all you have really said at this point about your
> problem that was anywhere close to useful was:
> ....
> So, for anyone here to be able to help you, you are going to have to
> be much more forthcoming with information about exactly how things are
> setup rather than just winging and expecting us to look into our
> crystal balls and work out what you have done.

Many thanks for taking the time to provide a thoughtful response.  I  
agree that I haven't supplied a lot of information, but some of that  
is due to not knowing what you would need.  Why is there no  
troubleshooting FAQ?  Something like: "If you see this, check this"?   
Such a page would be terribly helpful.  Also,  posting guide, such as  
the one from the R project (they tell you to supply the result of the  
R command session.info() and what OS you are running) would be most  
helpful.

I have tried running any diagnostics supplied on  the edgewall install  
guide pages, which appear to be quite minimal.

> That all said, maybe come back with answers to the following
> questions. Don't skip anything with the assumption it isn't relevant.

Will do!

> 1. What do you get when you run:
>
>  which python

MiniMac:~ dnadave$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python

> 2. Run that Python interpreter. What do you get when you enter:
>
>  import sys
>  print sys.prefix

MiniMac:~ dnadave$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import sys
 >>> print sys.prefix
/Library/Frameworks/Python.framework/Versions/2.5

> 3. In that interpreter, what do you get if you run:
>
>  import libsvn
>  print libsvn.__file__

OK, I do get an error here:

 >>> import libsvn
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named libsvn

Now, when I search for libsvn, I find it where I expect it to be:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/__init__.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/__init__.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_client.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_client.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_core.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_core.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_delta.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_delta.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_fs.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_fs.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_ra.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_ra.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_repos.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_repos.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_wc.la
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/_wc.so
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/client.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/client.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/core.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/core.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/delta.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/delta.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/fs.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/fs.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/ra.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/ra.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/repos.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/repos.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/wc.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/ 
python/libsvn/wc.pyc

> 4. What do you get for output when you run from shell:
>
>  ls /System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages
>
> The directory shouldn't exist.

MiniMac:~ dnadave$ ls /System/Library/Frameworks/Python.framework/ 
Versions/2.5/lib/python2.5/site-packages
ls: /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages: No such file or directory

> 5. What do you get for output when you run from shell:
>
>  ls /Library/Python/2.5/site-packages

MiniMac:~ dnadave$ ls /Library/Python/2.5/site-packages/
README                  easy-install.pth

and easy-install.pth was a file I created from a suggestion by another  
poster on this list.  Its contents are:

MiniMac:~ dnadave$ cat /Library/Python/2.5/site-packages/easy- 
install.pth
import sys; sys.__plen = len(sys.path)
./Genshi-0.4.4-py2.5.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)

> This is all just to confirm what Python you are running and whether
> your OS Python installation has been mucked up in any ways.

Well, I think there is something screwed up as libsvn is installed,  
but it is not found by python.

> Once that has been done, then can go on to look at what you did to
> create Trac instance and configure it etc.

I do appreciate the help.

Thanks!!

Dave H
--
David Henderson, Ph.D.
Director of Community
REvolution Computing
1100 Dexter Avenue North, Suite 250
206-577-4778 x3203
[EMAIL PROTECTED]
http://www.revolution-computing.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to