GithubHelp home page GithubHelp logo

Constant black screen on mac about spotube HOT 6 CLOSED

frigeky00 avatar frigeky00 commented on June 28, 2024 1
Constant black screen on mac

from spotube.

Comments (6)

KRTirtho avatar KRTirtho commented on June 28, 2024 3

Ok, found the issue. I guess this will happen for every new mac users. I accidentally removed code for creating the Logs Directory before using it.

So, just creating that directory should fix the issue for now. Run following, it'll create directory and file that is missing at startup.

mkdir -p ~/Library/Containers/oss.krtirtho.spotube/Data/Library/Logs
touch ~/Library/Containers/oss.krtirtho.spotube/Data/Library/Logs/.spotube_logs

from spotube.

xoco70 avatar xoco70 commented on June 28, 2024

present on 3.6 also

from spotube.

KRTirtho avatar KRTirtho commented on June 28, 2024

Launch the app from terminal and submit the logs here. On M1 (and onwards) mac it's working fine. I doubt it will be any different for x86_64 macs. It's probably some system configuration clashing with Spotube's Flutter embedder for MacOS

from spotube.

KRTirtho avatar KRTirtho commented on June 28, 2024

Run following to start from the terminal:

ERROR=true DEBUG=true VERBOSE=true /Applications/spotube.app/Contents/MacOS/spotube -v

from spotube.

xoco70 avatar xoco70 commented on June 28, 2024
➜  ~ ERROR=true DEBUG=true VERBOSE=true /Applications/spotube.app/Contents/MacOS/spotube

[WARNING:flutter/common/graphics/persistent_cache.cc(284)] Could not acquire the persistent cache directory. Caching of GPU resources on disk is disabled.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathNotFoundException: Cannot create file, path = '/Users/juju/Library/Containers/oss.krtirtho.spotube/Data/Library/Logs/.spotube_logs' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _File.create.<anonymous closure> (dart:io/file_impl.dart:286)
<asynchronous suspension>
#2      getLogsPath (package:spotube/models/logger.dart:30)
<asynchronous suspension>
#3      main (package:spotube/main.dart:122)
<asynchronous suspension>

2024-05-02 11:31:55.652 spotube[21408:743868] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
embedder.cc (2525): 'FlutterPlatformMessageCreateResponseHandle' returned 'kInvalidArguments'. Engine handle was invalid.
2024-05-02 11:32:22.939 spotube[21408:743868] Failed to create a FlutterPlatformMessageResponseHandle (2)

from spotube.

KRTirtho avatar KRTirtho commented on June 28, 2024
[WARNING:flutter/common/graphics/persistent_cache.cc(284)] Could not acquire the persistent cache directory. 
Caching of GPU resources on disk is disabled.

Also, why's it running on Software rendering? Flutter should have access to a GPU. It'll not stop the app from running but it'll make experience sluggish.

from spotube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.