Hi!

>
> Yep, the second installer worked. It's a bit unusual to end up with
> 32-bits software installed below C:\Program Files, though (should be
> "C:\Program Files (x86)" on Windows x64 systems).

We have found some issues (in other application packages) with '(' and
')' characters as not all applications support that. That is why we
setting "C:\Program Files" by default as the installation directory.

>
> However, I made the mistake to use a project name containing spaces -
> the environment path is correctly quoted, but not the projectname
> argument after initenv:
>
>   Error running C:\Program Files\BitNami Trac Stack/python/python.exe
> "C:\Program Files\BitNami Trac Stack\trac\Scripts\trac-admin-script.py"
> "C:\Users\cboos\BITNAM~1\BitNami Trac 0.11.6" initenv BitNami Trac
> 0.11.6 sqlite:db/trac.db svn "C:\Users\cboos\BitNami Trac Stack repository"
>

mmm...You are completely right. I'll fix it

> Then, trying to fix that by using the "Use BitNami Trac stack" cmd
> shell, I saw that trac-admin was not available.
> The "C:\Program Files\BitNami Trac Stack\trac\Scripts" path should be
> put in the PATH, for that shell (in the ./scripts/setenv.bat file).
>

Good point.

> After fixing it:
>
>   >trac-admin "C:\Users\cboos\BitNami Trac Stack projects\BitNami Trac
> 0.11.6" initenv "BitNami Trac 0.11.6" sqlite:db/trac.db svn
> "C:\Users\cboos\BitNami Trac Stack repository"
>   Creating and Initializing Project
>   ...
>   Congratulations!
>
> At that point, the environment was reachable via tracd:
>
>  >tracd "C:\Users\cboos\BitNami Trac Stack projects\BitNami Trac 0.11.6"
> -p 9999
>
> But not via Apache, I had to restart first, no big deal.

I think this is because the installation failed (due to the spaces in
the project name). If the installation had finished correctly the
installer would have done all that (create the project and restart
apache). Once the installation is finished (successfully) the browser
will show the Trac site ready to use.


>
> Authentication was correctly set up, though for a more effective start,
> one would expect that the user specified in the installer would end up
> having the TRAC_ADMIN permissions, so that you can start right away
> configuring your environment.
>

Ok. You are referring to this: "trac-admin /path/to/projenv permission
add bob TRAC_ADMIN". We'll add this, it makes sense

> The README.txt file still talks about the WebAdmin plugin as an example
> - bad example, as you should *not* install the 0.10.x WebAdmin plugin in
> Trac 0.11.x, which has the admin panels built in.
>

I missed that. Any suggestion? Do you know which is the Trac plugin
that people use more?

> A part from those minor glitches (which I think are easy to fix), it
> works great, mod_python is correctly configured.
> In addition, it would be great if HTTP access to the svn repository
> would be configured as well, so that people could start commit code to
> their project right away ;-)
>

Are you referring to configuring apache with mod_dav? The reason why
we don't configure it is because you can browse your code through the
Trac interface but I may be missing something...

> I also like the very clean way everything is organized below "C:\Program
> Files\BitNami Trac Stack", but apparently it's in part theoretical, as
> the actual install of python Lib and DLLs is duplicated below
> apache2/bin. If one wants to upgrade Trac manually (hint for fellow Trac
> developers, try out 0.12dev!), then the .eggs, .pths and all that have
> to end up *there*).
>

We try to keep the same structure for all distributions (linux, osx
and windows).  However, on Windows, duplicate these folders is
necessary if we want to avoid creating environment variables and keep
clean the user environment (as mentioned earlier we don't modify the
user environment variables).

> Hope you'll find the advice helpful. On my side, I'll use the BitNami
> Trac as a nice test environment for mod_python 3.3.1 on Windows ;-)
>

Ah! Enjoy it :)  And thanks! Really appreciated your feedback. We'll
start working on the
improvements :)

> -- Christian
>
> PS: hint for other Trac developers: if you want to "upgrade" such a
> BitNami install to 0.12dev, then use the provided python to perform the
> installation, as admin (btw. I'd be interested to know how to get a
> separate trac012\Lib\site-pages folder, instead of installing in
> python\Lib\site-packages), then be sure to modify/delete
> ./apache2/bin/Lib/site-packages/trac.pth

Internally in the installer we execute:

cd /path/to/Trac-0.11.6
mkdir Lib/site-packages
set PYTHONPATH=<installdir>/trac/Lib/site-packages
"<installdir>\python\python.exe" setup.py install --
prefix="<installdir>\trac"

I hope it helps.

--

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


Reply via email to