Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7322 closed defect (invalid)

SubversionException: ("Can't read file '/svn/BISC/format': End of file found", 70014)

Reported by: jaakanshorter@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.11rc2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /wiki, Trac issued an internal error.

in /backups/svnbackups ( on old SVN server )

scp -r * jaakan@192.168.1.40:/home/jaakan/svn

on the trac' server rm -rf /var/www/svn/BISC_old mv /var/www/svn/BISC /var/www/svn/BISC_old mv /home/jaakan/svn/svn-12345 /var/www/svn/BISC sudo chown -R apache.apache BISC

redhat 4 x64 / svn 1.4.6

I didn't do " trac-admin BISC resync " because a lot of SVN files and folders went missing after I do this.

System Information

Trac 0.11rc2
Python 2.3.4 (#1, Nov 20 2007, 15:18:15)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
setuptools 0.6c7
SQLite 2.8.17
pysqlite 1.0.1
Genshi 0.5
Subversion 1.4.6 (r28521)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/web/main.py", line 173, in dispatch
    chosen_handler)
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/web/main.py", line 286, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/versioncontrol/api.py", line 79, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/versioncontrol/api.py", line 142, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/versioncontrol/svn_fs.py", line 276, in get_repository
    {'tags': self.tags,
  File "/usr/lib/python2.3/site-packages/Trac-0.11rc2-py2.3.egg/trac/versioncontrol/svn_fs.py", line 398, in __init__
    self.repos = repos.svn_repos_open(self.path, self.pool())
  File "/usr/lib/python2.3/site-packages/libsvn/repos.py", line 47, in svn_repos_open
    return apply(_repos.svn_repos_open, args)
SubversionException: ("Can't read file '/svn/BISC/format': End of file found", 70014)

Attachments (0)

Change History (3)

in reply to:  description comment:1 by Emmanuel Blot, 16 years ago

Milestone: 0.11
Resolution: invalid
Status: newclosed

Replying to jaakanshorter@gmail.com:

scp -r * jaakan@192.168.1.40:/home/jaakan/svn mv /home/jaakan/svn/svn-12345 /var/www/svn/BISC

I'm not sure about the actual commands you ran, and on which directories, but this is definitely not the way to copy a Subversion repository from one machine to another.

See svnadmin dump and svnadmin load commands.

I didn't do " trac-admin BISC resync "

You should have.

because a lot of SVN files and folders went missing after I do this.

Not sure about what you mean by this (which files were "missing", …)

Please post a more detailed message to the MailingList as it is definitely an installation issue.
Before posting a support request to the MailingList, make sure that:

  1. you use svnadmin dump and svnadmin load to copy your SVN repository
  2. you run trac-admin resync with the new repository

comment:2 by jyapi, 16 years ago

784613

in reply to:  2 comment:3 by anonymous, 16 years ago

Replying to jyapi:

784613

I was copying a backup copy of an SVN repo. I removed and did it 3 times and the third time everything was ok. My guess is that the backup copy was bad some how.

in the first try the format size = 0 but it was there.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.