text:
HSEARCH-4893 Switch to io.github.dmlloyd.module-info:module-info plugin

https://hibernate.atlassian.net/browse/HSEARCH-4893
hey Yoann, I've started looking if we can use the plugin. Here is a converted util module. I have added a few things to the plugin, I'll add inline comments on that.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hibernate Search ITs - Java - Modules - ORM/Elasticsearch 7.0.0-SNAPSHOT:
[INFO]
[INFO] Hibernate Search ITs - Java - Modules - ORM/Elasticsearch SUCCESS [ 14.636 s]
[INFO] Hibernate Search ITs - Java - Modules - ORM/Lucene . SUCCESS [  2.976 s]
[INFO] Hibernate Search ITs - Java - Modules - ORM/Elasticsearch outbox polling SUCCESS [ 14.705 s]
[INFO] Hibernate Search ITs - Java - Modules - POJO/Elasticsearch SUCCESS [ 12.500 s]
[INFO] Hibernate Search ITs - Java - Modules - POJO/Lucene  SUCCESS [  2.091 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  47.118 s

Module tests pass.
BTW jberet module can now have a module-info since they've fixed the automatic module name.
I've also inspected a few of the generated module-infos and they are mostly looking the same.

repo: hibernate/hibernate-search


text:
🛑 kiwifarms.hk is down

In 6e9d6bd, kiwifarms.hk (https://kiwifarms.hk) was down:

HTTP code: 503
Response time: 238 ms

Resolved: kiwifarms.hk is back up in 1a28828 after 11 minutes.

source: gharchive/issue

repo: hickoryhouse/kf

license: MIT

license_type: permissive

license_source: github-api


text:
Auto versioning the code

The current manual increment of the version string is not feasible in the long run. Instead, investigate tools like bumpversion and versioneer to increment the version.

There's also https://github.com/pypa/setuptools_scm/ that lets you pull the version from the git tag. Just leaving it here as another possibility.

@StanczakDominik
Thanks! I got setuptools_scm working and PR #119 should add the auto-versioning capability.

authors: StanczakDominik mbkumar

repo: hiddenSymmetries/simsopt


text:
PCA95x5.h no include guard?

Hi,
Is there a reason for this?
Moving PCA impementation code out of main project file does cause multi include errors.
Kind regards

Thanks, I just forgot about it.

authors: gomegs hideakitai


text:
🛑 Blog (ゆきねこの備忘録) is down

In 2ccfb2a, Blog (ゆきねこの備忘録) (https://yukineko.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog (ゆきねこの備忘録) is back up in 3bd0fc7.


text:
NormalizedActions

I have problem with NormalizedActions
it raises No implement Error
NotImplementedError                       Traceback (most recent call last)
 in
4     for step in range(max_steps):
5         action = policy_net.get_action(state)
----> 6         next_state, reward, done, _ = env.step(action)
7
8         replay_buffer.push(state, action, reward, next_state, done)
c:\users*\gym\gym\core.py in step(self, action)
285
286     def step(self, action):
--> 287         return self.env.step(self.action(action))
288
289     def action(self, action):
c:\users*\gym\gym\core.py in action(self, action)
288
289     def action(self, action):
--> 290         raise NotImplementedError
291
292     def reverse_action(self, action):
NotImplementedError:
can anyone help?

Just change the NormalizedAction class function names to action() instead of _action()
class NormalizedActions(gym.ActionWrapper):

    def action(self, action):
        low_bound   = self.action_space.low
        upper_bound = self.action_space.high

        action = low_bound + (action + 1.0) * 0.5 * (upper_bound - low_bound)
        action = np.clip(action, low_bound, upper_bound)

        return action

    def _reverse_action(self, action):
        low_bound   = self.action_space.low
        upper_bound = self.action_space.high

        action = 2 * (action - low_bound) / (upper_bound - low_bound) - 1
        action = np.clip(action, low_bound, upper_bound)

        return actions

@nsidn98 cool it works! Thanks


text:
Task: Merge Zephir and PHP (Zephir depends on PHP)

Context:
https://github.com/highlightjs/highlight.js/pull/2372
I didn't realize the differences were so small.  It looks like a few things need to be fixed/consolidated and then I think Zephir could simply be very similar to the way Arduino lays extra keywords down on top of C++.  IE, Zephir becomes just PHP + extra keywords.
The current diff:
--- src/languages/php.js	2020-01-31 08:28:57.000000000 -0500
+++ src/languages/zephir.js	2020-01-31 08:28:54.000000000 -0500
@@ -1,21 +1,14 @@
<snip>

 function(hljs) {
-  var VARIABLE = {
-    begin: '\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
-  };
-  var PREPROCESSOR = {
-    className: 'meta', begin: /<\?(php)?|\?>/
-  };
   var STRING = {
     className: 'string',
-    contains: [hljs.BACKSLASH_ESCAPE, PREPROCESSOR],
+    contains: [hljs.BACKSLASH_ESCAPE],
     variants: [
       {
         begin: 'b"', end: '"'
@@ -29,20 +22,21 @@
   };
   var NUMBER = {variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE]};
   return {
-    aliases: ['php', 'php3', 'php4', 'php5', 'php6', 'php7'],
+    aliases: ['zep'],
     case_insensitive: true,
     keywords:
       'and include_once list abstract global private echo interface as static endswitch ' +
-      'array null if endwhile or const for endforeach self var while isset public ' +
+      'array null if endwhile or const for endforeach self var let while isset public ' +
       'protected exit foreach throw elseif include __FILE__ empty require_once do xor ' +
       'return parent clone use __CLASS__ __LINE__ else break print eval new ' +
       'catch __METHOD__ case exception default die require __FUNCTION__ ' +
       'enddeclare final try switch continue endfor endif declare unset true false ' +
       'trait goto instanceof insteadof __DIR__ __NAMESPACE__ ' +
-      'yield finally',
+      'yield finally int uint long ulong char uchar double float bool boolean string' +
+      'likely unlikely',
     contains: [
+      hljs.C_LINE_COMMENT_MODE,
       hljs.HASH_COMMENT_MODE,
-      hljs.COMMENT('//', '$', {contains: [PREPROCESSOR]}),
       hljs.COMMENT(
         '/\\*',
         '\\*/',
@@ -66,23 +60,9 @@
       ),
       {
         className: 'string',
-        begin: /<<<['"]?\w+['"]?$/, end: /^\w+;?$/,
-        contains: [
-          hljs.BACKSLASH_ESCAPE,
-          {
-            className: 'subst',
-            variants: [
-              {begin: /\$\w+/},
-              {begin: /\{\$/, end: /\}/}
-            ]
-          }
-        ]
-      },
-      PREPROCESSOR,
-      {
-        className: 'keyword', begin: /\$this\b/
+        begin: '<<<[\'"]?\\w+[\'"]?$', end: '^\\w+;',
+        contains: [hljs.BACKSLASH_ESCAPE]
       },
-      VARIABLE,
       {
         // swallow composed identifiers to avoid parsing them as keywords
         begin: /(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/
@@ -98,7 +78,6 @@
             begin: '\\(', end: '\\)',
             contains: [
               'self',
-              VARIABLE,
               hljs.C_BLOCK_COMMENT_MODE,
               STRING,
               NUMBER

It seems to me that Arduino is C++ with some additional functions. But it looks like Zephir is not an extension to PHP but a separate language. Yes, it looks a lot like PHP, and probably we can handle it as a superset to PHP. My only concern is that it may prove more complex to maintain Zefir if the language will change. I'm not sure it is very stable.

It seems to me that Arduino is C++ with some additional functions. But it looks like Zephir is not an extension to PHP but a separate language.

Yeah I learned this later. :)  So never mind this idea. :)


text:
Update the color config view to prevent occlusion

Description

What was changed in this pull request?

I've changed the arrangement of colors (from horizontal to vertical) in the color map config view, consistent with the order shown in the color legend of the Preview heatmap. This prevents the preview from being occluded by a color picker (#49). I've also enabled selecting colors more than four (#47) up to 10, but we can change the number depending on the use cases.

Why is it necessary?

This allows people to see the preview while selecting colors.
Before:

After:

Fixes #47, Fixes #49
Checklist

[ ] Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
[ ] Unit tests added or updated
[ ] Documentation added or updated
[ ] Example(s) added or updated
[ ] Update schema.json if there are changes to the viewconf JSON structure format
[x] Screenshot for visual changes (e.g. new tracks or UI changes)
[x] Updated CHANGELOG.md

Can you merge when you think this is ready? I don't think I have a permission to do so.

Yup, also just gave you write access 👍

source: gharchive/pull-request

authors: pkerpedjiev sehilyi

repo: higlass/higlass


text:
add retry on timeout

Summary

Retry on asyncio.TimeoutError that aiohttp raises when a request times out.
Currently testing this in production, hence draft, no changelog fragment and a lack of formatting/tests.
Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

No idea what to do about the flake8 max complexity error 🤷

I am a bit torn on this. It is similar to a similar PR I did some time ago to attempt a restart on timeout errors.
Now that I think about it, it might be better to just recommend people to edit their HTTPSettings to their liking if they see this error too often.
cc @FasterSpeeding Opinions?

Added aiohttp.ClientOSError to retry too.

Tbh not exactly sure what you're getting at there, wdym by restart?

Currently, if any error is thrown while doing the initial request to fetch the sharding information when the bot is being started, it just exits with an error.
I had the idea of at least retrying that request but eventually scrapped it and just decided on just recommending people to edit their HTTPSettings to have no timeout or a higher one on unstable connections

I had the idea of at least retrying that request but eventually scrapped it and just decided on just recommending people to edit their HTTPSettings to have no timeout or a higher one on unstable connections

Is this related to that though? Doesn't asyncio.TImeoutError and aiohttp.ClientOSError being raised effect all requests, not just startup and since they're not being caught currently unless i'm missing something changing HTTPSettings wouldn't help with that?

Is this related to that though? Doesn't asyncio.TImeoutError and aiohttp.ClientOSError being raised effect all requests, not just startup and since they're not being caught currently unless i'm missing something changing HTTPSettings wouldn't help with that?

Initially this pr was for asyncio.TimeoutError only, it later got extended to include aiohttp.ClientOSError, which I wasn't talking about in that comment.
And yes, when the timeout is exceeded, aiohttp raises a timeout error.
The comment I made before is about a change I worked on but never made (which only thought about timeout errors), since I abandoned it.

Personally dont like the current state of the PR, will comment on it later :)

It needs rebasing now anyways lol

Might want to double check the network to the raspberry pi is stable (try using an ethernet cable directly to the router, if not done already)

My raspberry pi is directly plugged into my router, it just happens sometimes (possibly happens when internet connection is shortly cutoff?).

aiohttp.ClientOSError is a really weird case and not something i have seen in a while, specially on linux.

I only have the discord notification of sentry, since sentry deletes them after 90d:

My raspberry pi is directly plugged into my router, it just happens sometimes (possibly happens when internet connection is shortly cutoff?).

After a 30s timeout, i think the issue might be bigger than just a simple timeout, but regardless, maybe this is worth implementing for the few it would affect

I only have the discord notification of sentry, since sentry deletes them after 90d

Hmmm. Under normal functions you should be receiving this, but i guess we could handle it for the odd case

Closing in favor of https://github.com/hikari-py/hikari/pull/1648

authors: FasterSpeeding Le0Developer davfsa

repo: hikari-py/hikari


text:
feat: add some prior learnings

This adds some (opinionated) learnings from having to shut down some libraries and services in the past. None of this is dogma, and I welcome edits and critiques.
Closes: #1

Sorry, I should have applied the other patch after this one.  Would you mind a quick rebase please?

Oh, and add yourself to the AUTHORS file as well, please.

authors: hildjj jrconlin

repo: hildjj/project-shutdown


text:
大佬,xcode10.1跑不起来.

还请大佬尽快更新一下

已更新 Xcode 10.2.1，Swift 5

authors: Eenie-Meenie hilen

repo: hilen/TSWeChat

license: mit

license_source: bigquery


text:
🛑 Frontend is down

In 5b57422, Frontend (https://beta.medusadistribution.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Frontend is back up in 74a567a.


text:
🛑 Main Page is down

In 5826ba1, Main Page (https://hinzwifi.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Page is back up in 88e84ef after 37 minutes.

repo: hinzwifi/uptime-hinz


text:
Package name mismatch has no fallback

When a package name doesn't match (a tarball), by default composer will attempt to fetch the tag from source. Instead, this plugin fails without the verbosity or behaviour.
Default composer:
  - Installing drupal/diff (8.1.0-alpha2)
    Downloading: Failed
    Failed to download drupal/diff from dist: The "https://ftp.drupal.org/files/projects/diff-8.x-1.x-alpha2.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing drupal/diff (8.1.0-alpha2)
    Cloning 2216ce763fecb03d441231e1b2b3fdddeb761b53

Using hirak/prestissimo
  - Installing drupal/diff (8.1.0-alpha2)
    Downloading: 100%
app/modules/contrib/diff/b5bf1eceb67c965ddb01e0fce9f1aefe.zip does not exist, can not write into cache

  [ErrorException]
  copy(app/modules/contrib/diff/b5bf1eceb67c965ddb01e0fce9f1aefe.zip): failed to open stream: No such file or directory

This is certainly not a high priority, but would be nice if it at least gave the 404 message, rather than "can not write into cache"

Looks like this is no longer an issue.
  - Installing drupal/diff (8.1.0-alpha2)
    Downloading: Failed
    Failed to download drupal/diff from dist: The "https://ftp.drupal.org/files/projects/diff-8.x-1.x-alpha2.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing drupal/diff (8.1.0-alpha2)
    Cloning 2216ce763fecb03d441231e1b2b3fdddeb761b53

repo: hirak/prestissimo


text:
FreeRTOS の移植を開始する

やはり、ネットワークのような形態だと、マルチタスクでは無いシステムでは、複雑になり過ぎる。
また、ネットワークスタック等、再利用が難しい。
そこで、評判が良さそうな、FreeRTOS のポートを実験する。
既に、ＲＸマイコンでの動作実績があり、デモプロジェクトもあるのだが、純粋な gcc 環境用では無いので、これにトライする。

とりあえず、RXv2 コア版、FreeRTOS カーネルが動作する事を確認でき、簡単なサンプルも動作するようになったので、一旦クローズする。


text:
chore: version packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@stacks/cli@4.3.6
Note: Version bump only for package @stacks/cli
@stacks/keychain@4.3.6
Note: Version bump only for package @stacks/keychain
@stacks/wallet-sdk@4.3.6
Note: Version bump only for package @stacks/wallet-sdk

Codecov Report

Merging #1352 (060772a) into master (7426add) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 060772a differs from pull request most recent head 9a24190. Consider uploading reports for the commit 9a24190 to get more accurate results

@@           Coverage Diff           @@
##           master    #1352   +/-   ##
=======================================
  Coverage   65.06%   65.06%
=======================================
  Files         126      126
  Lines        8834     8834
  Branches     1910     1910
=======================================
  Hits         5748     5748
  Misses       2833     2833
  Partials      253      253

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

authors: blockstack-devops codecov-commenter


text:
Endless Listview to Json very long

Hello, its a great this tutorial and code example, but. Can you helpme to implement Endless on bottom scroll list, to load more items in the Listview of movies if my Json file contan more of 50 movies?
Thanks!

private int preLast;
--> listQuestions.setOnScrollListener(this); // this goes inside oncreate or something
@Override
public void onScrollStateChanged(AbsListView absListView, int i) {
// not used
}
@Override
public void onScroll(AbsListView lw, final int firstVisibleItem,
final int visibleItemCount, final int totalItemCount) {
switch(lw.getId()) {
    case R.id.listQuestions:

        // Make your calculation stuff here. You have all your
        // needed info from the parameters of this function.

        // Sample calculation to determine if the last
        // item is fully visible.
        final int lastItem = firstVisibleItem + visibleItemCount;
        if(lastItem == totalItemCount) {
            if(preLast!=lastItem){ //to avoid multiple calls for last item
                Log.d("Last", "Last");
                preLast = lastItem;

                // Call your code here, Congrats you have reached the bottom of the list.
            }
        }
}

}

Not work, i implement the code, but when the application run, the list of more 50 movies appear, i want to  see the first 10 movies, and when the scroll top to bottom, load the others 10 movies. :/

@HackJoues  Have you got it?  (... the scroll to bottom, load the others 10 movies ...)
@hishamMuneer  Congratulation for your tutorial! It's realy good. Did you have extended other functionalities in this example? (Like slider in the photo of DetailActivity.java or  Animation in the transition)
It would really be useful any extension!!

authors: HackJoues JoaquinMM hishamMuneer

repo: hishamMuneer/JsonParsingDemo


text:
Helm chart always refers to latest image

Up to now values.yaml refers to the container image with tag "latest".
This means if you want to install an old version, you just install the old chart, but the container image is still refering to "latest". This means, you don't get the old version.
We should define the steps which should be done during releasing (either in README.md or in a new file RELEASING.md).

To refer to the full name tag, we should use the appVersion from Chart.yaml. Whenever a new release with a new corresponding image tag is made, we will update the appVersion and bump the helm chart version on the patch side. Major and minor changes of the version in Chart.yaml are only used for big changes in the helm chart itself. However, often, big changes on the image side require big changes on the helm chart side.
Furthermore, the values.yaml section for the image tag should be left empty to allow Helm's templating mechanism to use the appVersion.

authors: batistein guettli


text:
Implement methods on LogseqPlugin

[ ] addListener
[ ] beforeunload
[ ] emit
[ ] ensureConnected
[ ] eventNames
[x] hideMainUI
[x] hideSettingsUI
[ ] listenerCount
[ ] listeners
[ ] off
[ ] on
[x] onSettingsChanged
[ ] once
[ ] provideModel
[x] provideStyle
[ ] provideTheme
[ ] provideUI
[x] ready
[ ] removeAllListeners
[ ] removeListener
[x] resolveResourceFullUrl
[x] setMainUIAttrs
[x] setMainUIInlineStyle
[x] showMainUI
[x] showSettingsUI
[x] toggleMainUI
[x]  updateSettings
[x] useSettingsSchema

Decorators for logseq.App

[ ] onBlockRendererSlotted
[ ] onCurrentGraphChanged
[ ] onMacroRendererSlotted
[ ] onPageHeadActionsSlotted
[ ] onRouteChanged
[ ] onSidebarVisibleChanged
[ ] onThemeModeChanged

Methods for logseq.App

[ ] execGitCommand
[ ] getCurrentGraph
[ ] getInfo
[ ] getStateFromStore
[ ] getUserConfigs
[ ] getUserInfo
[ ] invokeExternalCommand
[ ] openExternalLink
[ ] pushState
[ ] queryElementById
[ ] queryElementRect
[ ] quit
[ ] registerCommand
[ ] registerCommandPalette
[ ] registerCommandShortcut
[ ] registerPageMenuItem
[ ] registerUIItem
[ ] relaunch
[ ] replaceState
[ ] setFullScreen
[ ] setLeftSidebarVisible
[ ] setRightSidebarVisible
[ ] setZoomFactor
[ ] showMsg

Closing as issue made redundant by merged code.

repo: hiway/logseq-python-plugin


text:
更新后的输入文本的截断是否会导致其它问题？

原问题 #108
@hiyouga  你好，感谢这项工作，想讨论一下看看改为左侧是不是会有问题呢。

我现在尝试使用长文本摘要数据集在摘要任务上微调。我发现按照这样更改会截断content内容中倒数512 token 导致input丢失content头部内容的信息（摘要任务一般文章头部的信息会比较重要）同时构造的Instruct（source_prefix）也会被截断。这样模型会不会都不知道任务是什么？

我发现跑ChatGLM源码中给入模型的content为什么会在最后concat summary，这个部分可以更改嘛。我觉得只应该给模型content并且把summary当成label

从左侧截取确实会导致 source prefix 被截断的问题，我打算还是还原成从右侧截取的方式。
在监督微调时候的确应该这么做，并不会导致模型预测 label 时候提前看到 label 信息的问题。

对的，尝试以后从右侧截取效果较好
谢谢回复，之前对GLM原理没太深入，确认以后Auto-regressive模型确实是这样

authors: AttentionAllUNeed hiyouga

repo: hiyouga/ChatGLM-Efficient-Tuning


text:
Help: 为什么不支持 cache_path 参数了呢？

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
如题。
之前可以使用处理数据的部分代码，生成了 arrow 的数据集的cache，进行模型训练，但是发现新版release，这个参数不生效了。
使用 cache_dir 参数，需要重新进行 tokenize 的过程。
Expected behavior
No response
System Info
No response
Others
No response

换成了 tokenized_path 参数，理论上兼容之前的数据

看到了，在我的数据集上可以兼容，谢谢！

repo: hiyouga/LLaMA-Factory


text:
容易溢出overflow

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
在训练的过程中会给出这样的提示
OVERFLOW! Rank 0 Skipping step. Attempted loss scale: 32768, reducing to 16384
不确定是否因为溢出或是微调数据量过大导致qwen1.5-0.5B微调失败，请问这个overflow的提示是由什么原因导致的呢？
这似乎有是偶发性的，相同的数据下不是每次都会有这样的提示
Expected behavior
No response
System Info
No response
Others
No response

不影响训练

authors: Victoriaheiheihei hiyouga


text:
Train loss not decrease

I used this code to train with VOC2007 dataset. The train loss decrease from 50 to 9 at  1 epoch. However, train loss maintain 9 at other epoches,and I used test.py with training weights not draw bounding box.I wanna know what is wrong with the code? Thx!

The same question as it

hope this helps you ! https://github.com/YunYang1994/tensorflow-yolov3


text:
Tooltips in icon column

Is there any way to add a tooltip to an icon inside a cell?
I tried to do it this way and this worked for me

but I would like to do it with mdTooltip (Angular Material) and it does not work

Hi @mayra268, you need to wrap it in a component. Here's an example that uses ngbTooltip and a service to fetch the description using the costType name.
import { Component, OnInit} from '@angular/core';
import {GtCustomComponent} from "@angular-generic-table/core";
import {CostTypeService} from '../../services/cost-type.service';
import {Observable} from 'rxjs/Observable';

@Component({
  selector: 'cost-type',
  template: `
    {{row.costType}}
  `,
  styles: [
    `span {
      cursor:help;
    }`
  ]
})
export class CostTypeComponent extends GtCustomComponent<any> implements OnInit  {

  costTypeDescription:Observable<string>;
  constructor(private costTypeService:CostTypeService) {
    super();
  }

  ngOnInit() {
    this.costTypeDescription = this.costTypeService.getDescription(this.row.costType);
  }

}

And the field config:
fields: [ ...
{
  name: 'Cost type',
  objectKey: 'costType',
  columnComponent = {
    type: CostTypeComponent
  }
}]

repo: hjalmers/angular-generic-table


text:
🛑 HJStrauss is down

In f1912f3, HJStrauss (https://www.hjstrauss.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HJStrauss is back up in 3af06f8 after 18 minutes.

repo: hjstrauss/MonitorMySites


text:
🛑 LM Bogen WSV is down

In f5b92c6, LM Bogen WSV (https://www.lmbogenwsv.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LM Bogen WSV is back up in fb6878d after 20 minutes.


text:
🛑 Reime ohne Sinn und Verstand is down

In 1e24ad3, Reime ohne Sinn und Verstand (https://www.reimeohnesinnundverstand.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Reime ohne Sinn und Verstand is back up in 741e7e5 after 20 minutes.


text:
🛑 Reime ohne Sinn und Verstand is down

In b751e6b, Reime ohne Sinn und Verstand (https://www.reimeohnesinnundverstand.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Reime ohne Sinn und Verstand is back up in 9e0022f after 10 minutes.


text:
Verschaeren Jan (2)

What will happen with duplicate loinc tests? ie: a lab did a test itself but needs retesting in a referral lab. Both use same loinc... Can both be reported including extra comments

@jan.verschaeren@azturnhout.be,
This is no problem at all. The same LOINC-code can be present in the same diagnostic report. Both tests will be considered as different tests.


text:
59564 - [Newsroom] Common Modules - Global Footer - Secondary Footer links should not be highlighted when hovering and missing tooltips

Severity - 3 - Medium
Description of the issue: When hovering on the secondary footer links, it should not be highlighted and tooltip is missing.
Legacy page:
homepage - https://newsroom.accenture.com/
search page - https://newsroom.accenture.com/search.cfm
Migrated page:
homepage - https://main--accenture-newsroom--hlxsites.hlx.live/
search page - https://main--accenture-newsroom--hlxsites.hlx.live/search
Steps:

Access the Newsroom Legacy and Migrated page.
Verify elements  for Footer in both domains.
Hover on the Footer links to check user interactions.

Expected Result:
Secondary Footer links have tooltips and not highlighted when hovering.

Actual:

Azdo link : https://dev.azure.com/accenturecio26/WebContentDigAssetMgmt_PR1093/_workitems/edit/59564
cc: @ravkiran @amol-anand @raymond-h-dev

this is invalid, closing the bug.

authors: jjjaspher veejayricana

repo: hlxsites/accenture-newsroom


text:
DRAFT: to test fee templates

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
Change description
JIRA link
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

Test complete

repo: hmcts/adoption-web


text:
Unable to select track context buttons of the bottom track when its height is to low

Commit: Higlass.op
Steps to reproduce

Make a bottom track's height very small

Observed behavior

Expected behavior
Should be clickable

I think this is fixed. Feel free to reopen if it isn't.

authors: flekschas pkerpedjiev

repo: hms-dbmi/higlass


text:
How can we enable code highlighting for markdown ?

Just got stuck on implementing code higlighting .Can I use hightlight.js for code highlighting if so How ?
I tried adding highlight to nuxt.config.js for the markdownIt key but still it is not working

That depends on how you use highlight.js 🤔
The basic usage of highlight.js expects hljs.initHighlightingOnLoad(); is called after HTML is ready. So your app needs to render HTML from markdown.
Another way of highlighting code is processing with Markdown compilation. This sample is using Prism (and a plugin for markdown-it)
https://hmsk.github.io/frontmatter-markdown-loader/options.html#markdown-compilation
If you are stuck, bring a reproducible repo or an equivalent project on CodePen-ish service. I may look into then.

@hmsk  I am using nuxt js to create a personal blog that reads markdown files from a content folder.
I tried the sample with prism but it also did'nt work. If you could look into this repo It'dbe great thanks in advance :) incrypt0/blog

repo: hmsk/frontmatter-markdown-loader


text:
Caused by: java.io.EOFException: SSL peer shut down incorrectly

发送消息时报错，详细错误日志如下：
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake         at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1715)         at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514)         at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)         at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)         at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)         at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)         at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)         at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)         at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)         at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)         at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)         at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)         at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)         at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)         at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)         at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)         at com.unfbx.chatgpt.interceptor.HeaderAuthorizationInterceptor.intercept(HeaderAuthorizationInterceptor.java:51)         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)         at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)         at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)         at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.EOFException: SSL peer shut down incorrectly         at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)         at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)         at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)         at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)         at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)         ... 25 common frames omitted
nginx.conf配置
`
server{
listen 80;
server_name xxxxxx;
index index.html;
proxy_buffering off;
    # 设置发送超时时间。
    proxy_send_timeout 180s;
    # 设置读取超时时间。
    proxy_read_timeout 180s;

    location / {
            root /opt/software/front/www/dist;
            index index.html index.htm;
            try_files $uri $uri/ /index.html;
    }

    #引用反向代理规则，注释后配置的反向代理将无效
    location /api/ {
    proxy_pass http://localhost:3002/;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    }

    #禁止访问的文件或目录
    location ~ ^/(\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md) {
    return 404;
    }

}
`
有没有知道的大佬辛苦指点一下，小弟万分感谢！

发送消息时报错，详细错误日志如下：
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1715) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379) at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at com.unfbx.chatgpt.interceptor.HeaderAuthorizationInterceptor.intercept(HeaderAuthorizationInterceptor.java:51) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 25 common frames omitted
nginx.conf配置
`
server{
listen 80;
server_name xxxxxx;
index index.html;
proxy_buffering off;
# 设置发送超时时间。
proxy_send_timeout 180s;
# 设置读取超时时间。
proxy_read_timeout 180s;

location / {
        root /opt/software/front/www/dist;
        index index.html index.htm;
        try_files $uri $uri/ /index.html;
}

#引用反向代理规则，注释后配置的反向代理将无效
location /api/ {
proxy_pass http://localhost:3002/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

#禁止访问的文件或目录
location ~ ^/(\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md) {
return 404;
}

}
`
有没有知道的大佬辛苦指点一下，小弟万分感谢！

repo: hncboy/chatgpt-web-java


text:
cannot run in Python pre 3.7.2 anymore

With the recent additions, I get:
   File "/lib/python3.6/site-packages/ocrd_browser/util/config.py", line 5, in <module>
    from typing import List, Optional, OrderedDict as OrderedDictType
ImportError: cannot import name 'OrderedDict'

(This is Python 3.6.7 – typing.OrderedDict was only introduced in 3.7.2.)
How can we avoid this dependency?

As this was only some experimental code for an idea of "autoconfiguration", I removed it for now

Thanks!

authors: bertsky hnesk

repo: hnesk/browse-ocrd


text:
Update README.md

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-ZQrYvg1Wv7BG
Commit ID: 1afe15f18b92c713c1d4b5798886dcae2b1f4cb5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

repo: hnishar/aws-solutions-constructs


text:
have m.program.gps[x].result be able to print a table

this could make debugging a lot more user friendly

@bqpd, should we give SolutionArray an init, such that it's possible to do
print SolutionArray(m.program.gps[i].result).table()

Ooh yes we should

ok that sounds straightforward, let's gitrdone

unit test for initializing a SolutionArray this way

Reopening due to #921

authors: bqpd mayork whoburg

repo: hoburg/gpkit


text:
Draft: Add tracking

This implements the usage of analytics in the client.
Vue-Matomo is used in order to track site-urls and send those to our matomo server.
I extended our privacy notice with a declaration about matomo. The text is copied from OpenArtBrowser.
In order to only track in production and not during development or in staging, vue modes and mode-specific env files are used.
@KaiDrieHda or @DianaPankratz can you please double check whether the privacy notice is all we need or if we need something else?
closes #339

Together with @DianaPankratz we found out, that AdBlockers are blocking our opt-out i-frame provided by matomo.
I'm working on an alternative.
This should not be merged until this is resolved.

The information, that adblock can block the i-frame is displayed all the time now.
It would not be worth the effort for now to only display it, if the i-frame is blocked.
It is not easy to implement it this way

repo: hochschule-darmstadt/einander-helfen


text:
textarea resize removed

When I ran the demo, I could see the resize button at the bottom right (as is the case with the <textarea> element). Feeling that this allows the user to manipulate the "keyboard input area" size (which makes it look kinda bad with the whole scrollbar thing appearing), I decided to remove the resizing option. Also, I tried making some "fixes" to the scrollbar. Basically, not making it look out of place.

Hey @AshtrayShetty, thanks for this fix! I would need to add this to the demo page however and not in the library code. Thanks anyway, I'll add the fix soon.
Regards,
Francisco Hodge

authors: AshtrayShetty hodgef

repo: hodgef/react-simple-keyboard


text:
Brainstorming: kscript plugin for intellij

convert //DEPS to file:DependsOn (and same of other annotations)

suggestion to add shebang line

create temp-project from context menu

More tricky

run configuration

Run configuration will be great (ie the arrow to run files from inside)
I also struggle with stacktraces so mapping to the project source-files will be great.
It will also be great to have a template for new projects, maybe with multi-modules like I discussed in #149

authors: holgerbrandl oshai

repo: holgerbrandl/kscript


text:
実行環境のタイムゾーンによって出力結果が変化する

状況の再現方法
node_moduleとしてインストール

@holiday-jp/holiday_jp: 2.4.0
node: v14.19.3

// main.js
var holiday_jp = require("@holiday-jp/holiday_jp");

// "Asia/Tokyo"(+0900) 以外のタイムゾーンで実行すると結果が変化する場合がある
// process.env.TZ = "Asia/Tokyo";

// 元旦
var date = new Date("2022-01-01T00:00:00+0900");
console.log(date.toString());
console.log(holiday_jp.isHoliday(date)); // expected true;
console.log(holiday_jp.between(date, date)); // expected not-empty list

node main.js

codesandbox
実行結果
sandboxの設定やprocess.env.TZの値を変化させ異なるタイムゾーンで実行します
Asia/Tokyo +0900
予期した通りの結果が得られました
Sat Jan 01 2022 00:00:00 GMT+0900 (Japan Standard Time)
true
[
  {
    date: 2022-01-01T00:00:00.000Z,
    week: '土',
    week_en: 'Saturday',
    name: '元日',
    name_en: "New Year's Day"
  }
]

UTC +0000
結果が変わります
Fri Dec 31 2021 15:00:00 GMT+0000 (Coordinated Universal Time)
false
[]

質問
こちらは意図した動作でしょうか？
"YYYY-MM-DD"の文字列表現に変換する関数format内部で、タイムゾーンに影響される関数 Date#get**をそのまま利用しているのが原因そうです。
https://github.com/holiday-jp/holiday_jp-js/blob/f9069506682270319295102f289c958530edfefd/lib/format.js#L2-L4

結論としては意図した動作になります。
holiday-jp は YAMLの日付の文字列を使って祝日を管理しています。つまりタイムゾーンはありません。
また、ベースとなるライブラリは https://github.com/holiday-jp/holiday_jp-ruby です。こちらをみると to_date を使っています。
https://github.com/holiday-jp/holiday_jp-ruby/blob/ef8f0370b1119dca348f8dc19ec0a7154f500d26/lib/holiday_jp/holidays.rb#L21-L29
to_dateメソッドの挙動はタイムゾーンによって出力が変化します
$ irb
irb(main):001:0> require 'time'
=> true
irb(main):002:0> Time.new('2023', '01', '01').to_date
=> #<Date: 2023-01-01 ((2459946j,0s,0n),+0s,2299161j)>
irb(main):003:0> Time.new('2023', '01', '01').utc.to_date
=> #<Date: 2022-12-31 ((2459945j,0s,0n),+0s,2299161j)>
irb(main):004:0>

つまりタイムゾーンは関係なく日付の文字列だけで判定しています。


text:
Cache busting font assets through src property

https://github.com/stackptr/grunt-cache-bust/blob/master/tasks/cachebust.js#L105
This block indicates that the only assets busted in CSS files are those referenced via the background and content properties.
In a given project I have a LESS file referencing font assets that is then compiled to a CSS file using the src property. As such, when the cache-bust task is run on this file, these assets are left intact.
Relatively simple fix, I wanted to check if there was a rationale behind this or if it was possibly a quirk of the LESS parser. Will send PR shortly.

You are correct, it only checks the background and content. I shall change this so it's more configurable, possibly having these two as the default options with the ability to extend them with more. Thanks for bring it up

Fixed in #95

authors: hollandben stackptr

repo: hollandben/grunt-cache-bust


text:
New Xiaomi Button Not Detected

New Xiaomi button is not detected: {'cmd': 'read_ack', 'model': 'remote.b1acn01', 'sid': '158d0001e79089', 'short_id': 2100, 'data': '{"voltage":3165}'}
This has been fixed in PyXiaomiGateway (See line 235 at https://github.com/Danielhiversen/PyXiaomiGateway/blob/master/xiaomi_gateway/init.py) but is not yet in Hass.io.

Thank you for opening a PR @fcollingwood, nevertheless, this is not an issue with Hass.io, but with Home Assistant itself.
The correct repository for reporting this issue would be: https://github.com/home-assistant/home-assistant

authors: fcollingwood frenck

repo: home-assistant/hassio


text:
App closes/crashes when pasting username or password on login

Tested on a Galaxy S9.
With the newest version 1.1.1, long pressing (copy/paste) either the username or password input-field of the login-view closes/crashes the app. Pasting the URL right before works like a charm.
It was still working in 1.0.0.
Pasting is therefore impossible, which makes it quite difficult to enter long and complex passwords.

Also when pasting 2FA code from authenticator.
I've had to re-write it, as it crashed app 3 times when pasting.

I do have kind of the same issue. Mine is related to when copying or pasting an entity from States page over to the Lovelace raw config. The app crashes on both, when trying to copy from or when trying to paste it to Lovelace.

I have the same issue.

Ditto

Reverting commit https://github.com/home-assistant/home-assistant-android/commit/3bc7fdaa11e4a211172cf0930cc399c25b4c83df resolves the issue.

@robbiet480 do you know enough Kotlin to be able to fix this, or maybe we should revert it for activities that have webviews?

An alternative maybe to instead use crowdin that does not require using a closed source library at all https://crowdin.com/page/open-source-project-setup-request

This is still happening for me on 2 different devices. I have the issue on Oneplus 6T and Samsung galaxy tab s5e. Both are running the latest version 1.3.1 on Android 9, and I am running HA 0.103.3.
The app crashes when trying to long press the password field at login.

Please open a new issue as this one has been resolved. Make sure to include logs.

authors: MerlinXLL aleksandrov1995 andriej balloob fredamn76 gotson kallangerard pdecat

repo: home-assistant/home-assistant-android


text:
Securifi Peanut Plug zigbee switch lost connection and unable to re-associate

Home Assistant release (hass --version):
0.59.2
Python release (python3 --version):
Python 3.5.2
Component/platform:
zha
Description of problem:
I have 3 wall plug switches at home. One of the switches lost connection after restarting the server hass runs on and I am no longer able to associate it with hass.
Expected:
Zigbee device should pair successfully, given that the 2 other previously paired devices function properly.
Problem-relevant configuration.yaml entries and steps to reproduce:

Send zha.permit service signal
Reset the Peanut Plug
Notice the red led stops blinking, but association fails

Traceback (if applicable):
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.uart] Data frame: b'2358b18ce5a610116d914a4aa75593499c4e0e427e'
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.uart] Sending: b'83401b7e'
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.ezsp] Application frame 36 (trustCenterJoinHandler) received
2017-12-12 17:58:22 INFO (MainThread) [bellows.zigbee.application] Device 0x8cb1 (00:0d:6f:00:05:34:a3:05) joined the network
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.zigbee.application] Skip initialization for existing device 00:0d:6f:00:05:34:a3:05
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.uart] Data frame: b'3358b1ed502a15a159944a2daa55925b6382962712316b0a4c4a662ac87b3fc8e6cd50a8eb7e'
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.uart] Sending: b'8430fc7e'
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-12-12 17:58:22 DEBUG (MainThread) [bellows.zigbee.zdo] [0x8cb1:zdo] ZDO request 0x0013: [36017, 00:0d:6f:00:05:34:a3:05, 142]
2017-12-12 17:58:26 DEBUG (MainThread) [bellows.uart] Data frame: b'4358b1d5969ea73c6d914a4aa7559367017e'
2017-12-12 17:58:26 DEBUG (MainThread) [bellows.uart] Sending: b'8520dd7e'
2017-12-12 17:58:26 DEBUG (MainThread) [bellows.ezsp] Application frame 125 (incomingManyToOneRouteRequestHandler) received
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Data frame: b'5358b1f1e5a610116d914a4aa7556d819c6caf7e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Sending: b'8610be7e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.ezsp] Application frame 89 (incomingRouteRecordHandler) received
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Data frame: b'6358b1ed542e14b459954b65aa5592cd6385e51f12316f8bd8cd684d38bafb7c907e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Sending: b'87009f7e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-12-12 17:58:36 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py", line 198, in handle_callback
    handler(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py", line 169, in ezsp_callback_handler
    self._handle_frame(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py", line 192, in _handle_frame
    tsn, command_id, is_reply, args = deserialize(aps_frame.clusterId, message)
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/zcl/__init__.py", line 56, in deserialize
    value, data = t.deserialize(data, schema)
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/types/__init__.py", line 9, in deserialize
    value, data = type_.deserialize(data)
  File "/srv/homeassistant/lib/python3.5/site-packages/bellows/types/basic.py", line 13, in deserialize
    r = cls(int.from_bytes(data[:cls._size], 'little', signed=cls._signed))
  File "/usr/lib/python3.5/enum.py", line 241, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.5/enum.py", line 476, in __new__
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 196 is not a valid Status
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Data frame: b'7358b1ed542e14b459954b65aa55925a6386962712316f8bfdcd6889fc7e3fead57e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.uart] Sending: b'8070787e'
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-12-12 17:58:36 WARNING (MainThread) [bellows.zigbee.zcl] Data remains after deserializing ZCL frame
2017-12-12 17:58:36 WARNING (MainThread) [bellows.zigbee.application] Unexpected response TSN=0 command=11 args=[11, <Status.SUCCESS: 0>]
2017-12-12 17:58:36 DEBUG (MainThread) [bellows.zigbee.zcl] [0x8cb1:1:0x0006] Unexpected ZCL reply 0x000b: [11, <Status.SUCCESS: 0>]
2017-12-12 17:58:37 DEBUG (MainThread) [bellows.uart] Data frame: b'0358b1ed542e14b25c954b65ab5592e46383716712316e82e5c64789fc7e3fa79d477e'
2017-12-12 17:58:37 DEBUG (MainThread) [bellows.uart] Sending: b'8160597e'
2017-12-12 17:58:37 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-12-12 17:58:37 DEBUG (MainThread) [bellows.zigbee.zcl] [0xcc56:1:0x0500] ZCL request 0x0100: [36, 0, 0, 0]
2017-12-12 17:58:37 DEBUG (MainThread) [homeassistant.components.binary_sensor.zha] Updated alarm state: 0
2017-12-12 17:58:37 DEBUG (MainThread) [bellows.zigbee.zcl] [0xcc56:1:0x0500] No handler for cluster command 0

Additional info:

I removed all the records for "00:0d:6f:00:05:34:a3:05" IEEE from zigbee.db and the re-association worked. However, this still looks like a regression of sorts.

repo: home-assistant/home-assistant


text:
Bali Autoview (cover/Wink2 zwave) error when blinds stop

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.61.0
Python release (python3 --version):
Python 3.6.3
Component/platform:
Wink 2 hub, Bali Autoview Shades,
Description of problem:
The below traceback text appears in the log every time my Bali Autoview Zwave blinds are opened/closed via HA.  The blinds are controlled through my Wink2 hub by HA.
Expected:
No error on the log
Problem-relevant configuration.yaml entries and steps to reproduce:
This doesn't seem to be related to yaml as I can reproduce it from the Developer tools

Use either cover.open_cover or cover.close_cover service
Select the cover entity to open/close
Call the service

The traceback in the log seems to appear when the cover reaches its destination.  i.e. when it is done moving.
**Traceback (if applicable):**

Error doing job: Task exception was never retrieved

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/hass/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 399, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/hass/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 247, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/hass/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 210, in async_update_ha_state
    state = self.state
  File "/srv/hass/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 360, in state
    return STATE_ON if self.is_on else STATE_OFF
  File "/srv/hass/lib/python3.6/site-packages/homeassistant/components/switch/wink.py", line 51, in is_on
    return self.wink.state()
  File "/srv/hass/lib/python3.6/site-packages/pywink/devices/binary_switch_group.py", line 13, in state
    return bool(self.state_true_count() != 0)
  File "/srv/hass/lib/python3.6/site-packages/pywink/devices/binary_switch_group.py", line 19, in state_true_count
    return self.reading_aggregation().get("powered").get("true_count")
AttributeError: 'NoneType' object has no attribute 'get'

Additional info:
The Bali Autoview blinds use the latest Zwave motors that can be controlled directly by Wink or other Zwave hubs without the use of an intermediary bridge.  These are not the same as the older Somfy RTS blinds which required a Somfy bridge.

@yang3535 Sorry I just saw this I'll take a look in the next couple days and get it fixed.

@yang3535 do you have your blinds in a Wink group? I am assuming Wink is doing something different with blinds in groups than what python-wink is expecting.
If you have them in a group can you log in to https://winkathome.net/Home.aspx and find the group and click on the little 'i' icon for the group and copy the JSON and send it to me?

Below is the JSON for the Wink group.  If it makes a difference - I do not use the Wink group in my automations/scripts.  I created a HA group for the shades and use it for control rather than the Wink group.
{
"group_id": "9898527",
"name": "Sun room shades",
"order": 0,
"icon_id": "28",
"members": [
{
"object_type": "shade",
"object_id": "18894",
"local_id": "36",
"hub_id": "572229",
"blacklisted_readings": []
},
{
"object_type": "shade",
"object_id": "18895",
"local_id": "37",
"hub_id": "572229",
"blacklisted_readings": []
},
{
"object_type": "shade",
"object_id": "18896",
"local_id": "38",
"hub_id": "572229",
"blacklisted_readings": []
},
{
"object_type": "shade",
"object_id": "19441",
"local_id": "46",
"hub_id": "572229",
"blacklisted_readings": []
}
],
"reading_aggregation": {
"level": {
"min": null,
"max": null,
"average": null,
"updated_at": null,
"changed_at": null
},
"connection": {
"or": true,
"and": true,
"true_count": 4,
"false_count": 0,
"updated_at": .643657,
"changed_at": .4076774
},
"position": {
"min": 1.0,
"max": 1.0,
"average": 1.0,
"updated_at": .643657,
"changed_at": .5546413
}
},
"automation_mode": null,
"hidden_at": null,
"object_type": "group",
"object_id": "9898527",
"icon_code": "group-light_group",
"subscription": {
"pubnub": {
"subscribe_key": "sub-c-f7bf7f7e-0542-11e3-a5e8-02ee2ddab7fe",
"channel": "56b3912dcdf94e8b44e6f6ab3272cdc0e6bb0d35"
}
}
}

Cool, thanks for the JSON can you do we a favor? Try to use the Wink group via the Wink app and see if the JSON changes specifically this
"position": {
"min": 1.0,
"max": 1.0,
"average": 1.0,
"updated_at": .643657,
"changed_at": .5546413
}
In the mean time while I am making changes to support this, you can just delete the group in the Wink app to prevent this error.

Here's the JSON after closing the shades using Wink group/app:
{
  "group_id": "9898527",
  "name": "Sun room shades",
  "order": 0,
  "icon_id": "28",
  "members": [
    {
      "object_type": "shade",
      "object_id": "18894",
      "local_id": "36",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "18895",
      "local_id": "37",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "18896",
      "local_id": "38",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "19441",
      "local_id": "46",
      "hub_id": "572229",
      "blacklisted_readings": []
    }
  ],
  "reading_aggregation": {
    "level": {
      "min": null,
      "max": null,
      "average": null,
      "updated_at": null,
      "changed_at": null
    },
    "connection": {
      "or": true,
      "and": true,
      "true_count": 4,
      "false_count": 0,
      "updated_at": 1519745868.4973416,
      "changed_at": 1518642700.4076774
    },
    "position": {
      "min": 0.0,
      "max": 0.0,
      "average": 0.0,
      "updated_at": 1519745868.4973416,
      "changed_at": 1519745867.0899253
    }
  },
  "automation_mode": null,
  "hidden_at": null,
  "object_type": "group",
  "object_id": "9898527",
  "icon_code": "group-light_group",
  "subscription": {
    "pubnub": {
      "subscribe_key": "sub-c-f7bf7f7e-0542-11e3-a5e8-02ee2ddab7fe",
      "channel": "56b3912dcdf94e8b44e6f6ab3272cdc0e6bb0d35"
    }
  }
}

And here's after opening again via Wink group/app:
{
  "group_id": "9898527",
  "name": "Sun room shades",
  "order": 0,
  "icon_id": "28",
  "members": [
    {
      "object_type": "shade",
      "object_id": "18894",
      "local_id": "36",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "18895",
      "local_id": "37",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "18896",
      "local_id": "38",
      "hub_id": "572229",
      "blacklisted_readings": []
    },
    {
      "object_type": "shade",
      "object_id": "19441",
      "local_id": "46",
      "hub_id": "572229",
      "blacklisted_readings": []
    }
  ],
  "reading_aggregation": {
    "level": {
      "min": null,
      "max": null,
      "average": null,
      "updated_at": null,
      "changed_at": null
    },
    "connection": {
      "or": true,
      "and": true,
      "true_count": 4,
      "false_count": 0,
      "updated_at": 1519745868.4973416,
      "changed_at": 1518642700.4076774
    },
    "position": {
      "min": 0.0,
      "max": 0.0,
      "average": 0.0,
      "updated_at": 1519745868.4973416,
      "changed_at": 1519745867.0899253
    }
  },
  "automation_mode": null,
  "hidden_at": null,
  "object_type": "group",
  "object_id": "9898527",
  "icon_code": "group-light_group",
  "subscription": {
    "pubnub": {
      "subscribe_key": "sub-c-f7bf7f7e-0542-11e3-a5e8-02ee2ddab7fe",
      "channel": "56b3912dcdf94e8b44e6f6ab3272cdc0e6bb0d35"
    }
  }
}

Awesome, thanks. So it keeps track of the groups position so I should be able to make another Wink object that is a "cover group" and that will show up in Home Assistant as one device. This would allow you to issue one command to that group. Currently with the way you are doing it (Using a Wink group) it makes a call to the Wink API for every device. So if you have 5 covers it makes 5 API calls. Using this group would mean 1 API call and things should work quicker.

Awesome.  Thanks so much for working on this!
On Feb 27, 2018, 11:29 AM, at 11:29 AM, William Scanlon notifications@github.com wrote:

Awesome, thanks. So it keeps track of the groups position so I should
be able to make another Wink object that is a "cover group" and that
will show up in Home Assistant as one device. This would allow you to
issue one command to that group. Currently with the way you are doing
it (Using a Wink group) it makes a call to the Wink API for every
device. So if you have 5 covers it makes 5 API calls. Using this group
would mean 1 API call and things should work quicker.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/home-assistant/home-assistant/issues/11709#issuecomment-368938062


text:
Can't upgrade to 0.75 - AttributeError: 'NoneType' object has no attribute 'refresh_tokens'

Home Assistant release with the issue: 0.75.2

Last working Home Assistant release (if known):0.74.2
Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform: Hass OS

**Description of problem: I can't upgrade to 0.75. Keep getting the following error:
ERROR (MainThread) [homeassistant.setup] Error during setup of component hassio
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/hassio/__init__.py", line 180, in async_setup
    refresh_token = list(user.refresh_tokens.values())[0]
AttributeError: 'NoneType' object has no attribute 'refresh_tokens'

**
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant)

I tried upgrading from 0.74.2 to .75.1. It gave me the error mentioned and lost access to the Hassio tab. Then I reverted back to 0.74.2
Today I tried upgrading from 0.74.2 to 0.75.2 which gave me the same error. Then I tried re imaging my SD card (latest Hass OS image) and restoring a backup. Same issue again. I have now reverted to 0.74.2 and everything works.
I do not have a config/.storage/auth file.
config/.storage/hassio
{
    "data": {
        "hassio_user": "8360b32a9f094953aeb2fb0a4c0ecaa3"
    },
    "key": "hassio",
    "version": 1
}

Removing the 'config/.storage/hassio' and upgrading to 0.75.2 worked. Thanks.

authors: Kanishkaz awarecan


text:
Xiaomi vacuum V2 fan speed is not mapped correctly

Home Assistant release with the issue:
0.80.3

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass on raspberry pi 3b+

Component/platform:
Xiaomi Mi Robot Vacuum
https://www.home-assistant.io/components/vacuum.xiaomi_miio/
Description of problem:
Fan speed are not mapped correctly for the Xiaomi vacuum V2 Correct values are:
Quiet: 101
Balanced: 102
Turbo: 103
Max: 104
Mop: 105
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
vacuum:
  - platform: xiaomi_miio
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token

Traceback (if applicable):

Additional information:

See my comment in #17090 - this needs to be fixed in the upstream library (PRs welcome!).

It is not a problem - only that Mop is missing.
Xiaomi App started using the 101+ values, but you can still use 0-100 that sets the speed percentually.
90 = 90% speed.

But it is not an issue for the underlying library because it doesn't know about the speeds and it doesn't enumerate them, it just set them by integer value. HA is enumerating the speeds and using library to set them to certain integer value. That would be brand new feature for underlying library to know which type of vacuum it is communicating with and the PR would also need to change the API because now the underyling library would be doing the enumeration of speeds. And then we would also need to change HA.

mapping is still wrong.

Just for the record, @bugficks created a PR to fix this issue in the backend library (https://github.com/rytilahti/python-miio/pull/523), but closed it afterwards out of no interest.

@rytilahti Maybe do a shot at moving it forward nevertheless?

@bugficks A week? I'm sorry sir, but that is not uncommon in the open source world.

@frenck if you say so :) I'm used to some sort of reply within a few days. My fork is still available for now and if someone had asked to reopen PR I would have done so.

Sorry for not being responsive enough, I've seen the PR and it looks good from the surface, but I haven't unfortunately have had enough time to dig into the specifics nor do I have currently access to test it myself.
As I cannot test it myself, I'm really hesitant on simply merging it and pushing out a new release (in case it then breaks down on someone's setup). So if anyone is willing to do some testing (verifying that everything works just fine also with the v1 vacuum), I think we can go ahead, merge that PR and I can prepare a new release so we can finally get that fixed.
If there are no volunteers I will be doing that by myself when I'll get access to a device later this year (some point in October). As I hope it doesn't have to wait that long, I hope that some other people will do testing on it and report on that PR :-)

