Jump to content

greedist

Member
  • Posts

    49
  • Joined

  • Last visited

Posts posted by greedist

  1. 50 minutes ago, vitor said:

    You’ll need to go into each Run Script, find each instance of screencapture, and add -u right after it, so it becomes screencapture -u <WHATEVER ELSE IS THERE>.


    That has two consequences:

    1. Files are only saved after the preview disappears.
    2. Files are saved with the macOS default settings.

     

     

    Thank you for your answer 🙂

     

    Is the instance you mentioned in the picture below?

     

    image.thumb.png.4bfeba358153c1a7e07d46d9727a5496.png

     

  2. 1 hour ago, vitor said:

    Being searchable is functionality that Figma itself would have to provide. Because it is an Electron app, it is unlikely it provides something like that. Unless you’d just want find menu bar items, in which case @Benzi’s Menu Bar Search workflow should do it.

     

     

    Thank you for letting me know 😊

    I just found a workflow using figma API on GitHub but it doesn't seem to work..

     

    https://github.com/jonrohan/alfred-figma

  3. 16 minutes ago, vitor said:

    Do the change mentioned above:

     

     

    9kq1Ysq.png

     

    Two more tips, from a glance:

    • Always prefer with input as argv instead of with input as {query}. There is a reason that’s the default, it doesn’t require custom escaping. In the Script box you use "${1}" instead of "{query}".
    • The python3 … || /usr/bin/python3 … complicates the code but doesn’t offer any benefit. The second part (/usr/bin/python3) will never trigger because /usr/bin/python3 is already matched with python3.

     

     

    Thank you for your nice advice 😃

  4. Currently, the results are supposed to be printed by pressing the space bar, but I want the results to be printed right away without pressing the space bar.

     

    How do I modify it?

     

    Thank you in advance 🙏

    Workflow Download

     

    import sys
    sys.path.append("lib")
    import re
    from workflow import Workflow3
    from hanspell_break import check
    
    def get_spell_check_data(sent):
        result = check(sent)
        r = result.as_dict()
        return r
    
    def main(wf):
        args = wf.args[0]
    
        # def wrapper():
        #     return get_spell_check_data(args)
    
        # res_json = wf.cached_data(args, wrapper, max_age=600)
        end_mark = re.search('\s+$', args)
        if end_mark:
            res_json = get_spell_check_data(args)
            out = f"{res_json['checked']}".rstrip()
    
            wf.add_item(
                title=out,
                subtitle="Press Enter to paste the results",
                arg=out,
                autocomplete=out,
                valid=True)
    
            wf.add_item(title=args,
                    subtitle="Copy original text",
                    autocomplete=args,
                    arg=args,
                    valid=True)
    
            wf.send_feedback()
        else:
            wf.logger.debug("args: %s" % args)
            wf.add_item(title=u'Press the spacebar to print the result', valid=False)
            wf.send_feedback()
    
    if __name__ == '__main__':
        wf = Workflow3()
        sys.exit(wf.run(main))

     

  5. I'd like to know how to modify the code in order to place the currently entered search word at the bottom of the autocomplete list.

    Thank you in advance! 🙏

     

    36292496_2021-12-246_03_06.png.bae419a798cfa2ef618e2f2bc53412ab.png

     

     

    import sys
    from workflow import web, Workflow
    
    def get_dictionary_data(word):
        url = 'https://ac-dict.naver.com/koko/ac'
        params = dict(frm='stdkrdic', oe='utf8', m=0, r=1, st=111, r_lt=111, q=word)
        r = web.get(url, params)
        r.raise_for_status()
        return r.json()
    
    def main(wf):
        import cgi;
        args = wf.args[0]
        wf.add_item(title = 'Search Naver Krdic for \'%s\'' % args,
                    autocomplete=args,
                    arg=args,
                    valid=True)
        def wrapper():
            return get_dictionary_data(args)
        res_json = wf.cached_data("kr_%s" % args, wrapper, max_age=600)
        for items in res_json['items']:
            for ltxt in items:
                if len(ltxt) > 0:
                    txt = ltxt[0][0]
                    wf.add_item(title = u"%s" % txt ,
                                subtitle = 'Search Naver Krdic for \'%s\'' % txt,
                                autocomplete=txt,
                                arg=txt,
                                valid=True);
        wf.send_feedback()
    if __name__ == '__main__':
        wf = Workflow()
        sys.exit(wf.run(main))

     

  6. 12 minutes ago, vitor said:

    @greedist Please provide all requested information. You only did one of the points.

     

    Also, do you have English results that the Workflow correctly returns, or are you just assuming it doesn’t return Korean? It looks more like your cache may be empty and not returning anything.

     

    Do all steps in this earlier post. If you skip any, you’ll have an incomplete setup.

    I did all the processes you mentioned, but I can only search in English and not in Korean.

     

    [21:27:02.528] Google Drive[Script Filter] Queuing argument 'b'

    [21:27:02.729] Google Drive[Script Filter] Queuing argument 'bl'

    [21:27:02.897] Google Drive[Script Filter] Script with argv 'bl' finished

    [21:27:02.900] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"file","title":"BlankScreen.saver","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Blog","type":"file","title":"Blog","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Blog","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Blog","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Blog"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"file","title":"BlankScreen.nib","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"file","title":"BlankScreen","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen"}]}

    [21:27:03.305] Google Drive[Script Filter] Queuing argument 'bla'

    [21:27:03.496] Google Drive[Script Filter] Queuing argument 'blac'

    [21:27:03.545] Google Drive[Script Filter] Script with argv 'bla' finished

    [21:27:03.555] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"file","title":"BlankScreen.saver","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"file","title":"BlankScreen.nib","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"file","title":"BlankScreen","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen"}]}

    [21:27:03.652] Google Drive[Script Filter] Queuing argument 'black'

    [21:27:03.895] Google Drive[Script Filter] Script with argv 'black' finished

    [21:27:03.909] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black"}]}

    [21:27:13.408] Google Drive[Script Filter] Queuing argument 'blac'

    [21:27:13.575] Google Drive[Script Filter] Queuing argument 'bla'

    [21:27:13.766] Google Drive[Script Filter] Queuing argument 'bl'

    [21:27:13.935] Google Drive[Script Filter] Queuing argument 'b'

    [21:27:14.179] Google Drive[Script Filter] Script with argv 'b' finished

    [21:27:14.196] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Books","type":"file","title":"Books","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Books","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Books","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Books"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19(블로그).webarchive","type":"file","title":"제주서쪽한달살기 19(블로그).webarchive","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19(블로그).webarchive","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19(블로그).webarchive","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19(블로그).webarchive"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business","type":"file","title":"Business","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","type":"file","title":"a3fad3e05c1b481979bd1336d9700f44.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","type":"file","title":"byb_20151116_01.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","type":"file","title":"573eeca8489a4ac286bea953b7e3146c.jpg","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","type":"file","title":"Menu Bar Layout.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","type":"file","title":"png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","type":"file","title":"B-99-P.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","type":"file","title":"P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","type":"file","title":"P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","type":"file","title":"P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","type":"file","title":"P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","type":"file","title":"P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","type":"file","title":"P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","type":"file","title":"P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG"},{"uid":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","type":"file","title":"P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","subtitle":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","icon":{"path":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/ 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG"}]}

    [21:27:19.791] Google Drive[Script Filter] Queuing argument ''

    [21:27:19.913] Google Drive[Script Filter] Queuing argument ''

    [21:27:20.039] Google Drive[Script Filter] Queuing argument ''

    [21:27:20.162] Google Drive[Script Filter] Queuing argument ''

    [21:27:20.175] Google Drive[Script Filter] Queuing argument '주미'

    [21:27:20.272] Google Drive[Script Filter] Queuing argument '주민'

    [21:27:20.480] Google Drive[Script Filter] Queuing argument '주민ㄷ'

    [21:27:20.505] Google Drive[Script Filter] Script with argv '주민' finished

    [21:27:20.516] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [21:27:20.600] Google Drive[Script Filter] Queuing argument '주민드'

    [21:27:20.676] Google Drive[Script Filter] Queuing argument '주민등'

    [21:27:20.781] Google Drive[Script Filter] Queuing argument '주민등ㄹ'

    [21:27:20.867] Google Drive[Script Filter] Queuing argument '주민등로'

    [21:27:20.961] Google Drive[Script Filter] Queuing argument '주민등록'

    [21:27:21.032] Google Drive[Script Filter] Queuing argument '주민등록ㅈ'

    [21:27:21.131] Google Drive[Script Filter] Queuing argument '주민등록즈'

    [21:27:21.242] Google Drive[Script Filter] Queuing argument '주민등록증'

    [21:27:21.493] Google Drive[Script Filter] Script with argv '주민등록증' finished

    [21:27:21.504] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

  7. 14 hours ago, vitor said:

    The problem likely lies somewhere else. I would need the information asked in the second post, plus access to your cache (Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/cache.db) to test, but you may not be comfortable giving that.

    Thank you for your answer 🙏

    As you said, I tried debugging and the plot is blessing. 

     

    [14:41:53.323] Logging Stopped.

    [14:45:51.108] Logging Started...

    [14:46:01.603] Google Drive[Script Filter] Queuing argument ''

    [14:46:01.612] Google Drive[Script Filter] Script with argv '' finished

    [14:46:01.615] Google Drive[Script Filter] {"items": [

          {

            "title": "Install Google Drive launchd service",

            "subtitle": "Periodically rebuilds the cache",

            "arg": "install"

          },

        ]}

    [14:46:02.656] Google Drive[Script Filter] Processing complete

    [14:46:02.657] Google Drive[Script Filter] Passing output 'install' to Run Script

    [14:46:02.713] Google Drive[Run Script] Processing complete

    [14:46:02.714] Google Drive[Run Script] Passing output 'BUILD_CACHE' to Conditional

    [14:46:02.721] Google Drive[Conditional] Processing complete

    [14:46:02.723] Google Drive[Conditional] Passing output 'BUILD_CACHE' to Run Script

    [14:46:02.993] Google Drive[External] Processing complete

    [14:46:03.000] Google Drive[External] Passing output '' to Arg and Vars

    [14:46:03.002] Google Drive[Arg and Vars] Processing complete

    [14:46:03.003] Google Drive[Arg and Vars] Passing output '' to Run Script

    [14:46:03.365] ERROR: Google Drive[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step': database is locked (SQLite3::BusyException)

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:107:in `loop'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:107:in `each'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:156:in `to_a'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:156:in `block in execute'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:95:in `prepare'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:137:in `execute'

    from /Users/greedist/Library/Mobile Documents/com~apple~CloudDocs/Sync/Alfred/Alfred.alfredpreferences/workflows/user.workflow.673473EA-63A0-43C5-B741-438A775AED90/rebuild_cache:35:in `<main>'

    [14:46:03.380] Google Drive[Run Script] Processing complete

    [14:46:03.382] Google Drive[Run Script] Passing output '' to Run Script

    [14:46:03.384] Google Drive[Run Script] Passing output '' to Conditional

    [14:46:03.385] Google Drive[Conditional] Processing complete

    [14:46:03.387] Google Drive[Conditional] Passing output '' to Conditional

    [14:46:06.044] Google Drive[Run Script] Processing complete

    [14:46:06.055] Google Drive[Run Script] Passing output '' to Run Script

    [14:46:06.056] Google Drive[Run Script] Passing output '' to Conditional

    [14:46:06.057] Google Drive[Conditional] Processing complete

    [14:46:06.057] Google Drive[Conditional] Passing output '' to Conditional

    [14:46:06.058] Google Drive[Conditional] Processing complete

    [14:46:06.059] Google Drive[Conditional] Passing output '' to Post Notification

    [14:46:09.549] Google Drive[Script Filter] Queuing argument ''

    [14:46:09.982] Google Drive[Script Filter] Script with argv '' finished

    [14:46:09.990] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [14:46:10.214] Google Drive[Script Filter] Queuing argument ''

    [14:46:10.458] Google Drive[Script Filter] Script with argv '' finished

    [14:46:10.469] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [14:46:10.743] Google Drive[Script Filter] Queuing argument ''

    [14:46:10.987] Google Drive[Script Filter] Script with argv '' finished

    [14:46:10.999] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [14:46:11.014] Google Drive[Script Filter] Queuing argument ''

    [14:46:11.037] Google Drive[Script Filter] Queuing argument '네트'

    [14:46:11.218] Google Drive[Script Filter] Script with argv '네트' finished

    [14:46:11.230] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [14:46:11.263] Google Drive[Script Filter] Queuing argument '네틍'

    [14:46:11.396] Google Drive[Script Filter] Queuing argument '네트'

    [14:46:11.420] Google Drive[Script Filter] Queuing argument '네트우'

    [14:46:11.530] Google Drive[Script Filter] Queuing argument '네트워'

    [14:46:11.618] Google Drive[Script Filter] Queuing argument '네트웤'

    [14:46:11.713] Google Drive[Script Filter] Queuing argument '네트워'

    [14:46:11.738] Google Drive[Script Filter] Queuing argument '네트워크'

    [14:46:11.914] Google Drive[Script Filter] Script with argv '네트워크' finished

    [14:46:11.927] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

    [14:46:17.015] Google Drive[Script Filter] Queuing argument '네트워'

    [14:46:17.139] Google Drive[Script Filter] Queuing argument '네트'

    [14:46:17.274] Google Drive[Script Filter] Queuing argument ''

    [14:46:18.033] Google Drive[Script Filter] Queuing argument ''

    [14:46:18.200] Google Drive[Script Filter] Queuing argument ''

    [14:46:18.324] Google Drive[Script Filter] Queuing argument ''

    [14:46:18.447] Google Drive[Script Filter] Queuing argument ''

    [14:46:18.475] Google Drive[Script Filter] Queuing argument '내여'

    [14:46:18.582] Google Drive[Script Filter] Queuing argument '내역'

    [14:46:18.820] Google Drive[Script Filter] Script with argv '내역' finished

    [14:46:18.839] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]}

×
×
  • Create New...