Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Tuesday, February 19, 2013

Wednesday, October 3, 2012

Eclipse: Svn error : RA layer request failed

If you get this error:

RA layer request failed
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repo/path/!svn/vcc/default'
svn: PROPFIND of '/repo/path/!svn/vcc/default': Could not read status line: connection was closed by server. (http://example.com)

Switch from JavaHL(JNI) to SVNKit(Pure Java) in Eclipse:

  1. in eclipse go to Help –> Install New Software…
  2. Work with: –> choose the community.polarion.com update site
  3. expand Subversive SVN Connectors
  4. choose the SVNKit version corresponding with your version of subversion
  5. click Next, and then follow the instructions to complete installation
  6. Window –> Preferences –> expand "Team" –> select "SVN" –> select the "SVN Connector" tab –> change the SVN Connector to SVNKit –> OK


Resource:
http://languor.us/eclipse-subversion-ra-layer-request-failed-could-not-read-status-line-errors

Tuesday, July 24, 2012

Python: weird SyntaxError: invalid syntax

The code was apparently normal:

def myFunctionTestOK():
   return "hi there ok"

def myFunctionTestFail():
   return "hi there fail"

and the error was:

Traceback (most recent call last):  
  File "C:\mytest.py", line 5
    return "hi there fail"
                          ^
SyntaxError: invalid syntax

I was using the Pydev Eclipse Plugin. After a lot of time trying to identify the error I decide to open the file using Notepad ++ http://notepad-plus-plus.org/

clicking in the 'show all characters' button:


I found out that there was missing a (LF) just after the line return "hi there fail":




so I put the cursor just after "hi there fail" and pressed enter:




And finally deleted the line with the single (CR):




Now everything works smoothly.

Wednesday, July 4, 2012

Eclipse Subversive Plugin : Checkout operation for '...' failed. Java heap space

The problem is caused by a bug in the SVNKit connector, so the solution is to use the JavaHL connector:

1. in eclipse go to Help –> Install New Software…
2. Work with: –> choose the community.polarion.com update site
3. expand Subversive SVN Connectors
4. choose the JavaHL version corresponding with your version of subversion
5. click Next, and then follow the instructions to complete installation
6. Window –> Preferences –> expand "Team" –> select "SVN" –> select the "SVN Connector" tab –> change the SVN Connector to JavaHL –> OK

Resource:

Friday, June 3, 2011

Eclipse on Windows : Invalid Configuration Location


"/../../../eclipse/configuration/org.eclipse.osgi. A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location,or disable file locking passing "=Dosgi.lockling=none" as a VM argument. /../../../eclipse/configuration/org.eclipse.orgi/.manager/.fileTableLock (Permission denied)"

Solution
right click over "eclipse.exe" > "run as administrator"

Thursday, January 20, 2011

Show Android logCat in eclipse

Window->Show View->Other…->Android->LogCat

Thursday, January 13, 2011

eclipse error : Your project contains error(s), please fix them before running your application

Project > Clean

This worked for me when getting that unhelpful error in Eclipse, no data in the Console, and only the error icon at the top of the project tree only.