not a branch

Having this the first time - could check out a lot of PRs with hub:
⋊> ~/g/w/app on master ⨯ hub checkout https://github.com/walleth/walleth/pull/235
fatal: Cannot setup tracking information; starting point 'friedger/87/upgrade2' is not a branch.

⋊> ~/g/w/app on master ⨯ hub --version                                                                  20:29:58
git version 2.15.1
hub version 2.3.0-pre10

it was working afterwards for the above PR - but just had this with another PR:
hub checkout https://github.com/ligi/PassAndroid/pull/193
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 17 (delta 7), reused 17 (delta 7), pack-reused 0
Unpacking objects: 100% (17/17), done.
From git://github.com/simontb/PassAndroid
 * [new branch]        close_nav_drawer_onBackPress -> simontb/close_nav_drawer_onBackPress
fatal: Cannot setup tracking information; starting point 'simontb/close_nav_drawer_onBackPress' is not a branch.

Perhaps this is an issue that something needs to be propagated to all servers first?! Let me know if there is more information I can provide.

@ligi Perhaps this is something about your git configuration? Can you take a look at git config -l --show-origin in your repo and paste us relevant information that might affect branches and tracking information (please scrub any personal/sensitive configuration).
Are you saying that this only happens once per PR, and then deleting the checked out branch name and trying to repeat the hub checkout command works without an error?
If you find this to be reproducable, you can use HUB_VERBOSE=1 env variable to enable debugging mode and get more information about where this might be failing.

Please let us know if this is still an issue. Otherwise I might close this since I can't really reproduce this and we haven't gotten similar reports. 🙇

I got the same error while trying to checkout PR. Here is the verbose output:
➜  alpakka git:(master) ✗ env HUB_VERBOSE=1 hub co https://github.com/akka/alpakka/pull/1022
$ git config alias.co
$ git help -a
$ git config --get-all hub.host
> GET https://api.github.com/repos/akka/alpakka/pulls/1022
> Authorization: token [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
< HTTP 200
{"url": ...
$ git rev-parse -q --git-dir
$ git remote -v
$ git rev-parse -q --git-path refs/heads/ennru_jms-samples-java
$ git fetch ennru +refs/heads/ennru_jms-samples-java:refs/remotes/ennru/ennru_jms-samples-java
$ git checkout -b ennru_jms-samples-java --track ennru/ennru_jms-samples-java
fatal: Cannot setup tracking information; starting point 'ennru/ennru_jms-samples-java' is not a branch.

And here is a relevant excerpt from the gitconfig of this clone:
➜  alpakka git:(master) ✗ git config -l --show-origin | grep ennru
file:.git/config        remote.ennru.url=git@github.com:ennru/alpakka.git
file:.git/config        remote.ennru.fetch=+refs/heads/ennru_csv-sample-java:refs/remotes/ennru/ennru_csv-sample-java
file:.git/config        remote.ennru.tagopt=--no-tags
file:.git/config        remote.ennru.fetch=+refs/heads/ennru_csv-sample-java:refs/remotes/ennru/ennru_csv-sample-java
file:.git/config        branch.ennru-ennru_csv-sample-java.remote=ennru
file:.git/config        branch.ennru-ennru_csv-sample-java.merge=refs/heads/ennru_csv-sample-java

Note that if I try to run hub co on a clean clone of alpakka then it all works. Here is the output of the same config command of a fresh clone where the command succeeded:
➜  alpakka-test git:(ennru_jms-samples-java) git config -l --show-origin | grep ennru
file:.git/config        branch.ennru_jms-samples-java.remote=git@github.com:ennru/alpakka.git
file:.git/config        branch.ennru_jms-samples-java.merge=refs/heads/ennru_jms-samples-java

I've just started receiving the same error:
~/p/tridactyl (master|✔) $ env HUB_VERBOSE=1 hub checkout https://github.com/cmcaine/tridactyl/pull/758
$ git config --get-all hub.host
> GET https://api.github.com/repos/cmcaine/tridactyl/pulls/758
> Authorization: token [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
< HTTP 200
{"url": ...
$ git rev-parse -q --git-dir
$ git remote -v
$ git rev-parse -q --git-path refs/heads/enhance_tabopen_container_completion
$ git fetch glacambre +refs/heads/enhance_tabopen_container_completion:refs/remotes/glacambre/enhance_tabopen_container_completion
$ git checkout -b enhance_tabopen_container_completion --track glacambre/enhance_tabopen_container_completion
fatal: Cannot setup tracking information; starting point 'glacambre/enhance_tabopen_container_completion' is not a branch.
~/p/tridactyl (master|●5) $ hub --version
git version 2.18.0
hub version 2.4.0

I still get this error reproducibly on multiple machines. It seems to be related to the user whose PR I am checking out. On the Tridactyl repo I can check out peff's, ELLIOTCABLE's, Susexe's, IsaacKhor's PRs but I get the same error above for all of glacambre's, gsbabil's, and antonva's commits. The pattern seems to be that the most prolific contributors are the ones whose PRs I cannot check out.
Here's my output of git config -l --show-origin:
file:/home/olie/.gitconfig	user.name=Oliver Blanthorn
file:/home/olie/.gitconfig	user.signingkey=Blanthorn
file:/home/olie/.gitconfig	push.default=simple
file:/home/olie/.gitconfig	push.followtags=true
file:/home/olie/.gitconfig	core.editor=vim
file:/home/olie/.gitconfig	color.status=auto
file:/home/olie/.gitconfig	color.branch=auto
file:/home/olie/.gitconfig	color.interactive=auto
file:/home/olie/.gitconfig	color.diff=auto
file:/home/olie/.gitconfig	color.ui=auto
file:/home/olie/.gitconfig	core.excludesfile=~/.gitignore
file:/home/olie/.gitconfig	diff.tool=icdiff
file:/home/olie/.gitconfig	difftool.prompt=false
file:/home/olie/.gitconfig	difftool.icdiff.cmd=icdiff --line-numbers $LOCAL $REMOTE
file:/home/olie/.gitconfig	log.decorate=auto
file:/home/olie/.gitconfig	log.date=relative
file:/home/olie/.gitconfig	log.graph=true
file:/home/olie/.gitconfig	merge.tool=vimdiff
file:/home/olie/.gitconfig	merge.conflictstyle=diff3
file:/home/olie/.gitconfig	merge.prompt=false
file:/home/olie/.gitconfig	alias.nicelog=log --graph --abbrev-commit --stat
file:/home/olie/.gitconfig	alias.loggraph=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'
file:/home/olie/.gitconfig	alias.lg2-specific=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
file:/home/olie/.gitconfig	alias.lg3-specific=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n''          %C(white)%s%C(reset)%n''          %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
file:/home/olie/.gitconfig	alias.innit=init
file:/home/olie/.gitconfig	commit.gpgsign=true
file:/home/olie/.gitconfig	url.git@github.com:.pushinsteadof=https://github.com/
file:/home/olie/.gitconfig	url.git@github.com:.pushinsteadof=git://github.com/
file:.git/config	core.repositoryformatversion=0
file:.git/config	core.filemode=true
file:.git/config	core.bare=false
file:.git/config	core.logallrefupdates=true
file:.git/config	remote.origin.url=git@github.com:cmcaine/tridactyl.git
file:.git/config	remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config	branch.master.remote=origin
file:.git/config	branch.master.merge=refs/heads/master
file:.git/config	branch.configSquished.remote=origin
file:.git/config	branch.configSquished.merge=refs/heads/configSquished
file:.git/config	branch.sourceRC.remote=origin
file:.git/config	branch.sourceRC.merge=refs/heads/sourceRC
file:.git/config	remote.larsks.url=git://github.com/larsks/tridactyl.git
file:.git/config	remote.larsks.fetch=+refs/heads/bug/mkstemp-fd-leak:refs/remotes/larsks/bug/mkstemp-fd-leak
file:.git/config	remote.larsks.tagopt=--no-tags
file:.git/config	branch.larsks-bug/mkstemp-fd-leak.remote=larsks
file:.git/config	branch.larsks-bug/mkstemp-fd-leak.merge=refs/heads/bug/mkstemp-fd-leak
file:.git/config	branch.haveyougotaflag.remote=origin
file:.git/config	branch.haveyougotaflag.merge=refs/heads/haveyougotaflag
file:.git/config	branch.configdocs.remote=origin
file:.git/config	branch.configdocs.merge=refs/heads/configdocs
file:.git/config	remote.antonva.url=git://github.com/antonva/tridactyl.git
file:.git/config	remote.antonva.fetch=+refs/heads/containers:refs/remotes/antonva/containers
file:.git/config	remote.antonva.tagopt=--no-tags
file:.git/config	remote.antonva.fetch=+refs/heads/containers:refs/remotes/antonva/containers
file:.git/config	branch.antonva-containers.remote=antonva
file:.git/config	branch.antonva-containers.merge=refs/heads/containers
file:.git/config	remote.glacambre.url=git://github.com/glacambre/tridactyl.git
file:.git/config	remote.glacambre.fetch=+refs/heads/implement_restart:refs/remotes/glacambre/implement_restart
file:.git/config	remote.glacambre.tagopt=--no-tags
file:.git/config	remote.glacambre.fetch=+refs/heads/implement_tristart_autocmd:refs/remotes/glacambre/implement_tristart_autocmd
file:.git/config	remote.glacambre.fetch=+refs/heads/read_about_config:refs/remotes/glacambre/read_about_config
file:.git/config	remote.glacambre.fetch=+refs/heads/read_about_config:refs/remotes/glacambre/read_about_config
file:.git/config	remote.glacambre.fetch=+refs/heads/js_pipes:refs/remotes/glacambre/js_pipes
file:.git/config	remote.glacambre.fetch=+refs/heads/impl_jumplist:refs/remotes/glacambre/impl_jumplist
file:.git/config	remote.glacambre.fetch=+refs/heads/smoothscroll:refs/remotes/glacambre/smoothscroll
file:.git/config	branch.glacambre-implement_restart.remote=glacambre
file:.git/config	branch.glacambre-implement_restart.merge=refs/heads/implement_restart
file:.git/config	branch.glacambre-implement_tristart_autocmd.remote=glacambre
file:.git/config	branch.glacambre-implement_tristart_autocmd.merge=refs/heads/implement_tristart_autocmd
file:.git/config	branch.movies.remote=origin
file:.git/config	branch.movies.merge=refs/heads/movies
file:.git/config	remote.cmcaine.url=git://github.com/cmcaine/tridactyl.git
file:.git/config	remote.cmcaine.fetch=+refs/heads/evalpipes:refs/remotes/cmcaine/evalpipes
file:.git/config	remote.cmcaine.tagopt=--no-tags
file:.git/config	remote.cmcaine.fetch=+refs/heads/evalpipes:refs/remotes/cmcaine/evalpipes
file:.git/config	remote.cmcaine.fetch=+refs/heads/configdocs:refs/remotes/cmcaine/configdocs
file:.git/config	branch.cmcaine-evalpipes.remote=cmcaine
file:.git/config	branch.cmcaine-evalpipes.merge=refs/heads/evalpipes
file:.git/config	branch.evalpipes.remote=origin
file:.git/config	branch.evalpipes.merge=refs/heads/evalpipes
file:.git/config	remote.Werkov.url=git://github.com/Werkov/tridactyl.git
file:.git/config	remote.Werkov.fetch=+refs/heads/fix-native-python:refs/remotes/Werkov/fix-native-python
file:.git/config	remote.Werkov.tagopt=--no-tags
file:.git/config	branch.Werkov-fix-native-python.remote=Werkov
file:.git/config	branch.Werkov-fix-native-python.merge=refs/heads/fix-native-python
file:.git/config	branch.kraft.remote=origin
file:.git/config	branch.kraft.merge=refs/heads/kraft
file:.git/config	remote.maxigaz.url=git://github.com/maxigaz/tridactyl.git
file:.git/config	remote.maxigaz.fetch=+refs/heads/master:refs/remotes/maxigaz/master
file:.git/config	remote.maxigaz.tagopt=--no-tags
file:.git/config	branch.maxigaz-master.remote=maxigaz
file:.git/config	branch.maxigaz-master.merge=refs/heads/master
file:.git/config	branch.glacambre-read_about_config.remote=glacambre
file:.git/config	branch.glacambre-read_about_config.merge=refs/heads/read_about_config
file:.git/config	remote.MoSal.url=git://github.com/MoSal/tridactyl.git
file:.git/config	remote.MoSal.fetch=+refs/heads/master:refs/remotes/MoSal/master
file:.git/config	remote.MoSal.tagopt=--no-tags
file:.git/config	branch.MoSal-master.remote=MoSal
file:.git/config	branch.MoSal-master.merge=refs/heads/master
file:.git/config	remote.jcrowgey.url=git://github.com/jcrowgey/tridactyl.git
file:.git/config	remote.jcrowgey.fetch=+refs/heads/set_key_prints_current_value:refs/remotes/jcrowgey/set_key_prints_current_value
file:.git/config	remote.jcrowgey.tagopt=--no-tags
file:.git/config	branch.jcrowgey-set_key_prints_current_value.remote=jcrowgey
file:.git/config	branch.jcrowgey-set_key_prints_current_value.merge=refs/heads/set_key_prints_current_value
file:.git/config	remote.ELLIOTTCABLE.url=git://github.com/ELLIOTTCABLE/tridactyl.git
file:.git/config	remote.ELLIOTTCABLE.fetch=+refs/heads/extra-colon-handling:refs/remotes/ELLIOTTCABLE/extra-colon-handling
file:.git/config	remote.ELLIOTTCABLE.tagopt=--no-tags
file:.git/config	branch.ELLIOTTCABLE-extra-colon-handling.remote=ELLIOTTCABLE
file:.git/config	branch.ELLIOTTCABLE-extra-colon-handling.merge=refs/heads/extra-colon-handling
file:.git/config	remote.caputchinefrobles.url=git://github.com/caputchinefrobles/tridactyl.git
file:.git/config	remote.caputchinefrobles.fetch=+refs/heads/css-structure-greenmat-theme:refs/remotes/caputchinefrobles/css-structure-greenmat-theme
file:.git/config	remote.caputchinefrobles.tagopt=--no-tags
file:.git/config	remote.caputchinefrobles.fetch=+refs/heads/css-structure-greenmat-theme:refs/remotes/caputchinefrobles/css-structure-greenmat-theme
file:.git/config	branch.caputchinefrobles-css-structure-greenmat-theme.remote=caputchinefrobles
file:.git/config	branch.caputchinefrobles-css-structure-greenmat-theme.merge=refs/heads/css-structure-greenmat-theme
file:.git/config	branch.caput-theme-mk2.remote=origin
file:.git/config	branch.caput-theme-mk2.merge=refs/heads/caput-theme-mk2
file:.git/config	branch.cmcaine-configdocs.remote=cmcaine
file:.git/config	branch.cmcaine-configdocs.merge=refs/heads/configdocs
file:.git/config	remote.sumnerevans.url=git://github.com/sumnerevans/tridactyl.git
file:.git/config	remote.sumnerevans.fetch=+refs/heads/doc-prettier-compliance:refs/remotes/sumnerevans/doc-prettier-compliance
file:.git/config	remote.sumnerevans.tagopt=--no-tags
file:.git/config	remote.sumnerevans.fetch=+refs/heads/css-prettier-compliance:refs/remotes/sumnerevans/css-prettier-compliance
file:.git/config	branch.sumnerevans-doc-prettier-compliance.remote=sumnerevans
file:.git/config	branch.sumnerevans-doc-prettier-compliance.merge=refs/heads/doc-prettier-compliance
file:.git/config	remote.sirn.url=git://github.com/sirn/tridactyl.git
file:.git/config	remote.sirn.fetch=+refs/heads/mac-nativeopen:refs/remotes/sirn/mac-nativeopen
file:.git/config	remote.sirn.tagopt=--no-tags
file:.git/config	branch.sirn-mac-nativeopen.remote=sirn
file:.git/config	branch.sirn-mac-nativeopen.merge=refs/heads/mac-nativeopen
file:.git/config	branch.sumnerevans-css-prettier-compliance.remote=sumnerevans
file:.git/config	branch.sumnerevans-css-prettier-compliance.merge=refs/heads/css-prettier-compliance
file:.git/config	remote.gsbabil.url=git://github.com/gsbabil/tridactyl.git
file:.git/config	remote.gsbabil.fetch=+refs/heads/gsbabil/windows-compiled-native-messenger-support:refs/remotes/gsbabil/gsbabil/windows-compiled-native-messenger-support
file:.git/config	remote.gsbabil.tagopt=--no-tags
file:.git/config	branch.gsbabil-gsbabil/windows-compiled-native-messenger-support.remote=gsbabil
file:.git/config	branch.gsbabil-gsbabil/windows-compiled-native-messenger-support.merge=refs/heads/gsbabil/windows-compiled-native-messenger-support
file:.git/config	branch.glacambre-js_pipes.remote=glacambre
file:.git/config	branch.glacambre-js_pipes.merge=refs/heads/js_pipes
file:.git/config	branch.glacambre-impl_jumplist.remote=glacambre
file:.git/config	branch.glacambre-impl_jumplist.merge=refs/heads/impl_jumplist
file:.git/config	branch.glacambre-smoothscroll.remote=glacambre
file:.git/config	branch.glacambre-smoothscroll.merge=refs/heads/smoothscroll
file:.git/config	branch.gsbabil-gsbabil/add-appveyor-windows-build-support.remote=git@github.com:gsbabil/tridactyl.git
file:.git/config	branch.gsbabil-gsbabil/add-appveyor-windows-build-support.merge=refs/heads/gsbabil/add-appveyor-windows-build-support
file:.git/config	branch.native-stdin.remote=git@github.com:peff/tridactyl.git
file:.git/config	branch.native-stdin.merge=refs/heads/native-stdin
file:.git/config	branch.completions.remote=git@github.com:IsaacKhor/tridactyl.git
file:.git/config	branch.completions.merge=refs/heads/completions
file:.git/config	branch.buffer.remote=git@github.com:Koushien/tridactyl.git
file:.git/config	branch.buffer.merge=refs/heads/buffer
file:.git/config	branch.patch-1.remote=origin
file:.git/config	branch.patch-1.merge=refs/pull/818/head

I then deleted these lines from .git/config:
[remote "glacambre"]
	url = git://github.com/glacambre/tridactyl.git
	fetch = +refs/heads/implement_restart:refs/remotes/glacambre/implement_restart
	tagopt = --no-tags
	fetch = +refs/heads/implement_tristart_autocmd:refs/remotes/glacambre/implement_tristart_autocmd
	fetch = +refs/heads/read_about_config:refs/remotes/glacambre/read_about_config
	fetch = +refs/heads/read_about_config:refs/remotes/glacambre/read_about_config
	fetch = +refs/heads/js_pipes:refs/remotes/glacambre/js_pipes
	fetch = +refs/heads/impl_jumplist:refs/remotes/glacambre/impl_jumplist
	fetch = +refs/heads/smoothscroll:refs/remotes/glacambre/smoothscroll

and I could then successfully check out any of glacambre's PR's (which previously didn't work).
The following lines were added to .git/config after checking out a PR with hub:
[branch "docfocus_blur"]
	remote = git@github.com:glacambre/tridactyl.git
	merge = refs/heads/docfocus_blur

i.e, the [remote "glacambre"] did not come back.
So I guess the questions to answer are:

Where did the [remote "glacambre"] section come from?
Why did it stop hub from working?

I'm very happy to help debug this further, @mislav. hub makes my life a lot easier (when it works!) :heart:.

Summary for anyone looking for a workaround:
cd [your project folder]
vim .git/config
# delete all lines in section [remote {user who you can't checkout from}], save and quit
hub checkout [url to PR]
# profit

@mislav I'm also hitting the same problem discussed here:
fatal: Cannot setup tracking information; starting point '...' is not a branch.

You may be interested in hearing that in hub 2.2.0 things worked for me, and after I bumped to 2.5.0 (to be sure I am on the latest to file #1827 and not complain about a problem in an old version...) it broke! :sob:
Perhaps this helps to shed more light on it:
git remote -v
gerrit	ssh://vorburger@git.opendaylight.org:29418/odlparent.git (fetch)
gerrit	ssh://vorburger@git.opendaylight.org:29418/odlparent.git (push)
origin	https://git.opendaylight.org/gerrit/odlparent (fetch)
origin	https://git.opendaylight.org/gerrit/odlparent (push)
vorburger	git@github.com:vorburger/odlparent.git (fetch)
vorburger	git@github.com:vorburger/odlparent.git (push)

hub checkout https://github.com/vorburger/odlparent/pull/204
fatal: Cannot setup tracking information; starting point 'vorburger/dependabot/maven/com.puppycrawl.tools-checkstyle-8.12' is not a branch.

@bovine3dom's provided details were very useful for me to understand where this problem is coming from, but I haven't had the time to fix this yet. In short, this happens on repos where hub checkout was used for the same git remotes, but with different versions of hub over time.
@vorburger Can you share with us this info? You can anonymize names of branches if you will:
git config -l --show-origin | grep vorburger

happens on repos where hub checkout was used for the same git remotes, but with different versions of hub over time.

oh so if I wiped this git repo and recloned then it work. I don't really mind doing that!

Can you share with us this info? git config -l --show-origin | grep vorburger

see https://gist.github.com/vorburger/37506778d44ff657357547c8860ae6d1 - HTH ?
BTW: No stress - I'm working around it by using the old hub version again, for now... :smile:

@vorburger If you do git remote rm vorburger && hub remote add -f vorburger vorburger/odlparent, it should work again with new hub version!
If possible, don't use hub 2.2 anymore. It has known bugs!

Just wanted to say simply deleting the remote (git remote rm REMOTE_NAME) fixed it for me; when you run hub checkout PR again, it will recreate the remote.


Need a simpler way to retrieve AutomationAccount Webhook in output

Is your feature request related to a problem? Please describe.
Need a simpler way to retrieve AutomationAccount Webhook in Output.
There seems to be an undocumented way to do this with ARM Template (JSON) and Microsoft.Automation/automationAccounts/webhooks@2018-06-30 but only API version 2015-10-31 is officially correct for Bicep and that also does not support the way Bicep is referencing the "uri" output.
See also:
#11973 (Closed, never solved) and #9506
Describe the solution you'd like
Below is a "workaround" that does not have bicep build errors. Outcome should be the same, but then a lot simpler.
param baseTimeUtcNow string = utcNow('u')
param automationAccountName string
param runbookName string
param webhookName string

resource automationAccount 'Microsoft.Automation/automationAccounts@2023-11-01' existing = {
  name: automationAccountName
}

resource automationAccountRunbook 'Microsoft.Automation/automationAccounts/runbooks@2023-11-01' existing = {
  name: runbookName
  parent: automationAccount
}

var tmpToken11 = uniqueString(subscription().id,resourceGroup().id,automationAccount.name, webhookName)
var tmpToken12 = uniqueString(resourceGroup().id,automationAccount.name, webhookName)
var tmpToken21 = uniqueString(subscription().id,resourceGroup().id,automationAccount.name, runbookName)
var tmpToken22 = uniqueString(resourceGroup().id,automationAccount.name, runbookName)
var webhookTokenPart1 = substring('${tmpToken11}${tmpToken12}',0,20)
var webhookTokenPart2 = substring('${tmpToken21}${tmpToken22}',0,22)

resource webhookRunbookAutomationAccount 'Microsoft.Automation/automationAccounts/webhooks@2015-10-31' = {
  parent: automationAccount
  name: webhookName
  properties: {
    expiryTime: dateTimeAdd(baseTimeUtcNow, 'P12M')
    isEnabled: true
    runbook: {
      name: automationAccountRunbook.name
    }
    uri: '${substring(replace(automationAccount.properties.automationHybridServiceUrl,'.jrds.','.webhook.'), 0, indexOf(automationAccount.properties.automationHybridServiceUrl,'.azure-automation.net/')+25)}webhooks?token=${webhookTokenPart1}%2b${webhookTokenPart2}%3d'
  }
}

output webhookUri string = '${substring(replace(automationAccount.properties.automationHybridServiceUrl,'.jrds.','.webhook.'), 0, indexOf(automationAccount.properties.automationHybridServiceUrl,'.azure-automation.net/')+25)}webhooks?token=${webhookTokenPart1}%2b${webhookTokenPart2}%3d'

This API is basically broken. It might help if more people complain towards the team responsible for the API rather the Bicep team. The correct way that this API should work is that you do not have to define uri property and the uri can be retrieved with list*() function. Currently when you do not specify the uri random webhook is generated but it is returned only the first time on initial deployment of the resource. After that there is no way to get the webhook. Their example on Docs is even teaching bad practices of putting the URI in the output of deployment which means anyone with reader access will be able to see that value and execute the runbook without having permissions.
I have already provided this feedback to the team responsible but they haven't committed if they will fix it.

output webhookUri string = webhookRunbookAutomationAccount.properties.uri

This does not work. Hence the "workaround".
Next, it should also be repeatable for the same Webhook-name. So even if they would "fix" the issue, even then we need a "Redeployable" version. Yes I know, might not be secure, but at least it works.

@slavizh

It might help if more people complain towards the team responsible for the API rather the Bicep team. The correct way that this API should work is that you do not have to define uri property and the uri can be retrieved with list*() function.

What is the proper way of communicating to the RP-Team?
For "solutions" I see on Community Forums that the RP-Team responded and they point to API 2018-06-30 but Bicep is not accepting that.

Yes, that is another issue that I have flagged. They know that the current preview version published does not work.
I am not sure if I can share the contacts so I will just e-mail try to send them this thread if they can have a look and contact you if needed.

Keep in mind in bicep you will get warning for API version 2018-06-30 but that does not constrain to use it. Warnings can be ignored.

Hello Everyone, just to add here that I have tested the experimental feature and I was able to fetch the URI on my test using bicep api version 0.25.53

Hello all,
Just to add

Note that in your workaround, you are setting the uri declaratively and without using cryptographic randomness, which means that your webhook URI may be guessable to someone who knows your resource names, or accessible to someone within your subscription who shouldn't have access to it (e.g. anyone who has access to view deployment history). There are ways to make this more secure - I just wanted to call this out in case it wasn't something you were aware of.
I posted in the original issue, but if you get a chance, it would be interesting to test whether the symbolicNameCodegen experimental feature makes a difference here: https://github.com/Azure/bicep/blob/main/docs/experimental-features.md#symbolicnamecodegen
If it works, I would expect this to allow you to simplify to just:
param baseTimeUtcNow string = utcNow('u')
param automationAccountName string
param runbookName string
param webhookName string

resource automationAccount 'Microsoft.Automation/automationAccounts@2023-11-01' existing = {
  name: automationAccountName
}

resource automationAccountRunbook 'Microsoft.Automation/automationAccounts/runbooks@2023-11-01' existing = {
  name: runbookName
  parent: automationAccount
}

resource webhookRunbookAutomationAccount 'Microsoft.Automation/automationAccounts/webhooks@2015-10-31' = {
  parent: automationAccount
  name: webhookName
  properties: {
    expiryTime: dateTimeAdd(baseTimeUtcNow, 'P12M')
    isEnabled: true
    runbook: {
      name: automationAccountRunbook.name
    }
  }
}

// note that outputting a secure value is not generally recommended, because it gives anyone who can view your deployment history access to the value
output webhookUri string = webhookRunbookAutomationAccount.properties.uri

This worked for me:
https://github.com/Azure/bicep/blob/main/docs/experimental-features.md#symbolicnamecodegen

@hribeiro-msft it is still workaround for non-working RP. You should not be defining your own webhooks and you should be able to get the URI with list*() function.

So to summarize and confirming what @slavizh says, I tried putting this into bicepconfig.json
{
    "experimentalFeaturesEnabled": {
        "symbolicNameCodegen": true
    }
}

and using this in the Bicep file
output webhookUri string = webhookRunbookAutomationAccount.properties.uri

This indeed works. But only for the first time the Deployment is run.
The second time I deploy the same Bicep it gives an empty string ("") in the output.
Further, how do I get everone in an Enterprise to start using symbolicNameCodegen": true
When someone forgets, it's not working. As it's "experimental" what other consequences might it have for other resources deployed? Will symbolicNameCodegen": true become the default soon?
So then the endresult is that same: it's not working. I have to use the original workaround I posted (and yes, I know it's not a token generated in a secure way, but I use a PrivateEndpoint for the AutmationWebhook, so that is less of an issue).

This indeed works. But only for the first time the Deployment is run. The second time I deploy the same Bicep it gives an empty string ("") in the output.

Thanks for sharing, that is good to know - it doesn't sound like a good workaround then, because it doesn't allow you to write declarative logic.

Further, how do I get everone in an Enterprise to start using symbolicNameCodegen": true When someone forgets, it's not working. As it's "experimental" what other consequences might it have for other resources deployed? Will symbolicNameCodegen": true become the default soon?

I would definitely not suggest having anyone enable an experimental feature across an enterprise! The underlying functionality is no longer experimental, this is just the easiest way to A/B test whether it makes a difference. There are other ways of enabling the same functionality without turning on an experimental feature.

So then the endresult is that same: it's not working. I have to use the original workaround I posted (and yes, I know it's not a token generated in a secure way, but I use a PrivateEndpoint for the AutmationWebhook, so that is less of an issue).

I agree with @slavizh - it feels like the only viable simple + secure option is for the RP to implement a list*() method.


Enabling Sass causes build.html_css to hang

#182 Following this quick issue, which instructs to put this.ENABLE_SCSS = true; in the project.config.ts file.
Once I do that and I execute any script to dev on, the build process hangs indefinitely on build.html_css and node.exe sits at about 13% processor and no memory usage changes.
Digging further into build.html_css and output log info I've determined it hangs at this point:
function processAllExternalStylesheets() {
  //...snip...
  return stream.pipe(gulp.dest(Config.CSS_DEST));  <=== Does not continue after this
}

Thanks for the help in trying to track this down

We were merging in another project into the seed and one of our scss was importing a file that wasn't available.
It was painful to track that down, too bad the build process doesn't yell out that it's missing a file instead of just hanging on the build.

How have you managed to find out which file was causing the issue?

Maybe these are related to #292?

Not sure, I'm new to SASS so still trying to figure out how the pieces fit together :)

Still having issues after #292 was fixed?

Yes I still get it every now and again, but I'm trying to merge another project into this one with various dependencies and I'm wondering if it isn't the scss files from that other projects that are faulty. I sometimes need to manually delete the generated css folder and re run npm start to fix it...

Late to the show, but I found this when trying to fix my hanging problem. Go through all your scss files to make sure a variable isn't referencing something that doesn't exist anymore.
I got this error when I moved from bootstrap to MDL, and there was a reference that didn't exist anymore. Instead of an npm error, build.html_css would just hang. After checking all my scss files, I found several references that didn't exist anymore. Fixing them fixed the build from hanging.


Is this project still active?

Is this project still active?

Not very. But it has a busy community and is not allowed to get too broken with respect to working with ArduPilot.

Why is the project deprecated? It's not working well with newer python versions anymore so unless updates will be done this rather popular project just exists to generate confusion for newbies.

Because the people who developed it were paid, and then no longer paid. There are alternatives like MAVSDK that are better supported, but are tested against PX4. There is ad-hoc support from various users and developers including many in the ArduPilot community, but not official support.
Upshot, there is no one who owns this, but enough people use it and can keep it going.
If you discover a specific problem post an bug report and cross post the the gitter channel for discussion. That is the best way to get it addressed.

@hamishwillee Thanks for the reply. My (and others) problem is mostly that it's very unclear which projects are actively maintained causing us to lose a lot of time having to sieve through all the available options. It would be helpful if the top of the readme just stated that this project is deprecated and will not work with modern python interpreters anymore.
I know that it's a ungrateful to all the hard work that you open source maintainers do, but it's genuinely very time-consuming and frustrating that all these library "choices" ultimately lead to nowhere instead of just a bright red arrow pointing to mavsdk-python. I have lost at least 6 hours testing stuff only to find out that you just can't get it to run without downgrading my OS to Ubuntu 18.04 and running Python3.6 which is not really something I would like to restrict the rest of my software stackt o.

Fair enough. @peterbarker @mrpollo It would be good to make a support statement about this project - something along the lines of:

This project does not have an active maintenance team, but does have significant community support and use.
For support options see: [Link] (probably gitter)
Applicants with Python and DroneKit experience are welcome to apply for a maintainer position [link where?]

Maintainers are welcomed, please apply by creating a GitHub issue and listing the reasons why you want to help, and we will be granting committer access to folks who are interested in helping.
Does this help?

I installed on Ubuntu 20.04 LTS that comes with Python 3.8 using the https://dronekit-python.readthedocs.io/en/latest/contributing/developer_setup_linux.html instructions (but for Python3). I also installed ArduPilot using current structions.
I then modified the helloworld in the getting started to use the connection string <IP_ADDRESS>:14551, use print() (not necessary) and disable dronekit-sitl (not sure if that runs on Python 2). This worked fine:
#print "Start simulator (SITL)"
#import dronekit_sitl
#sitl = dronekit_sitl.start_default()
#connection_string = sitl.connection_string()

# Import DroneKit-Python
from dronekit import connect, VehicleMode

#connection_string = 'tcp:<IP_ADDRESS>:5760'
connection_string = '<IP_ADDRESS>:14551'

# Connect to the Vehicle.
print("Connecting to vehicle on: %s" % (connection_string,))
vehicle = connect(connection_string, wait_ready=True)

# Get some vehicle attributes (state)
print("Get some vehicle attribute values:")
print( " GPS: %s" % vehicle.gps_0)
print(" Battery: %s" % vehicle.battery)
print( " Last Heartbeat: %s" % vehicle.last_heartbeat)
print( " Is Armable?: %s" % vehicle.is_armable)
print( " System status: %s" % vehicle.system_status.state)
print( " Mode: %s" % vehicle.mode.name )    # settable

# Close vehicle object before exiting script
vehicle.close()

# Shut down simulator
#sitl.stop()
print("Completed")

I then ran the mission_basic example here: https://dronekit-python.readthedocs.io/en/latest/examples/mission_basic.html
That worked fine too:
python3 mission_basic.py --connect '<IP_ADDRESS>:14551'
Connecting to vehicle on: <IP_ADDRESS>:14551
Create a new mission (for current location)
 Clear any existing commands
 Define/add new commands.
 Upload new commands to vehicle
Basic pre-arm checks
Arming motors
 Waiting for arming...
Taking off!
 Altitude:  0.002
 Altitude:  0.002
 Altitude:  0.002
 Altitude:  0.13
 Altitude:  2.036
 Altitude:  4.706
 Altitude:  6.936
 Altitude:  8.519
 Altitude:  9.561
Reached target altitude
Starting mission
Distance to waypoint (0): None
Distance to waypoint (1): 79.12361098829477
Distance to waypoint (1): 78.52048617347582
Distance to waypoint (1): 76.47935934706021
Distance to waypoint (1): 72.25455364740925
Distance to waypoint (1): 65.62748730820536
Distance to waypoint (1): 56.7901708625966
Distance to waypoint (1): 46.58611471205202
Distance to waypoint (1): 35.83533114082336
Distance to waypoint (1): 25.11513014056162
Distance to waypoint (1): 15.261418888859415
Distance to waypoint (1): 7.316937665009313
Distance to waypoint (1): 2.2171961091584462
Distance to waypoint (2):<PHONE_NUMBER>210931
Distance to waypoint (2):<PHONE_NUMBER>0042782
Distance to waypoint (2):<PHONE_NUMBER>5152107
Distance to waypoint (2):<PHONE_NUMBER>7648008
Distance to waypoint (2): 90.72288898673054
Distance to waypoint (2): 79.26811001667626
Distance to waypoint (2): 67.55722851505368
Distance to waypoint (2): 55.72394782858215
Distance to waypoint (2): 43.72371470581943
Distance to waypoint (2): 31.6677941054081
Distance to waypoint (2): 23.0294095078316
Distance to waypoint (2): 12.899359772946926
Distance to waypoint (2): 5.3749532479888105
Distance to waypoint (2): 1.4969698710149022
Distance to waypoint (3): 95.88809350297983
Skipping to Waypoint 5 when reach waypoint 3
Distance to waypoint (5):<PHONE_NUMBER>649245
Exit 'standard' mission when start heading to final waypoint (5)
Return to launch
Close vehicle object

@YacobBY As per ^^^ this works for me on a valid version of Python (3.8) with very minor modifications. It may be that you're using the wrong/incorrectly documented string, or that there other parts I am not testing that are failing. I'd be interested in knowing what you are finding fails before adding a note that says it doesn't work.
@mrpollo I still think it worth having a note that we need more maintainers. It would also be well worthwhile updating all the instructions for Python 3 and Ubuntu 20.02 or 22.02.

hey @hamishwillee thanks for the ping, I agree with your assessment, Python 3 support exists but its not a good experience for everyone. If anyone is interested in helping please apply to the position.

@hamishwillee Thanks for updating the Readme.
I don't want to start a debate about it but here's my newcomer experience:

Open this project at https://github.com/dronekit/dronekit-python
Click the "Quickstart" link
Do the install stuff at the top of the quickstart
Try to run the "Basic “Hello Drone”" script
The Script still uses Python 2 syntax for printing and is not even Python 3 compatible

I'm sure I could easily get this to work using the adjustments you provided, however a less experienced developer that just wants to start experimenting with drones would not have this knowledge and it would cost them a lot of time. A quickstart guide should allow a newcomer to rapidly start using a project, especially since Dronekit was made to simplify drone progarmming.
In any case I have since moved on to using MavSDK-Python. This does have slightly more complex syntax and looks less appealing than dronekit but the provided examples and tutorials do (mostly) work. The fragmentation between all these different drone programming libraries doesn't seem to add to the developer experience though.

@YacobBY Absolutely agree.
This is a community supported project now, so if you'd like to contribute fixes like that you'd be most welcome. Or go on the gitter channel and ask other members to help. I might do it at some point, but I'm no longer working in this project and have far too much to do that people will pay me for. I would take the time to review someone elses' doc updates though.
I do like Dronekit-Python because I can extend it myself with only limited Python skills. But MAVSDK is a much better supported project, so IMO so if I had to work in Python I would either use that or Pymavlink.

Another great option is https://github.com/Auterion/libmav-python

Another great option is https://github.com/Auterion/libmav-python

Great potential, but a long way to go. It's a message sender/receiver with no microservice support, which you would have to implement yourself. Also docs quite limited.
I'm going to have a play with it sometime.

@morzack Is co-ordinating review and such now. Closing this as "starting to be more active again".


Message sent successfully in logs but not received

Message sent successfully in logs but not received.
I also checked in the phone app and there is no message sent.

I open the browser (showBrowser:true) , I see the message initialization but stop at the chat frame and don't click the send button

Hello,
I've tested here with the  wbm version 1.1.16 and it seems to work. Could you inspect the send button and double check if the Puppeteer selector is correct?
To check the selector open the filenode_modules/wbm/src/api.js and check/change the constant SEND_BUTTON with the correct css selector:
SEND_BUTTON: 'div:nth-child(2) > button > span[data-icon="send"]'

Thank you for help.
I use version 1.1.16 now. and check correct css selector SEND_BUTTON.
I change page.waitFor(1000) -> page.waitFor(10000) then can send first 2 numbers in list of 4 numbers.
2 numbers after the browser stops at texting doesn't press the send button.
I use server window10 2016 have 4gb ram and 2 core

So have you solved your issue? If yes, could you please close this issue?

I'm trying to solve the problem, maybe it's the server's network or puppeteer.


Project doesn't build in VS 2017

@KN4CK3R
Compiling instructions for this project suggest to use version 2017, but commit 8cee86ff has added features that only work in C# 8.0. I don't use C# very much, but it looks to me like VS 2017 is using C# 7.0.  Is there a way to get this to compile in 2017?

you can install the latest c# compiler from nuget, should work on the reclas project https://www.nuget.org/packages/Microsoft.Net.Compilers/

I've updated Microsoft.Net.Compilers to v3.4.0 with nuget, and also installed .NET 3.0 dev to work with that version.  Now the project refuses to load because I don't have v142 build tools.
https://stackoverflow.com/a/59141713 this seems to say that it's not possible to get v142 build tools in VS 2017?

I've updated Microsoft.Net.Compilers to v3.4.0 with nuget, and also installed .NET 3.0 dev to work with that version. Now the project refuses to load because I don't have v142 build tools.
https://stackoverflow.com/a/59141713 this seems to say that it's not possible to get v142 build tools in VS 2017?

im guessing thats to build the NativeCore, have you tried changing platform toolset to 141?

after that, you will need to right-click the NativeCore project and re-target the SDK to the latest version you have installed

I appreciate your help, but I've just rolled back to before the commit 12 days ago, and everything loads and compiles fine now.  There were too many errors for me to figure out how to get it working.
I think you're right, that the readme shouldn't suggest people download VS2017 and then go through this to get it working.
Thanks

Right, VS 2017 isn't enough anymore. I will update the readme.


can't pass tests because of 'No such contact' tried it in console and it worked

Challenge Profile Lookup has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

//Setup
var contacts = [
    {
        "firstName": "Akira",
        "lastName": "Laine",
        "number": "0543236543",
        "likes": ["Pizza", "Coding", "Brownie Points"]
    },
    {
        "firstName": "Harry",
        "lastName": "Potter",
        "number": "0994372684",
        "likes": ["Hogwarts", "Magic", "Hagrid"]
    },
    {
        "firstName": "Sherlock",
        "lastName": "Holmes",
        "number": "0487345643",
        "likes": ["Intriguing Cases", "Violin"]
    },
    {
        "firstName": "Kristian",
        "lastName": "Vos",
        "number": "unknown",
        "likes": ["Javascript", "Gaming", "Foxes"]
    }
];

function lookUpProfile(firstName, prop){
// Only change code below this line

  for (var i=0 ; i<contacts.length ; i++) {
    if (contacts[i].firstName === firstName) {
      if (contacts[i].hasOwnProperty(prop)) {
       return(contacts[i][prop]);
      }
      else {
        return 'No such property';
      }
    } else {
      return 'No such contact';
    }
  }

// Only change code above this line
}

// Change these values to test your function
lookUpProfile("Akira", "likes");

Hi, @zakhttp, thanks for reporting, but unfortunately your code is not quite correct (you return "No such contact" if the first contact does not match firstName).
Please seek assistance with writing code in the HelpJavaScript chat room if you get stuck.


Typo: affect -> effect.

Please provide the following information:
Summary
Typo fix from affect -> effect.
Issue link
None
Test Cases
Additional Notes

Thanks @eddieparker for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Adding a pending label until you've had a change to complete the contribution license agreement :)

Hi @eddieparker! Thanks again for your contribution.
Would you be open to completing the conributor license agreement linked above https://github.com/mattermost/desktop/pull/854#issuecomment-416809008 ? It's a standard procedure for many open source projects.
If you have any questions or concerns, don't hesitate to let us know.
We're glad to have you join our growing community! :)

I don't think I want to sign that license agreement.  I'll just close this pull request instead.  Thanks anyways!


Add aliases backend persistence and add aliases to FDW import flow

There are a few changes that should be discussed here. I've decided to use one JSON type column instead of two text type ones. This column is called aliases and has the following structure:
{
  "table_name": "aliased table name",
  "columns": {
    "one_column": "one alias",
    ...
    "nth_column": "another alias"
}

The interface at api/v1/tables/<table name> endpoint has been kept the same, so no front end changes are required.
I've also used this information in the common data import flow so that imported datasets will keep they're aliases.

See https://github.com/cartodb-org/cartodb/pull/129


More feedback (mainly TROX)

Installed 1.0 now and tried to start to migrate to this for "production".
As I said before I'm super happy with this integration and now stuff seems stable and works great.
Below is some feedback and I think I have mentioned some things before, however I now used this a bit more and trying to give some more perspective.

For me this is really top 1, 2 and 3 priority. Would really, really, be great if there could be some way make trox work with selected unit of measurment instead of converting to m3/s. Prefered unit may be personal, based on country or type of installation, but for me, everything is in l/s and this is what's displayed in graph:s etc. and having to manually convert to/from m3/h when displaying or changing data has already made me do a few errors.

This is just a minor thing, but I still think the most common use scenario is to set flow to an actual number, not to a percentage of nominal flow. I can do both now, but the one I used most is in "Configuration" section, not "Control".

Just changing dropdown for configuration generates a message in "logbook", should it really do this since  I doesn't change anything? Also, if I do change a value, nothing is written in logbook (I think at least "old casa" wrote in logbook when I changed values, and it's really nice to have this to keep track of changes done....

About Casa:
I'm not able to add R15, or actually I can but no entities show up...  but if I input exactly same data and add it as R4, it's added and all entities show up.
I'll continue to use and test and my goal for Chrismas hollidays is to write an file for my SDM630 Energy meters and my Grundfos  pump, then can I switch completely to this integration
Thanks again for your work. Let me know if you would prefer that I make separate issues in future....  I think this is maybe a better way now that everything get more stable...

I would change to l/s if it was a HA official unit. But it's not. I think many people want this, so the only way to get it is to push this as an issue in the official HA-channels!
Trox TVE only accepts setpoint as percent on register 0. This is tpical for all dampers I have encountered. Where I've wanted the same as you, I've had to convert to percent as well. The parameters in configuration are for configuration and max/min values. Not for control
For me, setting any drop down value, or activating switching will be logged. Changing numeric values are not logged in any of my integrations. I think this is all defined by Home Assistant defaults, and not something I can change.
CASA R15 had a bug, will release with fix

I understand about l/s and could try to run this through the official HA-channels, but with latest change it seems like now there is actual support for l/s if this is the setting for device?

I understand what you say and it seems that you have a lot of more experience with this types of units than me. Maybe I'm using my units in a wrong way and I will try to understand this better.... I have used the qvmin to control the flow based on actual values (as in 5.2.3 in manual)  and this was based on my communication with trox people... I'll investigate this more....

Below is and image for the "old casa" integration, where I a) choose "Home exhaust speed" b) change value

The value change is logged here, but not in new integration. Not a big issue and I really don't know how logger is supposed to work or what's possible. I only think that from a logical point of view it would make sense to log any actual changes to the device and less important to log any interaction with UI that doesn't change values. But I understand  if this is beyond your control.
4. I can confirm that this is now working.

I also tried to create a new entry with wrong slave id and the behavior now is much better, device is created, but fails to initialize:

...and after pressing configure and entering correct id, everything is "solved". NICE! :)

About l/s - it’s possible to have anything as a unit, you could use the units «awesomeJakobs» if you wanted to. But just like «l/s», HA wouldn’t know what to do with it, except add it after the numbers. With supported units, HA allows the user to select conversions to other units etc. So when possible, supported units shouod be preferred.

In this case I thought I had to select one type as default, but I figured how I could change it dynamically, so there you go - we’ll use the same as the device.
2. Some units use memory that shouldn’t be written often for these types of values. I guess you leave the percentage sp at 0 then, and control with minimum flow? If that works then so be it…
3. I’ll have a look at it when I have more time, other priorities forward. I really have no idea how this works, so need to read up a bit…
Great that the other stuff is working :)

Den mån 16 dec. 2024 kl 00:49 skrev eriknn @.***>:

About l/s - it’s possible to have anything as a unit, you could use
the units «awesomeJakobs» if you wanted to. But just like «l/s», HA
wouldn’t know what to do with it, except add it after the numbers. With
supported units, HA allows the user to select conversions to other units
etc. So when possible, supported units shouod be preferred.

In this case I thought I had to select one type as default, but I figured
how I could change it dynamically, so there you go - we’ll use the same as
the device.

Ok this is how I thought it was now. Great solution and works for me. Let's
hope HA officially supports l/s in future also.

Some units use memory that shouldn’t be written often for these types
of values. I guess you leave the percentage sp at 0 then, and control with
minimum flow? If that works then so be it…

Yes, this is correct. This is how I do now and to my understanding, this is
the suggested way to do this by trox. Percentage can not even be set
locally on device, only via modbus. For local regulation only changing
Qvmin is supported for fixed flow.
Off course same result can be achived by changing register 0 also.

I’ll have a look at it when I have more time, other priorities forward.
I really have no idea how this works, so need to read up a bit…

Ok, this is absolutely not a big issue.

Great that the other stuff is working :)
—
Reply to this email directly, view it on GitHub
https://github.com/eriknn/ha-modbus_tcpip/issues/3#issuecomment-2544206252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAY5VFRB2T4MHMQEWWQAU32FYIQLAVCNFSM6AAAAABTSY46CWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUGIYDMMRVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you are running fixed flow, then you can set qmin = qmax.
User manual 5.2.3 doesn't intend to change the setpoint alot (maybe you don't either)
<IP_ADDRESS> Setting the entire control range for the
control input signal of the central building
management system
If the volume flow rate is to be scpecified by the central BMS across the entire control range, Qvmin must be set to 0 m³/h and Qvmax to Qvnom.

This would be my preferred way to control the VAV.

Here you see how parameter 0 is designed to be used for "dynamic control". In practice, this is probably not a problem, but you don't want to write a new value to EEPROM-values every 10 minutes or so...

I’m closing this as it had many points, and most should be fixed. Feel free to raise new issues - I’m pretty sure there’s room for more improvements :)


Run a callback function after a node is ready to accept connections

We should implement a callback mechanism to notify the users after the node is fully started. See this comment for reference: https://github.com/buraksezer/olric/issues/9#issuecomment-588569127

Done in 68e46b677db26045d7cae810e63d9d16fc49e275


How can one provide includePaths (File to import not found or unreadable)

I have Vue CLI project, so I use vue.config.js and I am providing paths to SASS so it knows where to look for dependency files
includePaths: [
          path.resolve(__dirname, 'src/styles'),
          path.resolve(__dirname, 'src/WS_UIkit/src/styles'),
        ],

I am not familiar with this jest transformers, so I do not know whether it takes this configuration into account.. because it seems that it is not :shrug:
So I am looking for another way to provide this config to SASS but I didn't find it... it seems that SASS does not use some kind of sass.config.js or similar.
Thanks for any hints :pray:

@luckylooke- can you provide a demo project so I can reproduce this? thanks!

uff.. give me some time.. I need to create one isolated


