[Device Support Request] TS0601 _TZE204_upagmta9 Tuya outdoor temperature and humidity sensor

Problem description
No values recognized
Device info
TS0601
by _TZE204_upagmta9
Zigbee info
IEEE: a4:c1:38:74:06:b0:2c:89
Nwk: 0x2aff
Device Type: EndDevice
LQI: 192
RSSI: -52
Last Seen: 2023-11-01T13:11:52
Power Source: Battery or Unknown
Solution description
How can i get or make a custom quirk for this device?
Screenshots/Video

Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0051",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE204_upagmta9",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Diagnostic information
Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.10.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.5",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Bucharest",
    "os_name": "Linux",
    "os_version": "6.1.21-v8",
    "supervisor": "2023.10.1",
    "host_os": "Home Assistant OS 11.1",
    "docker_version": "24.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "browser_mod": {
      "version": "2.3.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "lovelace_gen": {
      "version": "0.1.1",
      "requirements": [
        "jinja2"
      ]
    },
    "fusion_solar_kiosk": {
      "version": "3.0.6",
      "requirements": []
    },
    "scheduler": {
      "version": "v0.0.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp",
      "universal_silabs_flasher"
    ],
    "requirements": [
      "bellows==0.36.5",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.105",
      "zigpy-deconz==0.21.1",
      "zigpy==0.57.2",
      "zigpy-xbee==0.18.3",
      "zigpy-zigate==0.11.0",
      "zigpy-znp==0.11.6",
      "universal-silabs-flasher==0.0.14",
      "pyserial-asyncio-fast==0.11"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_uzg-01._tcp.local.",
        "name": "uzg-01*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 11007,
    "manufacturer": "_TZE204_upagmta9",
    "model": "TS0601",
    "name": "_TZE204_upagmta9 TS0601",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4417,
    "power_source": "Battery or Unknown",
    "lqi": 192,
    "rssi": -52,
    "last_seen": "2023-11-01T13:15:58",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x0051",
          "input_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0xef00"
          ],
          "output_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      },
      "manufacturer": "_TZE204_upagmta9",
      "model": "TS0601"
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "sensor.tze204_upagmta9_ts0601_rssi",
        "name": "_TZE204_upagmta9 TS0601"
      },
      {
        "entity_id": "sensor.tze204_upagmta9_ts0601_lqi",
        "name": "_TZE204_upagmta9 TS0601"
      }
    ],
    "neighbors": [],
    "routes": [],
    "endpoint_names": [
      {
        "name": "SMART_PLUG"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "f617a18abfa66229233f67c4d981d85f",
    "area_id": null,
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "SMART_PLUG",
          "id": 81
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 73
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE204_upagmta9"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

Logs
Logs
Logger: zigpy.zcl
Source: runner.py:186
First occurred: 13:05:38 (5 occurrences)
Last logged: 13:13:56

[0x2AFF:1:0xef00] Unknown cluster command 17 b'\x00\x03@'

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
https://www.aliexpress.com/item/1005005627336725.html
Zigbee Version
I tried some quirks but with no help.
Can someone help me?

It seems not the be working either on zigbeeMQTT, there might be some aspect of the protocol missing at pairing, trying to get element from snifing protocol here : https://github.com/Koenkk/zigbee2mqtt/issues/19137

@benoitm974 Seems lit a batch that beside the problems with zigbee information transmission, they have huge problems with battery time, or maybe because it tries to send information to gateway to often, the battery just goes dead in 12h.

No in fact the device uses tuya specific protocol, the device works well when use with their gateway and Tuya app and don't have battery issue. The problem exists in both zigbee2mqtt and ZHA where the current code doesn't follow the tuya protocol after pairing the device stay "locked" in a waiting for answer state where it doesn't update the screen info nor send any data and consume all the battery in 12 to 24h...
In the zigbee2mqtt forum I attached a capture of the tuya sequence, where we can see:

the tuya send a "reset" command at pairing
also send a command 3 and 10 to the device
and lastly reply wuccess to device command 11, which seems to be the expected command for the sensors to go to sleep and start updateing screen and sending zigbee values

I have a similar issue with a device that has the same specification/ID
_TZE204_upagmta9 TS0601
Aliexpress Item page [ordered the item trough the 3=5.99$ sale]
https://aliexpress.com/item/1005006030373016.html?
For me it does not show ANY entities at all

Hello! For this sensors as a temporary sollution i added a wifi zigbee gateway and used tuya integration for them.
They do eat batteries if not communicating good with ha integration.
I wait for news when they cand be integrated locally. :(

Hello! For this sensors as a temporary sollution i added a wifi zigbee gateway and used tuya integration for them.
They do eat batteries if not communicating good with ha integration.
I wait for news when they cand be integrated locally. :(

Soo they are worse than "for example"
https://aliexpress.com/item/1005005352101380.html?
If all you would need is the temperature+ humidity
I bought one as a test, but might return/see if I can get a refund for it, if there is no probable fix in the next few days.
Since its a choice store getting a refund is quite easy.

I wanted with display, i suppose will be a while until this model will be added to the fully supported devices,
I saw some people had luck with zigbee2mqtt. So they are not worse, they are not yet supported but they have the capability to be as good.

It looks like devs from zigbee2mqtt made it working (https://github.com/Koenkk/zigbee2mqtt/issues/19137#issuecomment-1811953885)

Indeed after sniffing zigbee traffic and debuging @koenkk found the race condition preventi the 0xef00 / 0x03 command sent just after the sensors join the network which was keeping the device in a loop mode... If any one with experience on zha code can point in the right directtion for sending command when sensor joint I'm open to try/look into it.

I manage to get some data at least,

If any one with experience on zha code can point in the right directtion for sending command when sensor joint I'm open to try/look into it.

correct file path would be, zhaquirks/tuya/ts0601_sensor.py, more specifically line 248 code. Not entirely sure, everything is fairly new for me.

The question is not which definition to use, since either V03 or V04 would work, the issue is how to have ZHA to send a custom tuya command on joining to get the sensor to start sending data on regular interval and to sleep in between.

Sounds like I should just pull the battery from mine until this is resolved.
Can anyone recommend a temperature sensor that does with properly?

I use these working ok but no screen, and you need to provide the 2 AAA batteries.
https://fr.aliexpress.com/item/1005006022905558.html?spm=a2g0o.order_list.order_list_main.97.21ef5e5bIqwGzC&gatewayAdapt=glo2fra

I also have a couple of these that are quite useless in ZHA... is anyone working on a fix please?

Adding my support to merge a similar fix from:
https://github.com/Koenkk/zigbee2mqtt/issues/19137#issuecomment-1811953885

Anyone please? Would be nice to have them in ZHA because they are cheap, have a display and natively have zigbee. The people who buy these are mostly the ones who have bricked  a LYWSD03MMC and are looking for something with native zigbee.

Same for me, can't get it working.

Hello! The correct model for this device seems to be ZTH05

I'm having same issues. Identified as a different device and no entities.

Hello! The correct model for this device seems to be ZTH05
I'm having same issues. Identified as a different device and no entities.

I suppose the question is whether there is a way to force the real identity onto devices that list a fake identity.

@marcoaureliovaz, i'm seeinig the exact same on my ZHA installation

I tried some time with ZHA but it didn't work and the "pairing" seemed not to conclude... (After pairing, the logs were always bringing new messages and at the device, low battery icon active)
ZigBee2MQTT
Then I flashed my Sonoff Dongle-E to MultiPAN with that Webflasher, installed Mosquitto, Z2M Edge and now it's correctly recognized and working great.
Frequent updates during increase/decrease of temperature/humidity. Battery info is reliable.

With the next HA version 2024.2.0 beta (releasing 2024/01/31), you can try to send the "Tuya query data" command through the clusters menu UI if the manufacturer cluster is added using a quirk.
Copying my answer from Discord:
https://github.com/zigpy/zha-device-handlers/pull/2940 and https://github.com/zigpy/zha-device-handlers/pull/2888 added support for the "query data" command (0x03).
So, with the next HA version, it should be relatively simple to make a quirk for that device. You can likely use zigpy/quirk-generator to generate a stub quirk, replace CustomDevice with the Tuya EnchantedDevice implementation.
That'll send Tuya specific commands during pairing. But you'll also need to set tuya_spell_data_query = True to send the new 0x03 / query data command (like seen in #2940).
That way, no manual command sending would be involved.

With the next HA version 2024.2.0 beta (releasing 2024/01/31), you can try to send the "Tuya query data" command through the clusters menu UI if the manufacturer cluster is added using a quirk.
Copying my answer from Discord: #2940 and #2888 added support for the "query data" command (0x03). So, with the next HA version, it should be relatively simple to make a quirk for that device. You can likely use zigpy/quirk-generator to generate a stub quirk, replace CustomDevice with the Tuya EnchantedDevice implementation. That'll send Tuya specific commands during pairing. But you'll also need to set tuya_spell_data_query = True to send the new 0x03 / query data command (like seen in #2940) during pairing/reconfiguration (and then pair/reconfigure).
That way, no manual command sending would be involved.

Thanks @TheJulianJES so much!
So it means from the existing quirks https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_sensor.py
We could on create a new 05 variation and then
A Add the import "EnchantedDevice"
-> from zhaquirks.tuya.mcu import DPToAttributeMapping, TuyaMCUCluster, EnchantedDevice
B Add the variation this way`
`
class TuyaTempHumiditySensorVar05(EnchantedDevice):
"""Tuya temp and humidity sensor (variation 05)."""
tuya_spell_data_query = True
signature = {
    # "profile_id": 260,
    # "device_type": "0x0051",
    # "in_clusters": ["0x0000","0x0004","0x0005","0xef00"],
    # "out_clusters": ["0x000a","0x0019"]
    MODELS_INFO: [
        ("_TZE204_upagmta9", "TS0601"),
    ],
    ENDPOINTS: {
        1: {
            PROFILE_ID: zha.PROFILE_ID,
            DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
            INPUT_CLUSTERS: [
                Basic.cluster_id,
                Groups.cluster_id,
                Scenes.cluster_id,
                TemperatureHumidityManufCluster.cluster_id,
            ],
            OUTPUT_CLUSTERS: [Ota.cluster_id, Time.cluster_id],
        }
    },
}

replacement = {
    SKIP_CONFIGURATION: True,
    ENDPOINTS: {
        1: {
            DEVICE_TYPE: zha.DeviceType.TEMPERATURE_SENSOR,
            INPUT_CLUSTERS: [
                Basic.cluster_id,
                Groups.cluster_id,
                Scenes.cluster_id,
                TemperatureHumidityBatteryStatesManufCluster,
                TuyaTemperatureMeasurement,
                TuyaRelativeHumidity,
                TuyaPowerConfigurationCluster2AAA,
            ],
            OUTPUT_CLUSTERS: [Ota.cluster_id, Time.cluster_id],
        }
    },
}`

With the next HA version 2024.2.0 beta (releasing 2024/01/31), you can try to send the "Tuya query data" command through the clusters menu UI if the manufacturer cluster is added using a quirk.
Copying my answer from Discord: #2940 and #2888 added support for the "query data" command (0x03). So, with the next HA version, it should be relatively simple to make a quirk for that device. You can likely use zigpy/quirk-generator to generate a stub quirk, replace CustomDevice with the Tuya EnchantedDevice implementation. That'll send Tuya specific commands during pairing. But you'll also need to set tuya_spell_data_query = True to send the new 0x03 / query data command (like seen in #2940) during pairing/reconfiguration (and then pair/reconfigure).
That way, no manual command sending would be involved.

Thanks @TheJulianJES so much! So it means from the existing quirks https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_sensor.py
We could on create a new 05 variation and then
A Add the import "EnchantedDevice" -> from zhaquirks.tuya.mcu import DPToAttributeMapping, TuyaMCUCluster, EnchantedDevice
B Add the variation this way`

Sorry.... But I have the same issue and after looking at this thread I got the quirk indicated and made the suggested changes. It picked up that quirk and I get the identities for humidity and temperature which I didn't have before. But they have no values. Am I missing some step or will this just work in the upcoming versions?
Thank you.

Only changing the quirk will not be enough until this is relaeased or you ensure to get the beta version install and test the new quirk...

Only changing the quirk will not be enough until this is relaeased or you ensure to get the beta version install and test the new quirk...

Thank you very much for the promptly reply. I'll wait until this is changed... I don't usually install beta versions of HA because I don't have a "test" system. But I'll keep an eye on this.
Regards.

So new beta is out with EnchantedDevice type.
Install brand new beta home assistant in docker connected to clean sonOff zigbee 3.0v2 Added zha quirks, they get picked up by homeassistant, tried 2 quirks variation ... But seems the spell 'get data 0x0003 command doesn't work
var 05: `class TuyaTempHumiditySensorVar05(EnchantedDevice): """Tuya temp and humidity sensor (variation 05).""" tuya_spell_data_query = True

Also tried to add a inheritance from TuyaEnchentableCluster as mention in the documentation (if I understood it correctly), and added it to the Device definition ... But no luck so far
class TemperatureHumidityBatteryStatesManufClusterSpell(TuyaEnchantableCluster, TemperatureHumidityBatteryStatesManufCluster):
"""Tuya which needs spell query_data """

I didn't read this thread lately, so I made my dirty hack in the weekend to finaly get my devices working.
As you all noticed, this didn't solve the problem completelly. :(
without the 0x03 command sent to the 0xef00 endpoint the commands arriving from it was unknown to the ZCL handler:
Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 27, 14, 20, 45, 394485, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x47D8), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\tE\x11\x00\x06@'], tx_options=<TransmitOptions.NONE: 0>, radius=28, non_member_radius=0, lqi=99, rssi=None)
[0x47D8:1:0xef00] Received ZCL frame: b'\tE\x11\x00\x06@'
[0x47D8:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=69, command_id=17, *direction=<Direction.Client_to_Server: 1>)
[0x47D8:1:0xef00] Unknown cluster command 17 b'\x00\x06@'
[0x47D8:1:0xef00] Received command 0x11 (TSN 69): b'\x00\x06@'
[0x47D8:1:0xef00] No explicit handler for cluster command 0x11: b'\x00\x06@'
However after sending the magic packet I got these answers:
Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 2, 4, 21, 5, 18, 154777, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x6853), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t\xd0\x11\x00\x06@'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=55, rssi=None)
[0x6853:1:0xef00] Received ZCL frame: b'\t\xd0\x11\x00\x06@'
[0x6853:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=208, command_id=17, *direction=<Direction.Client_to_Server: 1>)
[0x6853:1:0xef00] Decoded ZCL frame: TemperatureHumidityBatteryStatesManufCluster:mcu_version_response(version=MCUVersion(status=0, tsn=6, version_raw=64, *version='1.0.0'))
[0x6853:1:0xef00] Received command 0x11 (TSN 208): mcu_version_response(version=MCUVersion(status=0, tsn=6, version_raw=64, *version='1.0.0'))
[0x6853:1:0xef00] MCU version: 1.0.0
[0x6853:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=208, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
[0x6853:1:0xef00] Sending reply: Default_Response(command_id=17, status=<Status.SUCCESS: 0>)
Unfortunatelly no measurement data arrives from the node besides this 'TemperatureHumidityBatteryStatesManufCluster' self report.
Anyone has any idea what shoud we do next?

I am having the same issue here. Just bought two of these ZTH05 and they pair but can't send any temp ou humidity to ZHA. The display of the device never updates.

Hello
I am confused by all this thread but I understand that a change in HA would make it possible to configure a workaround (quirk) for this protocol issue. I installed the latest version now, 2024.2.1, and I wonder if:

This version includes the necessary change for that ?
How/where to install this workaround, and which one (var 06 ?) ?
It would be helpful for many people who got these sensors and who will come here but never installed ZHA quirks to have a small guide to explain that...
Thank you !

Same here, i have 5 of them. They work great on zigbee2mqtt but nothing on ZHA

have the same problem with them, i hope they will work some day with HA out of the box

Quirk code is already in ZHA. Only device ID was missing:
_TZE204_upagmta9
https://github.com/zigpy/zha-device-handlers/pull/3036

@slimninja go to
https://github.com/zigpy/zha-device-handlers/blob/6a1638b0e55811dff1f5061758b9836a7cc22b93/zhaquirks/tuya/ts0601_sensor.py
Use 3-dot menu to download file
Enable custom quirks settings in HA
https://github.com/jacekk015/zha_quirks?tab=readme-ov-file#usage
Test it and let us all know.
You will use my patched quirk. Later, after update, you just disable Custom Quirks or delete that file.

@slimninja go to
https://github.com/zigpy/zha-device-handlers/blob/6a1638b0e55811dff1f5061758b9836a7cc22b93/zhaquirks/tuya/ts0601_sensor.py
Use 3-dot menu to download RAW file Enable custom quirks settings in HA
https://github.com/jacekk015/zha_quirks?tab=readme-ov-file#usage
Test it and let us all know. You will use my patched quirk. Later, after update, you just disable Custom Quirks or delete that file.

I tried it without success. It recognizes the device and it uses the quirk but I have no entities...
I have downloaded the diagnostic data. Will attach it here.
zha-08a1cb49e83dff14adee605b1b9800f1-_TZE204_upagmta9 TS0601-94a3e23b5027bb5c9b04c2c7d6a8f882.json

Diagnostic data doesn't contain any usable info. Debug level LOG is needed.
1. Enable debug log level

logger:
  default: info
  logs:
    homeassistant.components.zha: debug
    zigpy: debug
    zhaquirks: debug

2. Remove one device from HA

3. Restart Home Assistant!!!

4. Pair device like a brand new - only then there's a full initialization process

5. Wait for another, minimum, 5 minutes!!!

6. Download Home Assistant log [Setting ->System->Log] - attach it here as a file

Here it is. I hope you can understand something from it.
Feel free to suggest any test you may think is useful.
Regards.
home-assistant_2024-03-13T22-00-01.396Z.log

I see a few messages in the log mentioning "FOREIGN KEY constraint failed"... But I am not able to understand what that means in this context.... seems like it interacts well with the device but can't save something into a database?...

Another update.... if I restart HA I do get the entities, although with no values.... weird

Same issue, with quirks - sensors adds to HA but not displaying data from it.

Bought one from the Ali link above. 9 days delivery.
I will try to debug it deeper after delivery

Hello, I have the same problem.
I try again every time there's an update from HA, but it still doesn't work. And I can confirm that the sensor battery drains quickly.

Any news on this topic. I got one of this sensors today.
I'm some shocked that it isn't working out of the box like every other zigbee device I got.
I use ZHA with my home assistant but never heard of quirks. Do I have to use them or is a solution on its way?
And if I have to use them: could someone help me find a step by step guide?

Hi, I also bought these sensors, but it turned out that after integration there is no temperature and humidity entity.
Only after a few hours of searching, I found this thread.
Is any working solution?

Same Problem. 3 ZTH05 without any entity.
Are there any news about a solution?

Looking for a solution as well.

I've spent the last 2 days comparing how z2m and zha work.
Now I've got an (as far as I can tell) working custom quirk for it, but I had to override a lot of stuff from parent classes.
Anyways, if anyone wants to try here it is: https://github.com/Peketr/zha-device-handlers/blob/Peketr-patch-zht05/zhaquirks/tuya/ts0601_sensor.py
P.S.: I don't know if this one will run the battery down or not, and there is no support for changing °C/°F.

@Peketr
Thank you for your hard work. Sadly in my case it still doesn't show any entities. Maybe My device is on another firmware or maybe I just did something wrong.

It doesn't seem like its using your quirk even after resetting and repairing the device.

@LennardPlay I changed the file a bit so the upagmta9 is only in the new Var05. Maybe that helps you. Just make sure to restart HA after adding the file, and check if the logs show something like "exception while importing quirk"

I found a few lines in my zha log containing the word "quirk".

In my variant - is unk_model
unk_manufacturer
:(

check

Great job! You are the hero!

For me it's also working fine, well done!

@LennardPlay in the yaml custom_quirks_path should be under zha, not zigpy_config

@LennardPlay in the yaml custom_quirks_path should be under zha, not zigpy_config

Thank you very much. I wonder why it never gave me a warning that my config was broken all these years.
This quirk seems to be working for my device, but sadly it only shows temperature and humidity. (Maybe it just hasn't send a humidity update yet)

I've spent the last 2 days comparing how z2m and zha work. Now I've got an (as far as I can tell) working custom quirk for it, but I had to override a lot of stuff from parent classes. Anyways, if anyone wants to try here it is: https://github.com/Peketr/zha-device-handlers/blob/Peketr-patch-zht05/zhaquirks/tuya/ts0601_sensor.py

Unfortunatelly it only worked for 1 device out of three for me.
I think one key part is still missing from here.

Thanks @Peketr! I confirm your ts0601_sensor.py is working well for mine too.
Didn't even had to remove the device (after restarting to load the new quirk): just to reconfigure the device from ZHA.
Although brand new, battery is reporting only 50%. Will see if it'll got a decent life duration...

Although brand new, battery is reporting only 50%. Will see if it'll got a decent life duration...

My batteries were also reported to 50%, and one of the device that didin't reported temperature and humidity data fully drained the battery since then.

As this quirk seems to work, @Peketr do you want to create a pull request? Then this fix could find its way into HA by default. Over in #2854 it also seems to work.

Well I was thinking about cleaning it up for a PR but 2024.11.0 changes how the ts0601_sensors are handled(YAY), and I have no idea how to hack it into that implementation.
For anyone looking I have updated the file  so the quirk file works again, but I'm not sure I have the capacity to make it "mergeable"

As this quirk seems to work, @Peketr do you want to create a pull request? Then this fix could find its way into HA by default. Over in #2854 it also seems to work.

Well I was thinking about cleaning it up for a PR but 2024.11.0 changes how the ts0601_sensors are handled(YAY), and I have no idea how to hack it into that implementation. For anyone looking I have updated the file  so the quirk file works again, but I'm not sure I have the capacity to make it "mergeable"

And this got them working again after my HA 11.0 update. 😀
Thank you! 👍🏻

Hi @Peketr,
Your script for Tuya works for temperature sensor but not humidity sensor on my side.
Do you know why?
Anyway, thanks for the work!

@Peketr the quirk works perfectly on my ZTH05.
All sensors can be read out (temperature, pressure and battery).

I have ordered this device from Ali Express, identifying as TS0601 /  _TZE200_qrztc3ev and tried to implement the quirk. However, it didn't bring any benefit and I was also not seeing the quirk has been considered, so I checked it and TZE200_qrztc3ev was missing in the file. I tried to add it, restarted HA, tried to add the device again in ZHA and now I'm getting valid temperature information but wrong humidity (5.4% instead of 50%).

Could it be that I added it to the wrong section in the quirk file? Which is the right one?

TS0601 / _TZE200_qrztc3ev">

Were you able to find a solution for this sensor? I received the same one the other day. And I don't receive any information from it.

@atus42 - Your patch works for my TS0601 / _TZE204_upagmta9 with friendly name "ZTH05".
configuration.yaml:
zha:
  enable_quirks: true
  custom_quirks_path: /config/custom_zha_quirks/

Thank you so much!

Also working here with ts0601_sensor.TuyaTempHumiditySensorVar05, at the beginning there were no sensors, just needed to restart HA once after pairing to get them to show.

Hello
haven t tried it a long time, just read the mails ;-)
today i searched how to use a quirk
i found this here what helped me
https://community.home-assistant.io/t/how-to-setup-local-zha-quirks/341226
The steps as I understand them:
Create a custom quirk dir in HA, e.g., /config/custom_zha_quirks
In configuration.yaml, point to this directory:

zha:
custom_quirks_path: /config/custom_zha_quirks/
in this directory, create the python file with content of the quirk

ok i have changed my configuration.yaml
like this here:
zha:
enable_quirks: true
custom_quirks_path: /config/custom_zha_quirks/
this is the  new quirks file to copy
https://github.com/Peketr/zha-device-handlers/blob/Peketr-patch-zht05/zhaquirks/tuya/ts0601_sensor.py
in this folder, after i have made them?!
zhaquirks/tuya/ts0601_sensor.py
but this folder is different to
config/custom_zha_quirks/

Well I was thinking about cleaning it up for a PR but 2024.11.0 changes how the ts0601_sensors are handled(YAY), and I have no idea how to hack it into that implementation.

You just need to create a subclass of TuyaQuirkBuilder and then override add_to_registry, Then replacing TuyaMCUCluster with your version. See https://github.com/zigpy/zha-device-handlers/blob/979551d67135cf4ad68c4dbc447df76d5426b78c/zhaquirks/tuya/builder/init.py#L523
I don't know how often this pattern shows up, if it's often enough, we could just add it as a parameter to add_to_registry.

sorry, i don t understand what i have to do now,
i am 63 and not a programmer,
i have model ZTH05
i thought i change my configuration.yaml
and copy the quirk: ts0601_sensor.py to a special folder
i have changed my configuration.yaml
zha:
enable_quirks: true
custom_quirks_path: /config/custom_zha_quirks/
i have build the folder
/config/custom_zha_quirks/
and put in the file
ts0601_sensor.py
/config/custom_zha_quirks/ts0601_sensor.py

Hi @FranzTen yes, that's what I did, and it works for me. The name of the folder doesn't matter - it has to match the definition in config.yaml
I think your next steps would be checking the log files and diagnosis data. Possibly you don't have _TZE204_upagmta9 but anything else inside.

Without being able to test, this is what I think this could look like with a custom v2 quirk. https://gist.github.com/prairiesnpr/0b7bf1a63da6224ad9b3147ead120109
We can probably just update TuyaMCUCluster to add the mcu_version_response if we were to PR it.

TS0601 / _TZE200_qrztc3ev

Were you able to find a solution for this sensor? I received the same one the other day. And I don't receive any information from it.

No, unfortuantely no solution. As mentioned, I modified the Phython script by adding the text in the square to the file but I can only get the temperature (after a restart of HomeAssistant), not the humidity (humidity entity is shown but with wrong values).

(humidity entity is shown but with wrong values).

As in the scaling is wrong, e.g., off by a factor of ten, or it's completely wrong and likely on the wrong DP?

E.g. 5.4% instead of 52%  shown on the display at the same time


backport/hotfix for issue #525 into 2023.2 -- fix premature submit when press Enter while choosing endpoints for EVC creation

Closes #525
Heads-up: this PR sits on top of PR #522
Summary
See updated changelog file.
Local Tests
After applying this fix along with https://github.com/kytos-ng/ui/pull/99 we have the following result:

End-to-End Tests
N/A

Nice to see AmLight topology btw.


Update centos 7 to use sles toolchain as Ubuntu uses a versino of gli…

…bc that is too new for centos 7

Thanks!


How to pass 'body' params to EventSourcePolyfill?

If I have a curl request like the following:
curl -G https://api.openai.com/v1/engines/davinci/completions/browser_stream \
  --data-urlencode prompt='Once upon a time' \
  --data-urlencode max_tokens=3 \
  -H 'Authorization: Bearer YOUR_API_KEY'

How do I pass --data-urlencode prompt='Once upon a time' to my to EventSourcePolyfill  request?

there is no option to send POST request or add a body to a request, could you add a query parameter instead?

Sure, could you show me an example?

new EventSource("https://example.com/?prompt=Once upon a time&max_tokens=3")


cordova-icon not working, with imagemagick installed

I have been trying to run cordova-icon on a project and I get the following error during " Generating Icons for android":
Error:
 Checking Project & Icon

  ✓  platforms found: android
  ✓  icon.png exists
  ✓  config.xml exists

 Generating Icons for android

  ✓  drawable/icon.png created
{ [Error: Command failed: convert: unable to open image `platforms/android/res/drawable-ldpi/icon.png':     No such file or directory @ error/blob.c/OpenBlob/2701.
 convert: WriteBlob Failed `platforms/android/res/drawable-ldpi/icon.png' @   error/png.c/MagickPNGErrorHandler/1630.
 ] timedOut: false, killed: false, code: 1, signal: null }

I have imagemagick:
Version: ImageMagick 6.9.0-3 Q16 x86_64 2015-01-09 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png xml zlib
And I am using OS X Yosemite version: 10.10.2

Hey,
A Google Drive folder works in a particular way. It seems possible that ImageMagick and/or cordova-icon can't work with it.
Could you please try to run the command on a local, "normal" folder?

same problem on ~/Desktop/myApp

Too bad. A Google search (that you probably already did) on your error tells me that it could be a file permissions issue. Can't help you more. Good luck, keep us informed.

It seems the problem is not with cordova-icon, as I just managed to run it on a different project.

I faced this issue, Try removing and re-adding android platform.

I also get this error message when i use cordova version 5.1.1.:
{
	[
		Error: Command failed: convert: unable to open image `platforms/android/res/drawable-xxhdpi/icon.png': No such file or directory @ error/blob.c/OpenBlob/2701.
convert: WriteBlob Failed `platforms/android/res/drawable-xxhdpi/icon.png' @ error/png.c/MagickPNGErrorHandler/1630.
	]
timedOut: false, killed: false, code: 1, signal: null }

The Cordova 5.1.1 command cordova platform add android creates only the following res-folders:

drawable
drawable-land-mdpi
drawable-port-hdpi
drawable-xhdpi
drawable-hdpi
drawable-land-xhdpi
drawable-port-ldpi
values
drawable-land-hdpi
drawable-ldpi
drawable-port-mdpi
xml
drawable-land-ldpi
drawable-mdpi
drawable-port-xhdpi

In my case does not exist the  drawable-xxhdpi-folder. To solve this problem create this folder, bevor you run cordova-icon:
mkdir ./platforms/android/res/drawable-xxhdpi
More informations:
https://github.com/AlexDisler/cordova-icon/blob/master/index.js#L50
http://cordova.apache.org/docs/en/5.1.1/config_ref_images.md.html#Icons and Splash Screens
@AlexDisler maybe you can check if the folder exist, bevor you create the icon? What do you think?

@sbat This worked like a charm fro me ! Thx!

I sent this pull request about a month ago - https://github.com/AlexDisler/cordova-icon/pull/42 (Conditional include of drawable/icon.png) It seems sufficient but I haven't put it to test much yet.

Hey, @Tiagojdferreira, is your problem solved? If so, can you please close this issue?


npm install -g @stacks/cli produces a few errors

Describe the bug
PS C:\Users\tmjj1\OneDrive\Stacks\sandbox\accounts> npm install -g @stacks/cli
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path C:\Users\tmjj1\AppData\Roaming\npm\node_modules\@stacks\cli\node_modules\@stacks\blockchain-api-client
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c "npx shx find lib/index.js || npm run build"
npm ERR! ><EMAIL_ADDRESS>build
npm ERR! > rimraf ./lib && npm run generate-openapi && npm run build:node && npm run build:browser
npm ERR! '"shx"' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path C:\Users\tmjj1\AppData\Roaming\npm\node_modules\@stacks\cli\node_modules\@stacks\blockchain-api-client
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c ""shx" "find" "lib\index.js""
npm ERR!
npm ERR! npm ERR!      C:\Users\tmjj1\AppData\Local\npm-cache\_logs\2021-10-09T15_59_34_024Z-debug.log
npm ERR! 'rimraf' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path C:\Users\tmjj1\AppData\Roaming\npm\node_modules\@stacks\cli\node_modules\@stacks\blockchain-api-client
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c "rimraf ./lib && npm run generate-openapi && npm run build:node && npm run build:browser"
npm ERR!
npm ERR! npm ERR!      C:\Users\tmjj1\AppData\Local\npm-cache\_logs\2021-10-09T15_59_34_798Z-debug.log

npm ERR!      C:\Users\tmjj1\AppData\Local\npm-cache\_logs\2021-10-09T15_59_34_830Z-debug.log
PS C:\Users\tmjj1\OneDrive\Stacks\sandbox\accounts>

I get these errors when I run npm install -g @stacks/cli  on my windows 10 machine, but never the less the package still got fully installed.
What version of Blockstack.js are you using?
Stacks.js v2.0.1
Is the bug present in the Blockstack CLI, Gaia hub, Connect or Blockstack Browser?
To Reproduce
Steps to reproduce the behavior:
Open VSCode (new environment), npm init -y, npm install -g @stacks/cli
Expected behavior
No errors

Not a window specific issue. This will be fixed with below commands.
npm i shx -g
npm i rimraf -g

Then
npm install --global @stacks/cli

Reference: https://github.com/blockstack/stacks.js/issues/971.
Closing the issue due to duplication #971 and try to keep the discussion at one place at #971.


fix portuguese and spanish translations + add tests

refs #4 + let's get that coverage back up there :)

@clux Alright this should fix all of it: no hard-coding + all green lights

Awesome. Good work.

I will merge and publish later today.

:+1:


Providing the training code and the cat images

Hi,
this project is my first approach to dive into in the ML-World.
So, first of all... Thank you for sharing your code.
Till now I set up the hardware, got everything running and collected my first cat images.
For a deeper understanding... Can you provide me with the code and the images to train the modell?

Hey
Well it was my first project too, so I wouldn't advise you to learn from it... but if you pass me your mail I can give it to you.
Cheers

Well, that's fine for me.
It gives me a practical project to work on alongside my theoretical courses.
<EMAIL_ADDRESS>thank you


Fix python-lambda adot-instrument import error

Description:
Fixing a bug - Generated lambda layer from the latest source of this repo gives Unable to import module aws_observability: cannot import name AwsXRayIdsGenerator error which causes failure to generate XRay data.
Renamed AwsXRayIdsGenerator to AwsXRayIdGenerator as it was renamed in latest version of opentelemetry-sdk-extension-aws . Fixing AwsXRayIdGenerator import revealed some more name changes i.e. (SimpleExportSpanProcessor, BatchExportSpanProcessor, OTLPSpanExporter path, AwsXRayFormat.extract method signature). So, fixed all these names to reflect the latest changes of opentelemetry-sdk
Link to tracking Issue: https://github.com/aws-observability/aws-otel-lambda/issues/21
Testing:
Deploy the sample app by running cd sample-apps/python-lambda && ./run.sh command (documenation). Invoking the API endpoint provided by the sample app will generate XRay data.

So the current directory sample-apps and extensions will be deprecated next week.
@wangzlei Thanks for the info. If the directory is deprecated, what will be the procedure to use it as a lambda layer?

So the current directory sample-apps and extensions will be deprecated next week.

@wangzlei Thanks for the info. If the directory is deprecated, what will be the procedure to use it as a lambda layer?

Would be pretty similar with before. The folder structure is slightly different.  We will also provide public lambda layers. You can consume ADOT by public lambda layer directly without building layer from scratch.


It doesn't focus on the “EXPERIMENTAL WARNING” node after using "Tab" key

OS: Win11
Bicep Version: v0.26.54
Repro Step:

Create the main.zip file and open it in VS Code.
Right click the file -> Click "Show Deployment Pane to the Side".
Tab.
Check whether it focuses on the “EXPERIMENTAL WARNING” node.

Expect:
It focuses on the “EXPERIMENTAL WARNING” node.
For example, in EXPLORER, use the "Tab" key can focus on "OUTLINE" node.

Actual
It doesn't focus on the “EXPERIMENTAL WARNING” node.

The experimental warning will go away, so no need to fix.


Log Path

The log directory gets created in ./log.
Please let us set the log path in the .env.
Thanks for your work.

I reached my goal with the docker mappings.


JsonSchema template JSON generation

Given a schema, create example JSON for use as a template.

It looks like the primary challenge will be those property types which allow a multiplicity of values. For example:

Enum types
AnyOf / OneOf / Not schema
Regex-checked strings

Starting to wonder if stuff like this should be put in a Manatee.Json.PowerTools library to keep the main library just basic functionality (like the idea behind extension methods).


Update developer guide with edit commands

Deployed at https://lesterong.github.io/tp/DeveloperGuide.html#implementation

[ ] Add developer documentation for EditProfileCommand and EditEventCommand

Codecov Report
Base: 70.69% // Head: 70.69% // No change to project coverage :thumbsup:

Coverage data is based on head (1ea45d6) compared to base (bb6295c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #83   +/-   ##
=========================================
  Coverage     70.69%   70.69%
  Complexity      499      499
=========================================
  Files            84       84
  Lines          1597     1597
  Branches        179      179
=========================================
  Hits           1129     1129
  Misses          420      420
  Partials         48       48

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

For the activity diagram don't know how detailed it needs to be but would it be good to include an action bubble for the else case showing an error message is displayed?

Yep I think we can add this in.

For the sequence diagram, since p is returned, would it be clearer if we labelled p:EditProfileCommand instead to show what p is?

Good point, will fix.

For the sequence diagram, can't find anywhere in the notes that explicitly mentions this but for our case, the methods EditProfileCommand#execute and Model#setProfile both take in parameters so I'm not sure if execute() and setProfile() is appropriate as it implies the methods do not take in parameters. I saw some simplified diagrams in the notes that simply write methods without the brackets such as execute and setProfile. Not sure if this is better?

I think either way works, or we could even have execute(String) as well. The (notes)[https://nus-cs2103-ay2223s1.github.io/website/se-book-adapted/chapters/uml.html#minimal-notation] states that

Informal operation descriptions such as those given in the example below can be used, if more precise details are not required for the task at hand.

I think as long as we maintain consistency across all our diagrams, it should be fine. That said, I do agree with you that having empty brackets may be a bit confusing, so I will update it to the style without the brackets, until we decide otherwise.


metrics need to merge old and new implementations

Before 3.2, if the config did not set the Prometheus protocol, MetricsFilter would be used to count requests and thread pools, and the observation format would be customized. After 3.2, a relatively complete observability has been provided, whether the new and old implementations should be integrated. My idea is to migrate the old protocol spi extension to the new implementation, while providing a simple custom metrics format output (if it is a custom protocol).
/**
 * @deprecated After metrics config is refactored.
 * This filter should no longer use and will be deleted in the future.
 */
@Deprecated
public class MetricsFilter implements Filter, ExtensionAccessorAware, ScopeModelAware {
}

yes，some metrics config such as Metrics port need be remove too.

I'm willing to do that ，May you give me more detail for this task？

Prometheus protocol

It turns out that the MetricsFilter of the Dubbo-Monitor module includes the data export function of the custom Protocol. It has been removed in version 3.3. You can refer to the implementation of dubbo-2.7.23 branch to migrate this function to the metrics module of 3.3. The background of this feature is that some users want to be compatible with private indicator formats instead of using the existing general Prometheus protocol.

I am intrested in working on it. May you give me details?

give me some simple task，please

This task is quite old, so it is temporarily closed and may be reopened in the future


Css selectors for table, inline references, diagrams and co.

Related to #17.  we need selectors also for all the other elements (not only for needs)

This is done and color for e.g. table rows is now changeable via css.


freeplane: minor refactor

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I tried to update to 1.11.14, but I was blocked with:

❯ nix build .#freeplane -L
freeplane> Running phase: unpackPhase
freeplane> unpacking source archive /nix/store/p2i15dr6mhl383x2flnak56m3lmrcd71-source
freeplane> source root is source
freeplane> Running phase: patchPhase
freeplane> Running phase: updateAutotoolsGnuConfigScriptsPhase
freeplane> Running phase: configurePhase
freeplane> no configure script, doing nothing
freeplane> Running phase: buildPhase
freeplane> Welcome to Gradle 7.6.4!
freeplane> Here are the highlights of this release:
freeplane>  - Added support for Java 19.
freeplane>  - Introduced `--rerun` flag for individual task rerun.
freeplane>  - Improved dependency block for test suites to be strongly typed.
freeplane>  - Added a pluggable system for Java toolchains provisioning.
freeplane> For more details see https://docs.gradle.org/7.6.4/release-notes.html
freeplane> To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
freeplane> > Starting Daemon> IDLEDaemon will be stopped at the end of the build
freeplane>
freeplane> > IDLE<-------------> 0% INITIALIZING [18ms]<-------------> 0% INITIALIZING [118ms]<-------------> 0% INITIALIZING [218ms]<-------------> 0% INITIALIZING [318ms]<-------------> 0% INITIALIZING [418ms]> Running init scripts<-------------> 0% INITIALIZING [518ms]<-------------> 0% INITIALIZING [618ms]<-------------> 0% INITIALIZING [718ms]> Running init scripts > Compiling initialization script '/nix/store/8b0c777h7z<-------------> 0% INITIALIZING [818ms]<-------------> 0% INITIALIZING [918ms]<-------------> 0% INITIALIZING [1s]> Running init scripts> Evaluating settings > Compiling settings file 'settings.gradle'> Evaluating settings<-------------> 0% CONFIGURING [1s]> Loading projects<-------------> 0% CONFIGURING [2s]> root project> root project > Compiling build file 'build.gradle'> root project> root project > Resolve dependencies of detachedConfiguration1<-------------> 0% CONFIGURING [3s]> root project > Resolve dependencies of detachedConfiguration4> root project > Resolve dependencies of :classpath<-------------> 0% CONFIGURING [4s]
freeplane> FAILURE: Build failed with an exception.
freeplane> * What went wrong:
freeplane> A problem occurred configuring root project 'freeplane_root'.
freeplane> > Could not resolve all files for configuration ':classpath'.
freeplane>    > Could not find okio-3.2.0.jar (com.squareup.okio:okio:3.2.0).
freeplane>      Searched in the following locations:
freeplane>          file:/nix/store/p807lyf0harakc2m8hpgxcvr03ahb1yr-freeplane-deps-1.11.13/com/squareup/okio/okio/3.2.0/okio-3.2.0.jar
freeplane> * Try:
freeplane> > Run with --stacktrace option to get the stack trace.
freeplane> > Run with --info or --debug option to get more log output.
freeplane> > Run with --scan to get full insights.
freeplane> * Get more help at https://help.gradle.org
freeplane> BUILD FAILED in 5s
freeplane>
freeplane>
freeplane> <-------------> 0% WAITING> Deleting unused version-specific caches in /build/source/.gradle
error: builder for '/nix/store/jfm493iwf8vldag8yaih2lxjw3p7i6m5-freeplane-1.11.13.drv' failed with exit code 1;
       last 25 log lines:
       > Daemon will be stopped at the end of the build
       >
       > FAILURE: Build failed with an exception.
       >
       > * What went wrong:
       > A problem occurred configuring root project 'freeplane_root'.
       > > Could not resolve all files for configuration ':classpath'.
       >    > Could not find okio-3.2.0.jar (com.squareup.okio:okio:3.2.0).
       >      Searched in the following locations:
       >          file:/nix/store/p807lyf0harakc2m8hpgxcvr03ahb1yr-freeplane-deps-1.11.13/com/squareup/okio/okio/3.2.0/okio-3.2.0.jar
       >
       > * Try:
       > > Run with --stacktrace option to get the stack trace.
       > > Run with --info or --debug option to get more log output.
       > > Run with --scan to get full insights.
       >
       > * Get more help at https://help.gradle.org
       >
       > BUILD FAILED in 5s

       For full logs, run 'nix log /nix/store/jfm493iwf8vldag8yaih2lxjw3p7i6m5-freeplane-1.11.13.drv'.

@TomaSajt Hope you don't mind me pinging you here, but since you're the only one I know doing some java. I tried to upgrade to 1.11.14, but got an issue with a dependency. If you could have a look, I'll be very grateful.

@TomaSajt Hope you don't mind me pinging you here, but since you're the only one I know doing some java. I tried to upgrade to 1.11.14, but got an issue with a dependency. If you could have a look, I'll be very grateful.

okio's naming has always been pretty weird in gradle, so we usually have some workarounds for it in packages that use it.
In this case, the original author of the okio patch was really thorough, making sure that they don't hard-code any version numbers. However it looks like okio has changed its naming system for later versions and the patch no longer works as expected.
Previously, we had to make a symlink for
com/squareup/okio/okio/x.y.z/okio-jvm-x.y.z.jar at com/squareup/okio/okio/x.y.z/okio-x.y.z.jar
however, now the original file that needs to be symlinked is in the okio-jvm directory, so we need to make a symlink for
com/squareup/okio/okio-jvm/x.y.z/okio-jvm-x.y.z.jar at com/squareup/okio/okio/x.y.z/okio-x.y.z.jar
So I rewrote the logic for the symlinking, and it's pretty short (I also changed the comment)
# com/squareup/okio/okio-jvm/x.y.z/okio-jvm-x.y.z.jar is expected to exist under com/squareup/okio/okio/x.y.z/okio-x.y.z.jar
while IFS="" read -r -d "" path; do
  ln -s "$path" ''${path//okio-jvm/okio}
done < <(find "$out" -type f -name 'okio-jvm-*.jar' -print0)

Thank you !!!!


GUI crashes hard when task repos are broken

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

I ran automatic annotation with a custom model over the night. All annotations were inserted into the task successfully. But now all other tasks cannot be opened in the UI and I get a React error message.
Expected Behaviour
I should be able to open tasks in the project without UI error message.
Current Behaviour

Error
Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bformat%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bformat%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Eo (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:51489)
    at f (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:53127)
    at m (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:54236)
    at https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:56319
    at Li (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:65790)
    at vs (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:106176)
    at cl (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:96717)
    at sl (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:96642)
    at Qs (https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:93672)
    at https://tg-annotation.hanewald.ai/cvat-ui.580642541947bec0314e.min.js:346:45314

That error message decodes to Objects are not valid as a React child (found: object with keys {format}). If you meant to render a collection of children, use an array instead.
I can however access the tasks and all their information via the REST API endpoint, so it does not seem to be a backend issue.
I already tried restarting all containers to no avail.
Possible Solution
I have no clue whatever caused this, so I have no suggestion.
Steps to Reproduce (for bugs)
I created a custom model in a nuclio function and ran automatic annotation on a large task with > 2000 images. The tasks creation I also did via REST API. I did not touch the other tasks. But every single one of them (apart from the automatic annotated one) throws that error in the UI.
Context
...
Your Environment
GCP compute engine, 150GB SSD, 16 GB RAM, 4 Cores, Nvidia T4 GPU
CVAT runs with docker-compose
CVAT version
Server: 1.7
Core: 3.17.0
Canvas: 2.8.0
UI: 1.25.0

Now it comes to my mind, that during the annotation process I ran into diskspace issues and had to restart the service. The backend server had IO errors in its log. Could it be, that this corrupted something? However, as I stated I can access the tasks via the API without problems. Could there be something frontend specific in the database which needs to be re-initialized to fix this error?

Ok, I am one step further with this...actually it does not seem to have to do with the automatic annotation, but with the connected GIT repo of the other tasks. The error which is displayed via toast shows

And one of the requests to https://cvat-host/git/repository/get/44 shows
{"url": {"value": "https://github.com/MartinHanewald/tg-poc-training [annotation/Erdaushub_(Set_130)_v2.zip]"}, "status": {"value": null, "error": "Local repository is failed"}, "format": {"format": null}}

So how can I fix or remove a broken local repository?

Ok, so I actually solved my acute problem, but it is still not very desirable behaviour.
Seems like somehow the remotes from all git repos in the subfolders /home/django/data/tasks/<id>/artifacts/repos got deleted, hence they were reported as "broken" and the GUI crashed hard.
I have no idea, how that happened in the first place.
My fix was to login manually to the PostgreSQL DB and delete all entries from dataset_repo_gitdata. Now my tasks of course are not connected to git anymore, but I can access them again, which is more important. I guess there is an API endpoint for adding a git repo after task creation. As this is not documented and I have only seen it in the utils/CLI code I have no time right now to try it out.
Anyways, I hesitate to close this issue, since actually the GUI should not fail hard when repos are broken. So this should be fixed.
Keep up the good work :)

@MartinHanewald , thanks for your investigation. We will try to address the issue in our future releases.

Functionality removed


Add list of available translations

Since there are several translations in the master branch, they should also be featured in the docs.
For further additions I styled them as a list in alphabetical order.
The native language description (e.g. Français) might make it easier to find this page for search queries in the native language. But I'm not sure if it is worth the effort...

Excellent. Thanks for the added documentation!


Fix event validion: check format for required or non-empty tags

Changed event validation. It now checks expected format only for tags
that are required or that have a non-empty value.
This fixes #813.

I don't see how this fixes the problem:

the requirements list in validate_tags_from_event_website still has required == True for helper (which it should, since we want there to be a helper field)
but this change skips the check if the value is empty (which is OK for helper)...
...which means that an empty list of instructors will now pass as well, won't it?  Which shouldn't be allowed.
What am I missing?

but this change skips the check if the value is empty (which is OK for helper)...

The check happens if (the tag is required) or if (it's not and the value is non-empty).

...which means that an empty list of instructors will now pass as well, won't it? Which shouldn't be allowed. What am I missing?

It won't pass and the test for that was added in this PR.

Thanks - I shouldn't read code this early in the morning. :+1: to merge

thanks for the fix.


Selecting an item in a ListView

I am trying to integrate a ListView in a testcase and must therefore select a specific item from the list.
Does selendroid has something like scroll_to like Appium has?

I have tried to use
WebElement pages = driver.findElement(By.id("conditionQuestionOptionTextView"));
TouchActions singleTap = new TouchActions(driver).singleTap(pages.findElement(By.linkText("I have a clean title.")));
but it is not working. This is element of Listview.

Hi,
How can i select single option from listview using selendroid. It would be great if anyone help me!!
I have tried with following...
WebElement frameElement = driver.findElement(By.linkText("Firstname."));
WebElement listView = frameElement.findElement(By.tagName("ListView"));
List elements = listView.findElements(By.linkText("Firstname."));
Thanks in advance...


Inputs with addons (aka input group in bootstrap)

From @astec on November 19, 2015 13:56
Is it possible or planned to have inputs with addons like in bootstrap?
http://v4-alpha.getbootstrap.com/components/input-group/#button-addons
For example I want to have an "amount" input with a button that changes currency (either dropdown or a modal).
<ion-input>
  <ion-label>Amount</ion-label>
  <input type="number">
  <button right>USD</button>
</ion-input>

I think it is a must have. Miss them a lot.
Copied from original issue: driftyco/ionic2#590

Should be working improved in latest versions


Replace DataTable component

The Lisence of the current table isn't friendly. We should either implement our own or find an alternative this needs:

Custom columns
Selection
Search
Filtering
Sorting by column
Resizable columns would be nice
Some support for smaller screen sizes

We have chosen react-table.
Tasks:

[x] Implement table
[x] Implement selection
[x] Implement search
[ ] Implement filtering
[x] Implement column sorting
[ ] Implement a responsive layout
[ ] Implement some form of pagination or virtualization

Unimplemented tasks to be handled as new issues


APT source whitelist request for ppa:texlive-backports/ppa

This replaces travis-ci/travis-ci#4295.
The original text by @davidsan follows

ppa:texlive-backports/ppa
This allows the installation of a more recent version of TeX Live in Ubuntu 12.04 container.
https://launchpad.net/~texlive-backports/+archive/ubuntu/ppa

I would love to see this added, as the current TeX support is ancient :+1:

+1

+1 for adding support for newer versions of Texlive on precises as well

+1

+1 I need a new version of Texlive to test my library PyLaTeX

+1 for a XeLaTeX build.

+1, needed for mw-ocg-latexer, which Wikimedia uses to create PDFs.

+1 to this ppa

:+1: I need this ppa!

I'm now rather curious, actually, if there's something problematic about this request? (The few other whitelist requests I have made or +1'ed all happened promptly.)

Well, there are 132 open requests, and this PPA contains a rather staggering amount of stuff to review.  (Even though most of the packages here are probably TeX-only files, the travis reviewer presumably needs to require the actual packaging to verify that nothing nasty is going on in the install scripts.)

:+1:, needed for testing Agda documentation.

Blocking https://github.com/agda/agda/issues/1966.

This is still needed (or a newer Ubuntu version in the container-based infrastructure).

+1

FYI, by using The Trusty beta Build Environment you get the following versions:
$ latex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)

$ xelatex --version
XeTeX 3.1415926-2.5-0.9999.3-2014012222 (TeX Live 2013/Debian)

I get mysterious compilation errors using the version of texlive I can get in the Trusty beta (and they disappear with TeX Live 2016). Please whitelist!


2023-11-17 — 1 new commit(s) made to reference.md in Google Transit's repo

Commit Nº 1
AUTHOR × DATE

Sergio Delgado Rodriguez ( Sergiodero )
November 16, 2023   @   03:06 PM ETC (08:06 PM UTC)

MESSAGE
Best practices: adding Dataset Publishing guidelines and Practice Recommendations for all files (#406)
* BP merge second iteration
Incorporating the following Best Practices into the GTFS Reference document:
- Dataset Publishing & General Practice guidelines
- Practice Recommendations for all files
* BP merge second iteration update
Moving Dataset Publishing & General Practice guidelines before Field Definitions section.
Merging File Recommendations with File Requirements section.
* Update revision date in reference.md
Updated revision date to Nov 16, 2023

FILES CHANGED

https://github.com/google/transit/commit/8268169a5f565e47ab9f965366ce44bd42959f2e

https://github.com/google/transit/commit/8268169a5f565e47ab9f965366ce44bd42959f2e

Wow!
Would be even better if the label "Needs triage" was automatically applied 😄

In the case of this PR, we already have two notices for these spec recommendations:

mixed_case_recommended_field
expired_calendar

The GTFS validator documentation References section should be updated to point to the GTFS Schedule reference file now instead of Best Practices.


fix: as env var

Makes the default polling default to an env var

:tada: This PR is included in version 1.4.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve Coverage

This is very much a todo item. As of commit 72498fe code coverage for the current test suite is hovering just above 50%. This needs to be 95% at least.
Todo:

List which parts of the parser and AST constructor are not being hit.
Write tests for those parts.

Getting there, now upto 56% on coveralls, despite what the badge says.

57%!

Coverage now at 64% now the SPARC tests are included.


EagerPreload not loading same associations as Eager

Description
In testing out the new EagerPreload functionality, I noticed two scenarios where associations did not appear to be populated with EagerPreload but were populated with Eager:

Fetching a belongs_to association for an optional field when it's represented as a pointer (if represented as one of the nulls types, it works fine).
Fetching more than one nested belongs_to association at the same level results in only the last one being populated.

Steps to Reproduce the Problem
Here's an example query and the relevant part of the model.
The first problem noted above seems to be triggered by the pointer UUID fields.  After I changed those to nulls.UUID that problem went away, but the second problem above emerged.
Expected Behavior
I expected EagerPreload would result in the same associations being loaded as Eager.
Actual Behavior
Some associations did not appear to load.
Info
Mac OS X Catalina, Postgres, latest Pop development branch, and not using through Buffalo.

Excuse me for intrusion into your issue, but I can add, that EagerPreload not loading many-to-many relations. Killed one day to find it out. Ended with creating new project with Users and Addresses models from documentation and it worked. But not when I switched to EagerPreload mode.
Mac OS X Mojave and MySQL. Using through Buffalo.

#602 is merged

#602 is merged


Fix typos in DG and add missing use cases

Codecov Report
Base: 75.65% // Head: 75.72% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (e014bb9) compared to base (50fe914).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #327      +/-   ##
============================================
+ Coverage     75.65%   75.72%   +0.07%
- Complexity      721      727       +6
============================================
  Files           108      108
  Lines          2066     2072       +6
  Branches        256      256
============================================
+ Hits           1563     1569       +6
  Misses          439      439
  Partials         64       64

Impacted Files
Coverage Δ

src/main/java/tuthub/model/ModelManager.java
98.21% <0.00%> (+0.06%)
:arrow_up:

.../main/java/tuthub/model/tutor/UniqueTutorList.java
93.02% <0.00%> (+0.34%)
:arrow_up:

src/main/java/tuthub/model/Tuthub.java
92.30% <0.00%> (+0.64%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Automated cherry pick of #168: 优化scheduler缓存 #380: fix: scheduler sku cache stale when region sync sku finished

Cherry pick of #168 #380 on release/2.8.0.
#168: 优化scheduler缓存
#380: fix: scheduler sku cache stale when region sync sku finished

/cc @ioito @yousong

/approve
/lgtm


[TF-TRT] Export TRT engines to filesystem

If the environment variable TF_TRT_EXPORT_TRT_ENGINES_PATH is set, then save generated TRT engines to this path. The dimensions of inputs to engines will also be saved along with the engines. These files can then be analyzed using TRT specific debug tools.
CC: @DEKHTIARJonathan @cliffwoolley @tfeher @bixia1

Thanks for replacing absl:: with std::. Please squash the commits.


Failing to run near-cli to obtain a public key for my Ledger wallet

Describe the bug
Unable to run near-cli to obtain a public key for my Ledger wallet
To Reproduce
near generate-key [account-id]

generate key or show key from Ledger

Options:
--help Show help [boolean]
--version Show version number [boolean]
--nodeUrl, --node_url NEAR node URL [string] [default: "https://rpc.testnet.near.org"]
--networkId, --network_id NEAR network ID, allows using different keys based on network [string] [default: "default"]
--helperUrl NEAR contract helper URL [string]
--keyPath Path to master account key [string]
--accountId, --account_id Unique identifier for the account [string]
--useLedgerKey Use Ledger for signing with given HD key path [string] [default: "44'/397'/0'/0'/1'"]
--seedPhrase Seed phrase mnemonic [string]
--seedPath HD path derivation [string] [default: "m/44'/397'/0'"]
--walletUrl Website for NEAR Wallet [string]
--contractName Account name of contract [string]
--masterAccount Master account used when creating new accounts [string]
--helperAccount Expected top-level account for a network [string]
--verbose, -v Prints out verbose output [boolean] [default: false]

Error: Cannot find module '@ledgerhq/hw-transport-node-hid'
Require stack:

*   /usr/local/lib/node_modules/near-cli/middleware/ledger.js
*   /usr/local/lib/node_modules/near-cli/bin/near-cli.js
*   /usr/local/lib/node_modules/near-cli/bin/near
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
    at Function.Module._load (internal/modules/cjs/loader.js:686:27)
    at Module.require (internal/modules/cjs/loader.js:848:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at useLedgerSigner (/usr/local/lib/node_modules/near-cli/middleware/ledger.js:12:43)
    at /usr/local/lib/node_modules/near-cli/node_modules/yargs/build/lib/middleware.js:44:62
    at processTicksAndRejections (internal/process/task_queues.js:94:5) { code: 'MODULE_NOT_FOUND', requireStack: [ '/usr/local/lib/node_modules/near-cli/middleware/ledger.js', '/usr/local/lib/node_modules/near-cli/bin/near-cli.js', '/usr/local/lib/node_modules/near-cli/bin/near' ] }

   ```

***Expected behavior***
Following this tutorial I should be able to run near-cli to create my public key. [https://docs.near.org/docs/tokens/token-custody#cli-recommended-for-developers-and-validators](https://docs.near.org/docs/tokens/token-custody#cli-recommended-for-developers-and-validators)

***Desktop (please complete the following information):***

*   OS: Ubuntu 18.04.5 LTS
*   near --version 1.1.0
*   @ledgerhq/hw-transport-node-hid 5.25.0 (installed through [https://www.npmjs.com/package/@ledgerhq/hw-transport-node-hid](https://www.npmjs.com/package/@ledgerhq/hw-transport-node-hid))
*   Ledger Wallet X, near version 1.1.3

***Additional context***
It's my preferable option to generate the public key requested by the NEAR Foundation to claim my NEAR tokens. Thank you in advance.

Usually, this is issue with old node.
You want to switch to node v12 and reinstall near-cli

Sorry I forgot to mention.
nvm version v12.14.1

Trying to run the command with sudo and the verbose is:
/usr/local/lib/node_modules/near-cli/node_modules/uuid/dist/esm-browser/index.js:1
export { default as v1 } from './v1.js';
^^^^^^

SyntaxError: Unexpected token 'export'
    at wrapSafe (internal/modules/cjs/loader.js:1053:16)
    at Module._compile (internal/modules/cjs/loader.js:1101:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/near-cli/utils/eventtracking.js:9:14)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

@mrkimchi this is very interesting and odd. I see in the stack trace there's eventtracking.js and I know the uuid module is used there and I doubt it's used in the generate-key command. This makes me wonder whether or not it's related to that command. Could you please try running an unrelated command for me?
near state mike.testnet
I want to see if the same behavior happens. Thanks so much for reporting

This is really weird error, but it seems like the cause is updating node in place doesn't work very well.
We had someone else report the same error and their fix was to remove all module and nodejs and reinstall again: rm -rf /usr/local/lib/node_modules/ /usr/lib/node_modules/

Going to see if this issue persists. If we don't see movement here will intend to close in a week or so.

Going to see if this issue persists. If we don't see movement here will intend to close in a week or so.

Experiencing this same issue too, within a singe shell login. First the command works, then it stops to work with same output


Fix button in Reading Therapy Page

Align the read button in center like others and remove the buttons of Child Therapy and Spiritual Therapy from this particular card.

Folks who want to take up this issue, comment below.

Hey, I'd like to contribute to this


Cannot install latest version

Issue Summary
Hi there, on OS X 10.11, cannot get current version to install. Running the commands to install to directory gem install neat followed by neat install and all appears normal. Messages even says "fetching 2.0.0" etc, however once installed the files appear to be from version 1.7.2
Commands and messages for install

Files that show up post install

What am I possibly messing up here lol.
Thank you.

I’m unable to reproduce. Have you tried uninstalling all versions of the Neat gem (gem uninstall neat) and reinstalling? What is the output when you run neat -v?

Sorry I meant to close this. I have no idea what the problem was, do terminals "cache"? I did do the uninstall and reinstall twice. Finally opened a new terminal window to try a different directory and it worked proper. I the cd back to working directory and it installed proper. So confused.

No worries. I do think RubyGems does some caching. Perhaps you had 2.0 installed, but the CLI didn't catch onto it for some reason…
Glad you got it working!


[network] add jitter to dials

We schedule the dials in the future, but we schedule them all one after
another.  Therefore, when they all start up at the same time they
conflict with each other.  Adding jitter should allow them to run in
parallel and be less likely of stepping on top of each other.

@bors-libra r=phlip9

:exclamation: Invalid command

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Cancel
cancel, stop
stop an in-progress land

Help
help, h
show this help message

Priority
priority
set the priority level for a PR (high, normal, low)

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

/land

:broken_heart: Test Failed - Build images and run cluster test

/land
This failure in land blocking is KP


Potential NPE in PebbleException

PebbleException allows a null line number. However, when getLineNumber is called, it assumes the Integer field is non-null and may fail with NPE trying to convert it to int https://github.com/PebbleTemplates/pebble/blob/8f011d3402dacf7555e1240245287cd55586da23/src/main/java/com/mitchellbosecke/pebble/error/PebbleException.java#L39
Proposed solution: changed int to Integer

Fixed in next release


Bump to 2.66.3 and add myself as maintainer

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Will have to look into this tomorrow on my MacBook.

@isuruf Could you take a look at the OSX ARM64 build failure? Thanks!

Thanks for the fix @isuruf!
Can someone merge this PR in please? Thanks!


Estuary creates an events table on startup

Summary: As Dave the developer I would like to have a table in a database to store the events into so that I don't run out of memory storing events.
AC:

[ ] Table is only accessible to privileged users
[x] Table exists and has proper columns
[x] All dataset top level fields are their own column

We should create a new card for "Table is only accessible to privileged users" and should be played after CD.

Card created for first AC, https://github.com/smartcitiesdata/smartcitiesdata/issues/369


Pre Release

It works great all features work I'm not sure if the recently played Colored name is supposed to just be on their Chest name not the scoreboard but besides that everything is good. 😄

Okay

Please do more test if possible, there's possibility for more glitches. Try to switch rooms many times etc

idk is its because i have a shity pc but when ever i join a lobby it just start freezing every 2 seconds

Please do more test if possible, there's possibility for more glitches. Try to switch rooms many times etc

idk is its because i have a shity pc but when ever i join a lobby it just start freezing every 2 seconds

Its just you


Calling Stripe's API from within a UI extension

Your Problem
Is it possible to call Stripe APIs from within a UI extension, on behalf of the user, without needing to specify my secret key (e.g. publishable key) or do I always need to have a backend API if I want to make requests to Stripe.
There are examples in the docs of doing this but it's not clear whether the STRIPE_API_KEY value is injected automatically?
Existing Documentation URLs (If applicable)
https://stripe.com/docs/stripe-apps/build-ui#code-sample-update-customer-name

Hey @benfoster, yes, what you're describing is possible. The STRIPE_API_KEY value is injected automatically when you import it from the UI Extension SDK:
import {STRIPE_API_KEY} from '@stripe/ui-extension-sdk/http_client';

I'll close this issue for now, but if your problem isn't solved feel free to comment here and we can reopen it.


add pypi release pipeline

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   95.15%   95.15%
=======================================
  Files          46       46
  Lines         847      847
=======================================
  Hits          806      806
  Misses         41       41

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 398b0a5...bb588a4. Read the comment docs.


Example?

Hey there,
neat idea!
While digging through the wiki I figured it would be awesome to have some sort of example platform implemented with this library.
Do you have any code that you'd like to share?
Cheers!

Scratch that.
No idea why I did not see that in your readme :/

Sorry, I have to reopen this since I saw that you only provided some example code for the index.js and the Platform.js.
Is there any example on how you used this to implement a platform with accessories?

Sorry, I have to reopen this since I saw that you only provided some example code for the index.js and the Platform.js.
Is there any example on how you used this to implement a platform with accessories?

This is still very much work in progress.  You might want to check the 1.0 branch of homebridge-hue, but that is only functional for discovering the bridge(s) and creating users - no accessories for lights or sensors yet.

Perfect. Thanks!


Speed up CI with go test cache

Investigate how we could speed up our CI leveraging the new test caching feature.
In theory it should allow us to only run the tests that were impacted by the code changes of a specific PR.

Done with the migration to semaphore 2


Fix bug in _set() method

When getting the default_timeout from BaseCache it set the proper value, but it has been overwritten by line #65.

Are you sure this is a bug? You have any tests for this? We do have a suite in which you can add the according tests.

Yes, it is. It's used in production (vendored) this way since 2 years.


Remove extra span (code by aachurin)

Hi,
Please refer to changes suggested here:
https://github.com/rubenv/angular-gettext/issues/191#issuecomment-183202556
This update removes the extra span added by angular-gettext (which seems to break many sites).
P.S. This is not my code. I've just merely added the code suggested by @aachurin in directive.js.

Any updates on this PR?


Add dependabot rules

cc @tariq1890 @shivamerla

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.492%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1048

Relevant Lines:
1426

💛  - Coveralls


proposed fix for issue #441

Hi @catenamatteo thanks for your contribution! Looking forward to lots more!


HIE bursts into flames every time I upgrade GHC

It seems like the way HIE is designed currently, every time I upgrade GHC (on Manjaro Linux), HIE immediately stops working, and it's often impossible to get it working again because (1) downgrading GHC is not practical without a full system rollback, which is not always an option, and (2) even if I edit the PKGBUILD to add support for the new GHC version, it seems that a specific YAML file must be included for every GHC version, so the build fails.
This is really, really bad user experience. Why does HIE need to treat even patch releases of GHC as breaking changes? And how can I work around the problem as a poor user who just wants his Haskell autocompletions to work? To be concrete: currently the latest release of GHC is 8.8.3, but the latest supported version by HIE is 8.8.2. How can I get things running again?
Am I missing something really obvious about how HIE/Stack/GHC are supposed to work? If so, I apologize. The concept of a piece of software becoming completely nonfunctional due to a patch release is foreign to me.

Build products produced by different GHC versions (including patch releases) are incompatible. It is nothing in particular to do with haskell-ide-engine. You have to build haskell-ide-engine with the same version as you use for your project. There is no way around this and there likely never will be.
I would advise that you don't upgrade GHC until all the projects you depend on support it.

I am sorry, but in a rolling-release distribution, it is not really feasible to pin GHC (or at least the last time I tried it, I started getting dynamic linker errors everywhere). I am fine with needing to rebuild haskell-ide-engine with the new version of GHC (although it's not ideal), but the build has to actually work -- and it doesn't currently work. Why cannot haskell-ide-engine use a build system that does not need a .yaml file to be manually created for each patch release of GHC? Does GHC make breaking changes on every patch release beyond simple binary incompatibility, or is there some other reason that manual intervention is required?
Or perhaps alternatively there is some way to tell haskell-ide-engine to use an older (supported) version of GHC via Stack? If so, it would be phenomenal if this important requirement for using haskell-ide-engine were documented prominently, as the out-of-the-box default doesn't work at all.
If my comment comes across as inconsiderate, I am sorry; that is not my intent. I understand that this is a complex project which must suit many purposes and interface with many existing tools. I also understand that it may be that solving the problem I have highlighted would be extremely difficult, and that you as maintainers would prefer to focus on lower-hanging fruit. However, I think it is important to point out that there is a problem, and it's quite bad in terms of user experience (keeping in mind that user experience is largely proportional to adoption of haskell-ide-engine). Even if the problem will not be solved anytime soon.
To other users of haskell-ide-engine: luckily, there is a workaround. Simply build branch ghc-8.8.3 from fork jneira/haskell-ide-engine. On Manjaro Linux, this can be done by editing the PKGBUILD for haskell-ide-engine-git as follows:

change the URL in source to point at the fork
add #branch=ghc-8.8.3 to the end of the URL
edit _enabled_ghc_versions to contain only '8.8.3'

I am sure we could help you in some way but the tone of your issue is not an acceptable way to communicate on an open-source project. What you must understand is that there are many different users with different requirements, and the fact that things do not work perfectly on your environment is not an indication of some fundamental breakage. In this particular case, I suspect the decision taken by arch to only distribute dynamically linked libraries is causing you some of the issues you describe and this decision was taken against the advice of the Haskell community.
If you wish to open a new issue with a more constructive tone then perhaps we can go from there.

I apologize for offending you. If I understand correctly, what bothered you about my comments was that I made the claim that the behavior in this issue report is a problem in HIE. I can sympathize; it can be annoying when somebody else makes claims about something they don't have complete knowledge of. If there is something else that you found objectionable about my comments, please let me know and I would be happy to try to improve. I certainly don't want to be rude.
In any case, since you requested that I create a new issue, that is what I will do.

@mpickering have a bit of patience with the poor haskell devs on arch-based distros :)

in a rolling-release distribution, it is not really feasible to pin GHC

Wrong! I have "pinned" 8.0, through 8.8 (installed in parallel of course) simply by not using the archlinux distro packages, without any issues. That is, I use GHC binary releases, put that on PATH, done. I have not seen linker errors from that.
This is advisable in general ever since https://old.reddit.com/r/archlinux/comments/7hanz7/whats_the_current_state_of_haskell_on_arch/. Not sure about the exact state of things on manjaro, but I expect it to apply.
And I would claim the opposite: When doing development, depending on a rolling-release dev environment is not feasible. Expecting support for that is a tall order.
And once you realise that even that kind of setup is too dynamic, feel free to try nix(os).

See https://github.com/haskell/haskell-ide-engine/issues/1721#issuecomment-609847125 for how I solved the issue.


Dashboard Remove image button not working

Describe the bug
when we try to remove the image using the remove button on the dashboard it doesn't work.
To Reproduce
Steps to reproduce the behavior:

Go to 'circuitverse.org'
Click on 'login and enter credentials'
Click on 'dashboard and then go to edit detail '
Try to use the remove image button after adding an image.
See an error

Expected behavior
the button should remove the image
Screenshots
user-unknown---Circuits.webm
Device Information [optional]:

OS: window
Browser : brave

Are you working on this issue?
Yes

https://github.com/CircuitVerse/CircuitVerse/pull/3447

#3447

https://github.com/CircuitVerse/CircuitVerse/pull/3447#issue-1514491180


fix search postion

Please makes sure the items are checked before submitting your PR, thank you!

[x] Rebase before creating a PR to keep commit history clear.
[x] Only One commit
[x] No eslint errors

Codecov Report

Merging #2054 into v2 will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##             v2   #2054   +/-   ##
====================================
  Coverage   6.3%    6.3%
====================================
  Files       143     143
  Lines      4744    4744
  Branches    539     539
====================================
  Hits        299     299
  Misses     4444    4444
  Partials      1       1

Impacted Files
Coverage Δ

src/components/search/index.vue
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27ecc64...5b8370f. Read the comment docs.


Nameless Symbols

Currently each symbol is identified by a string as an instance of Expr class with the string as its 'op'. This is useful for storing and representing single symbols, but makes it harder to have an array or dictionary of symbols. One approach to solve this would be to make all the symbols nameless and only referable through their object. With this we can just call Expr(None) to create a new symbol. Should this be implemented or should we stick to the named Symbols. The drawback of named symbols is that we need to name it and there are limitations to what character can be present in the name. We can use sequential counters to name the symbols but then the names wouldn't make sense and it is better if a different hidden hash was used.

In Lisp, there used to be a function called gensym that generated a new symbol with a unique name. We could do that, with successive calls to gensym() returning symbols with names s_0, s_1, s_2, ... It is true that the name is not meaningful, but the name does serve to distinguish the symbol from other symbols.

I used a similar function to solve this, but I was thinking it would be better if the Expr class did this internally when we donot mention any name.


Change $authors$ to $author$

This seems to fix my issue while creating a NuGet package.

OPS Build status updates of commit 03b64e1:
:clock10: Preparing: average preparing time is 40 sec(s)

OPS Build status updates of commit 03b64e1:
:clock10: Incremental building: average incremental building time is 21 sec(s)

OPS Build status updates of commit 03b64e1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/nuspec.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


WIP: Certora/fixed point unit tests

Task: Feature Name:
High Level Description
Specific Changes
Function x was added ...
Code

[ ] Unit test 100% coverage
[ ] Does your code follow the naming and code documentation guidelines?

Documentation

[ ] Is your code up to date with the spec?
[ ] Have you added your tests to the testing doc?

Closing this as Certora specs merged in #331

Closing this as Certora specs merged in #331


add confirmation flags to endpoints

Just wanted to add this to make a confirmation flag merge easier for you @josecelano . Thanks!

Thank you @acityinohio

Hi @acityinohio I 've just realized there are some more flags pending to add, for exmple:

AddressClient::getBalance: omitWalletAddresses
AddressClient::get: includeScript
WalletCLient::addAddresses: omitWalletAddresses
WalletClient::getWalletAddresses: used, zerobalance
WalletClient::deriveAddress: count, subchain_index (NOT IMPLEMENTED YET)
TXClient::create: includeToSignTx


Add third class to the port input [Fixes #446]

Adding this class makes it so the input has a defined width.
Fixes znc/znc#446

You didn't add a class, you changed the type to something invalid.

Thanks I fixed that


feat: asynchronous scene load

Moved all code related to Scene loading to SceneLoader file
Load can be done either synchronous or asynchronous
User can set a callback which will be invoked when loading process finishes

There are merge conflicts 👀