x/tools/gopls: autocomplete in comments

Suggest the name of the symbol when writing the beginning of a comment for an exported symbol. For example:
// <>
var Foo int

The above should offer a completion for Foo.

I want to pick this up, but I'm not familiar with the gopls codebase, so might take some time.

@KarthikNayak: The first place to look would be in https://github.com/golang/tools/blob/be0da057c5e3c2df569a2c25cd280149b7d7e7d0/internal/lsp/source/completion.go#L441. I would suggest making a separate function for autocompletion in comments and going from there. Feel free to reach out to me here or on the Gophers Slack if you have any questions on how to move forward with this.

@stamblerre Thanks for the heads up. I'll contact you if I need any clarifications!

@stamblerre I see that @clintjedwards has raised a PR for this, I'm glad he got to it before me!

@clintjedwards' PR added this for exported variables, but this still needs to be added for exported functions, constants, and types.

@stamblerre working on this

Shouldn't be too bad, the code just checks for VAR type and then throws out the rest. Should be a few lines change at most, not counting tests ;)
Let me know if you have questions @danishprakash

@clintjedwards implemented the remaining changes for this in https://golang.org/cl/230215/. Closing this as a result. Thanks!


Update Route added section in S2S VPN (BGP)

There is no prefix <IP_ADDRESS>/24 in "Routes added to windows clients"
It is a tunnel prefix and needs to be added.

@atusi0628 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Did you complete the merge?

Did you complete the merge?

Hi @atusi0628. The pull request is pending author/SME approval from @cherylmc. If the author signs off on the update, we will merge the PR.
Thanks for your contribution.
-PR review team

#reassign:anzaman

@anzaman: I'm sorry - only the author of this article, @cherylmc, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#reassign:cherylmc


refactor: add type param for prompt result interface

Codecov Report
Patch and project coverage have no change.

Comparison is base (5e02397) 41.63% compared to head (b9765a3) 41.63%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #490   +/-   ##
=======================================
  Coverage   41.63%   41.63%
=======================================
  Files          15       15
  Lines        1064     1064
=======================================
  Hits          443      443
  Misses        575      575
  Partials       46       46

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


add jira issue label

Signed-off-by: moon.li<EMAIL_ADDRESS>⚠   Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[ ] I have read through the Contributing Documentation & PR Template
[ ] This PR is using a label (bug, feature etc.)
[ ] My code is has necessary documentation (if appropriate)
[ ] I have added any relevant tests
[ ] This section (⚠   Pre Checklist) will be removed when submitting PR

Summary
Add issue labels for jira
Does this close any open issues?
Please mention the issues here.
Screenshots
closes #2218
Other Information
Any other information that is important to this PR.

Thanks for your contribution! Would you like to join us on slack, then we can discuss some problems together

@moonlzl Hi, thank you for your contribution to Apache Devlake, Devlake community specially invites you to join our contributor group and issue you a contributor certificate. If you are willing, please contact<EMAIL_ADDRESS>looking forward to your reply.


Display response body when bad status.

We occasionally get “Bad Request” without any message of this reason when Create Silence via webUI. (e.g. Input past date to “End”)
We need to get the reason of this message.
Signed-off-by: m-masataka<EMAIL_ADDRESS>

Input past end date is currently prevented in the UI:

are there other issues you're encountering when trying to create silences? Or are you somehow getting around this check?

@stuartnelson3 Thanks for reply.
I know that validation is work.
But, that validation compares "Start" time with "End" time.
The "Bad Request" occurs when both of  start time and end time are past time.
It occurs in case of  "The gap of server time and client time" or  "Edit start time manually" etc...
I know it's very rare case, but I think it's important to show why did it fail.


[Error] : cannot import name 'CeilTimeout' from 'aiohttp.helpers' , How to fix it?

Issue Template
Initial Check

Make sure you've checked the following:

[1] Python version is 2.7.18;
[2] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
[3] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran
twint -u Nawaf
Description of Issue
this error when i run this command Ran (twint -u Nawaf)

