You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anto Marky <ma...@gmail.com> on 2008/10/06 12:38:09 UTC

Show log - Item is not readable error

Hi,

I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
users are able to connnect, checkout and commit without any problem.But when
they select show log in the Tortoise SVN it gives an error Item not
readable.

Is this an error of SVN or something in the tortoise svn side?

I had two repositories earlier one production and one testing, some sites
gave a solution that the uid of the repositories must be different, as I
don't know how to change the UID of the repository I deleted the test
repository and reloaded SVN, Still I get the same error when I give show
Log.

Some one kindly help me.

Thanks and Regards

Marky

Re: Show log - Item is not readable error

Posted by Konstantin Kolinko <kn...@gmail.com>.
Marky,

regarding this, and your other messages in this thread:

first, you certainly have to read the Svn Book,
http://svnbook.red-bean.com/index.en.html

It is pointless to explain here from scratch what is already written
in that good book.

If you searched, found, and but still do not understand
some wording, feel free to ask.

second, on original your question

The book mentions that
"The UUID is the repository's universal unique identifier. The Subversion
client uses this identifier to differentiate between one repository
and another."

The UUID is used to identify working copies that are retrieved from
the same repository, and to tell apart those that are from different
ones.

Certain commands are valid only if their source and destination are
from the same repository. Even if those working copies were created
by independent checkout operations, or whatever. As they are still
from the same repository, operations on them are valid.

URLs might change, or there might be several repositories on similar
URLs, but UUID remains the same.

The UUID is randomly (uniquely) generated when you create a
repository with "svnadmin create" command. You may change it in
svn 1.5 by using "svnadmin setuuid", and by loading a certain dump
file in previous versions.

Each working copy (each .svn/entries file in the working copy) remembers
the UUID of the repository where it was retrieved from.

Once you change UUID of the repository, all working copies must be
discarded by your users and re-retrieved anew.

Regarding TortoiseSVN and its Log view:

since version 1.5.0 Tortoise does have a cache for certain information
retrieved from the repository - the cache of log messages. That cache
is keyed by repository uuid.

Once you change the id, you must flush the cache, that can be done
from certain page of the Settings dialog.
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-logcache

Best regards,
Konstantin Kolinko

2008/10/6 Anto Marky <ma...@gmail.com>:
>
> To be frank, I don't know anything about svn UID, I thought that it was a
> confusion for svn to distinguishing between the uid's of the two
> repositories.So I deleted the test repository for the svn to read the uid of
> the single repository I have and give out the required log...but still I
> have the same problem....If i generate a brand new UID will it effect my
> revision's as my users have started working on the repository?
>
> Kindly help me out from this.
>
>
> Thanks and regards
>
> Marky
>
> On Mon, Oct 6, 2008 at 6:18 PM, Konstantin Kolinko <kn...@gmail.com>
> wrote:
>>
>> 2008/10/6 Anto Marky <ma...@gmail.com>:
>> >
>> > I have installed svn on 1.5.1 (...)
>> >
>> > I had two repositories earlier one production and one testing, some
>> > sites
>> > gave a solution that the uid of the repositories must be different, as I
>> > don't know how to change the UID of the repository I deleted the test
>> > repository and reloaded SVN, Still I get the same error when I give show
>> > Log.
>> >
>>
>> svnadmin setuuid REPOS_PATH [NEW_UUID]
>>
>> "Reset the repository UUID for the repository located at REPOS_PATH.  If
>> NEW_UUID is provided, use that as the new repository UUID; otherwise,
>> generate a brand new UUID for the repository."
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Anto Marky <ma...@gmail.com>.
Hi,

To be frank, I don't know anything about svn UID, I thought that it was a
confusion for svn to distinguishing between the uid's of the two
repositories.So I deleted the test repository for the svn to read the uid of
the single repository I have and give out the required log...but still I
have the same problem....If i generate a brand new UID will it effect my
revision's as my users have started working on the repository?

