tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/36440-algorithm-preferences-dialog-does-not-show-an-uncaught-exception-was-raisedGPGTools: Discussion 2018-10-18T19:56:19Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-25T20:01:34Z2015-03-25T20:01:34ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hi Helmut,</p>
<p>thanks for reporting this. I tried to reproduce but couldn't so
far.</p>
<p>Could you</p>
<ul>
<li>restart your system</li>
<li>download & install latest nightly GPG Suite <a href="https://releases.gpgtools.org/nightlies/">https://releases.gpgtools.org/nightlies/</a></li>
</ul>
<p>See if things have improved.</p>
<p>All the best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-26T00:52:12Z2015-03-26T00:52:12ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hey Steve,</p>
<p>I've done as you suggested, but it didn't help. Still the same
issue. I suspect it might have to do with a problem in Libmacgpg.
Either it wasn't updated and I'm still using an old version that
isn't compatible with the current apps. According to the stack
trace the exception is raised in Libmacgpg.</p>
<p>Any ideas how I can make sure that the correct Libmacgpg is
installed?</p>
<p>Cheers,<br>
Helmut</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-26T15:19:19Z2015-03-26T15:19:19ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hi Helmut,</p>
<p>this exception might be related to a specific key. Is there any
chance you could find out which key is affected and let us know?
Does it work with other keys?</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-26T16:49:24Z2015-03-26T16:49:24ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hey Luke,</p>
<p>Yes, I have tested it with at least 25 different keys, since I
also suspected it might be a problem with a certain key.
Unfortunately this is not the case</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-26T18:14:49Z2015-03-26T18:14:49ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Oh man, sorry for that trouble.<br>
I have an idea what might be the problem however.<br>
Could you add the "allow-weak-digest-algos" option to your gpg.conf
file and try again?</p>
<p>It might be related to a change in the most recent gnupg</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-26T18:28:28Z2015-03-26T18:28:28ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hi Luke,</p>
<p>Yes, this worked. But I don't want to allow weak algorithms in
my gpg.conf.</p>
<p>Furthermore I also don't need this option when I use --edit-key
on the command line, so this must be some GPG Keychain or Libmacgpg
problem, or am I totally wrong here?</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-27T15:21:17Z2015-03-27T15:21:17ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>This is a new behavior which surfaced with the MacGPG2 2.0.27
update. We are still investigating what's going on.</p>
<p>We have a ticket for this problem. I connected this discussion
with the existing ticket. That means, should this discussion get
closed, it will be re-opened as soon as the ticket is closed. That
way you'll receive a notification. Feel free to open a new
discussions should you run into further problems or need
assistance.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-27T15:55:51Z2015-03-27T15:55:51ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hey Steve. Thanks for the info. Just out of curiosity: what has
to be fixed? Libmacgpg, GPG Keychain, both? Do you have a rough ETA
for the fix?</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T12:14:09Z2015-03-31T12:14:09ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hi Helmut,</p>
<p>as usual we do not give ETAs.</p>
<p>This issue has been fixed in Libmacgpg. If you want to test the
fix, please download our <a href="https://releases.gpgtools.org/nightlies/">latest nightly GPG
Suite</a>. That page also has sig and SHA1 to verify the
download.</p>
<p>if you still have <code>allow-weak-digest-algos</code>in your
gpg.conf, please remove it.</p>
<p>Best, steve</p>
<p>Disclaimer: This is a development version which has not been
thoroughly tested yet, so bugs or crashes are to be expected.
Thanks for helping us test this fix.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T16:35:20Z2015-03-31T16:35:20ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>There's a problem with the download site.</p>
<p><a href="https://releases.gpgtools.org/nightlies/GPG%20Suite-1298n.dmg">https://releases.gpgtools.org/nightlies/GPG%20Suite-1298n.dmg</a></p>
<p>Not Found</p>
<p>The requested URL /nightlies/GPG Suite-1298n.dmg was not found
on this server.</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T16:37:22Z2015-03-31T16:37:22ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Ah, the download site alternates after page reload between
version 1298 and 1299. Weird, maybe load balancer issues?</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T16:41:14Z2015-03-31T16:41:14ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Nope, just tried version 1299n and I have the same problem. Any
chance Libmacgpg wasn't updated by the installer?</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T16:45:34Z2015-03-31T16:45:34ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Hi,</p>
<p>could you please post the output of the following command:<br>
defaults read
/Library/Frameworks/Libmacgpg.framework/Versions/Current/Resources/Info.plist
CFBundleVersion</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-03-31T16:47:20Z2015-03-31T16:47:20ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Sure, here it is: 688n</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-04-07T17:28:41Z2015-04-07T17:28:41ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Any news on this? I still have the same problem. The new
Libmacgpg is 690n (as of today).</p>
<p>I also receive another exception just by clicking on the
<code>User IDs</code> tab in the details view:</p>
<pre>
<code>2015-04-07 13:24:41.344 GPG Keychain[68095:303] Invalid color System, labelColor (warning given only once)
2015-04-07 13:24:41.422 GPG Keychain[68095:303] GPG Keychain version: 0n
2015-04-07 13:24:47.590 GPG Keychain[68095:303] *** Assertion failure in -[GKDateCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1265.21/AppKit.subproj/NSCell.m:1637
2015-04-07 13:24:47.591 GPG Keychain[68095:303] Invalid parameter not satisfying: aString != nil
2015-04-07 13:24:47.593 GPG Keychain[68095:303] (
0 CoreFoundation 0x00007fff8cc2c25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8dad6e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8cc2c038 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff9297d361 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8a5338b8 -[NSCell _objectValue:forString:errorDescription:] + 159
5 AppKit 0x00007fff8a53380a -[NSCell _objectValue:forString:] + 20
6 AppKit 0x00007fff8a533778 -[NSCell setStringValue:] + 41
7 GPG Keychain 0x000000010001fb4f -[GKDateCell drawInteriorWithFrame:inView:] + 559
8 AppKit 0x00007fff8a7b1793 -[NSTableView drawRow:clipRect:] + 1629
9 AppKit 0x00007fff8a7b0fed -[NSTableView drawRowIndexes:clipRect:] + 776
10 AppKit 0x00007fff8a67a331 -[NSTableView drawRect:] + 1484
11 AppKit 0x00007fff8a65304f -[NSView _drawRect:clip:] + 3748
12 AppKit 0x00007fff8a6518c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
13 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
14 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
15 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
16 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
17 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
18 AppKit 0x00007fff8a64f706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
19 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
20 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
21 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
22 AppKit 0x00007fff8a64be9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
23 AppKit 0x00007fff8a62b2da -[NSView displayIfNeeded] + 1680
24 AppKit 0x00007fff8a69074e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
25 AppKit 0x00007fff8ac66061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
26 CoreFoundation 0x00007fff8cb5cd67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
27 CoreFoundation 0x00007fff8cb5ccd7 __CFRunLoopDoObservers + 391
28 CoreFoundation 0x00007fff8cb4e3b8 __CFRunLoopRun + 776
29 CoreFoundation 0x00007fff8cb4de75 CFRunLoopRunSpecific + 309
30 HIToolbox 0x00007fff912cea0d RunCurrentEventLoopInMode + 226
31 HIToolbox 0x00007fff912ce685 ReceiveNextEventCommon + 173
32 HIToolbox 0x00007fff912ce5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
33 AppKit 0x00007fff8a4f424e _DPSNextEvent + 1434
34 AppKit 0x00007fff8a4f389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
35 AppKit 0x00007fff8a4e799c -[NSApplication run] + 553
36 AppKit 0x00007fff8a4d2783 NSApplicationMain + 940
37 GPG Keychain 0x000000010002365d main + 205
38 GPG Keychain 0x0000000100001b24 start + 52
39 ??? 0x0000000000000003 0x0 + 3
)
2015-04-07 13:24:47.605 GPG Keychain[68095:303] *** Assertion failure in -[GKDateCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1265.21/AppKit.subproj/NSCell.m:1637
2015-04-07 13:24:47.605 GPG Keychain[68095:303] Invalid parameter not satisfying: aString != nil
2015-04-07 13:24:47.607 GPG Keychain[68095:303] (
0 CoreFoundation 0x00007fff8cc2c25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8dad6e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8cc2c038 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff9297d361 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8a5338b8 -[NSCell _objectValue:forString:errorDescription:] + 159
5 AppKit 0x00007fff8a53380a -[NSCell _objectValue:forString:] + 20
6 AppKit 0x00007fff8a533778 -[NSCell setStringValue:] + 41
7 GPG Keychain 0x000000010001fb4f -[GKDateCell drawInteriorWithFrame:inView:] + 559
8 AppKit 0x00007fff8a7b1793 -[NSTableView drawRow:clipRect:] + 1629
9 AppKit 0x00007fff8a7b0fed -[NSTableView drawRowIndexes:clipRect:] + 776
10 AppKit 0x00007fff8a67a331 -[NSTableView drawRect:] + 1484
11 AppKit 0x00007fff8a65304f -[NSView _drawRect:clip:] + 3748
12 AppKit 0x00007fff8a6518c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
13 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
14 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
15 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
16 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
17 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
18 AppKit 0x00007fff8a64f706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
19 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
20 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
21 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
22 AppKit 0x00007fff8a64be9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
23 AppKit 0x00007fff8a62b2da -[NSView displayIfNeeded] + 1680
24 AppKit 0x00007fff8a69074e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
25 AppKit 0x00007fff8ac66061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
26 CoreFoundation 0x00007fff8cb5cd67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
27 CoreFoundation 0x00007fff8cb5ccd7 __CFRunLoopDoObservers + 391
28 CoreFoundation 0x00007fff8cb4e3b8 __CFRunLoopRun + 776
29 CoreFoundation 0x00007fff8cb4de75 CFRunLoopRunSpecific + 309
30 HIToolbox 0x00007fff912cea0d RunCurrentEventLoopInMode + 226
31 HIToolbox 0x00007fff912ce7b7 ReceiveNextEventCommon + 479
32 HIToolbox 0x00007fff912ce5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
33 AppKit 0x00007fff8a4f424e _DPSNextEvent + 1434
34 AppKit 0x00007fff8a4f389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
35 AppKit 0x00007fff8a4e799c -[NSApplication run] + 553
36 AppKit 0x00007fff8a4d2783 NSApplicationMain + 940
37 GPG Keychain 0x000000010002365d main + 205
38 GPG Keychain 0x0000000100001b24 start + 52
39 ??? 0x0000000000000003 0x0 + 3
)
2015-04-07 13:24:48.907 GPG Keychain[68095:303] *** Assertion failure in -[GKDateCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1265.21/AppKit.subproj/NSCell.m:1637
2015-04-07 13:24:48.907 GPG Keychain[68095:303] Invalid parameter not satisfying: aString != nil
2015-04-07 13:24:48.910 GPG Keychain[68095:303] (
0 CoreFoundation 0x00007fff8cc2c25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8dad6e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8cc2c038 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff9297d361 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8a5338b8 -[NSCell _objectValue:forString:errorDescription:] + 159
5 AppKit 0x00007fff8a53380a -[NSCell _objectValue:forString:] + 20
6 AppKit 0x00007fff8a533778 -[NSCell setStringValue:] + 41
7 GPG Keychain 0x000000010001fb4f -[GKDateCell drawInteriorWithFrame:inView:] + 559
8 AppKit 0x00007fff8a7b1793 -[NSTableView drawRow:clipRect:] + 1629
9 AppKit 0x00007fff8a7b0fed -[NSTableView drawRowIndexes:clipRect:] + 776
10 AppKit 0x00007fff8a67a331 -[NSTableView drawRect:] + 1484
11 AppKit 0x00007fff8a65304f -[NSView _drawRect:clip:] + 3748
12 AppKit 0x00007fff8a6518c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
13 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
14 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
15 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
16 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
17 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
18 AppKit 0x00007fff8a651ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
19 AppKit 0x00007fff8a64f706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
20 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
21 AppKit 0x00007fff8a650bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
22 AppKit 0x00007fff8a64be9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
23 AppKit 0x00007fff8a62b2da -[NSView displayIfNeeded] + 1680
24 AppKit 0x00007fff8a69074e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
25 AppKit 0x00007fff8ac66061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
26 CoreFoundation 0x00007fff8cb5cd67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
27 CoreFoundation 0x00007fff8cb5ccd7 __CFRunLoopDoObservers + 391
28 CoreFoundation 0x00007fff8cb4e3b8 __CFRunLoopRun + 776
29 CoreFoundation 0x00007fff8cb4de75 CFRunLoopRunSpecific + 309
30 HIToolbox 0x00007fff912cea0d RunCurrentEventLoopInMode + 226
31 HIToolbox 0x00007fff912ce685 ReceiveNextEventCommon + 173
32 HIToolbox 0x00007fff912ce5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
33 AppKit 0x00007fff8a4f424e _DPSNextEvent + 1434
34 AppKit 0x00007fff8a4f389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
35 AppKit 0x00007fff8a4e799c -[NSApplication run] + 553
36 AppKit 0x00007fff8a4d2783 NSApplicationMain + 940
37 GPG Keychain 0x000000010002365d main + 205
38 GPG Keychain 0x0000000100001b24 start + 52
39 ??? 0x0000000000000003 0x0 + 3
)</code>
</pre></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-04-10T18:13:37Z2015-04-10T18:13:37ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>The bug, when clicking on User IDs, is already fixed.</p></div>Mentotag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-04-10T18:52:09Z2015-04-10T18:52:09ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>There was a glitch with nightly builds not showing up as
expected. That is now fixed, so please retry with the latest GPG
Suite (1313n - as of now).</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-04-10T19:18:05Z2015-04-10T19:18:05ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>@mento ah, interesting. I compiled a version 2 days ago. I'll
try again. thx.</p>
<p>@steve I'll try 1313n this weekend. Thank you.</p></div>Helmut K. C. Tessarektag:gpgtools.tenderapp.com,2011-11-04:Comment/363681612015-04-15T15:41:59Z2015-04-15T15:41:59ZAlgorithm Preferences dialog does not show - An uncaught exception was raised<div><p>Sorry that it took that long to reply. I compiled a new version
yesterday and the issue seems to be resolved. Thank you.</p></div>Helmut K. C. Tessarek