Jump to content

rudders

Member
  • Content Count

    5
  • Joined

  • Last visited

About rudders

  • Rank
    Newbie

Contact Methods

  • Twitter
    @_rudders

Profile Information

  • Location
    Sydney, Australia
  1. And the result.. sorry to be a pain.... user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1 rudders$ python mailto.py delcache Traceback (most recent call last): File "mailto.py", line 62, in <module> from contacts import get_contacts, CACHEPATH File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/contacts.py", line 29, in <module> log = logger(u'contacts') File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/log.py", line 25, in logger s = Settings() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/settings.py", line 54, in __init__ self._load() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/settings.py", line 59, in _load for key, value in json.load(file).items(): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load **kw) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 368, in decode raise ValueError(errmsg("Extra data", s, end, len(s))) ValueError: Extra data: line 10 column 2 - line 10 column 3 (char 219 - 220)
  2. Thanks for the prompt reply. Was very promising as it let me choose my email client then it started crashing again. I deleted the workflow folder and reinstalled by still get the following errors. user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1 rudders$ python search.py Tony Traceback (most recent call last): File "search.py", line 26, in <module> from contacts import get_contacts File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/contacts.py", line 29, in <module> log = logger(u'contacts') File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/log.py", line 25, in logger s = Settings() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/settings.py", line 54, in __init__ self._load() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3F86F54B-AE2A-4851-9D55-60974713E4D1/settings.py", line 59, in _load for key, value in json.load(file).items(): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load **kw) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 368, in decode raise ValueError(errmsg("Extra data", s, end, len(s)))
  3. Is there a simple way to get this workflow to work if the following output is seen from "python mailto.py client" as run from the workflow directory? Hoping to be able to associate it with "Airmail beta" btw but can't get past this python error. Traceback (most recent call last): File "mailto.py", line 62, in <module> from contacts import get_contacts, CACHEPATH File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.017AEB4B-0277-4ECA-8D83-366E9EE282FF/contacts.py", line 29, in <module> log = logger(u'contacts') File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.017AEB4B-0277-4ECA-8D83-366E9EE282FF/log.py", line 25, in logger s = Settings() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.017AEB4B-0277-4ECA-8D83-366E9EE282FF/settings.py", line 54, in __init__ self._load() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.017AEB4B-0277-4ECA-8D83-366E9EE282FF/settings.py", line 65, in _load self['system_default_app'] = self._get_system_default_client() File "/Users/rudders/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.017AEB4B-0277-4ECA-8D83-366E9EE282FF/settings.py", line 81, in _get_system_default_client for h in d['LSHandlers']: KeyError: u'LSHandlers'
  4. Same issue with Mavericks (and Airmail Meta btw). Can open a blank email but can't lookup contacts. I reckon this has to do with the new security features in Mavericks where it asks if you can access contacts and this script goes straight to the SQLite database which I expect is a no-no . . . just a guess . . .
×
×
  • Create New...