[Application graph] data doesnt reflect correctly in graph for some data

deploy below bicep and check for correctness
import radius as radius

@description('Specifies the environment for resources.')
param environment string

@description('The ID of your Radius Application. Automatically injected by the rad CLI.')
param application string

// The backend container that is connected to the Dapr state store
resource backend 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'backend'
  properties: {
    application: application
    container: {
      // This image is where the app's backend code lives
      image: 'ghcr.io/radius-project/samples/dapr-backend:latest'
      ports: {
        orders: {
          containerPort: 3000
        }
      }
    }
    connections: {
      orders: {
        source: stateStore.id
      }
      subscribers: {
        source: messageQueue.id
      }
      gateway: {
        source: gateway.id
      }
    }
    extensions: [
      {
        kind: 'daprSidecar'
        appId: 'backend'
        appPort: 3000
      }
    ]
  }
}

resource messageQueue 'Applications.Messaging/rabbitMQQueues@2023-10-01-preview' = {
  name: 'messageQueue'
  properties: {
    environment: environment
    application: application
  }
}

resource uiCache 'Applications.Datastores/redisCaches@2023-10-01-preview' = {
  name: 'uiCache'
  properties: {
    environment: environment
    application: application
  }
}

// The Dapr state store that is connected to the backend container
resource stateStore 'Applications.Dapr/stateStores@2023-10-01-preview' = {
  name: 'statestore'
  properties: {
    // Provision Redis Dapr state store automatically via the default Radius Recipe
    environment: environment
    application: application
  }
}

// The frontend container that serves the application UI
resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'frontend'
  properties: {
    application: application
    container: {
      // This image is where the app's frontend code lives
      image: 'ghcr.io/radius-project/samples/dapr-frontend:latest'
      env: {
        // An environment variable to tell the frontend container where to find the backend
        CONNECTION_BACKEND_APPID: 'backend'
        // An environment variable to override the default port that .NET Core listens on
        ASPNETCORE_URLS: 'http://*:8080'
      }
      // The frontend container exposes port 8080, which is used to serve the UI
      ports: {
        ui: {
          containerPort: 8080
        }
      }
    }
    connections: {
      cookies: {
        source: uiCache.id
      }
      gateway: {
        source: gateway.id
      }
    }
    // The extension to configure Dapr on the container, which is used to invoke the backend
    extensions: [
      {
        kind: 'daprSidecar'
        appId: 'frontend'
      }
    ]
  }
}

resource gateway 'Applications.Core/gateways@2023-10-01-preview' = {
  name: 'gateway'
  properties: {
    application: application
    // The gateway routes traffic from the frontend to the backend
    routes: [
      {
        path: '/frontend'
        destination: 'http://frontend:8080'
      }
      {
        path: '/backend'
        destination: 'http://backend:3000'
      }
    ]
  }
}

resource emailer 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'emailer'
  properties: {
    application: application
    container: {
      image: 'ghcr.io/radius-project/samples/dapr-backend:latest'
    }
    connections: {
      subscribers: {
        source: messageQueue.id
      }
    }
  }
}

AB#10898

This might be fixed by https://github.com/radius-project/radius/pull/7063 cc/ @willdavsmith @nithyatsu


[disregard] testing github email replies

This is a test of how to use email correctly with github.
A code block

some quoted text

This is a test of how to use email correctly with github.

Quoting you.
Will this be code because I indented it?

Will this be in the same block?

How about with two spaces
Just two of them


Failed to start plugin matterbridge-zigbee2mqtt: Error: Only supported EndpointInterface implementation is Endpoint

Hi,
as soon as I correctly configured the MQTT server connection, matterbridge-zigbee2mqtt seems to load the devices to crash directly afterwards.
Unfortunately I don’t have a clue what I have to do.
Can you support me? Do I have to blacklist some devices types or something because these are not supported yet? Which? In the FAQ it seemed, that there shouldn’t be a problem with any type of device, right?
Thanks in advance for your support.
matterbridge version: 1.4.1
z2m v2.1.9
Log:
info - [17:46:36.634] [PluginManager]: Loading plugin matterbridge-zigbee2mqtt type
info - [17:46:37.894] [Matterbridge zigbee2mqtt plugin]: Initializing platform: matterbridge-zigbee2mqtt v
info - [17:46:37.894] [Matterbridge zigbee2mqtt plugin]: Loaded zigbee2mqtt parameters from /root/.matterbridge/matterbridge-zigbee2mqtt.config.json:
info - [17:46:37.895] [Matterbridge zigbee2mqtt plugin]: Connecting to MQTT broker: mqtt://<IP_ADDRESS>:1883
notice - [17:46:37.937] [PluginManager]: Loaded plugin matterbridge-zigbee2mqtt type DynamicPlatform (entrypoint /usr/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js)
info - [17:46:37.938] [PluginManager]: Starting plugin matterbridge-zigbee2mqtt type DynamicPlatform
info - [17:46:37.938] [Matterbridge zigbee2mqtt plugin]: Starting zigbee2mqtt dynamic platform v2.1.9: Matterbridge is starting
info - [17:46:37.943] [Matterbridge zigbee2mqtt plugin]: MQTT broker at <IP_ADDRESS>:1883 connected
info - [17:46:37.949] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT is online
info - [17:46:37.951] [Matterbridge zigbee2mqtt plugin]: MQTT broker at <IP_ADDRESS>:1883 subscribed to: zigbee2mqtt/#
info - [17:46:37.954] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT version 1.39.0 zh version 0.50.1 zhc version 19.62.0
info - [17:46:37.969] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT sent 42 devices
info - [17:46:37.971] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT sent 1 groups
info - [17:46:37.975] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT device Rollos Büro Iris is online
info - [17:46:37.990] [Matterbridge]: The plugin matterbridge-zigbee2mqtt is up to date. Current version: 2.1.9, Latest version: 2.1.9
info - [17:46:39.441] [Matterbridge zigbee2mqtt plugin]: Registering 42 devices
error - [17:46:39.516] [PluginManager]: Failed to start plugin matterbridge-zigbee2mqtt: Error: Only supported EndpointInterface implementation is Endpoint
error - [17:46:39.666] [Matterbridge]: The plugin matterbridge-zigbee2mqtt is in error state.
error - [17:46:39.666] [Matterbridge]: The bridge will not start until the problem is solved to prevent the controllers from deleting all registered devices.
error - [17:46:39.667] [Matterbridge]: If you want to start the bridge disable the plugin in error state and restart.

Got the same error, hope this helps:

[10:26:32.626] [Matterbridge zigbee2mqtt plugin]: Registering device Spüle ID: 0xa4c1381a9857f735
debug - [10:26:32.626] [Spüle]: Created MatterEntity: Spüle
debug - [10:26:32.626] [Spüle]: Device Spüle endpoint: type: light property: state => deviceType: MA-onofflight cluster: 6 attribute: onOff
debug - [10:26:32.627] [MatterbridgeDevice]: new MatterbridgeDevice with deviceType: 256-MA-onofflight
debug - [10:26:32.628] [Spüle]: new BridgedBaseDevice Spüle
debug - [10:26:32.628] [Spüle]: - with deviceType: 256-MA-onofflight
debug - [10:26:32.628] [Spüle]: - with cluster: 3-Identify
debug - [10:26:32.628] [Spüle]: - with cluster: 4-Groups
debug - [10:26:32.628] [Spüle]: - with cluster: 6-OnOff
debug - [10:26:32.628] [Spüle]: - with cluster: 6-OnOff
debug - [10:26:32.629] [Spüle]: addDeviceType: 19-MA-bridgedNode
debug - [10:26:32.644] [Spüle]: addDeviceType: 17-MA-powerSource
debug - [10:26:32.645] [Spüle]: Device Spüle endpoint: type: light property: brightness => deviceType: MA-dimmablelight cluster: 8 attribute: currentLevel
debug - [10:26:32.645] [Spüle]: addDeviceTypeAndClusterServer
debug - [10:26:32.645] [Spüle]: - with deviceType: 257-MA-dimmablelight
debug - [10:26:32.646] [Spüle]: addDeviceType: 257-MA-dimmablelight
debug - [10:26:32.646] [Spüle]: - with cluster: 3-Identify
debug - [10:26:32.646] [Spüle]: - with cluster: 4-Groups
debug - [10:26:32.646] [Spüle]: - with cluster: 6-OnOff
debug - [10:26:32.646] [Spüle]: - with cluster: 8-LevelControl
debug - [10:26:32.646] [Spüle]: - with cluster: 8-LevelControl
debug - [10:26:32.647] [Spüle]: Device Spüle transition is supported
debug - [10:26:32.647] [Matterbridge]: Adding bridged device Spüle (MA-onofflight) for plugin matterbridge-zigbee2mqtt
error - [10:26:32.648] [PluginManager]: Failed to start plugin matterbridge-zigbee2mqtt: Error: Only supported EndpointInterface implementation is Endpoint
debug - [10:26:33.092] [Matterbridge]: Cleared startMatterInterval interval for Matterbridge for plugin in error state
error - [10:26:33.092] [Matterbridge]: The plugin matterbridge-zigbee2mqtt is in error state.
error - [10:26:33.092] [Matterbridge]: The bridge will not start until the problem is solved to prevent the controllers from deleting all registered devices.
error - [10:26:33.092] [Matterbridge]: If you want to start the bridge disable the plugin in error state and restart.

Hi,
I would try to put Spüle in the black list...
but honestly I also have the doubt that using that character in the name could also create the issue... try also renaming it.
Then I would like to solve the problem in the plugin to either reject the device or adding it correctly.
Update me as soon as you understand the issue.
In HOME\Matterbridge\matterbridge-zigbee2mqtt there are 3 files starting with bridge, can you send all of them please so I try to understand the issue.
Thanks.