Kindly help me out from this.


Thanks and regards

Marky

On Mon, Oct 6, 2008 at 6:18 PM, Konstantin Kolinko
<kn...@gmail.com>wrote:

> 2008/10/6 Anto Marky <ma...@gmail.com>:
> >
> > I have installed svn on 1.5.1 (...)
> >
> > I had two repositories earlier one production and one testing, some sites
> > gave a solution that the uid of the repositories must be different, as I
> > don't know how to change the UID of the repository I deleted the test
> > repository and reloaded SVN, Still I get the same error when I give show
> > Log.
> >
>
> svnadmin setuuid REPOS_PATH [NEW_UUID]
>
> "Reset the repository UUID for the repository located at REPOS_PATH.  If
> NEW_UUID is provided, use that as the new repository UUID; otherwise,
> generate a brand new UUID for the repository."
>

Re: Show log - Item is not readable error

Posted by Konstantin Kolinko <kn...@gmail.com>.
2008/10/6 Anto Marky <ma...@gmail.com>:
>
> I have installed svn on 1.5.1 (...)
>
> I had two repositories earlier one production and one testing, some sites
> gave a solution that the uid of the repositories must be different, as I
> don't know how to change the UID of the repository I deleted the test
> repository and reloaded SVN, Still I get the same error when I give show
> Log.
>

svnadmin setuuid REPOS_PATH [NEW_UUID]

"Reset the repository UUID for the repository located at REPOS_PATH.  If
NEW_UUID is provided, use that as the new repository UUID; otherwise,
generate a brand new UUID for the repository."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Anto Marky <ma...@gmail.com>.
Hi Dave,

I think I was not clear, I  two repositories when I got this error so
deleted one trying not to confuse SVN(As I didn't have a clue how to change
the UID) and still I get the error after deleting one unused repository.I
even cleared saved_data from TSVN settings, still I get the error.

Are you able figure out where I am wrong?


Thnaks and Regards

Marky


On Mon, Oct 6, 2008 at 6:38 PM, Dave Lawrence
<dl...@ad-holdings.co.uk>wrote:

> Anto Marky wrote:
> > Hi,
> >
> > I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
> > users are able to connnect, checkout and commit without any problem.But
> > when they select show log in the Tortoise SVN it gives an error Item not
> > readable.
> >
> > Is this an error of SVN or something in the tortoise svn side?
>
> To answer that, test the same operation on the command line
> svn log my_pathname@HEAD -r start_rev:HEAD
>
> Where start_rev is typically 100 short of HEAD if you're using the
> defaults.
>
> If it's TSVN you should be on their list, if it's SVN stay here.  Doing
> this sort of test in advance is usually helpful to the bug report - as
> well an ensuring you ask on the correct list in the first place.
>
> > I had two repositories earlier one production and one testing, some
> > sites gave a solution that the uid of the repositories must be
> > different, as I don't know how to change the UID of the repository I
> > deleted the test repository and reloaded SVN, Still I get the same error
> > when I give show Log.
> >
> Reloaded?  You mean you created a new repository and loaded a dump of
> the test repo into it, or you restarted your server?
>
> If it is the latter, I'm guessing the test repository was disposable and
> you deleted it forever.  However, if the problem is UUIDs confusing
> TSVN's log caching, then it will still be confused, TSVN doesn't know
> you've deleted the repos!  Try settings->saved_data then click to clear
> "log message (show log dialog)"
>

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi,
> 
> I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
> users are able to connnect, checkout and commit without any problem.But
> when they select show log in the Tortoise SVN it gives an error Item not
> readable.
> 
> Is this an error of SVN or something in the tortoise svn side?

To answer that, test the same operation on the command line
svn log my_pathname@HEAD -r start_rev:HEAD

Where start_rev is typically 100 short of HEAD if you're using the defaults.

