Jump to content

itsmevictor

Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by itsmevictor

  1. @xilopaintIndeed, you're right, I posted the wrong error message. The problem remains however. Sorry!

     

    [7:23:37.516 AM] Logging Started...
    [7:23:40.517 AM] Alfred PDF Tools[File Action] Processing complete
    [7:23:40.525 AM] Alfred PDF Tools[File Action] Passing output '(
        "/Users/victorkreitmann/Downloads/6.pdf",
        "/Users/victorkreitmann/Downloads/1.pdf",
        "/Users/victorkreitmann/Downloads/2.pdf",
        "/Users/victorkreitmann/Downloads/3.pdf",
        "/Users/victorkreitmann/Downloads/4.pdf",
        "/Users/victorkreitmann/Downloads/5.pdf"
    )' to Arg and Vars
    [7:23:40.527 AM] Alfred PDF Tools[Arg and Vars] Processing complete
    [7:23:40.528 AM] Alfred PDF Tools[Arg and Vars] Passing output '' to Keyword
    [7:23:42.126 AM] Alfred PDF Tools[Keyword] Processing complete
    [7:23:42.134 AM] Alfred PDF Tools[Keyword] Passing output 'test' to Run Script
    [7:23:42.346 AM] ERROR: Alfred PDF Tools[Run Script] .
    07:23:42 workflow.py:2278 DEBUG    ---------- Alfred PDF Tools (4.2.0) ----------
    07:23:42 workflow.py:1681 DEBUG    reading settings from /Users/victorkreitmann/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json
    07:23:42 workflow.py:1681 DEBUG    reading settings from /Users/victorkreitmann/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json
    07:23:42 workflow.py:2679 INFO     checking for update ...
    07:23:42 background.py:214 DEBUG    [__workflow_update_check] command cached: /Users/victorkreitmann/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/__workflow_update_check.argcache
    07:23:42 background.py:218 DEBUG    [__workflow_update_check] passing job to background runner: ['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    07:23:42 workflow.py:2298 ERROR    Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.
    Traceback (most recent call last):
      File "/Users/victorkreitmann/Desktop/synced/life/synced preferences/alfred preferences/Alfred.alfredpreferences/workflows/user.workflow.567A3465-F532-4A1E-AC22-43BA6A656C6C/workflow/workflow.py", line 2289, in run
        self.check_update()
      File "/Users/victorkreitmann/Desktop/synced/life/synced preferences/alfred preferences/Alfred.alfredpreferences/workflows/user.workflow.567A3465-F532-4A1E-AC22-43BA6A656C6C/workflow/workflow.py", line 2681, in check_update
        run_in_background("__workflow_update_check", cmd)
      File "/Users/victorkreitmann/Desktop/synced/life/synced preferences/alfred preferences/Alfred.alfredpreferences/workflows/user.workflow.567A3465-F532-4A1E-AC22-43BA6A656C6C/workflow/background.py", line 219, in run_in_background
        retcode = subprocess.run(cmd, check=True).returncode
      File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.
    07:23:42 workflow.py:2301 INFO     for assistance, see: https://github.com/xilopaint/alfred-pdf-tools
    07:23:42 workflow.py:2322 DEBUG    ---------- finished in 0.021s ----------

     

  2. For some reason, I am unable to merge pdf documents although Alfred's debugger does not indicate any problem. Below is the output. Would you be able to help? Many thanks in advance.

     

    [9:49:31.225 PM] Logging Started...
    [9:49:33.863 PM] Alfred PDF Tools[File Action] Processing complete
    [9:49:33.870 PM] Alfred PDF Tools[File Action] Passing output '(
        "/Users/victorkreitmann/Downloads/23.pdf",
        "/Users/victorkreitmann/Downloads/22.pdf"
    )' to Arg and Vars
    [9:49:33.873 PM] Alfred PDF Tools[Arg and Vars] Processing complete
    [9:49:33.874 PM] Alfred PDF Tools[Arg and Vars] Passing output '' to Keyword

     

  3. @deanisheFor some reason I missed your comment. Thank you for it. Mac OS Monterey might indeed be the problem, but I'm wondering whether something else is also playing a part in it, since I for instance downloaded the modified ZotHero version which you uploaded, but I still have troubles running "zotconf" which tells me "Code 127: env: python: No such file or directory". Any suggestions?

     

    Edit: I tried running Fixum to fix the Python-related workflows, but even Python sends me back to the /usr/bin/python problem.

  4. Hi there,

    For some reason, all the workflows I'm using which rely on Python render the following error message : "/usr/bin/python: No such file or directory". Typing "which python" in the terminal tells me it's available in /usr/local/bin/python but it now appears impossible to do a symbolic link between /usr/local/bin/python and /usr/bin/python. I've searched the web for hours and I'm a little bit of a noob but I can't find a solution. Could anyone help?
    Many thanks in advance,

  5. @biati @Pearcen@fddc I think that I have found a solution to have the workflow running on MacOS Monterey. As @Pearcensuggested, the problem seems to lie with MacOS Monterey not including PHP, thus preventing the workflow from running. I've downloaded PHP for MacOS Monterey using this Homebrew tap and the workflow is now running. 

     

    EDIT: Actually, it seems to only be partially running. I'll look into it in greater depth later.

  6. Thank you for building that, it really looks fantastic. Do you plan on making the necessary adjustments for the workflow to work on the beta version of Mac OS Monterey or do I have to wait for Apple to release the full version? Now that I've made the switch it's hard to come back, but I'd love to be able to use your workflow.

×
×
  • Create New...