Hi,
unfortunately I didn’t find the log directory so far with my baby on the arm. :) But I’ve enabled debug again and here are again some frontend logs:
Plugins - Enabling plugin: matterbridge-zigbee2mqtt
debug - [08:37:02.765] [Matterbridge]: The frontend sent /api/command/enableplugin/matterbridge-zigbee2mqtt
debug - [08:37:02.765] [Matterbridge]: Received frontend command: enableplugin:matterbridge-zigbee2mqtt
info - [08:37:02.765] [PluginManager]: Enabled plugin matterbridge-zigbee2mqtt
debug - [08:37:02.766] [PluginManager]: Saved 1 plugins to storage
info - [08:37:02.766] [PluginManager]: Loading plugin matterbridge-zigbee2mqtt type DynamicPlatform
debug - [08:37:02.767] [PluginManager]: Importing plugin matterbridge-zigbee2mqtt from file:///usr/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js
debug - [08:37:02.767] [PluginManager]: Imported plugin matterbridge-zigbee2mqtt from file:///usr/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js
debug - [08:37:02.770] [PluginManager]: Loaded config file /root/.matterbridge/matterbridge-zigbee2mqtt.config.json for plugin matterbridge-zigbee2mqtt.
debug - [08:37:02.770] [Matterbridge zigbee2mqtt plugin]: MatterbridgeDynamicPlatform loaded
info - [08:37:02.770] [Matterbridge zigbee2mqtt plugin]: Initializing platform: matterbridge-zigbee2mqtt v
info - [08:37:02.770] [Matterbridge zigbee2mqtt plugin]: Loaded zigbee2mqtt parameters from /root/.matterbridge/matterbridge-zigbee2mqtt.config.json:
debug - [08:37:02.771] [Zigbee2MQTT]: Created new instance with host: <IP_ADDRESS> port: 1883 topic: zigbee2mqtt username: loxberry password: *****
info - [08:37:02.771] [Matterbridge zigbee2mqtt plugin]: Connecting to MQTT broker: mqtt://<IP_ADDRESS>:1883
debug - [08:37:02.771] [Zigbee2MQTT]: Starting connection to mqtt://<IP_ADDRESS>:1883...
debug - [08:37:02.772] [Matterbridge zigbee2mqtt plugin]: Created zigbee2mqtt dynamic platform
debug - [08:37:02.772] [Zigbee2MQTT]: Data directory /root/Matterbridge/matterbridge-zigbee2mqtt created successfully.
debug - [08:37:02.773] [PluginManager]: Loaded schema file /usr/lib/node_modules/matterbridge-zigbee2mqtt/matterbridge-zigbee2mqtt.schema.json for plugin matterbridge-zigbee2mqtt.
debug - [08:37:02.773] [PluginManager]: Schema file /root/.matterbridge/matterbridge-zigbee2mqtt.schema.json to delete not found.
notice - [08:37:02.773] [PluginManager]: Loaded plugin matterbridge-zigbee2mqtt type DynamicPlatform (entrypoint /usr/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js)
info - [08:37:02.773] [PluginManager]: Starting plugin matterbridge-zigbee2mqtt type DynamicPlatform
info - [08:37:02.774] [Matterbridge zigbee2mqtt plugin]: Starting zigbee2mqtt dynamic platform v2.1.9: The plugin has been enabled
debug - [08:37:02.774] [Zigbee2MQTT]: Connection established
debug - [08:37:02.774] [Zigbee2MQTT]: Started
info - [08:37:02.774] [Matterbridge zigbee2mqtt plugin]: MQTT broker at <IP_ADDRESS>:1883 connected
debug - [08:37:02.774] [Zigbee2MQTT]: Subscribing topic: zigbee2mqtt/#
info - [08:37:02.776] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT is online
debug - [08:37:02.776] [Zigbee2MQTT]: Message bridge/state online => true
debug - [08:37:02.776] [Zigbee2MQTT]: Subscribe success on topic: zigbee2mqtt/#
info - [08:37:02.776] [Matterbridge zigbee2mqtt plugin]: MQTT broker at <IP_ADDRESS>:1883 subscribed to: zigbee2mqtt/#
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info availability => false
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info version => 1.39.0
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info permit_join => true timeout => 0
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info advanced.output => json
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info advanced.legacy_api => false
debug - [08:37:02.777] [Zigbee2MQTT]: Message bridge/info advanced.legacy_availability_payload => false
info - [08:37:02.778] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT version 1.39.0 zh version 0.50.1 zhc version 19.62.0
info - [08:37:02.785] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT sent 42 devices
debug - [08:37:02.786] [Zigbee2MQTT]: Received 42 devices
info - [08:37:02.786] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT sent 1 groups
debug - [08:37:02.786] [Zigbee2MQTT]: Received 1 groups
debug - [08:37:02.786] [Zigbee2MQTT]: Message topic: zigbee2mqtt/bridge/definitions
info - [08:37:02.786] [Matterbridge zigbee2mqtt plugin]: zigbee2MQTT device Rollos Büro Iris is online
debug - [08:37:02.787] [Zigbee2MQTT]: Successfully wrote to /root/Matterbridge/matterbridge-zigbee2mqtt/bridge-info.json
debug - [08:37:02.788] [Zigbee2MQTT]: Successfully wrote to /root/Matterbridge/matterbridge-zigbee2mqtt/bridge-groups.json
debug - [08:37:02.788] [Zigbee2MQTT]: Successfully wrote to /root/Matterbridge/matterbridge-zigbee2mqtt/bridge-devices.json
debug - [08:37:03.266] [Matterbridge]: The frontend sent /api/settings
debug - [08:37:03.266] [Matterbridge]: WebSocketServer logger local callback: inactive
debug - [08:37:03.266] [Matterbridge]: WebSocketServer logger global callback: active
debug - [08:37:03.267] [Matterbridge]: The frontend sent /api/plugins
info - [08:37:04.276] [Matterbridge zigbee2mqtt plugin]: Registering 42 devices
debug - [08:37:04.276] [Matterbridge zigbee2mqtt plugin]: Registering device Coordinator ID: 0xb43522fffefc2311
debug - [08:37:04.276] [Coordinator]: Created MatterEntity: Coordinator
debug - [08:37:04.277] [MatterbridgeDevice]: new MatterbridgeDevice with deviceType: 10-MA-doorlock
debug - [08:37:04.278] [Coordinator]: new BridgedBaseDevice Coordinator
debug - [08:37:04.278] [Coordinator]: - with deviceType: 10-MA-doorlock
debug - [08:37:04.278] [Coordinator]: - with cluster: 3-Identify
debug - [08:37:04.278] [Coordinator]: - with cluster: 257-DoorLock
debug - [08:37:04.313] [Coordinator]: addDeviceType: 19-MA-bridgedNode
debug - [08:37:04.337] [Coordinator]: addDeviceType: 17-MA-powerSource
debug - [08:37:04.338] [Matterbridge]: Adding bridged device Coordinator (MA-doorlock) for plugin matterbridge-zigbee2mqtt
error - [08:37:04.338] [PluginManager]: Failed to start plugin matterbridge-zigbee2mqtt: Error: Only supported EndpointInterface implementation is Endpoint
error - [08:37:04.338] [PluginManager]: Plugin matterbridge-zigbee2mqtt not started

Hi, I would try to put Spüle in the black list... but honestly I also have the doubt that using that character in the name could also create the issue... try also renaming it. Then I would like to solve the problem in the plugin to either reject the device or adding it correctly. Update me as soon as you understand the issue. In HOME\Matterbridge\matterbridge-zigbee2mqtt there are 3 files starting with bridge, can you send all of them please so I try to understand the issue. Thanks.

I have tried the blacklist, but without success. I think these special characters may be the reason, but in Germany it is not possible to live without them. For me, renaming the devices is not possible, as they are then not addressable in Alexa and have to be renamed individually. And this happens after every restart of Matterbridge, as Alexa then changes the names again.
As a test, I only added the "Couch" device to the whitelist, but without success.

Hi,
in the HOME\Matterbridge\matterbridge-zigbee2mqtt from HOME directory on the machine you run matterbridge, there are 3 files starting with bridge, can you send all of them please so I try to understand the issue.
What do you mean with: So 42 devices are filtered out because they are not on the whitelist. Should this not be 78 because only "Couch" is on the whitelist?
It stops because of the error... I guess.
From the other log I understand you should put the Coordinator in the blackList. But I still need the files to understand and correct the bug.

I'm testing a fix to avoid preventing the plugin to load but still need the files from both of you to solve the issue at the origin of it
Thanks

Here are the files:
bridge-devices.json
bridge-info.json
bridge-groups.json

Will send you mine aprx. tomorrow.

Von: FreAcX @.>
Gesendet: Thursday, August 8, 2024 7:21:29 PM
An: Luligu/matterbridge-zigbee2mqtt @.>
Cc: T @.>; Author @.>
Betreff: Re: [Luligu/matterbridge-zigbee2mqtt] Failed to start plugin matterbridge-zigbee2mqtt: Error: Only supported EndpointInterface implementation is Endpoint (Issue #50)
Here are the files:
bridge-devices.jsonhttps://github.com/user-attachments/files/16551414/bridge-devices.json
bridge-info.jsonhttps://github.com/user-attachments/files/16551415/bridge-info.json
bridge-groups.jsonhttps://github.com/user-attachments/files/16551416/bridge-groups.json
—
Reply to this email directly, view it on GitHubhttps://github.com/Luligu/matterbridge-zigbee2mqtt/issues/50#issuecomment-2276307925, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKEKCEKLUXNZUZDI54IB3TDZQOSJTAVCNFSM6AAAAABMCUQ4L6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGMYDOOJSGU.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks @FreAcX.
I loaded your devices and there is absolutely nothing wrong with them...
Let see tomorrow when you upgrade to the latest what messages you get...
The fix will prevent to put the plugin in error mode.
Tomorrow send me please a complete log from the console not frontend and with plugin in debug mode.

How do you (@tt2g89 @FreAcX) run matterbridge?
Standalone, service, docker or docker compose?
On what machine?

Thanks @FreAcX. I loaded your devices and there is absolutely nothing wrong with them... Let see tomorrow when you upgrade to the latest what messages you get... The fix will prevent to put the plugin in error mode. Tomorrow send me please a complete (starting from when you start matterbridge) log from the console not frontend and with plugin in debug mode.

I'm gonna test it tomorrow and will give you feedback

How do you (@tt2g89 @FreAcX) run matterbridge? Standalone, service, docker or docker compose? On what machine?

LXC via ProxMox, setup by HelperScript from tteck:
https://github.com/tteck/Proxmox/raw/main/ct/matterbridge.sh

Hi,
that script does an installation from GitHub... really bad idea in my opinion.
The official latest is on npm with a build made in a different way.
I would not use that way.
Send me please the systemctrl configuration file so at least I can check is created correctly.
We will see tomorrow with a full log debug.

[2.1.10] - 2024-08-09
Changed

[package]: Updated dependencies.
[logger]: Update mqtt to 5.9.1.

Fixed

[z2m]: Fixed issue: 'Only supported EndpointInterface implementation is Endpoint'.

Thanks for the commit.
I've tested with the HomeAssistant MatterBridge Addon and it's working like a charm.
To be honest, this was also my planned application, but I didn't want to test it on my production system. WAF, you know.
On my LXC implementation it's still not working. Your new version allows MatterBridge to start, but it's not registering the device:
error - [09:49:20.479] [Matterbridge zigbee2mqtt plugin]: Error registering device Couch ID: 0x0017880102235185: Error: Only supported EndpointInterface implementation is Endpoint
I will setup a Debian LXC and install MatterBridge the recommended way.
How do I get the full log debug? You say not from the frontend, but I don't see any other Matterbridge logs.  Standalone, service, docker or docker compose? On what machine?

LXC via ProxMox, setup by HelperScript from tteck: https://github.com/tteck/Proxmox/raw/main/ct/matterbridge.sh

Same on May l my side LXC via Proxmix helper script.
Will also try the HA addon.
@Luligu  could you please add the log paths to your readme? Could be also helpful for the community. 🙂
Thanks for your work! I’m looking forward to test it later.
@FreAcX  thanks to you as well for giving your data to @Luligu!

Installed on a Debian LXC, everything works just as well.
So it really seems to be the implementation of the tteck helperscript.
I think then the issue can be closed as it is not a problem with your implementation.

systemctl configuration from LXC:
root@matterbridge:~# systemctl cat matterbridge.service
# /etc/systemd/system/matterbridge.service
[Unit]
Description=matterbridge
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/npm run start:bridge
WorkingDirectory=/opt/matterbridge
StandardOutput=inherit
StandardError=inherit
Restart=always
RestartSec=10s
TimeoutStopSec=30s
User=root
Environment=PATH=/usr/bin:/usr/local/bin:/opt/matterbridge/bin
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target

This is absolutely wrong!!! Someone should tell them that they release a wrong stuff

Installed on a Debian LXC, everything works just as well. So it really seems to be the implementation of the tteck helperscript. I think then the issue can be closed as it is not a problem with your implementation.

It is absolutely wrong!

Can you open an issue on that stuff, they have either to remove the script or adjust it following the guidelines...

How do you (@tt2g89 @FreAcX) run matterbridge? Standalone, service, docker or docker compose? On what machine?

LXC via ProxMox, setup by HelperScript from tteck: https://github.com/tteck/Proxmox/raw/main/ct/matterbridge.sh

Same on May l my side LXC via Proxmix helper script. Will also try the HA addon. @Luligu could you please add the log paths to your readme? Could be also helpful for the community. 🙂 Thanks for your work! I’m looking forward to test it later. @FreAcX thanks to you as well for giving your data to @Luligu!

In the readme there are the instructions to get the log with systemctrl and doker. If you run it standalone just copy paste from the terminal.
https://github.com/Luligu/matterbridge?tab=readme-ov-file#view-the-log-of-matterbridge-in-real-time-this-will-show-the-log-with-colors
and
https://github.com/Luligu/matterbridge?tab=readme-ov-file#shows-the-logs-real-time-tail

How do you (@tt2g89 @FreAcX) run matterbridge? Standalone, service, docker or docker compose? On what machine?

LXC via ProxMox, setup by HelperScript from tteck: https://github.com/tteck/Proxmox/raw/main/ct/matterbridge.sh

Same on May l my side LXC via Proxmix helper script. Will also try the HA addon. @Luligu could you please add the log paths to your readme? Could be also helpful for the community. 🙂 Thanks for your work! I’m looking forward to test it later. @FreAcX thanks to you as well for giving your data to @Luligu!

In the readme there are the instructions to get the log with systemctrl and doker. If you run it standalone just copy paste from the terminal.
https://github.com/Luligu/matterbridge?tab=readme-ov-file#view-the-log-of-matterbridge-in-real-time-this-will-show-the-log-with-colors
and
https://github.com/Luligu/matterbridge?tab=readme-ov-file#shows-the-logs-real-time-tail

yup, found it. Will open an issue and refer to this issue.
Thx

https://github.com/tteck/Proxmox/discussions/3498


Error when specifying remote for uploading packages

The documentation states that a remote can be specified, and shows an example on how to do it; however, the example gives me an error:
Traceback (most recent call last):
File "example.py", line 6, in <module>
    builder.upload_packages("mypackage/1.2.3@user/testing", "myconanserverpassword", remote="mycustomserver")
TypeError: upload_packages() got an unexpected keyword argument 'remote'

Example:
from conan.packager import ConanMultiPackager

if __name__ == "__main__":
    builder = ConanMultiPackager([], "user", "testing")
    builder.upload_packages("mypackage/1.2.3@user/testing", "myconanserverpassword", remote="mycustomserver")

Versions:

conan: 0.7.4
conan-package-tools: 0.1.2
Python: 2.7.11

Hi, I've uploaded conan-package-tools 0.1.3 to pypi, the issue should be fixed, now you can specify the remote. Thanks!


(Maybe) default py=True in launch_fluent

It might be appropriate at this point in the roadmap to default the launched Fluent instance to Python rather than the legacy console. I vote to make this change now.
@dnwillia-work @mkundu1 @prmukherj @hpohekar

I agree with this idea.

Yes, if we are launching Fluent using PyFluent (launch_fluent) then it should be in launch Fluent with Python console.

Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory
Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")

The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.

Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory
Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")

The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.

This is due to an unintended import in PyConsole code, will merge a fix in Fluent.

@mkundu1 Thanks a lot for the update. I was confused about why build is getting hang every time for this PR only during codegen. Now it's clear.

I had also reverted file transfer changes in this PR but still it was hanging every time in CI.

Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory
Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")

The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.

This is due to an unintended import in PyConsole code, will merge a fix in Fluent.

Thanks, @mkundu1


Milestone 5: Styling

Bookstore Milestone 5: Styling
In this milestone:

Added Style

Made Style Changes As Suggested

Created A New CSS Class, .font-style-1, for the repeating properties and update the respective elements


Great extension, thanks a lot.

It works great, I can use remote DNS server in localhost now. Thanks again.

Thanks for the kind words. Glad you found it useful!


Updating issued and finding api.

Hello, I have two main issues currently with solder and updating our modpack. In this picture below, solder/technic does not seem to be updating the launcher at all with build information even though it is apeparing on the technic site and has been over 72 hours at writing this. (took minutes to update to the website)

Also, needing some advice on launching the pack, the urls are set correctly with the api below, but in the pack launcher it cannot access.. any ideas with this? :

Thanks

You need to use a vhost so that the webroot points to the public folder. Otherwise people can download your config files (which have credentials for your db!!)
If you're still having issues once that's fixed, let us know.

Hi, Thanks I have changed that and showing update (D0.0.1) on TechnicPack site at the top, but not under the updates section yet.
When launching the pack, now getting the following error: http://prntscr.com/d3cwbo

That's normal; though technically a problem with the launcher and not solder.


Respond to https://hypothes.is/a/kLp6JmdJEemG4sM8rWf9XQ

Respond to hypothes.is annotation kLp6JmdJEemG4sM8rWf9XQ on https://jrnold.github.io/r4ds-exercise-solutions/functions.html (user<EMAIL_ADDRESS>created: 2019-04-25T11:02:06.923966+00:00, updated: 2019-04-25T11:02:06.923966+00:00)

This function always returns 0. This is because sum(x-m) (performed before raised to the power 3) will always be 0. Resolved with additional parenthesis:
skewness <- function(x, na.rm = FALSE) { n <- length(x) m <- mean(x, na.rm = na.rm) v <- var(x, na.rm = na.rm) (sum((x - m)^3) / (n - 2)) / v^(3 / 2) }
I appreciate there are several possible formulas for skewness which may not match this one.

Link: https://hyp.is/kLp6JmdJEemG4sM8rWf9XQ/jrnold.github.io/r4ds-exercise-solutions/functions.html

Duplicate. Already fixed.


publication layout with list number

How can I number the publication in order? The default theme shows only an icon instead of number. For example, I would like the following:

T.-W Huang ...
T.-W Huang ...
...

You might be able to achieve this by customising the CSS using CSS Plugins - refer to the docs. Specifically, CSS counters - lots of info about this on Google.
Otherwise, the template can be edited in themes/academic/layouts/partials/li_*, where the name of the template depends on which View you set in the front matter of the homepage section.
Please use the forums for support.

I second the request :) This feature would be much appreciated by a lot of users! <3


Update hololens-known-issues.md

Updating HoloLens known issues page per new incident.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yannisle sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Docs Build status updates of commit 533f45e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/hololens-known-issues.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.


Better windows integration

Trying to improve functionality for Windows.
Including atm:

Optional menu
Localization support
Taskbar flashing on new message

sadly badges aren't supported by electron on windows atm.
Any other ideas?

Hello,
Thank you for opening this pull request!
We will review it shortly
As a side nide, you can support badges on windows using https://github.com/electron/electron/blob/master/docs/api/browser-window.md#winsetoverlayiconoverlay-description-windows setOverlayIcon
What you need to do is to have a 16x16 set of icons representing numbers (1-9, 9+) and display the image according