nawafalkh@Nawaf ~ % twint -u Nawaf
Traceback (most recent call last):
File "/usr/local/bin/twint", line 5, in
from twint.cli import run_as_command
File "/Users/nawafalkhadidi/twint/src/twint/twint/init.py", line 14, in
from . import run
File "/Users/nawafalkhadidi/twint/src/twint/twint/run.py", line 4, in
from . import datelock, feed, get, output, verbose, storage
File "/Users/nawafalkhadidi/twint/src/twint/twint/get.py", line 12, in
from aiohttp_socks import ProxyConnector, ProxyType
File "/usr/local/lib/python3.9/site-packages/aiohttp_socks/init.py", line 5, in
from .connector import (
File "/usr/local/lib/python3.9/site-packages/aiohttp_socks/connector.py", line 8, in
from aiohttp.helpers import CeilTimeout  # noqa
ImportError: cannot import name 'CeilTimeout' from 'aiohttp.helpers' (/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py)

ImportError: cannot import name 'CeilTimeout' from 'aiohttp.helpers' (/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py)

Environment Details

Terminal

#https://github.com/twintproject/twint/issues/1297


Close new game dialog immediately upon click

Dialog seems to be staying open until puzzle is loaded, and if there is network delay the user may hit the button multiple times, starting multiple games

I think this is fixed with closeGamesDialog() function


Improvements to the windowers

This PR introduces some minor improvements to the windowers:

fixing windower functions when first_samp is not 0 (i.e., the Raw object has been cropped)
adding epochs_kwargs to windowing functions
modifying default value of stop_offset_samples to None for consistency
improving docstrings
adding random state argument to create_mne_dummy_raw
adding tests

What about we rename braindecode.datautil.preprocess to
braindecode.datautil.preprocessing? It's a bit longer, but at least we
avoid this ambiguity. @robintibor https://github.com/robintibor @gemeinl
https://github.com/gemeinl

3 levels of modules seem too much for a small package as it is now. I would
expose it
in  braindecode.datautil or consider a new
submodule braindecode.preprocessing

Did you see the comments @hubertjb ?

Did you see the comments @hubertjb ?

@robintibor yes, sorry for the delay! I'm getting back to it today or tomorrow.

so seems ready to merge from what I see @hubertjb ?

so seems ready to merge from what I see @hubertjb ?

Almost! I just need to test with the latest MNE as you said - we might indeed need to ask for the latest version until the next version is out.

@robintibor the latest commit takes the fix in MNE into account.
I guess we should update the requirements to ask for the latest MNE master (or should we wait for an MNE release)? @agramfort

(The travis fail is because of the MNE version.)

When will this be in pip-installable mne @agramfort ?

@robintibor @hubertjb you can change the CI here to use:
pip install -U https://github.com/mne-tools/mne-python/archive/master.zip
new MNE version should be released on sept 15

ah great then we can also make new braindecode version on pip quickly after. And for now just put as alex said, if you don't know how to do it, i can do it for you as well, just let me know @hubertjb

Tests are passing with the latest MNE master on Travis! Should we wait for the upcoming MNE release before merging?

well how is ETA now for MNE release? last was "new MNE version should be released on sept 15" @agramfort ? should be soon then I guess?

it's imminent. Next monday at the latest

so do you want to try go back to MNE from pip since new version is there? @hubertjb then I can merge

so do you want to try go back to MNE from pip since new version is there? @hubertjb then I can merge

That'd be great @robintibor, thanks! I just reverted the change to the Travis config file, if tests pass we should be good to go.

hm so seems travis fails with old error, any reason for that @hubertjb @agramfort ? Also CircleCI seems quite a bit slower than all previous builds :/ Don't know why that might be

Weird... could it be a cache thing? https://docs.travis-ci.com/user/caching/#configuration

It seems reason is mne is still at 0.20.8 at https://anaconda.org/conda-forge/mne . When will this change @agramfort ?

I don't maintain mne in conda. Please use pip

ok can you move mne to pip in https://github.com/braindecode/braindecode/blob/master/environment.yml ? I guess that should work then?

great  work @hubertjb ! merged!


Flatpickr does not receive focus if altInput is enabled

Here is a link to reproduce the problem:
https://jsfiddle.net/304L1h7j/
Flatpickr elements with altInput set to true will not receive focus using document.getElementById( element ).focus(), but if altInput is set to false, then the flatpickr element will receive focus properly.
Your Environment

flatpickr version used: 4.6.13
Browser name and version: tested on Chrome, Firefox & Edge (latest versions)
OS and version: Windows 11 Home, version: 23H2

We just started using this library. When altInput is enabled a hidden input is created and a "dummy" one is made visible. That is so when the form is submitted the correctly formatted (now hidden) field is sent in the form. The id and name are copied to the hidden field, which is probably why your focus doesn't work. Our workaround was to write JavaScript that copies the ID to the visible/dummy input and leaves the name on the hidden field. Good luck!


Fix clipped text

Summary of the Pull Request
What is this about?
It fixes clipped text in remap shortcut window. It can be an issue for different languages. For example, one below.

PR Checklist

[X] Applies to #7856
[X] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Remove fixed width on TextBlock .
Validation Steps Performed

How does someone test & validate?
Ether check Italian version or change length of EditShortcuts_TargetAppHeader label in resource file and see that it is not clipped.

Are there any other places where such clipping can occur?

Are there any other places where such clipping can occur?

I have checked Shortcut: and Mapped to: headers in both 'Remap shortcut' and 'Remap key' windows.


Rework FAQ

Drop Python2 stuff
Drop code review automation
Be less harsh with repo
Add a section about multiple files in the manifest repo

Codecov Report

Merging #237 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
- Coverage   88.82%   88.77%   -0.05%
==========================================
  Files          24       24
  Lines        1172     1167       -5
  Branches      134      134
==========================================
- Hits         1041     1036       -5
  Misses        100      100
  Partials       31       31

Notes for reviewers: you can also take a look at my answer on #235 to make sure it's clear.


Fix Cannot read properties of undefined (reading 'message') in errorParser.tsx

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR improves error handling in the errorParser.tsx file by adding optional chaining to safely access the message property of the data object.
Detailed summary

Changed error?.data.message to error?.data?.message to prevent potential runtime errors if data is undefined.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5066  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


Error after Plugin Installation and Configuration

Hi there,
i just installed this Plugin onto a news fresh installed homebridge system and got the following error message.
FritzBox: An error occured during polling state (router) [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known     at Fritzbox.<anonymous> (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)     at Generator.next (<anonymous>)     at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
I used the default configuration without any further devices yet and just set the Fritz!Box to master with the user admin and my password.
Thank you for your help in advance
Christian

@CyberChris79
which fritzbox and fritzos version?

Hi SeydX,
thanks for the fast answer.
I am using the Fritz!Box 6591 (it's my own, not from Vodafone) and the Fritz!OS 7.21

@CyberChris79
Do you use homebridge-config-ui-x ?
if yes, can u please put following into the debug input and restart homebridge
ulfalfa:fritzbox:device

if not, please open the homebridge env located at
/etc/default/homebridge
and put these at the bottom, save and restart homebridge
DEBUG=ulfalfa:fritzbox:device

Yes, i am using homebridge-config-ui-x and just set up the debug mode.
 Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:18:30] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:19:20] [Homebridge UI] Running Command: sudo -E -n npm install -g homebridge-fritz-platform@latest
[22.11.2020, 14:19:58] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:21:50] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:21:52] [Homebridge UI] Homebridge restart request received
[22.11.2020, 14:21:52] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 14:21:52] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 14:21:52] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:21:57] [HB Supervisor] Homebridge Process Ended.  This user will be skipped.
[22.11.2020, 14:22:10] [FritzPlatform] No or wrong accessory type setted up for this user.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:22:11] Homebridge is running on port 51826.
[22.11.2020, 14:22:11] ElternTV is running on port 39515.
[22.11.2020, 14:22:11] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:22:11] BueroTV is running on port 43257.
[22.11.2020, 14:22:11] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:22:11] [FritzPlatform] FritzBox 6591: Configuring accessory...
[22.11.2020, 14:22:11] [FritzPlatform] FritzBox 6591: Adding Switch service
[22.11.2020, 14:22:11] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:22:11] [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:22:21] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:22:21] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:22:23] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:22:23] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:22:31] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:22:31] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:22:41] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:22:41] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:22:51] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:22:51] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:23:01] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:23:01] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:23:10] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:23:11] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:23:11] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:23:12] [Homebridge UI] Homebridge restart request received
[22.11.2020, 14:23:12] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 14:23:12] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 14:23:12] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:23:17] [HB Supervisor] Homebridge Process Ended.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:23:30] Homebridge is running on port 51826.
[22.11.2020, 14:23:31] ElternTV is running on port 32879.
[22.11.2020, 14:23:31] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:23:31] BueroTV is running on port 36963.
[22.11.2020, 14:23:31] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:23:31] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:23:31] [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:23:42] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:23:42] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:24:31] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:24:31] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:25:30] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:25:31] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:25:31] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:26:22] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:26:26] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now"
[22.11.2020, 14:26:26] [HB Supervisor] Stopping services...
[22.11.2020, 14:26:26] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:26:31] [FritzPlatform] FritzBox 6591: An error occured during polling state (router)
[22.11.2020, 14:26:31] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:26:32] [HB Supervisor] Homebridge Process Ended.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:27:22] Homebridge is running on port 51826.
[22.11.2020, 14:27:23] ElternTV is running on port 46617.
[22.11.2020, 14:27:23] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:27:23] BueroTV is running on port 33213.
[22.11.2020, 14:27:23] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:27:23] [FritzPlatform] FritzBox: Configuring accessory...
[22.11.2020, 14:27:23] [FritzPlatform] FritzBox: Adding Switch service
[22.11.2020, 14:27:23] [FritzPlatform] FritzBox 6591: Removing accessory...
[22.11.2020, 14:27:23] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:27:23] [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:27:34] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:27:34] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:28:23] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:28:23] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:28:33] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:28:34] [Homebridge UI] Homebridge restart request received
[22.11.2020, 14:28:34] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 14:28:34] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 14:28:34] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:28:39] [HB Supervisor] Homebridge Process Ended.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:28:53] Homebridge is running on port 51826.
[22.11.2020, 14:28:53] ElternTV is running on port 40379.
[22.11.2020, 14:28:53] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:28:53] BueroTV is running on port 37753.
[22.11.2020, 14:28:53] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:28:53] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:28:53] [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:03] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:03] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:05] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:29:05] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:29:13] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:13] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:23] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:23] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:33] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:33] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:43] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:43] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:29:53] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:29:53] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:03] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:30:03] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:04] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:30:06] [Homebridge UI] Homebridge restart request received
[22.11.2020, 14:30:06] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 14:30:06] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 14:30:06] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:30:11] [HB Supervisor] Homebridge Process Ended.  This user will be skipped.
[22.11.2020, 14:30:24] [FritzPlatform] No or wrong accessory type setted up for this user.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:30:24] Homebridge is running on port 51826.
[22.11.2020, 14:30:24] ElternTV is running on port 38613.
[22.11.2020, 14:30:24] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:30:24] BueroTV is running on port 38417.
[22.11.2020, 14:30:24] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:30:25] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:30:25] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:35] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:30:35] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:36] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:30:36] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:30:45] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:30:45] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:49] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:30:51] [Homebridge UI] Homebridge restart request received
[22.11.2020, 14:30:51] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 14:30:51] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 14:30:51] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:30:55] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:30:55] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:30:56] [HB Supervisor] Homebridge Process Ended.  This user will be skipped.
[22.11.2020, 14:31:09] [FritzPlatform] No or wrong accessory type setted up for this user.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 14:31:10] Homebridge is running on port 51826.
[22.11.2020, 14:31:10] ElternTV is running on port 43885.
[22.11.2020, 14:31:10] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:31:10] BueroTV is running on port 37277.
[22.11.2020, 14:31:10] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 14:31:10] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:31:10] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:31:20] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:31:20] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:31:21] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:31:21] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:31:30] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:31:30] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:31:30] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 14:31:31] [Homebridge UI] Running Command: sudo -E -n npm uninstall -g homebridge-fritz-platform
[22.11.2020, 14:31:40] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:31:40] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:31:50] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:31:50] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:32:00] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:32:00] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:32:10] [FritzPlatform] FritzBox: An error occured during polling state (router)
[22.11.2020, 14:32:10] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known
at Fritzbox. (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58)
[22.11.2020, 14:32:14] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now"
[22.11.2020, 14:32:14] [HB Supervisor] Stopping services...
[22.11.2020, 14:32:14] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 14:32:20] [HB Supervisor] Homebridge Process Ended.  Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 14:33:18] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 16:33:55] [Homebridge UI] Running Command: sudo -E -n npm install -g homebridge-fritz-platform@latest
[22.11.2020, 16:34:36] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 16:35:12] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now"
[22.11.2020, 16:35:12] [HB Supervisor] Stopping services...
[22.11.2020, 16:35:12] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 16:35:17] [HB Supervisor] Homebridge Process Ended.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 16:36:08] Homebridge is running on port 51826.
[22.11.2020, 16:36:08] ElternTV is running on port 45101.
[22.11.2020, 16:36:08] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 16:36:08] BueroTV is running on port 35437.
[22.11.2020, 16:36:08] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 16:36:20] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 16:36:20] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 16:37:54] [Homebridge UI] Changes to config.json saved.
[22.11.2020, 16:37:56] [Homebridge UI] Homebridge restart request received
[22.11.2020, 16:37:56] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[22.11.2020, 16:37:56] [HB Supervisor] Sending SIGTERM to Homebridge
[22.11.2020, 16:37:56] Got SIGTERM, shutting down Homebridge...
[22.11.2020, 16:38:01] [HB Supervisor] Homebridge Process Ended.  This user will be skipped.
[22.11.2020, 16:38:15] [FritzPlatform] No or wrong accessory type setted up for this user.
Setup Payload:
X-HM://0023ISZ1UIM7P
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-330 │
└────────────┘

