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

Black screen! #8

Closed
Drjacky opened this issue Jan 16, 2022 · 17 comments
Closed

Black screen! #8

Drjacky opened this issue Jan 16, 2022 · 17 comments
Labels
bug Something isn't working

Comments

@Drjacky
Copy link

Drjacky commented Jan 16, 2022

v3.3
Screen Shot 2022-01-16 at 12 11 02

@Drjacky
Copy link
Author

Drjacky commented Jan 16, 2022

NFT ./photomosaic-maker-3.3-macos-x64
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.

@hanzhi713
Copy link
Owner

Interesting. The macOS version is not really tested as I don't own a Mac machine. I'll investigate this.

@Drjacky
Copy link
Author

Drjacky commented Jan 19, 2022

@hanzhi713 I can try your pre-releases on the Mac if you want. Just attach them here and I'll send the result.

@hanzhi713
Copy link
Owner

hanzhi713 commented Jan 19, 2022

It seems that the Tkinter that comes with macOS has some serious problems (see https://www.python.org/download/mac/tcltk/). My app is built with Python 3.7 and it will use the system supplied Tkinter. Give me a day or two and let me try with Python 3.9 build and see if it works.

@hanzhi713
Copy link
Owner

@Drjacky
Copy link
Author

Drjacky commented Jan 21, 2022

This one: photomosaic-maker-3.4-macos-x64.3-macos-x64

resulted this ->

./photomosaic-maker-3.4-macos-x64.3-macos-x64
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.

Screen Shot 2022-01-21 at 09 58 53


Any option/flag we could add to see the stack trace for debugging purposes?

@hanzhi713
Copy link
Owner

hanzhi713 commented Jan 21, 2022

Any option/flag we could add to see the stack trace for debugging purposes?

The terminal should show stack trace if there's any

@Drjacky
Copy link
Author

Drjacky commented Jan 21, 2022

Then no, the only log was that DEPRECATION WARNING

@hanzhi713 hanzhi713 added the bug Something isn't working label Jan 25, 2022
@hanzhi713
Copy link
Owner

hanzhi713 commented Jan 26, 2022

Can you try the macos 11 build? https://github.com/hanzhi713/image-collage-maker/releases/tag/v3.4-macos11
Unfortunately github actions do not yet provide macos 12 build environment

@Drjacky
Copy link
Author

Drjacky commented Jan 26, 2022

When the app opened, it was black, then when I dragged the window:
Screen Shot 2022-01-26 at 16 32 13
Then, when you leave it for a few seconds and switch to another desktop and back, it blinks between the black screen and the app UI screen quickly:

Screen Recording 2022-01-26 at 16 35 23

@hanzhi713
Copy link
Owner

Ok. Let me see if I can borrow a MacBook running macos 12 to reproduce this.

@ncarboni
Copy link

I have the same problem running photomosaic-maker-4.2-macos-11-x64 on Mac 12.3 (M1 Chip)
photomosaic

Any solution? I also have problem installing lapjv on M1, so I was hoping to use at least the binaries

@hanzhi713
Copy link
Owner

Unfortunately, my binaries only support x86-64 architecture. M1 is on ARM64 I believe.

@hanzhi713
Copy link
Owner

Any solution? I also have problem installing lapjv on M1, so I was hoping to use at least the binaries

If you compile from source, lapjv can work. The lapjv binaries also assume x64 architecture.

@Drjacky
Copy link
Author

Drjacky commented Jun 15, 2022

@hanzhi713
Copy link
Owner

This will be helpful, but it's not for M1. Still, I can try to start providing macOS 12 builds.

@ncarboni
Copy link

Thank you, however lapjv doesn't seems to be support to be built on m1 either... :/
In any case, if in the future you would like to build it for M1, there are some AWS instances (but definitively not free) https://aws.amazon.com/about-aws/whats-new/2021/12/amazon-ec2-m1-mac-instances-macos/ Thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants