[GH-ISSUE #241] Psst stop play music - conflict with Raycast #173

Closed
opened 2026-02-28 14:31:08 +03:00 by kerem · 7 comments
Owner

Originally created by @naymapl on GitHub (Dec 25, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/241

Hi.

I compile new version and have problem on one of my macOS hardware where I use Raycast app. I analize for long time and found conflict with this Raycast app (1.26.0). On others machines I`m using Alfred App and is no problem.

On this specific machine when you listen music on psst and raycast is schut down is no issue at all, but when you open Raycast app music stuck after few seconds. Sometimes 30-40seconds, sometime just few. I switch off all extensions of Raycat and plugins and still this same.

[2021-12-25T21:32:42Z INFO  psst_core::player] stale load result received, ignoring
[2021-12-25T21:32:53Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-25T21:32:54Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-25T21:32:56Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-25T21:32:58Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-25T21:32:59Z INFO  psst_core::player::file] blocked at 786580
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8777469
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8788436
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8791178
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8793920
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8796662
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8799404

This blocked at I got on everymachine:

[2021-12-25T21:32:59Z INFO  psst_core::player::file] blocked at 786580
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8777469
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8788436
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8791178
[2021-12-25T21:34:08Z INFO  psst_core::player::file] blocked at 8793920
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8796662
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8799404
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8802146
[2021-12-25T21:34:09Z INFO  psst_core::player::file] blocked at 8804888
  • OS: macOS 12.1
  • Version:last version
Originally created by @naymapl on GitHub (Dec 25, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/241 Hi. I compile new version and have problem on one of my macOS hardware where I use Raycast app. I analize for long time and found conflict with this Raycast app (1.26.0). On others machines I`m using Alfred App and is no problem. On this specific machine when you listen music on psst and raycast is schut down is no issue at all, but when you open Raycast app music stuck after few seconds. Sometimes 30-40seconds, sometime just few. I switch off all extensions of Raycat and plugins and still this same. ``` [2021-12-25T21:32:42Z INFO psst_core::player] stale load result received, ignoring [2021-12-25T21:32:53Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-25T21:32:54Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-25T21:32:56Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-25T21:32:58Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpwVdbI6", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-25T21:32:59Z INFO psst_core::player::file] blocked at 786580 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8777469 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8788436 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8791178 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8793920 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8796662 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8799404 ``` This blocked at I got on everymachine: ``` [2021-12-25T21:32:59Z INFO psst_core::player::file] blocked at 786580 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8777469 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8788436 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8791178 [2021-12-25T21:34:08Z INFO psst_core::player::file] blocked at 8793920 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8796662 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8799404 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8802146 [2021-12-25T21:34:09Z INFO psst_core::player::file] blocked at 8804888 ``` - OS: macOS 12.1 - Version:last version
kerem 2026-02-28 14:31:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@naymapl commented on GitHub (Dec 26, 2021):

I have some more logs here:

[2021-12-26T09:39:59Z INFO  psst_core::player] preloaded audio file
[2021-12-26T09:40:17Z WARN  psst_core::player::file] failed to save audio file to cache: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[2021-12-26T09:40:28Z INFO  psst_core::player] starting playback
[2021-12-26T09:40:28Z INFO  audio_thread_priority::rt_mach] thread 48147 bumped to real time priority.
[2021-12-26T09:40:28Z INFO  psst_gui::controller::playback] playing
2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: execSQLStatement:onConnection:toCompletionWithRetry:writeLockHelp - SQL=BEGIN IMMEDIATE TRANSACTION;, error-code=10, error-message=disk I/O error
2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: stepSQLStatement:toCompletionWithRetry - stepping returned unhandled result=10, DB=/Users/naymapl/Library/Caches/psst-gui/Cache.db
2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: execSQLStatement:onConnection:toCompletionWithRetry:writeLockHelp - SQL=COMMIT TRANSACTION;, error-code=1, error-message=cannot commit - no transaction is active
[2021-12-26T09:40:33Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T09:40:35Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T09:40:36Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T09:40:38Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T09:40:39Z INFO  psst_core::player::file] blocked at 524436
<!-- gh-comment-id:1001139353 --> @naymapl commented on GitHub (Dec 26, 2021): I have some more logs here: ``` [2021-12-26T09:39:59Z INFO psst_core::player] preloaded audio file [2021-12-26T09:40:17Z WARN psst_core::player::file] failed to save audio file to cache: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [2021-12-26T09:40:28Z INFO psst_core::player] starting playback [2021-12-26T09:40:28Z INFO audio_thread_priority::rt_mach] thread 48147 bumped to real time priority. [2021-12-26T09:40:28Z INFO psst_gui::controller::playback] playing 2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: execSQLStatement:onConnection:toCompletionWithRetry:writeLockHelp - SQL=BEGIN IMMEDIATE TRANSACTION;, error-code=10, error-message=disk I/O error 2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: stepSQLStatement:toCompletionWithRetry - stepping returned unhandled result=10, DB=/Users/naymapl/Library/Caches/psst-gui/Cache.db 2021-12-26 10:40:28.558 psst-gui[1219:31081] Error: execSQLStatement:onConnection:toCompletionWithRetry:writeLockHelp - SQL=COMMIT TRANSACTION;, error-code=1, error-message=cannot commit - no transaction is active [2021-12-26T09:40:33Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T09:40:35Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T09:40:36Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T09:40:38Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpxGiETl", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T09:40:39Z INFO psst_core::player::file] blocked at 524436 ```
Author
Owner

@naymapl commented on GitHub (Dec 26, 2021):

I have one more thing - why Psst didn`t remember window size when is close and reopen. I need everytime change position and size of window after close. I know if this is non topic for this but this small details make me happy ;)

<!-- gh-comment-id:1001158452 --> @naymapl commented on GitHub (Dec 26, 2021): I have one more thing - why Psst didn`t remember window size when is close and reopen. I need everytime change position and size of window after close. I know if this is non topic for this but this small details make me happy ;)
Author
Owner

@jpochyla commented on GitHub (Dec 26, 2021):

Seems like something is deleting the temp files Psst is using for audio storage. There's not much I can do about it, sorry. Re. the window position, we have #188 for this.

<!-- gh-comment-id:1001168451 --> @jpochyla commented on GitHub (Dec 26, 2021): Seems like something is deleting the temp files Psst is using for audio storage. There's not much I can do about it, sorry. Re. the window position, we have #188 for this.
Author
Owner

@naymapl commented on GitHub (Dec 26, 2021):

@jpochyla Thanks for reply. I will write to Raycast support about this cache files. This is strange - all other apps running well. i have just issue with Psst right now. merry Christmas and thank you again.

<!-- gh-comment-id:1001169715 --> @naymapl commented on GitHub (Dec 26, 2021): @jpochyla Thanks for reply. I will write to Raycast support about this cache files. This is strange - all other apps running well. i have just issue with Psst right now. merry Christmas and thank you again.
Author
Owner

@jpochyla commented on GitHub (Dec 26, 2021):

@naymapl Just for the record, I'm using Raycast as well, and never had any similar issues.

<!-- gh-comment-id:1001169998 --> @jpochyla commented on GitHub (Dec 26, 2021): @naymapl Just for the record, I'm using Raycast as well, and never had any similar issues.
Author
Owner

@naymapl commented on GitHub (Dec 26, 2021):

@jpochyla Thank you for info. Maybye is some options from Raycast. This is strange for me.
Now when I just open Raycast I got error in this same second:

[2021-12-26T12:42:44Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T12:42:46Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T12:42:48Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
[2021-12-26T12:42:49Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } })
<!-- gh-comment-id:1001174689 --> @naymapl commented on GitHub (Dec 26, 2021): @jpochyla Thank you for info. Maybye is some options from Raycast. This is strange for me. Now when I just open Raycast I got error in this same second: ``` [2021-12-26T12:42:44Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T12:42:46Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T12:42:48Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) [2021-12-26T12:42:49Z ERROR psst_core::player::file] failed to request audio range: IoError(Custom { kind: NotFound, error: PathError { path: "/var/folders/kv/6w3dhm6d2892r_qdpbj_50880000gn/T/.tmpjDAbit", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }) ```
Author
Owner

@naymapl commented on GitHub (Dec 26, 2021):

@jpochyla with version of raycast do you use right now ? 1.26.3 ?

<!-- gh-comment-id:1001176563 --> @naymapl commented on GitHub (Dec 26, 2021): @jpochyla with version of raycast do you use right now ? 1.26.3 ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#173
No description provided.