You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ryan Schmidt <su...@ryandesign.com> on 2009/10/12 14:01:03 UTC

Re: Subversion show log error

On Oct 12, 2009, at 09:01, Muhammmad Mateen wrote:

> I’ve just downloaded and setup subversion 1.6 and there’s an issue  
> when I try to view the log using tortoise subversion. It generates  
> error“E:\1.6.5\subversion\tmp\subversion\subversion\libsvn_repos 
> \log.c”. I’ve tried the svn log command as well but no luck.

That's not an error message; that's a path to a file. What's the  
complete error message you see?

> I did some research on google and found that other developers are  
> also experiencing the same problem. This error goes away if we add  
> we give read permissions to all  users (*=read) in “authz” file or  
> don’t use the path based authentication.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406665

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Subversion show log error

Posted by Joseph Van Quakebeke <jo...@ingenix.com>.
We have seen this error when not everyone has read access at the root
level.  
In the conf/authz file, we had to add the following
[/]
* = r
Even though we do not use anonymous access.  Not sure why but it worked.
I know you said you are not using the authz file but maybe you need
something similar in another file?

Joe

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407141

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion show log error

Posted by Ryan Schmidt <su...@ryandesign.com>.
Muhammmad, I'm sending this message back to the mailing list. Don't  
forget to reply all so your reply goes to the mailing list too, not  
just to me. I don't use Windows or authz so I probably can't help you  
personally; I was just asking questions I'm sure others will need the  
answers to in order to help you.


On Oct 13, 2009, at 00:23, Muhammmad Mateen wrote:

> Ryan Schmidt wrote:

>
>> On Oct 12, 2009, at 09:01, Muhammmad Mateen wrote:
>>
>>> I've just downloaded and setup subversion 1.6 and there's an issue
>>> when I try to view the log using tortoise subversion. It generates
>>> error"E:\1.6.5\subversion\tmp\subversion\subversion\libsvn_repos
>>> \log.c". I've tried the svn log command as well but no luck.
>>
>> That's not an error message; that's a path to a file. What's the
>> complete error message you see?
>
> I've sent you the complete error message. Please see attached
> "File-ShowLog.jpg" when I right click on file and select "Show Log"  
> command.

Hm. Indeed, this screenshot of the TortoiseSVN "Log Messages" window  
showing the log of "svn://udlhosr1/test/A.txt" does show only "E: 
\1.6.5\subversion\tmp\subversion\subversion\libsvn_repos\log.c" in the  
table at the top part of the window where one would presumably expect  
the log messages to show up. When I asked you to post the whole  
message, it looked to me like part of an assertion failure message,  
but TortoiseSVN clearly doesn't want to show us the rest of the  
message (which would tell us specifically which assertion failed and  
where within that file it's located).


> The other attachment is "Folder-ShowLog.jpg" which appears when I  
> right
> click on folder and select "Show Log".

Ok, this screenshot of the TortoiseSVN "Log Messages" window shows the  
log of "svn://udlhosr1/test" where revisions up to 10 are present, but  
the author, date and message columns are blank.


> I've also attached the output of "svn log" command which is the same.

This file contained the following text:

> C:\Program Files\CollabNet\Subversion Server>svn log c:\projects\test 
> \a.txt
> svn: Item is not readable
>
> C:\Program Files\CollabNet\Subversion Server>svn log c:\projects\test
> ------------------------------------------------------------------------
> r3 | (no author) | (no date) | 1 line
>
>
> ------------------------------------------------------------------------
> r2 | (no author) | (no date) | 1 line
>
>
> ------------------------------------------------------------------------
> r1 | (no author) | (no date) | 1 line
>
>
> ------------------------------------------------------------------------
>
> C:\Program Files\CollabNet\Subversion Server>

I assume C:\projects\test is a working copy checked out from svn://udlhosr1/test? 
  So here the error message for checking the log of a file is  
different than in TortoiseSVN. Is the file actually named "a.txt" or  
"A.txt"? On the command line you checked the former but in TortoiseSVN  
you checked the latter. I realize Windows is case-insensitive but  
Subversion repositories are not so it might be important to specify  
the case correctly.


>>> I did some research on google and found that other developers are
>>> also experiencing the same problem. This error goes away if we add
>>> we give read permissions to all  users (*=read) in "authz" file or
>>> don't use the path based authentication.
>
> Again, please note that the problem goes away if I remove the path  
> based
> security or allow everyone to read the repository (*=r). Moreover,  
> all the
> log messages are being saved properly in repository on the  
> subversion server
> ("\Test\db\revprops\0"), it's just a matter of display.
>
> Please let me know if you need any other information.

I'm not sure if this is a known problem. There are many issues in the  
issue tracker whose titles contain the string "auth". You might look  
through them and see if anything seems to describe your issue. The  
ones that caught my eye were

http://subversion.tigris.org/issues/show_bug.cgi?id=2712

(which specifically mentions the error message "svn: Item is not  
readable" so this might very well be it)

and possibly

http://subversion.tigris.org/issues/show_bug.cgi?id=2960



> PS: I'm not setup Apache based sub-version

Ok, yes, I see you're using the svn: protocol.


> and also not set the environment
> variables.

Which environment variables are you thinking of?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407136

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].