Jump to content

facetheheat

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by facetheheat

  1. Hi! I've got a problem with another workflow, based on this helper.

    Can you help me?

     

    I've moved (for test) workflow from /Users/pavel/Dropbox/Приложения/ to /Users/pavel/Dropbox

    and the workflow started working.

     

    There is the error log:

    Starting debug for 'Homebrew for Alfred'

    [ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last):

      File "brew.py", line 148, in <module>

        wf = Workflow()

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 825, in __init__

        self._info_plist = self.workflowfile('info.plist')

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 1125, in workflowfile

        return os.path.join(self.workflowdir, filename)

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 1081, in workflowdir

        if os.path.exists(os.path.join(dirpath, 'info.plist')):

      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 80, in join

        path += '/' + b

    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 21: ordinal not in range(128)

  2. Hi! I've got error, I think the problem in path with name in cyrillic symbols.

    >/Users/pavel/Dropbox/Приложения/

     

    there are a debug messages from homebrew-for-alfred.alfredworkflow:

     

     

    Starting debug for 'Homebrew for Alfred'

    [ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last):

      File "brew.py", line 148, in <module>

        wf = Workflow()

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 825, in __init__

        self._info_plist = self.workflowfile('info.plist')

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 1125, in workflowfile

        return os.path.join(self.workflowdir, filename)

      File "/Users/pavel/Dropbox/Приложения/Alfred/Alfred.alfredpreferences/workflows/user.workflow.08964E06-AFFB-45F2-AA38-CFEC96D9534C/workflow/workflow.py", line 1081, in workflowdir

        if os.path.exists(os.path.join(dirpath, 'info.plist')):

      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 80, in join

        path += '/' + b

    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 21: ordinal not in range(128)

  3. Hello, community!


     


    I've created a new workflow to help me share smb links.


    - convert link like \\server\path to smb://server/path and other unix style,


    - convert unix paths to windows style,


    - automatically copied all links into clipboard.


     


     


    DOWNLOAD HERE


     


     

     

    For example:

     

    Windows user sent me the shared path like:



    \\server\shared\path\


     

    using-05.png

     

     

     

     

    On my Mac with Alfred, I've convert it in a seconds to unix-style, like:



    //server/shared/path/
    afp://server/shared/path/
    smb://server/shared/path/
    cifs://server/shared/path/
    \\server\shared\path\

×
×
  • Create New...