If it's TSVN you should be on their list, if it's SVN stay here.  Doing
this sort of test in advance is usually helpful to the bug report - as
well an ensuring you ask on the correct list in the first place.

> I had two repositories earlier one production and one testing, some
> sites gave a solution that the uid of the repositories must be
> different, as I don't know how to change the UID of the repository I
> deleted the test repository and reloaded SVN, Still I get the same error
> when I give show Log.
> 
Reloaded?  You mean you created a new repository and loaded a dump of
the test repo into it, or you restarted your server?

If it is the latter, I'm guessing the test repository was disposable and
you deleted it forever.  However, if the problem is UUIDs confusing
TSVN's log caching, then it will still be confused, TSVN doesn't know
you've deleted the repos!  Try settings->saved_data then click to clear
"log message (show log dialog)"


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Andy Levy <an...@gmail.com>.
On Mon, Oct 6, 2008 at 11:03, Anto Marky <ma...@gmail.com> wrote:
> Hi Dave,
>
> Thanks for your input, in both the cases I get this error, svn: '.' is not a
> working copy.
>
> I don't understand the "." is not a working, is it telling about my working
> repo? If so I am able checkout and commit.

No, it means that the directory you're currently in is not a working copy.

> Kindly suggest my next to figure out the issue.
>
> Regards
>
> Marky
>
>
> On Mon, Oct 6, 2008 at 8:01 PM, Dave Lawrence <dl...@ad-holdings.co.uk>
> wrote:
>>
>> Anto Marky wrote:
>> > Hi Dave,
>> >
>> > I tried the command but it gives the error
>> > svn: Syntax error in revision argument 'start_rev:HEAD'
>> >
>>
>> I didn't literally mean start_rev, I meant you to put a number there.
>>
>> This time though, I will suggest two things to type exactly:
>>
>> (first change directory to the root of your working copy)
>>
>> svn log .
>>
>> svn log .@HEAD -r 1:HEAD
>>
>> (both commands should output some log text)
>>
>> If neither of those give you the error you need to ask on the TSVN list.
>>
>> I see from your other post you have cleared the saved data - if that's
>> the case it's probably not to do with UUIDs.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
>> I tried svn log both from /home/svn_repos/ and /home/svn_repos/my_repo/ am I
>> doing anything wrong?
> 
> Yes. You're looking at the repository directory, not a working copy
> 
And also becuase you're doing it on the server.  What I am trying to get
you to do is determine whether the svn command line *client*, for
*Windows* suffers the same problem as the TSVN gui client for Windows.
That way people might know where to start looking.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
>> I tried svn log both from /home/svn_repos/ and /home/svn_repos/my_repo/ am I
>> doing anything wrong?
> 
> Yes. You're looking at the repository directory, not a working copy
> 
And also becuase you're doing it on the server.  What I am trying to get
you to do is determine whether the svn command line *client*, for
*Windows* suffers the same problem as the TSVN gui client for Windows.
That way people might know where to start looking.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Andy Levy <an...@gmail.com>.
On Mon, Oct 6, 2008 at 11:36, Anto Marky <ma...@gmail.com> wrote:
> Hi Dave,
>
> I tried both,
>
> I have my repositories created in /home/svn_repos/
> I created my repository as svnadmin create /home/svn_repos/my_repo/
>
> Now /home/svn_repos/ is my root directory am I right? I have started my
> dameon as svnserve -d -r /home/svn_repos/my_repos/.
>
> I tried svn log both from /home/svn_repos/ and /home/svn_repos/my_repo/ am I
> doing anything wrong?

Yes. You're looking at the repository directory, not a working copy

> Why does it say it is not the working copy.

Because the repository is not a working copy. You need to be in the
directory where you checked out content from the repository. Or
retrieve the log using a repository URL.

> On Mon, Oct 6, 2008 at 8:46 PM, Dave Lawrence <dl...@ad-holdings.co.uk>
> wrote:
>>
>> Anto Marky wrote:
>> > Hi Dave,
>> >
>> > Thanks for your input, in both the cases I get this error, svn: '.' is
>> > not a working copy.
>> >
>> > I don't understand the "." is not a working, is it telling about my
>> > working repo? If so I am able checkout and commit.
>>
>> . is the current working directory.  It is saying that it isn't a
>> working copy.  That doesn't mean it's not working - check "working copy"
>> in the manuals.  You did cd into the root of the working copy as I
>> suggested right?
>>
>> eg if you are doing show log on c:\test\my_project
>> then for the command line test first do
>> c:
>> cd \test\my_project
>>
>> then try the log commands again
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Anto Marky <ma...@gmail.com>.
Hi Dave,

I tried both,

I have my repositories created in /home/svn_repos/
I created my repository as svnadmin create /home/svn_repos/my_repo/

Now /home/svn_repos/ is my root directory am I right? I have started my
dameon as svnserve -d -r /home/svn_repos/my_repos/.

I tried svn log both from /home/svn_repos/ and /home/svn_repos/my_repo/ am I
doing anything wrong?

Why does it say it is not the working copy.

Thanks and Regards

Marky

On Mon, Oct 6, 2008 at 8:46 PM, Dave Lawrence
<dl...@ad-holdings.co.uk>wrote:

> Anto Marky wrote:
> > Hi Dave,
> >
> > Thanks for your input, in both the cases I get this error, svn: '.' is
> > not a working copy.
> >
> > I don't understand the "." is not a working, is it telling about my
> > working repo? If so I am able checkout and commit.
>
> . is the current working directory.  It is saying that it isn't a
> working copy.  That doesn't mean it's not working - check "working copy"
> in the manuals.  You did cd into the root of the working copy as I
> suggested right?
>
> eg if you are doing show log on c:\test\my_project
> then for the command line test first do
> c:
> cd \test\my_project
>
> then try the log commands again
>

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi Dave,
> 
> Thanks for your input, in both the cases I get this error, svn: '.' is
> not a working copy.
> 
> I don't understand the "." is not a working, is it telling about my
> working repo? If so I am able checkout and commit.

. is the current working directory.  It is saying that it isn't a
working copy.  That doesn't mean it's not working - check "working copy"
in the manuals.  You did cd into the root of the working copy as I
suggested right?

eg if you are doing show log on c:\test\my_project
then for the command line test first do
c:
cd \test\my_project

then try the log commands again


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi Dave,
> 
> Thanks for your input, in both the cases I get this error, svn: '.' is
> not a working copy.
> 
> I don't understand the "." is not a working, is it telling about my
> working repo? If so I am able checkout and commit.

. is the current working directory.  It is saying that it isn't a
working copy.  That doesn't mean it's not working - check "working copy"
in the manuals.  You did cd into the root of the working copy as I
suggested right?

eg if you are doing show log on c:\test\my_project
then for the command line test first do
c:
cd \test\my_project

then try the log commands again

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Anto Marky <ma...@gmail.com>.
Hi Dave,

Thanks for your input, in both the cases I get this error, svn: '.' is not a
working copy.

I don't understand the "." is not a working, is it telling about my working
repo? If so I am able checkout and commit.

Kindly suggest my next to figure out the issue.

Regards

Marky


On Mon, Oct 6, 2008 at 8:01 PM, Dave Lawrence
<dl...@ad-holdings.co.uk>wrote:

> Anto Marky wrote:
> > Hi Dave,
> >
> > I tried the command but it gives the error
> > svn: Syntax error in revision argument 'start_rev:HEAD'
> >
>
> I didn't literally mean start_rev, I meant you to put a number there.
>
> This time though, I will suggest two things to type exactly:
>
> (first change directory to the root of your working copy)
>
> svn log .
>
> svn log .@HEAD -r 1:HEAD
>
> (both commands should output some log text)
>
> If neither of those give you the error you need to ask on the TSVN list.
>
> I see from your other post you have cleared the saved data - if that's
> the case it's probably not to do with UUIDs.
>

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi Dave,
> 
> I tried the command but it gives the error
> svn: Syntax error in revision argument 'start_rev:HEAD'
> 

I didn't literally mean start_rev, I meant you to put a number there.

This time though, I will suggest two things to type exactly:

(first change directory to the root of your working copy)

svn log .

svn log .@HEAD -r 1:HEAD

(both commands should output some log text)

If neither of those give you the error you need to ask on the TSVN list.

I see from your other post you have cleared the saved data - if that's
the case it's probably not to do with UUIDs.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi Dave,
> 
> I tried the command but it gives the error
> svn: Syntax error in revision argument 'start_rev:HEAD'
> 

I didn't literally mean start_rev, I meant you to put a number there.

This time though, I will suggest two things to type exactly:

(first change directory to the root of your working copy)

svn log .

svn log .@HEAD -r 1:HEAD

(both commands should output some log text)

If neither of those give you the error you need to ask on the TSVN list.

I see from your other post you have cleared the saved data - if that's
the case it's probably not to do with UUIDs.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Anto Marky <ma...@gmail.com>.
Hi Dave,

I tried the command but it gives the error
svn: Syntax error in revision argument 'start_rev:HEAD'

I am new to svn..I really don't know what this command does...

Do you understand my problem from the error?

Thanks and Regards

Marky

On Mon, Oct 6, 2008 at 6:17 PM, Dave Lawrence
<dl...@ad-holdings.co.uk>wrote:

> Anto Marky wrote:
> > Hi,
> >
> > I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
> > users are able to connnect, checkout and commit without any problem.But
> > when they select show log in the Tortoise SVN it gives an error Item not
> > readable.
> >
> > Is this an error of SVN or something in the tortoise svn side?
>
> To answer that, test the same operation on the command line
> svn log my_pathname@HEAD -r start_rev:HEAD
>
> Where start_rev is typically 100 short of HEAD if you're using the
> defaults.
>
>

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi,
> 
> I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
> users are able to connnect, checkout and commit without any problem.But
> when they select show log in the Tortoise SVN it gives an error Item not
> readable.
> 
> Is this an error of SVN or something in the tortoise svn side?

To answer that, test the same operation on the command line
svn log my_pathname@HEAD -r start_rev:HEAD

Where start_rev is typically 100 short of HEAD if you're using the defaults.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Show log - Item is not readable error

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Anto Marky wrote:
> Hi,
> 
> I am new to svn, I have installed svn on 1.5.1 on my linux centOS box.My
> users are able to connnect, checkout and commit without any problem.But
> when they select show log in the Tortoise SVN it gives an error Item not
> readable.
> 
> Is this an error of SVN or something in the tortoise svn side?

To answer that, test the same operation on the command line
svn log my_pathname@HEAD -r start_rev:HEAD

Where start_rev is typically 100 short of HEAD if you're using the defaults.

If it's TSVN you should be on their list, if it's SVN stay here.  Doing
this sort of test in advance is usually helpful to the bug report - as
well an ensuring you ask on the correct list in the first place.

> I had two repositories earlier one production and one testing, some
> sites gave a solution that the uid of the repositories must be
> different, as I don't know how to change the UID of the repository I
> deleted the test repository and reloaded SVN, Still I get the same error
> when I give show Log.
> 
Reloaded?  You mean you created a new repository and loaded a dump of
the test repo into it, or you restarted your server?

If it is the latter, I'm guessing the test repository was disposable and
you deleted it forever.  However, if the problem is UUIDs confusing
TSVN's log caching, then it will still be confused, TSVN doesn't know
you've deleted the repos!  Try settings->saved_data then click to clear
"log message (show log dialog)"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org