⚠ Bofrost.at has degraded performance

In 26f476d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1732 ms

Resolved: Bofrost.at performance has improved in 14957b8 after 7 minutes.


Illegal instruction with 'fips_hmactest' on ppc32

Hi.
We've seen an issue with running FIPS v2.0.14 on an older PPC32. The break seems to have come in when moving from FIPS v2.0.12 to v2.0.13.
Running the tests on our controller I get the following:
# ./fips_test_suite
        FIPS-mode test application
        FIPS 2.0.14 validated module 15 Nov 2016

                DRBG AES-256-CTR DF test started
                DRBG AES-256-CTR DF test OK
1. Non-Approved cryptographic operation test...
        a. Included algorithm (D-H)......successful
        POST started
                Integrity  test started
                Integrity  test OK
                DRBG AES-256-CTR DF test started
                DRBG AES-256-CTR DF test OK
                DRBG AES-256-CTR test started
                DRBG AES-256-CTR test OK
                DRBG SHA256 test started
                DRBG SHA256 test OK
                DRBG HMAC-SHA256 test started
                DRBG HMAC-SHA256 test OK
                X9.31 PRNG keylen=16 test started
                X9.31 PRNG keylen=16 test OK
                X9.31 PRNG keylen=24 test started
                X9.31 PRNG keylen=24 test OK
                X9.31 PRNG keylen=32 test started
                X9.31 PRNG keylen=32 test OK
                Digest SHA1 test started
                Digest SHA1 test OK
                Digest SHA1 test started
                Digest SHA1 test OK
                Digest SHA1 test started
                Digest SHA1 test OK
                HMAC SHA1 test started
                HMAC SHA1 test OK
                HMAC SHA224 test started
                HMAC SHA224 test OK
                HMAC SHA256 test started
                HMAC SHA256 test OK
                HMAC SHA384 test started
Illegal instruction
#
# ./fips_hmactest
Illegal instruction

When I try to use GDB to find the spot where it breaks it points to somewhere around OPENSSL_ppc64_probe().
If I build the FIPS container with the '-no-asm' flag it seems to work ok.
Build flags we use:
# Clean with the current settings first to remove unused files.
echo "** Cleaning FIPS - Errors can be ignored"
rm -rf build/
make clean

echo "** Configuring FIPS"
export MACHINE=ppc
export ARCH=ppc
export SYSTEM=linux-ppc
export CROSS_COMPILE=powerpc-linux-
export HOSTCC=gcc
export FIPSDIR="$PWD/build"
export FIPS_SIG="$FIPSDIR/../util/incore"
export RELEASE=2.6.18

/usr/bin/perl Configure linux-ppc -Wa,--noexecstack fips shared no-bf no-camellia no-cast no-idea no-md2 no-md5 no-mdc2 no-rc2 no-rc4 no-rc5 no-ripemd no-seed

echo "** Building FIPS"
make -j2
make install
make -j2 build_tests

System information:
# uname -a
Linux eclipse-207 2.6.18 #414 PREEMPT Wed Feb 22 01:32:36 AEDT 2017 ppc unknown
#
# cat /proc/cpuinfo
processor       : 0
cpu             : G2_LE
revision        : 1.4 (pvr 8082 2014)
bogomips        : 174.59
chipset         : 8272
vendor          : Motorola
machine         : PQ2 ADS PowerPC

mem size                : 0x04000000
console baud            : 115200

core clock      : 264 MHz
CPM  clock      : 132 MHz
bus  clock      : 66 MHz

Thanks,
Harry

First of all, you shouldn't see OPENSSL_ppc64_probe when debugging fips_test_suite, it's called fips_openssl_ppc64_probe. In other words question is if you really see OPENSSL_ppc64_probe? Secondly, illegal instruction exceptions caused by probe functions are managed. This means that they do show in debugger, but remain transparent otherwise. See https://www.openssl.org/docs/faq.html#PROG17 for details. [In the context you should probably keep in mind that FIPS module doesn't necessarily plays along with debugger. Specifically if you set breakpoints. This is because setting breakpoint is customarily implemented by modifying code, and FIPS module can detect it and will fail to initialize].
Anyway! The real problem is that 2.0.14 was apparently rendered unsuitable for PPC32. This is because a number of POWER8 modules were backported and engaged in 64- and 32-bit builds, but I failed to recognize that generic sha512-ppc module is so old that it doesn't have dedicated PPC32 SHA512 implementation. As result code with 64-bit instructions was emitted and compiled (and never executed on POWER8). And this is where your programs crash, not in either of the probe functions. One can argue that you should have failed to compile it, but that would be question to your compiler vendor. Bottom line is "just stick with 2.0.13".

Hi.
Yes, 'fips_openssl_ppc64_probe' is what I saw. I copied the wrong thing. Thanks for the extra info. I was only trying to use the debugger to try and find the bad instruction.
We are using an older GCC (4.1.1) to compile our stuff in Buildroot. It should be pretty vanilla, but I guess the tools might be showing their age.
Does that mean we are going to be stuck on an older version of FIPS forever or is this something that will be fixed in a new releases?
Thanks,
Harry

tools might be showing their age.

I meant that assembler could have failed/refused to assemble 64-bit instructions when asked to generate 32-bit object module. And older assembler probably would, but yours is new enough. In other words what I'm saying is kind of opposite, i.e. that your tools are not old enough :-) Well, formally speaking new tool could do that too, after all assembler "knows" that it's generating 32-bit code.

is this something that will be fixed in a new releases?

"will" is wrong in the context, because its development is not driven by our will, it takes somebody to sponsor changes. But there hardly is any downside in sticking to specific version, because newer versions add new platform support, there normally are no changes to shared code. Closing...


Unexpected token in Angular HTML (prettier rule)

I'm getting errors reported in my Angular HTML
I've applied the workaround mentioned in #929 for getting linting squiggles in the HTML.
What version of eslint are you using?
7.20.0
What version of prettier are you using?
2.2.1
What version of eslint-plugin-prettier are you using?
3.3.0
What version of vscode-eslint are you using?

Name: ESLint
Id: dbaeumer.vscode-eslint
Description: Integrates ESLint JavaScript into VS Code.
Version: 2.1.14
Publisher: Dirk Baeumer
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

Actually it's pretty hard to tell that this is the correct repo for that extension :)
What version of VSCode are you using?

Version: 1.53.2 (user setup)
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:04.245Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files)
// .eslintrc.json
{
  "root": true,
  "ignorePatterns": ["projects/**/*"],
  "overrides": [
    {
      "files": ["*.html"],
      "extends": [
        "plugin:@angular-eslint/template/recommended",
        "plugin:prettier/recommended"
      ]
    }
  ]
}

What source code are you linting?
Angular HTML

I tried fixing it with a prettier override as suggested here https://dev.to/gsarciotto/migrating-and-configuring-eslint-with-angular-11-3fg1
// .prettierrc
{
    "overrides": [
        {
            "files": "*.html",
            "options": {
                "parser": "angular"
            }
        }
    ]
}

That fixed the errors when running ESLint from the commandline via ng lint
But they still show up in the editor.
What did you expect to happen?
No error
What actually happened?
This error is shown

Parsing error: Unexpected token eslintprettier/prettier)

I got this working. Don't remember what made it work. I just tried all the things.

Had the same issue, and fixed it by removing the 2nd plugin under extends for the HTML files only
{       "files": ["*.html"],       "extends": [         "plugin:@angular-eslint/template/recommended"       ]     }

Had the same issue, and fixed it by removing the 2nd plugin under extends for the HTML files only
{ "files": ["*.html"], "extends": [ "plugin:@angular-eslint/template/recommended" ] }

Emmm, so you just disabled prettier. It's the same "fix" as deleting the project 🙂

Im fix it issue removing the second plugin { 			"files": ["*.html"], 			"extends": ["plugin:@angular-eslint/template/recommended"], 			"rules": {} 		}


Update ci

Closes #152
This PR comes with a few changes.
I have merged the jobs in the linting workflow, as well as merged the jobs in the test workflow. This means the working environment only needs to be setup once for each job, rather than duplicating.
I have moved CI to a reusable workflow style, this makes it easier to track what is going on, as it all appears on 1 page. See this page for the CI passing in test on my fork.
I have added a new build workflow. This runs on every push & pull request.
Thanks to the line push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }} the container is only pushed to GHCR if running on master, or from a tag.
Images being pushed are always tagged with latest, latst-psql and latest-mysql.
If building from a tag, <tagname>, <tagname>-psql and <tagname>-mysql are also pushed.
I have also updates all CI steps to their latest versions.
I renamed the previous "Build" workflow to "Test" so that I could use "Build" namespace for the container building workflow.

This looks amazing, I'll read through it over my coffee :)


processTicksAndRejections task_queues.js:94:5

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: fatal: not a git repository (or any of the parent directories): .git
Version: 0.19.0
OS: win32
OS Release: 10.0.18362
Product: Visual Studio Code
Product Version: 1.49.0
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:164:522736
rejected extension.bundle.js:164:522163
processTicksAndRejections task_queues.js:94:5

Hi @nagarjunCCP
Looks like you're trying to deploy to a web app that is configured for local git deploy.  You either need to deploy a project that has a git repository or you can configure your deployment source of your web app to None (which uses zip deploy).


Bug: Keep current selection when dragging files

Description
When you make a selection and drag it, the selection gets cleared, I think the current selection should persistent be prioritized above all (this is normal explorer behavior).
Steps To Reproduce

Select one or multiple files
Drag
Selection gets cleared

Requirements

Selection remains when dragging files

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4391
User ID
No response
Log File
debug.log

I just noticed that it's similar to #2856 but that one doesn't mention the selection clearing when dragging the files

@Laesx I tried dragging files to another location and the dropped items were selected. Are you seeing a different behavior?

@Laesx I tried dragging files to another location and the dropped items were selected. Are you seeing a different behavior?

No, that works fine, what I mean is in the same folder containing the selected items, when you start the drag all of them deselect.
Video: https://github.com/user-attachments/assets/52064691-7d5b-4bae-a339-1d504f53a03b


Scores Index.

@giagiannis I think this is what we want, take a look.

Coverage remained the same at 82.982% when pulling e6fe866243abb6b8ad926e7ce35cadd7d40ed657 on tabac:scores-index-basename into a111bbe851cc5fa3f459f1c435fd4352e93b96af on giagiannis:devel.


Restructure docs to provide "paths" for guidance?

Originally repoted by @markerikson via facebook/react/issues/10991.
Please read the discussion thread on the original issue before beginning work on this one.
Per Dan's recent comments at https://news.ycombinator.com/item?id=15367044 and https://twitter.com/dan_abramov/status/913896989842137091 , a lot of people still seem to have complaints about the way the docs are structured.
It might be worth trying to restructure the docs kind of like a "Choose Your Own Adventure" book, with different "paths" based on what you know so far and what you want to accomplish (suggestions for reference: https://twitter.com/autiomaa/status/913908358662574083 , https://twitter.com/trevorbrindlejs/status/913907697602433025 ).
Hypothetical paths example:

What are you looking for?

I want to see if I'm ready to learn React - what should I know first?

links to a page discussing common JS prerequisite knowledge

I want to try out React right now , without installing anything:

links to a page that points to CodePen, CodeSandbox, and StackBlitz for online playgrounds, and also gives a copy-paste HTML snippet with links to CDN libs that the user can save and edit locally

I want to learn the basic ideas of React, with nothing "new" involved

links to a page that describes components and rendering, with ES5 syntax, without using JSX

I want to learn the recommended way to use React

links to a page that talks about Create-React-App, ES6+, and JSX syntax

I understand the basics - how do I learn to "think in React" as I build something?

probably links to the current tutorial section

I'm trying to build an application - how do I solve "real-world" problems with React?

links to a page that addresses topics like routing, state management, etc, like the guides discussed in #8060

I'm looking for advanced React usage patterns that can help me reuse code better

links to a page that covers topics like HOCs, render props, context, etc

Another related idea would be if the code samples in the docs all had multiple syntax variations that could be viewed by switching tabs or a global option across the site, like "Plain ES5 Syntax" / "ES6 and JSX Syntax" / "ES6+ Syntax".

Can I ask you about it? Need to edit a file in this repository? Can you link to it? If it is still relevant

@bvaughn hi, I looked at the reference and want to work on this with someone's mentorship and discussion.

Hi @lostgirljourney. This issue is pretty old and we should close it. @gaearon and @rachelnabors have been working on a documentation rewrite that addresses this and many other pain points with the old docs. You can check out their work in progress here if you'd like: https://beta.reactjs.org/
Sorry about the confusion! :(

@bvaughn :D okayy.


Enable sources conformance tests and add Source CRD Metadata test

Fixes #3116

Proposed Changes

Enable sources conformance tests for CamelSource and KafkaSource
Add Source CRD Metadata test

Release Note
CamelSource and KafkaSource started having some conformance tests that run regularly.

/assign @aliok

/assign

/approve
/lgtm


Abstracting GridField row class generation

This further abstracts the classes generated for each row of the GridField. Without it, subclasses need to implement the same first/last/odd/even/base classes, and they also become responsible for the special data-* parameters GridField needs.

Hmm, this is now a stealthy API change because of #4079 :wink:
I think we need to be more careful in the future - we've introduced 2 new methods and then changed their argument signature fairly quickly, and taken them in to 3.1.
Does it matter so much that they're new and protected?
@tractorcow, thoughts?

@willmorgan "Does it matter so much that they're new and protected?" and there has been no framework release featuring the changes... :)

I agree with @willmorgan in that I think it's more a sign we should PR minor changes more carefully, to prevent us having to patch them up like this in the future. ;D I'm as guilty of that as any.
We can probably excuse this one as a replacement PR for the prior.


Missing newline before AUR updates start

The first AUR package starts on the same line as the last regular package.
See attached screenshot:

obs-studio in this case is the first and only AUR package.
The configuration I use is the one provided in the readme.

@zochris should be shipped in v0.2.5 release! Thanks for the report!


Should say how to set the Java version

This shows how to set the java version for gradle and maven tasks, but if you're using some of the examples provided in the other pages which just use script: mvn this page does not show how to set the version of Java in that context.
It should show how to set up with the JavaToolInstaller task

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d340719a-67b0-01bc-7bd3-c3492eb23abd
Version Independent ID: dd9064fa-235f-65f9-eca7-66564b09f440
Content: Build Java apps - Azure Pipelines
Content Source: docs/pipelines/languages/java.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

@trajano, Thanks for the feedback! In the context of scripts, it would be difficult to document all the possibilities using scripts as well as when you set up your pipeline, it has a Java version defined. I don't think that more definition falls under this documentation.
What do you think?

Its actually important to show this especially unlike https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/node-js?view=azure-devops the JavaInstaller tool needs an existing java rather downloading from known public sources.
So people who are using mvn via scripts would be wondering why java installer does not work and there's no proper java version they need installed

Hmm i seem to have lost my original message.  I think it is important because JavaInstaller has two key deficiencies compared to the \node tool.

JavaInstaller requires the user to specify the location on where to get the JDK.  No such option in the node tool.
JavaInstaller does not add to the PATH.  Node installer updates PATH automatically.

Because of those two deficiencies someone who requires a different version of Java may get confused on why they are not able to run with the proper version of Java.
In other cases I also use Docker in Docker with Java which is less efficient in order to get a proper version of Java.


Allow Push Notifications

Will need to allow push notifications for when a user puts app out of focus but it still runs (see ticket 11)
cc: @sshaar08 @kperusko

Added local notifications with default sound (push notifications are used when we want to send remote notifications).

@younglisa , @brooklynchuck Notification body is currently
"[Activity name] is finished". Do we want to to show something different?


Fritz!DECT 200 switch broken after last update

After updating to 5.1.0 on the homebridge I am unable to switch the actors on/off.
Altough the current state will be correctly displayed, the switch action is not taking place. Neither in the Homebridge via the plugin actor nor the integration into Appe HomeKit one.

Hey, what all can't you switch? And is there anything in log?

Hey @SeydX, sorry for the missing info I forgot to put it in the original post.
I have looked through the Homebridge logs and enabled debug logging, please see the output:
[5/26/2021, 11:50:56 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [5/26/2021, 11:50:56 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 521 Initializing HAP-NodeJS v0.9.4... [5/26/2021, 11:50:58 AM] Loaded config.json with 1 accessories and 4 platforms. [5/26/2021, 11:50:59 AM] Loaded 17 cached accessories from cachedAccessories. [5/26/2021, 11:50:59 AM] --- ... [5/26/2021, 11:51:01 AM] --- [5/26/2021, 11:51:01 AM] Loaded plugin<EMAIL_ADDRESS>[5/26/2021, 11:51:04 AM] Registering platform 'homebridge-fritz-platform.FritzPlatform' [5/26/2021, 11:51:04 AM] --- ... [5/26/2021, 11:51:14 AM] [Fritz] FritzBox Wifi guest: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] PC Stecki: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] PC Stecki Temperature: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Stecki: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Stecki Temperature: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Christoph: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Conny: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] NAS: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] WoL: TurtleNAS: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] WoL: TurtlePC: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Callmonitor: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] PC: Configuring accessory... [5/26/2021, 11:51:14 AM] [Fritz] Callmonitor connection established with <IP_ADDRESS>:1012 [5/26/2021, 11:51:14 AM] [Fritz] FritzBox Wifi guest: Polling state (wifi_guest)... [5/26/2021, 11:51:15 AM] [Fritz] FritzBox Wifi guest: An error occured during polling state (wifi_guest) [5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)     at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)     at processTicksAndRejections (internal/process/task_queues.js:95:5)     at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)     at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)     at Fritzbox.getSecurityPort (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:189:20)     at Fritzbox.upgradeSsl (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:198:18)     at Fritzbox.initialize (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:60:7)     at Fritzbox.exec (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:107:5)     at get (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:865:22)     at refreshDevices (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2422:15) [5/26/2021, 11:51:15 AM] [Fritz] Hosts: An error occured during polling state (hosts) [5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)     at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)     at processTicksAndRejections (internal/process/task_queues.js:95:5)     at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)     at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)     at refreshHosts (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2454:22)     at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2391:5) [5/26/2021, 11:51:15 AM] [TurtleBridge] TurtleBridge: 1 accessories [5/26/2021, 11:51:15 AM] [Fritz] Smarthome: An error occured during polling state (smarthome) [5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)     at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)     at processTicksAndRejections (internal/process/task_queues.js:95:5)     at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)     at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)     at refreshSmarthome (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2513:20)     at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2392:5) [5/26/2021, 11:51:15 AM] [TurtleBridge] masked debug info dumped to /homebridge/homebridge-hue.json.gz
After the initial error on setup, it keeps pumping out the same errors shown, starting with polling wifi_guest as first accessory.
I double-checked the credentials, do you have an idea what could be the problem here?

Hey @SeydX, sorry for the missing info I forgot to put it in the original post.
I have looked through the Homebridge logs and enabled debug logging, please see the output.
It seems, that all switches remain unfunctional, not only the DECT200 ones.
After the initial error on Start, it keeps pumping out the same errors shown, starting with polling wifi_guest as first accessory.
I double-checked the credentials as well as the settings required in the installation instructions, do you have an idea what could be the problem here?
[5/26/2021, 11:50:56 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 521
Initializing HAP-NodeJS v0.9.4...
[5/26/2021, 11:50:58 AM] Loaded config.json with 1 accessories and 4 platforms.
[5/26/2021, 11:50:59 AM] Loaded 17 cached accessories from cachedAccessories.
[5/26/2021, 11:50:59 AM] ---
...
[5/26/2021, 11:51:01 AM] ---
[5/26/2021, 11:51:01 AM] Loaded plugin<EMAIL_ADDRESS>[5/26/2021, 11:51:04 AM] Registering platform 'homebridge-fritz-platform.FritzPlatform'
[5/26/2021, 11:51:04 AM] ---
...
[5/26/2021, 11:51:14 AM] [Fritz] FritzBox Wifi guest: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] PC Stecki: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] PC Stecki Temperature: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Stecki: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Stecki Temperature: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Christoph: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Conny: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] NAS: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] WoL: TurtleNAS: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] WoL: TurtlePC: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Callmonitor: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] PC: Configuring accessory...
[5/26/2021, 11:51:14 AM] [Fritz] Callmonitor connection established with <IP_ADDRESS>:1012
[5/26/2021, 11:51:14 AM] [Fritz] FritzBox Wifi guest: Polling state (wifi_guest)...
[5/26/2021, 11:51:15 AM] [Fritz] FritzBox Wifi guest: An error occured during polling state (wifi_guest)
[5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)
    at Fritzbox.getSecurityPort (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:189:20)
    at Fritzbox.upgradeSsl (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:198:18)
    at Fritzbox.initialize (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:60:7)
    at Fritzbox.exec (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:107:5)
    at get (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:865:22)
    at refreshDevices (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2422:15)
[5/26/2021, 11:51:15 AM] [Fritz] Hosts: An error occured during polling state (hosts)
[5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)
    at refreshHosts (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2454:22)
    at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2391:5)
[5/26/2021, 11:51:15 AM] [TurtleBridge] TurtleBridge: 1 accessories
[5/26/2021, 11:51:15 AM] [Fritz] Smarthome: An error occured during polling state (smarthome)
[5/26/2021, 11:51:15 AM] [Fritz] Error: Cannot reach FritzBox. No response received. (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:54:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:67:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:130:20)
    at refreshSmarthome (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2513:20)
    at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2392:5)
[5/26/2021, 11:51:15 AM] [TurtleBridge] masked debug info dumped to /homebridge/homebridge-hue.json.gz

Can u install the beta version pls and post the log again after restart
sudo npm i -g homebridge-fritz-platform@beta

@CSchmidtDD
can u post your config.json pls

@SeydX Thansk for your help
Here is the current config for homebridge and the plattform (slightly redacted):
{
    "bridge": {
	...
    },
    "accessories": [
        {
		...
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "none",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "de",
            "platform": "config"
        },
		...,
        {
            "name": "Fritz",
            "debug": false,
            "devices": [
                {
                    "name": "FritzBox",
                    "host": "<IP_ADDRESS>",
                    "username": "<secret>",
                    "password": "<secretPW>",
                    "ssl": true,
                    "tr064": true,
                    "igd": false,
                    "master": true,
                    "readOnly": true,
                    "hide": true,
                    "connection": "repeater",
                    "options": {
                        "wifi_guest": "switch",
                        "wps": "characteristic"
                    }
                }
            ],
            "presence": [
                {
                    "active": true,
                    "blockTelegram": true,
                    "name": "<Name>",
                    "address": "<IP_ADDRESS>",
                    "accType": "occupancy",
                    "ping": false
                },
                {
                    "active": true,
                    "blockTelegram": true,
                    "name": "<Name2>",
                    "address": "<IP_ADDRESS>",
                    "accType": "occupancy",
                    "ping": false
                },
                {
                    "active": true,
                    "blockTelegram": false,
                    "name": "NAS",
                    "address": "<IP_ADDRESS>",
                    "accType": "occupancy",
                    "ping": false
                },
                {
                    "active": true,
                    "blockTelegram": false,
                    "name": "PC",
                    "address": "<IP_ADDRESS>",
                    "accType": "occupancy",
                    "ping": false
                },
                {
                    "active": true,
                    "blockTelegram": true,
                    "name": "<Name2> appliance",
                    "address": "<IP_ADDRESS>",
                    "accType": "occupancy",
                    "ping": false
                }
            ],
            "wol": [
                {
                    "name": "WoL: <Name>",
                    "address": "00:11:32:B5:4F:34"
                },
                {
                    "name": "WoL: <Name2>",
                    "address": "B4:2E:99:86:1B:9F"
                }
            ],
            "smarthome": [
                {
                    "name": "PC Stecki",
                    "ain": "<secret>",
                    "readOnly": false,
                    "energy": true,
                    "temperature": true,
                    "accType": "switch"
                },
                {
                    "name": "Stecki",
                    "ain": "<secret>",
                    "readOnly": false,
                    "energy": true,
                    "temperature": true,
                    "accType": "switch"
                }
            ],
            "callmonitor": {
                "active": true,
                "group": true,
                "ip": "<IP_ADDRESS>",
                "port": 1012
            },
            "extras": {
                "alarm": {
                    "active": false
                },
                "wakeup": {
                    "active": false
                },
                "ringlock": {
                    "active": false
                },
                "phoneBook": {
                    "active": false,
                    "accType": "switch"
                }
            },
            "options": {
                "presence": {
                    "anyone": false,
                    "accType": "occupancy"
                },
                "polling": {
                    "timer": 10
                }
            },
            "telegram": {
                "active": true,
                "token": "<secret>",
                "chatID": "<secret>",
                "messages": {
                    "presence": {
                        "user_in": "*Präsenz:* _@ ist da_",
                        "user_out": "*Präsenz:* _@ ist weg_",
                        "anyone_in": "*Präsenz:* _Jemand ist da_",
                        "anyone_out": "*Präsenz:* _Jemand ist weg_"
                    },
                    "callmonitor": {
                        "incoming": "*Anruf:* _von @_",
                        "outgoing": "*Anruf:* _an @_",
                        "disconnected": "_Aufgelegt_"
                    },
                    "reboot": {
                        "start": "*FritzBox* _startet sich neu_",
                        "finish": "*FritzBox* _ist wieder ereichbar_"
                    },
                    "network": {
                        "on": "*Netzwerk:* Detected _@_"
                    }
                }
            },
            "platform": "FritzPlatform"
        }
    ]
}

Just tried 5.0.33 - everything works as intended when going back with the config.
I installed homebridge-fritz-platform v5.1.1-beta.2 and was of course met with the same error, now put in the port where you said in the config and restarted - now the same errormessages show up right before startup completion:
[5/28/2021, 2:45:04 PM] [Fritz] FritzBox Wifi guest: An error occured during polling state (wifi_guest)
[5/28/2021, 2:45:04 PM] [Fritz] Error: No or invalid response: http://<IP_ADDRESS>:49000/upnp/control/deviceinfo - URI malformed (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:56:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:69:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:131:20)
    at Fritzbox.getSecurityPort (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:155:20)
    at Fritzbox.upgradeSsl (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:164:18)
    at Fritzbox.initialize (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:64:7)
    at Fritzbox.exec (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:110:5)
    at get (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:865:22)
    at refreshDevices (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2431:15)
[5/28/2021, 2:45:04 PM] [Fritz] Hosts: An error occured during polling state (hosts)
[5/28/2021, 2:45:04 PM] [Fritz] Error: No or invalid response: http://<IP_ADDRESS>:49000/upnp/control/hosts - URI malformed (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:56:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:69:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:131:20)
    at refreshHosts (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2463:22)
    at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2400:5)
[5/28/2021, 2:45:05 PM] [Fritz] Smarthome: An error occured during polling state (smarthome)
[5/28/2021, 2:45:05 PM] [Fritz] Error: No or invalid response: http://<IP_ADDRESS>:49000/upnp/control/deviceconfig - URI malformed (undefined)
    at Object.exports.request (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:56:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at exports.requestXml (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/request.js:69:20)
    at Service.execAction (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/service.js:131:20)
    at refreshSmarthome (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2522:20)
    at Object.poll (/homebridge/node_modules/homebridge-fritz-platform/src/helper/deviceHandler.js:2401:5)
[5/28/2021, 2:45:05 PM] [TurtleBridge] masked debug info dumped to /homebridge/homebridge-hue.json.gz

@CSchmidtDD
can u try latest beta pls?

Hi @SeydX
Now it keeps crashing the homebridge at startup with this error:
[5/29/2021, 1:51:04 PM] [Fritz] Initializing FritzPlatform platform...
[5/29/2021, 1:51:08 PM] URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at new Fritzbox (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:38:25)
    at /homebridge/node_modules/homebridge-fritz-platform/src/platform.js:84:38
    at Array.map (<anonymous>)
    at new FritzPlatform (/homebridge/node_modules/homebridge-fritz-platform/src/platform.js:79:25)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)
