Re: [wsjt-devel] JTSDK-NIX 2.0.19

2016-02-14 Thread Keith Laaks
Hi,

I noticed this afternoon using WSJT on my Mac that when I updated the
CALL3.TXT file from the MMMonVHF site, the lockup breaks and in the console
I also start getting the "Error when searching CALL3.TXT, or no such file
present" issue. Older versions of the same file in the SVN works without
problems.

I traced this down to some invalid utf-8 values in the updated CALL3.TXT
file.

To fix this, I just changed the file open statement as follows:

From:
  f=open(appdir+'/CALL3.TXT','r')

To:
f=open(appdir+'/CALL3.TXT','r',encoding='utf-8', errors='ignore')

And then the lookups work fine.

Keith
ZS6TW
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] JTSDK-NIX 2.0.19

2016-02-08 Thread KI7MT
Hi Peter,

Sticking with the original problem reported and using the latest sources
from SVN (6470), I cannot reproduce either of the errors on Ubuntu or Mint.

I've tried using both the Lookup and Add functions, and I've removed
both the source and install directories before rebuilding, neither
function is producing the error.

Obviously something is amiss, but I "don't think", there's anything
wrong in the wsjt.py script.

To cut the problem in half, you could try running WSJT directly from
command line rather than using the shell script:

After cleaning (remove src/trunk and install directory ) / rebuilding, run:

cd ~/jtsdk/wsjt/install
python3 -O ./wsjt.py


If that still fails, try building and running WSJT manually from source
anc check the results.


73's
Greg, KI7MT


On 02/08/2016 09:45 AM, Peter Frenning [OZ1PIF] wrote:
> Den 08-02-2016 kl. 17:12 skrev KI7MT:
>> Hi Peter,
>>
>> Do you have autosvn enabled?
>>
>> I just built WSJT 6470 and the CALL3.TXT file is being copied to the run
>> directory.
>>
>> Check to ensure CALL3.TXT is located in:
>>
>> 1). If separate is enabled
>> ~/jtsdk/wsjt/10.0/6470/install
>>
>> 2). If separate is *not* enabled
>> ~/jtsdk/wsjt/10.0/install
>>
>>
>> You could also remove ~/jtsdk/src/trunk and that would pull a new
>> checkout from Sourceforge.
>>
>>
>> 73's
>> Greg, KI7MT
>>
> Even if I place myself in the "install" folder and start wsjt from there, it 
> fails:
> 
> Output from terminal:
> /pif@Quad-Mint ~/jtsdk/wsjt/install $ ./wsjt.sh//
> //**//
> //WSJT Version 10.0 r4336 , by K1JT//
> //Revision date: 2014-09-18 17:51:42 +0200 (tor, 18 sep 2014) //
> //Run date:   Mon Feb  8 16:41:08 2016 UTC//
> //Error when searching CALL3.TXT, or no such file present//
> //Error when searching CALL3.TXT, or no such file present//
> //
> //Audio InputOutput Device Name//
> //Device  Channels  Channels//
> //--//
> //   02 8   HDA Intel: ALC887 Analog (hw:0,0)//
> //   10 2   HDA Intel: ALC887 Digital (hw:0,1)//
> //   22 0   HDA Intel: ALC887 Alt Analog (hw:0,2)//
> //   30 8   HDA NVidia: HDMI 0 (hw:1,3)//
> //   40 8   HDA NVidia: HDMI 1 (hw:1,7)//
> //   51 0   Microsoft LifeCam VX-5000: USB Audio 
> (hw:2,0)//
> //   6   128128   sysdefault//
> //   70 8   front//
> //   80 8   surround40//
> //   90128   surround41//
> //  100128   surround50//
> //  110 8   surround51//
> //  120 8   surround71//
> //  130 2   iec958//
> //  140 2   spdif//
> //  15   3232   pulse//
> //  160 2   dmix//
> //  17   3232   default//
> //
> //User requested devices:   Input = 18   Output = 18//
> //Default devices:  Input = 17   Output = 17//
> //Will open devices:Input = 17   Output = 17//
> //Audio streams running normally./
> **
> 
> (this from the older version)
> 
> -- 
> Vy 73 de OZ1PIF/5Q2M, Peter
> 
> **
> ** If it sounds too good to be true --  **
> ** it is!   **
> ** If it sounds about right -- make **
> ** sure you can afford to be wrong! **
> **  **
> **   -- Robert Heinlein:**
> **   "Time enough for love" **
> **
> email: peter(no-spamfiller)@frenning.dk
> http://www.frenning.dk/oz1pif.htm
> Ph. +45 4619 3239/ +45 2332 9464
> Snailmail:
> Peter Frenning
> Ternevej 23
> DK-4130 Viby Sj.
> Denmark
> **
> 
> 
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] JTSDK-NIX 2.0.19

