Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 7:57 pm (All times are UTC )

 




Post new topic Reply to topic  [ 19 posts ] 
Author Message
Posted: Fri May 04, 2007 10:49 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
I have a new project on joomlacode (just opened yesterday) and every time I try to add a file through SVN using Tortoise, I get Error: Put of '/svn/projectunixname/!svn/wrk/random-hash-string/filename': 501 Method Not Implemented (http://joomlacode.org)


Last edited by dynedain on Wed May 09, 2007 4:32 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sat May 05, 2007 8:00 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15096
Hi Can you check this topic, see if it helps? > http://forum.joomla.org/index.php/topic ... #msg734511

_________________
Regards Robin


Top
   
 
Posted: Mon May 07, 2007 3:56 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
No, unfortuneately it doesn't help. I am doing the commit process correctly. I can update my local copy, no problem (there's no files yet to check out of course). And the commit process works and prompts me for my username/pass; after supplying them though I get the error

Here's the log:
Adding: Desktop\J-AMFPHP zzzzz\j-amfphp.xml
<-- At this point I'm prompted for my login info -->
Sending content: Desktop\J-AMFPHP zzzzz\j-amfphp.xml 
Error: Commit failed (details follow): 
Error: PUT of '/svn/jamfphp/!svn/wrk/a467faba-9217-fd4b-9aaf-6db2554eba6c/j-amfphp.xml': 501 Method Not Implemented (http://joomlacode.org


Top
  E-mail  
 
Posted: Mon May 07, 2007 9:54 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
I have tested this using another SVN client, the one included as part of the "EasyEclipse for PHP" package.

I get a very similar error when trying to create a new folder in the SVN:

org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: MKCOL of
'/svn/jamfphp/!svn/wrk/86474d7d-acf2-c8479458-f9b355a48cb7/J-AMFPHP%20v0.1': 501 Method Not Implemented (http://joomlacode.org)



Clearly something is wrong with the SVN setup for my new, empty project and I would appreciate any help I could get in resolving this.


Top
  E-mail  
 
Posted: Tue May 08, 2007 5:25 am 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15096
Can you check http://forum.joomla.org/index.php/topic,161874.0.html

This user had the exact same problem e.g. error you seem to have.

_________________
Regards Robin


Top
   
 
Posted: Tue May 08, 2007 3:46 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
No, it's not helping.

Those are the exact steps I've been going through (except that I'm using tortoise on Windows, not a command line SVN on *NIX). I even started over from scratch to follow step by step. I'm still getting the error as soon as I attempt to commit a file or folder to the empty SVN.


Top
  E-mail  
 
Posted: Tue May 08, 2007 4:07 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
Let me run through my steps to make clear I'm doing the right thing.

I requested a new project on JoomlaCode, it was approved: J-AMFPHP with the 'unix name' JAMFPHP

I created a new folder on my desktop for the project.

Right click -> SVN Checkout -> http://joomlacode.org/svn/jamfphp&nbsp; (no login info is requested at this point)

The project checks out ok:
Completed: At revision: 0 

I create a new text file, drop it into the folder.

Right click on the file -> Tortoise SVN -> Add
Added: C:\Documents and Settings\amclin\Desktop\New Folder\Test.txt
Now the file icon is marked with a nice big blue + to indicate it is to be added on the next commit

Right click on the file -> SVN Commit
Adding: Desktop\New Folder\Test.txt
Now prompted with the Login details
Sending content: Desktop\New Folder\Test.txt
Error: Commit failed (details follow): 
Error: PUT of '/svn/jamfphp/!svn/wrk/e98910e9-91fd-3a4d-8d0c-5375bb0549dc/Test.txt': 501 Method Not Implemented (http://joomlacode.org



If I provide incorrect login details I get:
Error: Commit failed (details follow): 
Error: CHECKOUT of '/svn/jamfphp/!svn/ver/0/': authorization failed (http://joomlacode.org

So obviously it isn't a login problem


So what am I doing wrong? I'm following the instructions and video tutorials on all the various pages that you have been kind enough to link for me, but as you can see, it isn't working. Either I'm missing something painfully obvious, or something isn't documented properly.


Top
  E-mail  
 
Posted: Wed May 09, 2007 1:51 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4491
Location: Toronto, Canada
try doing:

svn --username joeblow commit -m "Commit message"

I think this has helped me in the past.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed May 09, 2007 3:50 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
Thanks ianmac, I had thought along those lines too, but even with a commit message I still get the error.


Top
  E-mail  
 
Posted: Wed May 09, 2007 3:56 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4491
Location: Toronto, Canada
The difference that worked for me was not the commit message, but specifiying --username on the command line with the proper user.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed May 09, 2007 3:59 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
Unfortuneately, I don't have that option. As I mentioned, I'm on Windows and trying this with Tortoise SVN (I also have tried the SVN included as part of EasyEclipse for PHP, but with the same results) so I don't have the ability to try command-line commits.


Top
  E-mail  
 
Posted: Wed May 09, 2007 4:02 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4491
Location: Toronto, Canada
ahhh...  I see...  I don't use Windows anymore, so I can't help you then.  I suspect it is related though.  You probably did an anonymous checkout (the new forge allows this) and now you can't commit.  Just my guess though.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed May 09, 2007 4:31 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
ianmac wrote:
You probably did an anonymous checkout (the new forge allows this) and now you can't commit.


That is absolutely correct! The key was the anonymous checkout. I had done anonymous checkout of the Joomla 1.5 repository and so my anonymous login credentials were being saved. This of course meant that whenever I did a checkout of my project, it was using the anonymous credentials.

So, the solution for me was to clear my saved authentications in Tortoise and attempt another checkout, which prompted me with the checkout login window that I wasn't getting before.

Thanks for the help! Marking this one solved.


Top
  E-mail  
 
Posted: Wed May 09, 2007 4:43 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4491
Location: Toronto, Canada
Great!

Glad it got you going!

Good luck!
Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed May 09, 2007 4:56 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15096
Thanks for all the feedback, and your help Ian. This way we can help other as well.

_________________
Regards Robin


Top
   
 
Posted: Wed May 09, 2007 6:18 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 11, 2006 6:51 am
Posts: 33
Location: Ellensburg, Washington
how did you clear your tortoise cache mate? im having the same problem.

_________________
Dan Syme - InnerGate Designs


Top
   
 
Posted: Wed May 09, 2007 6:20 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Aug 24, 2005 7:20 pm
Posts: 186
Location: Los Angeles
Right-click on folder -> Tortoise SVN -> Settings -> Saved Data

Click the "clear" button next to "authentication data"


Top
  E-mail  
 
Posted: Wed May 09, 2007 6:26 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 11, 2006 6:51 am
Posts: 33
Location: Ellensburg, Washington
yep nice one just found that, thanks much mate.

_________________
Dan Syme - InnerGate Designs


Top
   
 
Posted: Sun Aug 02, 2009 5:20 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 23, 2008 6:06 pm
Posts: 30
Location: Massachusetts, USA
And if you are on a Windows machine with Eclipse PHP & SVN and having these difficulties you can clear your passwords by deleting the files in the following folder:

XP:
c:\Documents and Settings\[username]\Application Data\subversion\auth\svn.simple

Vista:
c:\Users\[username]\AppData\Roaming\subversion\auth\svn.simple

I made a copy as a back up first :D

Andy

_________________
Andrea Tarr
http://www.tarrconsulting.com - Tarr Consulting
http://www.twitter.com/sueter - Follow me on Twitter @Sueter


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group