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

[Linux] After first launch Spotube only starts up to a transparent window #894

Closed
1 task done
PureTryOut opened this issue Nov 24, 2023 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@PureTryOut
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've installed Spotube from Flathub. The first time I launch the program it works just fine but the second time I do it opens up to just a transparent window (I only see the window borders). The logs report:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: lock failed, path = '/home/bart/.var/app/com.github.KRTirtho.Spotube/data/spotube/oss.krtirtho.spotube.cache.queries.lock' (OS Error: Resource temporarily unavailable, errno = 11)
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _RandomAccessFile.lock.<anonymous closure> (dart:io/file_impl.dart:1022)
<asynchronous suspension>
#2      StorageBackendVm.initialize (package:hive/src/backend/vm/storage_backend_vm.dart:81)
<asynchronous suspension>
#3      HiveImpl._openBox (package:hive/src/hive_impl.dart:111)
<asynchronous suspension>
#4      HiveImpl.openLazyBox (package:hive/src/hive_impl.dart:160)
<asynchronous suspension>
#5      QueryClient.initialize (package:fl_query/src/core/client.dart:529)
<asynchronous suspension>
#6      main (package:spotube/main.dart:68)
<asynchronous suspension>

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: lock failed, path = '/home/bart/.var/app/com.github.KRTirtho.Spotube/data/spotube/oss.krtirtho.spotube.cache.queries.lock' (OS Error: Resource temporarily unavailable, errno = 11)
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _RandomAccessFile.lock.<anonymous closure> (dart:io/file_impl.dart:1022)
<asynchronous suspension>
#2      StorageBackendVm.initialize (package:hive/src/backend/vm/storage_backend_vm.dart:81)
<asynchronous suspension>
#3      HiveImpl._openBox (package:hive/src/hive_impl.dart:111)
<asynchronous suspension>
#4      HiveImpl.openLazyBox (package:hive/src/hive_impl.dart:160)
<asynchronous suspension>
#5      QueryClient.initialize (package:fl_query/src/core/client.dart:529)
<asynchronous suspension>
#6      main (package:spotube/main.dart:68)
<asynchronous suspension>

Expected Behavior

Spotube to always launch like it did the first time, without a transparent window.

Steps to reproduce

  1. Install from Flathub
  2. Open the app once
  3. Close the application
  4. Open the app again

Operating System

Linux

Spotube version

3.2.0

Installation source

Flathub (Flatpak)

Additional information

No response

@PureTryOut PureTryOut added the bug Something isn't working label Nov 24, 2023
@PureTryOut PureTryOut changed the title [Linux] After first launch Spotube only stats up to a transparent window [Linux] After first launch Spotube only starts up to a transparent window Nov 24, 2023
@PureTryOut
Copy link
Author

Ah, found the problem. Quitting the application doesn't actually quit it properly. There is still a "icon" in the system tray (using KDE Plasma). Well icon is not really accurate, it's just an empty spot, no icon is actually shown. But that is blocking the launching of the application. If I kill the still running application (sending SIGKILL) then I can launch it up fine again.

@KRTirtho
Copy link
Owner

Same as #768

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

2 participants