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.

June 18, 2008

You met 500 Internal Server error?

Filed under: Trouble Shooting — Tags: — yeoupooh @ 3:19 am

Opps.

[Wed Jun 18 11:48:43 2008] [error] [client ...] mod_python (pid=2980, interpreter=’tow.localhost’, phase=’PythonHandler’, handler=’trac.web.modpython_frontend’): Application error
[Wed Jun 18 11:48:43 2008] [error] [client ...] ServerName: ‘tow.localhost’
[Wed Jun 18 11:48:43 2008] [error] [client ...] DocumentRoot: ‘C:/TOW/Apache/htdocs’
[Wed Jun 18 11:48:43 2008] [error] [client ...] URI: ‘/projects/…/ticket/133′
[Wed Jun 18 11:48:43 2008] [error] [client ...] Location: ‘/projects’
[Wed Jun 18 11:48:43 2008] [error] [client ...] Directory: None
[Wed Jun 18 11:48:43 2008] [error] [client ...] Filename: ‘C:/TOW/Apache/cgi-bin/trac.cgi’
[Wed Jun 18 11:48:43 2008] [error] [client ...] PathInfo: ‘/…/ticket/133′
[Wed Jun 18 11:48:43 2008] [error] [client ...] Traceback (most recent call last):
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\mod_python\\importer.py”, line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\mod_python\\importer.py”, line 1229, in _process_target\n    result = _execute_target(config, req, object, arg)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\mod_python\\importer.py”, line 1128, in _execute_target\n    result = object(arg)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\trac\\web\\modpython_frontend.py”, line 87, in handler\n    gateway.run(dispatch_request)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\trac\\web\\wsgi.py”, line 87, in run\n    response = application(self.environ, self._start_response)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\site-packages\\trac\\web\\main.py”, line 416, in dispatch_request\n    env.log.warn(e)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 983, in warning\n    apply(self._log, (WARNING, msg, args), kwargs)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 1079, in _log\n    self.handle(record)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 1089, in handle\n    self.callHandlers(record)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 1126, in callHandlers\n    hdlr.handle(record)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 642, in handle\n    self.emit(record)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\Lib\\logging\\handlers.py”, line 819, in emit\n    self.handleError(record)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\logging\\__init__.py”, line 693, in handleError\n    traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\traceback.py”, line 125, in print_exception\n    print_tb(tb, limit, file)
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\traceback.py”, line 70, in print_tb\n    if line: _print(file, ‘    ‘ + line.strip())
[Wed Jun 18 11:48:43 2008] [error] [client ...]   File “C:\\TOW\\Python\\lib\\traceback.py”, line 13, in _print\n    file.write(str+terminator)
[Wed Jun 18 11:48:43 2008] [error] [client ...] IOError: [Errno 9] Bad file descriptor

Error messages is like above? Then follow this.

TOW is set to Windows Event Log for logging by default. Sometimes Windows Event logging occurs 500 Internal Server error. I don’t know why. But it’s suspicious.

Change logging setting to anything but Windows event log. Edit trac.ini like below or visit Admin page > General > Logging.

[logging]
log_level = WARNING
log_type = file

Hope this helps.

May 26, 2008

Vote for TOW (TracOnWindows)

Filed under: Announcements — Tags: , , , , , , , — yeoupooh @ 12:46 am

Dear users,

you can vote for TOW (TracOnWindows) under

http://sourceforge.net/community/cca08-nominate?group_id=192688

Best regards,

Jinwoo

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 24, 2008

TOW를 NT Service로 돌리기

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

열정몰입님께서 정리를 잘해주셨네요. 감사합니다.

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.

Older Posts »

The Silver is the New Black Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.