When browser accepts German language, show message

In this case, show a quick info message that I can speak German too 😋

Resolved by #110


Support sending 1 email to all addresses in 'to' field with emails visible

Currently will send an individual email to each address.

This is now resolved with the v0.2.0 release.


Don't complain about "initAsync called twice" when hot reloading

Is your feature request related to a problem?
Similar to #113 — every time my React Native app is loaded, reloaded, or the base layout changes (we're using expo-router), PostHog throws up a giant warning:

PostHog.initAsync called twice with the same apiKey. The first instance will be used.

It would be nice to disable this message when __DEV__ is true.
Recoil, a state management library for React, had a similar behavior with singletons and hot reloading and solved this by allowing developers to add a RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=false setting: https://github.com/facebookexperimental/Recoil/issues/733
Describe the solution you'd like
Some kind of setting, maybe in PostHogProvider, like dangerouslyIgnoreReinitialization or iKnowWhatImDoing={__DEV__} or something, that removes this warning.
Describe alternatives you've considered

Patching the package with patch-package

Related sub-libraries

[ ] All of them
[ ] posthog-web
[ ] posthog-node
[ ] posthog-react-native

Additional context
<3

seconding this. pretty harmless, but it makes it hard to read other logs that I actually want to read :(
@statico are you still patching the package on your end or have you found any other workarounds?

@hikchoi Yep, still patching this and a few other messages. Previously with patch-package, now with pnpm's built-in patcher.

Maybe the solution here is to patch the Router and not call PostHog.initAsync again when a hot reload just happened, you can do that via env. var. (similar to 113) or a global variable that survives hot reload.
We already do that here but if the whole Provider gets recreated, this field is also gone, the solution would be to depend on an external global variable.

I was getting this error and solved it by putting PH provider at the very top of the RootLayout, and moving everything to a new  child component. I had some auth states changing which were causing PH provider to reload. So my app now looks like this:
`const RootLayout = () => {
return (
<PostHogProvider
autocapture={{
captureScreens: false,
}}
apiKey={process.env.EXPO_PUBLIC_POSTHOG_API_KEY}
options={{
host: process.env.EXPO_PUBLIC_POSTHOG_HOST,
}}
>
 // <------ all child components with changing states

);
};
export default RootLayout;`

Closed by https://github.com/PostHog/posthog-js-lite/pull/179
The warning is removed since it's not useful anyway, you can still do this to spare the recreation bits.


Selective supabase migration squash

Is your feature request related to a problem? Please describe.
I'm a little bit frustrated when preparing for a production deployment using supabase migration squash command because it consolidates all migrations, including those already applied to the production database. This can lead to unnecessary complications and the need to manually select which migrations to include for production environments. We have a --version argument but this not let us to select a range of versions, for example.
Describe the solution you'd like
I would like the supabase migration squash command to include an option to squash only migrations that have not yet been applied to the remote production database. This would streamline the process of preparing migrations for production by automatically generating a single migration script from the unapplied migrations, thus reducing the risk of errors and manual filtering.
Describe alternatives you've considered
An alternative could be manually filtering out the applied migrations and only squashing the remaining ones, but this is error-prone and not scalable for teams or frequent deployments.
Additional context
Adding parameters such as --unapplied-only to the squash command could be a straightforward solution to ensure that only new, unapplied migrations are included in the squashed file. This would make the migration process much more efficient and error-free for teams moving changes to production environments.

Yes, this is the use case, merging the N last, non applied scripts.
What if I have applied local scripts? I don't want to mess the migration table.


Time resets when it is not supposed to and vice versa

Continuation of #1.
Time does not reset when (should reset):

Someone else moves me to another channel

Time resets when (should not reset):

Watching a screen share
Closing a screen share

Latest update should fix those issues, listening for a different dispatch now so let me know if you get any more unwanted behaviour.
Preview:


Run electrum client and wallet tests

We run theses tests on all platforms except linux (because the tcp socket implementation is missing).

Rebased, with an updated commit comment.


Expand format=raw output to include more float digits

This includes the commits from @heliodor from #748 along with some test cases format=raw and large floats.

Current coverage is 65.29% (diff: 100%)

Merging #1624 into master will increase coverage by 0.13%

@@             master      #1624   diff @@
==========================================
  Files            52         52
  Lines          5893       5893
  Methods           0          0
  Messages          0          0
  Branches       1152       1152
==========================================
+ Hits           3840       3848     +8
+ Misses         1845       1838     -7
+ Partials        208        207     -1

Powered by Codecov. Last update b09349f...5c28f6b

LGTM 👍


LC0036: ToolTip must start with the verb "Specifies" on Dimension fields.

LC0036 requires me to start the Tooltip with "Specifies.'
I added the Global Dimension 1 & 2 on a page and copied the Tooltip from STD BC. I would think these tooltips would be allowed?

Should the rule be modified or are the Tooltips not allowed?

Sorry, I copied tooltip from an action.


nobody command

`HELIOS_base 1: [4815, 0]  WARNING. no body command.
HELIOS_base 1: [4816, 0]  WARNING. no body command.
HELIOS_base 1: [4817, 0]  WARNING. no body command.
HELIOS_base 1: [4818, 0]  WARNING. no body command.
HELIOS_base 1: [4819, 0]  WARNING. no body command.
HELIOS_base 1: [4820, 0]  WARNING. no body command.
HELIOS_base 1: [4821, 0]  WARNING. no body command.
HELIOS_base 1: [4822, 0]  WARNING. no body command.
HELIOS_base 1: [4823, 0]  WARNING. no body command.
HELIOS_base 1: [4824, 0]  WARNING. no body command.
HELIOS_base 1: [4825, 0]  WARNING. no body command.
HELIOS_base 1: [4826, 0]  WARNING. no body command.
HELIOS_base 1: [4827, 0]  WARNING. no body command.
HELIOS_base 1: [4828, 0]  WARNING. no body command.
HELIOS_base 1: [4829, 0]  WARNING. no body command.
HELIOS_base 1: [4830, 0]  WARNING. no body command.
HELIOS_base 1: [4831, 0]  WARNING. no body command.
HELIOS_base 1: [4832, 0]  WARNING. no body command.
HELIOS_base 1: [4833, 0]  WARNING. no body command.
HELIOS_base 1: [4834, 0]  WARNING. no body command.
HELIOS_base 1: [4835, 0]  WARNING. no body command.
HELIOS_base 1: [4836, 0]  WARNING. no body command.
HELIOS_base 1: [4837, 0]  WARNING. no body command.
HELIOS_base 1: [4838, 0]  WARNING. no body command.
HELIOS_base 1: [4839, 0]  WARNING. no body command.
HELIOS_base 1: [4840, 0]  WARNING. no body command.
HELIOS_base 1: [4841, 0]  WARNING. no body command.
HELIOS_base 1: [4842, 0]  WARNING. no body command.
HELIOS_base 1: [4843, 0]  WARNING. no body command.
HELIOS_base 1: [4844, 0]  WARNING. no body command.
`
The goalkeeper does not move at all for some time, and when the opponent is attacking in the penalty area, the goalkeeper does not move.

This message means that the goalkeeper did not register any body action commands in these cycles.
If you have modified the code of the goalie, make sure you have registered the action commands correctly.
Otherwise, the sample goalie may not be compatible with recent simulator changes.
Anyway, you need to adapt your move behaviors to the rule of v17 simulator.
If you don't like to do it, use the v16 simulator for the time being.

This message means that the goalkeeper did not register any body action commands in these cycles. If you have modified the code of the goalie, make sure you have registered the action commands correctly. Or, the sample goalie may not be compatible with recent simulator changes.
Anyway, you need to adapt your move behaviors to the rule of v17 simulator. If you don't like to do it, use the v16 simulator for the time being.

I didn't modify any code

I could not reproduce the same situation.
Are you using the master branch of librcsc and helios-base?
And, what version of the simulator are you using?

If no more information, this issue will be closed soon.


Replace GreetingText() with GreetingImage()

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-add-images?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-add-images#5
In which task and step of the codelab can this issue be found?
Adding Images to your Android App.
Part 6 : Align and arrange Text.
Scroll down to where it reads "Your turn!"
Describe the problem
It's just a typo. The line currently reads:

Your turn! In the MainActivity.kt file, scroll to where the GreetingText() function is called and notice the padding attribute.

It should read instead:
Your turn! In the MainActivity.kt file, scroll to where the GreetingImage() function is called and notice the padding attribute.
Steps to reproduce?
Not applicable
Versions
Not applicable
Additional information

Hi @tamiromara
Thank you for writing in with your concern.
The wording in the lesson is correct.
The student needs to scroll to where the GreetingText() function is called. You are correct that it is in the GreetingImage() function though.
Hope this helps clarify it.
Regards.


⚠ Jenkins Plugins Artifactory has degraded performance

In 134ebb4, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1359 ms

Resolved: Jenkins Plugins Artifactory performance has improved in ced54cb after 25 minutes.


#7872: Fix to handle batch broadcast in 3D tensor

Primary issue : #7872
Handle batch broadcast in 3D input tensor for ttnn binary operation.
Also add channel[dim=1] broadcast in 4D input tensor for ttnn binary operation.
CI test: https://github.com/tenstorrent/tt-metal/actions/runs/8878294110

Temp fix merged in PR https://github.com/tenstorrent/tt-metal/pull/14408
this workaround will require both input tensors to be of same rank


No Webhook sent after Built/Ran

So just setting up and using it for the first time, followed your video tutorial, and checked everything and added the error message to make sure it was running correctly. It was and tested my webhook already but after being run, no results come back in the channel. No info is shown through the web hook etc. Any Ideas?

Note * Anti VM is off, only features on are Ping/All blue/ Fake Error. Webhook works when tested but not when exe is opened, even as admin.

@Blank-c

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

okay im gonna check when i get bqck from what im doing, if u dont mind keep this open for a bit

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

when i build as py, it dosnt close grabber, nor does it create the py script.
Also I am using Python 3.11.4 just incase you are wondering

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

is there a specific python build i should use?

You can use any python version but it should be > 3.10

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

when i build as py, it dosnt close grabber, nor does it create the py script. Also I am using Python 3.11.4 just incase you are wondering

What happens then?

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

when i build as py, it dosnt close grabber, nor does it create the py script. Also I am using Python 3.11.4 just incase you are wondering

What happens then?

Nothing, Builder stays open, asks for a place to put py file, I select location and it dosnt save or close builder. Just nothing happens

https://github.com/Blank-c/Blank-Grabber/archive/3d90cb6db1c0beadbb2864cdb4e172ffb3bc9e9e.zip
This is an older version of the grabber, can you check if this one works?

Still didnt work, again webhook works when tested but dosnt send any files after running.

Can you try to build as .py file and run it with the command python <filename>.py

when i build as py, it dosnt close grabber, nor does it create the py script. Also I am using Python 3.11.4 just incase you are wondering

What happens then?

Nothing, Builder stays open, asks for a place to put py file, I select location and it dosnt save or close builder. Just nothing happens

Looks like something is wrong, can you try this out.
In the gui.py in these lines,
change the code from
def ToggleConsole(choice: bool) -> None:
		if choice:
			# Show Console
			ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 4)
		else:
			# Hide Console
			ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 0)

