<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Eschew Obfuscation: "svn: Malformed network data" error in Eclipse</title>
    <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Max Dunn's Personal Blog</description>
    <item>
      <title>&amp;quot;svn: Malformed network data&amp;quot; error in Eclipse</title>
      <description>&lt;p&gt;Several weeks ago, I changed from a Windows laptop to a MacBook. After I got Eclipse setup and went to check-in some code to RubyForge, I received an error:&lt;/p&gt;
	&lt;pre&gt;&lt;code&gt;svn: Commit failed (details follow):
svn: Malformed network data&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;At first I figured that this was just a problem with the RadRails Subclipse module on my Mac, but then I tried it on my old Windows computer that used to work fine, and got the same error!&lt;/p&gt;


	&lt;p&gt;After googling around, it seems that this is a known issue when &lt;span class="caps"&gt;SVN&lt;/span&gt; server is updated to version 1.4, but older clients are used. The clients were fixed in October, but there hasn&amp;#8217;t been a new official Subclipse build so the automatic Eclipse update doesn&amp;#8217;t help. I spent a day trying to figure out how to compile a new Eclipse version, but no luck.&lt;/p&gt;


	&lt;p&gt;However, there are two workarounds. First, the svn command line works fine.&lt;/p&gt;


	&lt;p&gt;The second workaround relies on the fact that the changed files are actually committed, but that the error just prevents the local svn repository from recognizing that. So after the error, doing an &amp;#8220;update&amp;#8221; will merge the changes and everything will be good.&lt;/p&gt;


	&lt;p&gt;If you have added or deleted files, however, the update trick won&amp;#8217;t work. In this case, it is necessary to delete the entire directory that contains the added or deleted files. &lt;strong&gt;Be sure to do this outside of Eclipse with Explorer or Finder!&lt;/strong&gt; Then update the files and it will bring everything down fine.&lt;/p&gt;


	&lt;h4&gt;Versions&lt;/h4&gt;


	&lt;table&gt;
		&lt;tr&gt;
			&lt;th&gt;Program&lt;/th&gt;
			&lt;th&gt;Version&lt;/th&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;RadRails&lt;/td&gt;
			&lt;td&gt;v.0.7.1&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;Subclipse&lt;/td&gt;
			&lt;td&gt;1.0.3&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;svn command line&lt;/td&gt;
			&lt;td&gt;1.3.1&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;




	&lt;h2&gt;Fix&lt;/h2&gt;


	&lt;p&gt;Mark Phippard added a comment explaining the problem. Here is a summary:&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;The issue is JavaSVN. It had a problem talking to Subversion 1.4.x server. RadRails can be used with Eclipse 3.2 and then you can install Subclipse 1.1.9 which includes &lt;span class="caps"&gt;SVN 1&lt;/span&gt;.4 clients.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;So I installed Eclipse 3.2 and RadRails on top. However, when I installed Subclipse according to the instructions:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Eclipse: Help =&amp;gt; Software Updates =&amp;gt; Find and Install&lt;/li&gt;
		&lt;li&gt;Search for new features to install&lt;/li&gt;
		&lt;li&gt;New Remote Site&lt;/li&gt;
		&lt;li&gt;&lt;span class="caps"&gt;URL&lt;/span&gt; =&amp;gt; http://subclipse.tigris.org/update_1.0.x&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;it gave me version Subclipse 1.0.3. The trick to get Subclipse 1.1.9 was to use the update site:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;span class="caps"&gt;URL&lt;/span&gt; =&amp;gt; http://subclipse.tigris.org/update_1.2.x&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Thu, 07 Dec 2006 10:37:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:d330791c-c5b0-407a-a7e8-25bee9319447</guid>
      <author>Max Dunn</author>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse</link>
      <category>Ruby on Rails</category>
      <category>Tech Tips</category>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Eric Troyer</title>
      <description>&lt;p&gt;I&amp;#8217;m running EasyEclipse Server Java 1.2.2.2 on my Mac. I tried updating svn using &lt;a href="http://subclipse.tigris.org/update_1.2.x" rel="nofollow"&gt;http://subclipse.tigris.org/update_1.2.x&lt;/a&gt; but I get an error &amp;#8220;Unable to complete action for feature &amp;#8220;Subclipse&amp;#8221; due to errors. The error says (Permission Denied). Any one know the solution?&lt;/p&gt;</description>
      <pubDate>Tue, 09 Sep 2008 11:17:34 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:f8027055-47f1-4c70-99fc-a7d661081a04</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-669</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Martin Saeta</title>
      <description>&lt;p&gt;Thanks for your help, this has been bugging me. I agree with Michael here, today it is September 08, and this bug is still not fixed, ridiculous.&lt;/p&gt;</description>
      <pubDate>Tue, 02 Sep 2008 04:05:43 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:4b887246-573e-4b60-b37b-ccaa9e2c57ab</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-665</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Michael Nygard</title>
      <description>&lt;p&gt;I see that you posted this in December 2006, yet the problem still persists in May 2008.  Ridiculous.&lt;/p&gt;


	&lt;p&gt;Thanks for the explanation. I&amp;#8217;ve been about ready to throw Eclipse out the window.&lt;/p&gt;</description>
      <pubDate>Sat, 24 May 2008 17:08:06 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:9697e273-380d-44c6-92bc-3d37147a6a75</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-592</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Max Dunn</title>
      <description>&lt;p&gt;I figured it out. You need to use &lt;a href="http://subclipse.tigris.org/update_1.2.x"&gt;http://subclipse.tigris.org/update_1.2.x&lt;/a&gt; (not 1.0.x) to get Subclipse 1.1.9. Thanks for pointing me in the right direction!&lt;/p&gt;</description>
      <pubDate>Fri, 08 Dec 2006 14:42:26 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c8ae0f9e-a531-44fa-a9a6-3475f2924ba8</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-197</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Max Dunn</title>
      <description>&lt;p&gt;I installed Eclipse 3.2 and updated to 3.2.2. However, when I install Subclipse from &lt;a href="http://subclipse.tigris.org/update_1.0.x"&gt;http://subclipse.tigris.org/update_1.0.x&lt;/a&gt; it gives me version Subclipse 1.0.3. How do I get Subclipse 1.1.9?&lt;/p&gt;</description>
      <pubDate>Fri, 08 Dec 2006 14:30:29 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ae8a2d23-471f-4037-9c15-76a353ce8a1b</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-196</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Max Dunn</title>
      <description>&lt;p&gt;Thanks for your comments Mark, they were very helpful!&lt;/p&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:49:10 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:fdac058a-7897-4336-89ff-d891fedce25d</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-195</link>
    </item>
    <item>
      <title>""svn: Malformed network data" error in Eclipse" by Mark Phippard</title>
      <description>&lt;p&gt;The issue is JavaSVN (now called SVNKit).  It had a problem talking to Subversion 1.4.x server.  Native Subversion clients going back to 1.0.0 should work fine with a 1.4.0 server.&lt;/p&gt;


	&lt;p&gt;RadRails can be used with Eclipse 3.2 (it might even include that by default).  If necessary, update your Eclipse base to 3.2 and then you can install Subclipse 1.1.9 which includes SVN 1.4 clients.&lt;/p&gt;


	&lt;p&gt;Other option is to just use JavaHL.  Instructions for getting JavaHL for various operating systems are in the Subclipse FAQ.&lt;/p&gt;


	&lt;p&gt;Mark&lt;/p&gt;</description>
      <pubDate>Thu, 07 Dec 2006 12:36:22 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:856412c4-bdb7-41a3-8a14-ab1be67721e9</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/07/svn-malformed-network-data-error-in-eclipse#comment-194</link>
    </item>
  </channel>
</rss>