[22.11.2020, 16:38:15] Homebridge is running on port 51826.
[22.11.2020, 16:38:15] ElternTV is running on port 38763.
[22.11.2020, 16:38:15] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 16:38:15] BueroTV is running on port 38469.
[22.11.2020, 16:38:15] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330
[22.11.2020, 16:38:15] [FritzPlatform] FritzBox 6591: Configuring accessory...
[22.11.2020, 16:38:15] [FritzPlatform] FritzBox 6591: Adding Switch service
2020-11-22T15:38:15.868Z ulfalfa:fritzbox:device current protocol is http:
2020-11-22T15:38:16.015Z ulfalfa:fritzbox:device Anwer { NewSecurityPort: '49443' }
[22.11.2020, 16:38:27] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
[22.11.2020, 16:38:27] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup
`
Thank you very much for your fast help
Christian

@CyberChris79
i need only the part AFTER the qr code. In the log above, there is nothing from failed polling. Maybe you should wait several minutes

All right,
So there was no error yet.
I disabled the TR064 Option and now i get the same error.
[22.11.2020, 17:37:41] Homebridge is running on port 51826. [22.11.2020, 17:37:41] ElternTV is running on port 42925. [22.11.2020, 17:37:41] Please add [ElternTV] manually in Home app. Setup Code: 031-45-330 [22.11.2020, 17:37:41] BueroTV is running on port 41523. [22.11.2020, 17:37:41] Please add [BueroTV] manually in Home app. Setup Code: 031-45-330 2020-11-22T16:37:41.714Z ulfalfa:fritzbox:device current protocol is http: 2020-11-22T16:37:41.715Z ulfalfa:fritzbox:device Available services [Map Iterator] {  } [22.11.2020, 17:37:41] [FritzPlatform] FritzBox 6591: An error occured during polling state (router) [22.11.2020, 17:37:41] [FritzPlatform] Error: service with id urn:DeviceInfo-com:serviceId:DeviceInfo1 not known     at Fritzbox.<anonymous> (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)     at Generator.next (<anonymous>)     at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58) 2020-11-22T16:37:41.773Z ulfalfa:fritzbox:device Available services [Map Iterator] {  } [22.11.2020, 17:37:41] [FritzPlatform] Smarthome: An error occured during polling state (smarthome) [22.11.2020, 17:37:41] [FritzPlatform] Error: service with id urn:dslforum-org:service:DeviceConfig:1 not known     at Fritzbox.<anonymous> (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)     at Generator.next (<anonymous>)     at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58) 2020-11-22T16:37:51.776Z ulfalfa:fritzbox:device Available services [Map Iterator] {  } [22.11.2020, 17:37:51] [FritzPlatform] FritzBox 6591: An error occured during polling state (router) [22.11.2020, 17:37:51] [FritzPlatform] Error: service with id urn:dslforum-org:service:WANIPConnection:1 not known     at Fritzbox.<anonymous> (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)     at Generator.next (<anonymous>)     at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58) 2020-11-22T16:37:51.779Z ulfalfa:fritzbox:device Available services [Map Iterator] {  } [22.11.2020, 17:37:51] [FritzPlatform] Smarthome: An error occured during polling state (smarthome) [22.11.2020, 17:37:51] [FritzPlatform] Error: service with id urn:dslforum-org:service:DeviceConfig:1 not known     at Fritzbox.<anonymous> (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/src/lib/fritzbox.ts:239:15)     at Generator.next (<anonymous>)     at fulfilled (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/dist/lib/fritzbox.js:5:58) [22.11.2020, 17:37:53] [ElternTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup [22.11.2020, 17:37:53] [BueroTV] Failed to pair! Make sure TV is online and you click "Allow" on the popup

@CyberChris79
lol TR064 must be enabled in order to work

ok, that was the thing.
It was disabled.
Thank you very much. Now i got no errors in the log.
Have a nice evening.
I will make a donation for the great work.
Christian

Thx @CyberChris79 :)


fix gRPC README in examples

https://github.com/census-instrumentation/opencensus-go/blob/master/examples/grpc/helloworld_server/main.go#L52

I signed it!

Fixing the flaky CI, see https://github.com/census-instrumentation/opencensus-go/pull/629.


date validation optional not working

Hello i am trying to validate date but i want it optional that means if the user enter a date then validate it but if he/she left it with no value i don't want to validate it.
birth_date: zod.date().optional(),
that's not worked for me

Hey 👋🏻
What errors are you getting?

Hey 👋
What errors are you getting?

Can't replicate, this is working for me.
const schema = z.object({
  birth_date: z.date().optional(),
});

schema.parse({});

My guess is that the form is returning a default value of "" when no input is entered into the form. There's a few ways to handle this:
const schema = z.object({
  birth_date: z.date().optional().catch(undefined),  // any error will cause `undefined` to be returned
  birth_date: z.preprocess(val => val === "" ? undefined : val, z.date().optional()) // convert empty string to undefined with preprocess
})


performance of map_overlap with boundary='none' is hindered by add_dummy_padding

map_overlap provides a few boundary conditions. The performance of the 'none' boundary condition is seriously affected when the array is trimmed  since dummy_padding is added to the array which forces a whole copy of the array.
To illustrate the problem, I define a convenience function that implements the trim logic at the end of map_overlap.
Benchmark:
from dask import array as da
from dask.array.overlap import (coerce_boundary,
                                coerce_depth,
                                trim_internal,
                                add_dummy_padding)
shape=(150, 1024, 1024)
chunks=(-1, 512, 512)
dtype='float32'
z = da.zeros(shape=shape, chunks=chunks, dtype=dtype).persist()

# convenience function, inverse of da.overlap.overlap
# logic taken from map_overlap
def trim(x, depth, boundary=None):
    boundary2 = coerce_boundary(x.ndim, boundary)
    depth2 = coerce_depth(x.ndim, depth)

    x2 = add_dummy_padding(x, depth2, boundary2)
    return trim_internal(x2, depth2)

# Call once to force python to load all the necessary modules
_ = trim(z, 10, boundary='nearest').persist()
%time _ = trim(z, 10, boundary='none').persist()
%time _ = trim(z, 10, boundary='nearest').persist()
%time _ = trim(z, 10, boundary='none').persist()
%time _ = trim(z, 10, boundary='nearest').persist()
%time _ = trim(z, 10, boundary='none').persist()
%time _ = trim(z, 10, boundary='nearest').persist()

Results:

'nearest' finishes in 30 ms
'none' finishes in 500 ms

Computation graph
Trimming with 'nearest'
trim(z, 10, boundary='nearest').visualize()

Trimming with 'none'
trim(z, 10, boundary='none').visualize()

This is very likely the issue I was seeing in Issue #3938
cc: @jni

I agree that in my case it is "all boundary", but you may only want to overlap in a specific dimensions (a use case that was envisioned in map_overlap) in which case the trim functionality, that you would assume should be a no-op in those dimensions, is actually coming at a big cost.
I think the logic of add_dummy_padding can be moved in chunk.trim (or whatever function actually returns the sliced array), to allow the slicing to be aware of the boundary condition. map_blocks can pass block_info to the trimming function so that it becomes aware what block is being trimmed.
the slicing can then check if

If it is located on boundary.
If that boundary was originally passed as 'none'.

Then it can choose to slice the axis as :, overlap:, overlap:-overlap or :-overlap accordingly.

That sounds reasonable to me.  Do you have time to help implement this?
On Tue, Sep 4, 2018 at 9:52 PM, Mark Harfouche<EMAIL_ADDRESS>wrote:

I agree that in my case it is "all boundary", but you may only want to
overlap in a specific dimensions (a use case that was envisioned in
map_overlap) in which case the trim functionality, that you would assume
should be a no-op in those dimensions, is actually coming at a big cost.
I think the logic of add_dummy_padding can be moved in chunk.trim (or
whatever function actually returns the sliced array), to allow the slicing
to be aware of the boundary condition. map_blocks can pass block_info to
the trimming function so that it becomes aware what block is being trimmed.
the slicing can then check if

If it is located on boundary.
If that boundary was originally passed as 'none'.

Then it can choose to slice the axis as :, overlap:, overlap:-overlap or
:-overlap accordingly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3947#issuecomment-418573385, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszBphJjX2ZjaplIbRUymuPRfytjvcks5uXy5ogaJpZM4WZ9SP
.

PR #3950 implemented the "solution" where the logic is moved down to chunk.trim but I'm not convinced that it is the best solution. I mostly wrote it so I could benchmark my own work without incurring large memory copies and to learn about block_info.
My specific issue with PR #3950 is that chunk.trim now needs knowledge of options that are coming from higher level code. This makes the api of chunk.trim very cluttered.
I think a better solution would be to somehow:

Allow chunk.trim to handle asymmetric trimming
Call chunk.trim with the appropriate trimming parameters on each axis.

For now, chunk.trim supports different trimmings on a per axis level, but doesn't support asymmetric trimming.
I can probably help implement this, but I would need guidance on the correct choice for the API of chunk.trim:
Maybe:
axes could take:

An iterable of tuples. The inner tuple would be trim_front, trim_back. trim_back would have to be a positive number or None
If the iterable returns a non-iterable, then it assumes symmetric slicing.
If axis is a single value, symmetric trimming on all axes is assumed.

I think that it doesn't matter that much.  We can make some new function like chunk.trim that is only used in this context.  This inner function doesn't have to be public API.


Use Task::Task_CB instead of C_func

It can generate better optimization code and better code readability

First, thank you for commit PR. Most of this commit is good. But I think change the method name "Task_CB" to "AaaaBbbCcccc" mode.


ClassCastException with the latest snapshot build

Getting the following when having key as string. Was working well till last week. However, today first had to upgrade the dependency on spring-kafka to 2.1.3.BUILD-SNAPSHOT (as the empty constructor was StreamFactoryBean was not there in 2.1.2-RELEASE). Once this was resolved, started to get this error.
tried setting:
spring.cloud.stream.bindings.input.consumer.key.deserializer: org.apache.kafka.common.serialization.StringDeserializer
spring.cloud.stream.kstream.bindings.output.producer.keySerde: org.apache.kafka.common.serialization.Serdes$StringSerde
however, they were not getting set (seen in the spring-boot startup logs).
I think this is related to changes in KStreamListenerSetupMethodOrchestrator.java
Exception in thread "eventMetricRecorder-73aa1b44-a9bf-4087-9ccc-39b32f145d69-StreamThread-1" java.lang.ClassCastException: [B cannot be cast to java.lang.String         at org.apache.kafka.streams.kstream.internals.KStreamMap$KStreamMapProcessor.process(KStreamMap.java:41)         at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:46)         at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:208)         at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:124)         at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:85)         at org.apache.kafka.streams.kstream.internals.KStreamMap$KStreamMapProcessor.process(KStreamMap.java:42)         at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:46)         at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:208)         at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:124)         at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:85)         at org.apache.kafka.streams.kstream.internals.KStreamPassThrough$KStreamPassThroughProcessor.process(KStreamPassThrough.java:33)         at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:46)         at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:208)         at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:124)         at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:99)         at org.apache.kafka.streams.kstream.internals.KStreamBranch$KStreamBranchProcessor.process(KStreamBranch.java:45)         at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:46)         at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:208)         at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:124)         at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:85)         at org.apache.kafka.streams.kstream.internals.KStreamMap$KStreamMapProcessor.process(KStreamMap.java:42)         at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:46)         at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:208)         at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:124)         at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:85)         at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:80)         at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:216)         at org.apache.kafka.streams.processor.internals.AssignedTasks.process(AssignedTasks.java:403)         at org.apache.kafka.streams.processor.internals.TaskManager.process(TaskManager.java:317)         at org.apache.kafka.streams.processor.internals.StreamThread.processAndMaybeCommit(StreamThread.java:942)         at org.apache.kafka.streams.processor.internals.StreamThread.runOnce(StreamThread.java:822)         at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:774)         at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:744)

Currently to solve this, I had to change my keys to byte[] from String.

@tambre there have been some significant changes in the latest commits in the kafka binder in terms of the kafka streams support. The artifact itself is renamed, all the properties are updated. Could you checkout the latest snapshot and see if this is still a problem? We are still improving the docs, but this gives a general idea: https://docs.spring.io/spring-cloud-stream/docs/Elmhurst.BUILD-SNAPSHOT/reference/htmlsingle/#_kafka_streams_binding_capabilities_of_spring_cloud_stream
If this still an issue, please ping here and we will take a look.
Thanks!

@tambre These two properties should work now:
spring.cloud.stream.kafka.streams.bindings.input.consumer.keySerde: org.apache.kafka.common.serialization.Serdes$StringSerde
spring.cloud.stream.kafka.streams.bindings.output.producer.keySerde: org.apache.kafka.common.serialization.Serdes$StringSerde

@sobychacko - hi.
The new build worked. Thanks. I think we can close this issue.
Just one thing.
I can't set the following properties as "true".  Reason being: I am using Avro for serialization. If I set them then the AvroMessageConverter that I have defined as a bean in my Spring project - is not used. I will have to create my own deserializer (the contentType property is ignored). Not sure if I am doing something wrong.
spring.cloud.stream.bindings.input.consumer.useNativeDecoding: true and
spring.cloud.stream.bindings.output.producer.useNativeEncoding: true
However, even without them it worked.

Hi @tambre - if you set useNativeDecoding or useNativeEncoding to true, then that means that the contentType property will be ignored and Kafka will do the de/serialization in which case you need to specify serdes. By default they are false, and the contentType property will be used for value de/serialization.

@sobychacko thanks for your help


image resize in TF

convert the python image resize code to a much simplier keras code that cna be implemented at the beginning of SediNet

Image resizing for pyDGS was much easier to implement for pyDGS


xwayland

I try a very simple x11 app.
int main() {
    struct _XDisplay *d;
    int s;
    Window w;
    XEvent e;

    /* To open a connection to the X server that controls a display*/
    d = XOpenDisplay(NULL);
    if (d == NULL) {
        printf("Cannot open display\n");
        exit(1);
    }

    /* Both return the default screen number referenced by the XOpenDisplay() function */
    s = DefaultScreen(d);

    /* create window */
    w = XCreateSimpleWindow(d, RootWindow(d, s), 100, 100, 500, 500, 1, BlackPixel(d, s),
            WhitePixel(d, s));

    /* select kind of events we are interested in */
    XSelectInput(d, w, ExposureMask | KeyPressMask);

    /* map (show) the window */
    XMapWindow(d, w);

    /* event loop */
    while (1) {
        XNextEvent(d, &e);
        /* draw or redraw the window */
        if (e.type == Expose) {
            XFillRectangle(d, w, DefaultGC(d, s), 100, 100, 500, 500);
        }
        /* exit on key press */
        if (e.type == KeyPress) break;
    }

    /* close connection to server */
    XCloseDisplay(d);

    return 0;
}

Can not displayed, for has  not buffer:wlr_surface_has_buffer(surface->surface)
static void xwayland_surface_role_commit(struct wlr_surface *wlr_surface) {
	assert(wlr_surface->role == &xwayland_surface_role);
	struct wlr_xwayland_surface *surface = wlr_surface->role_data;
	wlr_log(WLR_DEBUG, "ut-gfx-x11:%s:%d", __FUNCTION__, __LINE__);
	if (surface == NULL) {
		return;
	}

    if (!surface->mapped && wlr_surface_has_buffer(surface->surface)) {
		wlr_signal_emit_safe(&surface->events.map, surface);
		surface->mapped = true;
		wlr_log(WLR_DEBUG, "ut-gfx-x11:%s:%d", __FUNCTION__, __LINE__);
		xwm_set_net_client_list(surface->xwm);
	}
}

Where is the buffer attached, I can not find, is wl_surface_attach?

Sorry, if you want us to run your example it should be complete with compilation and reproduction steps. We're not going to guess includes and compile commands.

Step:

Run x11-demo
x11-demo at x11-demos which code is  here

Check the window

That opens and shows a white window with a black square for me on sway.
What compositor are you testing? If this is your own compositor?


Incorrect query text used when retrieving additional context

When retrieving additional context for the latest user query, the query string (used for KNN against the pinecone embeddings) includes the system prompt (as well as some of the users previous queries).
Whilst the users previous queries might be useful (although we already have context for these in theory), the system prompt doesn't seem relevant or useful here (querying for additional context) and seems likely to cause the additional context to not be a great match for the latest user query.
Looks like a bug to me, but perhaps I am missing something?
https://github.com/mtenenholtz/chat-twitter/blob/f889b688aa35d38a9823e0dde5c0cff94a6ae1fc/backend/main.py#LL168C17-L168C31

On a different domain, using:
formatted_query = format_query(latest_query, context)
seems a reasonable fix.
IMO since we're already including context for the original query and any subsequent queries (up to the token limits) it doesn't make much sense to use the previous queries when doing a semantic match for new context in pinecone (and def. not the system_message which includes the priming prompt and initial 10 document context).

@adamdossa what were the specific code changes you did, I would like to try this and see if my experience improves as well.

In line:
https://github.com/mtenenholtz/chat-twitter/blob/f889b688aa35d38a9823e0dde5c0cff94a6ae1fc/backend/main.py#L172
I changed it to:
formatted_query = format_query(latest_query, context)


Fix PROVIDER typo in sample docker-compose.yml

Thanks! also I'll soon make v2.0.0-beta the default image, so you may want to check it out 😉

Please assist. I'm not receiving calls or texts via my Google voice number. Something is causing my apps and services to be stagnant


Update start page

update the html to the current wiki main page

This is the most important issue to be fixed before an update is published.

I've got in in a local branch right now if you want me to send a PR.
We should also check out the playstore errors though. I think one of them is that it needs a feature graphic but I'm not really sure what else it could be complaining about

Feature graphic is the main thing missing. I've been putting it off because I wanted to update the icon, but never got around to it. I'll put together something simple for now.


Informative error message - overwriting output file error

Describe the bug
When the results of a simulation are stored in a specific file and folder, it is not possible to overwrite the file when altering a part of the simulation command. Instead an error is returned.
When trying to run a simulation with code of Gerbrich's master thesis, I ran into the following problem. I had already run her original code a little while ago, which is why a file was already created in the directed folder with a specific name. When then trying to alter the code a bit (only adding the n_papers argument), an error occurred:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'.
This error was fixed by simply altering the state_file command such that the results will be saved in a different file or folder.
To Reproduce
A while ago, ran the code:
asreview simulate ../../datasets/sim_datasets/nudging.csv --config_file config/one/BCTD/nb_max_double_tfidf-nudging.ini --state_file simoutput/one/BCTD/nudging/results.h5 --init_seed 42
Then today tried to run:
asreview simulate ../../datasets/sim_datasets/nudging.csv --config_file config/one/BCTD/nb_max_double_tfidf-nudging.ini --state_file simoutput/one/BCTD/nudging/results.h5 --init_seed 42 --n_papers 200
This resulted in the error provided in the screenshot below.
To fix, simply change the folder in which the results are stored:
asreview simulate ../../datasets/sim_datasets/nudging.csv --config_file config/one/BCTD/nb_max_double_tfidf-nudging.ini --state_file simoutput/one/BCTD/nudging2/results.h5 --init_seed 42 --n_papers 200
The difference can be found in the --state_file part
Screenshots
This resulted in the following output:

Version information

Windows Version 10.0.18363 Build 18363
asreview-simulation-0.1

Additional context
Might be something to discuss in the upcoming docathon?

Thanks for reporting @SagevdBrand. I think this is a duplicate of https://github.com/asreview/asreview/issues/288 (@qubixes ?). This issue was resolved and will be part of release v0.10.

Oh sorry, I have also run into this before during some testing. I just circumvented it with some error handling myself and raising an informative exception. What did you guys opt for in the official release, @J535D165 ?

I think this should be resolved in the new release yes (unless it is a separate issue).
One thing to note is that asreview simulate won't overwrite any simulation files. Instead, if you're using the same file, it will try to finish the simulation, with the parameters when you started the first simulation. The reason for this behavior is so that you can suspend/cancel simulation and continue it afterwards.
The problem with old code was that the n_prior_included/n_prior_excluded were not stored in the state file. That's why the continuation of old save files <0.10 (>0.x?) won't work.

The problem with old code was that the n_prior_included/n_prior_excluded were not stored in the state file. That's why the continuation of old save files <0.10 (>0.x?) won't work.

Can we resolve this by editing this line
if len(start_idx) == 0 and n_prior_included + n_prior_excluded > 0:

into
if len(start_idx) == 0 and n_prior_included and n_prior_excluded and  n_prior_included + n_prior_excluded > 0:

?

I don't think so, no. I mean, it might work, but might also result in unexpected behavior. So I would prefer throwing an exception. I think a "proper" solution probably needs some rewriting of the API/factory. (I.e. absorbing functionality from the factory into BaseReview/ReviewSimulate).

Is this one resolved?
It would be nice to have some warning to indicate that this is happening. @qubixes can you do a PR one this?

I don't think there's an easy solution. Rewriting the review factory is the best solution if you want to make this happen (imo).


data-inputmask-allowminus="true" not run

Hi,
I use:

(...)
<input type="text" class="form-control text-align-right name="{$id}" value="{$value}" maxlength="5"
data-inputmask-mask="9{0,3},9{0,1}"
data-inputmask-clearmaskonlostfocus="false"
data-inputmask-showmaskonhover="false"
data-inputmask-greedy="false"
data-inputmask-numericinput="true"
data-inputmask-allowminus="true"
data-inputmask-radixpoint=","
autocomplete="on"
But the minus signal (-) is not permitted on field, How to I use minus signal on field?
Marcelo

@mbraz ,
The data-inputmask-allowminus="true"  is a options from the numeric alias.
You need to forsee it in your mask.
Something like
[-]9{0,3},9{0,1}

Hi @RobinHerbots ,
I tested [-]9{0,3},9{0,1}, but the result is not cool...
Please, send-me a sample how to use data-inputmask-allowminus with numeric alias.
Thanks

Hi @RobinHerbots ,
I changed code to...

It's running, but I need enter values from -999,9 to 999.9... if enter "-" the max value permited as -99,9 because the content have 5 position including the character "-".
It's a very problem for me...
:)

@mbraz ,
Which version do you use?

@RobinHerbots ,
3.3.2-115
:)

remove the maxlength attrib and use the min and max options
Op wo 12 okt. 2016 om 15:49 schreef mbraz<EMAIL_ADDRESS>
@RobinHerbots https://github.com/RobinHerbots ,
3.3.2-115
:)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1413#issuecomment-253218514,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATb78oIZAOYLxWlyuVhOYuFkz-nrUwYks5qzOVqgaJpZM4KTKV9
.

@RobinHerbots ,
I update the plugin to last version, remove maxlength and use max option, but the effect is strange.

The input not limit the number of characters (because not have maxlength) and when exceed the number, the value is changed to max or min option value.


Add default file, README in libraries and translations in Drupal

sites/example.sites.php
Configuration file for Drupal's multi-site directory aliasing feature. But its only example. To use this file, copy and rename it to "sites.php"
sites/*/translations
This folder stores temporarily downloaded translations
sites/all/libraries/README.txt
README file for libraries

@wirgen thanks!


PyCharm cannot parse any content under tensorflow.keras 2.16.2

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.16.2
Custom code
Yes
OS platform and distribution
windows10
Mobile device
windows10
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
autocomplete is not working in Pycharm
Standalone code to reproduce the issue
autocomplete is not working in Pycharm

Relevant log output
No response

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.16.2
Custom code
Yes
OS platform and distribution
windows10
Mobile device
windows10
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
autocomplete is not working in Pycharm
Standalone code to reproduce the issue
autocomplete is not working in Pycharm

Relevant log output
No response

Here are a few steps you can try to resolve the issue:

Update PyCharm: Make sure you are using the latest version of PyCharm. Sometimes, issues with autocomplete can be resolved by updating to the latest IDE version.

Check Project Interpreter: Verify that the project interpreter in PyCharm is correctly configured to use the environment where TensorFlow 2.16.2 is installed. You can do this by:

Going to File > Settings > Project:  > Python Interpreter.

Ensure the interpreter is pointing to the correct environment.

Reindex PyCharm: Sometimes, PyCharm's indexing can become corrupted. You can force it to reindex by:

Going to File > Invalidate Caches / Restart.
Choose Invalidate and Restart.

Update TensorFlow: Ensure you have the latest version of TensorFlow 2.16.2 installed. You might want to consider upgrading or downgrading TensorFlow to see if the issue persists with different versions.

Virtual Environment: If you are using a virtual environment, try recreating it. Sometimes, issues with autocomplete can be related to environment-specific problems.

Check PyCharm's Python Console: Open the Python Console in PyCharm and try importing tensorflow.keras directly. This can help identify if the issue is specific to the autocomplete feature or a broader problem with the library import.

Install tensorflow with PyCharm Terminal: Try installing TensorFlow directly from PyCharm’s terminal to ensure it’s properly linked:

Open the terminal in PyCharm.
Run pip install tensorflow==2.16.2.

Consider IDE Alternatives: If the issue persists and you need a workaround, consider using another IDE or text editor temporarily while you investigate further.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.16.2
Custom code
Yes
OS platform and distribution
windows10
Mobile device
windows10
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
autocomplete is not working in Pycharm
Standalone code to reproduce the issue
autocomplete is not working in Pycharm

Relevant log output
No response

Here are a few steps you can try to resolve the issue:

Update PyCharm: Make sure you are using the latest version of PyCharm. Sometimes, issues with autocomplete can be resolved by updating to the latest IDE version.

Check Project Interpreter: Verify that the project interpreter in PyCharm is correctly configured to use the environment where TensorFlow 2.16.2 is installed. You can do this by:

Going to File > Settings > Project:  > Python Interpreter.
Ensure the interpreter is pointing to the correct environment.

Reindex PyCharm: Sometimes, PyCharm's indexing can become corrupted. You can force it to reindex by:

Going to File > Invalidate Caches / Restart.
Choose Invalidate and Restart.

Update TensorFlow: Ensure you have the latest version of TensorFlow 2.16.2 installed. You might want to consider upgrading or downgrading TensorFlow to see if the issue persists with different versions.

Virtual Environment: If you are using a virtual environment, try recreating it. Sometimes, issues with autocomplete can be related to environment-specific problems.

Check PyCharm's Python Console: Open the Python Console in PyCharm and try importing tensorflow.keras directly. This can help identify if the issue is specific to the autocomplete feature or a broader problem with the library import.

Install tensorflow with PyCharm Terminal: Try installing TensorFlow directly from PyCharm’s terminal to ensure it’s properly linked:

Open the terminal in PyCharm.
Run pip install tensorflow==2.16.2.

Consider IDE Alternatives: If the issue persists and you need a workaround, consider using another IDE or text editor temporarily while you investigate further.

Downgrading TensorFlow is useful.

@zzzzzzzs,
Keras is migrated to Keras 3 with multi backend support.
Could you please install Keras separately using pip install keras and import keras directly and let us know the outcome with keras.layers etc.
When we are importing the keras from tensorflow till version 2.15, keras 2.0 is imported. Whereas when we try to import the tensorflow 2.16 it imports keras3.0 directly.
TF 2.15: Keras2.0
import tensorflow as tf
from tensorflow import keras

TF 2.16: Keras 3.0
import tensorflow as tf
import keras

Keras 3 implements the full Keras API and makes it available with TensorFlow, JAX, and PyTorch
https://keras.io/keras_3/
Thank you!

@zzzzzzzs, Keras is migrated to Keras 3 with multi backend support.
Could you please install Keras separately using pip install keras and import keras directly and let us know the outcome with keras.layers etc.
When we are importing the keras from tensorflow till version 2.15, keras 2.0 is imported. Whereas when we try to import the tensorflow 2.16 it imports keras3.0 directly.
TF 2.15: Keras2.0
import tensorflow as tf
from tensorflow import keras

TF 2.16: Keras 3.0
import tensorflow as tf
import keras

Keras 3 implements the full Keras API and makes it available with TensorFlow, JAX, and PyTorch https://keras.io/keras_3/
Thank you!

Now I am directly using Keras in TensorFlow, and after trying it out, I found that pycharm 2023.2.7 corresponds to TensorFlow 2.10.0 and works

@zzzzzzzs, Have you tried with the tensorflow latest version 2.17.0? and provide the update and try as mentioned import Keras.
Also this is more related to keras. Please raise the request in keras-team/keras repo. Thank you!

Okay, I'm willing to try.


F12 go to definition not working

Issue Type: Bug
Go to definition not working.
Example:

Make a new project with create-react-app
npx create-react-app my-app

in App.js
const myDeclaration = 1;
const somewehereBelow = myDeclaration + 1;

Ctrl+Click on myDeclaration on line 2 does not go to line 1

VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: disabled_softwarechecker_imaging: disabled_offflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: disabled_offvideo_decode: disabled_softwarewebgl: disabled_offwebgl2: disabled_off

Memory (System)
15.71GB (5.52GB free)

Process Argv

Screen Reader
no

VM
67%

Extensions (3)

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.8.2

flow-for-vscode
flo
1.1.1

(1 theme extensions excluded)

Does this reproduce in the latest VS Code insiders build with all extensions disabled? I see you have the flow installed for example

Hi!
  yes. still not working with all extensions disabled. Ctrl+Click does not work.   Also navigating to something like
import Component from './../../../folder/Component'; // <- F12 here
  does not work
On Monday, 8 April 2019, 21:44:21 EEST, Matt Bierner<EMAIL_ADDRESS>wrote:
Does this reproduce in the latest VS Code insiders build with all extensions disabled? I see you have the flow installed for example
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Do other javascript features such as intellisense still work in that file? And did you have a chance to test using the insiders build, VS Code 1.34?

I confirm VS Code Insiders 1.34 is working as expected. Thanks!
On Wednesday, 10 April 2019, 00:54:44 EEST, Matt Bierner<EMAIL_ADDRESS>wrote:
Do other javascript features such as intellisense still work in that file? And did you have a chance to test using the insiders build, VS Code 1.34?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[Feature request] Add option to Collapse items be worn

Can you consider add option to Collapse items, that they can be worn (also view that they are worn or not) without use expand button, check worn and then collapse again.
Current:

Suggested (see Clothing and Accessories):

I have an alternative suggestion, since collapsing view's purpose is to save space, I think we could so an indicator within the icon itself.
My proposal is something like this (two versions presented on the runic daggers):

The idea is that "visible indicator means it's worn/equipped" and toggling would happen with right-mouse click. Thoughts @GregorHak @moo-man ?
Alternatively every item could have an indicator, but worn/equipped would be filled with another shape/icon. And we could do that clicking the indicator would toggle the state of the item.

I'm not sure, the original suggestion was straightforward, sure it takes an extra row of space, but the UI is much clearer (a lot of people will miss right click toggle and assume you can't modify it)


Supply the name of variable to Preconditions.checkNotNull

[SMALLFIX] Supply the name of variable to Preconditions.checkNotNull in /alluxio/job/server/src/main/java/alluxio/master/job/JobCoordinator.java line111

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2757/
Test PASSed.

alluxio-bot, merge this please


Multiple dns servers

It would be nice if it was possible to add multiple dns servers

@clue You think this would be hard to do? We could let two servers race and use the first answer.
Refs: https://github.com/beyondcode/laravel-websockets/pull/31#issuecomment-445748421 by @mpociot


Update upstream (message pool fixed size, logging)

Link to PR in TB : https://github.com/coilhq/tigerbeetle/pull/72
See: src/message_pool.zig
Commit: ce554c2b


ci: test that docker images are running and working

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


Avalonia styling error

Describe the bug
When trying to debug my solution, a "non generated" exception appears : System.MissingMethodException : 'Method not found: 'Void Avalonia.Styling.Style.set_Setters(System.Collections.Generic.IList`1<Avalonia.Styling.ISetter>)'.'
I'm using Avalonia 0.10.0
To Reproduce
Steps to reproduce the behaviour:
(0. Create a new Avalonia project)

Install the NuGet: CSharpMath.Avalonia v0.4.2
Go to your AXAML code and respect this schema: https://github.com/verybadcat/CSharpMath#4-csharpmathavalonia
Debug your solution
See error

Expected behaviour
It should run the app correctly
Desktop:

OS: Win10

Errors like this are usually caused by having mismatched versions of Avalonia packages installed. Check that everything is on the same version.

I'm using Avalonia 0.10.0

and

CSharpMath.Avalonia v0.4.2 (uses Avalonia 0.9.6)

are not compatible. Breaking changes between major versions are expected and this is the case.
0.5.0-beta uses "0.10.0-preview5" which most likely won't work either because this Avalonia version wasn't yet code signed, and it was preview. Somebody should update CSharpMath to use stable 0.10.0 version.

Thanks for your answer.
I guess I have to wait, then :)


[Feature] On character sheets, show if results are added to particular rolls

Right now, skills on character sheets take account of boost, setback, removal of setback etc. It would be nice to also include results that are added to the roll as well, as sometimes this has thrown my players when the calculation includes the extra result, and in the event of threat being added, the player would have chosen a different action if it was shown.
While I know that player should check abilities and all that lark, it's inconsistent that it shows boost, removal of setback, and setback added...but not dice results.

@Ebakthecat what adds results to specific rolls? Can you give an example?
The items I can think of are fairly limited in scope for when they trigger and wouldn't warrant showing on the sheet.

The Cresh Luck Armor adds Advantages to Vigilance checks. No conditions or requirements.
The Chitin Armor also adds threat to charm and advantage to Coercion.
There are also abilities on some NPCs that straight up say "When performing X skill, add Y to the results."

Done, thanks for the suggestion. Will be released in 1.809.

Weird, we used to show this on the dice rolls in the form of a subtle little +1 [AD] icon etc.


Polymer 2.0 support

Is there a way to add this with Polymer 2.0 (Synthesis)?
I just started a new project with Synthesis and Polymer 2.0 but I cant figure out how to add this mixin to my class. Could you help me out here?
EDIT:
Currently I'm handling the mixin like this:
class MyElement extends Polymer.mixinBehaviors([mwcMixin], Polymer.Element)
but it's throwing an error:
es5-shim.js?hash=adc3c62…:1242 Uncaught TypeError: Cannot convert undefined or null to object     at keys (<anonymous>)     at Function.keys (es5-shim.js?hash=adc3c62…:1242)     at HTMLElement.attached (mwc-mixin.js:77)     at HTMLElement.attached (app.js?hash=fdffe8b…:2251)     at HTMLElement.connectedCallback (app.js?hash=fdffe8b…:2517)     at HTMLElement.connectedCallback (app.js?hash=fdffe8b…:18355)     at CustomElementRegistry.window.customElements.define (custom-elements-es5-adapter.js:4)     at meteorInstall.imports.ui.layouts.template.conboxr-grid.js (app.js?hash=fdffe8b…:18361)     at fileEvaluate (modules-runtime.js?hash=2b888cb…:207)     at require (modules-runtime.js?hash=2b888cb…:130)

