Giter VIP home page Giter VIP logo

Comments (11)

rhydlewis avatar rhydlewis commented on August 12, 2024 1

Yes, I have a basic version of the workflow using javascript in progress at the moment. Aiming to release it for evaluation next week

from search-omnifocus.

Doslin avatar Doslin commented on August 12, 2024

Will you rewrite this workflow

  • Reported in early March
  • Workaround is to reinstall Python until a new release is available

from search-omnifocus.

rhydlewis avatar rhydlewis commented on August 12, 2024

Temporary workaround ๐Ÿ‘‰ https://www.alfredapp.com/help/kb/python-2-monterey/

from search-omnifocus.

Doslin avatar Doslin commented on August 12, 2024

Temporary workaround ๐Ÿ‘‰ https://www.alfredapp.com/help/kb/python-2-monterey/
It didn't work

Last 10 log lines:
ld: warning: directory not found for option '-L/Users/zhilin/.pyenv/versions/2.7.18/lib'
ld: warning: ignoring file libpython2.7.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
"_PyMac_Error", referenced from:
-u command line option
"_Py_Main", referenced from:
_main in python.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [python.exe] Error 1

from search-omnifocus.

rhydlewis avatar rhydlewis commented on August 12, 2024

@Doslin Not sure the installation of Python2 has worked correctly for you? The workaround from Alfred is working fine for me.

from search-omnifocus.

Doslin avatar Doslin commented on August 12, 2024

@Doslin Not sure the installation of Python2 has worked correctly for you? The workaround from Alfred is working fine for me.
Meanwhile, can I help you with this version of javascript? I'm looking forward to this version very much

from search-omnifocus.

Doslin avatar Doslin commented on August 12, 2024

Can't find the python

ln -s "~/.pyenv/versions/2.7.18/bin/python2.7" "/usr/bin/python"

ln: /usr/bin/python: Read-only file system


[13:37:41.238] Logging Stopped.
[13:37:42.084] Logging Started...
[13:37:47.843] Search OmniFocus[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.E20D9C1B-4305-4FA2-9A65-7B65C28898C2%3EF8E62EE2-D96A-4A26-8E39-EBBEFCE2DF97)] Queuing argument 's'
[13:37:47.912] Search OmniFocus[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.E20D9C1B-4305-4FA2-9A65-7B65C28898C2%3EF8E62EE2-D96A-4A26-8E39-EBBEFCE2DF97)] Script with argv '(null)' finished
[13:37:47.914] ERROR: Search OmniFocus[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.E20D9C1B-4305-4FA2-9A65-7B65C28898C2%3EF8E62EE2-D96A-4A26-8E39-EBBEFCE2DF97)] Code 127: /bin/bash: /usr/bin/python: No such file or directory

from search-omnifocus.

neuromancer3142 avatar neuromancer3142 commented on August 12, 2024

Dear rhydlewis,

Unfortunately, the

Temporary workaround ๐Ÿ‘‰ https://www.alfredapp.com/help/kb/python-2-monterey/

did not work for me. Homebrew installed everything correctly, but I cannot launch the shortcuts using Alfred. Do you have any tips on how to troubleshoot this? No idea where to start.

Alternative would be to directly use the new javascript version. Do you know when you will release this update? I use your workflow many times per day and dearly miss this great functionality. Thanks for letting me know.

Best regards

from search-omnifocus.

Doslin avatar Doslin commented on August 12, 2024

https://github.com/alfredapp/updated-third-party-python2-workflows

Updated Third-Party Python 2 Workflows

With macOS Monterey 12.3, Apple removed the bundled Python 2 interpreter. That means older Workflows dependent on Python 2 will no longer work without modification.

Thatโ€™s what this repository is for. It contains existing third-party Python 2 Workflows tweaked so you can keep using them until they are updated by their developers or you switch to an alternative. If a Workflow you use isnโ€™t present, request it here or on the forum.

Before installing any of these, you must follow the knowledge base article to install Python 2 to a location recognised by Alfred.

WARNING: All Workflows in this repository are made by third-parties. They were modified just enough to keep working but their contents have not been audited so make sure you trust the original author.

All Workflows retain their original license.

from search-omnifocus.

rhydlewis avatar rhydlewis commented on August 12, 2024

Replacement workflow but still WIP ๐Ÿ‘‰ https://github.com/rhydlewis/alfred-search-omnifocus

from search-omnifocus.

neuromancer3142 avatar neuromancer3142 commented on August 12, 2024

https://github.com/alfredapp/updated-third-party-python2-workflows

Updated Third-Party Python 2 Workflows

With macOS Monterey 12.3, Apple removed the bundled Python 2 interpreter. That means older Workflows dependent on Python 2 will no longer work without modification.

Thatโ€™s what this repository is for. It contains existing third-party Python 2 Workflows tweaked so you can keep using them until they are updated by their developers or you switch to an alternative. If a Workflow you use isnโ€™t present, request it here or on the forum.

Before installing any of these, you must follow the knowledge base article to install Python 2 to a location recognised by Alfred.

WARNING: All Workflows in this repository are made by third-parties. They were modified just enough to keep working but their contents have not been audited so make sure you trust the original author.

All Workflows retain their original license.

Dear Doslin,

Finally I got it to work again. Thanks so much. I previously missed the link to the updated script.

Best regards

from search-omnifocus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.