Cannot get CUSP to install correctly...

182 views
Skip to first unread message

JD

unread,
Aug 29, 2008, 6:45:34 PM8/29/08
to Cusp Development
I have been trying for about a week to install CUSP in Eclipse with no
luck. Any thoughts would be appreciated.

I'm using Max OS-X 10.5.4 with Eclipse 3.3.1.1.

First I tried the experimental direct update site. That seemed to
work - I got LISP highlighting. But I got no REPL window and the
files complained with each keystroke that they were not loaded.

So I instead downloaded the plugin directly. Now I finally got a REPL
window. When I initially tried to use it, I got an error something
like "could not connect to LISP ...". After that point all I get is
errors tht the packages (CL & COMMON_LISP_USER) are not loaded.
Also, in all cases, when I try to create a new Project, I get a blank
error dialog with a red exclamation point and have to cancel the
project creation before it's finished.

I had previously worked a little with Dandelion, but it's not listed
as a plugin in Eclipse so I'm not sure if there's any trace of it
left.

Any thoughts would be appreciated - I *really* need to use CUSP.
Thanks guys,
- Jeff

Sergey Kolos

unread,
Aug 29, 2008, 9:24:24 PM8/29/08
to Cusp Development
Have you tried to restart eclipse when you've got "could not connect
to LISP" message?
Can you send me trace produced by cusp when you start eclipse from
command prompt?

Thanks

JD

unread,
Aug 30, 2008, 4:45:24 PM8/30/08
to Cusp Development
Thanks so much for the help, Sergey. Yeah - restarting Eclipse and
even rebooting seemed to have no effect. From prior posts, I might
have conflicting pieces hanging around, but I can't see traces of them
so I don't know how to uninstall them.

When I started Eclipse from the command line, I didn't see anything
that definitively came from CUSP, but it did get a null pointer
exception from within the Lisp Highlighter: Looks like it can't find
SBCL and that this is causing fatal behaviour:

>>> Did not find sbcl folder
>>> Did not find sbcl folder
!SESSION 2008-08-30 15:41:12.992
-----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/jdiamond/.eclipse_keyring -
showlocation
Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /
Users/jdiamond/.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.core.net 1 0 2008-08-30 15:41:24.350
!MESSAGE System property http.nonProxyHosts has been set to local|
*.local|169.254/16|*.169.254/16 by an external source. This value w
ill be overwritten using the values from the preferences

!ENTRY org.eclipse.ui.workbench 4 0 2008-08-30 15:41:47.746
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at
jasko.tim.lisp.editors.CurrentExpressionHighlightingListener.uninstall(CurrentExpressionHighlightingListener.java:
43)
at jasko.tim.lisp.editors.LispEditor.dispose(LispEditor.java:
840)
at
org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:
720)
at
org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:
306)
at
org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:
671)
at
org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:
1604)
at
org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:
1354)
at
org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:
1338)
at
org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:
1312)
at
org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:
1131)
at
org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1653)
at
org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:
825)
at
org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:
1559)
at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:
699)
at org.eclipse.ui.internal.WorkbenchWindow.access
$0(WorkbenchWindow.java:675)
at org.eclipse.ui.internal.WorkbenchWindow
$2.run(WorkbenchWindow.java:790)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:
788)
at
org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:
908)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:
905)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:
834)
at org.eclipse.ui.internal.Workbench$22.run(Workbench.java:
1078)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:
1076)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:
1048)
at org.eclipse.ui.internal.Workbench
$56.handleEvent(Workbench.java:2274)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:
3458)
at org.eclipse.swt.widgets.Display.coreEventProc(Display.java:
842)
at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native
Method)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:
2785)
at
org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native
Method)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2938)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:
2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:
2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
*disconnect

Sergey Kolos

unread,
Aug 30, 2008, 4:56:33 PM8/30/08
to Cusp Development
Yep, problems came from the fact that sbcl was not found.

Try following Tim's recommendation:

http://groups.google.com/group/cusp-development/browse_frm/thread/821a251e25d8c176

moin

unread,
Sep 24, 2008, 3:27:12 AM9/24/08
to Cusp Development
Incidentaly I have ethe same problem.

Here's how you solve it. DISCONNECT your network....problem solved.

Driving me crazy.

On Aug 30, 1:56 pm, Sergey Kolos <sergey.ko...@gmail.com> wrote:
> Yep, problems came from the fact that sbcl was not found.
>
> Try following Tim's recommendation:
>
> http://groups.google.com/group/cusp-development/browse_frm/thread/821...
> > jasko.tim.lisp.editors.CurrentExpressionHighlightingListener.uninstall(Curr­entExpressionHighlightingListener.java:
> > 43)
> >         at jasko.tim.lisp.editors.LispEditor.dispose(LispEditor.java:
> > 840)
> >         at
> > org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartR­eference.java:
> > 720)
> >         at
> > org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:
> > 306)
> >         at
> > org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReferen­ce.java:
> > 671)
> >         at
> > org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:
> > 1604)
> >         at
> > org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.ja­va:
> > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication­.java:
> > 106)
> >         at
> > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java­:
> > 169)
> >         at
> > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication­(EclipseAppLauncher.java:
> > 106)
> >         at
> > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA­ppLauncher.java:
> > 76)
> >         at
> > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> > 363)
> >         at
> > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> > 176)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp­l.java:
> > > > - Jeff- Hide quoted text -
>
> - Show quoted text -

Sergey Kolos

unread,
Sep 24, 2008, 4:30:53 AM9/24/08
to Cusp Development
> Incidentaly I have ethe same problem.
>
> Here's how you solve it. DISCONNECT your network....problem solved.
>
> Driving me crazy.

It doesn't look like the same problem. Could you please elaborate?

This looks somewhat similar to the issue I run into when trying to
debug using Eclipse: from time to time Norton Security firewall starts
complaining about network atack comming from local address (Eclipse is
a culprit). If I don't pause firewall when this happens Eclipse
eventually crashes.

Message has been deleted

jimmy zhang

unread,
Mar 19, 2012, 1:10:16 PM3/19/12
to cusp-dev...@googlegroups.com
I got the same problem, and it got solved by this way:
  open:Window->Preferences->Lisp->Implementations
  if (you install cusp in the same folder of plugin) then
    unselect "use a lisp sitewide installtion"
 else 
    select  "use a lisp sitewide installtion" 
    add path of sbcl.exe to windows env_var $PATH
    add new windows env_var: $SBCL_PATH = path of sbcl.exe

Reply all
Reply to author
Forward
0 new messages