Hi Sandro, I'm not sure why your having that situation. Using the file is not best way to get the revision, if anything changes, it gets busted. Maybe there is a DOS/*Nix translation happening or something, other than that, I'm not sure why the extra space is in there.
73's Greg, KI7MT On 9/6/2014 00:21, IW3RAB - Alessandro Gorobey wrote: > KI7MT <ki7mt@...> writes: > >> >> Hi Sandro, >> >> Couple questions. >> >> 1. Are you trying to build ( WSPR ) or ( WSJT )? >> 2. Have you updated JTSDK-PY to the latest versions? >> 3. Have you updated wsjt.py or wspr.py to the latest SVN as there were >> some changes. >> >> Here's my output: >> Open C:\JTSDK-PY\jtsdk-pyenv.bat >> >> ---------- >> cd src\trunk >> C:\JTSDK-PY\src\trunk>grep "$Revision:" wsjt.py |awk "{print $12}" >> 4227 >> C:\JTSDK-PY\src\trunk>grep "$Revision:" ..\wspr\wspr.py |awk "{print $12}" >> 4233 >> C:\JTSDK-PY\src\trunk> >> ---------- >> >> 73's >> Greg, KI7MT >> >> On 9/5/2014 19:44, IW3RAB - Alessandro Gorobey wrote: >>> Hi All, >>> >>> I start to work with SDK to try some experiments. >>> >>> Working with JTSDK-PY on windows 7 I notice that >>> >>> command: build wsjt >>> After build files are copied to >>> C:\JTSDK-PY\wspr\wspr-r$ >>> >> >>> If in jtsdk-python.bat I change line 213 from: >>> grep "$Revision:" %APP_NAME%.py |awk "{print $12}" > r.txt >>> to: >>> grep "$Revision:" %APP_NAME%.py |awk "{print $11}" > r.txt >>> the files are copied to: >>> C:\JTSDK-PY\wspr\wspr-r4233 >>> >>> OK, the application in JTSDK-QT are correctly build in Windows and work. >>> >>> I just wanted to know if I made some mistakes .. >>> Thanks in advance >>> >>> 73 de IW3RAB Sandro >>> >>> >>> > ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> wsjt-devel mailing list >>> wsjt-devel@... >>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>> >> > > Hi Greg, > thanks for the reply. > there is a problem on ONLY my PC and ONLY with a file. > > C:\JTSDK-PY>cd src\trunk > > C:\JTSDK-PY\src\trunk>grep "$Revision:" wsjt.py |awk "{print $12}" > $ > C:\JTSDK-PY\src\trunk>grep "$Revision:" wsjt.py |awk "{print $11}" > 4227 > C:\JTSDK-PY\src\trunk>grep "$Revision:" ..\wspr\wspr.py |awk "{print $12}" > 4233 > > =======> MY WSJT.PY header filedate sept 05 20:39 UTC > #!/usr/bin/env python > #---------------------------------------------------------------------- WSJT > # $Date: 2014-08-05 15:54:34 +0200(mar, 05 ago 2014) $ $Revision: 4227 $ > # > > =======> MY WSPR.PY filedate sept 05 20:50 UTC > # pylint: disable=wildcard-import,bad-whitespace > #---------------------------------------------------------------------------- > # $Date: 2008-03-17 08:29:04 -0400 (Mon, 17 Mar 2008) $ $Revision: 4233 $ > # > # This file is part of the WSPR application, Weak Signal Propogation Reporter > # > # File Name: wspr.py > # Source: http://sourceforge.net/projects/wsjt/ > # Contributors: K1JT, VA3DB, G4KLA, W1BW, 4X6IZ, KE6HDU and KI7MT > # > > =======> Note the space after time offset before ( > > =======> http://sourceforge.net/p/wsjt/wsjt/HEAD/tree/trunk/wsjt.py > #!/usr/bin/env python > #---------------------------------------------------------------------- WSJT > # $Date: 2014-08-05 13:54:34 +0000 (Tue, 05 Aug 2014) $ $Revision: 4227 $ > # > > Looks like a unintended translation > > Manualy download the WSPR.PY from WEB > C:\JTSDK-PY>build wsjt > > NOW OK !!! > > rm -r src\trunk > > checkout wsjt //scrip download all files > build wsjt > > ERROR !!!! > > C:\JTSDK-PY>cd src\trunk > > mv wsjt.py wsjt.pz > ============>download file wsjt.py with firefox from > http://sourceforge.net/p/wsjt/wsjt/HEAD/tree/trunk/wsjt.py > C:\JTSDK-PY\src\trunk>diff wsjt.py wsjt.pz > 3c3 > < # $Date: 2014-08-05 13:54:34 +0000 (Tue, 05 Aug 2014) $ $Revision: 4227 $ > --- >> # $Date: 2014-08-05 15:54:34 +0200(mar, 05 ago 2014) $ $Revision: 4227 $ > 28c28 > < "$Date: 2014-08-05 13:54:34 +0000 (Tue, 05 Aug 2014) $"[7:-1]) > --- >> "$Date: 2014-08-05 15:54:34 +0200(mar, 05 ago 2014) $"[7:-1]) > 916c916 > < "$Date: 2014-08-05 13:54:34 +0000 (Tue, 05 Aug 2014) $"[7:-1] > --- >> "$Date: 2014-08-05 15:54:34 +0200(mar, 05 ago 2014) $"[7:-1] > > NO COMMENTS > > 73 de IW3RAB Sandro > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel > -- 73's Greg, KI7MT ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel