clooj icon indicating copy to clipboard operation
clooj copied to clipboard

Can't add projects (show-stopping bug)

Open lspector opened this issue 11 years ago • 2 comments

It is now impossible for me, using Clooj 0.3.11 or any earlier version that I've tried (including a several 0.3., 0.2., and 0.1.*) to add an existing project to Clooj. This is a show-stopping bug -- I can't currently use Clooj for any of my work since I can't open any of my projects in Clooj.

This is in Mac OS X 10.7.5, and I assume that it is related to the OS and that the problem cropped up in some recent Mac OS upgrade.

For a while I ignored it because the projects I worked on were already added to my copy of Clooj and/or were new things that I created in Clooj. But I just recently had to remove and try to re-add a project and found that it is apparently impossible. If, in the open project file dialog, I select the project folder and click "open", it just opens the folder and remains in the dialog. The open button is then greyed out -- I can't click it except when a folder is highlighted, and then it just opens that folder and remains in the dialog. I thought that maybe I could highlight the project's project.clj and select open, but that adds project.clj (not the project folder) to the project pane, and I still can't add the actual project.

Thinking that maybe I could trick it by manually editing the preference file that Clooj uses to keep track of projects, I looked in my Preferences folder and found literally hundreds of files that Clooj left there. This is itself a troubling sign, possibly indicating that there's some other bug in the way that Clooj is maintaining this information. Upon seeing this I have given up for now.

lspector avatar Dec 27 '12 21:12 lspector

Made some progress on this. It seems to be a problem with Java 1.7.

I must have installed Java 1.7 for some reason at some point and for whatever reason that doesn't replace 1.6 but just becomes what the finder and browsers use. Java 1.6 is still available from the command line, and if I launch Clooj from the command line, using java -jar, rather than double clicking on the jar in the finder, all is well and I can open projects (I get the "choose" button rather than the "open" button in the dialog).

So the workaround seems to be to launch Clooj from the command line OR to uninstall Java 1.7... but I think it would be better if Clooj just worked with 1.7 too.

-Lee

lspector avatar Jan 11 '13 22:01 lspector

Hi Lee and Everyone,

Very sorry for my silence and that I haven't been able to keep clooj updated recently. A few things have taken up all my time of late and I just haven't been able to keep up. I hope I will have a chance to work on getting clooj to work with Lein 2 and Java 1.7 in the not-too-distant future. I appreciate your patience and I hope you can forgive my slowness.

Best regards, Arthur

On Fri, Jan 11, 2013 at 2:45 PM, Lee Spector [email protected]:

Made some progress on this. It seems to be a problem with Java 1.7.

I must have installed Java 1.7 for some reason at some point and for whatever reason that doesn't replace 1.6 but just becomes what the finder and browsers use. Java 1.6 is still available from the command line, and if I launch Clooj from the command line, using java -jar, rather than double clicking on the jar in the finder, all is well and I can open projects (I get the "choose" button rather than the "open" button in the dialog).

So the workaround seems to be to launch Clooj from the command line OR to uninstall Java 1.7... but I think it would be better if Clooj just worked with 1.7 too.

-Lee

— Reply to this email directly or view it on GitHubhttps://github.com/arthuredelstein/clooj/issues/108#issuecomment-12167305.

arthuredelstein avatar Jan 12 '13 00:01 arthuredelstein