to
def ToggleConsole(choice: bool) -> None:
                return None
		if choice:
			# Show Console
			ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 4)
		else:
			# Hide Console
			ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 0)

Now gives error when running builder, TabError inconsistent use of tabs and spaces in indentation, and if i get rid of the tab infront of the first line def ToggleConsole... - Error is IndentationError: unexpected

Ok i fixed thank, just indented and unindented every line in the new code, when it run the Built.exe again, nothing is showing up

Hmm, I'll look into it

Hmm, I'll look into it.
If you have telegram, join the server, it would be faster to contact you there.

Do you have discord instead?

Hmm, I'll look into it.
If you have telegram, join the server, it would be faster to contact you there.

Do you have discord instead?

I don't use discord

Can you try the new Console: Debug mode, see if there is any error.

@XierOnTop

@XierOnTop

Make sure ur not using a vpn, it happens to me when im using a vpn

@XierOnTop Please give status of your issue or I may assume its fixed?


replace vm.getPrivateMacAddress() with nic.getMacAddress()

Description
We have discovered that when securitygroups firewall rules are created, they use the MAC address from VM's private_mac_address field. However, if a VM has multiple NICs, then the same MAC address is issued to securitygroup.py which in some cases caused a trouble for the firewall rules.
This patch makes Cloudstack use the NIC's MAC address instead of VM's private MAC address.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