If there are no volunteers I will be doing that by myself when I'll get access to a device later this year (some point in October). As I hope it doesn't have to wait that long, I hope that some other people will do testing on it and report on that PR :-)

Hi! I just start the jurney with HA and I really want help with the MOP functions. I create special area to clean with mop and now I need to change normal mode to mop :D
How can I help You with that?

authors: Boosik Ciubas bogdanalexe90 bugficks drndos frenck rytilahti


text:
Tellstick repeat

Feature requests should go in the forum: https://community.home-assistant.io/c/feature-requests
Home Assistant release (hass --version):
0.18.2
Python release (python3 --version):
Python 3.4.2
Component/platform:
Tellstick plugin
Description of problem:
Tellstick signal_repetitions 0 prevents any signal from being sent at all. The variable should be called signals_sent if its intent is to govern how many times the signal is sent as opposed to how many times the signal is repeated
Expected:
signal_repetitions 0 sends 1 signal, but it isn't repeated
Problem-relevant configuration.yaml entries and steps to reproduce:
tellstick:
signal_repetitions: 0

Traceback (if applicable):

Additional info:

Has this been addressed?

I agree that it's broken that you can set signal_repetitions: 0 and get away with it without an error but unusable behavior.
I also agree that "signal_repetitions" is at least unclear if it means to include the initial signal or not. But I'm not sure it's clear that it better to just change the behavior to mean "do not include initial signal in the count".


text:
Python can't open file 'C:\Python34\Scripts\hass': [Errno 2] No such file or directory

Home Assistant release (hass --version):
Hass version 0.20.3
Hass version 0.21.0
Hass version 0.21.1
Python release (python3 --version):
Python 3.4.4
Component/platform:
OS: Windows 10 x64
Description of problem:
When trying to run hass I get the following error c:\python34\python.exe: can't open file 'C:\Python34\Scripts\hass': [Errno 2] No such file or directory using python -m homeassistant works as expected however.
Expected:
Hass has run for 3-4 months without problems and is fully configured.  I don't think it's a configuration or setup problem on my end.
Traceback (if applicable):
None

Previously reported and closed on 2138  but returned on 20.3 and continues on 21.0

I can confirm having the same problem on 21.0 as well.

Try "python -m homeassistant" in the cmd prompt.