Also, please update your branch

I thought about this too.
But it seemed so... dirty.
Will take a further look.

Popular chat app Franz is using this technique for example
https://github.com/meetfranz/franz/tree/master/src/assets/images/taskbar/win32

@Armaldio it seems to work on windows.
Though i changed i lil bit on the code regarding Mac.
Could u test this against Mac? Or is there an easy way I can?

Please, open another PR if it's still relevant

Please, open another PR if it's still relevant

... no thanks. don't use it anymore


couldn't register new user

Hello, yesterday I've installed an instance using the following run:
$ ./onebox.sh -b stable
I've managed to sign-in with the admin and the site looks good.
When I tried to register a new user I came across this:

although I've inserted all the required fields it still shows me this message.
This the log file from the LMS:
May 15 01:19:58 edx-dev [service_variant=lms][django.request][env:sandbox] ERROR [edx-dev  6292] [base.py:256] - Internal Server Error: /account/get_cookies
May 15 01:30:24 edx-dev [service_variant=lms][root][env:sandbox] ERROR [edx-dev  6305] [exceptions.py:16] - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'>
May 15 01:30:24 edx-dev [service_variant=lms][django.request][env:sandbox] ERROR [edx-dev  6305] [base.py:256] - Internal Server Error: /account/get_cookies
May 15 01:30:28 edx-dev [service_variant=lms][root][env:sandbox] ERROR [edx-dev  6293] [exceptions.py:16] - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'>
May 15 01:30:28 edx-dev [service_variant=lms][django.request][env:sandbox] ERROR [edx-dev  6293] [base.py:256] - Internal Server Error: /account/get_cookies

And this is the log from the console:

I hope I was useful and this is not some dumb operation problem

It is highly recommended to use our STAMP setup instead. The onebox solution is primarily for development purposes. Having established that, Please make sure you have full HTTPs only configuration. From the log snippets, there  are references to loading some assets via HTTP as opposed to HTTPs


Kelp Generating

Mod Version
v<IP_ADDRESS>
Terraria and tMod Version
v<IP_ADDRESS> and v2<IP_ADDRESS>
Steps to Recreate
Unknown
Further Details
Kelp breaks Platforms and can Generate Through Blocks.
Also sometimes? seems to Generate on Slopes and Break Instantly.

Other Enabled Mods
Better Zoom
Shift-Click Crafting
Tome of Research Sharing
Realistic Sky
Concise Mods List
Smarter Cursor
Particle Library
Heart Crystal & Life Fruit Glow
High FPS Support
Recipe Browser
Echo Dye
Fancy Lighting
Instant Platform Fallthrough
DragonVault
imkSushi's Mod
ArmamentDisplay
ShorterRespawnTime
Max Luck
Auto Trash

Half of this was fixed a long time ago. Also fixed it generating on slopes then dying!


Add a disable_peers field to testnet::Parameters

Motivation
We want to disable peer connections for Regtest.
Note
Make sure to search for the issue number and address any TODOs.

@arya2 is this still necessary?

@arya2 is this still necessary?

No, returning an empty set from the initial peers method on Regtest is fine, at least for now.


x64 Tracker tries to read from amd32 folder

This is a regression introduced by #650.
When the 64-bit MSBuild.exe is invoked directly (and the msbuild binary directory is not on the PATH), tracker.exe will search the wrong directory for FileTracker32.dll when it encounters a 32-bit (x86) application. When it fails to find it, it throws this dialog:
---------------------------
cl.exe - System Error
---------------------------
The program can't start because C:\Program Files (x86)\MSBuild\14.0\bin\amd32\FileTracker32.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

Note that it's looking in amd32 instead of just bin, the correct location.
This most commonly occurs when using 64-bit MSBuild to build a .vcxproj that produces a 32-bit application, because the C++ default is to use 32-bit tools to produce a 32-bit app.
This is likely due to bad fallback code in Tracker's C++ source (which is Microsoft-internal, not open source).
There is a known workaround:

Use 64-bit tools to cross-compile, ensuring that x86 applications don't run during the build. For the standard C++ tools, this can be controlled by setting the property PreferredToolArchitecture=x64.

(Thanks for the report + workaround, @yuehuang010!)

Updated to reflect that adding MSBuild to PATH doesn't work around the problem--it occurs whenever the 64-bit MSBuild is invoked.

Other possible workarounds:

Use 32-bit MSBuild
Disable tracker by setting the property TrackFileAccess to false

This is fixed internally so this bug should only affect users of VS 2015 Update 3 RC.


[SPARK-37657][FOLLOWUP][PYTHON] Separate the tests for pandas < 1.1.0

What changes were proposed in this pull request?

This follow-ups for SPARK-37657 to separate the test based on pandas version, as the supported minimum pandas version is 1.0.5, but some tests require pandas 1.1.0 and above.
For pandas < 1.1.0, we should test by manually creating the expected result DataFrame.
Why are the changes needed?

Because pandas < 1.1.0 doesn't support the datetime_is_numeric for (Series|DataFrame).describe() as below:
>>> pdf.describe(datetime_is_numeric=True)
Traceback (most recent call last):
...
TypeError: describe() got an unexpected keyword argument 'datetime_is_numeric'

But we support pandas 1.0.5 as minimum version.
Does this PR introduce any user-facing change?

No, it's test only
How was this patch tested?

Unittests

Merged to master.


Implement min/max pixels for scenegraph-layer

Coverage decreased (-2.8%) to 79.485% when pulling 14efe4cc552c545ab296016462d07c29bf00d014 on scenegraph-layer-min-max-size into ad3f4fc44a571c7771afafe116c6602442b4f966 on master.


⚠ Turnos 24x7 has degraded performance

In f264e17, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 926 ms

Resolved: Turnos 24x7 performance has improved in 174b290.


Beacon on Android : cannot connect to Tezotopia from android smartphone (same device)

The Beacon popup does not show mobile wallet as it is from IOS.


Amend import data to account for multilabeled csv file

Phase 2 data has multiple columns with one-hot encoded labels for the text. write load_data function that will plug this new data format into existing pipeline

Just musings:
I think in order to do this we will also need to make the number of options fewer, currently there are an almost comical number of arguments taken by the text_classification_pipeline. For example:

objects_to_save: could probably just save all objects (leave user to delete what they don't want)
save_pipeline_as: just give it a default name
metric: just leave it as class_balance_accuracy by default.

I also feel like there should be two separate pipelines: one for the criticality / ordinal / sentiment and one for the categorical labels. Because having both in one massive pipeline makes it more unwieldy. Will make separate issue for this later.

Hard agree on all counts

load_multilabel_data function has been written. it:

takes onehotencoded CSV, turns to pandas df
can either take target = 'label' or target = 'sentiment' as these are the two main targets in phase 2
Basic data cleaning:
drops NAs from features columns
drops rows which have 0 labels
turns qs into 3 main question types
Basic feature engineering:
adds cols with counts of how many labels and text_length

more cleaning/etc will depend on the route forward with multilabel classification pipeline


Replace NetworkHash128 with System.Guid

There is no reason to reinvent a Guid class,  the one from System is perfectly suitable.

I think they did this to make it clear what types the keys of some dicts are.
For example, the NetworkInstanceId is just an integer as well, but they still wrapped it in NetworkInstanceId so it's obvious what the keys of some dicts are.
Additionally changing it to Guid would most likely break all prefabs, or not? I vaguely remember that it did break all prefabs when I changed the networkhash to ant int[16] instead of 16 separate values.
Also, if someone uses your guid version and all prefabs/scene objects are updated somehow, then the ones in another scene still won't be updated when building. Only after manually opening and changing the scene.
This would be very painful and confusing I think.

@vis2k  you are confused.
This pull request replaces NetworkHash128  with Guid,  that is all.  It does not touch NetworkIdentityId or NetworkSceneId.
I will check if this breaks the prefabs.

Hmmm,   yes,  this would break all prefabs,  because all the NetworkIdentity objects have a serialized NetworkHash128.
Arg....,   there is no doubt in my mind this is better code,  but breaking all the prefabs might be asking for too much.


[v1.15] images: Update bpftool, checkpatch images

https://github.com/cilium/cilium/pull/31753

Once this PR is merged, a GitHub action will update the labels of these PRs:
 31753

This backport was initially part of #31890, but got tossed out due to the necessity to regenerate the images.

/test-backport-1.15

@qmonnet sorry about the description edit, I needed to copy the backport description format from somewhere and I accidentally hit save 😓 Everything should be as it was.

Ready to merge after TopHat review (and when we have the green light from release managers to merge on v1.15 again).

@qmonnet The PR needs to be rebased as there are a bunch of conflicts.

/test-backport-1.15

/test-backport-1.15

@aditighag Thank you, I rebased and had the images re-generated


added a random dog generator Project

Adding a Random Dog Generator #4040

Close #4040

Screenshot

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@MohitGupta121 @TusharKesarwani  Please review and merge


Update sqs-consumer and sqs-producer to fix graceful shutdown

Processes in progress are being interrupted before being completed by the Kubernetes deployment or downscale process.
The SQS Consumer and SQS Producer libs already correct this problem. When .stop() is invoked, these libs are already programmed to wait for ongoing processes to finish.

I'm sorry for the very late response. I've now merged this PR and I really appreciate your contribution. This will be included in the next major release, which will drop support for Node.js v16.

@ssut
Great to see this get merged.
Just so you're aware, there is a potential memory leak caused by one of the dependencies of sqs-consumer V10. They bumped the dependency version in v11 to ensure the fix.
It would be great to bump to v11 now.
https://github.com/bbc/sqs-consumer/issues/509

@ssut
Great to see this get merged.
Just so you're aware, there is a potential memory leak caused by one of the dependencies of sqs-consumer V10. They bumped the dependency version in v11 to ensure the fix.
It would be great to bump to v11 now.
bbc/sqs-consumer#509

Thanks for letting me know. I’ll update it very soon, nearly right after my current work.

@ssut
Great to see this get merged.
Just so you're aware, there is a potential memory leak caused by one of the dependencies of sqs-consumer V10. They bumped the dependency version in v11 to ensure the fix.
It would be great to bump to v11 now.
bbc/sqs-consumer#509

FYI: I'm preparing the next release in https://github.com/ssut/nestjs-sqs/pull/85.


Single VM: Switch the container test image to debian from ubuntu

The ubuntu container image on dockerhub has been slimmed down.
This break the automated tests as the network tools required for
testing are no longer found within the image.
Switching the test image to debian which has the required tools.
This fixes issue #844
Signed-off-by: Manohar Castelino<EMAIL_ADDRESS>

Coverage increased (+0.005%) to 64.903% when pulling a27145d6987acc228027eed6c63b2e2ffa442763 on mcastelino:single_vm_tls_fix into a331483d4d867167fb368e368bced083eea24838 on 01org:master.

Coverage decreased (-0.005%) to 64.892% when pulling df7f12631cd3e2a63c5e0f64719504e1d4748f6f on mcastelino:single_vm_tls_fix into a331483d4d867167fb368e368bced083eea24838 on 01org:master.


Add sentenceCase builtin function

close: #3610
Add sentenceCase function, that convert the first letter to upper case.

can we also add title case? This would be useful for user name readback.
titleCase('vishwac sena kannan') => "Vishwac Sena Kannan"

can we also add title case? This would be useful for user name readback.
titleCase('vishwac sena kannan') => "Vishwac Sena Kannan"

Sure. Maybe I can deliver it in this PR


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2023-11-03)
Features

version command (5c4be80)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/FruitieX/add-bot-rs/releases/tag/v0.3.0 :sunflower:


Question:  Is there an optimal setup to run Camera.ui on?

I've just discovered Camera.UI, I've previously run Homebridge for home automation alone.
I run my Homebridge instance as a Ubuntu Server VM on an ESXi 6.7 server running on a Dell R720 server.  As it was previously only used for home automation and integration with HomeKit, the VM only has 32gb of storage and had 2gb Ram.  I have a video card that I use with my MacOS VM which runs security spy.
So far, while I can get all the features of HSV to work, the video is really choppy and inconsistent.  I've optimised my camera feeds as much as possible (key frames etc) but have to sacrifice bit rate and even resolution in order to get a half decent video service via Camera.ui.  I also had to turn one of my cameras to H.264 from H.265.  I'm only running 4 cameras, so surely it isn't so taxing on my system?
My question is:  Is there anything I should do to make my VM more powerful in order to run Camera.ui? Or is there an optimal setup?  Are my problems due to running in Ubuntu Server? Perhaps I should shut the MacOS instance down and passthrough my video card to the Ubuntu server that runs Homebridge?
Camera.UI has opened my eyes, I'd really like to ditch the power hungry ESXi all together and run on a pi4 or similar, but the experience has to be consistent.
Please help. Thank you.

Hey @plgrimsley
Glad you like camera.ui.
With the right settings, camera.ui can actually run with all setups without any problems. I have two systems running
System 1:
3 cameras via Intel NUC (~10% CPU usage and ~230mb memory usage).
System 2:
5 cameras via Raspberry Pi 4 2GB Ram (~15-20% CPU usage and ~230mb memory usage).
If the stream is not good enough, it is always likely due to wrong config.json and/or camera settings
Could you please post your config.json AND a screenshot of the camera's own settings (bitrate, FPS, resolution etc.)

Thanks for the quick response, much appreciated.
Yes, here is my config.json
{
"name": "CameraUI",
"port": 7001,
"atHomeSwitch": true,
"debug": false,
"mqtt": {
"active": false,
"tls": false,
"port": 1883
},
"http": {
"active": false,
"tls": false,
"port": 1883
},
"smtp": {
"active": false,
"port": 2727,
"space_replace": "+"
},
"ftp": {
"active": false,
"useFile": false,
"port": 5050
},
"ssl": {
"active": false
},
"options": {
"videoProcessor": "/usr/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
},
"cameras": [
{
"name": "Driveway",
"manufacturer": "SIBO",
"model": "SB-MG03AR-1080P",
"serialNumber": "EF000000000C42A1",
"motion": true,
"doorbell": false,
"motionTimeout": 15,
"motionDoorbell": true,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"forcePrebuffering": false,
"prebufferLength": 4,
"videoConfig": {
"source": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/0/h264major",
"subSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/1/h264major",
"stillImageSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/1/h264",
"readRate": true,
"rtspTransport": "tcp",
"maxStreams": 2,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 0,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": false
},
"smtp": {
"email": "Driveway"
},
"videoanalysis": {
"active": true
}
},
{
"name": "East",
"manufacturer": "RevoTech",
"model": "H8EV200-N4",
"serialNumber": "1347362",
"motion": true,
"doorbell": false,
"motionTimeout": 15,
"motionDoorbell": true,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"forcePrebuffering": false,
"prebufferLength": 4,
"videoConfig": {
"source": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live0.264",
"subSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live1.264",
"stillImageSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live0.264",
"readRate": true,
"rtspTransport": "tcp",
"maxStreams": 2,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 0,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": false
},
"smtp": {
"email": "East"
},
"videoanalysis": {
"active": true
}
},
{
"name": "West",
"motion": true,
"doorbell": false,
"motionTimeout": 15,
"motionDoorbell": true,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"prebufferLength": 4,
"videoConfig": {
"source": "-i  rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch0",
"subSource": "-i  rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch1",
"stillImageSource": "-i  rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch1",
"readRate": true,
"rtspTransport": "tcp",
"maxStreams": 2,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 0,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": false
},
"smtp": {
"email": "West"
},
"videoanalysis": {
"active": true
}
}
],
"platform": "CameraUI"
},

The first screenshot is my SIBOHD PTZ, the second is the RevoTech.
I also have a WansView camera but there arent any changeble settings on that camera.
I have quite a few other plugins running in Homebridge.  I previously ran the Homebridge Camera FFmpeg Plugin, its still installed but disabled.

Its probably worth mentioning, all cameras are ethernet none are used wirelessly.

Try this config.json
{
  "name": "CameraUI",
  "port": 7001,
  "atHomeSwitch": true,
  "debug": false,
  "mqtt": {
    "active": false,
    "tls": false,
    "port": 1883
  },
  "http": {
    "active": false,
    "localhost": false,
    "port": 7575
  },
  "smtp": {
    "active": false,
    "port": 2727,
    "space_replace": "+"
  },
  "ftp": {
    "active": false,
    "useFile": false,
    "port": 5050
  },
  "ssl": {
    "active": false
  },
  "options": {
    "videoProcessor": "/usr/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
  },
  "cameras": [
    {
      "name": "Driveway",
      "manufacturer": "SIBO",
      "model": "SB-MG03AR-1080P",
      "serialNumber": "EF000000000C42A1",
      "motion": true,
      "doorbell": false,
      "motionTimeout": 15,
      "motionDoorbell": true,
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "forcePrebuffering": false,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/0/h264major",
        "subSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/1/h264major",
        "stillImageSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/1/h264",
        "readRate": false,
        "rtspTransport": "tcp",
        "maxStreams": 2,
        "maxWidth": 1920,
        "maxHeight": 1080,
        "maxFPS": 0,
        "vcodec": "copy",
        "acodec": "libfdk_aac",
        "audio": false
      },
      "smtp": {
        "email": "Driveway"
      },
      "videoanalysis": {
        "active": true
      }
    },
    {
      "name": "East",
      "manufacturer": "RevoTech",
      "model": "H8EV200-N4",
      "serialNumber": "1347362",
      "motion": true,
      "doorbell": false,
      "motionTimeout": 15,
      "motionDoorbell": true,
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "forcePrebuffering": false,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live0.264",
        "subSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live1.264",
        "stillImageSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:5544/live0.264",
        "readRate": false,
        "rtspTransport": "tcp",
        "maxStreams": 2,
        "maxWidth": 1920,
        "maxHeight": 1080,
        "maxFPS": 0,
        "vcodec": "copy",
        "acodec": "libfdk_aac",
        "audio": false
      },
      "smtp": {
        "email": "East"
      },
      "videoanalysis": {
        "active": true
      }
    },
    {
      "name": "West",
      "motion": true,
      "doorbell": false,
      "motionTimeout": 15,
      "motionDoorbell": true,
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch0",
        "subSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch1",
        "stillImageSource": "-i rtsp://USER:PASSWD@<IP_ADDRESS>:554/live/ch1",
        "readRate": false,
        "rtspTransport": "tcp",
        "maxStreams": 2,
        "maxWidth": 1920,
        "maxHeight": 1080,
        "maxFPS": 0,
        "vcodec": "copy",
        "acodec": "libfdk_aac",
        "audio": false
      },
      "smtp": {
        "email": "West"
      },
      "videoanalysis": {
        "active": true
      }
    }
  ],
  "platform": "CameraUI"
}

Camera settings looks fine, just change the FPS from the second camera (image) from 10 to 25 or 30 (main stream)

Thank you, I've added pasted that back in (with the correct user and passwords) but the cameras are gone from HomeKit.  I wonder might they have been running bridged previously?   I can't seem to see how to add the cameras back in ubbridged.  Forgive me if this is HomeKit 101.  Usually unbridged accessories show up when you click + and add accessory.

Thank you, I've added pasted that back in (with the correct user and passwords) but the cameras are gone from HomeKit. I wonder might they have been running bridged previously? I can't seem to see how to add the cameras back in ubbridged. Forgive me if this is HomeKit 101. Usually unbridged accessories show up when you click + and add accessory.

If they were previously in bridged mode and are now unbridged, change the names of the cameras in config.json and restart HB. After that you should be able to find them in Home App via "+".

Thanks so much for your help. All three cameras are now running unbridged and load up immediately when viewed in Home.
I think this is going to drastically cut my electricity bill, and give me the enhanced features of HSV!  Brilliant work.

Glad it worked :)


add copyright and authors to json report

This PR adds 'copyright' and 'authors' to the json output for use in post-processing to generate complete list of third-party components. I hope this is in line with your plan for the tool
Another thing I would like in the json is a 'pointer' to the associated downloaded license.html but that is not included here.

Latest commits addresses your comments.
But are you sure you want all properties in text-output also, it does not necessarily scale very well since it potentially make a very 'wide' output ;

@notofug I'm fully aware of this and have been debating whether it's worth to add a command line flag that allows to enable/disable this. In general I'm not at all a fan of too many flags. I'm also not sure whether the tabular output should be moving towards a markdown compatible output which in turn will allow for the table to be rendered as html and thus avoiding the issues you describe.

@notofug would you mind putting in some documentation on what is supported for which output variant?

All output-variants are extended with 'Copyright' and 'Authors'. Should that be mentioned in the readme, or is it something else you have in mind?
Perhaps the readme should mention that the tool also processes packages.config and vcxproj's ?

Oh, right - I forgot that you added that. I think it's a good idea to add some documentation about c++ project support. However this belongs in a different PR...

OK that set off merge problems so now it doesnt work aparently

This PR has been superseeded by #50


Surprising behavior in BO tutorial

Thanks a lot for developing and sharing Xopt!
When giving it a try, I used the BO tutorial, but with a little modification: I replaced
def sin_function(input_dict):
    return {"f": np.sin(input_dict["x"])}

with
def sin_function(input_dict):
    return {"f": np.sin(input_dict["x"])**2}

(notice the **2)
In principle, this is a smooth function that should not be too problematic. However, when running the tutorial with this function, I got the following message:
BadInitialCandidatesWarning: Unable to find non-zero acquisition function values - initial conditions are being selected randomly.

and this result:

i.e. it seems that the algorithm does not focus on the region near the minima.
I have a few questions:

Are you able to reproduce this on your end? (Maybe I am using a wrong version of botorch or something)
Is this behavior expected for the above function?

I was able to reproduce this, it actually is the expected behavior for the data samples that you show in this example. You'll notice that some of the samples are close to the minimum value of the function. The expected improvement function in botorch uses the reparameterization trick to calculate the expected improvement acq function by drawing samples from the posterior (default is 128). It seems that you got this warning because none of the samples had any improvement over your best point (likely due to the large noise hyperparameter). You could fix this by using a zero noise prior
X.generator.options.model.kwargs.use_low_noise_prior = True

or by using UpperConfidenceBoundGenerator instead of ExpectedImprovementGenerator.
Note: this doesn't occur often for sin(x) since initial random points are not likely to be the extremum (1 minima) vs sin(x)**2 (3 minima). I think I'll swap UCB for EI in the example to prevent this from happening in the future.


Research on Llama 3.2 architecture

Getting to know architecture, and getting familiar and searching for differences between previous models

Make sure to document your research here :))

We discussed the research details in person, and everything is clear for us to proceed. I'll move forward with the model implementation now.


fix(playground): only lint when there are no syntax errors

Current dependencies on/for this PR:

main

PR #2400   👈

This stack of pull requests is managed by Graphite.

Merge activity

Feb 12, 12:44 AM EST: @Boshen merged this pull request with Graphite.


Android system cannot accept the call in full screen notification

Steps:

Receive the call while in foreground
Turn notifications to full screen
Press accept the call
Delayed for a few seconds(stuck on full screen notification)
Then the app restarts

android: 12
flutter_callkit_incoming: v2.0.1+2

Hi!
I have the same problem!

i fix this by changing android:launchMode to singleTask, hope this help you guys

Thanks hungthinhitj!
works for me.

i fixed this by changing android:launchMode to singleTask, hope this help you guys

Thank you hungthinhitj!
It works for me.


build<EMAIL_ADDRESS>[dev]

Update to version 4.1.5-beta.0.

The publishing process is a bit cumbersome right now, I think we should make it easy.

Coverage remained the same at 100.0% when pulling e61ffa55054380fcd499b2606c984adb34d799ad on v4.1.5-beta.0 into c6edfa9069586997d3f0143b009cca935ebe22b4 on dev.


Can't get plugin to work

I've been troubleshooting for about an hour now and I can't get the plugin to work at all. I've double-checked that my credentials are correct and that the links I'm trying to oembed are correct.
I'll update this issue if I can find anything but I wanted to see if I was the only one dead in the water on v1.2.0.

Same issue on v1.1.1. So it must be something on my end.

Doh. Misspelled oembed. One of those days.

Lol. We've all done something similar!
Maybe there should be some logging; "Rendering tweet blah... from cache/api", if you dont see it then something has not worked.

I don't think that's necessary. Sleep, however, is necessary.
This isn't related to the issue, but I was curious. I have another Jekyll plugin that I want to use the Cacheable class you have in use on this plugin. I was reading it over and it looks like it caches forever, or until you manually the .tweet-cache directory. Is that correct?

Yes, that what this does at the moment - I copied most of it from the previous plugin but my thinking was that Tweets dont change much so that shouldnt be a problem for the oembed usage. When another feature comes along that can be cached but needs 'refreshing', such as a timeline, then I was going to work out how to expire the cache.

Well it's working beautifully for my embed.ly plugin. I forked this but
it's changed quite a bit from the original now
https://github.com/ryanburnette/jekyll-embedly-plugin
On Thu Jan 08 2015 at 4:50:31 PM Robert Murray<EMAIL_ADDRESS>wrote:

Yes, that what this does at the moment - I copied most of it from the
previous plugin but my thinking was that Tweets dont change much so that
shouldnt be a problem for the oembed usage. When another feature comes
along that can be cached but needs 'refreshing', such as a timeline, then I
was going to work out how to expire the cache.
—
Reply to this email directly or view it on GitHub
https://github.com/rob-murray/jekyll-twitter-plugin/issues/7#issuecomment-69255882
.


ELM commands are not verified

Right now, the software opens the port and sends off commands. Sleep delays help with higher latency connections. Need to write functions to check the response from these requests to improve responsiveness and do some error checking

Fixed by pull request


pull request for e2e test at 01/24/2017 16:15:12

:white_check_mark: Validation status: passed
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.


tar:no tar archive, when packaging modules with p4a

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
I have a problem packaging the requests and xmltodoct library
Code sample
No sample
To reproduce
Run p4a command in terminal
Expected behavior
tar have an error
Screenshots / Videos

Screenshots / Video demonstration
[Upload media here]

Operating System
Linux
Operating system details
Ubuntu 24.10
Flet version
0.23.2
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
$ p4a create --requirements requests,xmltodict --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROID_SDK_ROOT --ndk-dir $ANDROID_SDK_ROOT/ndk/$NDK_VERSION --dist-name mydist
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]:    Will compile for the following archs: arm64-v8a, armeabi-v7a, x86_64
[INFO]:    Android API target was not set manually, using the default of 33
[INFO]:    Available Android APIs are (31, 33, 34)
[INFO]:    Requested API target 33 is available, continuing.
[INFO]:    Getting NDK dir from from user argument
[INFO]:    Found NDK version 25c
[WARNING]: NDK API target was not set manually, using the default of 21 = min(android-api=33, default ndk-api=21)
[INFO]:    ccache is missing, the build will not be optimized in the future.
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Found a single valid recipe set: ['requests', 'xmltodict']
[INFO]:    Trying to find a bootstrap that matches the given recipes.
[INFO]:    Found 4 acceptable bootstraps: ['service_only', 'service_library', 'sdl2', 'webview']
[INFO]:    Using the highest ranked/first of these: service_only
[INFO]:    Found a single valid recipe set: ['hostpython3', 'libffi', 'openssl', 'requests', 'sqlite3', 'xmltodict', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The selected bootstrap is service_only
[INFO]:    # Creating dist with service_only bootstrap
[INFO]:    Dist will have name mydist and requirements (requests, xmltodict)
[INFO]:    Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    Dist will also contain modules (xmltodict, requests) installed from pip
[INFO]:    Dist will be build in mode debug
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/build/bootstrap_builds/service_only
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The requirements (requests, xmltodict) were not found as recipes, they will be installed with pip.
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython3
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/hostpython3
[INFO]:    -> running basename https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz
[INFO]:    hostpython3 download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading libffi
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/libffi
[INFO]:    -> running basename https://github.com/libffi/libffi/archive/v3.4.2.tar.gz
[INFO]:    libffi download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading openssl
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/openssl
[INFO]:    -> running basename https://www.openssl.org/source/openssl-1.1.1w.tar.gz
[INFO]:    openssl download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading sqlite3
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/sqlite3
[INFO]:    -> running basename https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip
[INFO]:    sqlite3 download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading python3
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/python3
[INFO]:    -> running basename https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz
[INFO]:    python3 download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading genericndkbuild
[INFO]:    Skipping genericndkbuild download as no URL is set
[INFO]:    Downloading setuptools
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/setuptools
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-69.2.0.tar.gz
[INFO]:    setuptools download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading six
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/six
[INFO]:    -> running basename https://pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz
[INFO]:    six download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading pyjnius
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/packages/pyjnius
[INFO]:    -> running basename https://github.com/kivy/pyjnius/archive/1.6.1.zip
[INFO]:    pyjnius download already cached, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Downloading android
[INFO]:    Skipping android download as no URL is set
[INFO]:    # Building all recipes for arch arm64-v8a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3 for arm64-v8a
[INFO]:    -> running basename https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]:    hostpython3 is already unpacked, skipping
[INFO]:    <- directory context /home/megamichi/Schreibtisch/flet
[INFO]:    Unpacking libffi for arm64-v8a
[INFO]:    -> running basename https://github.com/libffi/libffi/archive/v3.4.2.tar.gz
[INFO]:    -> directory context /home/megamichi/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_21
Traceback (most recent call last):
  File "/home/megamichi/Schreibtisch/flet/.venv/bin/p4a", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/toolchain.py", line 685, in __init__
    getattr(self, command)(args)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/toolchain.py", line 104, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/build.py", line 490, in build_recipes
    recipe.prepare_build_dir(arch.arch)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/recipe.py", line 592, in prepare_build_dir
    self.unpack(arch)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/pythonforandroid/recipe.py", line 469, in unpack
    sh.tar('xf', extraction_filename)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/sh.py", line 1524, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/sh.py", line 788, in __init__
    self.wait()
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/megamichi/Schreibtisch/flet/.venv/lib/python3.12/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_2:

  RAN: /usr/bin/tar xf /home/megamichi/.local/share/python-for-android/packages/libffi/v3.4.2.tar.gz

  STDOUT:

  STDERR:
