Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible regression #142

Open
skull-squadron opened this issue Jul 18, 2023 · 5 comments
Open

Possible regression #142

skull-squadron opened this issue Jul 18, 2023 · 5 comments

Comments

@skull-squadron
Copy link

Crashes on launch

TeX Live Utility: 1.54
macOS: 13.4.1 (c) (22F770820d)
Architecture: Mac M1
TeX distribution: brew install texlive

Speculative causes:
a. PEBKAC: Doesn't play nice with texlive (rather than MacTeX)
b. Regression similar to #113

Stack trace
Exception Name: NSInternalInconsistencyException
Description: Invalid parameter not satisfying: _installedYear != TLMDatabaseUnknownYear
User Info: {
    NSAssertFile = "TLMEnvironment.m";
    NSAssertLine = 791;
}

0   CoreFoundation                      0x0000000186b5f154 __exceptionPreprocess + 176
1   libobjc.A.dylib                     0x000000018667e4d4 objc_exception_throw + 60
2   Foundation                          0x0000000187b12a98 -[NSCalendarDate initWithCoder:] + 0
3   TeX Live Utility                    0x000000010213db40 -[TLMEnvironment _getValidServerURL:repositoryYear:fromURL:] + 848
4   TeX Live Utility                    0x000000010213dc8c -[TLMEnvironment validServerURLFromURL:] + 100
5   TeX Live Utility                    0x0000000102104d68 -[TLMMainWindowController _goHome] + 308
6   TeX Live Utility                    0x00000001021054e4 -[TLMMainWindowController showWindow:] + 504
7   TeX Live Utility                    0x0000000102103a0c -[TLMAppController _continueApplicationDidFinishLaunching] + 280
8   CoreFoundation                      0x0000000186adb180 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
9   CoreFoundation                      0x0000000186b76eec ___CFXRegistrationPost_block_invoke + 88
10  CoreFoundation                      0x0000000186b76e34 _CFXRegistrationPost + 440
11  CoreFoundation                      0x0000000186aac4cc _CFXNotificationPost + 704
12  Foundation                          0x0000000187a0a8f4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
13  Foundation                          0x0000000187a7ac64 __NSThreadPerformPerform + 264
14  CoreFoundation                      0x0000000186ae663c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
15  CoreFoundation                      0x0000000186ae65d0 __CFRunLoopDoSource0 + 176
16  CoreFoundation                      0x0000000186ae6340 __CFRunLoopDoSources0 + 244
17  CoreFoundation                      0x0000000186ae4f48 __CFRunLoopRun + 828
18  CoreFoundation                      0x0000000186ae44b8 CFRunLoopRunSpecific + 612
19  HIToolbox                           0x000000019032ec40 RunCurrentEventLoopInMode + 292
20  HIToolbox                           0x000000019032ea7c ReceiveNextEventCommon + 648
21  HIToolbox                           0x000000019032e7d4 _BlockUntilNextEventMatchingListInModeWithFilter + 76
22  AppKit                              0x0000000189d05d44 _DPSNextEvent + 636
23  AppKit                              0x0000000189d04ee0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
24  AppKit                              0x0000000189cf9344 -[NSApplication run] + 464
25  AppKit                              0x0000000189cd0794 NSApplicationMain + 880
26  TeX Live Utility                    0x0000000102102bac main + 436
27  dyld                                0x00000001866aff28 start + 2236
@amaxwell
Copy link
Owner

As in #113, I'll need the log to see what's really going on. Sorry for the trouble; it shouldn't matter how or where you install TeX Live.

@skull-squadron
Copy link
Author

skull-squadron commented Aug 2, 2023

Here's the Apple crash report.

And the decoded content of ~/Library/Application Support/TeX Live Utility/Log Messages.plist.

..../texlive/20230313_2/share/texmf-var/web2c/tlmgr.log is empty.

If there's a log created somewhere else, let me know what to snag.

@amaxwell
Copy link
Owner

amaxwell commented Aug 2, 2023

Sorry, I should have been more specific. Launch TLU and bring up its log window (Window menu), and grab the output from one of the failed sessions. If you can't launch it, the file lives in ~/Library/Application Support/TeX Live Utility.

@skull-squadron
Copy link
Author

@amaxwell
Copy link
Owner

amaxwell commented Aug 2, 2023

Wow, that's not ideal. These two lines point to a busted install. Does homebrew really put TL in that directory? The permissions are (or were) inconsistent, which means they're a mix of user and root, and there's no texlive.tlpdb. Can you successfully run tlmgr update --list in Terminal?

2023-08-02 01:44:48 +0000 Warning tlu_ipctask[65152] chmod: /Users/ba/.homebrew/Cellar/texlive/tlpkg/texlive.tlpdb: No such file or directory

2023-08-02 01:44:49 +0000 Notice -[TLMAppController _handleFixPermissionsFinishedNotification:][65137] Failed to fix permissions. Many other things will now fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants