threads / discuss / 24611

Re: Delivery Status Notification (Failure)

Subject: Re: Delivery Status Notification (Failure)

## tl;dr

4 messages between Aug 3, 2010 and Aug 5, 2010.

replies: 3people: 2as markdown or json

Simon Grönlund· Aug 3, 2010, 09:31 UTC · lore

Since recent weekend I face an error trying to execute git svn fetch -q. trying to build an index from scratch does not help.

$ git svn fetch
error: short read No such file or directory
fatal: Unable to add (null) to database
   at /usr/lib64/perl5/SVN/Ra.pm line 623

$ git --version git version 1.7.2

$ svn --version svn, version 1.6.9 (r901367)

$ sqlite3 --version 3.6.22

$ perl --version This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

$ uname -a Linux host 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

yum says git-1.7.2-1.fc13.x86_64 subversion-1.6.9-2.fc13.x86_64 sqlite-3.6.22-1.fc13.x86_64 perl-5.10.1-114.fc13.x86_64

The error points me to perl5/SVN/Ra.pm line 623 which is at the lat line in
our $AUTOLOAD;
sub AUTOLOAD {
    my $class = ref($_[0]);
    $AUTOLOAD =~ s/^${class}::(SUPER::)?//;
    return if $AUTOLOAD =~ m/^[A-Z]/;
    my $self = shift;
    no strict 'refs';
    print $self, "\n";
    print $AUTOLOAD, "\n";
    print @_, "\n\n";
    my $method = $self->can("invoke_$AUTOLOAD")
        or die "no such method $AUTOLOAD";
    no warnings 'uninitialized';
    $method->(@$self, @_);
}

The 3 print-debug lines are added by me and they emits the following: $ git svn fetch SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. 721210SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. branches721210SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. branches/4.272117SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) finish_report SVN::Pool=REF(0x2b04130)

error: short read No such file or directory
fatal: Unable to add (null) to database
 at /usr/lib64/perl5/SVN/Ra.pm line 627
Unfortunately I have been unable to debug this further.

Git works flawlessly in this setup with another branch of the same SVN repository but I have not been able to pinpoint which revision or what else that can be wrong here.

Is this error introduced with the recent release of Git? Is there some mismatch between Git, Svn, Perl, or Sqlite?

Grateful for tips or hints.
/Simon
Ævar Arnfjörð Bjarmason· Aug 5, 2010, 16:12 UTC · re: Simon Gronlund · lore

Re: git svn fetch crash with fatal error

On Thu, Aug 5, 2010 at 15:10, Simon Gronlund <simongronlund@gmail.com> wrote:
> Have I posted this problem to the wrong news group? If so, could a friendly soul
> refer me to the proper location, please.
This is the right group, but:
  * Not many people are familiar with git-svn. You might have to wait
    more than 2 days for a reply.
  * Please post messages as replies to the original thread. Neither of
    your two follow-up messages have In-Reply-To headers to indicate
    what you're referring to.
  * The debug output you have doesn't really help. See "perldoc
    perldebug" for how to produce more useful traces, in particular
    the "t" switch to trace execution.
  * Can you provide the list with a copy of the .git in question so we
    can experiment with it?

← back to recent threads