2016-02-08 Thread Richard Bown
Peter
try setting "autorun" in the options menu
I just built and ran wsjt10 with the autorun check
from the jtsdk menu
and it built and ran no problems with call.txt
also changed the call sign and forced a look up... no problem
Running mint 17.3 64 bit


On Mon, 8 Feb 2016 17:45:51 +0100
Peter Frenning [OZ1PIF]  wrote:

> Den 08-02-2016 kl. 17:12 skrev KI7MT:
> Hi Peter,
> 
> Do you have autosvn enabled?
> 
> I just built WSJT 6470 and the CALL3.TXT file is being copied to the run
> directory.
> 
> Check to ensure CALL3.TXT is located in:
> 
> 1). If separate is enabled
> ~/jtsdk/wsjt/10.0/6470/install
> 
> 2). If separate is *not* enabled
> ~/jtsdk/wsjt/10.0/install
> 
> 
> You could also remove ~/jtsdk/src/trunk and that would pull a new
> checkout from Sourceforge.
> 
> 
> 73's
> Greg, KI7MT
> 
> Even if I place myself in the "install" folder and start wsjt from there, it 
> fails:
> 
> Output from terminal:
> pif@Quad-Mint ~/jtsdk/wsjt/install $ ./wsjt.sh
> **
> WSJT Version 10.0 r4336 , by K1JT
> Revision date: 2014-09-18 17:51:42 +0200 (tor, 18 sep 2014)
> Run date:   Mon Feb  8 16:41:08 2016 UTC
> Error when searching CALL3.TXT, or no such file present
> Error when searching CALL3.TXT, or no such file present
> 
> Audio Input    Output Device Name
> Device  Channels  Channels
> --
>    0    2 8   HDA Intel: ALC887 Analog (hw:0,0)
>    1    0 2   HDA Intel: ALC887 Digital (hw:0,1)
>    2    2 0   HDA Intel: ALC887 Alt Analog (hw:0,2)
>    3    0 8   HDA NVidia: HDMI 0 (hw:1,3)
>    4    0 8   HDA NVidia: HDMI 1 (hw:1,7)
>    5    1 0   Microsoft LifeCam VX-5000: USB Audio (hw:2,0)
>    6   128    128   sysdefault
>    7    0 8   front
>    8    0 8   surround40
>    9    0    128   surround41
>   10    0    128   surround50
>   11    0 8   surround51
>   12    0 8   surround71
>   13    0 2   iec958
>   14    0 2   spdif
>   15   32    32   pulse
>   16    0 2   dmix
>   17   32    32   default
> 
> User requested devices:   Input = 18   Output = 18
> Default devices:  Input = 17   Output = 17
> Will open devices:    Input = 17   Output = 17
> Audio streams running normally.
> **
> 
> (this from the older version)
> 



-- 
-- 
Best wishes /73 
Richard Bown

Email : rich...@g8jvm.com
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & 3cms 5W
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop
##
 


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] JTSDK-NIX 2.0.19

2016-02-08 Thread KI7MT
Hi Peter,

> Has the CALL3.TXT file changed content format at some point (if so, I 
> must have missed the announcement)?