code lgtm not tested yet
@soreana can you describe what the issue is and how to reproduce the issue ?

@phsm Can you elaborate a little bit more?

Hi Wei,
We have found this inconsistency while debugging some other issue that turned out to be unrelated to this piece of code.
So in short: there is no reproduce scenario, besides our suspicion that these lines may introduce bugs.
The generateRulesetCmd() is used to generate a set of firewall rules for a vNIC.
It currently uses the private_mac_address VM field which contains a single MAC address that I believe belongs to the latest vNIC of the VM.
Thus, it would be logical that this function should use the MAC address of the vNIC it is creating a firewall rule for.

on first sight this looks good, but it raises more questions when you think of it. Most significantly,

Why is this implemented twice? Should this not be a single place that does this (and even a single SecurityGroupMnagerImpl instead of two.)
if we can not reproduce than how do we know this doesn´t have side effects or removes side effects that we need.
I am a bit worried, but again, looks good on first sight.

on first sight this looks good, but it raises more questions when you think of it. Most significantly,
1. Why is this implemented twice? Should this not be a single place that does this (and even a single `SecurityGroupMnagerImpl` instead of two.)

2. if we can not reproduce than how do we know this doesn´t have side effects or removes side effects that we need.
   I am a bit worried, but again, looks good on first sight.

