CGoban 3 won't install properly / no file association

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
Nibelung
Beginner
Posts: 4
Joined: Thu Feb 24, 2011 2:09 am
GD Posts: 0
Has thanked: 1 time
Been thanked: 1 time

CGoban 3 won't install properly / no file association

Post by Nibelung »

My problem is as can be seen in the subject.

I previously had CGoban properly installed, but at some point it dropped file association and i made the mistake of trying re-installing it.

Steps i've taken to fix the problem:

* Java installed from KGS download page link.
* Downloaded cgoban.jlnp. When i run it, java starts and KGS client opens. Nothing gets installed however, no CGoban icon on desktop or file association (which I can't assign manually either). I can only run CGoban directly from cgoban.jlnp file or cgoban.jar file. (i.e. no entry for CGoban in Control Panel -> Programs section)
* If I select "start with" on the download page, CGoban just starts and that's it.
* I've gone through the KGS help section on Sensei's several times, but the info looks like it's a bit outdated, at least regarding Windows 7.
* I've gone as far as to remove all registry entries pointing to CGoban or .sgf files and then installing everything from scratch, but that doesn't help. I also have tried re-installing java.

So, does anyone know how I can get CGoban to properly install and associate .sgf files with it?

(In case it matters, my OS is Windows 7 64-bit)
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: CGoban 3 won't install properly / no file association

Post by daal »

My suggestion: Open your Java control panel and in "Temporary internet files" click view. CGoban is probably there under applications. Delete it with a right click, then go the the website and install it again. That's worked for me in the past.
Patience, grasshopper.
Nibelung
Beginner
Posts: 4
Joined: Thu Feb 24, 2011 2:09 am
GD Posts: 0
Has thanked: 1 time
Been thanked: 1 time

Re: CGoban 3 won't install properly / no file association

Post by Nibelung »

That worked like a charm!

I only had to first remove .sgf file association manually from the registry, because although CGoban asked me if I wanted to change it, it apparently couldn't get it right on its own. After that I installed again, and voilà, all is good. Thanks!
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: CGoban 3 won't install properly / no file association

Post by wms »

Something went wrong in the no file association build for cgoban recently. I'll fix it tonight. I would have fixed it yesterday, except that the Android build had to be done also.
antispin
Beginner
Posts: 15
Joined: Thu Dec 23, 2010 4:39 am
Rank: KGS 3 Kyu
GD Posts: 0
KGS: antispin
Location: London, UK
Been thanked: 2 times

Re: CGoban 3 won't install properly / no file association

Post by antispin »

I'm having the same problem as nibelung, but I don't where to find Java control panel, as per Daal's advice. Any tips?
Nibelung
Beginner
Posts: 4
Joined: Thu Feb 24, 2011 2:09 am
GD Posts: 0
Has thanked: 1 time
Been thanked: 1 time

Re: CGoban 3 won't install properly / no file association

Post by Nibelung »

antispin: I found it at C:\Program Files\Java\jre6\bin\javacpl.exe
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: CGoban 3 won't install properly / no file association

Post by xed_over »

antispin wrote:I'm having the same problem as nibelung, but I don't where to find Java control panel, as per Daal's advice. Any tips?

It should be in your Windows Control Panel. It just says "Java"
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: CGoban 3 won't install properly / no file association

Post by wms »

Just uploaded a new version of the "-nfa" (no file association) client. It should work now. At least it works for me when I try to run it.
Swede
Beginner
Posts: 1
Joined: Fri Dec 16, 2011 8:13 am
GD Posts: 0

Re: CGoban 3 won't install properly / no file association

Post by Swede »

I reinstalled CGoban 3. Everything works except the icon. The icon was not downloaded (I searched my C drive for "cgobanIcon.jpg" and it was not present.)
How do I get the icon, and where do I put it?
RobertJasiek
Judan
Posts: 6272
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: CGoban 3 won't install properly / no file association

Post by RobertJasiek »

You can also use another installation method:

http://senseis.xmp.net/?CGoban3OfflineInstallation
walpurgis
Dies with sente
Posts: 86
Joined: Wed Jan 04, 2012 8:15 pm
Rank: KGS 4 kyu
GD Posts: 0
Location: Finland
Has thanked: 16 times
Been thanked: 12 times

Re: CGoban 3 won't install properly / no file association

Post by walpurgis »

I'm having some trouble with CGoban 3 file associations (Win 7, 64-bit). Initially, double clicking an .sgf file gave me an error message. I looked up a few things and tried a couple of tricks, but haven't found a good solution yet. Apparently re-installing CGoban doesn't help in my case.

What I did manage to do was try to manually direct .sgf files to open with CGoban. It kinda works actually, the problem being that if I open an .sgf file directly, it will always open a new instance of CGoban Main Window even if I already have it open, along with a blank command prompt box.

Here's how I have .sgf extension configured - I'm wondering if someone knows how to make this work better?
(Program Path:) "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar "C:\Program Files (x86)\CGoban\cgoban.jar" -open "%1"

I also noticed that I have java.exe, jawaw.exe and javaws.exe in both Program Files\Java and sysWOW64 folders. Is this normal?
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: CGoban 3 won't install properly / no file association

Post by daal »

walpurgis wrote: Apparently re-installing CGoban doesn't help in my case.


Did you delete it first from within the Java control panel? (CGoban hides in the Java control panel's "Temporary Internet Files" >Settings).
Patience, grasshopper.
walpurgis
Dies with sente
Posts: 86
Joined: Wed Jan 04, 2012 8:15 pm
Rank: KGS 4 kyu
GD Posts: 0
Location: Finland
Has thanked: 16 times
Been thanked: 12 times

Re: CGoban 3 won't install properly / no file association

Post by walpurgis »

Yes I also tried deleting it from the Java control panel. It's been a while now, but at one point I tried a fresh install of both Java and CGoban, but I just can't get the file association back to normal.

As it's possible to force .sgf files to open with CGoban (although not how it's supposed to happen) I'd assume there's a way to also do it "right". I just don't have the technical knowledge to configure it properly.
skydyr
Oza
Posts: 2495
Joined: Wed Aug 01, 2012 8:06 am
GD Posts: 0
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Location: DC
Has thanked: 156 times
Been thanked: 436 times

Re: CGoban 3 won't install properly / no file association

Post by skydyr »

You can try uninstalling cgoban specifically from java web start by opening a command prompt and typing this in:

javaws -uninstall cgoban.jnlp

I haven't done this in a while so the cgoban.jnlp may need to change to cgoban or something like, depending on the file that cgoban installed from. After that you can reinstall it.
Post Reply