Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Upgrading trac to 0.11 fails: svn isn't working, and a weird .egg-cache error

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


svdwal.sander at gmail

Sep 4, 2008, 7:29 AM

Post #1 of 2 (298 views)
Permalink
Upgrading trac to 0.11 fails: svn isn't working, and a weird .egg-cache error

I tried upgrading trac from 0.10.3 to 0.11, on WinXP. According to the
Upgrade instruction I had to install Python 2.5, which I did, updating
%PATH%, installing a new mod_python and installing the correct svn
pthon bindings (svn 1.4.3, python 2.5 and apache 2.2).

using easy_install to do the upgrade works fine, updating the projects
worked fine and updating the wiki's worked fine too, and I can see the
projects, view the tickes, see the new resolutions in admin.

There are however two problems.

1) The infamous : Warning: Can't synchronize with the repository
(Unsupported version control system "svn": "No module named _fs" ).
Look in the Trac log for more information.

The log is empty, BTW. IOt is set to DEBUG level.

Running Python and doing a
>>> from svn import core
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "e:\Python25\lib\site-packages\svn\core.py", line 19, in
<module>
from libsvn.core import *
File "e:\Python25\lib\site-packages\libsvn\core.py", line 5, in
<module
import _core
ImportError: No module named _core
>>>

AFAICS, I did all the right things getting the right bindings, setting
PATH, setting PythonEnv in Apache. I could very well be that Python
2.5 doesn't work on WinXP, but there is no warning on this that I can
interpret as such, the warnings being about the 0.11 beta and not the
release.

2) there is a weird message on the project page

Available Projects

* .egg-cache: Error
([Errno 13] Permission denied: 'G:\\Databases\\trac\\.egg-cache\
\VERSION')

Apparently the temp database that's put there by easy_install is seen
as a project.


--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


dimon.etti at gmail

Oct 9, 2008, 1:00 PM

Post #2 of 2 (207 views)
Permalink
Re: Upgrading trac to 0.11 fails: svn isn't working, and a weird .egg-cache error [In reply to]

for 2)
The answer is Python cache location - add to your httpd config before
the trac conf this line
PythonOption PYTHON_EGG_CACHE "D:/temp/"

after that you can delete .egg~~~blabla folder, now trac will not
create this trash in projects dir/

On 4 ΣΕΞΤ, 18:29, "Sander van der Wal (mBrain Software)"
<svdwal.san...@gmail.com> wrote:
> I tried upgrading trac from 0.10.3 to 0.11, on WinXP. According to the
> Upgrade instruction I had to install Python 2.5, which I did, updating
> %PATH%, installing a new mod_python and installing the correct svn
> pthon bindings (svn 1.4.3, python 2.5 and apache 2.2).
>
> using easy_install to do the upgrade works fine, updating the projects
> worked fine and updating the wiki's worked fine too, and I can see the
> projects, view the tickes, see the new resolutions in admin.
>
> There are however two problems.
>
> 1) The infamous : Warning: Can't synchronize with the repository
> (Unsupported version control system "svn": "No module named _fs" ).
> Look in the Trac log for more information.
>
> The log is empty, BTW. IOt is set to DEBUG level.
>
> Running Python and doing a>>> from svn import core
>
> Traceback (most recent call last):
> š File "<stdin>", line 1, in <module>
> š File "e:\Python25\lib\site-packages\svn\core.py", line 19, in
> <module>
> š š from libsvn.core import *
> š File "e:\Python25\lib\site-packages\libsvn\core.py", line 5, in
> <module
> š š import _core
> ImportError: No module named _core
>
>
>
> AFAICS, I did all the right things getting the right bindings, setting
> PATH, setting PythonEnv in Apache. I could very well be that Python
> 2.5 doesn't work on WinXP, but there is no warning on this that I can
> interpret as such, the warnings being about the 0.11 beta and not the
> release.
>
> 2) there is a weird message on the project page
>
> Available Projects
>
> š š * .egg-cache: Error
> š š š ([Errno 13] Permission denied: 'G:\\Databases\\trac\\.egg-cache\
> \VERSION')
>
> Apparently the temp database that's put there by easy_install is seen
> as a project.

--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.