There's been no formal release of WSJT since v10.0 r6088, thus no
announcement. Your working from the Development Branch ( work in progress ).

> It seems that when I let the program use the file generated by the build 
> everything is OK, but, that when I replace it with an older version 
> (bigger with lots of local data added over time) the problem occurs. 
> Permissions and owner are identical.
> Puzzled!

The CALL3.TXT file is not generated per say, it is merely copied from
the source folder if it does not exist in the installation location.

I can't recall exactly when I updated the CALL3.TXT file ( I can go look
in SVN if it's critical ). There were a number of syntax errors in the
older WSJT CALL3.TXT file ( additional comma's, additional  fields, bad
field data etc ) that needed to be corrected. The CALL3.txt file was
cleaned up, and the data was added to logbook.db. JTSDK prevents
overwriting files in the original WSJT install location ~/.wsjt just in
case the CALL3.txt file has been locally updated / modified, however,
the file needs to be properly formatted, which the older CALL3.txt files
are / were not.

In the WSJT source folder ^/trunk/logbook you'll find two files:

1). call3.csv (OpenOffice Calc / MS Excel csv file)
2). logbook.db (SQLite3 file)

The call3.csv file is exported ( as a csv file ) from logbook.db using
any number of SQLite3 Database Management tools (Windows or *Nix). You
can use whatever you are comfortable with. Then, using OpenOffice Calc
or MS Excel, export the updated csv as CALL3.txt. You can then replace
the Default CALL3.txt file located in the installation folder.

You can use any combination of Edit and Export steps to produce a New
CALL3.txt file which includes your local modifications, but, be careful
of using 'commas "," ' in any of the fields, as those are Field
Separators for csv import / export. This is what caused problems in the
older CALL3.txt file (additional commas in the CALL3 Comments field).

I have a TKinter / Pmw template working, however, A number of things
needed to be implemented before adding a QSO's to a database or CALL3
lookups / updates could work properly.

1). Proper FSH (Windows or Linux) was needed.
2). WSJT needed the ability to run from any location, or multiple
instances using separate Audio devices.

Both have now been implemented but not fully tested.

Database logging and automated CALL3 lookups / updates can now be worked
on, however, this code has not be written.


73's
Greg, KI7MT

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] JTSDK-NIX 2.0.19

2016-02-08 Thread Peter Frenning [OZ1PIF]
Den 08-02-2016 kl. 18:20 skrev KI7MT:
> Hi Peter,
>
> Sticking with the original problem reported and using the latest sources
> from SVN (6470), I cannot reproduce either of the errors on Ubuntu or Mint.
>
> I've tried using both the Lookup and Add functions, and I've removed
> both the source and install directories before rebuilding, neither
> function is producing the error.
>
> Obviously something is amiss, but I "don't think", there's anything
> wrong in the wsjt.py script.
>
> To cut the problem in half, you could try running WSJT directly from
> command line rather than using the shell script:
>
> After cleaning (remove src/trunk and install directory ) / rebuilding, run:
>
> cd ~/jtsdk/wsjt/install
> python3 -O ./wsjt.py
>
>
> If that still fails, try building and running WSJT manually from source
> anc check the results.
>
>
Has the CALL3.TXT file changed content format at some point (if so, I 
must have missed the announcement)?
It seems that when I let the program use the file generated by the build 
everything is OK, but, that when I replace it with an older version 
(bigger with lots of local data added over time) the problem occurs. 
Permissions and owner are identical.
Puzzled!

-- 
Vy 73 de OZ1PIF/5Q2M, Peter

**
** If it sounds too good to be true --  **
** it is!   **
** If it sounds about right -- make **
** sure you can afford to be wrong! **
**  **
**   -- Robert Heinlein:**
**   "Time enough for love" **
**
email: peter(no-spam filler)@frenning.dk
http://www.frenning.dk/oz1pif.htm
Ph. +45 4619 3239/ +45 2332 9464
Snailmail:
Peter Frenning
Ternevej 23
DK-4130 Viby Sj.
Denmark
**


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel