Login  Register

K3 update issues on Linux

classic Classic list List threaded Threaded
5 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

K3 update issues on Linux

Mike Clarke-3
Hi,

I'm trying to update my K3 using the firmware utility on Linux (Debian Lenny.)

So far, I've

a) Downloaded the tarball
b) Created a directory for the tools:

$ cd ~ ; mkdir Elecraft

c) Unpacked the tarball:

$ tar -zxvf k3utility.tgz -C Elecraft

d) Run the application.  It's talking to the rig fine, and detects the
current firmware version.  However, when I try to download new
firmware, I get this:

00:12:15 K3 Utility for Linux Version 1.2.3.18
00:12:28 K3 is running MCU version 03.03. RS232 speed is 9600 bps.
00:12:38 Connecting to ftp.elecraft.com. Please be patient, this takes
a few seconds.
00:12:55 hfwnotes.rtf
00:12:55 beta
00:12:55 old
00:12:55 K3UtilityVersionInfo.txt
00:12:55 DTBL0009.HEX
00:12:55 TBOOT7.HEX
00:12:55 hmcu0311.hex
00:12:56 HDSP0215.HEX
00:12:56 HAUX0215.HEX
00:12:56 hfpf0100.hex
00:12:56 bash: line 0: cd: /home/clarkema/Elecraft/K3_Firmware: No
such file or directory

As a result, the downloaded files are saved in $HOME/Elecraft, rather
than $HOME/Elecraft/K3_Firmware, and it seems the firmware updater
doesn't detect them.  I tried:

$ cd ~ ; rm -rf Elecraft ; mkdir Elecraft
$ tar -zxvf k3utility.tgz -C Elecraft
$ cd Elecraft
$ mkdir K3_Firmware

and then tried the update again.  This time, the files are downloaded
without complaint, and stored in $HOME/Elecraft/K3_Firmware.

However, when the download is complete, I get an error dialog: "An
exception of class NilObjectException was not handled.  The
application must shut down."

Any suggestions?

Thanks,

--
Mike, M0PRL
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: K3 update issues on Linux

Mike Clarke-3
On Fri, May 1, 2009 at 12:23 AM, Mike Clarke <[hidden email]> wrote:

> Hi,
>
> I'm trying to update my K3 using the firmware utility on Linux (Debian Lenny.)

[snip]

> As a result, the downloaded files are saved in $HOME/Elecraft, rather
> than $HOME/Elecraft/K3_Firmware, and it seems the firmware updater
> doesn't detect them.  I tried:
>
> $ cd ~ ; rm -rf Elecraft ; mkdir Elecraft
> $ tar -zxvf k3utility.tgz -C Elecraft
> $ cd Elecraft
> $ mkdir K3_Firmware
>
> and then tried the update again.  This time, the files are downloaded
> without complaint, and stored in $HOME/Elecraft/K3_Firmware.
>
> However, when the download is complete, I get an error dialog: "An
> exception of class NilObjectException was not handled.  The
> application must shut down."

An off-list reply from David, W4SMT, prompted some further checks.  If I unpack
the original tarball into ~/foo instead of ~/Elecraft, it all seems to
work correctly;
I can download updated firmware from Elecraft, and the utility offers
to allow me
to update my rig.

The problem _seems_ be caused by my random selection of ~/Elecraft as a
directory to unpack the tarball into.  It seems that, because that directory
already existed when k3util was first run, it didn't create
~/Elecraft/K3_Firmware
as it did when I unpacked into ~/foo.  Possibly a bug in k3util, or I
have missed
something?

Thanks,

--
Mike, M0PRL
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: K3 update issues on Linux

ac0h
Who made the Elecraft folder and what permissions are assigned to it?

Mike Clarke wrote:

> On Fri, May 1, 2009 at 12:23 AM, Mike Clarke <[hidden email]> wrote:
>
>  
>> Hi,
>>
>> I'm trying to update my K3 using the firmware utility on Linux (Debian Lenny.)
>>    
>
> [snip]
>
>  
>> As a result, the downloaded files are saved in $HOME/Elecraft, rather
>> than $HOME/Elecraft/K3_Firmware, and it seems the firmware updater
>> doesn't detect them.  I tried:
>>
>> $ cd ~ ; rm -rf Elecraft ; mkdir Elecraft
>> $ tar -zxvf k3utility.tgz -C Elecraft
>> $ cd Elecraft
>> $ mkdir K3_Firmware
>>
>> and then tried the update again.  This time, the files are downloaded
>> without complaint, and stored in $HOME/Elecraft/K3_Firmware.
>>
>> However, when the download is complete, I get an error dialog: "An
>> exception of class NilObjectException was not handled.  The
>> application must shut down."
>>    
>
> An off-list reply from David, W4SMT, prompted some further checks.  If I unpack
> the original tarball into ~/foo instead of ~/Elecraft, it all seems to
> work correctly;
> I can download updated firmware from Elecraft, and the utility offers
> to allow me
> to update my rig.
>
> The problem _seems_ be caused by my random selection of ~/Elecraft as a
> directory to unpack the tarball into.  It seems that, because that directory
> already existed when k3util was first run, it didn't create
> ~/Elecraft/K3_Firmware
> as it did when I unpacked into ~/foo.  Possibly a bug in k3util, or I
> have missed
> something?
>
> Thanks,
>
>  

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: K3 update issues on Linux

Mike Clarke-3
I created it manually before unpacking the tarball into it.  It's
owned by my normal login user -- the same user I was running k3util as
-- and the directory permissions are 755.

Thanks,

--
Mike, M0PRL

On Sun, May 3, 2009 at 9:30 PM, Kevin <[hidden email]> wrote:

> Who made the Elecraft folder and what permissions are assigned to it?
>
> Mike Clarke wrote:
>>
>> On Fri, May 1, 2009 at 12:23 AM, Mike Clarke <[hidden email]> wrote:
>>
>>
>>>
>>> Hi,
>>>
>>> I'm trying to update my K3 using the firmware utility on Linux (Debian
>>> Lenny.)
>>>
>>
>> [snip]
>>
>>
>>>
>>> As a result, the downloaded files are saved in $HOME/Elecraft, rather
>>> than $HOME/Elecraft/K3_Firmware, and it seems the firmware updater
>>> doesn't detect them.  I tried:
>>>
>>> $ cd ~ ; rm -rf Elecraft ; mkdir Elecraft
>>> $ tar -zxvf k3utility.tgz -C Elecraft
>>> $ cd Elecraft
>>> $ mkdir K3_Firmware
>>>
>>> and then tried the update again.  This time, the files are downloaded
>>> without complaint, and stored in $HOME/Elecraft/K3_Firmware.
>>>
>>> However, when the download is complete, I get an error dialog: "An
>>> exception of class NilObjectException was not handled.  The
>>> application must shut down."
>>>
>>
>> An off-list reply from David, W4SMT, prompted some further checks.  If I
>> unpack
>> the original tarball into ~/foo instead of ~/Elecraft, it all seems to
>> work correctly;
>> I can download updated firmware from Elecraft, and the utility offers
>> to allow me
>> to update my rig.
>>
>> The problem _seems_ be caused by my random selection of ~/Elecraft as a
>> directory to unpack the tarball into.  It seems that, because that
>> directory
>> already existed when k3util was first run, it didn't create
>> ~/Elecraft/K3_Firmware
>> as it did when I unpacked into ~/foo.  Possibly a bug in k3util, or I
>> have missed
>> something?
>>
>> Thanks,
>>
>>
>
>
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: K3 update issues on Linux

David Fleming-2
In reply to this post by Mike Clarke-3

> The problem _seems_ be caused by my random selection
> of ~/Elecraft as a directory to unpack the tarball into.
> It seems that, because that directory already existed
> when k3util was first run, it didn't create
> ~/Elecraft/K3_Firmware as it did when I unpacked into ~/foo.
> Possibly a bug in k3util, or I have missed something?

Mike, this could be a bug. The program does assume that the ~/Elecraft/K3_Firmware directory structure does not exist the first time it is run. I'll look into it and see if I can find any issues in the code when the utility is run from ~/Elecraft. In the meantime, you should be good to go with your current installation.

73,

David, W4SMT
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html