@Marauder0408 In my description I've noted that using '''python -m homeassistant''' works as expected.  However using hass I get the error for no such file or directory.  The issue still exists in 0.21.1

It is something that has to do with packaging of Python projects on Windows and afaik is beyond our control.

@balloob just out of curiosity, why would it stop working suddenly?  And is there any difference between hass and python -m homeassistant?

If we knew we could solve it and it wouldn't be an issue
There is no difference
On Mon, Jun 13, 2016, 07:43 geman220 notifications@github.com wrote:

@balloob https://github.com/balloob just out of curiosity, why would it
stop working suddenly? And is there any difference between hass and python
-m homeassistant?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/2246#issuecomment-225602089,
or mute the thread
https://github.com/notifications/unsubscribe/ABYJ2qdEQwj-LIGNfwv2ks6UbogXSyO_ks5qLWyDgaJpZM4IuiJa
.

Continues in 0.23.1, hass doesn't work python -m homeassistant does.
Win10

This is a problem with 0.24.1 and Python 3.5.2 (32-bit):
C:\Windows\system32>"C:\Program Files (x86)\Python35-32\Scripts\hass.exe"
c:\program files (x86)\python35-32\python.exe: can't open file 'C:\Program Files (x86)\Python35-32\Scripts\hass': [Errno 2] No such file or directory

python -m homeassistant works, i.e.:
"C:\Program Files (x86)\Python35-32\python" -m homeassistant --open-ui

Windows 8.1, this maybe a Python (setup.py) script issue rather than HA. I've not had much luck with that on Windows (I've found py2exe more reliable).

As there is no more action especially from the reporter, I consider this issue as abandoned.

@fabaff are there any diagnostics that would help progress this?
I'm seeing this with Windows Python MiniConda 3.52 and hass 0.37.0.dev0. currently using python -m homeassistant --open-ui workaround.

I run into all sorts of road blocks when attempting to install home assistant on Windows with Python 3.6 (such as pycrypto compile errors), which means that the only viable version of Python which can run home assistant in is python 3.5.x. It took a while to hunt all of the required wheels down, but I finally got it all installed, only to run into this error when attempting to run hass.
I'm very thankful that Marauder0408 posted the command (python -m homeassistant) to run which gets things up and going on Windows with 3.5.x.
My personal opinion is that this bug should be fixed (or at least the documentation should be updated) before marking this issue as abandoned.
Not being able to run the "hass" command on Windows is a big issue.
Is there some magical solution to getting this all up and running on the latest Python on Windows that I'm missing?


text:
Add device action support to the fan integration

Add device action support to the fan integration.
Device actions are part of Device Automations, a new concept that was recently launched to make automations more user friendly.
Device automations consist of three different parts: triggers, conditions and actions. This issue is about the action part.
To get started with this issue, you will need to set up a Home Assistant development environment. The easiest approach is to get started using a dev container.
Once you have a development environment set up, run the following and follow the instructions:
python3 -m script.scaffold device_action

(This issue is part of #26979)

I'm gonna give this a try!

authors: balloob tmcarr


text:
Syntax error when trying to install HA (in Development environment)

Home Assistant release with the issue:

Latest fork from here (Jan 5th 2020)
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu 16.04
Integration:

https://developers.home-assistant.io/docs/en/development_environment.html
Description of problem:
Trying to install a dev version on my Mac running Ubuntu 16.04 (completely separate from Hassio on Pi) to develop and test out a component but get this error when I get to the $ script/setup step.
  ERROR: Command errored out with exit status 1:
   command: /home/test/home-assistant/venv/bin/python3 /home/test/home-assistant/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpll7muldw
       cwd: /home/test/home-assistant
  Complete output (21 lines):
  Traceback (most recent call last):
    File "/home/test/home-assistant/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
      main()
    File "/home/test/home-assistant/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/test/home-assistant/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 91, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-4ol420qe/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-4ol420qe/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-4ol420qe/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 237, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-4ol420qe/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 142, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 7, in <module>
      import homeassistant.const as hass_const
    File "/home/test/home-assistant/homeassistant/const.py", line 5
      __short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
                                                           ^
  SyntaxError: invalid syntax
  ----------------------------------------
ERROR: Command errored out with exit status 1: /home/test/home-assistant/venv/bin/python3 /home/test/home-assistant/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpll7muldw Check the logs for full command output.

Get this is the installation terminal.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

python3.5 -> Home Assistant requires at least Python 3.6.
As of the upcoming release, this requirement will be changed/raised to Python 3.7.
I would recommend upgrading Python to at least 3.7 for that matter.

This issue is solved by the above mentioned solution :)

authors: frenck springstan velocity-boy


text:
Ecobee climate/set_ fan_ mode doesn't work. Unsupported function. Works I'm every other ifttt smartthings, and openhab I implementation

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.27.2
Python release (python3 --version):
Python 3
Component/platform:
Ecobee
Description of problem:
Not implemented
Expected:
Set fan to on or auto or off
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

0.28 had lot of fixes for Ecobee....try that out.

I don't think the python library communicating with ecobee supports this
yet.

sep. 2016 16:38 skrev "arsaboo" notifications@github.com:

0.28 had lot of fixes for Ecobee....try that out.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/3313#issuecomment-246183292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP2koOwbyqeQmrIZJZ5EOrNyI6iW9yZAks5qpBE4gaJpZM4J58UF
.

I heard there's was new clients updates. Abut chance this was included in it?

version 33.3 can confirm still an issue

Yeah, just tested too. was hoping to solve it but couldn't. The thermostat
is the one big component in my house that isn't able to be fully automated
because of this :/ We sleep so much better with the fan constantly on at
night.
A lot more users also have ecobee now after black Friday. I'm sure others
have ran into this as well
On Nov 24, 2016 11:11 PM, "bcl1713" notifications@github.com wrote:

version 33.3 can confirm still an issue
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/3313#issuecomment-262881924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADPOW_s_j5RSGjNFK_FZZuoiUx2lNyXxks5rBm39gaJpZM4J58UF
.

no, still doesnt work balloo

This is not available in the underlying library, but could be implemented using the setHold of the ecobee API. Until it is added to the dependency, we cannot implement it into Home Assistant's ecobee platform.
References:

https://www.ecobee.com/home/developer/api/examples/ex7.shtml
https://www.ecobee.com/home/developer/api/documentation/v1/functions/SetHold.shtml
https://github.com/nkgilley/python-ecobee-api/blob/master/pyecobee/__init__.py

Tagging @nkgilley to see if he can implement this.


text:
Snapcast component broken

Thank you for creating this awesome project.
Snapcast was working pre version 11.
Home Assistant release (hass --version): 0.42.3
Python release (python3 --version): 3.4.2
Component/platform: Snapcast
Description of problem: Wont start/gives error
Expected: Working
Problem-relevant configuration.yaml entries and steps to reproduce:
media_player:
  - platform: snapcast
    host: 192.168.1.128

  - platform: mpd
    host: 192.168.1.128

Traceback (if applicable):
7-04-11 18:18:37 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.mpd
17-04-11 18:18:37 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform snapcast
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 153, in _async_setup_platform
    entity_platform.schedule_add_entities, discovery_info
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/snapcast.py", line 43, in setup_platform
    server = snapcast.control.Snapserver(host, port)
  File "/var/opt/homeassistant/deps/snapcast/control.py", line 164, in __init__
    self.synchronize()
  File "/var/opt/homeassistant/deps/snapcast/control.py", line 239, in synchronize
    for client in status.get('clients'):
TypeError: 'NoneType' object is not iterable

Additional info: The developer of Snapcast changed the communication protocol

Support for 0.11.1 is in the works. Likely in HA 0.43.

I can reproduce this error.
´´´
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ hass --version
0.45.1
´´´
´´´
May 29 21:15:57 raspberrypi hass[26532]: ERROR:homeassistant.components.media_player:Error while setting up platform snapcast
May 29 21:15:57 raspberrypi hass[26532]: Traceback (most recent call last):
May 29 21:15:57 raspberrypi hass[26532]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py"
, line 155, in _async_setup_platform
May 29 21:15:57 raspberrypi hass[26532]: entity_platform.schedule_add_entities, discovery_info
May 29 21:15:57 raspberrypi hass[26532]: File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
May 29 21:15:57 raspberrypi hass[26532]: yield self  # This tells Task to wait for completion.
May 29 21:15:57 raspberrypi hass[26532]: File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
May 29 21:15:57 raspberrypi hass[26532]: value = future.result()
May 29 21:15:57 raspberrypi hass[26532]: File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
May 29 21:15:57 raspberrypi hass[26532]: raise self._exception
May 29 21:15:57 raspberrypi hass[26532]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
May 29 21:15:57 raspberrypi hass[26532]: result = self.fn(*self.args, **self.kwargs)
May 29 21:15:57 raspberrypi hass[26532]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/snap
cast.py", line 43, in setup_platform
May 29 21:15:57 raspberrypi hass[26532]: server = snapcast.control.Snapserver(host, port)
May 29 21:15:57 raspberrypi hass[26532]: File "/home/homeassistant/.homeassistant/deps/snapcast/control.py", line 164, in init
May 29 21:15:57 raspberrypi hass[26532]: self.synchronize()
May 29 21:15:57 raspberrypi hass[26532]: File "/home/homeassistant/.homeassistant/deps/snapcast/control.py", line 239, in synchronize
May 29 21:15:57 raspberrypi hass[26532]: for client in status.get('clients'):
May 29 21:15:57 raspberrypi hass[26532]: TypeError: 'NoneType' object is not iterable
´´´

Yes. It will be broken until https://github.com/home-assistant/home-assistant/pull/7079 is merged.

Fixed in #7079

authors: FilipLigaarden happyleavesaoc m0nk33


text:
MQTT Fan oscillation switch displayed when not configured

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.52.0
Python release (python3 --version):
Python 3.6.1
Component/platform:
MQTT Fan
Description of problem:
Oscillation switch displayed on FAN view even if it's not configured.
Expected:
Oscillation switch shouldn't be displayed when oscilation topic is not provided.
Problem-relevant configuration.yaml entries and steps to reproduce:
fan:
  - platform: mqtt
    name: "smarthood fan"
    state_topic: "smarthood/fan"
    command_topic: "smarthood/fan/set"
    payload_on: "1"
    payload_off: "0"
    speed_state_topic: "smarthood/fan/speed"
    speed_command_topic: "smarthood/fan/speed/set"
    payload_low_speed: "1"
    payload_medium_speed: "2"
    payload_high_speed: "3"
    speeds:
      - low
      - medium
      - high
    retain: true
    qos: 0

@armills you've submitted PR #301 to fix same issue for z-wave fan. I'm wondering is it problem of front-end or mqtt-fan component itself.

That fix was to correct the frontend implementation, which wasn't behaving correctly. It looks like the problem here is that MQTT is always reporting a value for speed and oscillation, even when it's not configured. This one would be an easy fix if you can test it out to confirm it works. I believe all that needs to happen is these two lines should be indented in one level further so that the attributes aren't set unless a topic is configured:
https://github.com/home-assistant/home-assistant/blob/c37883c9a916accac51adec9540376328e91bdfc/homeassistant/components/fan/mqtt.py#L189
https://github.com/home-assistant/home-assistant/blob/c37883c9a916accac51adec9540376328e91bdfc/homeassistant/components/fan/mqtt.py#L205

Hello @armills.
It works!

Resolved with 0.57

authors: armills bastshoes


text:
added MQTT status ON/OFF response define.

Description:
Added MQTT status ON/OFF response define, the valve_template cant handle response with quote mark in it. When the MQTT payload using a json format it will be a disaster.
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):
switch:
  platform: mqtt
  name: "ESP8266 Switch"
  state_topic: "0007721e"
  command_topic: "5C:CF:7F:07:72:1E"
  payload_on: '{"action":"input","pin":4,"switch":1}'
  payload_off: '{"action":"input","pin":4,"switch":0}'
  status_on: '1'
  status_off: '0'
  optimistic: false
  qos: 0
  retain: true
  value_template: '{{ value_json.pin4 }}'

Checklist:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Signed-off-by: bingyuxq xyz50270@gmail.com

When the MQTT payload using a json format it will be a disaster.

value_template works fine for me.
- platform: mqtt
  state_topic: "home/binary_sensor/test"
  name: "MQTT Test Sensor"
  payload_on: "ON"
  payload_off: "OFF"
  value_template: '{{ value_json.state }}'

$ mosquitto_pub -h 10.100.0.32 -V mqttv311 -t "home/binary_sensor/test" -m '{"state": "ON"}'

You have placed your full message in payload_on: and payload_off: but the value which should represent the state in status_on: and status_off:.

@bingyuxq were you able to solve this by changing your configuration?

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.

authors: balloob bingyuxq fabaff


text:
Support for the PiFace Digital I/O module

Description:
Support for the PiFace Digital I/O module (Raspberry Pi add on board)
This is basically a port of the rpi_gpio component.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
binary_sensor:
  - platform: rpi_pfio
    ports:
      0:
        name: Motion sensor
      1:
        name: Doorbell
        invert_logic: true

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @basschipper,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

authors: basschipper homeassistant


text:
Changed the padding and margin values of the navbar.

After changing the values of padding and margin of nav-link, it now looks like this:

Solves #34

@Saksham-13 I think this closed due to an old issue with the templates, which is fixed right now.
let's take a look and see if it works.

repo: homebrew-ec-foss/homebrew-internethome


text:
Fix SSL wrapper usage example in Factory docstring

I believe a line in the SSL usage example has been missed in 5b745c377896d8e952b60aabbc47f2e5f1190574.

Wrong target repository

repo: homeworkprod-forks/irc


text:
req.raw.cf types broken in 3.12.4

What version of Hono are you using?
3.12.4
What runtime/platform is your app running on?
Cloudflare Workers
What steps can reproduce the bug?
import { Hono } from 'hono';

const app = new Hono();

type Variables = { userConfig: DataSchema }

app.use('*', async (c, next) => {
        const userConfig = { userCountry: c.req.raw.cf.country };
	c.set('userConfig', userCountry);
        await next();
});

export default app;

What is the expected behavior?
To get user country without type errors
What do you see instead?
In version 3.12.4, the following TypeScript error is thrown:
Property 'cf' does not exist on type 'Request'.     ts(2339)
Additional information
This was mentioned before on 3.7.4, but it was fixed.

Hi @berzanskaite
I can't reproduce it. It's not a bug.

Maybe your project setting is wronge. Try to make your project with npm create hono@latest.

I have the same issue in my project, also create hono seems to fail on codesandbox:
✔ Which template do you want to use? › cloudflare-workers
/usr/local/share/.config/yarn/global/node_modules/create-hono/bin:10787
          throw new DegitError(`could not find commit hash for ${repo.ref}`, {

No I mean I have the same issue as @berzanskaite, the create hono thing was just a sidenote as I wanted to try it on a fresh installation.

Sorry! The tsconfig.json is right? Should include "@cloudflare/workers-types" to types.
{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "strict": true,
    "lib": [
      "ESNext"
    ],
    "types": [
      "@cloudflare/workers-types"
    ],
    "jsx": "react-jsx",
    "jsxImportSource": "hono/jsx"
  },
}

Yes, the tsconfig is fine, I've also installed the "@cloudflare/workers-types": "4.20240129.0",  package and using hono 3.12.12.

@Zerebokep
Hmm. Weird. I will let you know if I find out.

@yusukebe problem exists if you have webworker in lib

authors: Zerebokep berzanskaite sunneydev yusukebe

repo: honojs/hono


text:
RPC supports middleware responses

What is the feature you are proposing?
Currently, the RPC mode does not support middleware response. The client can't handle the response from the middleware:

I'm not 100% sure, but perhaps we can implement it by modifying types.ts:
diff --git a/src/types.ts b/src/types.ts
index 3c7a53d..5e93fc1 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -190,13 +190,22 @@ export interface HandlerInterface<
     I3 extends Input = I & I2,
     E2 extends Env = E,
     E3 extends Env = E,
-    E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>
+    E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>,
+    // Response from Middleware
+    RM1 extends HandlerResponse<any> = any,
+    RM2 extends HandlerResponse<any> = any
   >(
     path: P,
-    ...handlers: [H<E2, MergedPath, I>, H<E3, MergedPath, I2>, H<E4, MergedPath, I3, R>]
+    ...handlers: [H<E2, MergedPath, I, RM1>, H<E3, MergedPath, I2, RM2>, H<E4, MergedPath, I3, R>]
   ): Hono<
     IntersectNonAnyTypes<[E, E2, E3, E4]>,
-    S & ToSchema<M, MergePath<BasePath, P>, I3, MergeTypedResponse<R>>,
+    S &
+      ToSchema<
+        M,
+        MergePath<BasePath, P>,
+        I3,
+        MergeTypedResponse<R> | MergeTypedResponse<RM1> | MergeTypedResponse<RM2>
+      >,
     BasePath
   >

It will be worth implementing, though the code will be very long.

Hey @kosei28 What do you think abou it?

This is exactly what I wanted!
However, merging this may cause type errors in many projects currently using Hono's RPC, so I think this should be considered carefully.

@kosei28 Thanks for the comment!

However, merging this may cause type errors in many projects currently using Hono's RPC, so I think this should be considered carefully.

Exactly. We don't have to hurry!

I think res should always include some sort of unknown response anyway, any route could return 500 if it throws an error or 502/504 if there's a proxy in the way, and even if middleware responses were included there's still throw new HTTPException which can't be picked up by typescript.

Hey guys any timeline on this? currently i have a authentication middleware but without this feature I am having to authenticate at every request to get typings correctly. Any work around that you can suggest will also be fine.

Also wondering if there's any update on this?

authors: KaelWD dvrfluxchat kosei28 lewisedc yusukebe


text:
feat(jsx/dom): introduce react-dom/client APIs and React.version

Fixes #2792
version
There seems to be a library that does conditional branching on the major version number of React.version.
This is like a UserAgent of a web browser (e.g. Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537. 36), which is a string for compatibility and somewhat unpleasant to use, and we do not recommend its use, but if this improves compatibility, it should be added.
createRoot / hydrateRoot
Some options are not yet supported, but they can be rendered in the way recommended by React since version 18, as shown in the following diff.
https://github.com/usualoma/hono-react-compat-demo/commit/38773555179ef54f8564ca1963720ac16f720987
The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code

@yusukebe How about including this in v4.4?

@yusukebe How about including this in v4.4?

Nice! Let's include this.

@usualoma
One thing. Please update the exports field in the jsr.json!

I'm fixing it, just give me a minute.

Sorry I'm late, fixed. 2e0dbca

@usualoma
Thank you! Now, I'll merge this into the next. The v4.4 will be released tomorrow!

authors: usualoma yusukebe


text:
Email notifications

Receive email notifications when

a user has added a new item
when you are running out of things on your list

Done

repo: honza/wishlist-app


text:
Custom theme config is not loading anymore

I used to load a custom lualine theme that is not in the themes list as below
      require('lualine').setup{
        options = {
          theme = require('helpers').getLualineTheme(),
          icons_enabled = true,
          component_separators = '',
          section_separators = ''
        },
        sections = {
         ...

getLualineTheme returns the same object as in any of the themes. With the recent change, it has stopped working.
An error is thrown at this line https://github.com/hoob3rt/lualine.nvim/blob/master/lua/lualine/highlight.lua#L32.
The error is as follow
Error in packer_compiled: ...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:43: ...e/pac...opt/lualine.nvim/lua/lualine/highlight.lua:32: bad argument #1 to 'pairs' (table expected, got nil)

related to #162


text:
🛑 FWAw is down

In 835d094, FWAw ($FWA_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FWAw is back up in 67f3bd9 after 21 minutes.

repo: hoopybe/uptime


text:
🛑 TPB is down

In 46acfd2, TPB ($TPB_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TPB is back up in e9d9e88.


text:
CB-2434 Add settings for AWS mappings

This change injects mock user/group-to-role IDB mappings from TemplatePreparationObject (provided by #5664 as mock settings) in a new KnoxIdBrokerConfigProvider. Limitations:

Could not be tested E2E with scenario "datalake & cloud storage locations" due to some blocker issues, but IDB mappings were correctly reflected in both CM and /var/run/cloudera-scm-agent/process/14-knox-IDBROKER/conf/gateway-reloadable.xml.

Pending on #5664 , will have to be rebased to rc-2.11 once that PR gets merged.

repo: hortonworks/cloudbreak


text:
ISSUE-538 Move transaction package from common to storage-core

This helps us to isolate storage-core with registry-common, which brings huge number of transitive dependencies especially from hadoop-client.

Along with this I would like to discuss regarding maintaining common modules - I'd like to see either of one:

split the project for maintaining common modules and place only common things (of course, require cross reviews)
require cross reviews on common modules (at least common and storage-*) - require each +1 from both side (SAM side, and SR side)

I admit it's an ideal view, but worth to consider. If we are not interested on doing this, please ignore.

DISCLAIMER: I'm working on shading SR modules from Streamline due to Avro version conflict, and found many modules depend only on storage-core. Without this patch we should include storage-core to shaded lib and have to deal with transitive dependencies. We will relocate problematic transitive dependencies for sure, but this patch would avoid the huge efforts.

Now I'm proposing non-shade approach, but I think this issue is still valid.

@satishd
Streamline has three usages on transaction module. Given that Streamline has to apply the latest Registry version because of #540 and #543, I'd like to address them (include this) altogether.
Please postpone merging this until next release if there's no resource/time for team to reflect the change to SMM.

@HeartSaVioR We can merge this PR once @arunmahadevan is also done with his review. We will make respective changes in SMM later once registry is released with these changes.

This one is approved by @arunmahadevan. #544 is the one @arunmahadevan is not reviewed yet.

authors: HeartSaVioR satishd

repo: hortonworks/registry


text:
More _HSTD status tweaks

Please modify/add/tweak _HSTD status messages.
What is missing:

Generic 'activation-related' messages:

_HSTD_ACTIVATION_SUCCESS - should fire when activation has finished and no errors occurred
_HSTD_ACTIVATION_ERROR - should fire when activation has finished with errors

The 2 above need to fire for any -t of hossted activate.

Hosts-related events and statuses

@AdheipSingh - status ?

authors: alex-bondarev-linnovate liorkesos

repo: hossted/cli


text:
turbo:load event not triggered

After a vanilla turbo visit, the turbo:load event is not triggered. Also :render, :frame-render, :frame-load don't work. However, turbo:before-fetch-response does work.
To reproduce:
document.addEventListener("turbo:load", () => console.log('turbo:load'));
Console message is displayed upon initial page load, but not after subsequent TURBO_STREAM visits.

I had the same issue. Just added below line to application.html.erb

I added that line to the header, but it didn't change the issue.

repo: hotwired/turbo


text:
Switch from TSLint to ESLint via @hover/javascript

Swap @patrichule/lint for @hover/javascript to get onto ESLint instead of TSLint
Switch yarn test over to use hover-scripts test and move tests into __tests__

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1a7a75c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage          ?   94.44%
=========================================
  Files             ?        2
  Lines             ?       72
  Branches          ?       11
=========================================
  Hits              ?       68
  Misses            ?        3
  Partials          ?        1

Continue to review full report at Codecov.

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: codecov-commenter jrolfs

repo: hoverinc/playwright-testing-library