[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Trac on windos Help please

From: <Rafael.EgidoArteaga_at_telefonica.es>
Date: 2006-01-19 13:16:33 CET

Hi, my name is Rafael.

I´m trying to configurate trac in my system and I have some problems.

I´m trying to make a trac-post-commit-hook to my system, but i hava this
problem:

C:\svn\repo1\hooks>C:\Python23\python.exe
C:\Python23\Scripts\trac-post-commit-h
ook.py -p C:\svn\repo1\ -r 22 -u dsx1475 -m ""

Traceback (most recent call last):
  File "C:\Python23\Scripts\trac-post-commit-hook.py", line 166, in ?
    CommitHook()
  File "C:\Python23\Scripts\trac-post-commit-hook.py", line 121, in
__init__
    self.verifyDatabaseVersion()
  File "C:\Python23\Scripts\trac-post-commit-hook.py", line 158, in
verifyDataba
seVersion
    'name=%s AND value=%s', 'database_version', '7')
  File "C:\Python23\Lib\site-packages\sqlite\main.py", line 255, in
execute
    self.rs = self.con.db.execute(SQL % parms)
_sqlite.DatabaseError: no such table: system

Yes, my OS is windows 2000
The repository is in C:\svn\repo1
The repository is created and running.

IIt is possible that I do not have initializad de database?
Where can I see my real database version?

I hava another problem while trying to install the NewWorflowProposal
My trac is 0.8.4 version, and in yhe web i see versions of the patch to
trac 0.8.2
http://projects.edgewall.com/trac/wiki/NewWorkflow

When i try to make the changes there are some problem with the contents of
some files.
For example in setup.py the patch says:

--- setup.py (revision 1768)
+++ setup.py (working copy)
 @@ -206,7 +206,8 @@
        author_email="info@edgewall.com",
        license=LICENSE,
        url=URL,
 - packages=['trac', 'trac.upgrades', 'trac.wikimacros',
'trac.mimeviewers'],
 + packages=['trac', 'trac.upgrades', 'trac.wikimacros',
'trac.mimeviewers',
 + 'trac.workflows'],
        data_files=[(_p('share/trac/templates'), glob('templates/*')),
                    (_p('share/trac/htdocs'), glob(_p('htdocs/*.*')) +
[_p('htdocs/README')]),
                    (_p('share/trac/htdocs/css'),
glob(_p('htdocs/css/*'))),

But my file contentes are:

from distutils.core import setup

setup(
  scripts=[
    'byteyears.py',
    'checkpyc.py',
    'copytime.py',
    'crlf.py',
    'dutree.py',
    'ftpmirror.py',
    'h2py.py',
    'lfcr.py',
    'logmerge.py',
    '../../Lib/tabnanny.py',
    '../../Lib/timeit.py',
    'untabify.py',
    ],
  )

Is somewhere a version of the pacth to trac 0.8.4?

Thank you very much
Received on Thu Jan 19 13:41:25 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.