Edgewall Software
Modify

Opened 20 years ago

Closed 18 years ago

Last modified 18 years ago

#796 closed defect (invalid)

Error when installing from a different location åäö

Reported by: s0undt3ch@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: windows install
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When installing trac yesterday in the process of creating my .db with trac-admin, I followed the step seen here to install it to a different dir. In my case I had python installed on "C:\develop\internet\ Appserv\Python32\", all went fine until the wiki_default stage witch asked for Python on C:\Python32\.

My solution was to install Python to C:\Python32\, after this everything worked.

Sugestion: A Script to install Trac and change the necessary files to the correct Python path would be great''

Attachments (0)

Change History (8)

comment:1 by s0undt3ch@…, 20 years ago

Component: generaltrac-admin
Milestone: 0.7.10.8
Owner: changed from Jonas Borgström to daniel
Priority: normalhighest
Severity: normalblocker
Version: 0.7.1devel

As a follow up I've been able to install it to another dir and its visible from the web site point of view. But here comes another problem, I used the envs I created using myC:\Python32\ installation, so I had no use of trac-admin for this setup, the problem comes when I try to administrate my envs using my newer installation. It gives me this error:

C:\Develop\Internet\apache2triad\python\Scripts>python trac-admin
Traceback (most recent call last):
  File "trac-admin", line 34, in ?
    from trac import sync
  File "C:\Develop\Internet\apache2triad\python\Lib\site-packages\trac\sync.py",
 line 22, in ?
    from svn import fs, util, delta, repos, core
ImportError: No module named svn

C:\Develop\Internet\apache2triad\python\Scripts>

but on the other installation it works:

C:\Python23\Scripts>..\python trac-admin
trac-admin - The Trac Administration Console 0.8.pre

Usage: trac-admin <dbfile> [command [subcommand] [option ...]]

Invoking trac-admin without command starts interactive mode.

about                                             -- Shows information about tra
c-admin
help                                              -- Show documentation

initenv                                           -- Create and initialize a new
 environment interactively
initenv <projectname> <repospath> <templatepath>  -- Create and initialize a new
 environment from arguments
hotcopy <backupdir>                               -- Make a hot backup copy of a
n environment.
resync                                            -- Re-synchronize trac with th
e repository
upgrade                                           -- Upgrade database to current
 version.
wiki list                                         -- List wiki pages

(........)

milestone rename <name> <newname>                 -- Rename milestone

milestone time <name> <time>                      -- Set milestone date (Format:
 "Jun 3, 2003")
milestone remove <name>                           -- Remove milestone


Visit the Trac Project at http://trac.edgewall.com/

Trac is brought to you by:
-----------------------------------------------------------------
                E d g e w a l l   S o f t w a r e
        Professional Linux and software development services
              Read more at http://www.edgewall.com/
-----------------------------------------------------------------

C:\Python23\Scripts>

What needs to be donne for this to work with the newer instalation?

Thaks!

comment:3 by daniel, 20 years ago

Component: trac-admingeneral
Keywords: windows install added
Milestone: 0.80.9
Owner: changed from daniel to Jonas Borgström
Priority: highestnormal
Severity: blockernormal

comment:4 by Christopher Lenz, 19 years ago

Milestone: 0.9

This isn't really a Trac problem as far as I can tell.

comment:5 by niroshanvc@…, 18 years ago

If there is any syntax or other errrors in php commands it doesent show anything. Why is that? I am using apache2triad

comment:6 by Christian Boos, 18 years ago

Resolution: invalid
Status: newclosed

That was a support request kind of ticket.

comment:7 by Jonas Borgström, 18 years ago

just a test, please ignore.

comment:8 by Jonas Borgström, 18 years ago

Summary: Error when installing from a different locationError when installing from a different location åäö

More testing

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.