Edgewall Software
Modify

Ticket #796 (closed defect: invalid)

Opened 6 years ago

Last modified 4 years ago

Error when installing from a different location åäö

Reported by: s0undt3ch@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: windows install
Cc:

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

Change History

comment:1 Changed 6 years ago by s0undt3ch@…

  • Severity changed from normal to blocker
  • Component changed from general to trac-admin
  • Priority changed from normal to highest
  • Version changed from 0.7.1 to devel
  • Milestone changed from 0.7.1 to 0.8
  • Owner changed from jonas to daniel

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 Changed 6 years ago by daniel

  • Severity changed from blocker to normal
  • Component changed from trac-admin to general
  • Priority changed from highest to normal
  • Owner changed from daniel to jonas
  • Milestone changed from 0.8 to 0.9
  • Keywords windows install added

comment:4 Changed 5 years ago by cmlenz

  • Milestone 0.9 deleted

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

comment:5 Changed 5 years ago by niroshanvc@…

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

comment:6 Changed 4 years ago by cboos

  • Status changed from new to closed
  • Resolution set to invalid

That was a support request kind of ticket.

comment:7 Changed 4 years ago by jonas

just a test, please ignore.

comment:8 Changed 4 years ago by jonas

  • Summary changed from Error when installing from a different location to Error when installing from a different location åäö

More testing

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.