[5/29/2021, 1:51:08 PM] Got SIGTERM, shutting down Homebridge...
[5/29/2021, 1:51:09 PM] [TurtleBridge] TurtleBridge: 1 accessories
[5/29/2021, 1:51:09 PM] [TurtleBridge] masked debug info dumped to /homebridge/homebridge-hue.json.gz
[5/29/2021, 1:51:09 PM] Initializing platform accessory 'TurtleBridge'...
[5/29/2021, 1:51:09 PM] [TurtleBridge] TurtleBridge: 2 services
[5/29/2021, 1:51:13 PM] [TurtleBridge] goodbye
[5/29/2021, 1:51:13 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[5/29/2021, 1:51:18 PM] [HB Supervisor] Restarting Homebridge...
[5/29/2021, 1:51:18 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules
[5/29/2021, 1:51:19 PM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 630
Initializing HAP-NodeJS v0.9.4...
[5/29/2021, 1:51:21 PM] Loaded config.json with 1 accessories and ... platforms.
[5/29/2021, 1:51:21 PM] Loaded 17 cached accessories from cachedAccessories.
[5/29/2021, 1:51:21 PM] ---
[5/29/2021, 1:51:23 PM] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-fritz-platform' since we already loaded the same plugin from '/homebridge/node_modules/homebridge-fritz-platform'.
[5/29/2021, 1:51:24 PM] Loaded plugin<EMAIL_ADDRESS>[5/29/2021, 1:51:24 PM] Registering platform 'homebridge-dyson-pure-cool.DysonPureCoolPlatform'
[5/29/2021, 1:51:24 PM] ---
[5/29/2021, 1:51:24 PM] Loaded plugin<EMAIL_ADDRESS>[5/29/2021, 1:51:27 PM] Registering platform 'homebridge-fritz-platform.FritzPlatform'
[5/29/2021, 1:51:32 PM] ---
[5/29/2021, 1:51:32 PM] Loading ... platforms...
[5/29/2021, 1:51:32 PM] [Config] Initializing config platform...
[5/29/2021, 1:51:32 PM] [Config] Running in Service Mode
[5/29/2021, 1:51:32 PM] [TurtleBridge] Initializing Hue platform...
[5/29/2021, 1:51:32 PM] [TurtleBridge] homebridge-hue v0.13.11, node v14.17.0, homebridge v1.3.4
[5/29/2021, 1:51:32 PM] [Fritz] Initializing FritzPlatform platform...
[5/29/2021, 1:51:36 PM] URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at new Fritzbox (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:38:25)
    at /homebridge/node_modules/homebridge-fritz-platform/src/platform.js:84:38
    at Array.map (<anonymous>)
    at new FritzPlatform (/homebridge/node_modules/homebridge-fritz-platform/src/platform.js:79:25)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)
[5/29/2021, 1:51:36 PM] Got SIGTERM, shutting down Homebridge...
[5/29/2021, 1:51:37 PM] [TurtleBridge] TurtleBridge: Signify Netherlands B.V. BSB002 bridge v1945091050, api v1.44.0
[5/29/2021, 1:51:37 PM] [TurtleBridge] TurtleBridge: 1 accessories
[5/29/2021, 1:51:37 PM] [TurtleBridge] masked debug info dumped to /homebridge/homebridge-hue.json.gz
[5/29/2021, 1:51:37 PM] Initializing platform accessory 'TurtleBridge'...
[5/29/2021, 1:51:37 PM] [TurtleBridge] TurtleBridge: 2 services
[5/29/2021, 1:51:41 PM] [TurtleBridge] goodbye
[5/29/2021, 1:51:42 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[5/29/2021, 1:51:47 PM] [HB Supervisor] Restarting Homebridge...
[5/29/2021, 1:51:47 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules
[5/29/2021, 1:51:47 PM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 656
Initializing HAP-NodeJS v0.9.4...
[5/29/2021, 1:51:49 PM] Loaded config.json with 1 accessories and 4 platforms.
[5/29/2021, 1:51:50 PM] Loaded 17 cached accessories from cachedAccessories.
[5/29/2021, 1:51:50 PM] ---

@CSchmidtDD
it seems that your password contains special characters.
Could you change your password slightly and post it here? I need to see what characters are causing this so I can reproduce it.

Hi @SeydX
The Password is simiar to (with these exact special chars):
6x9%D^Ms5sCa9tHheN

@CSchmidtDD
should be fixed with the latest beta, can u test  it pls

@SeydX
Problem is fixed, thank yo uvery much.
I also removed the added port in the config.json, tested it successfully and it keeps working, FYI :)

Hi @SeydX
Unfortunately, the problem resurfaced after the update to 6.* and I can not seem to get get a grasp on what to blame it.
Config & stuff unchanged, only version updates so far. Any idea what might cause the exact same case after your extensive rework which I find quite remarkable.
Regards

Can u post the log pls and maybe restarr fritzbox

Current setup:

FB 7590 v7.27
HB with Plug-in v6.0.8

Restarted both to no avail. Lights nothing to declare, really no messages from the plug-in so far.
Enabled Debug-Log (other Log Boxes were already enabled), restarted and checked.
Behaviour persists, switching is done via HomeBridge, but does not execute it in reality. The Switch-State does not seem to be displayed correctly now as well. (It is not reverting to its real state after a "switch" and just stays toggled off, even if it is really still turned on).
Hope that helps and thanks for the fast reply!

Can u post your current config.json pls
v6 changed a bit

And please check your config with the example config
https://github.com/SeydX/homebridge-fritz-platform/blob/master/example/example-config.json
(You need to set "active": true)

Hi @SeydX
The problem does seem related to Issue-204, but whenever I set active: true in the device it will throw an error and crash the homebridge.
When commenting out "active": true, in the device for fritzbox, it will work as described above - doesn't do anything.
Here the logmessage that kills homebridge, when setting device to active:
    at decodeURIComponent (<anonymous>)
    at new Fritzbox (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:40:25)
    at /homebridge/node_modules/homebridge-fritz-platform/src/accessories/router/router.setup.js:29:27
    at Array.forEach (<anonymous>)
    at Setup (/homebridge/node_modules/homebridge-fritz-platform/src/accessories/router/router.setup.js:9:16)
    at new FritzPlatform (/homebridge/node_modules/homebridge-fritz-platform/src/platform.js:82:5)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)
[6/28/2021, 12:03:07 PM] Got SIGTERM, shutting down Homebridge...```

Hi @SeydX
I added active:true everywhere it did not stand yet - (e.g. smarthome actors) - but that did not do the trick.
The problem does seem related to Issue-204, but whenever I set active: true in the device for the fritzbox itself it will throw an error and crash the homebridge.
When commenting out "active": true, in the device for fritzbox, it will work as described above - doesn't do anything.
Here the logmessage that kills homebridge, when setting device to active:
[6/28/2021, 12:03:07 PM] URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at new Fritzbox (/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:40:25)
    at /homebridge/node_modules/homebridge-fritz-platform/src/accessories/router/router.setup.js:29:27
    at Array.forEach (<anonymous>)
    at Setup (/homebridge/node_modules/homebridge-fritz-platform/src/accessories/router/router.setup.js:9:16)
    at new FritzPlatform (/homebridge/node_modules/homebridge-fritz-platform/src/platform.js:82:5)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)
[6/28/2021, 12:03:07 PM] Got SIGTERM, shutting down Homebridge...

Can u change your password for the fritzbox

Changed to an easier password with aaaabbbeeee123! and it suddenly worked (with active true on the device).
So I guess the password problem is back, can confirm this.

v6.0.10 should fix it again, can u confirm pls

v6.0.10 fixed it, thanks a bunch :)


fixed up and down commands

!closes #728

Closing this in favour of the upcoming slash-command rework which will include this fix


pip install failed with release [0.1.0]

Problem:
Pip install failed with
IOError: [Errno 2] No such file or directory: 'README.md'
Command:
pip install rio-pansharpen

Full backtrace:
$pip install rio-pansharpen
Collecting rio-pansharpen
  Downloading rio-pansharpen-0.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/mp/nl3vzcd93979ktmr6rxtt48r0000gn/T/pip-build-fxrufF/rio-pansharpen/setup.py", line 6, in <module>
        with codecs_open('README.md', encoding='utf-8') as f:
      File "/Users/VirginiaMapbox/venv/lib/python2.7/codecs.py", line 896, in open
        file = __builtin__.open(filename, mode, buffering)
    IOError: [Errno 2] No such file or directory: 'README.md'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/mp/nl3vzcd93979ktmr6rxtt48r0000gn/T/pip-build-fxrufF/rio-pansharpen/

Current fix implemented in 0.1.1:
I should have used README.rst in the setup.py instead of the markdown file. For release[0.1.1], I removed setup.cfg which tells PyPI where my README file is:
[metadata]
description-file = README.md

I was able to run pip install rio-pansharpen successfully after this change. For the next release, I will include README.rst as well as try to add the README files to MANIFEST.in.

README.rst added in commit 8dc1216.

If we're going with README.rst, we should also delete README.md to avoid confusion


strncpy faills to compile in ESP-IDF

Hello, this is my first contribution here and I hope I'm doing it properly.
Description
The esp32 (ESP-IDF) build for the "ubxlib_runner" fails with the following error messages
/ubxlib/gnss/test/u_gnss_private_test.c:598:13: error: 'strncpy' specified bound 9 equals destination size [-Werror=stringop-truncation]
  598 |             strncpy(talkerSentenceBuffer, gNmeaTestMessage[x].pTalkerSentenceStr, sizeof(talkerSentenceBuffer));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/ubxlib/common/sock/test/u_sock_test.c:845:13: error: 'strncpy' specified bound 64 equals destination size [-Werror=stringop-truncation]
  845 |             strncpy(buffer, gTestAddressList[x].pAddressString,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  846 |                     sizeof(buffer));
      |                     ~~~~~~~~~~~~~~~

/ubxlib/common/sock/test/u_sock_test.c:890:9: error: 'strncpy' specified bound 64 equals destination size [-Werror=stringop-truncation]
  890 |         strncpy(buffer, gTestAddressPortRemoval[x].pAddressStringOriginal,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  891 |                 sizeof(buffer));
      |                 ~~~~~~~~~~~~~~~

Steps to reproduce the failure

Get the repository (5e32f48)

git clone https://github.com/u-blox/ubxlib

Get all submodules recursively

git submodule update --init --recursive

Open the project at: 'port/platform/esp-idf/mcu/esp32/runner'

As I am using vscode and the esp-idf extension, so I changed line 31 of the CMakeLists.txt file to look like this (probably there is a bether way to do this)

set(TEST_COMPONENTS "ubxlib_runner" CACHE STRING "Component to test")

I compiled using the extension commands (cilinder like icon in the footbar)

Workaround
Apparently the strncpy function may not be able to add the '\0' terminator if the size of the input string is equal to the size of the output buffer, resulting in a string not terminated by '\0'. To work around this error, I subtracted 1 from the value entered in the third argument of the strncpy function in the following locations
/ubxlib/gnss/test/u_gnss_private_test.c:598
            strncpy(talkerSentenceBuffer, gNmeaTestMessage[x].pTalkerSentenceStr, sizeof(talkerSentenceBuffer)-1);

/ubxlib/common/sock/test/u_sock_test.c:845:

            strncpy(buffer, gTestAddressList[x].pAddressString,
                    sizeof(buffer)-1);

/ubxlib/common/sock/test/u_sock_test.c:890
        strncpy(buffer, gTestAddressPortRemoval[x].pAddressStringOriginal,
                sizeof(buffer)-1);

With these modifications the compilation ended successfully. Despite this, I haven't been able to carry out any further tests yet, as I'm waiting for the delivery of the devboard I purchased this week.
Hope this helps, greetings to the whole team.

You may need to add a buffer[sizeof(buffer)-1] = '\0' after as strncpy will not write beyond the size and add the zero termination if it does exceed.
That last char may have not been set before calling strncpy.

Hi, and thanks for posting.  This is another one of those extremely irritating and quite pointless errors/warnings that GCC 8 introduced: as you will see from the code, the buffer sizes already include room for a null terminator, there is no actual problem here, making this an error simply causes us to add more code (the buffer[sizeof(buffer)-1] = '\0' that Michael mentions) for no reason.
Let me see what is the simplest way to shut it up.

Actually, could you just try replacing strncpy with memcpy in these three locations?  That should fix it.

Hopefully fixed in b645c901a44ecc2aec125aaacdd5e9a0511e27f9.

I will close this one now: please feel free to re-open, or open a new issue, if there is more to discuss.


Py2 compatibility

Fixes #191
5 failures left to fix.

(plugins are not guaranteed to be py2 compatible)


Fix build

Porting fix from #1539 and attempting to fix builds for CUDA

[x] Linux wheel cpu
[x] Linux wheel gpu
[x] Linux wheel rocm
[ ] Linux conda cpu
[ ] Linux conda gpu
[ ] Linux conda rocm
[x] macOS wheel cpu
[x] macOS conda cpu
[ ] Windows wheel cpu
[ ] Windows wheel gpu
[ ] Windows conda cpu
[ ] Windows conda gpu

Addressed by #1733


Error loading Texture from: 'cubemap.json'

this.app.assets.loadFromUrl('/static/ring-stone/cubemap/35208253/cubemap.json', 'cubemap', (err, asset) => {
       console.log(asset)
});

The file is loaded but i get the error loading Texture from: 'cubemap.json'

related to https://github.com/playcanvas/engine/issues/3551


Feature/setup testing

Addresses Issue #255:

Installed jest and jest-watch-typeahead plugin
Added sample test that passes
Added a jest config file that ignores node_modules and cypress tests
Changed the scripts in package.json (these are just ideas I'm proposing)

"test" was previously a script for running end-to-end tests with Cypress
I propose renaming that script something like "e2e:test" and reserving "test" for tests run with jest
Also, I added a "test:watch" script for running jest tests in watch mode.

Thank you for this @andreamartz !!
What steps would we need to take to create a folder for our tests to live in? I can see the number of tests growing and it'd be easier to manage if they had their own directory.
Just ran my first test and it passed!

@drewclem,
Glad to hear the first test passed!
Two things:

Could you tell me what is failing with Vercel? When I click on the Details link, I'm taken to the login page for Vercel. I haven't created an account and tried to log in, but if you think I'd have access to the information I'm looking for, I can do that.

As for your question about setting up tests, having a single testing directory is one option, as you mentioned. You could do that certainly. Here is another approach to consider:

From what I understand, colocating the tests to be near the components and utility functions they are associated with has some advantages as a project grows.
Nick said colocating tests is how they do it at Forem. See an example from Forem here.
Nick also pointed me to this article by Kent C. Dodds about colocation. There is a section in the middle of it about colocation of tests.

@andreamartz That make sense to me!


Membership hack upgrade

can change the membership hack to an ultra or ultimate

please same thing even basic dosnt work.


Add diversion header to message

The idea of this is good, but I think that it needs to end up in the grammar

The .pegjs file is not generated, it is what should be modified.

Take a look at the commit history on the file. That should help you.

@egreenmachine @seanbright Thanks for help. Will update in few days. 🙏

Any update here? At this point a bit more work is needed since we've moved to types, but if you still anticipate getting this done then I will leave it open.


Enable preview

When I click "Create a Resource" and then enter "Event Hubs Clusters" it doesn't show a "Create Cluster" option. If the preview is something that needs to be requested, directions for that should be included on this page.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f827bf44-6c6d-9ef6-23ee-780b2a263998
Version Independent ID: 6f6a9536-14c0-3377-8f38-530dd0ab217a
Content: Azure Quickstart - Create an Event Hubs dedicated cluster using the Azure portal
Content Source: articles/event-hubs/event-hubs-dedicated-cluster-create-portal.md
Service: event-hubs
GitHub Login: @xurui203
Microsoft Alias: xurui

Hello @jackbond  and thank you for your inquiry.  To enable the Event Hubs dedicated cluster, you need to speak to the Event Hubs team, email address linked here.
These directions are near the top of the doc page, in a purple box.

Please let me know if you have more questions.  Thank you for using Azure.


Python 3 support

Hey, thanks for making the script, but I'm having trouble finding a way to make it work. Every time I run it I get the following error message:
File "PlayMusicCL.py", line 122
print "Gave a Thumbs Up to {0} by {1} on Google Play.".format(song["title"].encode("utf-8"), song["artist"].encode("utf-8"))
^
SyntaxError: invalid syntax
my python version is 3.3.4 and I running this on an Arch Linux install.
I'm getting issue running the GetDevice.ph
File "GetDeviceID.py", line 11
print "Username: ",
^
SyntaxError: invalid syntax
Hope you can fix it, or help me understand why it's failing to work on my system. Thanks for your effort!

On a side note, python3 did not remove print, only the print statement.
print 'hello world'
print('hello world')

In that code snippet, the first line will only work with python2 and the second line will work with both python2 and python3.


feat: deprecate nSomething in favor of using NOT

Fix #361

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (c732dbe) 87.98% compared to head (faac062) 87.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
+ Coverage   87.98%   87.99%   +0.01%
==========================================
  Files          33       33
  Lines        2971     2974       +3
==========================================
+ Hits         2614     2617       +3
  Misses        357      357

Files
Coverage Δ

strawberry_django/filters.py
97.79% <100.00%> (+0.03%)
:arrow_up:

strawberry_django/type.py
93.90% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Pointed GHActions badges to master branch

Minor fix to the Github Actions badges to point them to the master branch.

Coverage increased (+0.07%) to 73.962% when pulling 69c882956a0b16230d75a66026c0261d854cd8de on github_actions_badge_update into 8f19216ca499edb6769f4334c9aae038d5626b21 on master.


Swift 2.3/3.0 support

As I'm using XCode 8.0 GM seed compiling oauth.io module against Swift 2.3, it complains Use of undeclared type 'OAuthIORequest', in fact compiler can't find any reference to the class defined inside the module. Everything works fine under XCode 7, Swift 2.2

Done !
I pushed it as 1.2.2 on pod so we can pod repo update / pod update
I also updated the exemple with swift 3:
https://github.com/oauth-io/ios-swift-example


Custom vite plugin not working

I'm trying to install the vite-plugin-react-svg plugin in a react storybook app and it doesn't seem to work.
I've tried adding the plugin both to vite.config.js and to .storybook/main.js's viteFinal and nothing seems to have changed.
Any ideas how could I debug / solve this issue?

Does the plugin work correctly in your app when you start it up without storybook?  Could you share your viteFinal, and any other details on what you expect to happen vs what is actually happening?

What I expect is that when I import a svg file with:
import { ReactComponent } from './path/to/file.svg';

I get a React svg component instead of undefined in the case of the named import from above, or  './path/to/file.svg' in the case of default import.
I couldn't find a way to debug if the plugin is even loaded, but the system behaves as if it is not.
I can't start the app without storybook because it's a component library embedded in storybook.
vite.config.js
import { defineConfig } from "vite";
import reactRefresh from "@vitejs/plugin-react-refresh";
import svgPlugin from "vite-plugin-react-svg";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [svgPlugin(), reactRefresh()],
});

.storybook/main.js
const reactRefresh = require("@vitejs/plugin-react-refresh");
const svgPlugin = require("vite-plugin-react-svg");

module.exports = {
  stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
  addons: [
    "@storybook/addon-a11y",
    "@storybook/addon-actions",
    "@storybook/addon-docs",
    "@storybook/addon-essentials",
    "@storybook/addon-links",
    "@storybook/addon-storysource",
    "storybook-styled-components-theme-selector",
    // "@storybook/preset-create-react-app",
  ],
  core: {
    builder: "storybook-builder-vite",
    async viteFinal(config, { configType }) {
      return {
        ...config,
        plugins: [svgPlugin(), reactRefresh()],
      };
    },
  },
};

Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-react-refresh,storybook-builder-vite,vite-plugin-react-svg --binaries --browsers:
  System:
    OS: macOS 11.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 2.00 GB / 32.00 GB
    Shell: 3.1.2 - /usr/local/bin/fish
  Binaries:
    Node: 12.20.2 - ~/.nvm/versions/node/v12.20.2/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v12.20.2/bin/npm
  Browsers:
    Chrome: 91.0.4472.106
    Firefox: 89.0
    Safari: 14.1
  npmPackages:
    @vitejs/plugin-react-refresh: ^1.3.1 => 1.3.3
    storybook-builder-vite: ^0.0.9 => 0.0.9
    vite: ^2.3.7 => 2.3.7
    vite-plugin-react-svg: ^0.2.0 => 0.2.0

Just an observation, instead of:
plugins: [svgPlugin(), reactRefresh()], you should use plugins: [...config.plugins, svgPlugin(), reactRefresh()],
Otherwise you override the default plugins configuration

I believe @schalk-b's suggestion should work. If not, then reopen the issue!

I have a similar issue. Given my plugin configuration in viteFinal:
viteFinal: async config => {
		return {
			...config,
			plugins: [...config.plugins, svgPlugin()],
		}
},

I'm getting
Failed to execute 'createElement' on 'Document': The tag name provided ('/assets/seal.svg') is not a valid name.
As if the plugin isn't even "active."
Any hints on what I am doing wrong in my configuration?
Meanwhile, I don't have any SVG-related config in my config.vite.tsto refer to  because I am building a component library where one component takes an SVG as one of its props. It's only in the story where I am demonstrating its use.
Any ideas are appreciated.

I just tried this with @svgr/rollup and vite-plugin-svgr and it also isn't working for me :'(

@benglewis can you please open a new issue with all the details so we can help?


Upgrade deps and use latestish nightly

I started investigating if dependencies like libp2p could be upgraded in order to work towards communication with go-ipfs. This compiles and now passes the previously passed tests.

[x] Update to futures 0.3
[x] Update to libp2p 0.13.1
[x] Update other dependencies
[x] Stay on tokio 0.1 as libp2p is staying
[x] Update to nightly-2019-11-21 (still need that feature(try_trait))
[x] Use async fn mostly everywhere with the help of async_trait
[x] Squash most of commits
[x] Put rocksdb behind a feature

LGTM! Awesome work, thanks!


Require Centos 7.2 via sample playbook

Fixes #846

this looks good. results w/ gce and aws:

scenario
result

centos 7.2 image
no warning, provisioning completed successfully

centos 7.1 image (upgrade_packages not run)
Your hosts don't appear to be running a compatible version of Centos. Please run the playbook playbooks/upgrade-packages.yml before continuing.

centos 7.1 image ( with upgrade_packages applied)
no warning, provisioning completed successfully

@ryane Thanks for testing!


isSupported not working

I've been messing around with this module in a small project using node, express and angular and noticed that the isSupported function doesn't work.
In library function browserSupportsLocalStorage, should line
var supported = (storageType in $window && $window[storageType] !== null);

not read
var supported = ("localStorage" in $window) && ($window['localStorage'] !== null)

i.e. referencing item 'localStorage' and not 'storageType'
I see in code that storageType should be defaulting to 'localStorage' so above should work - I'm not sure what's up.

Fix was added.


Suggestion container does not open until pressing Down button

I am implementing the Basic functionality of the Autosuggest and I am fetching data from an external API using onSuggestionsFetchRequested. The results are fetched but the container with the suggestions does not open until the Down button is pressed. What am I doing wrong?

Please create a Codepen that demonstrates your issue. You can start from the Basic example.

https://codepen.io/platico/pen/yLNYbGy?editors=1111

Provide the steps to reproduce the issue, e.g.:

Type a number (eg. 1)
Press Down button

Observed behaviour: The suggestions container does not open after results are fetched
Expected behaviour: The suggestions container should be opened after results are fetched

axios call is an asynchronous, you have to set the state only after the call is resolved. Add async and await in the function. It is not an issue with the onSuggestionsFetchRequested.
onSuggestionsFetchRequested = async ({ value }) => {
       // your setup

        await axios.get(url)
            .then(function (response) {
                         // form your array
                        });
                });

            })
            .catch(function (error) {
            });

        this.setState({
            suggestions: rooms
        });
  };


[Bug] Input element loses the ability to enter text after removing

Thanks for opening an issue!
Please select the type of issue you're reporting. For questions.

[x] Bug
[ ] Feature Request
[ ] Question

Problem Report
Hello.
I caught an interesting bug. After I remove one  component, the input element loses the ability to enter text, but does not lose focus.

System Info
Node Version: 12.13.0
Browser: Chrome 79.0.3945.130
OS: MacOS 10.15.2
Reproduction
Demo

got the same bug, the input lose the ability to input text without losing focus status, have to click the input again before continue to input text.

Thanks for opening an issue!
Please select the type of issue you're reporting. For questions.

[x]  Bug
[ ]  Feature Request
[ ]  Question

Problem Report
Hello.
I caught an interesting bug. After I remove one component, the input element loses the ability to enter text, but does not lose focus.

System Info
Node Version: 12.13.0
Browser: Chrome 79.0.3945.130
OS: MacOS 10.15.2
Reproduction
Demo

you got any solution?

I checked, and this bug is no longer reproducible.


architecture.md: Fix networking info

The networking part of the doc talks about the
two ends of the veth pair. One end is in the container
networking namespace and the other one should
be in the host networking namespace. Fix this info.
Fixes: #518
Signed-off-by: Nitesh Konkar<EMAIL_ADDRESS>

@grahamwhaley This does things clearer.

All green! @GabyCT @devimc


Index page with words of same spelling

Add an index page for words with the same spelling. For example Ticken and ticken. The page should show a list of all these words and link to them.
Todos

[ ] Add index page with list of words
[ ] Add "x weitere Bedeutungen" to the detail page of a word, if there are more words with the same spelling

Follow up of #11.

We can use the search for that? For the given example:
https://wort.schule/search?filterrific[filter_type]=&filterrific[filter_wordstarts]=Ticken&filterrific[filter_wordcontains]=&filterrific[filter_wordends]=&filterrific[filter_syllablescontains]=&filterrific[filter_letters]=&filterrific[filter_source]=&filterrific[filter_topic]=&filterrific[filter_hierarchy]=&filterrific[filter_consonant_vowel]=&filterrific[filter_phenomenons][conjunction]=and&filterrific[filter_phenomenons][phenomenons][]=&filterrific[filter_strategies][conjunction]=and&filterrific[filter_strategies][strategies][]=&filterrific[filter_keywords][conjunction]=and&filterrific[filter_keywords][keywords][]=&filterrific[filter_foreign]=0&filterrific[filter_prototype]=0&filterrific[filter_compound]=0&filterrific[filter_example_sentences]=0&filterrific[filter_singularetantum]=0&filterrific[filter_pluraletantum]=0&filterrific[filter_subjectless]=0&filterrific[filter_perfect_haben]=0&filterrific[filter_perfect_sein]=0&filterrific[filter_modal]=0&filterrific[filter_strong]=0&filterrific[filter_irregular_declination]=0&filterrific[filter_absolute]=0&filterrific[filter_irregular_comparison]=0

What I meant: Shouldn't we use search for that? It is a very fast implementation and the user can use the search to filter. Win-Win.

What I meant: Shouldn't we use search for that? It is a very fast implementation and the user can use the search to filter. Win-Win.

Yes, that's a good idea!
We might need an "exact match" though in the search. In the Ticken example, we would also find tickend (it doesn't exist on production, but in theory we'd find it).
Does that matter?
If it does, we could add either another input field for an exact match, or we could support some very basic regex. For example $ to specify that the word must end.

We might need an "exact match" though in the search. In the Ticken example, we would also find tickend (it doesn't exist on production, but in theory we'd find it).
Does that matter?

hmmm... of course it matters. But I think we can live with that because it is much faster to implement. Let's call this a feature. 😉


Update nektos/act to v0.2.43

Also updates a few downstream deps including go-git.

We are using a fork of act https://gitea.com/gitea/act

ah yes... Sorry I missed that.


Issues with the Documentable class

There are several issues with the Documentable class.

[ ] It's not documented but for a meager "All inherit from this class"
[ ] english-list is apparently only used in human-kind
[ ] human-kind is not used anywhere, and neither are tested.
[ ] categories is neither used nor tested.

Suggestions
I'm using Comma's "find usages" here, it might not be perfect. Check the repo for usage anywhere else, and eliminate if they are not really used.

OK, categories is used. The "find usages" is not perfect:
lib/Documentable.pm6:    has      @.categories = [];
lib/Documentable/CLI.pm6:            if ($doc.kind eq Kind::Type<EMAIL_ADDRESS>$doc.categories.Slip}
lib/Documentable/CLI.pm6:            @routine-subindexes.append(@routine-docs.map({.categories.Slip}));
lib/Documentable/DocPage/Index.pm6:                               .grep({.categories eq %category<name>});
lib/Documentable/DocPage/Index.pm6:        .grep({$category ⊆ .categories})\ # XXX
lib/Documentable/DocPage/Index.pm6:            .grep({$category ⊆ .categories})\ # XXX
t/200-documentable.t:  is-deeply $doc3.categories(), ["method", "sub"], "categories eq to sk";
t/201-documentable-file.t:  is-deeply $doc.defs».categories.tree(*.Slip, *.Slip).unique.sort, @categories, "Categories detected";

Ditto for human-kind:
lib/Documentable/DocPage/Secondary.pm6:                pod-heading("{.origin.human-kind} {.origin.name}"),
t/200-documentable.t:  is $doc2.human-kind(), "language documentation", "first  case";
t/200-documentable.t:  is $doc1.human-kind(), "type operator"         , "second case";
t/200-documentable.t:  is $doc3.human-kind(), "method and sub"        , "third  case";

(and thus for english-list`)


Added support for historical data

We can now query historical fear and greed data from the can data source directly. The default range of data that is returned is 1 year.

Please update the README as well, to surface this new function to users of the library.


Prevent foreach crash if no IPsec

On a system with no IPsec defined, this would crash with:
[04-Apr-2016 21:33:24 Etc/UTC] PHP Stack trace:
[04-Apr-2016 21:33:24 Etc/UTC] PHP   1. {main}() /usr/local/www/status_ipsec.php:0
[04-Apr-2016 21:33:24 Etc/UTC] PHP   2. print_ipsec_body() /usr/local/www/status_ipsec.php:74
I did belts-and-braces here - moved the "if" up at line 72 and also added an if(is_array()) at line 394

Will submit again with conflict resolved.

See #2835


Author first name got deleted in TEI output

Author first name 'Hyeouk' got deleted in TEI output.
Please see attached Input PDF.
10597_2016_31_Article.pdf

It works fine now for this example:
                        <author>
                            <persName
                                xmlns="http://www.tei-c.org/ns/1.0">
                                <forename type="first">Hyeouk</forename>
                                <forename type="middle">Chris</forename>
                                <surname>Hahm</surname>
                            </persName>
<EMAIL_ADDRESS>                            <affiliation key="aff3">
                                <orgName type="department">School of Social Work</orgName>
                                <orgName type="institution">Oston University</orgName>
                                <address>
                                    <addrLine>264 Bay State Road</addrLine>
                                    <postCode>02215</postCode>
                                    <settlement>Boston</settlement>
                                    <region>MA</region>
                                    <country key="US">USA</country>
                                </address>
                            </affiliation>
                        </author>


Add a link to barChart and label

Hello,
Is there a way to add link to a barChart and its label? I tried a couple of thing but nothing is working.
Thank you

Closing. Reason: older than 6 months and not enough or outdated information supplied. Please re-open this issue if the problem persists, but provide more information. (including a sandbox link if possible)


feat: custom logger for contentlake aws lambda services

related PR: https://github.com/adobe/content-lake-ingestor-dispatcher-service/pull/12
Description

goal is to require little to no changes in our lambda functions to be able to use

lambda functions can use context.log.info, context.log.debug, etc as normal
logs will have special prefix header added

wrapper function replaces default context.log with OpsLog class
wrapper function adds  default start and end logs with duration
special coralogix rules set up to parse JobId (JOB), RequestId (REQ), Step, Message, Status, etc.

Log Format

start message:
JOB: <required> REQ: <required> MESSAGE: <required>
regular message:
JOB: <required> REQ: <required> STEP: <optional> MESSAGE: <required>
end error:
JOB: <required> REQ: <required> STEP: <optional> STATUS: <required> DURATION (ms): <> MESSAGE: <required>
end success:
JOB: <required> REQ: <required> STEP: <optional> STATUS: <required> DURATION (ms): <> MESSAGE: <required>

Examples
(note: we don't log the log level here because it is already known in coralogix & cloudwatch since we use log.info, etc.)
(note: jobId, requestId, status, duration, message will get parsed out and be like a JSON in parsing rules in coralogix)

failure ex logs

JOB: 0a20d115-5c7d-433b-b942-be902ad37b12 REQ: 49e2af83-5e8c-4604-a543-2bf5ada54c09 MESSAGE: Function started
JOB: 0a20d115-5c7d-433b-b942-be902ad37b12 REQ: 49e2af83-5e8c-4604-a543-2bf5ada54c09 MESSAGE: Handing request
JOB: 0a20d115-5c7d-433b-b942-be902ad37b12 REQ: 49e2af83-5e8c-4604-a543-2bf5ada54c09 MESSAGE: Ingestor running a request id: 49e2af83-5e8c-4604-a543-2bf5ada54c09; payload: {"companyId":"5b8039ad-6f42-4159-8d28-1d0122f06970","spaceId":"ac8d122b-c3a3-4e43-91af-53a6ab1fbc9e","data":{"sourceAssetId":"34f07edc-61b0-4601-98b5-da371f143a1a","name":"file.invalid","path":"/test/file.jpg","lastModified":"2023-07-19T17:13:59.149Z","size":245,"hash":"481e4d18-ecf7-413c-905f-001a0d9e63c0","sourceId":"sourceId","sourceType":"it-mock-job","sourceUrl":"file:///test/file.jpg","sourceVersion":"2"},"binary":{"url":"file:///test/file.jpg"}}
JOB: 0a20d115-5c7d-433b-b942-be902ad37b12 REQ: 49e2af83-5e8c-4604-a543-2bf5ada54c09 STATUS: 415 DURATION (ms): 1 MESSAGE: {"title":"Unsupported Media Type","status":415,"detail":"Unsupported input media type \"application/octet-stream\""

success

JOB: 4632ad06-2890-43f5-b1e2-15e8b0dc6eae REQ: 1af8577a-dae0-4df0-9311-042f0a90b449 MESSAGE: Function started
JOB: 4632ad06-2890-43f5-b1e2-15e8b0dc6eae REQ: 1af8577a-dae0-4df0-9311-042f0a90b449 MESSAGE: Handing request
JOB: 4632ad06-2890-43f5-b1e2-15e8b0dc6eae REQ: 1af8577a-dae0-4df0-9311-042f0a90b449 MESSAGE: Ingestor running a request id: 1af8577a-dae0-4df0-9311-042f0a90b449; payload: {"companyId":"91d78e9d-6acb-480d-9623-b106b157695f","spaceId":"ff891caa-3cfb-4bfb-8108-c0f68072c41e","data":{"sourceAssetId":"4a6909c4-00b5-43d8-b4b1-640ba0227bb7","name":"file.ai","path":"/test/file.jpg","lastModified":"2023-07-19T17:13:59.153Z","size":245,"hash":"dda06bc4-3590-444f-8d1d-4e99e5d928a6","sourceId":"sourceId","sourceType":"it-mock-job","sourceUrl":"file:///test/file.jpg","sourceVersion":"2"},"binary":{"url":"file:///test/file.jpg"}}
JOB: 4632ad06-2890-43f5-b1e2-15e8b0dc6eae REQ: 1af8577a-dae0-4df0-9311-042f0a90b449 MESSAGE: Valid job document for ingestion.
JOB: 4632ad06-2890-43f5-b1e2-15e8b0dc6eae REQ: 1af8577a-dae0-4df0-9311-042f0a90b449 MESSAGE: STATUS: 202 DURATION (ms): 0 MESSAGE: Accepted

Please ensure your pull request adheres to the following guidelines:

[x] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
https://trello.com/c/xjtGdCme/284-optimize-logging-for-operational-support
Thanks for contributing!

merged to unblock monitoring/observability progress, we can always re-evaluate and make changes later


[PROTOCOL-720] Create Loan With NFT V2

Splits existing logic for creating a loan with NFT V1 & consensus types into separate functions
Moves LibCreateLoan into separate file
Adds functionality to take out a loan with NFT V2

Please review #448 first!


Blocknet dex app rewrites .conf files?

I was tinkering with setting up the dex, when I noticed the program can rewrite the .conf files of the associated wallets (rpc-credentials). This also causes the wallets to become unresponsive, as they no longer accept commands from the -cli with pre-rewritten .conf info. But just the rewriting of the conf file seems like a big security flaw to me, but maybe I'm wrong.

Hi @Coinomatron, no files are overwritten unless you're going through the automated setup.

Hi, yes I noticed that, after my manual setup kept giving configuration errors, so I tried the automated configuration (it didn't work after that either, by the way) The bigger issue to me, is that I suppose the application could, if malicious code was somehow inserted, clean out the wallets it connects to. That means that this dex also requires trust. Perhaps I'm overlooking things, so correct me if I'm wrong.

As far as malicious code is concerned, there is none, but you're free to review it yourself, build from source, and/or even modify the code if you'd like. Everything is open source and can be found in the Block DX repo (this issue is currently on the Blocknet repo):
https://github.com/blocknetdx/block-dx
If you'd like help with the manual setup, feel free to join our Discord. There's many people there that will be able to assist you: https://discord.gg/X6UhcB3

Ok, thanks.


Bug: some Edit links not working. 404 error.

Is there any existing issue for this?

[X] I have searched the existing issues

Description
On the Home Page, some Edit button links not working.
Screenshots
https://user-images.githubusercontent.com/88102392/226827613-79523142-db05-4321-a0fb-6cb9a032ab30.mp4
Any additional information?
No response
What browser are you seeing the problem on?
No response

merged into another branch


Comments panel: overview is broken when a snippet has  tags

Below "Hi Laurent", the line with the number of comments is missing.
Using Chrome debugger tools, I see that the line is just pushed below and hidden. This happens when the comment snippet contains multiple
 tags.
It should be possible to fix it by removing the
 tags from the snippet (or by setting a height on comment-metadata-container).
cc @alexr00 @hermannloose

@alexr00 I'm not sure if I'm testing this correctly, but I don't see the
 lines in the comments panel? You can just open that PR I added a link to.
This is the contents of the comment:
Don't mind this comment. I'm just testing issue: https://github.com/microsoft/vscode/issues/148054

More comments after br

Even more comments.

This is what I get in the comments panel:

@rchiodo it looks like your test example would reproduce this issue.
To verify:

Install GHPRI pre-release
Open a folder with a GitHub repo
Open a file from a PR that you can leave comments in
Leave 2 comments, both of which have 2 newlines near the beginning of the comment. Something like this:

Hello

World

Verify that the comment view doesn't have an empty line in it (as the image in the original issue shows).


Update glocaltokens to 0.3.0

It has improved gpsoauth which should make authorisation more reliable
And improved logging which should properly redact all tokens.

Closes #160

@leikoilja I will test it later today and @KapJI also make sure that remove_service is also fixed.
I am also nearly done with another feature, but haven pushed it yet. This will add a switch for Do Not Disturb mode. 😴 Lets merge this first before I make a PR for that. I don't know if you guys want to wait to release a new version of google_home or we just should make it part of the next one.

I did some basic tests, at the first glance looks fine.
I'll wait before @DurgNomis-drol also tests it.

Ok, let's merge this one and wait for testing results before releasing the new version.

Just test it and it works! 🚀 Great job guys! We are really on a role at the moment! 😄


Add ability to enable all Supported Feature Conformance tests

What would you like to be added:
A way to enable all core and extended conformance tests without explictly specifying each supported feature suite name
Why this is needed:
To be able to run the complete and latest set of conformance tests in the implementation repo (e.g. in envoy-gateway) w/o having to manually track which new suite was added to the gateway-api repo
Relates to https://kubernetes.slack.com/archives/CR0H13KGA/p1668094311024819

This makes sense to me, open to any PRs.

@shaneutt can this be added to the v0.6.1 milestone ?

Yeah let's see if we can get this in there, I'll check back in with @robscott :+1:


Renderers for monogame and sfml are boxing colors

It was thought that they were using the Equals extension method but instead they are using the normal object-based method. These conversions aren't really required as they could just compare the color directly and avoid the monogame/sfml color.

Fixed in latest commit


Update the website when a new Falco version has been released

What is wrong with the website or needs to be cleaned?
As commented here, we could avoid to manually update the website via Netlify each time we release a new Falco version.
How? TBD.
@leodido proposal:

We could remove this step completely if we add a CI scheduled job (CircleCI or GH action?) to run the website build daily.

@leogr You can deploy the site by POSTing to a specific endpoint, so that's pretty easy. The trickier part is updating the version information and sha256 checksum in the site config. There aren't really any great options there.

Good point.
Btw, I still didn't understand completely how the automation works here - my fault, I haven't had enough time to dig into.
Anyway, I noticed something that seems inconsistent to me:

the published docs are saying v0.22.1 (below the falco logo)
BUT the config has still v0.20.0 here

/cc @leodido

That is because, after the hotfix release of 0.22.1, I run a cache clean & build of the website via Netlify. But I have not sent a PR towards the website to update the config value.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Format or normalize syntax tree

Dependent on #10

Depends on #16

Waiting for a syntax rewriter and related.


FSharp Script Support

Check and make sure it works. If not fix it.

This was fixed in version <IP_ADDRESS>


prevent resource warnings from unclosed ssl sockets

When making many requests with this library, resource warnings from unclosed ssl sockets are inevitable.
This is because new request sessions are created with each call to the API but never closed.
With this pull request each session is generated using a context manager and automatically closed after each request is made.

@coreyryanhanson thanks for the contribution

Just uploaded to PyPI
https://pypi.org/project/usgs/0.3.5/


This is actually done already: just use brain extraction with atropos_refine=False and you'd be done.


net/http: http.Client.Do() sometimes throws INTERNAL_ERROR when using high number of parallel HTTP/2 requests (regression between 1.12 and 1.13.4)

What version of Go are you using (go version)?
go version go1.13.4 darwin/amd64

(also reproduced with 1.13.6)
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GO111MODULE="off"
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/k7/jx2bs5q170z4lvdzbsdt426r0000gn/T/go-build634112063=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Create several http.Clients, and call a high number of simultaneous multipart byterange requests on each of them. Make sure the server supports HTTP/2.
What did you expect to see?
No errors being thrown. Which is the case on Go 1.12
What did you see instead?
On Go 1.13.4 and 1.13.6, http.Do() sometimes returns an error of the form stream error: stream ID 523; INTERNAL_ERROR. It does seem to happen more often when there is some network congestion, but I've also observed it on very good networks. Typically, I'd say it happens once every 200 requests or so.

/cc @bradfitz

cc @fraenkel

We are going to need a test case or at the very least some http/2 debug to determine why the INTERNAL_ERROR occurred.
Does this problem also occur with tip?


Can't connect Github Repo

** Please describe which feature you have a question about? **
I have a react website up and running by using the Amplify CLI and I am able to deploy successfully by doing an amplify publish.
I now want to connect to my GitHub repo but there doesn't seem to be a way to connect my repo to an existing app.
** Provide additional details**
Under my app's general settings, source repository is blank and clicking reconnect repository just spins and nothing happens.
Clicking add environment only gives me drag and drop, S3, and any url options.
I have other repos connected correctly but I have create the app directly using a GitHub repo.  This one doesn't seem to work when starting from deployment from CLI.
Any suggestions?

@kershnerd Is this a full stack application (back-end and front-end)?  Or is it just a front-end application?
Is there some documentation/links you were following if so please share them.

This is a front end only (ReactJS) web application.
The other amplify reactjs web applications that are connected to a GitHub repo were created not using the CLI.
This app that isn't working was created using the CLI.
Not sure if this screen shot helps, but here it is:

When I initially clicked reconnect repository it were through the steps to connect to my github in which I had to grant access.  Not clicking Reconnect repository just keeps spinning and nothing happens.

@kershnerd Currently an Amplify Console app can either have frontend environments that are manual deploys or continuous deploys. Which means if you have frontend envs that you published manually, you first have to disconnect them to set up Ci/CD.

So I should delete that app and create a new one from a GitHub repo?

I just deleted my app and created a new one connected to my GitHub.  All is working now.


cleave peptide for fusion gene

I tested on the test dataset of nextneopi (https://github.com/icbi-lab/nextNEOpi). I has a similar session for using the arriba to get the fusion genes. From those fusion genes, it can get the peptides that are possible to be the neoantigens.
There peptides with 8 amino acids:
PTEN - AC063965.1(21548),MED6P1(31892)	MFSGGTCm	FSGGTCmg	SGGTCmgr	GGTCmgrc	GTCmgrcm	TCmgrcmq	Cmgrcmqt	mgrcmqty	grcmqtyp	rcmqtypk	cmqtypkv	mqtypkvq	qtypkvqg	typkvqgs#Fusion-out-of-frame#high#yes#chr10:87952259#chr10:88016243#11#1#0#.#.
Your peptides with 8 amino acids:
MFSGGTCm
Is there anything wrong related to my test. Or your pipeline is focused on getting only this peptide rather than getting too much peptides sequence to achieve 37/38 active neoantigens on TELSA dataset?

Hi,
thanks for this information. I haven't tried it with their test dataset but its maybe worth to look into it. So you applied only the fusion detection? Do you have the intermediate results from Arriba and would you mind sharing it with me. So I could compare that at least the input from Arriba is the same.
I guess you haven't changed the parameters for Arriba? The default in ScanNeo2 is to filter out the ones with less than 2 supporting reads.
Also, ScanNeo2 filters out potential neoantigens that are identical with the corresponding wildtype sequence which for fusion genes is essentially the sequence of the first gene. (https://github.com/ylab-hi/ScanNeo2/blob/52a3818ec3189af502f18eba6b6a1a69b9b3a8c3/workflow/scripts/prioritization/effects.py#L298C3-L303C25). It could be that this filters out some of them. But I can't say for sure.
But overall the TESLA validated neoantigens are based on SNV/indels so I wouldn't expect to detect those with gene fusion events, although haven't checked that in detail.
Thanks for bringing this to my attention

What I mean is about how to get the peptide from the output of the fusion analysis using arriba. In the nextneopi.
For example, we have this fusion genes:
LFHKMMFETIPMFSGGTC|mgrcmqtypkvqgs*

What I ran on your script, when I require to have the 8 amino acids. It gives me only one sequence:
MFSGGTC|m

While nextneopi give me more by changing the whole sequence from left to right one aa
MFSGGTC|m
FSGGTC|mg
SGGTC|mgr
...
I think what you already implement on this pipeline can be improved by adding this to get more sequence.

Thats exactly what I'm doing.. it basically scans the position where the breakpoint appears and use this with a sliding window to determine all possible peptides that include the fusion. So I'm surprised it only gives you one. But thanks again. I will look into it.


Low contrast with own theme after update on 1.40

Hi,
I created own theme which comes out from MONOKAI (some small improvement).
After update on new version (1.40) i see very low contrast.
Pls see a big difference http://bit.ly/34Bhpom
Whats changed? How can i set previous contrast or something  (other settings)... these colors are very non-contrast and weak.

Screen from 1.39

Screen from 1.40

I think it relates to this, which also affects PC and Linux https://github.com/microsoft/vscode/issues/84154

@David-Else  yes, it will probably be the same!

@David-Else have the same issue but high contrast instead of normal

/duplicate https://github.com/microsoft/vscode/issues/84154