[chirp_devel] Fw: Build failed in Jenkins: chirp-daily #212
Jim,
Something in your patch is making the "make_supported.py" script fail during the build. Can you take a look?
Thanks!
--Dan
Begin forwarded message:
Date: Thu, 4 Jul 2013 00:06:34 -0700 (PDT) From: Build System donotreply@danplanet.com To: dsmith@danplanet.com Subject: Build failed in Jenkins: chirp-daily #212
See http://eagle:8080/job/chirp-daily/212/changes
Changes:
[Jim Unroe rock.unroe@gmail.com] [uv-5r]Add Support for the Baofeng UV-5RAX This radio is 2 meter 220 dual band variation of the UV-5R #767
------------------------------------------ [...truncated 8209 lines...] 232: 00 00 00 00 00 00 00 00 ........ 240: 00 00 00 00 00 00 00 00 ........ 248: 00 00 00 00 00 00 00 00 ........
What is this garbage? 000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........ 016: 00 00 00 00 00 00 00 00 ........ 024: 00 00 00 00 00 00 00 00 ........ 032: 00 00 00 00 00 00 00 00 ........ 040: 00 00 00 00 00 00 00 00 ........ 048: 00 00 00 00 00 00 00 00 ........ 056: 00 00 00 00 00 00 00 00 ........ 064: 00 00 00 00 00 00 00 00 ........ 072: 00 00 00 00 00 00 00 00 ........ 080: 00 00 00 00 00 00 00 00 ........ 088: 00 00 00 00 00 00 00 00 ........ 096: 00 00 00 00 00 00 00 00 ........ 104: 00 00 00 00 00 00 00 00 ........ 112: 00 00 00 00 00 00 00 00 ........ 120: 00 00 00 00 00 00 00 00 ........ 128: 00 00 00 00 00 00 00 00 ........ 136: 00 00 00 00 00 00 00 00 ........ 144: 00 00 00 00 00 00 00 00 ........ 152: 00 00 00 00 00 00 00 00 ........ 160: 00 00 00 00 00 00 00 00 ........ 168: 00 00 00 00 00 00 00 00 ........ 176: 00 00 00 00 00 00 00 00 ........ 184: 00 00 00 00 00 00 00 00 ........ 192: 00 00 00 00 00 00 00 00 ........ 200: 00 00 00 00 00 00 00 00 ........ 208: 00 00 00 00 00 00 00 00 ........ 216: 00 00 00 00 00 00 00 00 ........ 224: 00 00 00 00 00 00 00 00 ........ 232: 00 00 00 00 00 00 00 00 ........ 240: 00 00 00 00 00 00 00 00 ........ 248: 00 00 00 00 00 00 00 00 ........
......Trying again... Trying again... Trying again... Trying again... Trying again... Trying again... Trying again... Trying again... Trying again... Trying again... .... ......�` �` ......�E% �E% �E% ......�` �` �` ......���e ���e ���e ......���e ...... @ @ @ ...... @ @ @ ...... @ @ ......���� ���� ���� ���� ..Calc: c1 Real: 82 Len: 128 ....���� ���� ���� ���� ..Calc: c1 Real: 82 Len: 128 ....� � � .. 000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 00 00 00 00 00 00 ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
....MBDI MBDI MBDI .. 000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 00 00 00 00 00 00 ........
000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 0a 0b 0c 0d 0e 0f ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
....���� ���� ���� .. 000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 00 00 00 00 00 00 ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
.... .. 000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 00 00 00 00 00 00 ........
000: 00 01 02 03 04 05 06 07 ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
000: 00 00 00 00 00 00 00 00 ........
....���� ���� ���� .. 000: 00 01 02 03 04 05 06 07 ........ 008: 08 09 00 00 00 00 00 00 ........
000: 00 00 00 00 00 00 00 00 ........ 008: 00 00 00 00 00 00 00 00 ........
...Enabling banks for VFO 0 Enabling banks for VFO 1 Disabling banks for VFO 0 Disabling banks for VFO 1 Enabling banks for VFO 0 Enabling banks for VFO 1 Disabling banks for VFO 0 Disabling banks for VFO 1 .Done + ./share/make_supported.py Registered Icom_IC-2820H = IC2820Radio Registered AnyTone_5888UV = AnyTone5888UVRadio Registered Icom_IC-2200H = IC2200Radio Registered Yaesu_FT-2800M = FT2800Radio Registered Yaesu_VX-3 = VX3Radio Registered Icom_IC-2100H = IC2100Radio Registered Yaesu_FTM-350 = FTM350Radio Registered Icom_IC-91_92AD_ICF_File = IC9xICFRadio Registered Icom_IC-V82_U82 = ICx8xRadio Registered Yaesu_VX-6 = VX6Radio Registered Yaesu_VX-5 = VX5Radio Registered Yaesu_FT-60 = FT60Radio Registered Yaesu_VX-7 = VX7Radio Registered Baofeng_UV-5R = BaofengUV5R Registered Baofeng_F-11 = BaofengF11Radio Registered Yaesu_FT-1802M = FT1802Radio Registered Kenwood_TK-7102 = KenwoodTK7102Radio Registered Kenwood_TK-8102 = KenwoodTK8102Radio Registered Kenwood_TK-7108 = KenwoodTK7108Radio Registered Kenwood_TK-8108 = KenwoodTK8108Radio Registered Icom_ID-31A = ID31Radio Registered Icom_ID-51A = ID51Radio Registered Icom_IC-2720H = IC2720Radio Registered Icom_IC-T8A = ICT8ARadio Registered Wouxun_KG-UVD1P = KGUVD1PRadio Registered Wouxun_KG-UV6 = KGUV6DRadio Registered Wouxun_KG-816 = KG816Radio Registered Wouxun_KG-818 = KG818Radio Registered TYT_TH-UVF1 = TYTTHUVF1Radio Registered Generic_CSV = CSVRadio Registered RT_Systems_CSV = RTCSVRadio Registered Kenwood_ITM = ITMRadio Registered Alinco_DR03T = DR03Radio Registered Alinco_DR06T = DR06Radio Registered Alinco_DR135T = DR135Radio Registered Alinco_DR235T = DR235Radio Registered Alinco_DR435T = DR435Radio Registered Alinco_DJ596 = DJ596Radio Registered Jetstream_JT220M = JT220MRadio Registered Alinco_DJ175 = DJ175Radio Registered Kenwood_TH-D7 = THD7Radio Registered Kenwood_TH-D7G = THD7GRadio Registered Kenwood_TM-D700 = TMD700Radio Registered Kenwood_TM-V7 = TMV7Radio Registered Kenwood_TM-G707 = TMG707Radio Registered Kenwood_TH-F6 = THF6ARadio Registered Kenwood_TH-F7 = THF7ERadio Registered Kenwood_TM-D710 = TMD710Radio Registered Kenwood_TH-D72_live_mode = THD72Radio Registered Kenwood_TM-V71 = TMV71Radio Registered Kenwood_TH-K2 = THK2Radio Registered Kenwood_TM-271 = TM271Radio Registered Kenwood_TM-471 = TM471Radio Registered Yaesu_VX-8_R = VX8Radio Registered Yaesu_VX-8_DR = VX8DRadio Registered Yaesu_VX-8_GE = VX8GERadio Registered Icom_IC-T7H = ICT7HRadio Registered Icom_IC-Q7A = ICQ7Radio Registered Baofeng_UV-B5 = BaofengUVB5 Registered Generic_XML = XMLRadio Registered Kenwood_HMK = HMKRadio Registered Kenwood_TH-D72_clone_mode = THD72Radio Registered Icom_IC-91_92AD = IC9xRadio Registered Icom_IC-T70 = ICT70Radio Registered Icom_IC-208H = IC208Radio Registered Icom_ID-800H_v2 = ID800v2Radio Registered Icom_7200 = Icom7200Radio Registered Icom_7000 = Icom7000Radio Registered Icom_746 = Icom746Radio Registered ARRL_Travel_Plus = TpeRadio Registered Vertex_Standard_VXA-700 = VXA700Radio Registered Icom_IC-W32A = ICW32ARadio Registered Baofeng_UV-3R = UV3RRadio Registered Puxing_PX-777 = Puxing777Radio Registered Puxing_PX-2R = Puxing2RRadio Registered Yaesu_FT-7800 = FT7800Radio Registered Yaesu_FT-8800 = FT8800Radio Registered Yaesu_FT-8900 = FT8900Radio Registered Yaesu_FT-817 = FT817Radio Registered Yaesu_FT-817ND = FT817NDRadio Registered Yaesu_FT-817ND_US = FT817NDUSRadio Registered Yaesu_FT-857_897 = FT857Radio Registered Yaesu_FT-857_897_US = FT857USRadio Registered Icom_ID-880H = ID880Radio Registered Icom_ID-80H = ID80Radio Registered TYT_TH-UV3R = TYTUV3RRadio Traceback (most recent call last): File "./share/make_supported.py", line 124, in <module> if _radio.get_features().has_sub_devices: File "./chirp/uv5r.py", line 498, in get_features if self._is_orig() == False and self._my_upper_band() == vhf_220_radio: File "./chirp/uv5r.py", line 713, in _is_orig version_tag = _firmware_version_from_image(self) File "./chirp/uv5r.py", line 311, in _firmware_version_from_image return _firmware_version_from_data(radio.get_mmap()) File "./chirp/uv5r.py", line 308, in _firmware_version_from_data return data[0x1838:0x1848] TypeError: 'NoneType' object has no attribute '__getitem__' Build step 'Execute shell' marked build as failure
On Thu, Jul 4, 2013 at 11:33 AM, Dan Smith dsmith@danplanet.com wrote:
Jim,
Something in your patch is making the "make_supported.py" script fail during the build. Can you take a look?
Thanks!
--Dan
Sure
Traceback (most recent call last): File "./share/make_supported.py", line 124, in <module> if _radio.get_features().has_sub_devices: File "./chirp/uv5r.py", line 498, in get_features if self._is_orig() == False and self._my_upper_band() == vhf_220_radio: File "./chirp/uv5r.py", line 713, in _is_orig version_tag = _firmware_version_from_image(self) File "./chirp/uv5r.py", line 311, in _firmware_version_from_image return _firmware_version_from_data(radio.get_mmap()) File "./chirp/uv5r.py", line 308, in _firmware_version_from_data return data[0x1838:0x1848] TypeError: 'NoneType' object has no attribute '__getitem__' Build step 'Execute shell' marked build as failure
My guess was how I was setting "rf.valid_bands" based on the '144/440' model or '144/220' model. Hopefully this will 'fix' it.
Jim
My guess was how I was setting "rf.valid_bands" based on the '144/440' model or '144/220' model. Hopefully this will 'fix' it.
I can't apply a patch like that since I already applied your first one, just FYI. However, the problem was that now get_features() was assuming self._mmap was always loaded for band selection, which isn't the case when we're just inspecting the driver. So, I just pushed a change that should have retained your intended behavior as well as fixed the case where self._mmap isn't loaded.
Please give it a look and make sure it's good.
Thanks!
On Fri, Jul 5, 2013 at 9:33 PM, Dan Smith dsmith@danplanet.com wrote:
My guess was how I was setting "rf.valid_bands" based on the '144/440' model or '144/220' model. Hopefully this will 'fix' it.
I can't apply a patch like that since I already applied your first one, just FYI. However, the problem was that now get_features() was assuming self._mmap was always loaded for band selection, which isn't the case when we're just inspecting the driver. So, I just pushed a change that should have retained your intended behavior as well as fixed the case where self._mmap isn't loaded.
Please give it a look and make sure it's good.
Thanks!
-- Dan Smith www.danplanet.com KK7DS
There was a spelling error that was causing a crash.
Jim
On Fri, Jul 5, 2013 at 11:15 PM, Dan Smith dsmith@danplanet.com wrote:
There was a spelling error that was causing a crash.
Yep, I fixed that shortly after I pushed. Should be good now.
Seems to work as expected.
Thanks, Jim
participants (2)
-
Dan Smith
-
Jim Unroe