TOW (Trac On Windows) Blog

August 28, 2008

Known bugs in TOW 0.3.0 alpha 1

Filed under: Hot Fix, Trouble Shooting, User Guide — Tags: , , , , , , , , , , , , , — yeoupooh @ 5:20 am

So far known bugs in TOW 0.3.0 alpha 1 is listed here.

  • Another Python installation may conflict error. (reported from LEE Munyoung)
    => Solution: Use PYTHONHOME variable instead of PYTHON_HOME.
  • Error in add-perm, list-perm, remove-perm scripts. (reported from kermi)
    => Solution: Edit scripts like below

Fixed add-perm.bat file

@echo off

call set-tow.bat

if “%3″==”” goto usage

call trac-admin %1 permission add %2 %3 %4 %5 %6 %7 %8 %9

goto end

:usage
call lang ADD_REMOVE_PERM_USAGE %0

:end

Fixed list-perm.bat file

@echo off

call set-tow.bat

if “%1″==”” goto usage

call trac-admin %1 permission list %2 %3 %4 %5 %6 %7 %8 %9

goto end

:usage
call lang LIST_PERM_USAGE %0

:end

Fixed remove-perm.bat file

@echo off

call set-tow.bat

if “%3″==”” goto usage

call trac-admin %1 permission remove %2 %3 %4 %5 %6 %7 %8 %9

goto end

:usage
call lang ADD_REMOVE_PERM_USAGE %0

:end

This bugs will be fixed in next release.
Thank you reporters.

August 14, 2008

TOW (TracOnWindows) 0.3.0 alpha 1 (Base package only) is released.

Filed under: Release — Tags: , , , , , , — yeoupooh @ 3:41 am

This release is for testing of new trac and more features.

Release Note

TOW 0.3.0 alpha 1 Base package includes…

Changelog

  • Upgraded Python 2.5.2
  • Upgraded Trac 0.11.1
  • Upgraded Subversion 1.5.1
  • Upgraded EasyInstall 0.6c8
  • More secured SVN authrization. After installed, edit C:\TOW\SvnRepo\Projects\authz. By default admin user only has rw permissions.

You can download it from SourceForge.net.

March 7, 2008

How to install TOW to the other folder not C:\TOW (not pefect, but useful)

Filed under: Install, User Guide — Tags: , , , , , , — yeoupooh @ 11:36 am

I’ve tried installation on the other folder. It’s almost perfect except Python.

So, if you want to install to your own TOW folder, follow below. (ex. %TOW_HOME% is D:\Apps\TOW)

  1. Unzip TOW-*.zip to D:\Apps.
  2. Open %TOW_HOME%\set-tow.bat file and replace strings like below.

    set TOW_HOME=D:\Apps\TOW

  3. Open %TOW_HOME%\Apache\conf\httpd.conf file and replace strings like below.

    C:/TOW -> D:/Apps/TOW

  4. Open all %TOW_HOME%\SetupTracRepo\Projects\HelloTOW\conf\*.tpl files and replace strings.

    C:\TOW -> D:\Apps\TOW
    C:\\TOW -> D:\\Apps\\TOW

  5. Open %TOW_HOME%\create-svn-repo.bat file and replace.

    C:/TOW -> D:/Apps/TOW

  6. Copy %TOW_HOME%\Python folder to C:\TOW\Python
  7. Run %TOW_HOME%\start-tow.bat

If you have already installed on C:\TOW and want to move D:\Apps\TOW, you need something to do it working.

  1. Open %TOW_HOME%\TracRepo\Projects\%PROJECT_NAME%\trac.ini file and replaces strings like below.

    C:\TOW -> D:\Apps\TOW
    C:\\TOW -> D:\\Apps\\TOW

  2. Resync Trac repository.D:\Apps\TOW>trac-admin.bat %PROJECT_NAME% resync
  3. That’s it.

I hope it helps you.

P.S. Anyone have an idea to move Python to the other folder?

February 22, 2008

(Fixed) How to manage access control each user on SVN?

Filed under: User Guide — Tags: , , , , , , , , , , — yeoupooh @ 5:44 am

(Fixed: no requires svnserve.conf file. sorry)

By default, All TOW users have all privileges of SVN.

If you want to manage access control each user on SVN, try like this.

  1. Edit C:\TOW\Apache\conf\httpd.conf.
  2. Find <Location /svn> and change like below.

    <Location /svn>
    DAV svn
    SVNParentPath “C:/TOW/SvnRepo/Projects”

    # our access control policy
    AuthzSVNAccessFile “C:/TOW/SvnRepo/Projects/authz”

    # try anonymous access first, resort to real
    # authentication if necessary.
    Satisfy Any
    Require valid-user

    AuthType Basic
    AuthName “TOW:Subversion Authentication”
    AuthUserFile “C:/TOW/SvnRepo/Projects/trac.htpasswd”
    </Location>

  3. Create C:/TOW/SvnRepo/Projects/authz file and fill like below. (ex. test, test2 has already registered.)

    [/]
    test = rw
    test2 = r
    * =

  4. Restart TOW.

You can find more details about authz settings in here.

February 19, 2008

TOW and Eclipse Integration Diagram

Filed under: User Guide — Tags: , , , , , , , — yeoupooh @ 2:04 am

TOW and Eclipse Integration

February 18, 2008

TOW (TracOnWindows) 0.2.2a is released.

Filed under: Release — Tags: , , , , , — yeoupooh @ 12:42 am

Release Note

TOW 0.2.2a Base package includes…

TOW 0.2.2a Standard package includes…

Changelogs

  • Fixed problem in subversion repository setting on trac.ini which made from add-project script.

You can download it from SourceForge.net.

January 9, 2008

How to manage user permissions?

Filed under: User Guide — Tags: , , , , , — yeoupooh @ 7:54 am

You may know that using trac-admin can manage user permissions. But it needs long typing.

So TOW 0.2.2 provides simple script.

Listing all user permissions

C:\TOW>list-perm <ProjectName>

Listing user permissions

C:\TOW>list-perm <ProjectName> <UserName>

Adding user permissions

C:\TOW>add-perm <ProjectName> <UserName> <Permissions(separated by space)>

Removing user permissions

C:\TOW>remove-perm <ProjectName> <UserName> <Permissions(separated by space)>

You can use *(wild card) at permissions.
You can find more detail informations in TracPermissions.

사용자별 권한 설정을 하려면…

Filed under: 사용자 가이드 — Tags: , , , , , , , , — yeoupooh @ 7:44 am

사용자별 권한 설정을 하려면 trac-admin 스크립트를 사용해도 되지만, 써줄게 많지요. 그래서 0.2.2 부터는 간편한 스크립트를 제공합니다.

전체 사용자 권한 보기

C:\TOW>list-perm <프로젝트명>

사용자 권한 보기

C:\TOW>list-perm <프로젝트명> <사용자ID>

사용자 권한 추가

C:\TOW>add-perm <프로젝트명> <사용자ID> <권한들(공백으로 구분)>

사용자 권한 삭제

C:\TOW>remove-perm <프로젝트명> <사용자ID> <권한들(공백으로 구분)>

*(와일드 카드)를 사용하면 여러개의 권한을 한꺼번에 처리할 수 있습니다.

권한들에 대한 자세한 설명은 TracPermissions 를 참고하세요.

January 7, 2008

실행시 Cannot load … mod_python.so into server: 에러 발생하는 경우 해결 방안

Filed under: 문제 해결 — Tags: , , , , , , , — yeoupooh @ 4:34 am

박영섭(sk_kk)님께서 리포트해주셨는데요.

TOW 실행 후 아래와 같은 메시지가 뜨고, 실행이 되지 않으면…


[TOW] TOW Launched.
[TOW] Now, you can test Trac in http://localhost:8080/projects/HelloTOW
[TOW] And you can test Subversion in http://localhost:8080/svn/HelloTOW
httpd: Syntax error on line 493 of C:/TOW/Apache/conf/httpd.conf: Cannot load C:/TOW/Apache/modules/mod_python.so into server: \xc1\xf6\xc1\xa4\xb5\xc8 \xb8\xf0\xb5\xe2\xc0\xbb \xc3\xa3\xc0\xbb \xbc\xf6 \xbe\xf8\xbd\xc0\xb4\xcf\xb4\xd9.

C:\Windows\System32 폴더에 msvcr71.dll 파일이 없는 경우입니다.

msvcr71.dll 파일은 Microsoft® C Runtime Library 파일로 웹 검색이나 주변PC로부터 찾아서 설치하시면 되겠습니다.

January 2, 2008

TOW (TracOnWindows) 0.2.2 한글판 릴리즈

Filed under: 릴리즈 — Tags: , , , , , , , — yeoupooh @ 11:47 am

릴리즈 노트

TOW 0.2.2 기본 패키지 내용물은…

TOW 0.2.2 표준 패키지 내용물은…

변경사항

  • Python for Windows Extensions를 추가했습니다.
  • 일부 플러그인들을 업그레이드했습니다.
  • trac.ini 에 플러그인 설정이 잘못되었던 부분도 수정했습니다.
  • 계정의 권한 설정을 위해서 list-perm.bat, add-perm.bat, remove-perm.bat 스크립트를 추가했습니다.
  • 프로젝트를 한번에 추가하기 쉽도록 add-project.bat 를 추가했습니다.

SourceForge.net 에서 다운 받으시면 됩니다.

잘 쓰시고, 새해 복 많이 받으십시오.

Older Posts »

Blog at WordPress.com.