/usr/bin/tar: Das sieht nicht wie ein „tar“-Archiv aus.

gzip: stdin: unexpected end of file
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now

translation of STDERR:This doesn't look like a tar archive.

Additional details
No response

Read this concerning the recently released Flet v0.25: https://flet.dev/blog/flet-v-0-25-release-announcement#new-packaging


Language DB2 format with $ failed

I have specified db2 language and have a select, the values with $ characters, are separated by whitespaces, which leads to SQL error....
SELECT * FROM TABLENAME AS C WHERE C.CLASSID IN $P{CLASSID} AND C.OID IN $P{OID} $P{INCLUDE}
Format Result:
SELECT * FROM TABLENAME AS C WHERE C.CLASSID IN $ P { CLASSID } AND C.OID IN $ P { OID } $ P { INCLUDE }
I'm not a DB2 expert, but my DBeaver tool formats the $ correctly and leaves them as they were....
Thanks already for the help and for the free library, otherwise it works great.

This should new be fixed in 6.0 release.


alphabet_partitioned --external uses different port than cluster_shutdown uses in README

cluster_shutdown is given <IP_ADDRESS>:5050 but the command in the README starts the application with --external 127.0.1:6010
Note that --external 127.0.1:6010 is also using an invalid host, in addition to a different port than what the cluster_shutdown command instruction uses.
related to #1388

It looks like the text should be changed to use --external <IP_ADDRESS>:5050 when starting the application.


Fix bugs in GetConnect

Request Method without decoder parameter (http.dart)
Remove "final" of decoder parameter (request.dart)
Type methods for standardization

Thanks for that.
LGTM!

Also when using get with dio. GetConnects Response is conflicting with dios own Response.


Sql connections

Another simple module. Contains wrapped reference data library connections. These will not be accessible to those outside the organisation though, so is this a problem?

Hey @Naawww
Can you please check the pipeline tasks that have failed and rectify them?


Update non-public search for operator dashboard (bug 1128783)

