CityScope / CSL_Lima

0 stars 2 forks source link

lego reader broken with Mojave #34

Open agrignard opened 5 years ago

agrignard commented 5 years ago
2019-04-21 22:04:13.340 java[1388:57273] pid(1388)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2019-04-21 22:04:13.901 java[1388:57273] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
    0   AppKit                              0x00007fff2ee042e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
    1   AppKit                              0x00007fff2ee0168c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
    2   AppKit                              0x00007fff2ee010b6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
    3   libnativewindow_macosx.jnilib       0x000000010f3873fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
    4   ???                                 0x0000000111d6ca88 0x0 + 4594256520
)
agrignard commented 5 years ago

New error after updating to processing 3.5

    0   AppKit                              0x00007fff2ee042e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
    1   AppKit                              0x00007fff2ee0168c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
    2   AppKit                              0x00007fff2ee010b6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
    3   libnativewindow_macosx.jnilib       0x000000010f13f3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
    4   ???                                 0x000000011121ca88 0x0 + 4582394504
)
JesusGarcia98 commented 5 years ago

Hello! I did notice that issue when I updated Mojave and I tried looking for a fix. However, at that time, the answer was it happened because of an issue related only to MacOS (it still does not occur in Windows), which did not affect the functionality of the code.

After looking into this recently, I found these discussions in the Processing forums https://github.com/processing/processing/issues/5791 , https://discourse.processing.org/t/trouble-running-p3d-on-macbook/9342 . Apparently, it is still an ongoing trouble which only involves Processing and Mojave. Although it appears as a warning/error, the code works as expected.