Jump to content

katie

Member
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by katie

  1. I don't need the fancy things - just importing citation information into BibDesk. @giovanni, you've made my day/week/year!!!! This is amazing; works for me. Thank you!!
  2. Thanks, @vitor. I've just downloaded the Supercharged Citation Picker, but it's for inserting citations into writing - not adding citation information to a reference manager (BibDesk) so that it can then be cited. I'm doing it manually now; I just miss this workflow!
  3. I've installed the workflow from @emraher in issue #17 (https://github.com/andrewning/alfred-workflows-scientific/issues/17#issuecomment-912063594). The debugger shows that the workflow is looking for python 2, which doesn't exist on my device - I'm on a institution-managed computer that has python 3, but I don't have the ability/permissions to install a previous version of python. I tried changing the workflow to call python 3, hoping it was an easy fix, but that did not work. Debugger output is here: [15:19:32.856] Reference Importer[Script Filter] Queuing argument 'l' [15:19:32.969] Reference Importer[Script Filter] Script with argv '(null)' finished [15:19:32.973] ERROR: Reference Importer[Script Filter] Code 1: Traceback (most recent call last): File "/Users/ejq413/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6C06FC8C-1824-405B-9086-C3BDD31E925E/crossref.py", line 6, in <module> from workflow import Workflow File "/Users/ejq413/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6C06FC8C-1824-405B-9086-C3BDD31E925E/workflow/__init__.py", line 16, in <module> from .workflow import Workflow, manager File "/Users/ejq413/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6C06FC8C-1824-405B-9086-C3BDD31E925E/workflow/workflow.py", line 25, in <module> import cPickle ModuleNotFoundError: No module named 'cPickle' Any help would be appreciated! Katie
  4. That must be it. I've run it, and I will be sure to give it some time!
  5. I downloaded 2.0.1 and it seems to work, but the emoji icons don't appear in Alfred - just the emoji names.
  6. @xilopaint I can help with testing - but only as a user with pdfs to manage, not an expert in programming.
  7. Wow, thank you. I can't believe you found it! I will start looking through Rob Trew's posts on all of those platforms. Thank you, also, for the advice. I will pursue the AppleScript path. In fact, I think I should regardless of whether I find a working script for this so that I won't be so stuck again in the future if something breaks. I don't use TeX at all, either. I just love how quick, accessible, and open BibDesk is. My goal is to move everything to plain text, stored in my university-provided cloud, and indexed/processed in DT. I couldn't find a suitable alternative for DT; it's just so good at what it does. At least it's easy to keep your files where they are or get them out, if necessary.
  8. Thank you for the working script for exporting to markdown, @dfay. I'm wondering how difficult it would be to change this script for my own workflow. My goal is the following: Export into separate markdown files for each annotation. Ideally, these would be named automatically, for e.g., using the first 5 words of the contents, and placed in a folder named by the pdf name. Include the name of the colour of the highlight from Skim in each file (so it can be used to filter/process them). Edit: ✓ I couldn't figure out how to capture and name colours, but, I've managed the important part of indicating the colour of the highlight. As a plus, it should work with any used colour, not just set values. Include the link back to the PDF in each file. I know it was mentioned that this could be done by adding back in that functionality, but I could not figure this out. This one is just a perk though. Edit: ✓ Essentially, I am in this situation because my original workflow relied on a script that did exactly this. It would take a Skim pdf, export all annotations as separate files to DevonThink (but to .rtf, not markdown). I cannot find it anywhere - all links to it are broken (e.g. https://wippp.com/home/writing-workflows-processing-annotations-all-roads-lead-to-skim). My workflow was based around the idea the zettelkasten information management - so preparing little chunks of information that can be further processed and filtered and summarized, etc. From what I can tell, this could potentially be accomplished in two ways: (1) starting with this script for exporting to markdown, but instead parsing the clipboard to create different files and adding colour information (2) using a Skim export template, which can apparently identify colour (https://sourceforge.net/p/skim-app/feature-requests/1417/) and include a link to specific annotations in the pdf (https://sourceforge.net/p/skim-app/feature-requests/1520/). I found a template that exports to markdown (https://github.com/semicolonsnet/skim-templates), but I'm really new to this and couldn't get it to function. It's not clear to me whether separate files can be created. For those of you who are experts in coding - would you be familiar enough with this to know which approach (applescript or template) I should attempt? And how future-proof would it be? I'm kicking myself for getting used to this workflow. Once it broke, I procrastinated on trying to fix it and now I have a bunch of read pdf's that are just stuck. I'm not sure if I should give up on this entirely and just figure out a new academic workflow. I'm definitely not expecting or asking anyone to do this for me. I'm just hoping that someone might have an opinion on which approach would be more sustainable and a worthwhile use of my time to pursue. Or if there's another simpler approach that would work best. I've also found that it is surprisingly difficult to try to change my method of reading/highlighting, so I'm open to hearing about other people's academic workflows! Thank you for reading! Katie Edit: I forgot to mention that I found a similar script (https://github.com/achamess/skim_to_md_script) but it relies on the user having Papers3.app and I use BibDesk. Update (2021-01-09): You can add a link back to the specific page in Skim, by adding the following in the appropriate sections of the script: set tURL to "<$skimURL?><$skimURL/></$skimURL?>" -- not sure if only the middle tag is necessary but it works like this set skimURL to format n using template tURL -- convert template text to actual url -- Then add " [" & correctedPage & "](" & skimURL & ")" to format as a markdown link under each type of supported highlight Update (2021-03-06 ): You can add the colour of the highlight, by adding the following in the appropriate sections of the script: set tColour to "<$color.hexString?><$color.hexString/></$color.hexString?>" -- then add this to the export part: set noteString to noteString & "> " & "<mark style=\"background-color: " & noteColour & "\">" & formattedNote & "</mark>" & " (p. [" & correctedPage & "](" & skimURL & "))" & LF & LF
  9. Thank you; I will try that! Just spent a good chunk of time doing this manually. Edit: And it works! I must have missed an update. This is literally the best day ever.
  10. I really miss this workflow. Has anyone been able to find a workaround or alternative solution?
  11. It's amazing!! Works great!! Thank you so much!!
  12. Hello, I just found out that this workflow doesn't work if you use brackets () in the filename. I get this error in debug mode: [2017-01-30 12:59:29][ERROR: action.script] 15:16: syntax error: Expected “"” but found unknown token. (-2741) It's definitely a minor issue, and not necessary. But if somebody knows what's going on, I'd like to fix it if I can. Thanks
  13. Hi @robwalton! Thanks for getting back to me. I have tried the 'uo <search term>' option and it works - as long as Ulysses is already open. If Ulysses isn't open, then I get two "something went wrong beeps" (as I call them), and Ulysses opens but the open dialogue doesn't. Because of this, I deactivated that keyword because a lot of times I don't want to open Ulysses, especially if it doesn't have what I'm looking for. I guess my computer is slow enough that waiting for a program (even one as light as Ulysses) to open so I can re-do a search, and (potentially) close it, is frustrating. I only use the 'us' and 'ug' keywords! I have a pretty formalized grouping system that 'ug' works great with and I can drill down to the group I need (amazing job on this). The downside of my system, as I mentioned, is that many sheet names are pretty useless or I don't really remember them (e.g. a sheet named "syllabus" in every course admin group). This is why a content search is so appealing to me - so I can check if something is in Ulysses before opening it up (and head right to the sheet, e.g. psy311) or make sure I've made a note of something without opening up Ulysses. And some sheet names are useful. What I'm trying to say is that I think there's a clear distinction between group and sheet searches (at least for me) so I think a new keyword 'uf' would be the best idea (and not to mix in sheet searches with groups as a 'u' search). If it's possible. And if you think it would be useful, too. As it is, I'm really happy with the workflow just so I can open the groups I need! It's what was missing for me to make the most of Ulysses (I used to use nvalt and there are some great workflows for it). Thank you for expending time and effort to build it!
  14. I love this workflow! I've been waiting for something like this! Would it be possible to include a search of the contents of sheets (like ⌘O in Ulysses)? I don't always remember the title of my sheets
  15. I will admit to scanning documentation and being herded effectively by big scary warnings
  16. Ah okay, I was wondering how I missed something like that
  17. That fixes it! Sorry - I must have misunderstood that yellow "Important" box in the documentation. Thank you for your time and help!
  18. Thank you for fixing it! I was able to check out the examples and they are very cool! I put together a list of Cree phrases, just to try it out. The Excel file simply has Cree in column A and English in column B. I was able to create the new workflow, but got an error - screenshot attached. Here's the output from debugging mode: [2016-11-01 18:15:32][STDERR: input.scriptfilter] options=Namespace(docpath='/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Cree Phrases.xlsx', sheet='1', start_row='1', subtitle_col='', title_col='1', value_col='', variables={}) ------ alfred env vars ------- debug='1' preferences='/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences' preferences_localhash='e4d7f5380faa43a368549ac955f682f95dfe7d0a' theme='alfred.theme.custom.FDFFD75C-5F96-4977-AB98-9BC379B75E35' theme_background='rgba(255,255,255,0.89)' theme_selection_background='rgba(27,187,155,1.00)' theme_subtext='0' version='3.1.1' version_build='737' workflow_bundleid='net.deanishe.alfred-i-sheet-you-not.te2WoXM9HJuOzaOHoNuFrhufwUBodNEO3mCu8n8d' workflow_cache='/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-i-sheet-you-not.te2WoXM9HJuOzaOHoNuFrhufwUBodNEO3mCu8n8d' workflow_data='/Users/katie/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred-i-sheet-you-not.te2WoXM9HJuOzaOHoNuFrhufwUBodNEO3mCu8n8d' workflow_name='Cree Phrases' workflow_uid='user.workflow.24BE8C94-A724-44D6-8742-3E5CB2A46DC2' workflow_version='0.2.1' ------------------------------ doc_age=4h4m cache_path=u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-i-sheet-you-not.te2WoXM9HJuOzaOHoNuFrhufwUBodNEO3mCu8n8d/a22/ef7/64e/a22ef764e2480554ab32af14a6e30ae3.json' sheet='1', start_row=1, cols=[1, 2, 3], vars={} Opened worksheet "Sheet1" of ~/Dropbox/Apps/Aflred/Alfred 3/Cree Phrases.xlsx ################ FATAL ERROR ################## Traceback (most recent call last): File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.24BE8C94-A724-44D6-8742-3E5CB2A46DC2/isheetyounot/aw3.py", line 239, in rescue fn() File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.24BE8C94-A724-44D6-8742-3E5CB2A46DC2/isheetyounot/cli.py", line 188, in main items = read_data(o.docpath, o.sheet, cols, start_row, o.variables) File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.24BE8C94-A724-44D6-8742-3E5CB2A46DC2/isheetyounot/core.py", line 248, in read_data arg = s.cell(i, cols[2]).value File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.24BE8C94-A724-44D6-8742-3E5CB2A46DC2/xlrd/sheet.py", line 399, in cell self._cell_types[rowx][colx], IndexError: array index out of range ################# END ERROR ################### --------------- 0.032s elapsed ---------------
  19. I think this is a really cool and useful idea for a workflow. I was trying to check out one of the demo's (Random Names) but I get a "fatal error". Screenshot attached. Here's what came out of the debugging mode: Starting debug for 'I Sheet You Not' [2016-11-01 14:15:24][STDERR: input.scriptfilter] options=Namespace(docpath='./Demo.xlsx', sheet='1', start_row='1', subtitle_col='', title_col='1', value_col='', variables={}) ------ alfred env vars ------- debug='1' preferences='/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences' preferences_localhash='e4d7f5380faa43a368549ac955f682f95dfe7d0a' theme='alfred.theme.custom.FDFFD75C-5F96-4977-AB98-9BC379B75E35' theme_background='rgba(255,255,255,0.89)' theme_selection_background='rgba(27,187,155,1.00)' theme_subtext='0' version='3.1.1' version_build='737' workflow_bundleid='net.deanishe.alfred-i-sheet-you-not' workflow_cache='/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-i-sheet-you-not' workflow_data='/Users/katie/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred-i-sheet-you-not' workflow_name='I Sheet You Not' workflow_uid='user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2' workflow_version='0.2.1' ------------------------------ Changing bundle ID to u'aebeea3b23064f60834136b6c503292b' ... cmd=[u'/usr/libexec/PlistBuddy', u'-c', u'Set :bundleid aebeea3b23064f60834136b6c503292b', u'/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2/isheetyounot/info.plist'] Set: Entry, ":bundleid", Does Not Exist ################ FATAL ERROR ################## Traceback (most recent call last): File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2/isheetyounot/aw3.py", line 199, in rescue fn() File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2/isheetyounot/cli.py", line 149, in main change_bundle_id(newid) File "/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2/isheetyounot/aw3.py", line 252, in change_bundle_id check_call(cmd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '[u'/usr/libexec/PlistBuddy', u'-c', u'Set :bundleid aebeea3b23064f60834136b6c503292b', u'/Users/katie/Dropbox/Apps/Aflred/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.252BBBAD-F952-4D6F-A942-3FD6F353E5D2/isheetyounot/info.plist']' returned non-zero exit status 1 ################# END ERROR ################### --------------- 0.025s elapsed --------------- I'm on Mac OS El Capitan (10.11.16), with the latest versions of Alfred 3 (3.1.1 build 736) and this workflow (downloaded today).
  20. This is awesome - I hated clicking through those pages of icons. Thank you!
  21. I did a clean install (but I synced my Alfred settings) and it broke this workflow I got this error in debugging mode: [2016-10-07 09:13:03][ERROR: input.scriptfilter] Code 1: 0:90: execution error: mkdir: /Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1) I tried to change the scripts to point to Alfred-3, but that was not enough to fix the error. So I tried to re-install but the download link is missing I'm going to dig through my backups to try and get it back, but I thought I would post because people are missing out on this awesome workflow!
  22. Thanks for letting us know! I think that's completely reasonable. Fortunately, the VPN/proxy crackdown hasn't affected me yet. Just hope it stays that way
  23. Thanks!! I've relied on your flix workflow for so long, I'm not aware of other sites. But I did find these three that seem to have the same functionality: http://www.moreflicks.com/ http://flixed.io/ http://unogs.com/
  24. I really love this workflow, but it has recently stopped working for me. I always get a message that there are no results even when I search for shows that I know are on Netflix. I used the debugging feature and saw that some cached data was searched and no results were found, so I reset the workflow. It still doesn't give any results :/ I'm posting the information from the log below. Any help would be appreciated! Starting debug for 'FlixSearch' [STDERR: alfred.workflow.input.scriptfilter] 20:40:54 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:40:54 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:40:54 workflow.py:2401 DEBUG Update check not due 20:40:54 flix.py:364 DEBUG Searching flixsearch.io for `north` ... 20:40:54 workflow.py:1778 DEBUG Loading cached data from : /Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-8d8d1437907bca79900ac5f0ea1f5c73.cpickle 20:40:54 flix.py:366 DEBUG 0 total results for `north` 20:40:54 flix.py:369 DEBUG 0 results in user's countries for `north` 20:40:54 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:40:54 workflow.py:2176 DEBUG Workflow finished in 0.006 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:41:42 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:42 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:41:42 workflow.py:2401 DEBUG Update check not due 20:41:42 workflow.py:1778 DEBUG Loading cached data from : /Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/__workflow_update_status.cpickle 20:41:42 workflow.py:2349 DEBUG update_data : {u'available': False, u'version': u'v1.1', u'download_url': u'https://github.com/deanishe/alfred-flixsearch/releases/download/v1.1/FlixSearch-1.1.alfredworkflow'} 20:41:42 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:41:42 workflow.py:2176 DEBUG Workflow finished in 0.137 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:41:43 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:43 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:41:43 workflow.py:2401 DEBUG Update check not due 20:41:43 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/__workflow_update_status.cpickle' 20:41:43 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/gh-releases-deanishe-alfred-flixsearch.cpickle' 20:41:43 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/net.deanishe.alfred-flixsearch.log' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-00a809937eddc44521da9521269e75c6.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-00d3f34138fa863e992afca3a91155cf.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-0878c6394ca966249d084851fd9d99c1.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-106a6c241b8797f52e1e77317b96a201.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-132b133aafe31bcfae1d48e8c2ebbfbf.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-159029955efc62617900ac2d7039e3e9.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-177f2e6c269203eda101c31bbef4f7c2.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-194ce94b7ae5c8d1e61d5ddf1c5232be.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-1af3afb6035485842ad9b83f73ba9a0e.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-1c67116665b47733831fe7c2ed2790ac.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-1dd9bf1ce816a5f09d3ed47fc2a33046.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-1e7680f735e0ff3518bc0a5e4d720803.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-2600412edef51d6b26e1560b5bdad92a.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-3bf1114a986ba87ed28fc1b5884fc2f8.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-3dc0a08c61c4da9433df45cb1bc088ef.cpickle' 20:41:44 workflow.py:2817 DEBUG Deleted : u'/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-4201548fc7861836b4a7a3394808c15a.cpickle' 20 [STDERR: alfred.workflow.input.scriptfilter] 20:41:54 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:54 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:41:54 workflow.py:2396 INFO Checking for update ... 20:41:54 background.py:188 DEBUG Command arguments cached to `/Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/__workflow_update_check.argcache` 20:41:54 background.py:192 DEBUG Calling [u'/usr/bin/python', '/Users/katie/Dropbox/Apps/Alfred.alfredpreferences/workflows/user.workflow.BF72D40D-2159-4BEB-BBA7-0275D501FB84/workflow/background.py', u'__workflow_update_check'] ... 20:41:54 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:54 workflow.py:2176 DEBUG Workflow finished in 0.036 seconds. 20:41:54 workflow.py:2176 DEBUG Workflow finished in 0.040 seconds. 20:41:54 background.py:197 DEBUG Executing task `__workflow_update_check` in background... 20:41:54 workflow.py:2349 DEBUG update_data : None 20:41:54 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:41:54 workflow.py:2176 DEBUG Workflow finished in 0.250 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:41:55 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:55 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:41:55 workflow.py:2396 INFO Checking for update ... 20:41:55 background.py:180 INFO Task `__workflow_update_check` is already running 20:41:55 workflow.py:2349 DEBUG update_data : None 20:41:55 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:41:55 workflow.py:2176 DEBUG Workflow finished in 0.006 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:41:56 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:41:56 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:41:56 workflow.py:2401 DEBUG Update check not due 20:41:57 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:41:57 workflow.py:2176 DEBUG Workflow finished in 0.254 seconds. [ERROR: alfred.workflow.action.script] 20:42:04 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:04 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:04 workflow.py:2401 DEBUG Update check not due 20:42:04 flix.py:544 DEBUG Activated Canada 20:42:04 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:04 workflow.py:2176 DEBUG Workflow finished in 0.613 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:04 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:04 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:04 workflow.py:2401 DEBUG Update check not due 20:42:04 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:04 workflow.py:2176 DEBUG Workflow finished in 0.033 seconds. [ERROR: alfred.workflow.action.script] 20:42:09 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:09 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:09 workflow.py:2401 DEBUG Update check not due 20:42:09 flix.py:544 DEBUG Activated Germany 20:42:09 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:09 workflow.py:2176 DEBUG Workflow finished in 0.115 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:09 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:09 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:09 workflow.py:2401 DEBUG Update check not due 20:42:09 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:09 workflow.py:2176 DEBUG Workflow finished in 0.006 seconds. [ERROR: alfred.workflow.action.script] 20:42:12 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:12 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:12 workflow.py:2401 DEBUG Update check not due 20:42:12 flix.py:544 DEBUG Activated Luxembourg 20:42:12 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:12 workflow.py:2176 DEBUG Workflow finished in 0.106 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:12 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:12 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:12 workflow.py:2401 DEBUG Update check not due 20:42:12 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:12 workflow.py:2176 DEBUG Workflow finished in 0.008 seconds. [ERROR: alfred.workflow.action.script] 20:42:16 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:16 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:16 workflow.py:2401 DEBUG Update check not due 20:42:16 flix.py:544 DEBUG Activated Netherlands 20:42:16 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:16 workflow.py:2176 DEBUG Workflow finished in 0.116 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:17 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:17 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:17 workflow.py:2401 DEBUG Update check not due 20:42:17 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:17 workflow.py:2176 DEBUG Workflow finished in 0.006 seconds. [ERROR: alfred.workflow.action.script] 20:42:22 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:22 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:22 workflow.py:2401 DEBUG Update check not due 20:42:22 flix.py:544 DEBUG Activated Sweden 20:42:23 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:23 workflow.py:2176 DEBUG Workflow finished in 0.108 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:23 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:23 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:23 workflow.py:2401 DEBUG Update check not due 20:42:23 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:23 workflow.py:2176 DEBUG Workflow finished in 0.006 seconds. [ERROR: alfred.workflow.action.script] 20:42:28 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:28 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:28 workflow.py:2401 DEBUG Update check not due 20:42:28 flix.py:544 DEBUG Activated Switzerland 20:42:28 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:28 workflow.py:2176 DEBUG Workflow finished in 0.108 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:28 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:28 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:28 workflow.py:2401 DEBUG Update check not due 20:42:28 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:28 workflow.py:2176 DEBUG Workflow finished in 0.007 seconds. [ERROR: alfred.workflow.action.script] 20:42:30 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:30 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:30 workflow.py:2401 DEBUG Update check not due 20:42:30 flix.py:544 DEBUG Activated UK 20:42:30 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:30 workflow.py:2176 DEBUG Workflow finished in 0.109 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:30 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:30 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:30 workflow.py:2401 DEBUG Update check not due 20:42:30 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:30 workflow.py:2176 DEBUG Workflow finished in 0.007 seconds. [ERROR: alfred.workflow.action.script] 20:42:32 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:32 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:32 workflow.py:2401 DEBUG Update check not due 20:42:32 flix.py:544 DEBUG Activated USA 20:42:32 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:32 workflow.py:2176 DEBUG Workflow finished in 0.107 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:32 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:32 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:32 workflow.py:2401 DEBUG Update check not due 20:42:32 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:42:32 workflow.py:2176 DEBUG Workflow finished in 0.010 seconds. [STDERR: alfred.workflow.input.scriptfilter] 20:42:56 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:56 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:56 workflow.py:2401 DEBUG Update check not due 20:42:56 flix.py:364 DEBUG Searching flixsearch.io for `n` ... 20:42:56 flix.py:312 DEBUG New search for `n`... 20:42:56 flix.py:185 DEBUG Retrieving URL `https://flixsearch.io/search/n` ... 20:42:57 flix.py:195 DEBUG URL retrieved in 0.607 seconds 20:42:57 flix.py:208 DEBUG 9 `card` elems found 20:42:57 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/ed-edd-n-eddy-1999">\n <img class="responsive-img activator" src="http://cdn0.nflximg.net/images/9296/11659296.jpg"/>\n\n \n </a>\n </div>\n\n \n \n <div class="card-action flags">\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/argentina.png" title="Argentina"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/brazil.png" title="Brazil"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/colombia.png" title="Colombia"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/mexico.png" title="Mexico"/>\n </div>\n </div>\n\n \n</div> 20:42:57 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/cowgirls-n-angels-2012">\n <img class="responsive-img activator" src="http://cdn0.nflximg.net/images/1110/10851110.jpg"/>\n\n \n </a>\n </div>\n\n \n \n <div class="card-action flags">\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/usa.png" title="USA"/>\n </div>\n </div>\n\n \n</div> 20:42:57 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/boyz-n-the-hood-1992">\n <img class="responsive-img activator" src="http://cdn1.nflximg.net/images/7581/9697581.jpg"/>\n\n \n </a>\n </div>\n\n \n \n <div class="card-action flags">\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/denmark.png" title="Denmark"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/finland.png" title="Finland"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/norway.png" title="Norway"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/sweden.png" title="Sweden"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/switzerland.png" title="Switzerland"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/italy.png" title="Italy"/>\n </div>\n </div>\n\n \n</div> 20:42:57 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/brendon-burns-yknow-love-n-god-n-metaphysics-n-st-a-song-for-bean-2012">\n <img class="responsive-im [STDERR: alfred.workflow.input.scriptfilter] 20:42:58 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:42:58 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:42:58 workflow.py:2401 DEBUG Update check not due 20:42:58 flix.py:364 DEBUG Searching flixsearch.io for `north` ... 20:42:58 flix.py:312 DEBUG New search for `north`... 20:42:58 flix.py:185 DEBUG Retrieving URL `https://flixsearch.io/search/north` ... 20:42:58 flix.py:195 DEBUG URL retrieved in 0.533 seconds 20:42:58 flix.py:208 DEBUG 9 `card` elems found 20:42:58 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/north">\n <img class="responsive-img activator" src="http://cdn0.nflximg.net/images/9924/23699924.jpg"/>\n\n \n </a>\n </div>\n\n \n \n <div class="card-action flags">\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/austria.png" title="Austria"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/germany.png" title="Germany"/>\n </div>\n </div>\n\n \n</div> 20:42:58 flix.py:249 ERROR No content box found : <div class="card">\n\n <div class="card-image">\n <a href="https://flixsearch.io/movie/north-south-2004">\n <img class="responsive-img activator" src="http://cdn1.nflximg.net/images/9195/23149195.jpg"/>\n\n \n </a>\n </div>\n\n \n \n <div class="card-action flags">\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/australia.png" title="Australia"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/austria.png" title="Austria"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/belgium.png" title="Belgium"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/canada.png" title="Canada"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/france.png" title="France"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/germany.png" title="Germany"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/ireland.png" title="Ireland"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/luxembourg.png" title="Luxembourg"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/new-zealand.png" title="New Zealand"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/switzerland.png" title="Switzerland"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/uk.png" title="UK"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/usa.png" title="USA"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/portugal.png" title="Portugal"/>\n </div>\n <div class="flag">\n <img class="flag-post flag-1" src="/assets/images/flags/italy.png" t [STDERR: alfred.workflow.input.scriptfilter] 20:47:00 workflow.py:2140 DEBUG Workflow version : 1.1.0 20:47:00 workflow.py:1543 DEBUG Reading settings from `/Users/katie/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-flixsearch/settings.json` ... 20:47:00 workflow.py:2401 DEBUG Update check not due 20:47:00 flix.py:364 DEBUG Searching flixsearch.io for `north` ... 20:47:00 workflow.py:1778 DEBUG Loading cached data from : /Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-flixsearch/results-8d8d1437907bca79900ac5f0ea1f5c73.cpickle 20:47:00 flix.py:366 DEBUG 0 total results for `north` 20:47:00 flix.py:369 DEBUG 0 results in user's countries for `north` 20:47:00 workflow.py:2331 DEBUG Set last run version : 1.1.0 20:47:00 workflow.py:2176 DEBUG Workflow finished in 0.007 seconds.
  25. Thank you!! That was pretty easy, thanks to your clear instructions, and it's super helpful! I hated waiting to connect to different servers to check if something was available on Netflix. I've duplicated the workflow and changed keywords so I can check both countries Do you know what other country codes are supported? I tried to use UK or GB based on this wikipedia list: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 but it doesn't work. By the way, seeing the different images is awesome! Thanks for the update!!
×
×
  • Create New...