Not sure, perhaps legacy vs modern implementation? I'm not sure how to check which of these 2 files is actually used somewhere else.
Yes this is the tricky part. Perhaps @weizhouapache knows more of the mac address purpose in "security_group.py" script? He's AFAIK the last person who made major changes there (additional IP addresses for a VM feature).

2. security_group.py"

@phsm @soreana
yes, the last major changes were made by me 3 years ago. see #3639
since there is no critical issue found by you, let's revisit after 4.18.0 release

Well I still think that this is a potential bug, and needs to be fixed.
To recap: it always uses the first NIC MAC address while applying security groups on any NIC, not just the first one. But we couldn't find the reproduce scenario for it.
Not sure what else can be done for this PR to get it moving.

@soreana @phsm @weizhouapache what is the status of this PR?

@DaanHoogland We had an issue with the Ubuntu upgrade and our hypervisor's network configuration. We noticed that the Mac address sets incorrectly.
At first, we thought it is a CloudStack issue, but after further investigation, the root cause happened to be our hypervisor's network configuration. While we were checking the code, we noticed that this Mac address sets incorrectly, though we couldn't reproduce it.


crypto/tls: delete session tickets on TLS handshake failure

When a server accepts a session ticket presented by a client, but
the TLS handshake fails, RFC 5077 recommends that the client delete
the ticket. Because adding a Delete method to the interface for
ClientSessionCache would break existing implementations, we have the
handshake implementation overwrite the ticket with a nil instead.
Fixes #24919

CLA signed!


Bot stuck on Ormus

Is it really a Bug report?
If you have questions regarding setup or feature information/requests, please consider asking in the Discord channel: https://discord.gg/Jf3J8cuXWg. The Github issues section is for bug reports only.
Botty Version
What version of botty are you running? Are you using a pre-compiled release? Which one. Are you using the latest master branch? On which commit?
Using master branch, Botty 8.0
Describe the bug
A clear and concise description of what the bug is.
Not detecting Ormus even though the mouse scrolls over him and the text shows on screen. Bot going throw motions moving mouse and looking for him indefinately
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
etc.
Start in act3

Expected behavior
A clear and concise description of what you expected to happen.
Bot continues on, Buys consumables, etc.
Screenshots / Video
If applicable, add screenshots or even better a short video of the error happening to help explain your problem. Botty often automatically makes screenshots when something goes wrong. Add these also.