@EliArtist I'm aware of this issue. I'll start working on it. Thanks for reporting.

Here is a preview version (hybrid mode.) https://github.com/aruntk/kickstart-meteor-polymer-with-app-route/tree/2.0-preview
https://github.com/meteorwebcomponents/mixin/tree/polymer2
meteor add<EMAIL_ADDRESS>

@EliArtist New Polymer 2 mixin beta version is released. Refer https://github.com/meteorwebcomponents/mixin/blob/master/README.md

Seems to work perfectly, thank you so much! :)


add test for order

My last PR modified the same parts of the code as you did and caused a merge conflict on your PR, but I have already resolved it.


Incorrect Twitter Link

Current Behavior

The Twitter link does not redirect to the Layer5 Twitter page
Expected Behavior

Change the Twitter link to open https://twitter.com/layer5 instead
Screenshots/Logs

Would like to work on this.

This issue will be fixed in https://github.com/layer5io/docs/issues/15


Set default time zone to IST

It's not fixed. It still says OFFLINE.

Just fix the default time zone to IST, or convert the default time zone i.e. GMT on the production server to the local timezone.

Issue resolved in commit d71bf72


Update how-to-find-your-performance-bottleneck-with-new-relic.md

The --value option has been deprecated. Please use hypernode-systemctl settings   instead.
Also deleting text for old Byte Control panel

