Jump to content

Sebastian Daza

Member
  • Posts

    54
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Sebastian Daza

  1. Not working here. I get this: [ERROR: alfred.workflow.input.scriptfilter] Code 1: ./main.rb:27:in `<main>': private method `select' called for nil:NilClass (NoMethodError) [ERROR: alfred.workflow.input.scriptfilter] Code 1: ./main.rb:27:in `<main>': private method `select' called for nil:NilClass (NoMethodError) Thanks!
  2. It doesn't work... [ERROR: alfred.workflow.action.script] Code 0: 12:31:37 workflow.py:921 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache 12:31:37 workflow.py:921 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache 12:31:37 packal.py:138 DEBUG 259 workflows in cache 12:31:37 packal.py:138 DEBUG 259 workflows in cache 12:31:37 packal.py:158 DEBUG 259 workflows found in cache 12:31:37 packal.py:158 DEBUG 259 workflows found in cache 12:31:37 packal.py:314 DEBUG Updating workflow lists... 12:31:37 packal.py:314 DEBUG Updating workflow lists... 12:31:37 packal.py:319 DEBUG update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update'] 12:31:37 packal.py:319 DEBUG update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update'] 12:31:37 background.py:218 DEBUG Executing task `update` in background... 12:31:37 background.py:218 DEBUG Executing task `update` in background...
  3. Since a couple of weeks, the packal workflow in my laptop doesn't load the workflows... This is what I get when I try to update the workflow list: [ERROR: alfred.workflow.action.script] Code 0: 19:50:16 workflow.py:921 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache 19:50:16 workflow.py:921 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache 19:50:16 packal.py:138 DEBUG 259 workflows in cache 19:50:16 packal.py:138 DEBUG 259 workflows in cache 19:50:16 packal.py:158 DEBUG 259 workflows found in cache 19:50:16 packal.py:158 DEBUG 259 workflows found in cache 19:50:16 packal.py:314 DEBUG Updating workflow lists... 19:50:16 packal.py:314 DEBUG Updating workflow lists... 19:50:16 packal.py:319 DEBUG update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update'] 19:50:16 packal.py:319 DEBUG update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update'] 19:50:16 background.py:218 DEBUG Executing task `update` in background... 19:50:16 background.py:218 DEBUG Executing task `update` in background... [INFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.notification' with arg ''
  4. In my case, when you don't have a dictionary for applescript, you can use something like this: tell application "System Events" tell process "Focus Time" tell menu bar 1 tell menu bar item "Timer" click tell menu 1 click menu item "Start" end tell end tell end tell end tell end tell
  5. I would like to create a workflow to control a very basic app: focus time (a pomodoro time tracking). I would like to start, stop, and pause my pomodoros, or change the project/task I am working on. The app has a menu but I don't how to control it using applescript. Do you have any resource to learn how to control an app using applescript and that doesn't have shortcuts for the actions I am interested? Thanks!
  6. Ok, I created the file project.txt, and now it is working... Thanks!
  7. Thanks! It is working now, but I have some problems: 1. I don't see the name of the current project: https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-06-05_07.54.45.png 2. atk:project results in: sorry no match 3. My files seems to be right. https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-06-05_07.53.29.png
  8. Hello, I am using Maverick and Alfred 2.3 I re-installed your workflow, but I still have the same problem. [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) runtime stack: Sorry, I am not an expert using Alfred. I don't know how to compile the go file. Thanks!
  9. Hello, I have the following problem: I can't add any project... Any ideas? Starting debug for 'Alfred Time Keeper' [ERROR: alfred.workflow.action.script] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)
  10. Hello, When I add a new reference to zotero, the cache should update after a query, right? The update doesn't work... the only way is using database caching every time I add a reference. Is that correct?
  11. Now it is working, thanks! I will let you know if I have any other issue.
  12. paths.json: { "database_path": "alias Macintosh HD:Users:sdaza:Library:Application Support:Zotero:Profiles:fkkyo13j.default:zotero:zotero.sqlite", "link-attachments_path": "alias Macintosh HD:Users:sdaza:Library:Application Support:Zotero:", "storage_path": "alias Macintosh HD:Users:sdaza:Library:Application Support:Zotero:Profiles:fkkyo13j.default:zotero:storage:" } z:cache Starting debug for 'ZotQuery' [ERROR: alfred.workflow.action.script] Code 1: 16:39:48 workflow.py:1263 ERROR no such table: items Traceback (most recent call last): File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.89B1EB42-50D8-44BC-A99F-0FCAA2F6D384/workflow/workflow.py", line 1261, in run func(self) File "zotquery.py", line 1500, in main print z_cacher.cache() File "zotquery.py", line 308, in cache json_cache = self.get_cache() File "zotquery.py", line 323, in get_cache basic_info = self.info_query() File "zotquery.py", line 264, in info_query return self.sqlite_get(info_sql) File "zotquery.py", line 236, in sqlite_get _info = cur.execute(_sql) OperationalError: no such table: items
  13. It still doesn't work for me. Configuration seems to be right... I don't know the difference between storage and linked attachment folder... Starting debug for 'ZotQuery' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 16:29:37 workflow.py:1263 ERROR [Errno 2] No such file or directory: u'/Users/sdaza/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/zotero_db.json' Traceback (most recent call last): File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.89B1EB42-50D8-44BC-A99F-0FCAA2F6D384/workflow/workflow.py", line 1261, in run func(self) File "zotquery.py", line 1510, in main z_filter = ZotFilter(_query, _scope) File "zotquery.py", line 723, in __init__ with open(self.wf_obj.datafile("zotero_db.json"), 'r') as file_obj: IOError: [Errno 2] No such file or directory: u'/Users/sdaza/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/zotero_db.json'
  14. Starting debug for 'ZotQuery' [ERROR: alfred.workflow.action.script] Code 1: 15:27:09 workflow.py:1263 ERROR [Errno 2] No such file or directory: u'None/prefs.js' Traceback (most recent call last): File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.89B1EB42-50D8-44BC-A99F-0FCAA2F6D384/workflow/workflow.py", line 1261, in run func(self) File "zotquery.py", line 1496, in main print z_configurator.config() File "zotquery.py", line 520, in config return self.set_zot_paths() File "zotquery.py", line 550, in set_zot_paths if self._get_paths(zf_pref_path)[0]: File "zotquery.py", line 636, in _get_paths with open(prefs, 'r') as file_obj: IOError: [Errno 2] No such file or directory: u'None/prefs.js' 15:27:18 workflow.py:1263 ERROR [Errno 2] No such file or directory: u'/Users/sdaza/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/paths.json' Traceback (most recent call last): File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.89B1EB42-50D8-44BC-A99F-0FCAA2F6D384/workflow/workflow.py", line 1261, in run func(self) File "zotquery.py", line 1490, in main z_cacher = ZotCache(_force, _personal_only) File "zotquery.py", line 170, in __init__ self.zot_db = self.get_path('database_path') File "zotquery.py", line 207, in get_path with open(self.wf_obj.datafile("paths.json"), 'r') as file_obj: IOError: [Errno 2] No such file or directory: u'/Users/sdaza/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/paths.json'
  15. Hello, I followed the configuration directions, but that didn't generate the database files: https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-05-28_14.59.42.png When I set the configuration or I use "database caching" I get: https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-05-28_15.01.9.png I am using Maverick, an standalone version of Zotero (4.0.2), and ZotQuery (8.0.3) Any ideas?
  16. Thanks Carlos. It doesn't work here, I can't specify the public folder (I get stuck there even selecting the right folder).
  17. Hi, Could you add a brief explanation about how to modify/update languages (e.g., add english <-> spanish), remove upper/lower case... Thanks!
  18. Ouch, with your new build I got that it is an incompatible workflow (I am using 2.3 8th May 2014)
  19. I did the change... but I still get the same error. Thanks!
×
×
  • Create New...