Jump to content

JakeS

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by JakeS

  1. I lost use of this with the last macOS update which removed python2. As much as I love this workflow, I'm not ready to re-install Python2 to keep it going. Any hope of getting it ported to 3?
  2. I think there's still one little bug in it for M1 Macs -- inn the "Connect to provided bluetooth MAC" step it specifies `/usr/local/bin` where M1 it will be under `/opt/homebrew/bin`. Changing that seemed to get it all working for me.
  3. Running it in debugger in Xcode now. Still trying to find my way around this (I've been more focused on .net and javascript), but the console here does give the following suspicious info: 2021-05-28 15:23:42.790197-0500 AlfredGifBrowser[21138:4704770] [ScriptFilterServer.swift:34 respond(with:)] Responded to alfred: ScriptFilterResponse(items: [Alfred.ScriptFilterResponse.Item(arg: "dummy", uid: nil, title: "Select with arrow keys, drag-n-drop with mouse", subtitle: Optional("[↩: search again] [⌘: copy GIF] [⌥: copy URL]"), valid: nil, match: nil, autocomplete: nil, quicklookurl: nil, type: nil, text: nil, icon: nil, mods: nil)]) 2021-05-28 15:23:55.640738-0500 AlfredGifBrowser[21138:4704770] Metal API Validation Enabled 2021-05-28 15:23:55.683921-0500 AlfredGifBrowser[21138:4704770] fopen failed for data file: errno = 2 (No such file or directory) 2021-05-28 15:23:55.683950-0500 AlfredGifBrowser[21138:4704770] Errors found! Invalidating cache... 2021-05-28 15:23:55.740299-0500 AlfredGifBrowser[21138:4704770] +[MTLIOAccelDevice registerDevices]: Zero Metal services found I've put some relevant info in a github issue so we can continue the conversation either here or there.
  4. Did find this while digging through the system.log: May 28 14:21:29 Jakes-MacBook-Pro AlfredGifBrowser[9667]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory Otherwise no other errors I can find so far. That .bundle folder exists, but is empty.
  5. Well that shows it IS finding lots of matching images, cataloging them, and caching them. alfred: ScriptFilterResponse(items: [Alfred.ScriptFilterResponse.Item(arg: "dummy", uid: nil, title: "Select with arrow keys, drag-n-drop with mouse", subtitle: Optional("[↩: search again] [⌘: copy GIF] [⌥: copy URL]"), valid: nil, match: nil, autocomplete: nil, quicklookurl: nil, type: nil, text: nil, icon: nil, mods: nil)]) 2021-05-28 13:30:12.264 AlfredGifBrowser[7397:4565081] [WebViewCache.swift:79 startCacheDirWatcher()] Adding to cache due to FS change: 1B76D167EC3A8E056B9CE1040662B00BE99E1229) 2021-05-28 13:30:12.264 AlfredGifBrowser[7397:4565081] [WebViewCache.swift:38 addToDict(recordFileURL:)] Web URL in cache: https://c.tenor.com/7I9nkd071vYAAAAM/food-coma-food.gif 2021-05-28 13:30:12.264 AlfredGifBrowser[7397:4565081] [WebViewCache.swift:44 addToDict(recordFileURL:)] Cache dict size: 385 Lots more results like these (after the line that sets the Alfred response), but no error or indication of why the view itself isn't showing.
  6. I'm afraid it still doesn't show actual results for me. `/tmp/alfred-gif-search.log` has no new entries though, and has not been touched since in the last two days, so there's not a lot of feedback to give. When searching, it does switch the label to say "select with arrow keys..." etc. If there's somewhere else I can look for logs or help troubleshoot I'm happy to. I also have Xcode. Never worked with Swift myself, but how hard can it be?
  7. Ah, this is likely to be an issue of mine as well. I'll try to remain patient
  8. I'm not getting any query results so far. When I look in /tmp/alfred-gif-search.log I see this: Responded to alfred from cache URLSearchParams { 'query' => 'stuff' } response.setHeader is not a function /Users/jakes/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/stuff-gifs.html already cached I am running node v16.0, installed via homebrew. Any ideas what's wrong?
×
×
  • Create New...