[Trac-tickets] Re: [The Trac Project] #1500: Trac fails to run due to failed "from svn import util"

The Trac Project noreply at edgewall.com
Thu May 5 05:54:45 EDT 2005


#1500: Trac fails to run due to failed "from svn import util"
---------------------+------------------------------------------------------
       Id:  1500     |      Status:  reopened                
Component:  general  |    Modified:  Thu May  5 05:54:41 2005
 Severity:  major    |   Milestone:  0.8.2                   
 Priority:  high     |     Version:  0.8.1                   
    Owner:  jonas    |    Reporter:  ilia at prohost.org        
---------------------+------------------------------------------------------
Changes (by cmlenz):

  * resolution:  invalid =>
  * milestone:  => 0.8.2
  * severity:  normal => major
  * priority:  normal => high
  * summary:  trac-admin fails to run due to failed "import util" => Trac
              fails to run due to failed "from svn import
              util"
  * status:  closed => reopened

Old description:

> After a installing trac on python 2.4.1, I've attempted to run "trac-
> admin [path] initenv" to initialize the database. This failed with the
> following error:
> Traceback (most recent call last):
>   File "/usr/bin/trac-admin", line 34, in ?
>     from trac import sync
>   File "/usr/lib/python2.4/site-packages/trac/sync.py", line 23, in ?
>     from svn import fs, util, delta, repos, core
> ImportError: cannot import name util
>
> The trac python modules have been installed in the default path and
> /usr/lib/python2.4/site-packages/trac/util.py is available.

New description:

 After a installing trac on python 2.4.1, I've attempted to run "trac-admin
 [path] initenv" to initialize the database. This failed with the following
 error:
 {{{
 Traceback (most recent call last):
   File "/usr/bin/trac-admin", line 34, in ?
     from trac import sync
   File "/usr/lib/python2.4/site-packages/trac/sync.py", line 23, in ?
     from svn import fs, util, delta, repos, core
 ImportError: cannot import name util
 }}}

 The trac python modules have been installed in the default path and
 {{{/usr/lib/python2.4/site-packages/trac/util.py}}} is available.

Comment:

 This error is due to Subversion 1.2 breaking compatibility with Trac 0.8.x
 by removing the {{{svn.util}}} module.

 We should fix this in [milestone:0.8.2 0.8.2].

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1500>
The Trac Project <>


More information about the Trac-Tickets mailing list