very nice! thanks @henkvalk


⚠ Samsung has degraded performance

In c311146, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2468 ms

Resolved: Samsung performance has improved in 01b04e8.


#14985: Update binary bw docs

Ticket
https://github.com/tenstorrent/tt-metal/issues/14985
Problem description
Update docs for binary backward ops
What's changed
Updated docs for the following binary backward ops :

atan2_bw
hypot_bw
ldexp_bw
logaddexp_bw
logaddexp2_bw
max_bw
min_bw
squared_difference_bw
xlogy_bw

Checklist

[x] Post commit CI passes

Docs screenshot

https://github.com/tenstorrent/tt-metal/actions/runs/11909186932 - passes


Update MD file on new branch 2017-12-09_21-43-39

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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


CoreOS Hosts stays in reconnecting after update

Rancher Version: 1.0.1
Docker Version: 1.10.3
OS and where are the hosts located? (cloud, bare metal, etc): coreOS 1032.0.0 -> 1032.1.0
Setup Details: (single node vs. single node, internal DB vs. external DB) single node
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce: Lets CoreOS update by stock update mechanism
Results: After a successful CoreOS update the CoreOS is on new version, Rancher shows the Hosts in "reconnecting" state. After a manual Reboot the hosts reconnects to active state. After that Rancher Starts and redeploys all Services.
Expected: CoreOS simple Updates, reboots and all services are running again without rescheduling.

I've also had networking issues with CoreOS beta and alpha (which use Docker 1.10.3); however CoreOS stable (Docker 1.9.1) seems fine.  I downgraded all my CoreOS hosts to the latest Stable, upgraded to Rancher 1.1.0-dev1, and problems went away.

I was using the ones which contains docker 1. 10.3 as I have read docker 1.9 has network and performance issues by self

Same problem with the Stable Stream, also RECONNECTING state. Ubuntu Hosts with Docker 1.10.3 show no problems

Do you have your rancher server on the same OS?  I played about with the Host OS for a while before I realised that the Rancher server was always on CoreOS beta; when I moved it to stable as well that helped.  May be a problem of communication between containers under different Coreos Docker versions?

no, the server runs on a seperate  Ubuntu 14.04 host.

FWIW, I run both the Rancher and the Hosts under CoreOS.  It was not until all were using CoreOS stable that the problem went away.  Maybe CoreOS doesn't like talking to anything but CoreOS (of the same version)?

