Jump to content

eshmootie

Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by eshmootie

  1. 1 hour ago, cands said:

    Thanks for updating! Unfortunately I get the following error complaining about urllib3 missing:

     

    [08:37:55.789] Logging Started...
    [08:38:03.847] ERROR: Movie and TV Show Search[Script Filter] Code 1: Traceback (most recent call last):
      File "media.py", line 11, in <module>
        import requests
      File "/Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EAA197-3267-406D-B42C-8F427B547486/requests/__init__.py", line 43, in <module>
        import urllib3
    ModuleNotFoundError: No module named 'urllib3'

     

    Getting the same error.

     

    Tried, pip3 install urllib3 and pip install urllib3.

    Dosen't solve it.

  2. 5 minutes ago, Acidham said:

    I assume your Bluetooth is enabled? 

     

    Please run following command

    system_profiler SPBluetoothDataType -json

     

    It should look like:

     

    {
      "SPBluetoothDataType" : [
        {
          "controller_properties" : {
            "controller_address" : "F8:FF:C2:50:D0:46",
            "controller_chipset" : "BCM_4364B3",
            "controller_discoverable" : "attrib_off",
            "controller_firmwareVersion" : "v75 c4195",
            "controller_productID" : "0x0001",
            "controller_state" : "attrib_on",
            "controller_supportedServices" : "0x382039 < HFP AVRCP A2DP HID Braille AACP GATT Serial >",
            "controller_transport" : "UART",
            "controller_vendorID" : "0x004C (Apple)"
          },
          "devices_list" : [
            {
              "Aci Mouse" : {
                "device_address" : "24:D0:DF:0A:F2:CF",
                "device_connected" : "Yes",
                "device_firmwareVersion" : "1.7.0",
                "device_minorType" : "Mouse",
                "device_productID" : "0x0269",
                "device_services" : "0x800020 < HID ACL >",
                "device_vendorID" : "0x004C"
              }
            },
            {
              "AciPad" : {
                "device_address" : "28:EC:95:84:90:5D"
              }
            },...

     

    Yes,

     

    It looks like this: (1st is with airpods connected and 2nd without)

     

      "SPBluetoothDataType" : [

        {

          "controller_properties" : {

            "controller_address" : "8C:85:90:0E:03:F6",

            "controller_chipset" : "BCM_4350",

            "controller_discoverable" : "attrib_off",

            "controller_firmwareVersion" : "v134 c5628",

            "controller_productID" : "0x0001",

            "controller_state" : "attrib_on",

            "controller_supportedServices" : "0x382039 < HFP AVRCP A2DP HID Braille AACP GATT Serial >",

            "controller_transport" : "UART",

            "controller_vendorID" : "0x004C (Apple)"

          },

          "device_connected" : [

            {

              "name – AirPods Pro" : {

                "device_address" : "B8:81:FA:78:AA:25",

                "device_batteryLevelCase" : "23 %",

                "device_batteryLevelLeft" : "81 %",

                "device_firmwareVersion" : "4C165",

                "device_minorType" : "Headphones",

                "device_productID" : "0x200E",

                "device_serialNumber" : "GX9D94FQLKKT",

                "device_services" : "0x980019 < HFP AVRCP A2DP AACP GATT ACL >",

                "device_vendorID" : "0x004C"

              }

            }

          ],

          "device_not_connected" : [

            {

              "name iPhone" : {

                "device_address" : "A0:FB:C5:B7:C0:C4",

                "device_rssi" : "-38"

              }

            }

          ]

        }

      ]

    (base) name-mbp:~ name$ system_profiler SPBluetoothDataType -json

    {

      "SPBluetoothDataType" : [

        {

          "controller_properties" : {

            "controller_address" : "8C:85:90:0E:03:F6",

            "controller_chipset" : "BCM_4350",

            "controller_discoverable" : "attrib_off",

            "controller_firmwareVersion" : "v134 c5628",

            "controller_productID" : "0x0001",

            "controller_state" : "attrib_on",

            "controller_supportedServices" : "0x382039 < HFP AVRCP A2DP HID Braille AACP GATT Serial >",

            "controller_transport" : "UART",

            "controller_vendorID" : "0x004C (Apple)"

          },

          "device_not_connected" : [

            {

              "Name – AirPods Pro" : {

                "device_address" : "B8:81:FA:78:AA:25",

                "device_firmwareVersion" : "4C165",

                "device_minorType" : "Headphones",

                "device_productID" : "0x200E",

                "device_serialNumber" : "GX9D94FQLKKT",

                "device_vendorID" : "0x004C"

              }

            },

            {

              "Name iPhone" : {

                "device_address" : "A0:FB:C5:B7:C0:C4",

                "device_rssi" : "-38"

              }

            }

          ]

        }

      ]

  3. 22 hours ago, vitor said:

     

    The error means that particular action requires the Objective-C bridge. There’s a very small subset of Python 2 Workflows who do. At the moment it’s not viable to support those because the required Python packages fail (for me?) to build under Apple Silicon. If you’re on Intel, you may be able to do so ("${HOME}/.pyenv/versions/2.7.18/bin/python2.7" -m pip install PACKAGE_NAME) but the build failure makes it impossible for me to support it.

     

     

    Welcome @eshmootie,

     

    That Workflow doesn’t use Python, so whatever is broken is something else. @Acidham has a Workflow you may wish to try.

     

     

    Try again with:
     

    eval "$(brew shellenv)"
    ls -la "${HOMEBREW_PREFIX}/bin/python"

     

     

     

    Thank you,

     

    However, when i run 'airpd' in alfred i get the following error log:

    Is this something due to Python or should i take it in the workflow thread?

     

    1696798514_Skrmavbild2022-03-24kl_14_00_50.thumb.png.8b3278109475e08729793567b1761064.png

×
×
  • Create New...