Connection error when trying to add the integration.

Connection error when trying to add the integration.

Network is setup.

BMS is enabled. No changes. / Left on setting [1]
[1] Modbus TCP / Port 502
[2] Modbus RTU/ Add 1/Baud rate 19200/Par Even/Stopbits 1

When 'Add integration' is done with Host IP/(ATLAS IP) <IP_ADDRESS> / Modpus port 502 / Heatpump model "inverter"
! Connection error. is shown.

Note: "https://www.online-genesis.thermia.se/" works ok, => Network ok!
Version of the custom_component
Latest 009
Configuration
No specific yaml Configuration.
Describe the bug
Get a connection error when trying to connect.
Debug log
2022-12-02 08:28:19.606 INFO (SyncWorker_4) [homeassistant.loader] Loaded demo from homeassistant.components.demo
2022-12-02 08:28:19.607 INFO (SyncWorker_4) [homeassistant.loader] Loaded plant from homeassistant.components.plant
2022-12-02 08:28:19.608 INFO (SyncWorker_4) [homeassistant.loader] Loaded proximity from homeassistant.components.proximity
2022-12-02 08:28:31.358 DEBUG (MainThread) [custom_components.thermiagenesis.config_flow] Attempt connect...
2022-12-02 08:28:31.359 INFO (MainThread) [custom_components.thermiagenesis.config_flow] Other error
2022-12-02 08:28:31.359 INFO (MainThread) [custom_components.thermiagenesis.config_flow] 'bool' object is not callable

Can't really help but this sounds more like something in the config process is botched somehow rather than anything to do with the actual connection.

2022-12-02 08:28:31.359 INFO (MainThread) [custom_components.thermiagenesis.config_flow] Other error
2022-12-02 08:28:31.359 INFO (MainThread) [custom_components.thermiagenesis.config_flow] 'bool' object is not callable

Not sure what's going on here, can you also enable debug logging for the client library and see if it gives us any more hints?
In configuration.yaml add
logger:
  default: info
  logs:
    custom_components.thermiagenesis: debug
    pythermiagenesis: debug


Updated installation instructions.

Added warning to the user that this package requires a C compiler to run. This warning also contains a link to the issues page that gives more detailed information.

Coverage remained the same at 76.082% when pulling 96bf26b7a34903c945e62c68affa2f6b0953c9f8 on doc_update_installation into 624212b748ff34fe9b2bf3045f6a0c81cf3d8ab3 on master.


Fix first-click handle not showing upon creating collision polygon on tileset editor (resolves #55005)

Fix first handle not showing upon creating collision polygon on tileset.
This pull need advice for variable assignment redundancy on:

#L2697
#L2734
#L2782
#L2822
#L2871

Because it will be overwritten by #L2890

salvageable


Fix regexp for converting rails date format to momentjs

Addresses https://github.com/sferik/rails_admin/issues/982

It does not work properly yet, I will refactor


Refactor mobile breakpoints to use custom hook

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Code quality improvements

How to test
NIL.

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 17 (41.18%)  changed or added relevant lines in 15 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 32.924%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/controlBar/ControlBarAutorunButtons.tsx
0
1
0.0%

src/commons/controlBar/ControlBarGoogleDriveButtons.tsx
0
1
0.0%

src/commons/controlBar/github/ControlBarGitHubButtons.tsx
0
1
0.0%

src/commons/controlBar/github/ControlBarGitHubLoginButton.tsx
0
1
0.0%

src/commons/githubAssessments/GitHubMissionMobileLoginButton.tsx
0
1
0.0%

src/pages/academy/adminPanel/subcomponents/CourseConfigPanel.tsx
0
1
0.0%

src/pages/githubAssessments/GitHubAssessmentListing.tsx
0
1
0.0%

src/pages/githubAssessments/GitHubAssessmentWorkspace.tsx
0
1
0.0%

src/pages/playground/Playground.tsx
0
1
0.0%

src/pages/sourcecast/Sourcecast.tsx
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
4354

Relevant Lines:
12299

💛  - Coveralls


[WIP] Trio based implementation of the Endpoint API

What was wrong?
WIP
Ugly things:

pytest-asyncio doesn't play nice in the test suite so I ended up having to segregate them.

How was it fixed?
Summary of approach.
Cute Animal Picture

https://github.com/pytest-dev/pytest-asyncio/pull/125 if accepted and released would allow us to condense the test runs back down.


CAUS-6: added comments, minor revisions, and a small bugfix

Description
Propensity score matching needs comments! I'm adding those and some minor cleanup.

fixing one more bug -- the att and atc are reversed!

Fixed! They weren't actually reversed -- it was P(D=1) being calculated incorrectly, since X was modified in the ATC calculation.


Update mentee and mentor schema

Description
Worked with Kevin to pair program updates to the mentee and mentor schemas.  The old schemas for both mentee and mentor had a field titled "looking_for" that had a selection for types of help either the mentee was interested in receiving or the mentor was hoping to provide.  This one field was separated into 3 separate fields for each option: job_help, industry_knowledge, and pair_programming.  The "looking_for" schema field was deleted and these 3 fields were added for the following schemas: Mentee, MenteeUpdate, Mentor, MentorUpdate.
[https://www.loom.com/share/59b868e8db324a1e881e1e253864cae1](Loom Video of Changes)
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] My changes generate no errors
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Good job. I think this new schema makes more sense.

This is a nice update to the schema, well-done. I had an issue with the loom video link, for some reason it didn't work for me!

Nice work keeping the communication flowing between Web and DS! For lines 59 and 79, is this change for Web? The only changes I have are in the PR description:
* Remove the boilerplate code

* (Loom Video of Changes) should be at the beginning of your Loom link and it'll render

Nice work keeping the communication flowing between Web and DS! For lines 59 and 79, is this change for Web? The only changes I have are in the PR description:
* Remove the boilerplate code

* (Loom Video of Changes) should be at the beginning of your Loom link and it'll render

Just removed the "Fixes (bug)" section on the pull request description and reformatted the loom link.


ci: setup integration apps

Depends on #4

I merged in master to this branch after having merged in #4, so that the diff would easier to read. Looks like the build is failing now due to eslint errors in the integration app

I will fix it. I will rebase on master first of all.

Is this ready to mark as ready for merge? If so I will merge this.

No, it’s not, sorry. I’m stuck at work but I’m planning to finish it this week.

@joeldenning ping

Shall we publish single-spa-aurelia to npm? Is there anything else that needs to be done first?


[Refactor] Simplify contract function parsing and execution

#4228  👈
main

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

Join @jnsdls and the rest of your teammates on  Graphite


fix：Update exports to avoid web compatibility issues

https://github.com/fluttercommunity/plus_plugins/pull/2028

we dont use dart.library.html . is this actually an issue?


Consume terra dev site 1.0

Summary
Consumes latest terra dev site
Files have been moved to protect the innocent.
Deployment Link:
https://terra-framework-deploye-pr-183.herokuapp.com/#/components
Thanks for contributing to Terra.
@cerner/terra

@mmalaker For functional review, let's spot check some of the navigation for components and tests routes.

Functional spot check completed. The Terra Framework site displays and functions as expected.


Will Xilinx ERNIC 5.0 be released in the near future?

Hello Xilinx developers! Really appreciate your excellent work. ERNIC 4.0 supports 2048 QP pairs, which is not applicable in our product. Will Xilinx update and release ERNIC 5.0 in the near future?

@jiandongg
Hi Jiandong,
I have no idea about the roadmap of ERNIC, as I'm not from the product team. We'll include ERNIC 4.0 in RecoNIC this year. May I know the reason why ERNIC4.0 is not applicable in your product? It requires more queues?

@jiandongg Hi Jiandong,
I have no idea about the roadmap of ERNIC, as I'm not from the product team. We'll include ERNIC 4.0 in RecoNIC this year. May I know the reason why ERNIC4.0 is not applicable in your product? It requires more queues?

Yes. My project manager/teacher investigated RDMA NICs from mellanox or resnics company. He thought that 2048 QPs of ERNIC 4.0 is a little bit low.
I noticed that Xilinx released ERNIC v3.1 on Vivado 2021.1, and released ERNIC v4.0 on Vivado 2022.2. If Xilinx releases ERNIC 5.0 on Vivado 2024.1 this year(wondering, I don't know the roadmap of ERNIC from public sources either), it would be nice :D

@jiandongg Hi Jiandong,
I have no idea about the roadmap of ERNIC, as I'm not from the product team. We'll include ERNIC 4.0 in RecoNIC this year. May I know the reason why ERNIC4.0 is not applicable in your product? It requires more queues?


java.lang.NullPointerException

Can someone help me? I am getting this error with the geyser connect pterodactyl egg.
java -Xms128M -Xmx2048M -jar GeyserConnect.jar
Exception in thread "main" java.lang.NullPointerException
        at org.geysermc.connect.MasterServer.<init>(MasterServer.java:106)
        at org.geysermc.connect.GeyserConnect.main(GeyserConnect.java:31)

Moved as this is a GeyserConnect issue, but it looks like your config is corrupt. I would suggest downloading this one as pterodactyl sometimes won't generate it properly.


feat: Action Widgets Reskinning - Button, Button Group, Icon Button, Menu Button

Description
This PR fixes UI inconsistencies in the following Action Widgets -

Button
Button Group
Icon Button
Menu Button

Fixes #10972
Fixes #15170
Fixes #10989
Fixes #10996
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manually

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=2f2cfee

Tested and verified.

Thanks a lot for the quick QA @laveena-en and @chandannkumar. Kudos to you folks. 🙌 🚀

/ok-to-test sha=f2e9fd3

/ok-to-test sha=8eafc8a

/ok-to-test sha=b301eaa

/ok-to-test sha=4ea6a76

/ok-to-test sha=a573e07

/ok-to-test sha=0f3167e


merge service when resolution and svc attributes including namespace …

…hostname label selector equal
Please provide a description of this PR:
Currently we can merge SEs with different resolution and label selectors, this is unexpected, it could change a SE's behavior. We should stop doing so.
Found when looking into https://github.com/istio/istio/issues/49550
Will supplement ut later.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test release-notes

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test release-notes

unit-tests-arm64_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test unit-tests-arm64

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test release-notes

unit-tests-arm64_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test unit-tests-arm64

unit-tests_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test unit-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test unit-tests-arm64

unit-tests_istio
10980b4b462b7fcad3f323d058f137660b69390f
link
true
/test unit-tests

release-notes_istio
77ea5b25905e81269c21d980f383299e04ad8fa3
link
true
/test release-notes

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

cc @ramaraochavali

/test release-notes

cc @ramaraochavali to take a look to see if there is any condition i haven't considered


Remove custom super-user permissions

Remove custom RBAC super-user permissions as they do not provide differentiation from the Owner role.  Old text below:
If you want to create a custom role-based-access control (RBAC) role that has super-user permissions, it needs to have the following permissions:
•	Microsoft.DataLakeStore/accounts/Superuser/action
•	Microsoft.Authorization/roleAssignments/write
The above text was actually missing an additional permission:
•	Microsoft.Authorization/permissions/read

@esung22 : Thanks for your contribution! The author, @nitinme, has been notified to review your proposed change.


Cleanup of generateVAO() to remove special casing of TextureShader. Reuse VAO and VBOids and make generateVAO() private.

Discussed with @roshanch the following cleanup of generateVAO() usage. Tested shadow, jassimp, simplescene, litshader, multilight samples.
Remove the special case for TextureShader to call generateVAO(). Now generateVAO() will be called just before the glBindVertexArray(mesh->getVAOId(programId)) call and after the shader->render() call.
TextureShader's render method sets the proper program instance for the light and no_light case and the programId will be valid after the call to render().

Reuse VAO and VBO ids when attributes change in mesh.cpp
Mesh::getVAOId() will now invoke generateVAO() as needed -- there is no need for the Renderer class to invoke this method. generateVAO() is now private.
Added method to delete VAO and VBO ids for a particular programId. This is not used for now.

i think title is bit misleading. its more about deleting existing VBO and VAO ids when we the mesh changes. Code looks good to me. Needs to test it.

Needs DCO

GearVRf-DCO-1.0-Signed-off-by: Vittalbabu Srinivasan
<EMAIL_ADDRESS>

Tested with Shadows, jassimp, litshader and a modified version of polyline where a click changes the vertex data of the polyline.

Will merge in the afternoon


'lonspeed': sweList[3] - tuple index out of range

using:

pyswisseph 2.08 (installed locally in virtualenv)
flatlib
win10 pro x64
and following online doc, chapter Chart, running the code produces error:

'

from flatlib.datetime import Datetime
from flatlib.geopos import GeoPos
from flatlib.chart import Chart
date = Datetime('2020/03/11', '23:10', '+01:00')
pos = GeoPos('46n03', '14e31')  # ljubljana, slo, eu
chart = Chart(date, pos)
Traceback (most recent call last):
File "", line 1, in
File "A:\venv_pyswisseph\flatlib\chart.py", line 53, in init
self.objects = ephem.getObjectList(IDs, date, pos)
File "A:\venv_pyswisseph\flatlib\ephem\ephem.py", line 35, in getObjectList
objList = [getObject(ID, date, pos) for ID in IDs]
File "A:\venv_pyswisseph\flatlib\ephem\ephem.py", line 35, in
objList = [getObject(ID, date, pos) for ID in IDs]
File "A:\venv_pyswisseph\flatlib\ephem\ephem.py", line 30, in getObject
obj = eph.getObject(ID, date.jd, pos.lat, pos.lon)
File "A:\venv_pyswisseph\flatlib\ephem\eph.py", line 48, in getObject
obj = swe.sweObject(ID, jd)
File "A:\venv_pyswisseph\flatlib\ephem\swe.py", line 71, in sweObject
'lonspeed': sweList[3],
IndexError: tuple index out of range

'
s love nia

+1 I get the same error

+1 Me too!

I figured it out. The version number in the requirements file isn’t working
when you pip3 install. Just manually install the right version of the
package.
On Thu, Apr 9, 2020 at 4:28 PM Marcelo Andriolli<EMAIL_ADDRESS>wrote:

+1 Me too!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flatangle/flatlib/issues/41#issuecomment-611800845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAP3R7WMMGW7UPHWYKF37FLRLZKYJANCNFSM4LF72XQQ
.

--
---
Tyler Weitzman
LinkedIn http://linkedin.com/in/tylerweitzman
BlackSMS http://blacksms.info/

For everyone having this issue, just uninstall pyswisseph-2.08 and install pyswisseph-2.00.00-2.
$ pip uninstall pyswisspeh
Found existing installation: pyswisseph 2.8.0.post0
Uninstalling pyswisseph-2.8.0.post0:
...

$ pip install pyswisseph==2.00.00-2
...

i tried all above solution and it still not working
i have python 3.7.4
and use anaconda
when i use pip uninstall pyswisspeh
i recived  "WARNING: skipping pyswisspeh as it is not installed
when i tried pip install pyswisseph==2.00.00-2
i recived this error """ERROR: Command errored out with exit status 1: 'C:\Users\MArmia\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"'; file='"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MArmia\AppData\Local\Temp\pip-record-k8i3_szt\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output."""

if you copied text from above post, it includes typo:
pyswisspeh -> should be pyswisseph

Hello, I'm having the same issue as micharmia. I tried manually installing pyswisseph 2.00, and also uninstalling flatlib and cloning the dev version, but nothing works. Something to do with the wheel file and windows/visual studio.
I've googled some and got to this but that solution seems not to work with python 3.7. I'm a bit lost. Is there anything to be done?

For everyone having this issue, just uninstall pyswisseph-2.08 and install pyswisseph-2.00.00-2.
$ pip uninstall pyswisspeh
Found existing installation: pyswisseph 2.8.0.post0
Uninstalling pyswisseph-2.8.0.post0:
...

$ pip install pyswisseph==2.00.00-2
...

In alternative, as I've just made two commits to force the usage of pyswisseph 2.00.00-2 while I don't review astrorigin's PR above. If you prefer to install the dev version, just do:
$ pip uninstall flatlib
$ pip install git+https://github.com/flatangle/flatlib`

But Pyswisseph==2.00.00-2 cannot be installed on win10 systems. This error will appear：

error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1120
ERROR: Failed building wheel for pyswisseph
Only can install pyswisseph-2.8.0 in win 10.
@joaoventura
Have you solved the installation problem in win10 ？ @aum7 @joaoventura @tylerweitzman @micharmia

i tried all above solution and it still not working
i have python 3.7.4
and use anaconda
when i use pip uninstall pyswisspeh
i recived "WARNING: skipping pyswisspeh as it is not installed
when i tried pip install pyswisseph==2.00.00-2
i recived this error """ERROR: Command errored out with exit status 1: 'C:\Users\MArmia\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"'; file='"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MArmia\AppData\Local\Temp\pip-record-k8i3_szt\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output."""

got the same error

for those who had this problem as i did
i finally fixed it !
go to where your flatlib site-pacakage is actually installed
i got it here on debian linux:  /home/username/.local/lib/python3.8/site-packages/flatlib/ephem/swe.py
and change:
sweList = swisseph.calc_ut(jd, sweObj) to sweList = swisseph.calc_ut(jd, sweObj)[0]
which are in two lines: #66 and #78
and thats it !
everything works now !

@ramires666 Wow, finally! Thanks a lot!


Various WYSIWYG bug fixes

Notable Fixes and changes include:

Fix for mentions bug where inserting a new mention in front of existing text would delete the text after inserting the new mention
Fix issue where typing an underscore would italicize everything (this happens alot to me!!)
Fix issue where empty spacer would cause input element size to increase (happens when using mentions and there are no results)
Convert Richmarkdown Editor and Minimal Editor to FC
Add maxLength prop and plugin to allow for limiting content length when using WYSIWYG

@smurflo2 Sweet, saw your mentions changes and comments - super helpful explanation, working good for me now when using @'First Lastname'
@TaylorBeeston Nice with the refactor! I'm getting a few TSC terrors when building:

src/MinimalEditor.tsx:509:33 - error TS2322: Type 'Object[] | undefined' is not assignable to type 'any[]'.
  Type 'undefined' is not assignable to type 'any[]'.

509                                 participants={participants}
                                    ~~~~~~~~~~~~

  src/components/MentionsMenu.tsx:15:5
    15     participants: Array<any>;
           ~~~~~~~~~~~~
    The expected type comes from property 'participants' which is declared here on type 'IntrinsicAttributes & MentionsMenuProps & { children?: ReactNode; }'

src/RichMarkdownEditor.tsx:553:33 - error TS2322: Type 'Object[] | undefined' is not assignable to type 'any[]'.
  Type 'undefined' is not assignable to type 'any[]'.

553                                 participants={participants}
                                    ~~~~~~~~~~~~

  src/components/MentionsMenu.tsx:15:5
    15     participants: Array<any>;
           ~~~~~~~~~~~~
    The expected type comes from property 'participants' which is declared here on type 'IntrinsicAttributes & MentionsMenuProps & { children?: ReactNode; }'

@goblincore whoops! Last night I refactored out most of the editor logic into a useEditor hook, and apparently forgot to push it up! 🙃 TS errors are fixed with that commit!

@TaylorBeeston Sweet, yeah I'll push up a few more fixes from master and also update the prosemirror packages to latest versions, and move them from peer deps so we can remove those prosemirror packages from the main frontend, then do a lil more testing and we can publish

@goblincore sweet! I'm doing another quick refactor because I realized more logic should go in that useEditor hook!


Cannot run example

I followed the instructions at https://github.com/zostera/django-bootstrap4/tree/master/example
I get error
$ python manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__
    self.build_graph()
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
    if self.has_table():
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor
    return self._cursor()
  File "/Users/harrymoreno/.asdf/installs/python/3.7.3/lib/python3.7/site-packages/django/db/backends/dummy/base.py", line 20, in complain
    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

update DATABASES in settings.py to use sqlite db
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}


Quitting game during menu throws error

Pretty sure this is somewhat related to #45

This also seems to happen when just reloading, perhaps it's connected?

This was indeed fixed in tandem with #45


check for changes in assumedly static objects during planning

intended for use in pybullet blocks (real robot experiments). this should prevent us from finding plans that have major collisions between the robot and neighboring blocks.
the 1e-3 tolerance can't be lower because things appear to slightly move around on their own in pybullet.
default to False because some environments (e.g., Cover) don't obey this assumption about skill scope.

trying to figure out what went wrong on the blocks-vision branch with this flag. this seems to work fine:
python predicators/main.py --env pybullet_blocks --approach oracle --seed 0 --sesame_check_static_object_changes True --pybullet_robot panda --option_model_use_gui True --option_model_name oracle --option_model_terminate_on_repeat False --blocks_block_size 0.0505

okay the issue in blocks-vision was that we were slightly misestimating the z positions of the blocks, which led to them being in collision with the table, and then when physics was applied during step, the contact forces would cause all the blocks to move, and this new flag would detect those moves. I'm fixing this for now in blocks-vision by making the z position estimation exact by using the known table height.


No wireless network (SSID "Exploit")

Hello,
I followed the manual step by step  but don`t appears the wifi network Exploit ¿ Anyone can help me ?
Thanks and a greeting

Firmware has too many bugs, if you change the SSID or password or any make any changes in the config panel, the network name disappears.

What is the firmware what we need to install for wireless network appears?


Remove convert and revert command

What type of PR is this?
/kind feature
What this PR does / why we need it:
Remove convert and revert command
Which issue(s) this PR fixes:
Fix #736

@Congrool as we discussed before in proposal YurtCluster Operator Propsal, in order to reduce user's choice difficulty, so deprecate yurtctl convert/revert and recommend user to use YurtCluster Operator to convert Kubernetes cluster to OpenYurt cluster.
but local_up_openyurt.sh have used yurtctl convert/revert, do you have any suggestions for improving local_up_openyurt.sh?

@MIBc Very appreciate for raising pull request.
local_up_openyurt.sh is used by OpenYurt github actions, and yurtctl convert/revert is used by local_up_openyurt.sh, so we need to discuss how to tune local_up_openyurt.sh before deprecate yurtctl convert/revert. and @Congrool is the owner of local_up_openyurt.sh.

@rambohe-ch
In my mind, there're two approaches to solve this problem:

use YurtCluster Operator to do the conversion
enable yurtctl init to setup openyurt cluster with kind

Personally, I don't recommand 1, because it will cause coupling between OpenYurt Repo and YurtCluster Operator Repo. Then, we may need to change the local_up_openyurt.sh when the YurtCluster Repo modifies its API. It's not convenient for us.
For 2, we can add another option for yurtctl init, called --provider. If we set it as --provider=kind, then an openyurt cluster will be created through kind. Otherwise, it will be created through sealer as what it does currently.
By the way, code of yurtctl convert can be reused when initing OpenYurt cluster with kind.
Of course, it will be better if sealer provides a way to init a cluster with kind, but I do not find any doc about it.
How do you think? @MIBc @rambohe-ch

@rambohe-ch
In my mind, there're two approaches to solve this problem:

use YurtCluster Operator to do the conversion
enable yurtctl init to setup openyurt cluster with kind

Personally, I don't recommand 1, because it will cause coupling between OpenYurt Repo and YurtCluster Operator Repo. Then, we may need to change the local_up_openyurt.sh when the YurtCluster Repo modifies its API. It's not convenient for us.
For 2, we can add another option for yurtctl init, called --provider. If we set it as --provider=kind, then an openyurt cluster will be created through kind. Otherwise, it will be created through sealer as what it does currently.
By the way, code of yurtctl convert can be reused when initing OpenYurt cluster with kind.
Of course, it will be better if sealer provides a way to init a cluster with kind, but I do not find any doc about it.
How do you think? @MIBc @rambohe-ch

@Congrool Thanks for your feedback. i also agree with the above approach 2. so we need to refactor yurtctl init command before deprecate yurtctl convert/revert. @MIBc Do you have any comments?

I will open a new issue about the refactor of yurtctl init. After then, we can revise local_up_openyurt.sh using yurtctl init.

I will open a new issue about the refactor of yurtctl init. After then, we can revise local_up_openyurt.sh using yurtctl init.

@MIBc how about wait for new local_up_openyurt.sh ready? and then we can merge this pull request.
/hold

@MIBc please fix the conflicting files.

@MIBc please git rebase the newest master branch to fix e2e error.

@MIBc In order to promote the development of yurtctl, #826 for deprecating yurtctl convert/revert had been merged. so we will close this pull request.


Remove unused Path extraction methods

Is your feature request related to a problem? Please describe.
The API has been redesigned and some methods are no longer used.
Describe the solution you'd like

[ ] Remove PathProtocol
[ ] Remove PathProtocol tests
[ ] Remove PathNetwork
[ ] Remove PathNetwork tests
[ ] Remove PathAddress
[ ] Remove PathAddress tests

closed by #374


Add initial implementation of socket communications to the demo (phase 1) - Participant

duplicate of frost#572


alive doesn't stop

and not sending request while error is active?

I'm still sending alive request when an error is active, I'm not sending alive requests when an error is displayed and session is expired.
When do I have to send alive and when not??

Pretty sure I've had an issue before with "stop sending alive requests when..."

Needs investigation.
Expired -> no more alive/websockets -> same as stop application is destroyed
Connection problem -> retries...
But if an Error occured? What does this mean and why is there no retry? Must be something special.
alive also makes no sense if connection is broken? You don't use alive for connection retry?
So only if connection is established, alive makes sense. The alive is more or less a "ping" from the client.
It means, the browser is open and the application is running.

While researching, I've just seen that when the Websocket is closing, I'm stopping the alive Interval, I've just added this recently while working on #371. I've added this in commit: https://github.com/sibvisions/reactUI/commit/05ff684267b75daf884f5e63493d53a61dc82057
So short: Websocket close (VisionX close) -> no more alive requests. Is this good enough for this ticket?

If you close websocket, it should work...
but the application also works without websocket. The WS is just for server-driven updates.
So binding the alive handling to the WS is not a good solution.

also removed "sending request while error is active" check for alive because the interval isn't active anyways


Cant start up kali linux

name: kali-rollingencrypted: noEntering /mnt/stateful_partition/crouton/chroots/kali-rolling...crouton: version 1-20170223114115~master:71d1c2f5release: kali-rollingarchitecture: amd64xmethod: xorgtargets: xfcehost: version 9000.91.0 (Official Build) stable-channel peppy kernel: Linux localhost 3.8.11 #1 SMP Wed Feb 22 23:39:40 PST 2017 x86_64 GNU/Linuxfreon: yesUnmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...chronos@localhost / $ name: kali-rolling

Please describe your issue:I installed kali linux and it worked perfect but when i installed the full version and left the chroot i couldn't get in it gave me this message:Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.19.1
Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.8.11 #1 SMP Wed Feb 22 23:39:40 PST 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=68f3be2f-dfcc-654c-b34d-c08c3f69ec07/PARTNROFF=1 hashtree=PARTUUID=68f3be2f-dfcc-654c-b34d-c08c3f69ec07/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=bf2e59501b63961c9d66539930bfe0a17ffe4cf6 salt=42bc575dbffd99fe1ffad956135ce3258ede51e01cee991288f49916f78d8393" noinitrd vt.global_cursor_default=0 kern_guid=68f3be2f-dfcc-654c-b34d-c08c3f69ec07 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 20 January 2017  02:50:48AM
xorg-server 2:1.19.1-4 (https://www.debian.org/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Feb 27 18:45:13 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)

duplicate of #2912


[rhel8] package.json: Lock @patternfly/react-styles version

It's part of patternfly-react, so we should update it in a controlled
fashion. Letting it auto-update freely often breaks the build.
package.json's versions of PatternFly in this branch don't build any
more with the current react-styles version:
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@patternfly/react-styles/css/components/Drawer/DrawerIframe'
  in 'cockpit-composer/node_modules/@patternfly/react-core/dist/esm/components/Drawer'

Pin down react-styles to the version that it had for release 28.

Fixes this current build failure

Oops! Someone backported commit 3d8c63520c7b720254d5b52798b3114d6b539603 to the rhel-8 branch, which also broke the build. I reverted that.


Fix bug in DDB Create Table

thanks for the bug fix, would you mind signing the contributor license agreement referenced from the project readme, direct link . https://docs.google.com/forms/d/19LpBBjykHPox18vrZvBbZUcK6gQTj7qv1O5hCduAZFU/viewform

Done; awesome tool happy to contribute my small part!

thanks!, merged


Upgrade dependencies ?

Would it be possible to upgrade dependencies ?
through2 now exists in major version 2, and speedometer in major version 1.
Maybe devDependencies could be updated too.
Thanks you.

Good idea. Do you want to do a PR with it?

Any update on this? Is this fixed in #18?

Opened a PR to update deps (#24) since it seems discussion on #18 has stalled.
@freeall happy to help maintain btw


Updates term picker docs with anchorId addition.

Q
A

Bug fix?
[ ]

New feature?
[ ]

New sample?
[ ]

Related issues?
#492

What's in this Pull Request?
Updated term picker docs to include info on the new anchorId prop.

Thank you @c-eiser13 for the update!


Dumping doesn't work with --dump-on exit

This should be fixed and tested properly. The existing test_dumping_on_exit test can be updated.
Also interesting, I tried putting a log before the dumping in the finally block of the main loop in server.py, looks like it's printed twice.
Discord thread with steps to reproduce: https://discord.com/channels/793094838509764618/1038073414965014528

script used to reproduction
#!/bin/bash
set -eu

export STARKNET_WALLET="starkware.starknet.wallets.open_zeppelin.OpenZeppelinAccount"
ACCOUNT_DIR="."

The second execution is overriding file with some junk data.


Users not loading.

django_private_chat2 version:
Django version:3.2.7
Python version:3.9.2
Operating System: macOS Monterey

Description
Websocket connections sometimes connect but often doesn't. I Keep getting
WebSocket HANDSHAKING /chat_ws [<IP_ADDRESS>:50071]
WebSocket REJECT /chat_ws [<IP_ADDRESS>:50071]
WebSocket DISCONNECT /chat_ws [<IP_ADDRESS>:50071]
I have been able to set up the project. Have setup my chat index and user list in a Django chat app.
frontend code from example are in an app called chat of my django project.
I set up urls like this:
path('apps/chat/', include("chat.urls") ,name="chat-app"),
path(r'apps/chat/', include('django_private_chat2.urls', namespace='django_private_chat2')
When I visit chat and users_list ape endpoint in browser, I get results. but console is logging not found.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

How are you even running it mate? I can't find a command to start the chat server

Hello, Including channels into the installed apps will start the Django channels server. and you need to add the chat app into your installed apps, and add the relevant paths to the urls file and relevant settings.

On 29 Jun 2022, at 2:32 AM, Sumanshu Arora @.***> wrote:
How are you even running it mate? I can't find a command to start the chat server
—
Reply to this email directly, view it on GitHub https://github.com/Bearle/django_private_chat2/issues/35#issuecomment-1169467139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHINJKUG5I6BLFVTSZS2RDVROYSPANCNFSM5Z3CW7JQ.
You are receiving this because you authored the thread.


Ignore IRCluster if invalid port specified

Fix #1631

Landing this -- the XFPRedirect failure is due to an external service dying, and we've now removed the dependency.
@containscafeine, we should talk about the "default errors" usage here -- I kinda tossed that in a little hackishly in the first place, and it's now at the point where we should probably make sure it makes a kind of sense.


feat: track seeded files in migration table

What kind of change does this PR introduce?
feature
What is the new behavior?
Track seed files in a history table.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

22 of 37 (59.46%)  changed or added relevant lines in 5 files are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 60.013%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/db/reset/reset.go
0
1
0.0%

internal/migration/apply/apply.go
5
7
71.43%

internal/db/push/push.go
11
23
47.83%

Files with Coverage Reduction
New Missed Lines
%

internal/db/push/push.go
1
79.71%

internal/storage/rm/rm.go
2
89.53%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.02%

Covered Lines:
6458

Relevant Lines:
10761

💛  - Coveralls


docs: Add links to NeonDappkit and WcSdk on NeonJs README.md

Task linked: CU-86a1c01ua Add links to NeonDappkit and WcSdk on NeonJs readme


(maint) travis: switch to xenial and adoptopenjdk

Might want to look at the individual commits -- and for at least "ext/bin/flavor-for-spec: add and use in prep-os-essentials-for", might want "ignore whitespace".  I did that one separately to get things in the right places to (hopefully) make the subsequent commits easier to follow.

Oh, and let's keep the merge commit for this one when we merge it.

CLA signed by all contributors.


Not working in Firefox 35

Firefox 35 does not implement object-fit, thus the importance of supporting in with your object-fit polyfill.
Firefox console reports

SecurityError: The operation is insecure. polyfill.object-fit.js:109

Line 109 is:
// get the style rules of this sheet
return toArray(stylesheet.cssRules);

You’re probably including a CSS from another host which browsers do not allow (unless you have a proper CSP and CORS in place). You can also add disableCrossDomain to the initialization of the polyfill to avoid the external CSS being parsed.


Fix strings in settings pages

Dev Home version
0.5
Windows build number
No response
Other software
No response
Steps to reproduce the bug
We should take a pass through the strings in our Figma to make sure they align with the build for the settings pages.
Expected result
No response
Actual result
Let's just make sure all the strings match up. :)
Included System Information
No response
Included Extensions Information
No response


Update 1.21.11 changelog

Add #30394 into changelog

It seems that newly added changes have no original PR id


WhiteList -> Approved List Language Update

Impacted Docs
All impacted EasyCLA documents need to be reviewed and updated.
Tasks

[x] Update all documentation text that includes "Whitelist" - replace to say "Approved List"
[ ] Replace all documentation screen captures that includes "Whitelist" - depends on #892

Verbiage

Replace "Whitelist" with "Approved List"

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Documentation changes submitted as a Pull Request
Pull Request Reviewed and Approved by Product Owner
Documentation changes merged to 'master' branch

Images
Attach any images or screenshots related to this documentation update.

Replaced Whitelist with Approved List in the doc including all the relevant screen grabs except one image, which is the Contact window that is displayed when a corporate contributor tries to contribute to a gerrit project, but is not authorized by the company.
@dealako @heather, Could you please help me getting the screen grab as I am not able to do it at my end.
Here is the doc link for review: https://docs.linuxfoundation.org/docs/communitybridge/communitybridge-easycla

Thanks @WillsonHG . I have updated the image. Here is the doc link: https://docs.linuxfoundation.org/docs/communitybridge/easycla/getting-started

Thank you @dibyaranjanlf  I'll mark this as resolved.


fix modal issue by updating ng2-bootstrap to 1.1.16-11

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
Temporary fix https://github.com/akveo/ng2-admin/pull/493

What is the new behavior (if this is a feature change)?
Newer ng2-bootstrap version does not have this issue.

Other information:
Newer ng2-bootstrap version also provides more components like popover etc.

@ESadouski could you please take a look tomorrow so we can merge this?

Replace import of "ng2-bootstrap/ng2-bootstrap" with "ng2-bootstrap" as advised:
https://github.com/valor-software/ng2-bootstrap/blob/v1.1.16-11/src/ng2-bootstrap.ts#L1

Everything looks good. We can merge it.

Update ng2-bootstrap to 1.2.2.

Update ng2-bootstrap to 1.3.0.

@AlbertXingZhang thanks. Pull request looks good and we can merge it.


Login: motd display'd multiple times

On login into chroot (kali) the motd will be spammed 3 times. If you create an .hushlogin the motd will be displayd 2 times.

Fixed with commit (https://github.com/iptoux/kaliton/commit/3a9769e4c6cf6df1a7ce39b62507f32a413ba945)


How to control style of grid lines in this edition of Anycad?

What is the API for controlling a grid look? I mean, number of cells, style of lines ? Related to #9

You can use PlanarGridWidget to set the cells and material of the grid


Analyze code using SonarCloud

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


GEOMESA-1983 Shade deps per datastore

should we shade bigtable too?

i think i shaded it as hbase...but maybe it should be separate?

oh didn't notice - i guess let's make it bigtable to be consistent

cool i switched it over


Filtered items do not receive any clicks.

The filter logic in _onTapStart is overzealous in that it will prevent clicks entirely. For example, if the item to be dragged has an input inside of it, the input becomes impossible to focus with the mouse. The problem appears to be resolved when I comment out evt.preventDefault() in the preventOnFilter && evt.preventDefault(); lines. I'm not submitting a pull request because I'm not sure if such a change would introduce other bugs.

@jekor I had the same issue. But this is a duplicate of https://github.com/RubaXa/Sortable/issues/972, and the solution given there at the end using preventOnFilter: false solved it for me.


Add Traditional Chinese (zh_tw.json)

Add Traditional Chinese localization

感谢，将会在Crowdin上增加繁体中文 https://crowdin.com/project/immersive-portals-mod


Default format in ConvertFromUtc should be "yyyy-MM-ddTHH:mm:ss.fffffffK"

In this page: https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#convertFromUtc
[Enter feedback here]

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

ID: 03aa9e88-7fa0-56ab-f794-58f0c37b6d7a
Version Independent ID: 25c5ef5c-6ba4-f5ff-f94b-8f2818ec2feb
Content: Reference guide for functions in expressions - Azure Logic Apps
Content Source: articles/logic-apps/workflow-definition-language-functions-reference.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@cosmicshuai Thank you for the question. We will review and get back to you.

@cosmicshuai The default format is yyyy-MM-ddTHH:mm:ss:fffffffK. For example : if I do - convertFromUtc(utcNow(),'India Standard Time','o' , I get an output : 2020-11-26T22:16:26.0178741
Could you please elaborate on this?

I think it is a dot before the first "f" character. Just a typo here.

@cosmicshuai Okay. If I understand correctly, in the document ":ss:f" should be changed to ":ss.f". is that correct?

Right.

@cosmicshuai  Thanks for reporting this item! I have updated the doc and it will be published soon. We appreciate the feedback!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Investigate Jill bug report about Excel download

From Uri:

Hi Alex – Just got an email from Kenya and another admin that the Download for Excel button in the dashboard just brings up an empty window….just tried it.  Wondering if there’s a broken link.

I'm thinking this is a Chrome / IE feature compatibility issue, because Excel download is working fine for me in Chrome but seems to throw an error when I try to simulate it in IE using Browserstack.

Currently reading

http://stackoverflow.com/questions/16078544/export-to-csv-using-jquery-and-html

http://stackoverflow.com/questions/7405345/data-uri-scheme-and-internet-explorer-9-errors

Addressed by https://github.com/studentinsights/studentinsights/pull/713 and follow ons.


Template with dom-if chokes on HTML comments

Having a HTML comment inside a dom-if leads to an attempt to set "display" on undefined resulting in an uncaught exception at line 3672 of polymer.html (v1.0.5).

Closing as duplicate of https://github.com/Polymer/polymer/issues/1786


Logger warnings and order of optimizer.step() and lr_scheduler.step()

Hello,
when I run the following command:
python main.py --mode distill_basic --dataset MNIST --arch LeNet --distill_steps 1 --train_nets_type known_init --n_nets 1 --test_nets_type same_as_train

I get the following warnings:
/home/claudio.greco/dataset-distillation/base_options.py:423: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please rea
d https://msg.pyyaml.org/load for full details.
  old_yaml = yaml.load(f)  # this is a dict
2019-09-12 16:18:31 [WARNING]  ./results/distill_basic/MNIST/arch(LeNet,xavier,1.0)_distillLR0.02_E(400,40,0.5)_lr0.01_B1x1x3_train(known_init)/opt.yaml already exists, moved t
o ./results/distill_basic/MNIST/arch(LeNet,xavier,1.0)_distillLR0.02_E(400,40,0.5)_lr0.01_B1x1x3_train(known_init)/old_opts/opt_2019_09_12__16_13_40.yaml
2019-09-12 16:18:31 [INFO ]  train dataset size: 60000
2019-09-12 16:18:31 [INFO ]  test dataset size:  10000
2019-09-12 16:18:31 [INFO ]  datasets built!
2019-09-12 16:18:31 [INFO ]  mode: distill_basic, phase: train
2019-09-12 16:18:31 [INFO ]  Build 1 LeNet network(s) with [xavier(1.0)] init
^[[A2019-09-12 16:18:37 [INFO ]  Train 1 steps iterated for 3 epochs
/home/claudio.greco/dataset-distillation/.venv/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:82: UserWarning: Detected call of `lr_scheduler.step()` before `
optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`.  Failure to do this will result in P
yTorch skipping the first value of the learning rate schedule.See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
  "https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning)
2019-09-12 16:18:37 [INFO ]  Results saved to ./results/distill_basic/MNIST/arch(LeNet,xavier,1.0)_distillLR0.02_E(400,40,0.5)_lr0.01_B1x1x3_train(known_init)/checkpoints/epoch
0000/results.pth
2019-09-12 16:18:37 [INFO ]
2019-09-12 16:18:37 [INFO ]  Begin of epoch 0 :
Begin of epoch 0 (1 same_as_train nets): 100%|####################################################################################################| 2/2 [00:00<00:00,  3.36it/s]
--- Logging error ---
Traceback (most recent call last):
  File "/home/claudio.greco/dataset-distillation/utils/logging.py", line 15, in emit
    tqdm.tqdm.write(msg)
  File "/home/claudio.greco/dataset-distillation/.venv/lib/python3.6/site-packages/tqdm/_tqdm.py", line 555, in write
    fp.write(s)
UnicodeEncodeError: 'ascii' codec can't encode character '\xb1' in position 262: ordinal not in range(128)
Call stack:
  File "main.py", line 402, in <module>
    main(options.get_state())
  File "main.py", line 130, in main
    steps = train_distilled_image.distill(state, state.models)
  File "/home/claudio.greco/dataset-distillation/train_distilled_image.py", line 296, in distill
    return Trainer(state, models).train()
  File "/home/claudio.greco/dataset-distillation/train_distilled_image.py", line 228, in train
    evaluate_steps(state, steps, 'Begin of epoch {}'.format(epoch))
  File "/home/claudio.greco/dataset-distillation/basics.py", line 300, in evaluate_steps
    logging.info(format_stepwise_results(state, steps, result_title, res))
  File "/usr/lib64/python3.6/logging/__init__.py", line 1902, in info
    root.info(msg, *args, **kwargs)
  File "/usr/lib64/python3.6/logging/__init__.py", line 1308, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib64/python3.6/logging/__init__.py", line 1444, in _log
    self.handle(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 1454, in handle
    self.callHandlers(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 1516, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python3.6/logging/__init__.py", line 865, in handle
    self.emit(record)
  File "/home/claudio.greco/dataset-distillation/utils/logging.py", line 20, in emit
    self.handleError(record)
Message: 'Begin of epoch 0  (1 same_as_train nets) test results:\n\t          STEP                   ACCURACY                   LOSS          \n\t            before steps           7.9102 \xb1  nan%            2.4235 \xb1  nan\n\t     step  3 (lr=0.0200)           6.7383 \xb1  nan%            2.3925 \xb1  nan'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.6/logging/__init__.py", line 996, in emit
    stream.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode character '\xb1' in position 262: ordinal not in range(128)
Call stack:
  File "main.py", line 402, in <module>
    main(options.get_state())
  File "main.py", line 130, in main
    steps = train_distilled_image.distill(state, state.models)
  File "/home/claudio.greco/dataset-distillation/train_distilled_image.py", line 296, in distill
    return Trainer(state, models).train()
  File "/home/claudio.greco/dataset-distillation/train_distilled_image.py", line 228, in train
    evaluate_steps(state, steps, 'Begin of epoch {}'.format(epoch))
  File "/home/claudio.greco/dataset-distillation/basics.py", line 300, in evaluate_steps
    logging.info(format_stepwise_results(state, steps, result_title, res))
Message: 'Begin of epoch 0  (1 same_as_train nets) test results:\n\t          STEP                   ACCURACY                   LOSS          \n\t            before steps           7.9102 \xb1  nan%            2.4235 \xb1  nan\n\t     step  3 (lr=0.0200)           6.7383 \xb1  nan%            2.3925 \xb1  nan'
Arguments: ()
2019-09-12 16:18:38 [INFO ]
2019-09-12 16:18:38 [INFO ]  Epoch:    0 [      0/  60000 ( 0%)] Loss: 2.3755 Data Time: 0.44s Train Time: 0.07s
2019-09-12 16:18:40 [INFO ]  Epoch:    1 [      0/  60000 ( 0%)] Loss: 2.2400 Data Time: 0.12s Train Time: 0.03s
2019-09-12 16:18:41 [INFO ]  Epoch:    2 [      0/  60000 ( 0%)] Loss: 1.7438 Data Time: 0.13s Train Time: 0.03s

The error on logging makes me impossible to use this script, because I cannot see accuracy, loss, etc. I also don't know if that error is related to the warning on the order of calling `optimizer.step()` and `lr_scheduler.step()`. (Maybe nan values are generated which cannot be properly encoded by the logger?)

Could you please help me to solve this issue? Could it be related to the versions of Python and PyTorch I am using? I am using Python 3.6.8 and PyTorch 1.2.0. What versions did you use exactly?
Thank you very much in advance.
Best,
Claudio

Hi, I was unable to reproduce the logginfg issue until very recently! For a workaround, you may change
https://github.com/SsnL/dataset-distillation/blob/07fd49bbc5c0382b9deedc8699ddae0ffa993dd7/utils/__init__.py#L8
to an ascii compatible string!

For the LR scheduler warning, if you are using a new PyTorch version, please move https://github.com/SsnL/dataset-distillation/blob/07fd49bbc5c0382b9deedc8699ddae0ffa993dd7/train_distilled_image.py#L214-L215
to
https://github.com/SsnL/dataset-distillation/blob/07fd49bbc5c0382b9deedc8699ddae0ffa993dd7/train_distilled_image.py#L266

Feel free to reopen if you have further questions!


Rename 'family' to something else.

Describe the desired behavior
Perhaps we call family something else in this context, like set or library.
Describe the current behavior
When specifying an icon using the object syntax, we ask users to provide a family and a name.
Is this request related to a current issue?
No
Additional Context

We use family elsewhere to talk about categories of icons within an icon set (e.g. the status family or agriculture family or devices family), which might be confusing.

Look into what other libraries are doing (e.g., react-native-elements).

Or do we want to update the icon metadata to use the name category or something else?

Closing this since we launched the library with 'family'


Fix issue with Keystone clock being off

Currently for notes/inquiries entered between 8-12pm EST it stamps date as following day.
Decided not to address at this time but if presents an issue, possible solutions noted.

The root cause of this issue is that the dates are being saved as UTC.  UTC is 4 hours ahead of EST, so any date saved after 8PM EST will technically be a day ahead when converted to UTC.  Typically this is not an issue because the front end will convert the date back to the local time zone of the user's browser.  However, Keystone displays UTC dates as UTC and doesn't convert them to EST.
There are two potential solutions:

Make a change to the core of Keystone to address this issue.
Add a secondary field to the model to display the date in the local time zone.  The field would be automatically updated via save hooks, and would also be read-only.


Correct the wetox FW fork description

Exactly what it says in the title. The wetox fork is not a hackathon compilation (not anymore) and our main branches are not outdated

Included in Update 20.

Reopening so I can mark this as merged.


The results of the training model did not meet expectations？

Thanks for your code fisrt, it help so much.
According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model.
In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one.
The training code I run is as follows:
python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log
But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem.
Thank you.

Thanks for your code fisrt, it help so much.
According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model.
In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one.
The training code I run is as follows:
python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log
But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem.
Thank you.

GPU number is a random factor, which I believe there is no large gap between different numbers (maybe 0.5 points).
0.62 is not good but also not so bad. I get 0.635 - 0.645 generally with default parameters (the default parameters are randomly set).
I found you did not tuning hyper-parameter on your test data. Please do it according to readme.md.
600 - 1000 group parameters can show a favorable result. However, tuning with one card may take a long time.
You can write a script to extract information from tuning-log to find best hypre-parameter. I'll also upload a script these days.
Any other questions or disscussion, you can email<EMAIL_ADDRESS>

Thank you for your answer. I'll try the param_Tune operation.

Thank you for your answer. I'll try the param_Tune operation.

You'r welcome. I'll update a better pipeline and tuning toolkit recently. The tuning code here is for general videos, you can modify it to tuning on VOT or OTB (BTW, VOT takes less time). Or you can just wait for about three days. :)
Any other question? If not, the issue will be closed later.

That's great. I'll wait for your latest version. I don't have any problems for the time being.

That's great. I'll wait for your latest version. I don't have any problems for the time being.

Okay, the issue will be closed. Any futher talk, please email me.

It's great to know that you reproduced our results. @haizhongli
Thanks @JudasDie for your patient work and helps!

Thanks for your code fisrt, it help so much.
According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model.
In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one.
The training code I run is as follows:
python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log
But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem.
Thank you.

the results you trained is on otb2015?

The result I said was at OTB2013. On the VID, my training results are really not very good, but with GOT10K training, it is almost the same as the results shown by the author, quite stable.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年7月5日(星期五) 上午10:28
收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20)
Thanks for your code fisrt, it help so much.
According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model.
In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one.
The training code I run is as follows:
python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log
But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem.
Thank you.
the results you trained is on otb2015?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The result I said was at OTB2013. On the VID, my training results are really not very good, but with GOT10K training, it is almost the same as the results shown by the author, quite stable.
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年7月5日(星期五) 上午10:28 收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20) Thanks for your code fisrt, it help so much. According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model. In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one. The training code I run is as follows: python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem. Thank you. the results you trained is on otb2015? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

I also use the GOT-10K to train the SiamFCRes22 but I only got the 0.646 on OTB2013 (best at epoch 39 )do you change something or  tune the hyperparameter (use tune_tpe.py) , also the got-10k has 4 error-marked video have you corrected it .I also train the SiamFCRes22W(on GOT10K) but I got the 0.659 on otb 2013 (best at epoch 43)which is lower than author's SiamFCRes22W,do you have try it?

haven't changed anything, and I'm using the previous version, which is the simultaneous training version of all the parameters in features. The best one is 0.658 on OTB2013, and the corresponding epoch number is checkpoint_39. The difference in our results may be that the configuration of the computer GPU, numpy or CV2 versions are inconsistent. SiamFC is very sensitive to parameters, but the results are good now. You can just fine-tune it again.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年7月6日(星期六) 上午9:47
收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20)
The result I said was at OTB2013. On the VID, my training results are really not very good, but with GOT10K training, it is almost the same as the results shown by the author, quite stable.
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年7月5日(星期五) 上午10:28 收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20) Thanks for your code fisrt, it help so much. According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model. In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one. The training code I run is as follows: python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem. Thank you. the results you trained is on otb2015? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I also use the GOT-10K to train the SiamFCRes22 but I only got the 0.646 on OTB2013 (best at epoch 39 )do you change something or  tune the hyperparameter (use tune_tpe.py) , also the got-10k has 4 error-marked video have you corrected it .I also train the SiamFCRes22W(on GOT10K) but I got the 0.659 on otb 2013 (best at epoch 43)which is lower than author's SiamFCRes22W,do you have try it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

haven't changed anything, and I'm using the previous version, which is the simultaneous training version of all the parameters in features. The best one is 0.658 on OTB2013, and the corresponding epoch number is checkpoint_39. The difference in our results may be that the configuration of the computer GPU, numpy or CV2 versions are inconsistent. SiamFC is very sensitive to parameters, but the results are good now. You can just fine-tune it again.
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年7月6日(星期六) 上午9:47 收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20) The result I said was at OTB2013. On the VID, my training results are really not very good, but with GOT10K training, it is almost the same as the results shown by the author, quite stable. … ------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年7月5日(星期五) 上午10:28 收件人<EMAIL_ADDRESS>抄送: "﹎╁划濄∑淚"594387862<EMAIL_ADDRESS>主题: Re: [researchmm/SiamDW] The results of the training model did not meet expectations？ (#20) Thanks for your code fisrt, it help so much. According to the configuration process you said, I successfully ran the training code of SiamFCRes22 network with CIResNet22_PRETRAIN.model as pretrained model. In the SamFC. yaml file, the only thing I changed was the path of data. And because of the limited conditions, the number of my GPU is one. The training code I run is as follows: python ./siamese_tracking/train_siamfc.py --cfg experiments/train/SiamFC.yaml --gpus 0,1,2,3 --workers 32 2>&1 | tee logs/siamfc_train.log But the best result of training 50 epochs is only about 0.62. I don't know what the problem is. I would like to ask if there is any inconsistency or neglect that caused this problem. Thank you. the results you trained is on otb2015? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread. I also use the GOT-10K to train the SiamFCRes22 but I only got the 0.646 on OTB2013 (best at epoch 39 )do you change something or tune the hyperparameter (use tune_tpe.py) , also the got-10k has 4 error-marked video have you corrected it .I also train the SiamFCRes22W(on GOT10K) but I got the 0.659 on otb 2013 (best at epoch 43)which is lower than author's SiamFCRes22W,do you have try it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

thanks!


Conflicting target EMCA JavaScript versions

This is an issue about documentation.
The advice from https://github.com/google/clasp/blob/master/docs/typescript.md says:

If your Apps Script project is configured to use the V8 Engine, you should set "target": "ES2019" in your tsconfig.json.

This conflict with https://partnerissuetracker.corp.google.com/u/0/issues/194120497#comment6:

Apps Script V8 runtime supports EMCA2015 standards which mean static class properties are not supported at the moment. There are two workarounds available:

My recent tests with Google Apps Script show that static class properties are not currently supported by the Apps Script V8 runtime.
This project's documentation should not recommend the ES2019 target if this is not fully supported in the runtime.

I would provide a PR, but I don't know what authoritative source to use for the supported JavaScript version

Minor typo fix for better searchability: EMCA -> ECMA. Recommend changing this issue title. :-)

Thanks @glebec !


Create stdbool flag

Pull request
Issue tracker
Fixes will automatically close the related issue
Fixes #
Feature
Use a flag STDBOOL to gate type definition for Bool. The current def to int causes compiler confusion in interoperation with Swift.
Ideally, Bool should use standard C bool instead of int. The use of a flag gate is for compatibility consideration.
Feel free to change the design if this is not the best practice
Unit test

[ ] Done

Manual test

[x] Done

Code Review

Unit and manual test pass
GitHub Action CI pass
At least one contributor reviews and votes
Can be merged clean without conflicts
PR will be merged by rebase upstream base

Additional Info
squirrel can be successfully setup to export this flag
https://github.com/LEOYoon-Tsaw/squirrel/commit/39a51fceca01d09030d5e8445421542e3576bc6e

Follow-up ideas:

new APIs use bool;
rename new APIs so they are never confused with the old APIs that use int for boolean;
guard the new APIs with a build flag;
the release build of the library on macOS provides both old and new APIs;
to use the new APIs, client code includes a separate header file with deferent macro definition for Bool.

Will be addressed by #877


Extract Pebble's native metrics

https://github.com/cockroachdb/pebble/blob/master/metrics.go

Do you have some in mind that should be focused on?

Ideally we can ingest them all into prometheus. A first PR that sets up the scaffolding could start with something simple like metrics.*Metrics.DiskSpaceUsage(). A few follow-ups could add everything on the *Metrics struct and FsyncLatencyBuckets.
May be useful: https://github.com/cockroachdb/pebble/blob/be1586403c9bdf0c6a97074f2762758a66f68806/db.go#L1905


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/49547

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52192

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53653

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53657

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/60039


hyperhdr: init at <IP_ADDRESS>

Description of changes
Fork of Hyperion-NG with Pipewire support.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This works perfectly for me, including the pipewire screen capture via Wayland. If this could be reviewed/merged, I'd greatly appreciate it. HyperHDR <IP_ADDRESS> is also still the latest version.

Have fun!


fix: fallback to SF images when custom attribute array is empty

Before this PR, if the imgix custom attribute in the products data was an empty array (and not just simply an empty string), the model would not return any images. Now the model will fallback to the SF images if no custom attribute images exist.

Current dependencies on/for this PR:

next

PR #277   (this PR)

This comment was auto-generated by Graphite.


Refactor servers http

Information

Type
Breaking change

Feature
No

:tada: This PR is included in version 7.54.0 :tada:
The release is available on:

v7.54.0
GitHub release

Your semantic-release bot :package::rocket:


Add Option for Sidecars

Sidecars are valuable for a multitude of reasons - log forwarding, metric exporting, backup jobs. Because of this they can also have many ways of being configured.
So for our first foray into sidecars with helm, it would be nice to just have the option available and nonlimiting.
on workload.tpl spec.template.spec.containers we have the single product container defined, perhaps here we can add an if $v.sidecar.
corresponding values yaml could look like:
pingdirectory:
  enabled: false
  name: pingdirectory
  sidecars: []

filled in as:
pingdirectory:
  enabled: true
  name: pingdirectory
  sidecars:
      - name: statsd-exporter
        image: prom/statsd-exporter:v0.14.1
        args:
        - "--statsd.mapping-config=/tmp/mapping/statsd-mapping.yml"
        - "--statsd.listen-udp=:8125"
        - "--web.listen-address=:9102"
        ports:
          - containerPort: 9102
            protocol: TCP
          - containerPort: 8125
            protocol: UDP
        volumeMounts:
          - mountPath: /tmp/mapping/
            name: statsd-mapping
            readOnly: false
      - env:
        - name: HOSTNAME
          valueFrom:
            fieldRef:
              fieldPath: spec.nodeName
        image: docker.io/library/telegraf:1.9.5-alpine
        name: ping-telegraf
        ports:
        - containerPort: 9273
          name: telegraf
        resources:
          limits:
            cpu: 15m
            memory: 50M
          requests:
            cpu: 15m
            memory: 50M
        volumeMounts:
        - mountPath: /etc/telegraf
          name: telegraf-conf

Yes, this does mean the user would have to be aware enough to add ports onto the $v.services section.

note, I don't think it needs to go in the workload or containers section. It should be lined up like above for flexibility.


validate JSON types/subtypes

as our default is code.custom, which is not yet part of the spec, we get a lot of warnings with this.
Related issues
Closes #1305

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-09-27T09:25:46.347+0000

Duration: 30 min 29 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
5011

Skipped
3337

Total
8348

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test linters : Run the Python linters only.

/test full : Run the full matrix of tests.

/test benchmark : Run the APM Agent Python benchmarks tests.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

:globe_with_meridians: Coverage report

Name
Metrics % (covered/total)
Diff

Packages
100.0% (66/66)
:green_heart:

Files
100.0% (226/226)
:green_heart:

Classes
100.0% (226/226)
:green_heart:

Lines
89.858% (17632/19622)
:+1: 0.009

Conditionals
77.127% (3237/4197)
:-1: -0.023

Running
 grep "UserWarning:" log.txt | sed -n -e 's/^.*UserWarning: //p' | sort | uniq

on the pipeline log results in this list of span types/subtypes that fail the spec:
"app.internal" not marked as used by Python
"db.cassandra" not marked as used by Python
"db.dynamodb" not marked as used by Python
"db.elasticsearch" not marked as used by Python
"db.mongodb" not marked as used by Python
"db.mysql" not marked as used by Python
"db.postgresql" not marked as used by Python
"db.redis" not marked as used by Python
"db.sqlite" not marked as used by Python
"external.http" not marked as used by Python
"messaging.kafka" not marked as used by Python
"messaging.sns" not marked as used by Python
"messaging.sqs" not marked as used by Python
"storage.s3" not marked as used by Python
Span type "a" not found in JSON spec
Span type "aws" not found in JSON spec
Span type "cache" not found in JSON spec
Span type "code" not found in JSON spec
Span type "code.custom" not found in JSON spec
Span type "db.sql" not found in JSON spec
Span type "foo" not found in JSON spec
Span type "task" not found in JSON spec
Span type "test" not found in JSON spec
Span type "test_type" not found in JSON spec
Span type "type" not found in JSON spec
Span type "unknown" not found in JSON spec
Span type "x" not found in JSON spec
Span type "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…" not found in JSON spec
Span type "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx�" not found in JSON spec
Span type "z" not found in JSON spec
Subtype "None" not allowed for span type "app"
Subtype "None" not allowed for span type "custom"
Subtype "graphql" not allowed for span type "external"
Subtype "postgres" not allowed for span type "db"
Subtype "pyodbc" not allowed for span type "db"

(the "not marked as used by Python" warnings are not really failures)

To be clear, this is validating but not failing? Should we fix up the test cases and fail on not found in JSON spec?


Moving llama to f16.

Could you revert all the ? -> unwrap please, this makes the diff hard to read. Also on the first two lines it seems that you've tweaked some random characters?


Wifi 7159

Test Run Links on this Branch
Git-hub Interop Performance Workflow run Link
Git-hub Interop Sanity run Link


Reduce trait impl duplication and rename DoubleBuff to DoubleBuf

Partially addresses trait impl duplication mentioned in comment in #113. The duplicate_item macro from the duplicate crate should be sufficient to address the rest of the duplication. I can add that to this PR if desired!

@ejmahler I believe this is good to go for review. Now that there are only two duplicate impls for each of AvxArray, SseArray, and NeonArray, I think adding duplicate as a dependency is unnecessary. However, it is quite straightforward to eliminate this duplication using that crate if you believe it makes sense to do so.

Looking great. I'm curious what happened with the prime butterfly files, it's like rustfmt only now decided to do anything about them.

@ejmahler I've reverted the auto-formatting changes for both prime butterflies files. It turns out that rust nightly is required for the ignore config in rustfmt.toml to work, and I've been using stable for all my development. It would be good to update the contribution section on the readme to reflect this (along with the MSRV increase)!


Dummy Data Inputter

Overview: Allows the input of dummy data to speed up demos and exploratory tests.
JIRA Ticket

Thanks for the feedback Florian, that feedback sounds awesome. Maybe we could turn it on if the devTools localStorage key is found?

Sounds good to me! @nickjhill14

@FlorianRappl what are your thoughts on something like this?


IIS Bindings problems with multiple host names and certificates

Dear team, first thank you for making life with let's encrypt much easier!
Now for the problems:
(1)
Initially my IIS configuration was
HTTP "" 80 *
HTTPS "computername" 433 * [bound to self signed computer certificate with]
HTTPS "public.dns.name" 443 * [bound to external authority certificate]
As already mentioned in issues #303 & #314 I first received the "Scanning IIS Site Bindings for Hosts No IIS bindings with host names were found ..." error. Based on the information there I reconfigured the IIS bindings to:
HTTP "computername" 80 *
HTTP "public.dns.name" 80 *
HTTPS "computername" 433 *
HTTPS "public.dns.name" 443 *
And this helped the script enumerating the two host names. BUT: can the script be modified to either not look at HTTP bindings, or - poor man solution - first pop-up a useful information about this mishap?
(2)
Even after that Let's Encrypt certificate could not be bound to the public host name. As described in issue 31, the script terminated with the error:
Committing binding changes to IIS
System.ComponentModel.Win32Exception (0x80004005): A specified logon session does not exist.
Now there it says, that the script cannot handle multiple HTTPS binds. Really? I see that the current external certificate was detached from the public site, whereas the self signed certificate kept correctly bound to the local computer name site. The issue #31 was closed with the release of 1.8, stating that it should fix the root error. I am using version 1.9.1
Thanks for your help in advance!

I think this is fixed in a combination of #371 and #263


direction does not accept Number States

The Direction parameter only accepts String values,  perhaps its meaningful that a parameter that waits for a Number a Number accepts.
im struggling there for hours, perhaps you can integrate this?

Why do you think so? https://github.com/AlexxIT/WebRTC/issues/217#issue-1082754881


[Q] How can I get current sweep run name?

I want to store best models locally and use the current sweep run name (or id) as part of the model's name.
Is there anything like wandb.sweep.name to get the name of the current run (configuration)?

I found it
Just in case someone will be looking for it:
import wandb

wandb.init()
run_name = wandb.run.name

https://docs.wandb.ai/guides/track/launch


before_render_template signal

fix #1370

Can you add a closes #1370 somewhere in the commit message so it closes the related issue #1370 once it's merged?

What about checking if there's a not-None return value from that signal? If there is exactly one, you could return that instead of rendering the original template. This would allow one to override the template rendering process if necessary. Could be useful in unit tests if all you care about is the context but don't want the actual template to be rendered for some reason.

Can you add a closes #1370 somewhere in the commit message so it closes the related issue #1370 once it's merged?

I added it to the PR body, I hope that helps. Doesn't really matter though.

Hi, all!
Adrian, thank you for your review!

What about checking if there's a not-None return value from that signal? If there is exactly one, you could return that instead of rendering the original template. This would allow one to override the template rendering process if necessary. Could be useful in unit tests if all you care about is the context but don't want the actual template to be rendered for some reason.

Actually it is not so clear for me. Do you want to use this feature only for unit tests? Because I think this will look a little bit strange in the code.

It would be one case. Another use-case could be adding extra functionality in a application that supports plugins.
For example, in the project I'm working on we have a plugin system where we let plugins override templates in some cases. While I'd mostly use the before_render_template signal to inject extra data in the context when overriding a template, I could imagine cases where it'd make more sense to completely intercept the rendering of a certain template.

You can use the context manager to connect the signal temporarily

It seems that test env uses blinker v 1.0. This version doesn't have connected_to method. I think that old approach in test is quite ok.

I would merge the "fix" commits into the related commit (i.e. do an interactive git rebase, and mark those commits as "fixup").

Yes, I agree, thx!
It's done.

@ThiefMaster @alexpantyukhin What's up with this PR?

I guess the simple way of only sending the signal and not caring about the return value is the most straightforward way... the extra functionality I had initially suggested probably fits much better in a separate PR (that moves _render into the Flask class to allow overriding it if necessary).

I agree with @ThiefMaster .

Ok, then this implementation seems fine to me. If you agree @alexanderpantyukhin please add a changelog and proper docs for this signal. Thanks!

It seems that only person who has 'write access' can resolve conflicts in merge.

Thanks @alexanderpantyukhin!
merge conflicts can be resolved by rebasing your branch against master.

The history of that PR could have been cleaned up a bit :/ it's rather messy with all the intermediate "fix ..." commits...


Unable to load weights from pytorch checkpoint file.

Describe the question

A clear and concise description of what the question is.
运行lm的时候出现的问题.
在git clone https://huggingface.co/hfl/chinese-bert-wwm的文件放到了pretrained文件夹下面.

# 当使用预训练语言模型时，该预训练的模型存放位置
# lm_name = 'bert-base-chinese'  # download usage
lm_file: '/data/my_user_name/deepke/pretrained/chinese-bert-wwm'
# lm_file: '/home/yhy/transformers/bert-base-chinese'

请问bert模型应该下载哪个文件, 并且config文件如何配置呢.
Environment (please complete the following information):

OS: Ubuntu
Python Version: py36
torch: 1.4

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Just something wrong with downloading the pretrained files, remember to use git-lfs.


[Consensus] Introduce a RoundData structure

Summary:
This change is a noop: it introduces a new structure RoundData, which keeps the round and is attached to the vote message.
The RoundData is going to be used for forming a TimeoutCertificate in the followup commits.
Testing:
Existing unit test coverage
Issues:
ref #1048

Lol, never mind, as @zekun000 said round signature would be enough :)


[CT-2627] [Bug] --warn-error-options doesn't support configuration of turning test warnings into failures

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
I wrote about using the warn-error-options functionality on LI, and @epapineau asked to work with me to implement it in the internal analytics project.
After we got it working, we realised we might have to exclude tests with a warn severity as well as "nothing to do", and went poking around in types.py where we found LogTestResult (we assume that's the right one!)
Because it extends DynamicLevel instead of WarnLevel, nothing happened when we included it in the dictionary of include/excludes. However, dbt build --warn-error would create an error from a warn-level test (or freshness check etc).
dbt test --warn-error-options {"include": "all"} and dbt test --warn-error should be identical, right?
This happens to be convenient bug for us, because we didn't want to include them anyway and were trying to add them to the exclude-list, but a bug nonetheless.
Expected Behavior
dbt test --warn-error-options {"include": "all"} and dbt test --warn-error to be identical
Steps To Reproduce
Make a singular test:
{{ config(warn_if = '>0', error_if ="> 10") }}

select 1 as issue

Run dbt --warn-error-options '{"include":"all"}' test -s single_line
and dbt --warn-error test -s single_line
Relevant log output
(dbt-prod) joel@Joel-Labes joel-sandbox % dbt --warn-error-options '{"include":"all"}' test -s single_line
...
02:00:19  Finished running 1 test in 0 hours 0 minutes and 5.12 seconds (5.12s).
02:00:19
02:00:19  Completed with 1 warning:
02:00:19
02:00:19  Warning in test single_line (tests/single_line.sql)
02:00:19  Got 1 result, configured to warn if >0
02:00:19
02:00:19  Done. PASS=0 WARN=1 ERROR=0 SKIP=0 TOTAL=1

(dbt-prod) joel@Joel-Labes joel-sandbox % dbt --warn-error test -s single_line
...
02:00:40  Finished running 1 test in 0 hours 0 minutes and 5.06 seconds (5.06s).
02:00:40
02:00:40  Completed with 1 error and 0 warnings:
02:00:40
02:00:40  Failure in test single_line (tests/single_line.sql)
02:00:40    Got 1 result, configured to fail if >0
02:00:40
02:00:40  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Environment
- OS: Mac
- Python: 3.8.10
- dbt: 1.5.0

Which database adapter are you using with dbt?
No response
Additional Context
No response

Thanks for discovering and raising this @joellabes and @epapineau 🤩
I was able to reproduce what you reported ✅
Root cause
I suspect it might be the difference between the logic in the test task and warn_or_error.
Potential solution
Not the most elegant solution (and completely untested!), but updating this:
https://github.com/dbt-labs/dbt-core/blob/2d237828ae2a94f39e3ce8e4680a84ac22b6ead4/core/dbt/task/test.py#L160
to this might do the trick 🤷:
        if get_flags().WARN_ERROR or get_flags().WARN_ERROR_OPTIONS.includes(type(event).__name__):

Hmm! Failures in tests and source freshness checks are a bit different from our other warnings-to-exceptions, because dbt handles "error" results gracefully, rather than interrupting its entire process.
As a way for users to configure --warn-error-options, LogTestResult does seem like the most sensible option here. To Doug's point, we might want to update line 160 to something like:
        if get_flags().WARN_ERROR or get_flags().WARN_ERROR_OPTIONS.includes("LogTestResult"):

That event has a "dynamic" log level, which is set conditionally based on the status returned by the TestStatus, using the status_to_level method. That's another (alternative? additional?) place where we should be elevating the log level from warn to error. But I'm not sure it makes sense to actually raise an exception there.
https://github.com/dbt-labs/dbt-core/blob/6f51de4cb5ed91125772ceae69acb1c22c00e834/core/dbt/events/types.py#L1551-L1563

Regardless of the answer ☝, just want to also flag for the sake of completeness that source freshness tests have the same dynamic capabilities, so I expect are covered by the same issue where --warn-error doesn't have the same result as --warn-error-options {"include": "all"}

We are not prioritizing this ourselves right now, but labeling as a good_first_issue in case a community member wants to contribute to this.
See implementation hint here.

@dbeatty10 could i take this issue?
I've been looking for issue labeled good_first_issue, it's so much fun. 🤩

That would be awesome @jx2lee 👍


Cockpit don't create a specific specs for the cloudspace

Description
Cockpit always creates a CS with Unlimited specs even if the bp describe specific properties.
The following bp has a specific properties :

g8client__dubai:
g8.url: 'du-conv-2.demo.greenitglobe.com'
g8.login: 'gig'
g8.password: 'KrOe6gE9K5nCQdmretfXnj'
g8.account: 'gig'

vdc__CHECKCAPS:
g8.client.name: 'dubai'
maxMemoryCapacity: 2
maxVDiskCapacity: 10
maxCPUCapacity: 2
maxNASCapacity: 20
maxArchiveCapacity: 20
maxNetworkOptTransfer: 5
maxNetworkPeerTransfer: 15
maxNumPublicIP: 1

Actual result

It's fixed. We couldn't reproduce that today.

@islamTaha12 @xmonader
Can we test this again and see if the issue has been fixed in the HRD please.

we don't force the cockpit to be installed on a VM anymore so we don't create the vdc either


Add StartAllBack and MSEdgeRedirect to Install

Would it be possible to add the following two applications to the install section? Both are install immediately applications for me. StartAllBack allows the configuration of the start menu and taskbar in Windows 11 to something more like Windows 7/10 (your choice). MSEdgeRedirect is a fantastic utility to automatically redirect URLs sent to Microsoft Edge to your default browser. Microsoft seems to utilize this a lot in Windows 11, especially in the widgets menu.
StartAllBack: https://www.startallback.com/
winget install startallback
MSEdgeRedirect: https://github.com/rcmaehl/MSEdgeRedirect
winget install MSEdgeRedirect

StartAllBack isn't free. Open Shell could be an alternative. I also get rid of that godawful "start" menu whenever I happen to install Windows somewhere. https://github.com/Open-Shell/Open-Shell-Menu

OpenShell is already in the tool. I'm cutting down on freemium additions and I don't like startallback.
MsEdgeRedirect automatically happens when removing edge in the commit I did last week. So no extra program is needed.