trac를 설치해야하는데요...좀 도와주세욤...ㅠ

asdfqw3의 이미지

python 2.3 다운받아서 설치하고

trac 0.9.3 win23 다운받아서 설치하고

했느데

trac를 어떻게 실행시키는건가요?...

python을 써서 실행시키는건가요?

단독 어플리케이션이 아닌가욤?

처음이라.. 차근차근 알려주세요..부탁드립니다.ㅠ_ㅠ

내일 당장 필요해요...ㅠ_ㅠ...

mithrandir의 이미지

천천히 빨리 가르쳐달라는건가요? :evil:

trac은 파이썬 웹 어플리케이션입니다.

python 단독 프로세스로 실행할 수도 있고 웹서버에서 돌아가게 설정할 수도 있겠지요.

다운을 받으셨다면, 함께 포함된 문서들을 '차근차근' 살펴보시길 바랍니다 :twisted:

언제나 삽질 - http://tisphie.net/typo/
프로그래밍 언어 개발 - http://langdev.net

asdfqw3의 이미지

제말은 그것이 아니오라...ㅠ_ㅠ.
python idle에서 trac를 실행시켜도 에러가 떠서요..

제가 python이 첨이라
그냥 open하고 run했는데
에러가 나서 그러는데요

/usr/share/cgi-bin/trac.cgi를 웹에서 실행시켜도
아무화면도 안나오던데...(따로 환경설정이 필요한것인지.)

trac실행시키는 방법좀 자세히 알려주셨으면 감사하겠습니다.
정말로..ㅠ_ㅠ..

ktd2004의 이미지

그냥 간단히 이렇게 하세요하는 답변을 할 정도로 간단한 내용은 아닌것 같네요.. ^^;

http://projects.edgewall.com/trac/wiki/TracInstall

위 링크의 문서를 따라서 해보신후에 문제가 생기는 부분을 구체적으로 질문하시면 도움을 받을 수 있을 것 같습니다.

익명 사용자의 이미지

기본적으로 Windows 환경입니다.
Compaq ARMADA E500 Pentium 3

http://projects.edgewall.com/trac/wiki/TracOnWindows
나와 있는대로 설치했습니다.

Python 2.4 <- setup 설치
trac-0.9.3 <- setup 설치
svn-1.3.0 <- setup 설치
sqlite-2.8.17 <- download 후 C:\program files\sqlite 폴더를 만들고 복사함 (시키는대로)

환경설정부분에서 아래와 같이 "환경변수"관련 에러가 발생하고 있어 질문드립니다.

Windows 환경만의 문제인지
어떻게 해결할 수 있는지 궁금합니다.
---------------------------------------------------------------------

Trac [c:\svn\trac.db]> initenv
Creating a new Trac environment at c:\svn\trac.db

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]> Project

 Please specify the connection string for the database to use.
 By default, a local SQLite database is created in the environment
 directory. It is also possible to use an already existing
 PostgreSQL database (check the Trac documentation for the exact
 connection string syntax).

Database connection string [sqlite:db/trac.db]>

 Please specify the absolute path to the project Subversion repository.
 Repository must be local, and trac-admin requires read+write
 permission to initialize the Trac database.

Path to repository [/var/svn/test]> c:\svn\repo1

 Please enter location of Trac page templates.
 Default is the location of the site-wide templates installed with Trac.

Templates directory [C:\Python24\share\trac\templates]>

---------------------------------------------------------------------
Creating and Initializing Project
Failed to create environment. global name 'sqlite' is not defined
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\scripts\admin.py", line 139, in env_c
reate
    self.__env = Environment(self.envname, create=True, db_str=db_str)
  File "C:\Python24\Lib\site-packages\trac\env.py", line 79, in __init__
    self.create(db_str)
  File "C:\Python24\Lib\site-packages\trac\env.py", line 197, in create
    db.init_db(self.path, db_str)
  File "C:\Python24\lib\site-packages\trac\db.py", line 442, in init_db
    cls.init_db(**args)
  File "C:\Python24\lib\site-packages\trac\db.py", line 321, in init_db
    cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))
NameError: global name 'sqlite' is not defined
Failed to initialize environment. 1
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\scripts\admin.py", line 594, in do_in
itenv
    self.env_create(db_str)
  File "C:\Python24\Lib\site-packages\trac\scripts\admin.py", line 144, in env_c
reate
    sys.exit(1)
SystemExit: 1
[/code]
creativeidler의 이미지

NameError: global name 'sqlite' is not defined

이건 PySQLite 1.1.6-py2.3 가 없어서 난 에러입니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.