Re: commit with exit code 255

2012-06-18 Thread Chris Stäbler
2012/6/17 Nico Kadel-Garcia 

> On Sun, Jun 17, 2012 at 4:18 PM, Ryan Schmidt <
> subversion-20...@ryandesign.com> wrote:
>
>>
>> On Jun 17, 2012, at 15:11, Ryan Schmidt wrote:
>>
>> > Chris, I get the same result as you, if I forget to mark the pre-commit
>> hook script as executable. So try "chmod 755
>> /path/to/repo/hooks/pre-commit", then try again.
>>
>> Oops, I trimmed the part of your message where you said you already tried
>> that:
>>
>> >> On Jun 17, 2012, at 08:41, Chris Stäbler wrote:
>> >>
>> >>> Every user has executerights for the hook.
>>
>> If your Subversion server happens to be running on an operating system
>> with SELinux enabled, there are some additional issues you have to
>> consider; see:
>>
>> http://subversion.apache.org/faq.html#reposperms
>>
>
> This is especially true if you've set up your repositories in a
> conceptually reasonable but non-standard location. The RPM's for RHEL and
> Fedora, for example, hint at putting repositories in /var/www/svn, which is
> usually covered by the SELinux rules for /var/www and can help avoid the
> problems.
>
>
>
my repository is set up at /var/www/svn (traditional place)
But SELinux might be the problem (I am using fedora). I will try it when I
am back at home and report you my results :)


A Subclipse question: Eclipse hangs for a long time if it has not been used for one or two weeks

2012-06-18 Thread frame
Hi, 

We have such a headache in using Eclipse and I believe that is due to 
Subclipse. I am wondering if anybody can help me. Thank you.

We use Eclipse to develop Java standalone applications. One thing I found 
is that if I have not used Eclipse for one or two weeks, when I start 
Eclipse (using the same workspace), it just hangs there for a long 
time(with these messages -- "initializing Java tool..", "copy source to 
output..."). It hangs about 30 minutes, then it is ok. However, if I do a 
Refresh(F5), then the hanging will be again. By looking at cpu information, 
the process of eclipse is constantly busy, even when the hanging has been 
gone. It seems that Eclipse is doing some heavy duty thing on the 
background. 

After a long, long time(one or two hours), eclipse is quiet and everything 
is fine. It is just painful. 

I found that if I keep using Eclipse everyday, this kind of problem does 
not happen at all. 

Can you help me understand why and is there any way to avoid the problem? 

Thank you very much. I greatly appreciate your help. 

Re: A Subclipse question: Eclipse hangs for a long time if it has not been used for one or two weeks

2012-06-18 Thread Thorsten Schöning
Guten Tag frame,
am Montag, 18. Juni 2012 um 14:24 schrieben Sie:

> Can you help me understand why and is there any way to avoid the problem?

I didn't read anything regarding Subclipse or Subversion. Why do you
think your problem is related to one of both? Sounds more like you
write to any mailing list you can find in order to get help. :-)

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon.030-2 1001-310
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow



perl auth fails after upgrade to svn 1.7.5

2012-06-18 Thread Doug Hunley
Hey everyone,
We're currently running Apache 2.2.x on an OS X server with SVN 1.6.x
and have a mod_perl based authentication handler for SVN repo access.
It works fine and has for many months. When we upgrade to 1.7.x, our
commits fail with an Apache 500 error, and the logs show:
[Wed May 16 22:38:58 2012] [error] Subroutine fatal redefined at
/Library/Apache/HTTPD/2.2.11-flock/Perl/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level/APR/Error.pm
line 41.\nCompilation failed in require at (eval 22) line 1.\n

If we disable the new httpv2 that comes with 1.7.x all this goes away
and everything works exactly as it did under 1.6.x. We are not nesting
 directives, and that's the only real issue I've found so
far that is similar to ours in the mailing list archive.

Where do I begin troubleshooting this?

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


How to find out Subclise version?

2012-06-18 Thread frame
Hi,

I have tried many places in Eclipse(version Indigo) and I still cannot find 
out which version of my Subclipse is. 

I am working on Linux. We also have a subversion client(version 1.6.5) on 
the terminal. Both works, but most of time I use subversion on the command 
line. 

On the checked out local copies, on Linux, I am wondering how the Eclipse 
plugin Subclipse and the linux client subversion interact each other. If 
the versions of the two do not match, will that cause a problem? Thank you.


Re: How to find out Subclise version?

2012-06-18 Thread Thorsten Schöning
Guten Tag frame,
am Montag, 18. Juni 2012 um 17:46 schrieben Sie:

> I have tried many places in Eclipse(version Indigo) and I still cannot find
> out which version of my Subclipse is. 

Help\Install New Software\What is already installed? in the middle on
the right side of the window.

> On the checked out local copies, on Linux, I am wondering how the Eclipse
> plugin Subclipse and the linux client subversion interact each other. If
> the versions of the two do not match, will that cause a problem? Thank you.

Unless you work in the Eclipse project folders in a terminal they
won't be any interaction. If you do it is recommended that all clients
are the same version, but most of the time clients just differing in
minor versions will work. 1.6.x and 1.7.x won't work on the same
working copy as 1.7.x forces one to upgrade and 1.6.x will error on
more current working copies, resulting in no chance to harm the
working copy with different clients.

If you mix 1.7.1 and 1.74 for example and 1.7.1 has a fixed Bug which
could corrupt your working copy, that's of course a risk you take. But
normally those kinds of version mix will work, I use them, too,
depending on update cycles of TortoiseSVN and Subclipse.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon.030-2 1001-310
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow



AW: commit with exit code 255

2012-06-18 Thread Chris Stäbler
Hey

I tried it and it solved it in the first moment. But now I get the following
message when I try to commit:

svn: E204900: Commit failed (details follow):
svn: E204900: Can't open file '/var/www/svn/firstrepo/db/txn-current-lock':
Permission denied
svn: E175002: MKACTIVITY of
'/svn/firstrepo/!svn/act/889ead00-3801-0010-a8fd-51f4a60835a4': 500 Internal
Server Error (http://... )

Even when I give every user read, write and execute rights (what's actually
pretty stupid) I can't commit?

Any ideas?
Thanks for help so far.


2012/6/17 Nico Kadel-Garcia 
On Sun, Jun 17, 2012 at 4:18 PM, Ryan Schmidt
 wrote:

On Jun 17, 2012, at 15:11, Ryan Schmidt wrote:

> Chris, I get the same result as you, if I forget to mark the pre-commit
hook script as executable. So try "chmod 755
/path/to/repo/hooks/pre-commit", then try again.
Oops, I trimmed the part of your message where you said you already tried
that:

>> On Jun 17, 2012, at 08:41, Chris Stäbler wrote:
>>
>>> Every user has executerights for the hook.

If your Subversion server happens to be running on an operating system with
SELinux enabled, there are some additional issues you have to consider; see:

http://subversion.apache.org/faq.html#reposperms
 
This is especially true if you've set up your repositories in a conceptually
reasonable but non-standard location. The RPM's for RHEL and Fedora, for
example, hint at putting repositories in /var/www/svn, which is usually
covered by the SELinux rules for /var/www and can help avoid the problems.
 


my repository is set up at /var/www/svn (traditional place) 
But SELinux might be the problem (I am using fedora). I will try it when I
am back at home and report you my results :)




Re: perl auth fails after upgrade to svn 1.7.5

2012-06-18 Thread Daniel Shahaf
Doug Hunley wrote on Mon, Jun 18, 2012 at 10:55:02 -0400:
> Hey everyone,
> We're currently running Apache 2.2.x on an OS X server with SVN 1.6.x
> and have a mod_perl based authentication handler for SVN repo access.
> It works fine and has for many months. When we upgrade to 1.7.x, our
> commits fail with an Apache 500 error, and the logs show:
> [Wed May 16 22:38:58 2012] [error] Subroutine fatal redefined at
> /Library/Apache/HTTPD/2.2.11-flock/Perl/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level/APR/Error.pm
> line 41.\nCompilation failed in require at (eval 22) line 1.\n
> 
> If we disable the new httpv2 that comes with 1.7.x all this goes away
> and everything works exactly as it did under 1.6.x. We are not nesting
>  directives, and that's the only real issue I've found so
> far that is similar to ours in the mailing list archive.
> 
> Where do I begin troubleshooting this?
> 

Check where the 'other' definition of the subroutine 'fatal' is, and why
the two definitions conflict.

> -- 
> Douglas J Hunley (doug.hun...@gmail.com)
> Twitter: @hunleyd                                               Web:
> douglasjhunley.com
> G+: http://goo.gl/sajR3


exception on merge (tortoise v1.7.7)

2012-06-18 Thread Elecia White
I got a subversion exception as I tried to merge. I updated to the
latest TortoiseSVN and got the same error.

I did Merge, Merge a range of revisions, Show log and got the exception
below.

I don't know what version the server is on, is there an easy way to
tell? (I have no control over the server.)

The problem is very repeatable. It may be related to the fact that when
I do Merge, Merge a range of revisions and type in my revisions
(27543-27877), Next and then Test merge on Working copy, I get another error
Command: Merging revisions 27542-27877 of /firmware/trunk into
F:\ABC\firmware_GH, respecting ancestry, Test Only
Error: 'C:\Users\elecia\AppData\Local\Temp' is not a working copy
Completed!:

My working copy has no modification. I ran a clean up and got the same
response.

Note, I'm running Win7. The TortoiseSVN version and exception are below.
Please let me know how to get around this and if I can provide further
information.

Thank you,
Elecia

TortoiseSVN 1.7.7, Build 22907 - 32 Bit , 2012/05/15 12:16:05
Subversion 1.7.5,
apr 1.4.6
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.1c 10 May 2012
zlib 1.2.7

---
Subversion Exception!
---
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html

Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):

In file
 
'D:\Development\SVN\Releases\TortoiseSVN-1.7.7\ext\subversion\subversion\libsvn_wc\wc_db.c'
 line 11728: assertion failed (svn_dirent_is_absolute(local_abspath))
---
OK
---


Re: commit with exit code 255

2012-06-18 Thread Ryan Schmidt

On Jun 18, 2012, at 12:44, Chris Stäbler wrote:

> I tried it and it solved it in the first moment. But now I get the following
> message when I try to commit:
> 
> svn: E204900: Commit failed (details follow):
> svn: E204900: Can't open file '/var/www/svn/firstrepo/db/txn-current-lock':
> Permission denied
> svn: E175002: MKACTIVITY of
> '/svn/firstrepo/!svn/act/889ead00-3801-0010-a8fd-51f4a60835a4': 500 Internal
> Server Error (http://... )
> 
> Even when I give every user read, write and execute rights (what's actually
> pretty stupid) I can't commit?

Are you sure you've set the ownership *and* permissions *and* SELinux security 
context correctly for /var/www/svn *and* all of its contents recursively?




Re: How to find out Subclise version?

2012-06-18 Thread Lorenz
Thorsten Schöning wrote:
>Guten Tag frame,
>> I have tried many places in Eclipse(version Indigo) and I still cannot find
>> out which version of my Subclipse is. 
>
>Help\Install New Software\What is already installed? in the middle on
>the right side of the window.
>[...]

 be aware that the subclipse version matching svn 1.7 is 1.8
-- 

Lorenz