[Nut-upsuser] Driver macosx-ups failing on Yosemite

Sundeep Mediratta smedius at gmail.com
Sat Jun 27 03:07:57 UTC 2015


> On Jun 26, 2015, at 9:25 PM, Charles Lepple <clepple at gmail.com> wrote:
> 
> On Jun 26, 2015, at 8:35 AM, Sundeep Mediratta <smedius at gmail.com> wrote:
> 
>> OSX Yosemite 10.10.3
>> Nut version 2.6.5
>> Installed via Macports
>> Device is Cyberpower CP1000AVRLCD
>> Device is visible and is monitored in the OSX control panel
>> 
>> Error-
>> 
>> macosx-ups -DD -a cyberpower
> 
> Can you please increase the debug level to -DDD?
> 
> -- 
> Charles Lepple
> clepple at gmail


sudo macosx-ups -DDDD -a cyberpower
Network UPS Tools - Mac OS X UPS meta-driver 1.0 (2.6.5-Unversioned directory)
Warning: This is an experimental driver.
Some features may not function correctly.

   0.000000	debug level is '4'
   0.000233	upsdrv_initups(): Power Sources blob:
<CFArray 0x7ffd18605480 [0x7fff7443bed0]>{type = immutable, count = 1, values = (
	0 : <CFBasicHash 0x7ffd18605360 [0x7fff7443bed0]>{type = immutable dict, count = 10,
entries =>
	0 : <CFString 0x7ffd18605800 [0x7fff7443bed0]>{contents = "Voltage"} = <CFNumber 0x4c9037 [0x7fff7443bed0]>{value = +19600, type = kCFNumberSInt64Type}
	1 : <CFString 0x7ffd18605820 [0x7fff7443bed0]>{contents = "Power Source ID"} = <CFNumber 0x37 [0x7fff7443bed0]>{value = +0, type = kCFNumberSInt64Type}
	3 : <CFString 0x7ffd186059a0 [0x7fff7443bed0]>{contents = "Transport Type"} = <CFString 0x7ffd18605850 [0x7fff7443bed0]>{contents = "USB"}
	6 : <CFString 0x7ffd18605970 [0x7fff7443bed0]>{contents = "Current Capacity"} = <CFNumber 0x6437 [0x7fff7443bed0]>{value = +100, type = kCFNumberSInt64Type}
	7 : <CFString 0x7ffd186059c0 [0x7fff7443bed0]>{contents = "Time to Empty"} = <CFNumber 0x2337 [0x7fff7443bed0]>{value = +35, type = kCFNumberSInt64Type}
	8 : <CFString 0x7ffd18605950 [0x7fff7443bed0]>{contents = "Max Capacity"} = <CFNumber 0x6437 [0x7fff7443bed0]>{value = +100, type = kCFNumberSInt64Type}
	9 : <CFString 0x7ffd18605790 [0x7fff7443bed0]>{contents = "Is Charging"} = <CFBoolean 0x7fff7443c8a8 [0x7fff7443bed0]>{value = true}
	10 : <CFString 0x7ffd186057b0 [0x7fff7443bed0]>{contents = "Power Source State"} = <CFString 0x7ffd18605310 [0x7fff7443bed0]>{contents = "AC Power"}
	11 : <CFString 0x7ffd186057e0 [0x7fff7443bed0]>{contents = "Is Present"} = <CFBoolean 0x7fff7443c8a8 [0x7fff7443bed0]>{value = true}
	12 : <CFString 0x7fff7440b7c0 [0x7fff7443bed0]>{contents = "Name"} = <CFString 0x7ffd18605330 [0x7fff7443bed0]>{contents = "UPS CP1000AVRLCD"}
}

)}
   0.001803	Matching power supply key names against regex '/UPS'
   0.001817	Matching power supply model names against regex 'CP1000AVRLCD'
   0.001838	Number of power supplies found: 1
<CFArray 0x7ffd18605910 [0x7fff7443bed0]>{type = immutable, count = 1, values = (
	0 : <CFBasicHash 0x7ffd18605360 [0x7fff7443bed0]>{type = immutable dict, count = 10,
entries =>
	0 : <CFString 0x7ffd18605800 [0x7fff7443bed0]>{contents = "Voltage"} = <CFNumber 0x4c9037 [0x7fff7443bed0]>{value = +19600, type = kCFNumberSInt64Type}
	1 : <CFString 0x7ffd18605820 [0x7fff7443bed0]>{contents = "Power Source ID"} = <CFNumber 0x37 [0x7fff7443bed0]>{value = +0, type = kCFNumberSInt64Type}
	3 : <CFString 0x7ffd186059a0 [0x7fff7443bed0]>{contents = "Transport Type"} = <CFString 0x7ffd18605850 [0x7fff7443bed0]>{contents = "USB"}
	6 : <CFString 0x7ffd18605970 [0x7fff7443bed0]>{contents = "Current Capacity"} = <CFNumber 0x6437 [0x7fff7443bed0]>{value = +100, type = kCFNumberSInt64Type}
	7 : <CFString 0x7ffd186059c0 [0x7fff7443bed0]>{contents = "Time to Empty"} = <CFNumber 0x2337 [0x7fff7443bed0]>{value = +35, type = kCFNumberSInt64Type}
	8 : <CFString 0x7ffd18605950 [0x7fff7443bed0]>{contents = "Max Capacity"} = <CFNumber 0x6437 [0x7fff7443bed0]>{value = +100, type = kCFNumberSInt64Type}
	9 : <CFString 0x7ffd18605790 [0x7fff7443bed0]>{contents = "Is Charging"} = <CFBoolean 0x7fff7443c8a8 [0x7fff7443bed0]>{value = true}
	10 : <CFString 0x7ffd186057b0 [0x7fff7443bed0]>{contents = "Power Source State"} = <CFString 0x7ffd18605310 [0x7fff7443bed0]>{contents = "AC Power"}
	11 : <CFString 0x7ffd186057e0 [0x7fff7443bed0]>{contents = "Is Present"} = <CFBoolean 0x7fff7443c8a8 [0x7fff7443bed0]>{value = true}
	12 : <CFString 0x7fff7440b7c0 [0x7fff7443bed0]>{contents = "Name"} = <CFString 0x7ffd18605330 [0x7fff7443bed0]>{contents = "UPS CP1000AVRLCD"}
}

)}
2015-06-26 23:02:11.480 macosx-ups[51792:5073268] -[__NSCFDictionary _getCString:maxLength:encoding:]: unrecognized selector sent to instance 0x7ffd18605360
2015-06-26 23:02:11.484 macosx-ups[51792:5073268] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary _getCString:maxLength:encoding:]: unrecognized selector sent to instance 0x7ffd18605360'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff8a12c03c __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x00007fff8726c76e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8a12f0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff8a074e24 ___forwarding___ + 1028
	4   CoreFoundation                      0x00007fff8a074998 _CF_forwarding_prep_0 + 120
	5   CoreFoundation                      0x00007fff89ffd11d CFStringGetCString + 173
	6   macosx-ups                          0x000000010c435ebb upsdrv_initups + 409
	7   macosx-ups                          0x000000010c436bd2 main + 1040
	8   libdyld.dylib                       0x00007fff9083e5c9 start + 1
	9   ???                                 0x0000000000000004 0x0 + 4
)
libc++abi.dylib: terminating with uncaught exception of type NSException





More information about the Nut-upsuser mailing list