Comments (6)
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.
present on 3.6 also
from spotube.
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.
Run following to start from the terminal:
ERROR=true DEBUG=true VERBOSE=true /Applications/spotube.app/Contents/MacOS/spotube -v
from spotube.
➜ ~ 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.
[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)
- A 'Now Playing' app for the Tidbyt display HOT 1
- Update HOT 2
- Spotube opens with totally empty window HOT 1
- Can't Read Text In Music Player
- Spotube Connect's server doesn't listen on IPv6 interfaces
- Spotube can't be sideloaded with AltStore or SideStore on iOS
- Syncing database from ViMusic
- [Android] Shuffle playlist bug
- Add an option to auto-save m4a streams
- Recusive Search through local folder
- Bluetooth media controls not working on Linux HOT 3
- Lyrics source
- Unable to open spotube 3.71 on my windows 11 HOT 8
- app window doesn't match with my screen resolution
- Unable to download songs on Android with Jiosavaan source
- Unable to change 'Alternative Track Sources' in case a song is not found in preffered audio source and a backup audio source is used
- Write the title here
- Downloaded songs unable to import in Apple Music with Sync, getting error "Cannot Decode"
- Space key doesn't pause/play music
- Add options to disable blur effect/animations (Improve system performance) (GUI)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotube.