Jump to content

Sebastian Daza

Member
  • Posts

    54
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Sebastian Daza

  1. Hello, Tokenizer is not working with High Sierra. [2018-06-22 08:08:20][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- alfred (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./feedback.rb:5:in `<main>' Any suggestions on how to fix it? Thank you!
  2. Hello, I want to create a simple folder action: 1. I select a folder 2. cd that path 3. run a command I have problems with paths with spaces. This doesn't work: cd {query} ls Any ideas on how to get a right path when it has spaces. Thanks!
  3. I just used edu.uo.texshop.tex, and now it is working, thanks!
  4. I get this using the Alfred Metadata tool: Internal File Metadata ====================== Display Name: ODDv1.tex Alt Names: File Type: edu.uo.texshop.tex Comments: Keywords: Last Used: 2016-11-13 21:09:37 +0000 Raw mdls File Metadata ====================== _kMDItemOwnerUserID = 501 kMDItemAuthors = ( "Sebastian Daza" ) kMDItemContentCreationDate = 2012-09-10 22:14:33 +0000 kMDItemContentModificationDate = 2015-05-12 13:24:56 +0000 kMDItemContentType = "edu.uo.texshop.tex" kMDItemContentTypeTree = ( "edu.uo.texshop.tex", "public.data", "public.plain-text", "public.item", "public.content", "org.tug.tex", "public.text", "edu.uo.texshop.tex" ) kMDItemDateAdded = 2016-09-08 15:29:27 +0000 kMDItemDisplayName = "ODDv1.tex" kMDItemFSContentChangeDate = 2015-05-12 13:24:56 +0000 kMDItemFSCreationDate = 2012-09-10 22:14:33 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "ODDv1.tex" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 13626 kMDItemFSTypeCode = "" kMDItemKind = "TeX File" kMDItemLastUsedDate = 2016-11-13 21:09:37 +0000 kMDItemLogicalSize = 13626 kMDItemPhysicalSize = 16384 kMDItemTitle = "Model Description % \thanks{Version: \today." kMDItemUseCount = 1 kMDItemUsedDates = ( "2016-11-13 06:00:00 +0000" )
  5. Hello, I want to create a basic workflow (I am a beginner): 1. Select a folder, and run "make" 2. To show as output if the command worked (e.g., there is a makefile in the folder), otherwise to say that the folder didn't have any make file. So, I have a file action (in this case a folder), and then a script (/bin/bash) with: cd "{query}" make But, nothing happens. Any ideas and suggestions on how to do this? Thanks so much! ![](https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2016-09-16_08.36.3.png)
  6. Hello, I am trying to filter latex files (.tex) using Alfred 3, but it doesn't work: Any ideas on how to solve it? Thanks.
  7. Hello, This workflow isn't working for me. I only get "updating from packal", if I force updating I get this: Starting debug for 'Packal Search' [2016-06-02 08:21:51][ERROR: action.script] 08:21:51 workflow.py:1972 DEBUG Workflow version : 1.3.0 08:21:51 packal.py:152 DEBUG 0 workflows in cache 08:21:51 packal.py:369 DEBUG Updating workflow lists... 08:21:51 packal.py:374 DEBUG update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9959172E-AD73-46A8-9A1F-997F0B53877C/update_workflows.py'] 08:21:51 background.py:188 DEBUG Command arguments cached to `/Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-packal-search/update.argcache` 08:21:51 background.py:192 DEBUG Calling [u'/usr/bin/python', '/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9959172E-AD73-46A8-9A1F-997F0B53877C/workflow/background.pyc', u'update'] ... 08:21:51 workflow.py:1972 DEBUG Workflow version : 1.3.0 08:21:51 workflow.py:2008 DEBUG Workflow finished in 0.058 seconds. 08:21:51 workflow.py:2008 DEBUG Workflow finished in 0.058 seconds. 08:21:51 background.py:197 DEBUG Executing task `update` in background... 08:21:51 workflow.py:1387 DEBUG Reading settings from `/Users/sdaza/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred-packal-search/settings.json` ... 08:21:51 workflow.py:2163 DEBUG Set last run version : 1.3.0 08:21:51 workflow.py:2008 DEBUG Workflow finished in 0.233 seconds.
  8. Hello, I get this error when I try to update packages (Alfred 3). Any ideas about what the problem could be? Starting debug for 'Packal Updater' [2016-06-02 08:09:02][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: simplexml_load_file(): ../user.workflow.D56D8375-D054-4975-BEEB-35F2134FB4DD/packal/package.xml:3: parser error : xmlParseEntityRef: no name in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 Warning: simplexml_load_file(): <name>Files & Folders</name> in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 Warning: simplexml_load_file(): ^ in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 <?xml version="1.0"?> <items><item uid="updates" arg="updates" valid="no" autocomplete="update"><arg>updates</arg><title>Updates available</title><subtitle>There are 12 updates pending.</subtitle><icon></icon></item><item arg="manifest-update" valid="yes"><arg>manifest-update</arg><title>The manifest is up to date.</title><subtitle>Last updated over a week ago.</subtitle><icon>assets/icons/task-complete.png</icon></item><item arg="" valid="no"><arg></arg><title>GUI Not Available'</title><subtitle>A GUI to configure and operate this workflow is available if you have OS X 10.9 or 10.10.</subtitle><icon>assets/icons/applications-education-miscellaneous.png</icon></item><item uid="blacklist" arg="blacklist" valid="no" autocomplete="blacklist"><arg>blacklist</arg><title>Manage Blacklist</title><subtitle>Configure which workflows Packal updates</subtitle><icon>assets/icons/flag-black.png</icon></item><item arg="" valid="no"><arg></arg><title>Informational</title><subtitle>There are 595 workflows in the manifest, of which, you have 101 installed, and you wrote 0 of those.</subtitle><icon>assets/icons/help-about.png</icon></item><item arg="setup" valid="no" autocomplete="setup"><arg>setup</arg><title>Configure</title><subtitle>Make this workflow work best for you.</subtitle><icon>assets/icons/applications-system.png</icon></item><item arg="install-cron-script" valid="yes"><arg>install-cron-script</arg><title>Install Alfred Cron Script</title><subtitle>Make Alfred Cron check for updates for you.</subtitle><icon>..//icons/timer.png</icon></item></items> [2016-06-02 08:09:15][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: simplexml_load_file(): ../user.workflow.D56D8375-D054-4975-BEEB-35F2134FB4DD/packal/package.xml:3: parser error : xmlParseEntityRef: no name in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 Warning: simplexml_load_file(): <name>Files & Folders</name> in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 Warning: simplexml_load_file(): ^ in /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D9B6CF9-3CA9-41B1-8984-4B08D4AA14EB/script.php on line 156 <?xml version="1.0"?> <items><item uid="updates" arg="updates" valid="no" autocomplete="update"><arg>updates</arg><title>Updates available</title><subtitle>There are 12 updates pending.</subtitle><icon></icon></item><item arg="manifest-update" valid="yes"><arg>manifest-update</arg><title>The manifest is up to date.</title><subtitle>Last updated over a week ago.</subtitle><icon>assets/icons/task-complete.png</icon></item><item arg="" valid="no"><arg></arg><title>GUI Not Available'</title><subtitle>A GUI to configure and operate this workflow is available if you have OS X 10.9 or 10.10.</subtitle><icon>assets/icons/applications-education-miscellaneous.png</icon></item><item uid="blacklist" arg="blacklist" valid="no" autocomplete="blacklist"><arg>blacklist</arg><title>Manage Blacklist</title><subtitle>Configure which workflows Packal updates</subtitle><icon>assets/icons/flag-black.png</icon></item><item arg="" valid="no"><arg></arg><title>Informational</title><subtitle>There are 595 workflows in the manifest, of which, you have 101 installed, and you wrote 0 of those.</subtitle><icon>assets/icons/help-about.png</icon></item><item arg="setup" valid="no" autocomplete="setup"><arg>setup</arg><title>Configure</title><subtitle>Make this workflow work best for you.</subtitle><icon>assets/icons/applications-system.png</icon></item><item arg="install-cron-script" valid="yes"><arg>install-cron-script</arg><title>Install Alfred Cron Script</title><subtitle>Make Alfred Cron check for updates for you.</subtitle><icon>..//icons/timer.png</icon></item></items>
  9. Thanks, Carlos. It was a problem related to Spotlight
  10. It is weird, now it is working, but I don't get the last archive I downloaded. I am using Yosemite (version with the last updates) and I have re-installed rec items several times. No bug messages.
  11. I have a problem with version 4.1 and Yosemite. When I am looking for recent downloads, the script doesn't show anything. This only happens with recent downloads. This is the process that keeps running without any result: osascript -e run script "cat_recent.scpt" with parameters {"||downloads"} Thanks!
  12. Solved! It had to do with my configuration for file action on Alfred (tab, not the right arrow).
  13. Hello, The auto-complete with the tab doesn't work. I am using the v2 beta workflow and Yosemite. My email client is chrome-gmail. Any ideas about what is wrong? Thanks!
  14. Same problem here... it creates the same keychain `com.fniephaus.gmail` , over and over. Thanks!
  15. Hello, For some weird reason, I cannot get emails from my inbox, but I get starred or unread emails. Any ideas? [sTDERR: alfred.workflow.input.scriptfilter] 10:17:12 workflow.py:2053 DEBUG Update check not due 10:17:12 workflow.py:1544 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.gmail/__workflow_update_status.cpickle 10:17:12 background.py:180 DEBUG Command arguments cached to `/Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.gmail/gmail_refresh.argcache` 10:17:12 background.py:184 DEBUG Calling [u'/usr/bin/python', '/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/workflow/background.pyc', 'gmail_refresh'] ... 10:17:12 workflow.py:1907 DEBUG Workflow finished in 0.002 seconds. 10:17:12 workflow.py:1907 DEBUG Workflow finished in 0.003 seconds. 10:17:12 background.py:189 DEBUG Executing task `gmail_refresh` in background... [sTDERR: alfred.workflow.input.scriptfilter] 10:17:14 workflow.py:2053 DEBUG Update check not due 10:17:14 workflow.py:1544 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.gmail/__workflow_update_status.cpickle [sTDERR: alfred.workflow.input.scriptfilter] 10:17:14 workflow.py:2053 DEBUG Update check not due 10:17:14 workflow.py:1544 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.gmail/__workflow_update_status.cpickle [ERROR: alfred.workflow.input.scriptfilter] Code 1: 10:17:15 workflow.py:2053 DEBUG Update check not due 10:17:15 workflow.py:1544 DEBUG Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.gmail/__workflow_update_status.cpickle 10:17:15 workflow.py:2154 DEBUG Got password : com.fniephaus.gmail:gmail_credentials Traceback (most recent call last): File "gmail.py", line 254, in <module> main() File "gmail.py", line 126, in main refresh_cache([label]) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/gmail_refresh.py", line 128, in refresh_cache label.lower(), get_list(http, gmail_service, label)) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/gmail_refresh.py", line 95, in get_list batch.execute(http=http) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/oauth2client/util.py", line 132, in positional_wrapper return wrapped(*args, **kwargs) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/apiclient/http.py", line 1330, in execute callback(request_id, response, exception) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/gmail_refresh.py", line 89, in wrapper list_threads(label, request_id, response, exception) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/gmail_refresh.py", line 59, in list_threads 'value']) File "/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CCF8141A-7734-4398-AA6C-A541DF2E19BE/gmail_refresh.py", line 72, in get_date return strftime("%m/%d/%Y %H:%M", parsedate(date_str)) TypeError: argument must be 9-item sequence, not None
  16. I have been trying to update the dataset cache, but I get this error: [ERROR: alfred.workflow.action.script] 07:45:11 workflow.py:1263 ERROR [Errno 2] No such file or directory: u'missing value' Traceback (most recent call last): File "/Users/sdaza/Dropbox/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.89B1EB42-50D8-44BC-A99F-0FCAA2F6D384/workflow/workflow.py", line 1261, in run func(self) File "zotquery.py", line 1502, in main print z_cacher.cache() File "zotquery.py", line 306, in cache if self.setup(): File "zotquery.py", line 195, in setup shutil.copyfile(self.zot_db, self.clone_db) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: u'missing value' Any ideas?
  17. I get this error when I try to check recent/current timers using Mavericks: [ERROR: alfred.workflow.input.scriptfilter] Code 0: ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/recent_timers: No such file or directory ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_timers: No such file or directory ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_autotimers: No such file or directory ls: /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/carlosnz.eggtimer2/running_alarms: No such file or directory My eggwd is: /Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3C1BF412-79C9-4EC6-98FB-C17710863FA4 How could I fix this? Thanks!
  18. Apparently I got this with version 5.1.1. I used your workflow without any problems before installing the new version. http://dl.getdropbox.com/u/18116710/spot_mini_debug.tgz
×
×
  • Create New...