Logs
Add the relevant part of the log/log_(time).txt in this section. Either upload it as a fail or copy-paste the relevant part in here.
[0.8.0-dev 2022-06-16 23:38:58,994] DEBUG      Loading config
[0.8.0-dev 2022-06-16 23:38:59,666] WARNING    No .nip files in config/nip/, fallback to default.nip
[0.8.0-dev 2022-06-16 23:38:59,666] INFO       Loaded 1 nip files with 361 total expressions.
[0.8.0-dev 2022-06-16 23:39:00,638] WARNING    WARNING: logger was setup already, deleting all previously existing handlers
[0.8.0-dev 2022-06-16 23:39:01,294] DEBUG      Using WinAPI to search for window: WindowSpec(title_regex=None, process_name_regex='D2R\.exe')
[0.8.0-dev 2022-06-16 23:39:01,301] DEBUG      Set offsets: left -1600px, top 160px
[0.8.0-dev 2022-06-16 23:39:01,357] INFO       Start health monitoring
[0.8.0-dev 2022-06-16 23:39:01,358] INFO       Start Death monitoring
[0.8.0-dev 2022-06-16 23:39:01,359] INFO       Setting up Barbarian
[0.8.0-dev 2022-06-16 23:39:01,360] INFO       Doing runs: odict_keys(['run_trav'])
[0.8.0-dev 2022-06-16 23:39:01,362] INFO       Starting game #1
[0.8.0-dev 2022-06-16 23:39:01,363] DEBUG      Waiting for templates: ['MAIN_MENU_TOP_LEFT', 'MAIN_MENU_TOP_LEFT_DARK', 'A5_TOWN_0', 'A5_TOWN_1', 'A4_TOWN_4', 'A4_TOWN_5', 'A3_TOWN_0', 'A3_TOWN_1', 'A2_TOWN_0', 'A2_TOWN_1', 'A2_TOWN_10', 'A1_TOWN_1', 'A1_TOWN_3']
[0.8.0-dev 2022-06-16 23:39:02,426] DEBUG      Found match: MAIN_MENU_TOP_LEFT (100.0% confidence)
[0.8.0-dev 2022-06-16 23:39:02,450] ERROR      save_char_online_status: Could not determine character's online status
[0.8.0-dev 2022-06-16 23:39:02,533] DEBUG      Saved character template: (P111
[0.8.0-dev 2022-06-16 23:39:02,549] DEBUG      Wait for Play button
[0.8.0-dev 2022-06-16 23:39:02,550] DEBUG      Found Play Btn, select and press key: h
[0.8.0-dev 2022-06-16 23:39:19,079] ERROR      Could not find hell_BTN or LOADING, start over
[0.8.0-dev 2022-06-16 23:39:19,080] DEBUG      Wait for Play button
[0.8.0-dev 2022-06-16 23:39:19,101] ERROR      start_game: No play button found, not on main menu screen
[0.8.0-dev 2022-06-16 23:39:19,274] DEBUG      Waiting for templates: ['A5_TOWN_0', 'A5_TOWN_1', 'A4_TOWN_4', 'A4_TOWN_5', 'A3_TOWN_0', 'A3_TOWN_1', 'A2_TOWN_0', 'A2_TOWN_1', 'A2_TOWN_10', 'A1_TOWN_1', 'A1_TOWN_3']
[0.8.0-dev 2022-06-16 23:39:20,020] DEBUG      Found match: A3_TOWN_1 (78.6% confidence)
[0.8.0-dev 2022-06-16 23:39:20,217] INFO       Capabilities: CharacterCapabilities(can_teleport_natively=True, can_teleport_with_charges=False)
[0.8.0-dev 2022-06-16 23:39:20,218] INFO       Activated /nopickup
[0.8.0-dev 2022-06-16 23:39:20,616] WARNING    EXP OCR Error: ['\', 'ExPERIENCE:', '2.140.421.059', '/', '2.286.478.756']. Exception: 'EXPERIENCE:' is not in list
[0.8.0-dev 2022-06-16 23:39:21,889] ERROR      update_tome_key_needs: unable to parse quantity for tp. Exception: 'NoneType' object has no attribute 'NTIPAliasStat'
[0.8.0-dev 2022-06-16 23:39:22,258] ERROR      update_tome_key_needs: unable to parse quantity for id. Exception: 'NoneType' object has no attribute 'NTIPAliasStat'
[0.8.0-dev 2022-06-16 23:39:22,283] DEBUG      Inspecting inventory items
[0.8.0-dev 2022-06-16 23:39:25,139] DEBUG      Needs: Consumables(tp=0, id=0, rejuv=0, health=0, mana=5, key=0)
[0.8.0-dev 2022-06-16 23:39:25,140] INFO       Buy consumables and/or sell items
[0.8.0-dev 2022-06-16 23:39:25,140] DEBUG      Traverse from a3_town_start to a3_ormus
Additional info
Add any other information about the problem here.

F9

I tried F9 and also tried the commands to deactivate the environment and refreshed the new version, still having the same issue. Anything else I can try here?

open bnet launcher and set the launch options yourself. follow the pattern of the default at the bottom of params.ini launch_options

..so tired 7.4 which was working before and now it is having the same problems as the latest version. 7.3 still runs smooth though

launch_options=-mod DProg -txt
in game settings: -mod DProg -txt
no difference in behavior

I have a DProg and a Botty folder in the mods directory

Not sure what your issue is then, unfortunately.
Last thing you can try is making a shortcut to the D2R.exe file and changing the Target field in the shortcut properties to "C:\Program Files (x86)\Diablo II Resurrected\D2R.exe" -mod DProg -txt.  Launch d2r from that shortcut and then launch botty.
If that doesn't work you'll have to try some stuff on your own. Let us know how it goes.

ok so when i went to my shortcut i noticed it pointed to an older installation location of D2R. I updated the path in the params.ini and the issue was resolved! Thanks for the quick responses.


Crash on trying to open TerasologyLauncher 4.8.0 3 on Mac OS 15

General Info
Terasology Launcher Version: TerasologyLauncher-mac-4.8.0 3
Terasology Version: don't know - the launcher crashes
Operating System: Mac OS 15.0.1, Apple M1 Pro
Onboard / Dedicated Graphics: unknown
Java Version: unknown
What you were trying to do
I was trying to launch the game. I downloaded the launcher from the site and then opened it to try out the game.
What actually happened
I got a "checking for updates" window, which suddenly disappeared, and then the launcher icon disappeared from the dock, so I assume it crashed.
How to reproduce

Download Terasology for MacOS from https://terasology.org/downloads/
Launch on an M1 Pro with Mac OS 15.0.1 installed (bypass gatekeeper)
The launcher icon appears in the dock and a window appears which says it is checking for updates.
Both abruptly disappear

Log details
There was no crash reporter, so I don't know where to find the logs.
Workaround
I have not found a workaround.
Additional Infos / Context
I was trying to run it because schools have heard of this project, and the kids want to try it out.

Hello, I am working on a MacBook Air M1 (2020), running macOS Ventura 13.5. Here is what I did to try and reproduce the issue with the TerasologyLauncher (version 4.8.0):

Downloaded the launcher from the Terasology website.

After bypassing Gatekeeper, I attempted to launch the game, but the launcher crashed shortly after displaying the "checking for updates" window (just as described)

I also tried running the launcher from the terminal with :
/Applications/TerasologyLauncher.app/Contents/MacOS/TerasologyLauncher

The launcher started successfully, but I encountered repeated errors while fetching game versions:
Invalid version (no major version)
Missing game asset

I downloaded Terasology 5.3.0 through the launcher, but the game failed to launch properly due to an error related to GLFW :
java.lang.IllegalStateException: GLFW may only be used on the main thread

Additionally, I received an error when the launcher tried to connect to Discord's RPC:

Could not create or connect Discord client: java.net.SocketException: No such file or directory

I also tested launching the app using Rosetta, but I was unable to force it to run

I plan to test the launcher on older versions of macOS to see if the issues persist on other versions.
I would like to work on fixing this issue, as I have the required hardware and can test any necessary patches. Could you please assign this issue to me? Let me know if you need additional logs or specific tests, and I’m happy to help with further debugging on this M1 device.


Use pyink

What does this PR do?

Adds pyink as a pre-commit hook.
Adds some pyink configuration in pyproject.toml
Formats entire project using pyink.

Codecov Report

Merging #3216 (6d3097d) into main (ac6cde0) will decrease coverage by 0.07%.
The diff coverage is 78.03%.

@@            Coverage Diff             @@
##             main    #3216      +/-   ##
==========================================
- Coverage   82.34%   82.27%   -0.07%
==========================================
  Files          54       54
  Lines        6060     6065       +5
==========================================
  Hits         4990     4990
- Misses       1070     1075       +5

Impacted Files
Coverage Δ

flax/configurations.py
89.65% <ø> (ø)

flax/core/__init__.py
100.00% <ø> (ø)

flax/core/partial_eval.py
100.00% <ø> (ø)

flax/ids.py
96.00% <ø> (ø)

flax/testing/benchmark.py
0.00% <0.00%> (ø)

flax/training/common_utils.py
0.00% <0.00%> (ø)

flax/training/dynamic_scale.py
0.00% <0.00%> (ø)

flax/training/lr_schedule.py
0.00% <0.00%> (ø)

flax/training/orbax_utils.py
66.66% <0.00%> (ø)

flax/training/prefetch_iterator.py
0.00% <0.00%> (ø)

... and 39 more


Create an image for ike client to run in

Could you remind me what is the main driver for that? Is it to have CI step based on that? (i.e. when integrating with tekton?)

@bartoszmajsak Correct

See WIP https://github.com/aslakknutsen/istio-workspace-action


Add option to restore cache only

Description:
It would be nice to have the option to restore only and not save.
Justification:
In bigger repos, it's easy to hit the 10gb cache limit. Not caching in PRs can help with this.
Right now, I have to manually delete caches to help keep the caches on main alive.
Are you willing to submit a PR?

References
https://github.com/actions/toolkit/issues/1308
https://github.com/Swatinem/rust-cache/issues/95 (has a save-if option https://github.com/Swatinem/rust-cache#example-usage)

Hello @ForsakenHarmony. Thank you for your report. We'll investigate the issue.

Found this searching for an open issue because I wanted to request the same feature. Some context on the specific use case I have.
In workflows triggered with the pull_request_target event, the recommendation in the docs is as follows:

Although the workflow runs in the context of the base of the pull request, you should make sure that you do not check out, build, or run untrusted code from the pull request with this event. Additionally, any caches share the same scope as the base branch. To help prevent cache poisoning, you should not save the cache if there is a possibility that the cache contents were altered.

When using the setup-node action, I'd like to turn off cache saving for runs triggered with this event.

It can also help when a GitHub matrix is used. On large matrices, we may end with concurrency on cache write, forcing the job to wait (more than 1m on my repo).
Post job cleanup.
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/... --files-from manifest.txt --use-compress-program zstdmt
Failed to save: Unable to reserve cache with key <KEY>, another job may be creating this cache. More details: Cache already exists. Scope: refs/heads/main, Key: <KEY>, Version: <HASH>

@ForsakenHarmony agree. In a big monorepo with 500+ open PRs and ~100 commits per day, the cache becomes unusable because there's too many circumstances where the main cache gets evicted because of hundreds of non-main caches. I can't decide if:

I need to control which bits of my pipeline are restore-only
I should automate purging all non-main caches

But it feels like a little of both are necessary


Changing CNN weights

Hi,
I would like to change the weights of the FFN model used for the MNIST example.
I practically would like to manually set all the weights of the network (I know that it sounds strange...).
Can you guys please help me to do that?
Thank you very much in advance for your help,
Fabio

Never mind, I found a way by using model.parameters().
Thank you so much anyway.
Fabio

Glad you got it sorted out!  And sorry for the slow response.  model.parameters() is a way to do it, but you may need to use some of the visitors to compute which elements of model.parameters() correspond to which layers.  When #2777 is merged, operations like what you are trying to do should be a lot easier. :+1:

Thank you very much Ryan, for confirming that model.parameters() is the way to go.
Have a nice day,
Fabio
From: Ryan Curtin<EMAIL_ADDRESS>Sent: Thursday, February 11, 2021 7:41 AM
To: mlpack/examples<EMAIL_ADDRESS>Cc: Fabio Marino<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [mlpack/examples] Changing CNN weights (#145)
Glad you got it sorted out! And sorry for the slow response. model.parameters() is a way to do it, but you may need to use some of the visitors to compute which elements of model.parameters() correspond to which layers. When #2777 is merged, operations like what you are trying to do should be a lot easier. 👍
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/mlpack/examples/issues/145#issuecomment-777586606, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASWONUUGV4TJ7VVAYU66NL3S6P3BNANCNFSM4XKAY6YA.


Installation error on latest laravel installation

Versions:

ide-helper Version: 2.13
Laravel Version: 10.10
PHP Version: 8.2

Question:
I've been using this package for almost all my laravel projects and have no issue installing until now.
It generates this error:
`Problem 1
- barryvdh/laravel-ide-helper[v1.0.0, ..., v1.5.0] require illuminate/support 4.0.x -> found illuminate/support[v4.0.0, ..., v4.0.10] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v1.5.1, ..., v1.11.6] require illuminate/support 4.x -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.0.0, ..., v2.0.3] require illuminate/support 5.0.x -> found illuminate/support[v5.0.0, ..., v5.0.33] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.0.4, ..., v2.1.0] require illuminate/support 5.0.x|5.1.x -> found illuminate/support[v5.0.0, ..., v5.1.41] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.1.1, ..., v2.1.4] require illuminate/support 5.0.x|5.1.x|5.2.x -> found illuminate/support[v5.0.0, ..., v5.2.45] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.2.0, ..., v2.2.2] require illuminate/support ^5.0,<5.4 -> found illuminate/support[v5.0.0, ..., v5.3.23] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.2.3, ..., v2.3.2] require illuminate/support ^5.0,<5.5 -> found illuminate/support[v5.0.0, ..., v5.4.36] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.4.0, ..., v2.4.1] require illuminate/support ^5.0,<5.6 -> found illuminate/support[v5.0.0, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.4.2, ..., v2.4.3] require illuminate/support ^5.0,<5.7 -> found illuminate/support[v5.0.0, ..., v5.6.39] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.5.0, ..., v2.5.3] require illuminate/support ^5.5,<5.8 -> found illuminate/support[v5.5.0, ..., v5.7.28] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.6.0, ..., v2.6.2] require illuminate/support ^5.5,<5.9 -> found illuminate/support[v5.5.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.6.3, ..., v2.6.6] require illuminate/support ^5.5|^6 -> found illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.6.7, ..., v2.7.0] require illuminate/support ^5.5|^6|^7 -> found illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper v2.8.0 requires illuminate/console ^5.5 || ^6 || ^7 -> found illuminate/console[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.8.1, ..., v2.8.2] require illuminate/console ^6 || ^7 || ^8 -> found illuminate/console[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.9.0, ..., v2.11.0] require illuminate/console ^8 -> found illuminate/console[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper[v2.12.0, ..., v2.12.3] require illuminate/console ^8 || ^9 -> found illuminate/console[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- barryvdh/laravel-ide-helper v2.13.0 requires nikic/php-parser ^4.7 -> found nikic/php-parser[v4.7.0, ..., v4.18.0] but the package is fixed to v5.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires barryvdh/laravel-ide-helper * -> satisfiable by barryvdh/laravel-ide-helper[v1.0.0, ..., v1.11.6, v2.0.0, ..., v2.13.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require barryvdh/laravel-ide-helper:*" to figure out if any version is installable, or "composer require barryvdh/laravel-ide-helper:^2.1" if you know which you need.
`
I tried specifying:

composer require --dev barryvdh/laravel-ide-helper:^2.1
composer require --dev barryvdh/laravel-ide-helper:*

but still no luck.
Is this because of the latest laravel version?
EDIT: I really think this is because of the latest laravel version. I checked my other laravel projects' composer.lock, nikic/php-parser's version is locked to 4.17 but the latest laravel version's locked to 5.0

I tried this command and it worked. (but it is a workaround...)
composer require --dev nikic/php-parser:^4.7
composer require --dev barryvdh/laravel-ide-helper

Yeah, installing v4.7 php-parser should work because that's the required version, but latest laravel installations locked php-parser to 5.0.0, and it could have an effect to other part of the app by downgrading it. So, I think this should be fixed anyway.

Having the same issue here with a fresh Laravel 10.10 app.


Sales from NFTs didn't appear in artist's wallet

The artist (Pizza Punk) already had 2 mints on his BASE drop, but he did not receive 50% of the sales as he was initially supposed to.
This drop: https://basescan.org/address/0xa676ca834b90f5adeb9ffa27fb632f524bb38155
Collection on Koda: https://kodadot.xyz/base/collection/0xa676ca834b90f5adeb9ffa27fb632f524bb38155
Related issue:

https://github.com/kodadot/ops-internal/issues/1671

Address of the artists: 0xd6ab0743c4f6a1d85c52256ca4b7cbe6386070a5


az login fails: OSError: [WinError -2146893813] #20231

Describe the bug
unable to az login to fail the issues
Related command
to create logic app and functional app in azure
Errors
PS C:\Users\krishna143\OneDrive\Documents\Azure function app> .\terraform plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Warning: Deprecated Resource
│
│   with azurerm_app_service_plan.WorkflowStandard,
│   on Azurefunctionapp.tf line 18, in resource "azurerm_app_service_plan" "WorkflowStandard":
│   18: resource "azurerm_app_service_plan" "WorkflowStandard" {
│
│ The azurerm_app_service_plan resource has been superseded by the azurerm_service_plan resource. Whilst this
│ resource will continue to be available in the 2.x and 3.x releases it is feature-frozen for compatibility purposes,
│ will no longer receive any updates and will be removed in a future major release of the Azure Provider.
│
│ (and one more similar warning elsewhere)
╵
╷
│ Error: building account: could not acquire access token to parse claims: running Azure CLI: exit status 1: ERROR: Decryption failed: [WinError -2146893813] Key not valid for use in specified state.. App developer may consider this guidance: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/wiki/PersistenceDecryptionError
│ Please report to us via Github: https://github.com/Azure/azure-cli/issues/20231
│
│   with provider["registry.terraform.io/hashicorp/azurerm"],
│   on Azurefunctionapp.tf line 1, in provider "azurerm":
│    1: provider "azurerm" {
│
Issue script & Debug output
│ Error: building account: could not acquire access token to parse claims: running Azure CLI: exit status 1: ERROR: Decryption failed: [WinError -2146893813] Key not valid for use in specified state.. App developer may consider this guidance: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/wiki/PersistenceDecryptionError
Expected behavior
i need a soluation for error because im unble to access azure login credencials
Environment Summary
azure-cli                         2.53.0
core                              2.53.0
telemetry                          1.1.0
Dependencies:
msal                            1.24.0b2
azure-mgmt-resource             23.1.0b2
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\krishna143.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
│ Error: building account: could not acquire access token to parse claims: running Azure CLI: exit status 1: ERROR: Decryption failed: [WinError -2146893813] Key not valid for use in specified state.. App developer may consider this guidance: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/wiki/PersistenceDecryptionError

Thank you for opening this issue, we will look into it.