Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add projects (show-stopping bug) #108

Open
lspector opened this issue Dec 27, 2012 · 2 comments
Open

Can't add projects (show-stopping bug) #108

lspector opened this issue Dec 27, 2012 · 2 comments

Comments

@lspector
Copy link

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
Copy link
Author

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

@arthuredelstein
Copy link
Collaborator

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//issues/108#issuecomment-12167305.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants