Opened 17 years ago
Closed 17 years ago
#6359 closed defect (invalid)
Python error after install Trac
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.10.3 |
Severity: | normal | Keywords: | python, error, browser |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
this is what I have done:
Clean installed debian system.
apt-get install build-essential apt-get update apt-get upgrade apt-get install trac
setup a trac directory using trac-admin
everything went fine until i've started the server:
tracd -p 80 /www/trac
once i've opened the page in iexplore i get the following error's:
Python Traceback Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 263, in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 73, in pre_process_request
self.get_repository(req.authname) # triggers a sync if applicable
File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 101, in get_repository
repos = self._connector.get_repository(rtype, rdir, authname)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 260, in get_repository
crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 39, in init
self.sync()
File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 143, in sync
cset = self.repos.get_changeset(next_youngest)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 346, in get_changeset
self.fs_ptr, self.pool)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 638, in init
message = self._get_prop(core.SVN_PROP_REVISION_LOG)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 729, in _get_prop
return fs.revision_prop(self.fs_ptr, self.rev, name, self.pool())
File "/var/lib/python-support/python2.4/libsvn/fs.py", line 570, in svn_fs_revision_prop
return apply(_fs.svn_fs_revision_prop, args)
SubversionException: ('No such revision 1', 160006)
I've got no clue what went wrong, or what i have done wrong.
Thanks
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Priority: | high → normal |
---|---|
Resolution: | → invalid |
Severity: | critical → normal |
Status: | new → closed |
Replying to RonaldvanMeer@gmail.com:
Problem has been fixed:
This is what i've done!:
in /tmp create a dir: dirs within dirs create 3 directories mkdir -
after that go 1 directory backwards
/tmp/dirs
do next commando:
svn import /tmp/dirs file:///www/trac/repos -m "Initial import"
after file redirect to your SVN repository directory