Looks really good. Other than a possible niggle about the name of the endpoint (it's not very self-explanatory; mentioned in the other PR), r+!

Thanks. https://github.com/mozilla/zamboni/commit/899111c


Vertx 4 Compatibility

Removed CompleteableFuture and Async driver based generators
Added dependency to Jackson Databind
Fixed issues with JsonObject in RowMappers (shoddily)
Transaction API now returns a FailedFuture instead of throwing an IllegalStateException when not actually in a transaction
Tests improved for running on macOS

also if I were you I'd migrate to testcontainers and then you can run automated tests easier with Travis. I'm not good enough at Maven to set up the CI but it should be pretty easy.

Wow, thank you very much for this. I will look into it as soon as I find the time. Because I am quite busy right now your PR is very welcome!

also if I were you I'd migrate to testcontainers and then you can run automated tests easier with Travis. I'm not good enough at Maven to set up the CI but it should be pretty easy.

Haven't worked with testcontainers yet, but it makes sense. Also setting up a build pipeline using github actions would improve testability.

Yep all tests pass for me. But you should look at this JsonObject / JsonArray workaround

It's all tested in production for me now, and looking good.

Great stuff. Regarding the workaround: why was it necessary?

What I mean is: when the defined type is, for example a JsonObject, why not just use row.getJsonObject(). And regarding your TODO-comment: I don't really remember the reason for bypassing the defined converters/bindings. We can probably leave it out.

Also, can you please tick Allow edits from maintainers on the right hand side so I can push into this fork?

Great stuff. Regarding the workaround: why was it necessary?

Not 100% sure. getJsonObject was being emitted for a String. It might be that I didn't generate the code correctly (I ran the generateCode test everywhere). It looks like something about MySqlRowImpl also has changed in 4.0.

I'm not sure why it's not showing the Allow edits from maintainers checkbox for me. I would check if if I saw it.

I think I get it now. In the test database, the column is of type varchar and we define a converter for it. During code generation, it just checks for the desired user type (for example JsonObject) and assumes the database column is of the same type (which is wrong obviously). I'll fix it.


Increase the horizontal size of the screen

[ ] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

If possible add the command "scrcpy --min-size=1080" to increase the horizontal size of the screen.

What do you mean by "increasing the horizontal size of the screen"? What do you do to the height then? Where do the addidional horizontal pixels come from?
Please clarify your question.


How to Add a GraphicPath object on FastReport.NET

I have been searching how to do this for long but i couldn't get a support please for help

There is a new function PolylineObject.SetPolyLine(PointF [] newPoints) which allows you to set the path for a polyline or polygon objects.


Remove Fastscroller placeholder strings from translatable strings.

Remove Fastscroller placeholder strings from translatable strings. They have reappeared.
+  <string name="connection">Connected</string>
+  <string name="fastscroller_track">FastScroller track</string>
+  <string name="fastscroller_handle">FastScroller handle</string>

Working on it


How to build the open xml?

Hi
For one of my projects I want to embedd the open xml into one of my dlls . I started downloading master Open xml from below address: https://github.com/OfficeDev/Open-XML-SDK And tried to build it first, but to my dismay its saying The SDK 'Microsoft.NET.Sdk' specified could not be found
I have looked at below address and I saw I have installed these .net cores: C:\Program Files\dotnet\sdk
1.0.0, 1.1.9, 1.1.10, 2.0.2, 2.1.2, 2.1.201, 2.1.202, 2.1.400, 2.1.401
In the cs project its written netstandard1.3 is needed. But I can not find this package on microsoft website.
Do you know how I can build OpenXml?

@fmoghaddampoor could you take a look at this post error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.? Specifically, you may need to add a workload to your VS setup: .Net Core Build Tools.
Tom

@fmoghaddampoor let us know if you still have a problem here. To answer your question about .Net Standard 1.3, there is no package. .Net Core 1.0.0 supports .Net Standard 1.3 so if you have .Net Core installed then you should be good to go. You can read more here: .Net Standard specification

One of the problems with nuget format mode is there are super many files generated as output in Bin folder which makes nuget mode useless as we just need one dll for our clients. And the only thing We need from openxml is to change xlsx revision file properties.

@fmoghaddampoor is it building successfully aside from the extra unwanted files? Are you just trying to remove dependencies?

The Nuget format mode is working with two extra files:
DocumentFormat.OpenXml.dll
DocumentFormat.OpenXml.xml
However to my dismay sometimes a lot of system.* files also go to bin which I remove them and it works.
For the part of building master Im not sucessful still:
MSB4044	The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". DocumentFormat.OpenXml.Benchmarks
MSB4044	The "GenerateDepsFile" task was not given a value for the required parameter

As I have tried to go your way I have first tried to find the build tools however visual studio installer did not have the item. So I totally removed visual studio and then I reinstall it again and this time I find the build tools. I could at the end build the project with no error however the c# used is super high 7.2 🙄which needs also. Net framework 4.7. Also to my dismay I found it uses a system.io.packaging. Which I may need time to get that from core fx and try to embedd it. Your solution is true, but visual studio installer did not have that option at first so I totally reinstalled my VS. Thanks

Hi @fmoghaddampoor I think we should take a step back to understand what your ask actually is. Sounds like you want to embed the SDK in another assembly. Can you please help us understand what your scenario is (ie why do you want to do this)? The recommended way to go about this is to create a NuGet package that then takes a dependency on this package. The benefit of it is:

You are not responsible for the servicing of the SDK you ship
Our releases are Authenticode signed so people understand where it comes from and the code can't be altered after it's released (the OS won't load it)
Works with how the JIT (or AOT compilers) expect assemblies to be packaged

Embedding has a number of meanings and a few possible implementations. Sounds like you are trying to build it yourself into some other project. You are free to do so, but we probably won't be able to help you too much as that is not a goal of this project. The build system is non-trivial and is designed to produce a NuGet package with assemblies targeting specific frameworks.
You mentioned C# 7.2 (we'll probably bump it to 7.3 soon to take advantage of some new features). You do not need .NET Framework 4.7 to use this, at least as long as you don't have public surface with new ref/etc features. There is no easy way to not use 7.2 as those features are pervasive in the project. If you consume the SDK as an assembly, the language choice will not affect you.
Your concern of System.IO.Packaging is due to the way packages work in the .NET Standard world. There is another package that is required as well (I can't remember off the top of my head). Again, this would be solved by just using the NuGet package.
There are a couple of tooling options to "embed" an assembly, including ILMerge and ILLinker. I'm not endorsing either one and you'll be on your own to get them to work. Depending on what you are building, this may or may not work.
With all that said, can you please describe your scenario as I'm betting there's a better solution than trying to embed the SDK in the way you are attempting.

For directions on building, see https://github.com/OfficeDev/Open-XML-SDK/blob/master/README.md#to-build-the-open-xml-sdk. This is only if you stay on the "golden path" - as I said, the build process is non-trivial

@fmoghaddampoor Any updates?

Well actually the problem is we have a synchronizing system which we are releasing all the time our files for lots of clients, so the they start using the dlls in one system from many app at the same time. And if they are in use synchronization can not be done until all the processes shut down on client computer. We have find the solution by renaming dlls in use and copy new dll. but what will happen if I have open xml running in assemblies and one app is accessing this dlls and I copy new dll of yours to client.

Would it be more appropriate to build an isolated application? Isolated Applications
This would allow you to select which assemblies and DLLs you use and where they come from.

This sounds like you need to figure out a better deployment strategy. What kind of application is this? Client or server? I'm assuming client. How are you deploying? Using click-once/appx/msix/installers should be able to handle this transparently for you.

As I said, you're deployment strategy is the issue here. Why do you not put everything in a specific directory for each application that needs it? Are these loaded as extensions in the applications? Are you automating this under a client w/o their knowledge or are they opting into it?

Also, what do you mean by this:

the user may start synchronizing in cad

Well users start synchronizing from cad to get new software and new database, lets say a button which synchronize the software which may already be used in another instance of cad. so a cad runs a vb script , vbscript is using a com exposed function of c#, which is a  dll which uses your dll. the software is doing long running batch process. then another app is synchronizing the files already in use even vbscript or also your dll, but process of the other cad must never and never fail as it would be huge damage.

Ok - I understand what you're doing. Is this run in the same process? If so, you'll need to unload the assemblies so you can correctly reload things. However, most applications require a restart for this precisely so they don't run into issues you are describing (ie Visual Studio does that with their extensions).
Since this is not something SDK, I'm going to close this issue. Good luck with your scenario and let us know if you hit issues with the SDK itself.

@fmoghaddampoor btw Stackoverflow is usually a good place for this kind of question. If you submit the question there, paste the link here so we can potentially help there.


Coverage reporting missing for binaries under-test

@mssun

Another issue about testing CLIs is to correctly calculate code coverage. If using std::process::Command to fork and execute a CLI, all existing code coverage tools (tarpaulin, gcov, kcov, etc) will failed to calculate the statistics. There is not a better way to properly calculate the line coverage including unit tests and integration tests.

From https://github.com/rust-lang-nursery/cli-wg/issues/9#issuecomment-385487756

See also the discussion at https://github.com/assert-rs/assert_cli/issues/104

I’ll add that this would be a very nice feature. I’m currently using assert_cmd and tarpaulin and just like others have noted that this combination doesn’t work.

grcov (and kcov) appears to work with assert_cmd. Other tools failed to mark lines as tested as others have mentioned here.

My project doesn't use assert_cmd, but based on my investigations of kcov I am pretty sure that special support will need to be added to properly track coverage in subcommand executions. You can check out tectonic-typesetting/tectonic#638 to see my approach:

Gather the tests that do assert_cmd-type activities into one harness (called executable in my project)
Run the test suite inside kcov, but not doing anything special when launching subcommands (I use cargo kcov which currently requires some hacking, but that's a separate issue)
For the executable harness, rerun it outside of kcov, but with a special environment variable that causes it to launch the underlying tool inside kcov; it puts the coverage data into a mkdtemp-type directory name so that runs don't stop on each other's toes
Merge all of the coverage results together at the end with kcov --merge

Is there any plan on having this solved? Like @maxcountryman , I've seen that it doesn't work with tarpaulin coverage reports.

@brandonkal I've been unable to get grcov to recognize code coverage from assert_cmd. Are you positive that it did work? Was there something special you did?

I am currently able to get both cargo-llvm-cov and grcov to recognize coverage of crate binaries tested with assert_cmd (though it doesn't work for extra-crate binaries built via test-binary that use the crate under test).  For cargo-llvm-cov, I simply ran cargo llvm-cov --all-features --lcov --output-path lcov.info, and for grcov, I ran:
export RUSTFLAGS="${RUSTFLAGS:+$RUSTFLAGS }-Cinstrument-coverage"
cargo build
export LLVM_PROFILE_FILE="target/coverage/prof/%p-%m.profraw"
cargo test --all-features

grcov \
    --source-dir . \
    --binary-path target/debug \
    --branch \
    --excl-start 'mod tests \{' \
    --ignore 'tests/*' \
    -t html \
    -o target/coverage/html \
    target/coverage/prof

For those that stumble across this issue because they can't find a solution on how to get cargo-llvm-cov to work:
I got it working by using the command from above (cargo llvm-cov --all-features --lcov --output-path lcov.info) and by placing my test file into a seperate tests/ folder instead of src/some_file.rs.


Cognitive Speech not working

Screenshots

Version
I use 4.7.1, but it doesn't work on 4.6.0 too.
"<meta name="botframework-directlinespeech:version" content="4.7.1">
<meta name="botframework-webchat:bundle:variant" content="full-es5">
<meta name="botframework-webchat:bundle:version" content="4.7.1">
<meta name="botframework-webchat:core:version" content="4.7.1">
<meta name="botframework-webchat:ui:version" content="4.7.1">"

Describe the bug
When I click on the microphone this error occurs.
On 19.12.2019 everything worked fine and when I tried on 20.12.2019 WITHOUT changing anything at the code it wouldn't work.
This is how I implement the Cognitive Speech Service:
<script>
webSpeechPonyfillFactory = window.WebChat.createCognitiveServicesSpeechServicesPonyfillFactory({
			//	credentials: {
						region: 'westeurope',
						subscriptionKey: 'XXXXX'
			//		}
			})
			window.WebChat.renderWebChat({
				directLine: window.WebChat.createDirectLine({
				//	token: token
					secret: 'XXXXXXXX',

				}),
				webSpeechPonyfillFactory: webSpeechPonyfillFactory,
				// disable timestamp
				groupTimestamp: false,

				//set language
				locale: 'en-US',

			},
				document.getElementById('webchat'));

      </script>

Expected behavior
It should recognize my voice and translate it to text.

Additional context
My bot runs on C#, but I tried on a JS-Bot too, same Error. WebSockets are enabled in the BotConfig.

[Bug]

Hi @wehnicde, I have a couple clarifying questions for you:

Which browser are you running Web Chat in? It looks like you are using Chrome but you are utilizing the webchat-es5.js package (vs. the regular webchat.js package). Can you try the regular package?
Is this the React version of Web Chat? Your code suggests it isn't, but the rendered web chat component in your image looks a lot like the "minimizable" version which is built in React.
There were some issues with the 4.7.1 build that have come to light recently and will be corrected in 4.7.2. It has been suggested you try build 4.5.3. Can you give this a go and see if it helps?
In createDirectLine(), can you try passing webSocket: true, as well?

Which browser are you running Web Chat in? It looks like you are using Chrome but you are utilizing the webchat-es5.js package (vs. the regular webchat.js package). Can you try the regular package?

I am running in Chrome but I need IE support too, thats why I use es5. (Does it have any disadvantages?)
I tried the normal package too, but it doesn't work either.

Is this the React version of Web Chat? Your code suggests it isn't, but the rendered web chat component in your image looks a lot like the "minimizable" version which is built in React.

It isn't. The "taskbar" on top is simple html by me (using style.display = none), it is the standart webchat.

There were some issues with the 4.7.1 build that have come to light recently and will be corrected in 4.7.2. It has been suggested you try build 4.5.3. Can you give this a go and see if it helps?

Didn't help :(

In createDirectLine(), can you try passing webSocket: true, as well?

Didn't change anything.

I have been unable to repro your issue.

I will try to generate a fresh bot and try to repro it by myself again. My problem is, that I already have 2 seperate bots (C# and JS) and it isn't working on both, so I really don't know what the problem could be.

@wehnicde, I'm a little confused on whether you are trying to get this to work in Chrome, IE, or both. If you are having issues with Chrome, I'm certain we can get it working. Your implementation is slightly different but really should work. And, if not, we can play with the code.
As for IE 11, as stated here, Internet Explorer does not meet the minimum requirements for supporting speech recognition and speech synthesis, at least as far as Cognitive Services Speech is concerned.

Sorry for the confusing. I want to have the webchat working on all browsers, but I know that speech isn't possible with IE11. Writing with the bot should work on every browser, speech only with Chrome/Firefox. Thats why I need to implement the es5 file (Am I right about that?)
What do you mean by "Your implementation is slightly different but really should work"? How is my implementation different? And how is the "normal" way? Maybe it will work with that.


Name error raised while converting

xls2xlsx version: 0.1.3
Python version: 3.7.9
Operating System: Win 10 Pro, 1909

Description
Name error raised while converting to xlsx, I am not sure is the excel problem or the lib problem
I tried to use the Save as to output as different xls file in the Excel 2010, but the same error still occur
The excel file is locked to prevent unwanted change, so I can only read this file, I am not sure is this the reason cause the error.
If you need the xls file, I can send it to you
What I Did
>>> os.listdir()
['OOCL.XLS']
>>> from xls2xlsx import XLS2XLSX
>>> x2x = XLS2XLSX(os.listdir()[0])
>>> x2x.to_xlsx()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\####\Anaconda3\envs\ocean2\lib\site-packages\xls2xlsx\xls2xlsx.py", line 240, in to_xlsx
    alignment = copy.deepcopy(alignment)
NameError: name 'copy' is not defined

OOCL.zip

Thank you - looks like I need to add a
import copy

and a new test case!  I will fix it soon.
-joe
Sent from my AT&T iPhone

On Nov 2, 2020, at 8:15 PM, PPTA22<EMAIL_ADDRESS>wrote:

OOCL.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks 👍

Fixed in 0.1.4


Improve C++ syntax

So we have a complete clang-format checker and writer in https://github.com/ibc/mediasoup/tree/clang-format branch. Now it's time to improve the worker/.clang-format rules.
Let's also comment here other syntax related improvements.
Interesting resources:

clang-format Style Options - Documentation.
clangformat.com - An interactive guide and builder.
clang-format online - Interactive clang-format.

Some improvements to do:

[ ] Use const in arguments providing this.


Relative links with ic-get-from

I gave ic-get-from a try, and it works well. One feature it is missing that would be really cool though is if it could keep relative-links relative to the location of the source. As it stands it makes all relative-links relative to the importing "parent" document. I realize in most cases the later is what designers will want, but in some cases it would be useful to have the former. For example, consider a single-page blog "app" that loads posts dynamically. If a post's images are relative to the post file, it won't work.
Intercooler.js looks pretty awesome, btw. Major kudos!

Can you give a brief explanation of how this would work with, say, an image tag?

Closing out, feel free to reopen with a good example.