Here's what we're seeing with CoreOS. CoreOS auto upgrades and reboots and then after reboot docker isn't running anymore.  For your hosts in reconnecting state, you can log in and  do ps -ef | grep docker and you'll see docker isn't running. Not until you try to use docker once will it startup.  So docker ps will launch docker.  It's because of socket activation in systemd.
The solution is to create on systemd unit file that pings docker on boot.  Or add docker ps to /etc/rc.local

After applying these recommendations and you still have issues, please re-open.


fix(metrics): vault_injector_store_data_count_success was not cleaned…

… up when pod is deleted by the renewer
https://github.com/numberly/vault-db-injector/issues/23

@SoulKyu your commit message appears to be truncated. I recommend using a more detailed commit message + extended
Implement a test in this scenario are possible ?


agent discovery

create proto contract
implement heartbeat at agent side

Not in this PR:

handler at master

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2@ee738e3). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@          Coverage Diff          @@
##             v2     #187   +/-   ##
=====================================
  Coverage      ?   44.63%
=====================================
  Files         ?       23
  Lines         ?     1752
  Branches      ?        0
=====================================
  Hits          ?      782
  Misses        ?      882
  Partials      ?       88

Flag
Coverage Δ

unittests
44.63% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

I believe we will have unit tests for another merge request that we can run the test.


Why is there so much HTML code in your .go files?

It would be much better if you created a stable REST API for the imageboard.
Firstly, it doesn't help caching if you keep sending same HTML from the server over and over again.
Secondly, you are limiting yourself to browser viewing only, so no phone app.
Lastly, it just looks like spaghetti code.

An API that will likely be relatively similar to 4chan's is currently in the works, and will serve static JSON files which will only be modified/created with new/removed threads/posts/boards.
As for the phone apps, see the above, though we do have plans to tune the UI to be phone friendly, without being a drain on JavaScript. I loathe sites whose mobile version is takes longer to load than the desktop version.
As for spaghetti code, that is being worked on as well. You're more than welcome to make changes and pull requests.


When turn front camera get error

When I want to turn the front camera, I get an error about focus.
error :
Thread 1: "*** -[AVCaptureDevice setAutomaticallyAdjustsFaceDrivenAutoFocusEnabled:] Not supported - use -isFocusModeSupported: to discover if autofocus is supported"

Fixed in #545


Foundation setup and SPDX license tags

Some more license archeology, but I think I found them all.

This repo was set up before style checking, so it's unsurprisingly not comforming. If someone feels like it, we should probably set up .stylefilter for upstream things and run the formatter for the rest. But in a different PR.


Different local %%opts in Layout

I would like to have the ability to set different styling options for different Images in a Layout.
I would expect things to work like this:
%%opts Image (cmap='gist_heat_r')
hv.Image(np.random.rand(10,10))(plot=dict(xaxis=None, yaxis=None), style=dict(cmap='jet')) + hv.Image(np.random.rand(10,10))

and produce:

but it actually produces:

I would solve this by using groups:
%%opts Image.noaxis [xaxis=None, yaxis=None, show_title=False] (cmap='jet') Image (cmap='gist_heat_r')
hv.Image(np.random.rand(10,10), group='noaxis') + hv.Image(np.random.rand(10,10))

I agree that the groups solution is the safest approach! :-)
Note that if you want Images without axes often, you can just use the %opts line magic, allowing you to define it once so you can reuse it whenever you like by simply assigning the group:
%opts Image.noaxis [xaxis=None, yaxis=None, show_title=False]

I will now explain what is and isn't a bug in your example (because there is a bug!):

The fact that the two color maps are the same is not a bug: the %%opts magic always takes precedence (something we should document better!) which means all Images are using the 'gist_heat_r' map as requested (cmap='jet' is simply overridden). As Vasco points out, you can get around this easily by using groups.

The fact that xaxis=None and yaxis=None isn't being respected is a bug. As these options aren't being specified in the %%opts magic, they aren't being overwritten which means they should be applied.

Hopefully that helps explains what is going on here!
I hope to have a look at the bug in the options system tonight.

These bug reports are really forcing us to get things right! :-)
We think these bugs ares all fixed in commits cb40361 through to 9d3cfee and we have a new unit test to make sure the bad behavior doesn't reappear. In short, the order in which you specified options was causing different sets of option keywords to be returned to the plotting system.
These commits also fix #96 so I shall now closes this issue. If after pulling the latest version the problem still isn't fixed, please report it and I will reopen this issue!

Note that we needed to make a few more fixes after the commits mentioned. As of ff37b55 all the tests are passing and we think it is ready to use!


Vite base option not supported in dev mode

Using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I have a vite.config.js that uses Vite's base option:
import kirby from 'vite-plugin-kirby';

export default {
  plugins: [kirby()],
  // Needed so that generated assets have URLs starting with `/dist/` and not `/` in prod
  base: '/dist/',
  build: {
    copyPublicDir: false,
    emptyOutDir: true,
    outDir: 'public/dist',
    assetsDir: '',
    rollupOptions: {
      input: ['src/common.js', 'src/home.js'],
    },
  },
};

The generated site/config/vite.config.php looks like:
<?php
// This is an auto-generated file. Please avoid making changes here.
// Configure your settings in the "vite.config.js" file instead.
return [
  'outDir' => 'public/dist',
  'assetsDir' => '',
  'legacy' => false
];

With a production build, everything works well. I can use vite()->js('src/common.js') and it outputs a URL like /dist/common-{hash}.js.
In development, things break. The generated HTML looks like:
<script src="http://localhost:5173/@vite/client" type="module"></script>
<script src="http://localhost:5173/src/common.js" type="module"></script>

When visiting http://localhost:5173/src/common.js, Vite is showing an error:

The server is configured with a public base URL of /dist/ - did you mean to visit /dist/src/common.js instead?

Quick investigation
That's probably because the base value is not used anywhere in site/config/vite.config.php or in the .dev file, which reads:
VITE_SERVER=http://localhost:5173

And the implementation of the arnoson\KirbyVite\Vite::assetDev method basically returns "$VITE_SERVER/$file" where $file is the first param passed to vite()->js(…).
Possible workarounds

You can set Vite's server.origin to something like http://localhost:5173/dist, but then it breaks URLs from CSS to assets referenced in the CSS (ends up linking to http://localhost:5173/dist/dist/some-image.jpg). So that's a hack more than a fix.
You can set the base to different values for development and production:

// vite.config.js
import kirby from 'vite-plugin-kirby';

export default function({ mode }) {
  return {
    plugins: [kirby()],
    // Needed so that generated assets have URLs starting with `/dist/` and not `/` in prod
    base: mode === 'production' ? '/dist/' : '/',
    build: {
      copyPublicDir: false,
      emptyOutDir: true,
      outDir: 'public/dist',
      assetsDir: '',
      rollupOptions: {
        input: ['src/common.js', 'src/home.js'],
      },
    },
  };
}

The second one seems to be working pretty well. It compensates well for kirby-vite hardcoding / as the URL base in dev mode.

I just noticed that the example/vite.config.js file uses
base: mode === 'development' ? '/' : '/dist/',

I’m wondering if that's a good pattern to use in this project's README.md as well?
Is there a project setup where not setting the base for production just works?
Maybe if the outDir is the public root (project root dir in the default Kirby setup, or the ./public dir in most custom setups), and Vite assets are written to ./assets/* or ./public/assets/*, then you don't need to set a base because Vite's manifest will contain a path like "assets/foo-{hash}.js" and you can link to /assets/foo-{hash}.js and it'll just work.

(By the way, thanks a bunch for this plugin! Much appreciated.)

Thanks for mentioning this! Indeed I use a a different base  for development and production in all examples and the starter kit, but i forgot to add this in the readme, fill add this soon :)

@fvsch, maybe I closed this a bit too soon, do you think the updated readme solves your issue?

@arnoson I think so, yes.
The docs update is a good solution. This could be handled in code instead (by passing the configured base into .dev or config/config/vite.config.php), but there would be complexity and edge cases there, so I doubt it's worth it, at least currently.


weird serrial

On one hp laptop i got this for seriall number:
To be filled by O.E.M. . Do you have any idea why is this not falling at least to UUID ?

Because there's an actual value returned by the default non-UUID method (depends on platform).
PR welcome to catch that string and treat it like a non-value in order to automatically fallback to UUID.