Need help with pgoapi.exceptions can't find any info on it detailed

Hello, I am new and I am basically trying to get PokemonGo-Bot working and then I will tweak my config. I will do my best to summarize here and then provide any possible relevant information below
logs.zip
logs.zip
logs.zip
. I am running Linux Mint Rosa 17.3. I used the 'easy automatic' install method. I have a very 'beginners' understanding of coding, and python. If I had to guess the root of the problem is an incomplete install as trying to follow 'easy automatic' install method, I will point out why I think the install is complete at the bottom. Logs under 'other relevant information' at the bottom.
##When inputting command to attempt to start PokemonGo-Bot sh run.sh the following output occurs:
Traceback (most recent call last):
File "pokecli.py", line 39, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions
Mon Aug 15 16:26:23 PDT 2016 Pokebot  Stopped.
run.sh: 18: read: Illegal option -s
##When inputting command to attempt to start PokemonGo-Bot python pokecli.py the following output occurs:
Traceback (most recent call last):
File "pokecli.py", line 39, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions
##When inputting command to attempt to start PokemonGo-Bot ./run.sh the following output occurs:
Traceback (most recent call last):
File "pokecli.py", line 39, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions
Mon Aug 15 16:38:35 PDT 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.
Before you create an Issue, please check the following:
##My config.json is set to the default parameters
{
"auth_service": "google",
"username": "removed to protect private info",
"password": "removed to protect private info",
"location": "removed to protect private info",
"gmapkey": "removed to protect private info",
"encrypt_location": "",
"websocket_server": false,
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"max_balls_keep": 150,
"max_potions_keep": 50,
"max_berries_keep": 70,
"max_revives_keep": 70,
"item_filter": {
"Pokeball":       { "keep" : 100 },
"Potion":         { "keep" : 10 },
"Super Potion":   { "keep" : 20 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 30 },
"Razz Berry":     { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"walk_max": 4.16,
"walk_min": 2.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}
Other Information
OS:
<Linux Mint 17.3>
Branch:
<'dev' I think... not sure how to tell what this is>  n00b
Git Version:
<git 1.9.1>
Python Version:
<python 2.7.12>
Steps to reproducing issue:
Have above OS, Branch, Git Version, Python Version + all the extra utils plus following 'easy automatic installation' method listed here: http://blog.pokemongofun.com/working-pokemongo-bot-step-by-step-07252016/#linux_mac
##What I think the problem is, occurs during 'step 2: ./setup.sh -i' logs attached:

Cleaning up...
Command /usr/bin/git fetch -q failed with error code 255 in /home/user/PokemonGo-Bot/src/pgoapi
Storing debug log for failure in /tmp/tmpLKGF76
Downloading/unpacking numpy==1.11.0 (from -r requirements.txt (line 1))
Downloading numpy-1.11.0.tar.gz (4.2MB): 4.2MB downloaded
Running setup.py (path:/home/user/PokemonGo-Bot/build/numpy/setup.py) egg_info for package numpy
Running from numpy source directory.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution

Downloading/unpacking networkx==1.11 (from -r requirements.txt (line 2))
Downloading networkx-1.11-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
Obtaining pgoapi from git+https://github.com/keyphact/pgoapi.git@a2755eb42dfe49e359798d2f4defefc97fb8163d#egg=pgoapi (from -r requirements.txt (line 3))
Updating ./src/pgoapi clone (to a2755eb42dfe49e359798d2f4defefc97fb8163d)
error: cannot open .git/FETCH_HEAD: Permission denied
Complete output from command /usr/bin/git fetch -q:

Cleaning up...
Command /usr/bin/git fetch -q failed with error code 255 in /home/user/PokemonGo-Bot/src/pgoapi
Storing debug log for failure in /tmp/tmpf1pZkk
Start to make encrypt.so.
--2016-08-15 17:08:24--  http://pgoapi.com/pgoencrypt.tar.gz
Resolving pgoapi.com (pgoapi.com)... <IP_ADDRESS>, <IP_ADDRESS>, 2400:cb00:2048:1::681f:44ac, ...
Connecting to pgoapi.com (pgoapi.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 243633 (238K) [application/x-tar]
Saving to: ‘pgoencrypt.tar.gz’
##Log files: 'tmpLKGF76' and 'tmpf1pZkk'  attached Please note I also changed my user directory username in errors and logs to conceal private information: user eg. /home/user/
logs.zip

sorry, the logs.zip are listed 4 times...

Please provide Git Commit:  run 'git log -n 1 --pretty=format:"%H"' in your terminal window
Also follow our guide - https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/installation.md
I'm not sure if the guide you followed is correct or not

fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Try:
git init
My guess is the "Easy install" script didn't work out for you - However, I am not familiar with the script (or cross platform installations), but that is my guess. @solderzzc Do you know why this might occur?

@Plousios As you are relatively new, I'm going to suggest you join the slack server and ask for assistance there. Your issue is not a bot problem, but more about assistance in setting the bot up which is what the slack is there for.
https://github.com/PokemonGoF/PokemonGo-Bot#configuration-issueshelp


database not persisting when doing a phone transfer

I just did a phone-to-phone transfer on iOS 15 and found that my DB didn't make it to the new phone. I'm in the process of seeing if this is also the case for an iCloud transfer as well.
I haven't looked too deeply into this yet, but did find the following: https://github.com/craftzdog/react-native-sqlite-2/blob/7d8dfaa51ad1f4ba03c67629fbf18e6a223fd1a4/ios/RNSqlite2.m#L64
Does this mean that this library does not put the database somewhere that will be syncable? Curious about the reasoning here as we really want to make sure that a users database is backed up to iCloud and will make it through a device to device transfer.

I'm not sure why but the code has come from this commit: https://github.com/nolanlawson/cordova-plugin-sqlite-2/commit/bd8ec1c1e2315c4b2a657010f7573f886a4872ab
Related issue: https://github.com/nolanlawson/cordova-plugin-sqlite-2/issues/80

I suggest making this optional and allowing backups by default

I just changed this to the directory that the apple docs suggest. I feel like I read that the noCloud directory is not backed up regardless of flag.

@chrisdrackett Could you link to the Apple docs you're referring to?


Adding arguments to existing maker

I have a question, what is the preferred way to modify the args existing makers.
I need to add --extension-pkg-whitelist=numpy to the args of pylint (see Pylint and Numpy produce E1101 messages to suppress the annoying wrong [no-member] messages.
I didn't find what is the preferred way in the docs. Do I overwrite the function
function! neomake#makers#ft#python#pylint() abort
    let maker = {
        \ 'args': [
            \ '--output-format=text',
            \ '--msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg} [{msg_id}]"',
            \ '--reports=no'
        \ ],
        \ 'errorformat':
            \ '%A%f:%l:%c:%t: %m,' .
            \ '%A%f:%l: %m,' .
            \ '%A%f:(%l): %m,' .
            \ '%-Z%p^%.%#,' .
            \ '%-G%.%#',
        \ 'output_stream': 'stdout',
        \ 'postprocess': [
        \   function('neomake#postprocess#generic_length'),
        \   function('neomake#makers#ft#python#PylintEntryProcess'),
        \ ]}
    function! maker.filter_output(lines, context) abort
        if a:context.source ==# 'stderr'
            call filter(a:lines, "v:val !=# 'No config file found, using default configuration' && v:val !~# '^Using config file '")
        endif
    endfunction
    return maker
endfunction

Maybe it is also a good idea to add numpy by default, as it is one of the most used Python packages.

This solution seems good enough for me.
Is it really supposed to be +=? If so then why?
In this case it looks indeed like something for the config file if this is possible. But the question remains relevant for me, as I usually want my automatic linter to be less strict, as they are mostly used for fast scripting.
So I like to disable plenty of stuff in Neovim, what should be checked in an explicit check.

+=

Whoops, should be + only of course.

I could imagine having something with neomake#config, e.g. neomake#config#append() which would append to an existing (default) setting, e.g. for your use case:
call neomake#config#append('python.pylint.args', ['--extension-pkg-whitelist=numpy'])

This could then get just saved internally, improving the current evaluation of the maker itself (because you are instantiating it).

I have some WIP to allow for :Neomake foo --add-args bar, but in your case it seems to be related to a default config only.
Any feedback on my previous comments/suggestions?

I think this should be closed, it is unnecessary since you can already do it globally and per buffer by overriding args
e.g. https://github.com/davidosomething/dotfiles/blob/dev/vim/autoload/dko/neomake/python.vim#L7-L8


Map type resets to normal map when switching satellite image provider

When switching aerial satellite imaging provider, the map type resets to the normal map.
how to reproduce

Change the map type to satellite view by pressing the "image icon"-button in the bottom left part of the main view.
Change the satellite image provider in settings.
Go back to main view. The normal map is visible.

what I expected to happen
As the satellite map type was selected before changing the satellite image provider, I would expect OsmGo to still be in the satellite map type after switching the source.

Thanks for fixing!


moving plots to extensions

@jboubarcelo, @tylerhanks was this fixed by wrapping the extension in a module?


Regression in vllm outputs for starcoder family

Outputs from Starcoder regressed significantly in the bleeding edge main branch. https://github.com/vllm-project/vllm/commit/6fc2a38b110f9ba6037b31ee016f20df32426877 commit was working fine

Hi @Naman-ntc, thanks for reporting the issue. Could you share the exact names of the models and the sampling parameters you used with the models?

Hi,
Sorry, here is my config.

I had a local bigcode/gpt_bigcode-santacoder fine-tuned model (which is of GPTBigCodeModel family).
I am sampling using (top-p sampling, multiple completions)

sampling_params = SamplingParams(
            n=100,
            temperature=0.9,
            top_p=0.95,
            top_k=-1,
            max_tokens=2000,
            stop=["QUESTION"],
)

@Naman-ntc Thanks for sharing it! To my understanding, the bug was introduced in #753 and is fixed in #858. Could you try out the multinomial branch of the repo?

Oh wow, thanks for the quick fix. I'll test it out!

Sorry, I finally tried it and seems to be working now. Thanks!


ABlog: Updates for new HTML structure

This adds a few updates for the new HTML structure of ABlog. It has a release candidate out but has made a few changes on main since then, so this PR installs from main of ABlog, and we shouldn't merge it until ABlog's next release actually happens.
This mostly updates our CSS rules to take advantage of the new structure, and cleans up a few things here and there to make it behave nicely.
To do

[x] https://github.com/sunpy/ablog/pull/195
[x] Wait for a new pre-release or full release
[x] Bump the version to not depend on @main

References

closes https://github.com/pydata/pydata-sphinx-theme/issues/1067

OK I think that this one can now be reviewed or merged. ABlog made another pre-release, so I've added that as the dependency in our docs and have noted it in the documentation for others to follow as well. I also updated the CSS to use the new HTML structure.

I intend to merge this one in the next day or two, because we're gonna start getting a bunch of warnings about ablog templates in the wrong location. Happy to hold off if people wish, just lemme know!

I'm not using ABlog at all so do as you wish

Yeah - I'm happy to spot check some PRs if need be.


Client doesnt update translator notes

I'm using the phraseapp command line client to upload .strings files generated from an iOS Xcode project to Phrase. However, it doesn't seem to update any translator notes that changed, and as such there are now a bunch of strings in our Phrase project that incorrectly say "No comment provided by developer". I have update_translations: true set in my yaml file.

Hi, this is an issue that is not connected to the client. We currently do not update descriptions on key updates, only on key creation or if you manually edit them in PhraseApp. We will think about possible solutions to this, as this is currently not possible to edit them directly via API. The only possibility I see is that you grep key_name and description and match it with the keys in the API via keys endpoint and update the keys accordingly.

This seems like a fairly major problem, as accurate developers notes are essential to the translation process. Manually duplicating all our note edits one at a time in the web interface is not really a practical replacement for this functionality.

We will look into it and think about possible solutions that do not break existing behaviour. We can keep this issue open and resolve it when we find possible solutions. However we cannot change anything about the PhraseApp Client that could deal with this issue.

Any update on this? It is making it extremely frustrating to use with an iOS project, and I assume other people trying to use Phrase with the iOS apps are having similar issues. If it is a Phrase API issue and you somehow cannot communicate internally in the company, is there somewhere else I should post this issue so the API team can see it?

Hi, the problem was already communicated and we are going to resolve this in the near future. We will probably go with an approach where you set an extra option --update-descriptions=true and the descriptions will be overwritten with the local ones.

@bdorfman we added the possibility to update-descriptions via form and API. The latest phraseapp-client: https://github.com/phrase/phraseapp-client/releases/tag/1.2.3
It can be used like this:
push:
  sources:
    - file: your/path
      params:
        update_descriptions: true

Note, this does update all descriptions. This overwrites existing and empty descriptions with new ones. This also updates empty descriptions with existing ones in phraseapp.
The endpoint and parameter is documented here: https://phraseapp.com/docs/api/v2/uploads/#create
We love to hear any feedback as soon as possible.

@sacry-dyn, this one is closed since a long time but is it really work ?   I tried it with the
update_descriptions: true

but noting change when I'm trying to push locale
thanks !


instrumenting/clientlibs: add process_threads

This reserves a new well-known process_threads gauge for client
libraries, in order to expose OS threads count on all instrumented
processes.
As this metrics is language/runtime independent, it makes sense to
be under the process_ namespace so that libraries can align on
the name (if/when they start exposing this).
For reference, this is coming from an enhancement request on the Rust library: https://github.com/tikv/rust-prometheus/pull/401.

Thanks for the sugestion.
I do not think that go or java exposes that metric, can you be more specific?
Also, is the threading model the same accross all OS? Would that metric mean the same for different OS?

I do not think that go or java exposes that metric, can you be more specific?

@roidelapluie that's documented in the linked "For more context and existing languages/libraries references", but let me duplicate that here explicitly:

Golang library has go_threads
Java library has (among others) jvm_threads_current
Rust library has been suggested to have a similar metrics for gauging "current OS threads count" in https://github.com/tikv/rust-prometheus/pull/401

"Number of OS threads" is not really runtime/language specific, but individual libraries do not freely own the process_ namespace, so the same metrics may end up named in different ways and with a $language_ prefix.
(Although runtimes can keep more specific metrics if they want, in order to specifically track only OS threads created by the runtime but not by other things in the same process; this may apply to Go/JVM, but is not relevant for Rust).

Also, is the threading model the same across all OS? Would that metric mean the same for different OS?

The threading model could be different, specifically on what is the exact definition of an "OS thread" (if that primitive exists in the OS).
This metrics does not require a uniform definition and only relies on the facts that 1) there exist OS threads, 2) they can be counted.
This is no different than other process_ metrics; where it cannot be applied, the docs are already suggesting that libraries "SHOULD prefer leaving out the corresponding metric".

jvm_threads_current is threads, it is not OS threads, so the meaning is different.

@roidelapluie fair point, thanks for the feedback. I wasn't sure about each runtime details (Go one either), but I did mention above that keeping other runtime-specific metrics is fine and orthogonal. Specifically, green-threads or only-threads-owned-by-the-runtime.
This still leaves us with:

processes can have multiple OS threads (on the vast majority of currently used OSes)
client libraries would benefit from a uniform way of gauging this

Other than removing the "other libraries" mention in my commit, in which direction should I push this PR to cover the usecase above?

One argument in favor of adding process_threads to the list of standard process metrics, is that on Linux it is one of the fields provided by /proc/<pid>/stat (search for num_threads), which is the most likely source for all other process metrics.
Also, the document already says "client libraries SHOULD prefer leaving out the corresponding metric over exporting bogus, inaccurate, or special values", so it's not like this addition will break any client library's compatibility or anything. E.g. if Java uses a different mechanism to retrieve thread count (and Java threads are not necessarily the same as OS threads), then it can simply leave this out (which I suspect it already does with all process metrics).

Also, is the threading model the same accross all OS? Would that metric mean the same for different OS?

I believe a lot of things are not standard across OSs. E.g. I believe Fuchsia does not have file descriptors. And for all I know there may be OSs without a concept or resident vs. virtual memory.
But overall, I believe all widely used OSs have the concept of threads. And again, the documentation says "leave it out if it doesn't make sense", so there doesn't seem to be a requirement that all process metrics make sense on every single OS. I mean some of the things Prometheus monitors aren't even processes.

Gentle ping. In the meanwhile I've rebased this and updated the commit message to avoid mislead references to other libraries/runtimes, PTAL.

I am basically fine adding it, though I wonder if process_os_threads wouldn't make more sense. This also opens up e.g. process_vm_threads for JVM.
I might also be overthinking this.

Those would be jvm_metrics, not process_ metrics. I think process_ makes it more or less clear that it comes from /proc and not language dependant.

Thanks all!


EE - Preview flex layout overflows hidden to the right on other DPI settings

When Unity runs with other DPI settings, the preview flex layout overflows hidden to the right
(requested by fapo)

DPI on fapo's machine is 216. DPI on my machine is 96. Therefore the Screen.width needs to be multiplied by the result of (96f / Screen.dpi) to fix the flex layout.

Should be fixed in VEE


Add Node 20 (and maybe 22) to the CI

We need this to happen before we can allow people to use them.

@qbzzt @holic Do you want to add these node versions to all the ci workflows or only some of them?
To run additional versions of node you basically need to use matrices which means that a job is created per node version. So if you were to run node 18, 20 and 22 for the "test" workflow, you'd have 3 jobs running for that one workflow and since you have many workflows I wonder if that's really necessary? (it would probably triple your CI costs)
Another thing to keep in mind, matrices don't directly work with "composite" actions, which means you can't directly use them in the .github/actions/setup-prerequisites/action.yml composite action for example. To use matrices you'd need to modify the "main" workflow, an example with the "test" workflow.
the file .github/actions/setup-prerequisites/action.yml would need to be modified like this:
jobs:
  test:
    name: Run tests (Node.js v${{ matrix.node }})
    runs-on: ubuntu-22.04
    strategy:
      matrix:
        node: [ 18, 20, 22 ]
    services:
      ...
    steps:
      ...

      - name: Setup
        if: steps.check_changes.outputs.changes_outside_docs
        uses: ./.github/actions/setup
        with:
          node-version: ${{ matrix.node }}

      ...

then you'd have to pass the "node-version" param all the way down to the composite action .github/actions/setup-prerequisites like so:
name: Setup prerequisites
description: Setup pnpm, Node.js, and Foundry
inputs:
 node-version:
    description: 'Node.js version to install'
    required: true
    default: 18
runs:
  using: composite
  steps:
    ...

    - name: Setup node v${{ inputs.node-version }}
      uses: actions/setup-node@v4
      with:
        node-version: ${{ inputs.node-version }}
        registry-url: https://registry.npmjs.org
        cache: pnpm
    ...

I've setup the test workflow that way on my MUD fork so you can see what that would look like, see this run https://github.com/roaminro/mud/actions/runs/10017250112
Let me know if yuo'd like to go with that solution and if so, let me know which workflows should implement it ;)

it would probably triple your CI costs

we pay for a beefy CI box at depot so I think this would be fine for now! we'll address infra usage/costs as it becomes a problem
I think the approach of using inputs makes sense to me! wanna open a PR?


Unsupported settings in init file

Closes #498

Interesting part is that there is no translation for Default Tags and Force Tags in any language.
I know they are deprecated, but they are still supported.


Tree: Make consumed Deltas readonly

This prevents consumers of Deltas from mutating them when they shouldn't.
Reviewer Guidance
I encountered some typing issues. See the comments on the PR.

Abandoning this PR to use a different approach: https://github.com/microsoft/FluidFramework/pull/13517.


Update Links “tiktok-103”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: 7c210a7de811059e6bb36912f2ff9b553120b16e
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/610d7c05e894e70007fea632


Add body of blog post to RSS feed.

The current RSS Feed doesn't offer more than the description. It would be nice to have the body of the post included.

@cnunciato what do you think about doing this?
Evidently this is the official spec for RSS, and it doesn't look like there is a specific <content> element. I guess the convention is to just put the full post's contents in the <description> element?
I'm all for having full posts in the RSS feed, since that is much more useful, but I worry that we might run afoul of character escaping or something since the content could contain invalid XML characters. Perhaps just adding {{ .Content | xml-safe }} or something is all that's needed to put in layouts/blog/rss.xml?

I’m in favor of this too, yeah. Thanks for bringing it up.


Is this project dead?

Hi.
Last release was in 2015. On master there are changes that make this project usable for us. Any chances for a release?

I published a package of the latest version of this until the maintainer comes back:
https://github.com/sportsbet/node-bunyan-syslog

Yes, it seems that way.  There is a known issue with node 6+.  There was a fix for this merged a while back, but the maintainer never had a chance to publish to npm.  Hopeful this will comeback or allow a transfer to a new maintainer.

I've published<EMAIL_ADDRESS>which supports node v6+.


Back port changes from v1.13.1 to v2.x

Ensure changes from v1.13.1 onwards are ported to v2

https://github.com/Availity/availity-angular/commit/7691182d313b4a6c0a3cece88c285c339e95b53f


Fixed bug in using switch case statement.

Coverage increased (+1.2%) to 92.208% when pulling 72924e738268c79b176257118c60b4d07ad78e4b on ngdinhtoan:bugfixes into 4a9bb74b7c8c437627d7557cbaf2406d05bc3a07 on lazada:master.


[DOC-3791] Update delegate task capacity, env var details

Update delegate task capacity, env var details
For reviewers, previews are available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Cannot compile app when importing docker-registry-client

I cloned the repo repo and installed docker-registry-client, then added this line to App.tsx:
import * as client from "docker-registry-client"
console.log("client", client)

And I get this error when compiling (npm run dev in that project):
ERROR in ./~/asn1.js-rfc3280/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../.. in /Users/abeall/tools/docker-manager/electron/node_modules/asn1.js-rfc3280
 @ ./~/asn1.js-rfc3280/index.js 4:13-34

The error only appears when I try to import docker-registry-client. Any idea?

This is a problem with the asn1.js-rfc3280 module, which doesn't seem to work nicely with webpack.
The problem is the fallback require("../" + ".."). Webpack is supposed to ignore that, but it is sadly smart enough to evaluate the expression "../" + ".." and tries to import it (sadly it's not smart enough to detect that this require will never be needed).
Long story short, here's how you could fix this. Add this block to your webpack.config.base.js:
externals: [
  {
    "../..": "asn1"
  }
]

Let me know if that works for you. 😸

@iRath96 Thank-you for the explanation, I will give it a try!


xbox never turns on

Using latest version 1.8.7, with an xbox series x.
logs show plug-in gives frequent feedback on power state:
[02/11/2021, 13:13:15] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get Power state successful: OFF
[02/11/2021, 13:13:16] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get Power state successful: OFF
[02/11/2021, 13:22:48] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get Power state successful: OFF
Tapping the xbox tile make it light up for a few seconds, but nothing happens. the log shows no entries to try to change power state, etc..
I have confirmed that access is allowed for all apps, and also confirmed the xbox is in instant-on power mode.
My config is shown below. When I turn on the xbox with the controller, then the HomeKit tile lights up, so it apparently knows of the "on" state. I can then also turn it off by tapping the tile, so that part works fine.
This is shown here: turned on with controller, then turned off with HomeKit tile:
[02/11/2021, 12:54:17] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get Input successful, input: Settings, reference: Microsoft.Xbox.Settings_8wekyb3d8bbwe!Xbox.Settings.Application, oneneStoreProductId: Settings
[02/11/2021, 12:54:17] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get Power state successful: ON
[02/11/2021, 12:54:23] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, set Power successful, OFF
I just cannot ever turn it on via HomeKit.
                "name": "Xbox Series X",
                "host": "<IP_ADDRESS>",
                "xboxliveid": "F***************",
                "xboxWebApiToken": "M.R3_BL2.06be949a-01ab-35f3-ea3b-25cbc90202f4",
                "refreshInterval": 5,
                "disableLogInfo": false,
                "webApiControl": true,
                "volumeControl": 0,
                "switchInfoMenu": false,
                "rebootControl": false,
                "getInputsFromDevice": true,
                "filterGames": false,
                "filterApps": false,
                "filterSystemApps": false,
                "filterDlc": true,
                "inputs": [
                    {
                        "name": "Apple TV",
                        "reference": "AppleInc.AppleTV_nzyj5cx40ttqa!App",
                        "type": "APPLICATION"
                    },
                    {
                        "name": "Dashboard",
                        "reference": "Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application",
                        "type": "HOME_SCREEN"
                    },
                    {
                        "name": "Amazon Music",
                        "reference": "AmazonMobileLLC.AmazonMusicXbox_kc6t79cpj4tp0!App",
                        "type": "APPLICATION"
                    },
                    {
                        "name": "Plex",
                        "reference": "CAF9E577.PlexforXbox_aam28m9va5cke!App",
                        "type": "APPLICATION"
                    },
                    {
                        "name": "Amazon Prime",
                        "reference": "AmazonVideo.AmazonVideo_pwbj9vvecjh7j!App",
                        "type": "APPLICATION"
                    },
                    {
                        "name": "Netflix",
                        "reference": "4DF9E0F8.Netflix_mcm4njqhnhss8!App",
                        "type": "APPLICATION"
                    },
                    {
                        "name": "YouTubeTV",
                        "reference": "GoogleInc.YouTubeTV_yfg5n0ztvskxp!App",
                        "type": "APPLICATION"
                    }
                ],
                "manufacturer": "Microsoft Corporation"
            }
        ],
        "platform": "XboxTv"

Enable debug mode and try to power ON, then get the log.

Thank you, did that, output shows 'device_unavailable'.
Very weird. I have confirmed that the xbox indeed is on that IP address (wifi connection), so that's very strange:
[02/11/2021, 14:08:56] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
[02/11/2021, 14:09:01] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, connect error: {
error: 'device_unavailable',
message: 'Xbox is unavailable on <IP_ADDRESS>'
}
[02/11/2021, 14:09:01] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
[02/11/2021, 14:09:05] [homebridge-xbox-tv] Error:
at Accessory.sendCharacteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1876:14)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1583:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[02/11/2021, 14:09:06] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, connect error: {
error: 'device_unavailable',
message: 'Xbox is unavailable on <IP_ADDRESS>'
}
[02/11/2021, 14:09:06] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
[02/11/2021, 14:09:08] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, set Power, error: {
status: 'error_discovery',
error: 'Console was not found on network. Probably failed'
}
[02/11/2021, 14:09:11] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, connect error: {
error: 'device_unavailable',
message: 'Xbox is unavailable on <IP_ADDRESS>'
}
[02/11/2021, 14:09:11] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
[02/11/2021, 14:09:16] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, connect error: {
error: 'device_unavailable',
message: 'Xbox is unavailable on <IP_ADDRESS>'
}

Looks like console in not on network, so cannot be power ON.

so when not in debug mode the messages show:
[02/11/2021, 12:54:23] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, set Power successful, OFF
when debug mode is enabled, it shows:
[02/11/2021, 14:09:11] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
[02/11/2021, 14:09:16] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, connect error: {
error: 'device_unavailable',
message: 'Xbox is unavailable on <IP_ADDRESS>'
Seems odd, no? I mean the xbox IS online, otherwise I would not be able to watch TV on it, or perform any other action on it. it's logged in and online. In addition, I can turn it "off" via HomeKit when it was turned on via the controller.
I use a mesh network, both 2.4 & 5 gig bands (Orbi devices), could that have anything to do with the discovery problem? Or could a NAT issue impede discovery?

Further, when I ran the debug log, the xbox was turned OFF, but in standby mode. I tried to ping the console, and could not ping it. So I just turned the console on and can now ping it, and the debug output shows as follows:
[02/11/2021, 15:01:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug mediaStateData: { title_id: 0 }
[02/11/2021, 15:01:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, requesting device info.
[02/11/2021, 15:01:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, Connected.
[02/11/2021, 15:01:27] [XboxTv] -------- Xbox Series X --------
[02/11/2021, 15:01:27] [XboxTv] Manufacturer: Microsoft Corporation
[02/11/2021, 15:01:27] [XboxTv] Model: Model Name
[02/11/2021, 15:01:27] [XboxTv] Serialnr: F4000DB6B85ACE04
[02/11/2021, 15:01:27] [XboxTv] Firmware: 10.0.22000
[02/11/2021, 15:01:27] [XboxTv] ----------------------------------
[02/11/2021, 15:01:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug writeDevInfo: {
"manufacturer": "Microsoft Corporation",
"modelName": "Model Name",
"serialNumber": "F4000DB6B85ACE04",
"firmwareRevision": "10.0.22000"
}
[02/11/2021, 15:01:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
}, apps: {
title_id: 750323071,
flags: <Buffer 80 00>,
product_id: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,
sandbox_id: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,
aum_id: 'Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application'
}, xbox: {
_ip: '<IP_ADDRESS>',
_certificate: <Buffer 30 82 02 47 30 82 01 2f a0 03 02 01 02 02 10 2f cf 13 56 ae 65 f8 47 a0 94 66 df 97 e2 b5 e0 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 25 31 23 ... 537 more bytes>,
_iv: false,
_liveid: 'F4000DB6B85ACE04',
_is_authenticated: false,
_participantid: 6,
_connection_status: false,
_request_num: 48,
_target_participant_id: 0,
_source_participant_id: 6,
_fragments: {},
_crypto: [Object],
getIp: [Function: getIp],
getCertificate: [Function: getCertificate],
getLiveid: [Function: getLiveid],
setLiveid: [Function: setLiveid],
get_requestnum: [Function: get_requestnum],
set_participantid: [Function: set_participantid],
connect: [Function: connect],
loadCrypto: [Function: loadCrypto]
}, remote: { address: '<IP_ADDRESS>', family: 'IPv4', port: 5050, size: 186 }, smartglass: {
_client_id: 92,
_console: [Object],
_socket: [Socket],
_events: [EventEmitter],
_last_received_time:<PHONE_NUMBER>,
_is_broadcast: false,
_ip: '<IP_ADDRESS>',
_interval_timeout: Timeout {
_idleTimeout: 1000,
_idlePrev: [Timeout],
_idleNext: [TimersList],
_idleStart: 136076,
_onTimeout: [Function: bound ],
_timerArgs: undefined,
_repeat: 1000,
_destroyed: false,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 1679,
[Symbol(triggerId)]: 1674
},
_managers: [Object],
_managers_num: 3,
_connection_status: true,
_current_app: 'Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application',
discovery: [Function: discovery],
getActiveApp: [Function: getActiveApp],
isConnected: [Function: isConnected],
powerOn: [Function: powerOn],
powerOff: [Function: powerOff],
connect: [Function: connect],
on: [Function: on],
disconnect: [Function: disconnect],
recordGameDvr: [Function: recordGameDvr],
addManager: [Function: addManager],
getManager: [Function: getManager],
_getSocket: [Function: _getSocket],
_closeClient: [Function: _closeClient],
_send: [Function: _send]
}
[02/11/2021, 15:03:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug mediaStateData: { title_id: 0 }
[02/11/2021, 15:03:27] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug update device state.
What do you make of this info? Is there something preventing the xbox to be accessible when in standby mode?

In your case the console is not available on network in standby mode, as long the console is not connected to the network cannot be powered ON.  Looks like the instant power on is not enabled or not working correct or the console lost connection to the network in standby.

Okay, I will keep messing around and see if I can figure out why this is happening.
thanks for your time!

Okay, I will keep messing around and see if I can figure out why this is happening.
thanks for your time!

Im having the same issue as u are if u figure it out please let me know

Okay, I will keep messing around and see if I can figure out why this is happening.
thanks for your time!

Im having the same issue as u are if u figure it out please let me know

I am curious...when your xbox is in stand-by mode, can you ping it with a response? Mine times out, which probably means that my home bridge cannot find/connect to it. Let me know pls.

Okay, I will keep messing around and see if I can figure out why this is happening.
thanks for your time!

Im having the same issue as u are if u figure it out please let me know

I am curious...when your xbox is in stand-by mode, can you ping it with a response? Mine times out, which probably means that my home bridge cannot find/connect to it. Let me know pls.

So far when my xbox is on I have no issues with it timing out it but once I turned it off that's when the issue start I'm new to homebridge maybe less the 4 days using it i was hoping I could get this  to work like I have the Google assistant working with the xbox

try 1.8.8 please

try 1.8.8 please

Thank u updating to 1.8.8 worked towards turning on the Xbox

@many7695 that's great to hear. I tried here and it's still failing, but with a slightly different error:
[04/11/2021, 15:51:42] [homebridge-xbox-tv] Error:
at Accessory.sendCharacteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1876:14)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1583:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[04/11/2021, 15:51:45] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, debug discoveryData: [].
[04/11/2021, 15:51:48] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, set Power, error: {
status: 'error_discovery',
error: 'Console was not found on network. Probably failed'
So, still unable to find the xbox it seems :(
I should also note that, using the official xbox IOS App, I am able to turn on the console remotely, however, it does seem like it takes about 10 seconds or so. Is there a way to 'extend' the discovery or wait time to find the console to a little longer time to see if that makes it work?

in 1.8.12-beta i have added possibility to set number of reties powerON, available in Advanced Settings.
Try set to 10 or so and check.

Thank you. I don't know how to install a beta, I will wait until you release this version and give that a try!
I am not sure what/where advanced is, but I assume I can just add an entry in to the config file, right? what will the syntax be for the powerON retries?

Hey there, I just installed 18.15. Can you tell me how I would set the powerON retries please? I don't see a command in the config file, and also don't see it on the wiki.
You mentioned advanced settings, but I cannot find any documentation on where that is, and how to configure it.

Hi there, I just installed the last beta version 2.0.0-beta, in this version the power on and the power off feature don't work.
Also, I realize this library works: https://github.com/arcreative/xbox-on
Do you accept PRs? I could fix this bug this weekend.
Regards

can you try 2.0.0 b477, here is working fine

Hey there, I just installed 18.15. Can you tell me how I would set the powerON retries please? I don't see a command in the config file, and also don't see it on the wiki.
You mentioned advanced settings, but I cannot find any documentation on where that is, and how to configure it.

I have don't  implemented this finally because lead to unexpected behavior and characteristics timeout,
just please  try 2.0.0 beta, after install check your Xbox Live ID in settings and other properties

Nice, if you see any bugs please reports here: #112

Hi All,
Same issue here. Tried with latest stable and beta also. My console IP goes offline when it turned off. Series X. And there is no more Instant on mode, just Standby.
What can I do?
Many Thanks!

@djsomi your problem hav nothing to do with this plugin. Check console settings, may be console software bug.

@djsomi your problem hav nothing to do with this plugin. Check console settings, may be console software bug.

Finally solved it, yesterday I've tested the new 2.0 stable, which started to work partially, so removed and reinstalled it again, and I just discovered that I've skipped to set the xboxLiveId at the prev config.
Now its working fine, it can turn on even if the xbox is not pinging, + menus are working fine also.
Thanks for this great plugin!
BR
Somi

I have adde in readme Note about needed to set again xboxLiveId in settings: https://github.com/grzegorz914/homebridge-xbox-tv#note

I tried re-authorizing with the built-in authorization manager, but when
I reboot i get this:
Device: 192.168.1.xxx Xbox Series X, Token request error: {
  status: 400,
  body: {"error":"invalid_grant","error_description":"The provided value for the 'code' parameter is not valid.","correlation_id":"03d86417-e3c2-49e5-9ccf-3cd0a6d6ec69"}
So now the Web API Token and Live ID are empty.
And in the log it no longer shows the steps on how to manually set up /
authorize, so now I am dead in the water.
If possible, please document the manual method in your wiki. Right now,
I have no idea how to do that, since it is not in the log.
Thanks!

Darrel
On December 26, 2021, Grzegorz @.***> wrote:

I have adde in readme Note about needed to set again xboxLiveId in
settings: https://github.com/grzegorz914/homebridge-xbox-tv#note

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001133829>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E6YX74DWWRM4SW6XJTUS3LIXANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

remove token using  authorization manager GUI and start authorization console again

Ahh yes ok.
When I do that, I get this error in the new window:
We're unable to complete your request
invalid_request: The provided request must include a 'client_id' input
parameter.

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

remove token using authorization manager GUI and start authorization
console again

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001645140>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E4HWKQAIKGYCIM3TCLUTCH3VANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

Are You set correct Live ID in settings

fixed in 2.0.5, make update

Thanks, yep the console authorized successfully and the config file
seems to be correct again!
Upon reboot, this error is now showing up in the log, just FYI.
[27/12/2021, 08:48:59] [XboxTv] Device: 192.168.1.xxx Xbox Series X,
with liveId: , get Storage Devices error: {
  status: 400,
  body: '{\r\n' +
    '  "status": {\r\n' +
    '    "errorCode": "MissingDeviceId",\r\n' +
    '    "errorMessage": "Missing DeviceId query parameter"\r\n' +
    '  },\r\n' +
    '  "deviceId": null,\r\n' +
    '  "result": [],\r\n' +
    '  "agentUserId": null\r\n' +
    '}'

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

fixed in 2.0.5, make update

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001650491>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E6BRADYVEAFLECY4BLUTCJSTANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

Can You post Your config here?

Sure:
"devices": [
                {
                    "name": "Xbox Series X",
                    "host": "192.168.1.XXX",
                    "xboxliveid": "FD000xxxxxxxxxxx",
                    "xboxWebApiToken": "M.R3_BAY.191f749c-df30-6d55-
e5b3-81b80675fc8c",
                    "refreshInterval": 5,
                    "disableLogInfo": false,
                    "webApiControl": true,
                    "volumeControl": 0,
                    "switchInfoMenu": false,
                    "rebootControl": false,
                    "getInputsFromDevice": true,
                    "filterGames": false,
                    "filterApps": false,
                    "filterSystemApps": false,
                    "filterDlc": true,
                    "inputs": [
                        {
                            "name": "Apple TV",
                            "reference":
"AppleInc.AppleTV_nzyj5cx40ttqa!App",
                            "type": "APPLICATION"
                        },
                        {
                            "name": "Dashboard",
                            "reference":
"Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application",
                            "type": "HOME_SCREEN"
                        },
                        {
                            "name": "Amazon Music",
                            "reference":
"AmazonMobileLLC.AmazonMusicXbox_kc6t79cpj4tp0!App",
                            "type": "APPLICATION"
                        },
                        {
                            "name": "Plex",
                            "reference":
"CAF9E577.PlexforXbox_aam28m9va5cke!App",
                            "type": "APPLICATION"
                        },
                        {
                            "name": "Amazon Prime",
                            "reference":
"AmazonVideo.AmazonVideo_pwbj9vvecjh7j!App",
                            "type": "APPLICATION"
                        },
                        {
                            "name": "Netflix",
                            "reference":
"4DF9E0F8.Netflix_mcm4njqhnhss8!App",
                            "type": "APPLICATION"
                        },
                        {
                            "name": "YouTubeTV",
                            "reference":
"GoogleInc.YouTubeTV_yfg5n0ztvskxp!App",
                            "type": "APPLICATION"
                        }
                    ],
                    "manufacturer": "Microsoft Corporation"
                }
            ],
            "platform": "XboxTv"

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

Can You post Your config here?

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001654294>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E5RFUGBBJLD64UYGJ3UTCK4VANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

ab version v2.0.0 and above correct properties is xboxLiveId not xboxliveid, please always use guy to configure or look in readme or sample config.

thank you, sorry for this Pain...now that the ID syntax is correct, get
different error:
[27/12/2021, 09:43:25] [XboxTv] Device: 192.168.1.XXX Xbox Series X,
authorized and Web Api enabled.
[27/12/2021, 09:43:25] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge 6249)
is running on port 51036.
[27/12/2021, 09:43:25] Xbox Series X 01F5 is running on port 35997.
[27/12/2021, 09:43:25] Please add [Xbox Series X 01F5] manually in Home
app. Setup Code: 818-38-615
[27/12/2021, 09:43:25] [XboxTv] Device: 192.168.1.XXX Xbox Series X,
with liveId: FD000XXXXXXXX, get Installed Apps error: {
  status: 404,
  body: '{\r\n' +
    '  "status": {\r\n' +
    '    "errorCode": "XboxDataNotFound",\r\n' +
    '    "errorMessage": "Xbox not found for user:
0003BFFD88C32D7A"\r\n' +
    '  },\r\n' +
    '  "result": [],\r\n' +
    '  "agentUserId": null\r\n' +
    '}'
}.
I have verified that the LiveID is correct. I am not sure where the
"user: 0003BFFD88C32D7A" is coming from? I don't see that in any
configs.

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

ab version v2.0.0 and above correct properties is xboxLiveId not
xboxliveid, please always use guy to configure or look in readme or
sample config.

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001660991>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E4UWDGDDPC3E7CPUXLUTCMWZANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

Are You authorized console with correct Live ID?, I think You make this without Live ID, if not please authorize it again from GUI. First Clear Web Api Token.

i can do that. I feel maybe that i just should uninstall and start over.
Should I manually delete the tokenfile in the folder as well? If yes,
which is the token file? There are several files with the word token in
them. ApiToken files and authToken files. I have several for both. Are
these of concern and should be deleted?

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

Are You authorized console with correct Live ID?, I think You make
this without Live ID, if not please authorize it again from GUI. First
Clear Web Api Token.

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001687864>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E3C4HCRKDUQQOMDM4LUTCU2NANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, You can manually delete it in folder, file authToken_xxxxx

Ohhh man... :(
I removed the plug-in, deleted the xboxtv folder as you said.
I re-installed, and the xbox authorized successfully with my liveid.
Upon reboot, I now get these:
[27/12/2021, 10:43:44] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge 6249)
is running on port 51036.
[27/12/2021, 10:43:44] [XboxTv] Device: <IP_ADDRESS> Xbox Series X,
prepareInformationService error: SyntaxError: Unexpected end of JSON
input
    at JSON.parse ()
    at xboxTvDevice.prepareAccessory
(/usr/local/lib/node_modules/homebridge-xbox-tv/index.js:741:54)
[27/12/2021, 10:43:44] Xbox Series X 01F5 is running on port 44959.
[27/12/2021, 10:43:44] Please add [Xbox Series X 01F5] manually in Home
app. Setup Code: 818-38-615
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X,
authorized and Web Api enabled.
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Power state successful: OFF
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Input successful, input: Screensaver, reference:
Xbox.IdleScreen_8wekyb3d8bbwe!Xbox.IdleScreen.Application, product Id:
Screensaver
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Current Media state successful: STOP
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Target Media state successful: STOP
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Mute successful: OFF
[27/12/2021, 10:43:46] [XboxTv] Device: <IP_ADDRESS> Xbox Series X, get
Volume successful: 0
[27/12/2021, 10:43:47] [XboxTv] Device: <IP_ADDRESS> Xbox Series X,
with liveId: FD000DB6B85ACE04, get Installed Apps error: {
  status: 404,
  body: '{\r\n' +
    '  "status": {\r\n' +
    '    "errorCode": "XboxDataNotFound",\r\n' +
    '    "errorMessage": "Xbox not found for user:
0003BFFD88C32D7A"\r\n' +
    '  },\r\n' +
    '  "result": [],\r\n' +
    '  "agentUserId": null\r\n' +
    '}'
}.
The config.json is now pristine, since I started over:
"devices": [
                {
                    "name": "Xbox Series X",
                    "host": "<IP_ADDRESS>",
                    "xboxLiveId": "FD000XX",
                    "clientId": "5e5ead27-ed60-482d-b3fc-702b28a97404",
                    "disableLogInfo": false,
                    "webApiControl": true,
                    "volumeControl": 0,
                    "switchInfoMenu": false,
                    "getInputsFromDevice": true,
                    "filterGames": false,
                    "filterApps": false,
                    "filterSystemApps": false,
                    "filterDlc": false,
                    "enableDebugMode": false,
                    "xboxWebApiToken": "M.R3_BAY.81d967a4-e9b7-d5d1-
5552-9cfea0a4b3a7"
                }

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

Yes, You can manually delete it in folder, file authToken_xxxxx

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001690155>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7E6TUROIF5Z4NU3MBBTUTCVRBANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>

Mays be You console is lined to other Xbox Live Account, the error took that data of the console is not found on this Xbox Live Account. Log In using web browser to your Xbox Live Account and check ob this console is there.

I checked. It's there, it's the only one i have :(
Oh well. Thank you for all your help!

Darrel
On December 27, 2021, Grzegorz @.***> wrote:

Mays be You console is lined to other Xbox Live Account, the error
took that data of the console is not found on this Xbox Live Account.
Log In using web browser to your Xbox Live Account and check ob this
console is there.

—
Reply to this email directly, view it on GitHub
<https://github.com/grzegorz914/homebridge-xbox-
tv/issues/106#issuecomment-1001702273>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AWKH7EYPYHQVREPMHTTLUPLUTCZZ3ANCNFSM5HHLHKYA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-
email&mt=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-
email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
@.***>


Added roadmap draft

Adds a roadmap

May I suggest that we additionally add a "Community Roadmap" or "Community involvement":
* Our roadmap and history in presenting NIR to the community like the ONM talk, NICE tutorial, and maybe also NIR tutorials in the neuromorphic workshops (Telluride and Capocaccia)

* we plan to improve our documentation and examples (self-contained), so that an onboarding of new users and developers is easy

* Mention the discord channel for people to get involved or need help

* maybe: ONM hackathon sessions

* Potential integration of NIR for NeuroBench systems track.

I think that's an excellent suggestion! Although, I wonder whether it makes sense to make it a bit less "formal" and just straight-up list all the community events for people to engage with / revisit?
I added a separate page (Community events) as a suggestion. I also linked to it in the roadmap with some catchy text that explains our community commitment. What do you think @bvogginger ?

Thank you for the inputs @bvogginger! I'll go ahead and merge. We can always refine later.


Mechanical ventilation duration

would it be possible to extract the mechanical ventilation duration from the "respiratorycare" table as it includes the following offsets?

'ventstartoffset', 'ventendoffset', 'priorventstartoffset', 'priorventendoffset'

These durations are likely estimable for some hospitals. I would also recommend using the respiratorycharting table.
The method to calculate these durations may need to be adapted a the hospital-level, so you should try to validate your method by hospital, and make adjustments or new methods if needed.


Not working with SEGA RingEdge 2

Hello, I and another person are having issues running the Ver 2.00 board with the SEGA RingEdge 2. The board will lag inputs and not allow games to be run due to the board. You can read more info here . Is there any way you will be able to fix this issue? If you would like photos or videos let me know!

Can we merge this topic to #44 ?


[Question] What is the difference between id and document_id in Delete Request?

Hi,
I am trying to integrate OpenSearch K-NN Datastore(https://github.com/openai/chatgpt-retrieval-plugin/issues/78) in Chatgpt-retrieval-plugin. I was looking at Delete Request model here and got confused between id and document_id. Can some provide the difference between both of them?
My understanding is id is the string that is returned to user when he did the upsert request and document_id is the string which datastore has used to store the different chunks.

Closing this issue. I misread the schema, on doing careful evaluation, It was ids and not id. The ids is a list of document_ids which are returned from upsert call.


🪲 Long datasets expression issues

SELECT SHA256(column_0) FROM FAKE(1000000, 1)

TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array

The line that fails is trying to write a numpy array, not a pyarrow arrow. I guess internally this is being converted, due to its size, it's being converted to a chunked array, which it then fails.

This fails, same reason, but a little faster
SELECT SHA512(column_0) FROM FAKE(150000, 1)


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1742 ms

Resolved: Bofrost.at performance has improved in 4c70d8d after 6 minutes.


Finish out custom fields implementation

The changes made in #147 were to fix functionality broken when Trello changed over to the new API.  The new implementation was somewhat half-baked.
This issue is to complete that implementation so that it aligns with the rest of the design in the library.

See branch feature/163-custom-fields


Use with your MERF implementation?

Hi! Will this code work with your MERF implementation?
https://github.com/ashawkey/torch-merf
Can I extract mesh and texture?
Thank you!

@antithing Hi, I guess not currently. The scene contraction in MeRF is not implemented here.


Adding payment plans overview + small consistency fix

Added a new section that covers the existing payment plans from the POV of engineering usefulness (hopefully).
For consistency's sake turned "Using a private repository" into "Use a private repository" + added "(optional)" for both this section & the payment plans section.
I'm not 100% sure that "Enable extra features by upgrading" is the best title here. Other discarded variants are:

For large organizations
Payment plans
Upgrade options

Works fine now. Let's discuss this one next week & ship @plaindocs

Let's close this for now. Thanks for the work on this @karensawrey.


Weird issue regarding arrays

I'm developing both a React Native and React app. The React Native app uses react-native-firebase, so the issue may potentially also lie there and not in the iOS SDK.
In one part of my app, the user can submit an array possibly containing the numbers 1 to 4, and the rule that validates it is the following:
return
  request.resource.data.reasons is list &&
  request.resource.data.reasons.size() <= 4 &&
  request.resource.data.reasons.hasOnly([1,2,3,4]);

This works on Web and Android, and on iOS an empty array is accepted. However, including one or more of the accepted numbers 1, 2, 3 or 4 is for some reason denied. The write succeeds if I remove the hasOnly condition.
Since the same rule behaves differently on different platforms, I would assume that this is issue is somehow related to iOS or the iOS SDK, though I'm at a loss where to start tracking it down. Anyone similar reports?

Hi @Zloka - are these Firebase APIs you're calling or general React APIs? At first glance it seems like this is either better for stack overflow (if it's not related to Firebase APIs) or better for the React Native Firebase repo if it's involving Firebase APIs.

Hi @ryanwilson!
I'm calling the Firebase APIs (using React Native Firebase). I opened an issue there too. I haven't had any time to dig deeper into it just yet, but since the values passed over the bridge is the same for Android/iOS, it would make sense that either React Native Firebase's implementation of the APIs differ, or the difference lies in the SDKs themselves.
I know I'm not giving you much to go on here, I'm just trying to poke my head in to see if anyone may have encountered something similar cause at face value it clearly seems like a bug, though possibly not within the iOS SDK like you pointed out.

I'm going to mark this as needs-info since we'll likely need this translated to the iOS SDK APIs for those on this repo to help.


MINOR: Fix broken releases

the previous url was behind a CDN and it would be cached, this meant that
it would sometimes return the old version and this would overwrite the
updated releases.json from the publish package action, hence we rely
on the up to date link
Signed-off-by: Jonathan Stichbury<EMAIL_ADDRESS>Thank you for contributing to harp.gl!
Before requesting a pull request, please remember to check the following documents:

contribution guidelines
coding style

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.
CI Check
Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!
And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.
Happy contributing!

rebase please

rebase please

rebase please


remove REWARD_PER_BLOCK variable

Like this:

remove REWARD_PER_BLOCK variable
rename rewardMultipliers to rewardPerEpoch (it represents how much rewardTokens are paid out in each of the 24 epochs)
rename MULTIPLIER_PERIOD to EPOCH_LENGHT
remove getMultipliers(fromblock, toblock) and move that logic to getRewardsForBlockRange

Should there be anything instead of the REWARD_PER_BLOCK or just remove it from the calculation it's used in?


ISPN-16827 Set fixed ports in the UDP stack

https://issues.redhat.com/browse/ISPN-16827

I tried to speedup the test suite by adding a zero timeout to the first node starting... it saves 3 min when compared with the main branch. Not sure if it is worth keeping it and I'll let the reviewer decide :)

It is updated with Ashwin's suggestion.

Integrated into main, thanks @pruivo !


Update add_file to return output

add_file method now give the same return value as add_files so caller can receive info about the added file.

Good update- thanks for catching this!


Fix/seperate mock data

Before creating a pull request make sure that:

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

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

you seem to be getting the same please investigate
1) Scenario: Verify case file navigation from case summary page # test/e2e/features/app/caseFile.feature:11
20:45:47    ✔ Given I navigate to JUI Url # test/e2e/features/step_definitions/steps/logIn.steps.js:38
20:45:47    ✔ Then I am logged into JUI web app # test/e2e/features/step_definitions/steps/logIn.steps.js:28
20:45:47    ✔ When I select a case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:30
20:45:47    ✔ Then I will be redirected to the Case Summary page for that case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:64
20:45:47    ✖ Then I can see sub nav links as Parties,Case file,Timeline # test/e2e/features/step_definitions/steps/caseSummary.steps.js:150
20:45:47        AssertionError
20:45:47            + expected - actual
20:45:47
20:45:47            -Case file
20:45:47            +Timeline

20:13:09 2) Scenario: Verify summary page sub nav links and their redirected pages # test/e2e/features/app/summary.feature:35
20:13:09    ✔ Given I navigate to JUI Url # test/e2e/features/step_definitions/steps/logIn.steps.js:38
20:13:09    ✔ When I am logged into JUI web app # test/e2e/features/step_definitions/steps/logIn.steps.js:28
20:13:09    ✔ Then I select a case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:30
20:13:09    ✔ Then I will be redirected to the Case Summary page for that case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:64
20:13:09    ✖ Then I should see Summary sub nav link # test/e2e/features/step_definitions/steps/caseSummary.steps.js:143
20:13:09        AssertionError
20:13:09            + expected - actual
20:13:09
20:13:09            -Parties
20:13:09            +Summary

20:13:09 3) Scenario: Verify summary page sub nav links and their redirected pages # test/e2e/features/app/summary.feature:68
20:13:09    ✔ Given I navigate to JUI Url # test/e2e/features/step_definitions/steps/logIn.steps.js:38
20:13:09    ✔ When I am logged into JUI web app # test/e2e/features/step_definitions/steps/logIn.steps.js:28
20:13:09    ✔ Then I select a case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:30
20:13:09    ✔ Then I will be redirected to the Case Summary page for that case type # test/e2e/features/step_definitions/steps/dashBoard.steps.js:64
20:13:09    ✖ Then I should see Summary sub nav link # test/e2e/features/step_definitions/steps/caseSummary.steps.js:143
20:13:09        AssertionError
20:13:09            + expected - actual
20:13:09
20:13:09            -Parties
20:13:09            +Summary


HMLANGW mode doesn't work in <IP_ADDRESS>30506

Describe the issue you are experiencing
/bin/hmlangw hangs in an endless communication loop over /dev/mmd_bidcos at startup, thus no lan gateway functionality (checked with strace). Downgrade to <IP_ADDRESS>30114 fixes the issue.
Describe the behavior you expected
lan gateway mode
Steps to reproduce the issue
Fresh install of <IP_ADDRESS>30506 on a Pi 3B with HM-RF-MOD, configure networking, ntp server and ssh, create /usr/local/HMLGW, reboot.
What is the version this bug report is based on?
<IP_ADDRESS>30506
Which base platform are you running?
rpi3 (RaspberryPi3)
Which HomeMatic/homematicIP radio module are you using?
RPI-RF-MOD
Anything in the logs that might be useful for us?
none as /bin/hmlangw just loops at 100% cpu

Additional information
I just ordered another Pi 3B / HM-RF-MOD combo on which I could do some testing before this system goes live as a lan gateway, if you are interested. Should arrive in a couple of days.

Sorry, but this can't be a general / common issue since several other people are constantly using the LAN Gateway mode of RaspberryMatic with a HM-MOD-RPI-PCB or with a RPI-RF-MOD and the last time I checked it also worked for me. So please investigate further to rule out local issues on your side.

No Problems here with LGW-Mode on Pi2B with HM-MOD-RPI-PCB.
(running Nightly <IP_ADDRESS>30612)

Sorry for closing, was not intendend.

Please explain what a HM-RF-MOD is? I guess you are meaning the RPI-RF-MOD but as you always call it HM-RF-MOD I want to make sure which exact RF module you are indeed using as I never heard of any HM-RF-MOD...

Yes, RPI-RF-MOD, I do mess with this name constantly as everything else starts with HM...

Ok, but then simply keep on using <IP_ADDRESS>30114 for the HMLANGW version of your RaspberryPi as there is no benefit in updating to any later version.  And since the hmlangw source code was never modified/touched since its initial release in 2015 I don't see any reason to update to newer versions if you just run RaspberryMatic in HMLANGW mode. In addition, using a RaspberryPi3+RPI-RF-MOD just for HMLANGW mode is IMHO a waste of resources. A RaspberryPi1 or even a RaspberryPi2 with a HM-MOD-RPI-PCB is completely enough for the LAN Gateway mode. Thus, keep this version running forever if it works for you and perhaps someone will find the time to try to reproduce your issue. But as @Baxxy13 already stated here at least with the HM-MOD-RPI-PCB he does not see any issue. However, perhaps he can try to reproduce the same with a RPI-RF-MOD and then report here.

No problem here, it should however be stated as a hint in the documentation that for RPI-RF-MOD the working image is 3.67.10. BTW I'm using this hardware to have a replacement around in case the Raspberrymatic system dies due to a hardware fault.

No problem here, it should however be stated as a hint in the documentation that for RPI-RF-MOD the working image is 3.67.10.

This hasn't been verified yet by another person, thus no need to hurry for any documentation adaptions. Wait for someone to reproduce it here and then we will see...

Sorry Jens. "Debugging" S47InitRFHardware ist a bit too much for me.

Ok, I tested it myself now with a RaspberryPi2 and a RPI-RF-MOD and here it seems to work:
Identifying Homematic RF-Hardware: ....HmRF<EMAIL_ADDRESS>HmIP<EMAIL_ADDRESS>OK
Updating Homematic RF-Hardware: RPI-RF-MOD: 4.4.22, not necessary, OK

# netstat -tulpn | grep LISTEN
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      1393/sshd [listener
tcp        0      0 <IP_ADDRESS>:2000            <IP_ADDRESS>:*               LISTEN      1480/hmlangw
tcp        0      0 <IP_ADDRESS>:2001            <IP_ADDRESS>:*               LISTEN      1480/hmlangw
tcp        0      0 :::22                   :::*                    LISTEN      1393/sshd [listener

Thus, hmlangw seem to start up properly and is listening for connections on port 2000/2001. However, lets see if it works with a RaspberryPi3b as well.

After I have tested the LAN-Gateway mode myself yesterday (including a RaspberryPi3+RPI-RF-MOD environment) I can at least partly support the observations by @not1337. In fact, sometimes it seems the hmlangw cannot startup properly and is endlessly waiting for input data on /dev/mmd_bidcos during startup before it usually goes on in processing and then starts up additional threads to listen on port 2000 and 2001. See here:
# /bin/hmlangw -n 58A992F000 -s /dev/mmd_bidcos -r -1 -D
serial fd 3 name /dev/mmd_bidcos

Usually it should continue outputting info on thread startup and showing receiving bytes entering via /dev/mmd_bidcos. And I could also reproduce that also sometimes it correctly starts up even on a Pi3+RPI-RF-MOD combo.
However, the issue does not seem to be 100% reproducible and sometimes it requires multiple restarts of hmlangw before it is not able to receive any more input data from /dev/mmd_bidcos and is waiting forevery during the startup phase. What can be seen, however, is that during startup hmlangw seem to get flooded by events on the eq3loop char devices as the kernel regularly spits out not enough space in buffers error/warning messages which, however, could be simply a sympton of the startup problem:
[ 1893.707889] eq3loop: eq3loop_write_master() mmd_bidcos: not enough space in buffers. free space = 10, required space = 18
[ 1893.707904] eq3loop: eq3loop_write_master() return error: -14

Perhaps this also partly points at some synchronization issue in the eq3loop char kernel driver?!?!
Long story short: There really seem to be a startup/synchronization issue when hmlangw tries to startup and this really needs further investigation. And perhaps it would be nice if @Baxxy13 or @jp112sdl could try to reproduce these startup issues... However, I also see the complications with all this hmlangw functionality and that it still has low priority, but if we have some luck this could be a simple startup/synchronization issue in the hmlangw source code which we perhaps can easily solve in the end...

Here is also a problem with the LAN-Gateway. I have four LAN-Gateway connected via WLAN an LAN. Two LAN-Gateways are original Homematic HM-LGW-O-TW-W-EU and the other LAN-Gateways are Rasperry Pis where I run the binary hmlangw. This works for many years now. If the LAN-Gateway disconnects, they can´t be reconnect to the raspberrian version <IP_ADDRESS>30506. Downgrade to Version <IP_ADDRESS>30407 fix the problem for me. On version <IP_ADDRESS>30506 many times the Webinterface shows connected but the DutyCycle shows -1 and no device is via the LAN-Gateway reachable.

With the next nightly snapshot a new version of the hmlangw LAN gateway daemon will be included in which I fixed an issue during bootloader setup/init which should explain the issues @not1337 reported here. So please try to use the next nightly snapshot and see if it improves the hmlangw startup/workings.

Hi,
just updated my LAN gateway (HM-MOD-RPI-PCB on RaspberryPi Zero W) from <IP_ADDRESS>30506 to <IP_ADDRESS>30626 and it stops working exactly by the issue described here for these previous version, where I'm personally have had no problems, but in this version never checked log messages because it worked.
ports are open:
# netstat -tulpn | grep LISTEN
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      1245/sshd [listener
tcp        2      0 <IP_ADDRESS>:2000            <IP_ADDRESS>:*               LISTEN      1332/hmlangw
tcp        0      0 <IP_ADDRESS>:2001            <IP_ADDRESS>:*               LISTEN      1332/hmlangw
tcp        0      0 :::22                   :::*                    LISTEN      1245/sshd [listener

# tail -f /var/log/hmlangw.log
Client <IP_ADDRESS> connected to BidCos port!
Client <IP_ADDRESS> connected to keepalive port!
Keepalive client closed connection.
BidCos client closed connection.

but system hangs on crowded /var/log/messages:
Jun 28 11:11:27 homematic-raspi-hgw kern.err kernel: [ 4333.530009] eq3loop: eq3loop_write_master() mmd_bidcos: not enough space in buffers. free space = 15, required space = 18
Jun 28 11:11:27 homematic-raspi-hgw kern.info kernel: [ 4333.530076] eq3loop: eq3loop_write_master() return error: -14

How can I help for further investigations?

Sorry, but this issue is closed here. If you have a new problem, open a new issue and explain your issue in more detail. From your posting I am not sure if you actually do have a real problem or not or if you are just interpreting the kernel messages as a kind of error but you do not have a practical error using the hmlangw. These kernel messages (.. not enough space in buffers...) are not automatically point at a problem but are just symptoms of data flooding that could easily happen during initial startup and synchronization....
So the more important point is if the LAN gateway connection works or not, and if it does and your device are reachable and working in long term: fine. So please report issues based on real problem and not by trying to simply interpret log file entries as problems.... This is unfortunately a common mistake these days...

If it worked with previous versions and now with the new version it does not, yes. Open a new issue, but please show detail technical information on the previous case (where it worked) and now with the new version where it stopped working and please try to identify more details on the actual behaviour (100% cpu use?, no successful connection in the main raspberrymatic webui?, etc. etc.)

Sorry for being late, just got around testing. The good news is that with the 20230630 nightly the issue is solved.

Sorry for being late, just got around testing. The good news is that with the 20230630 nightly the issue is solved.

This does not make sense. From <IP_ADDRESS>30626 to <IP_ADDRESS>30630 nothing HMLANGW relevant was changed. These versions are essentially the same.

I simply couldn't get around to test an earlier version than 20230630 - time constraints.

Sorry, no test on 20230630 here because of production system (care system for my old parents ;-)...


(2.2.19) Beauty tabs not showing numbers

A minor bug with beauty tab, it doesn't show the numbers of each plot
Steps to reproduce the behavior

Click on beauty tab
Choose a plot to check

Mod list

Harmony
Core
HugsLib
RimThreaded (2.2.19)

Confirmed in 2.2.19. Created a new save and enabled beauty display, but the numbers on top of each tile weren't there.

I think this is fixed in 2.3.4


fix namespace bug in _logs()

There is a leftover bug from #651 that prevented the Battle signet miner command from working:
Command:

(.venv) --> warnet run scenarios/admin/signet_miner.py --source_dir=scenarios --tank=0 generate  --min-nbits --address=$(warnet bitcoin rpc miner getnewaddress) --ongoing --debug

Error:

Error getting pods. Could not determine primary container: cannot access local variable 'pod_namespace' where it is not associated with a value

ACK. Works for me.


Can we get the current zoom level ?

Is there a way that we get the current zoom level, I just want to save the current zoom level so that next time I can re-render with the selected level. I can use onZoomIn and onZoomOut to set the level value and, zoomTo to set the zoom, but can we get the zoom in number.
Thanks in Advance

You can use the toObject function of the react flow instance https://reactflow.dev/docs/api/react-flow-instance/

is it supported in version 5.11?

If you're using version 8.0.0+ you can make use of useStoreState hook. https://reactflow.dev/docs/api/internal-state-actions/
const zoomLevel = useStoreState((state) => state.transform[2]);


Mitogen fails on pip module

Ansible and Python versions:

ansible --version
ansible 2.7.9
  configured module search path = [u'/home/strangeman/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.16 (default, Apr  6 2019, 01:42:57) [GCC 8.3.0]

Ansible config:

ANSIBLE_PIPELINING(/mnt/src/sources/playbooks/ansible.cfg) = True
ANSIBLE_SSH_ARGS(/mnt/src/sources/playbooks/ansible.cfg) = -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o ControlMaster=auto -o ControlPersist=60s
CACHE_PLUGIN(/mnt/src/sources/playbooks/ansible.cfg) = yaml
CACHE_PLUGIN_CONNECTION(/mnt/src/sources/playbooks/ansible.cfg) = ./ansible-cache
CACHE_PLUGIN_TIMEOUT(/mnt/src/sources/playbooks/ansible.cfg) = 86400
DEFAULT_CALLBACK_WHITELIST(/mnt/src/sources/playbooks/ansible.cfg) = [u'print_changed']
DEFAULT_GATHERING(/mnt/src/sources/playbooks/ansible.cfg) = smart
DEFAULT_LOOKUP_PLUGIN_PATH(/mnt/src/sources/playbooks/ansible.cfg) = [u'/mnt/src/sources/playbooks/lookup_plugins']
DEFAULT_MANAGED_STR(/mnt/src/sources/playbooks/ansible.cfg) = Ansible managed, do not edit directly
DEFAULT_ROLES_PATH(/mnt/src/sources/playbooks/ansible.cfg) = [u'/mnt/src/sources/playbooks/roles']
DEFAULT_STRATEGY(/mnt/src/sources/playbooks/ansible.cfg) = mitogen_linear
DEFAULT_STRATEGY_PLUGIN_PATH(/mnt/src/sources/playbooks/ansible.cfg) = [u'/usr/local/lib/python2.7/dist-packages/ansible_mitogen/plugins/strategy']
DEFAULT_TIMEOUT(/mnt/src/sources/playbooks/ansible.cfg) = 60
RETRY_FILES_ENABLED(/mnt/src/sources/playbooks/ansible.cfg) = False
RETRY_FILES_SAVE_PATH(/mnt/src/sources/playbooks/ansible.cfg) = /mnt/src/sources/playbooks/.ansible-retry

On target hosts we use Centos 7 with Python 2.7.5
Mitogen version: 0.2.7 (also tried with master version).
Sample playbook:

- name: Install gunicorn and wheel
  pip: name={{ item }} executable=/opt/nginxauth/env/bin/pip
  become: true
  become_user: "nginxauth"
  with_items:
    - gunicorn
    - wheel

Fail log:

The full traceback is:
Traceback (most recent call last):
  File "master:/usr/local/lib/python2.7/dist-packages/ansible_mitogen/runner.py", line 883, in _run
    self._run_code(code, mod)
  File "master:/usr/local/lib/python2.7/dist-packages/ansible_mitogen/runner.py", line 862, in _run_code
    exec('exec code in vars(mod)')
  File "<string>", line 1, in <module>
  File "master:/usr/local/lib/python2.7/dist-packages/ansible/modules/packaging/language/pip.py", line 240, in <module>
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2998, in <module>
    _declare_state('object', working_set = WorkingSet())
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 476, in __init__
    self.add_entry(entry)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 491, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1982, in find_on_path
    path_item = _normalize_cached(path_item)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2142, in _normalize_cached
    _cache[filename] = result = normalize_path(filename)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2136, in normalize_path
    return os.path.normcase(os.path.realpath(filename))
  File "/usr/lib64/python2.7/posixpath.py", line 368, in realpath
    return abspath(path)
  File "/usr/lib64/python2.7/posixpath.py", line 356, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory

failed: [testhost.com] (item=[u'gunicorn', u'wheel']) => {
    "changed": false,
    "item": [
        "gunicorn",
        "wheel"
    ],
    "module_stderr": "Traceback (most recent call last):\n  File \"master:/usr/local/lib/python2.7/dist-packages/ansible_mitogen/runner.py\", line 883, in _run\n    self._run_code(code, mod)\n  File \"master:/usr/local/lib/python2.7/dist-packages/ansible_mitogen/runner.py\", line 862, in _run_code\n    exec('exec code in vars(mod)')\n  File \"<string>\", line 1, in <module>\n  File \"master:/usr/local/lib/python2.7/dist-packages/ansible/modules/packaging/language/pip.py\", line 240, in <module>\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 2998, in <module>\n    _declare_state('object', working_set = WorkingSet())\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 476, in __init__\n    self.add_entry(entry)\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 491, in add_entry\n    for dist in find_distributions(entry, True):\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 1982, in find_on_path\n    path_item = _normalize_cached(path_item)\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 2142, in _normalize_cached\n    _cache[filename] = result = normalize_path(filename)\n  File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 2136, in normalize_path\n    return os.path.normcase(os.path.realpath(filename))\n  File \"/usr/lib64/python2.7/posixpath.py\", line 368, in realpath\n    return abspath(path)\n  File \"/usr/lib64/python2.7/posixpath.py\", line 356, in abspath\n    cwd = os.getcwd()\nOSError: [Errno 2] No such file or directory\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

Thanks for reporting this, it looks new. Can you please check what version of pip is installed on those machines (pip --version should suffice)

pip 9.0.1. Upgrade to latest (19.1.1) doesn't help, same error.

This may be a new issue as of Ansible 2.7:

The pip module has added a dependency on setuptools to support version requirements, this requirement is for the Python interpreter that executes the module and not the Python interpreter that the module is managing.

I think I have just run into the same issue, although it was being disguised for me by me installing python36 from EPEL and using pip with a venv based on python36.  However I am also using a target of Centos 7.6.1810 and ansible 2.7.10 (running on a Mac).
In any case, you can work around for this task by setting mitogen_task_isolation: fork - so my previously failing task looks like this:-
- name: build app requirements
  pip:
    requirements: ~healthchecks/webapp/healthchecks/requirements.txt
    virtualenv:   ~healthchecks/webapp/venv
    virtualenv_command: /usr/bin/python3.6 -m venv
  become_user: healthchecks
  vars:
    mitogen_task_isolation: fork

@nigelm thanks for the workaround, it helped!

@nigelm that's a curious discovery! Thanks for mentioning the workaround, it means this must be some kind of new state sharing issue

Related-ish: https://github.com/ansible/ansible/issues/47361
In this instance, pkg_resources may be a red herring. realpath() does not fail when fed "master:"-prefixed paths, or indeed when fed complete junk. The key is:
  File "/usr/lib64/python2.7/posixpath.py", line 356, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory

Where:
ERRORS
       ENOENT The current working directory has been unlinked.

That likely means a prior module invocation has changed the process CWD to somewhere within a temporary directory belonging to a prior task, and during task cleanup that directory was removed. I'm very surprised this hasn't been an issue previously :)  It also explains why "mitogen_task_isolation: fork" solves the problem (the fork parent has a constant CWD inherited from whatever SSH set up, probably the user homedir)
If there are only a few previous tasks, would you mind listing the module names being used? I'd like to add a test for this, so it'd be nice to know how it happens.
In any case I believe the fix is straightforward - we should be saving and restoring the CWD across tasks. Will hold off on doing this until we have a reproduction, in case this diagnosis is way of.

Some possible candidates:
] ag '\bchdir\(' modules
modules/commands/command.py:259:        os.chdir(chdir)
modules/commands/expect.py:167:        os.chdir(chdir)
modules/network/f5/bigip_command.py:375:    def chdir(self):
modules/system/service.py:246:            os.chdir("/")

The support code also has quite elaborate code for ensuring CWD is sane before executing any module (basic.py "_set_cwd"), but it discards any errors that occur. The last remaining instance relates to "chdir("/")", which seems unlikely to be capable of generating ENOENT

Trivial repro (uses custom module from integration tests lib/modules/)
- hosts: cos7
  become: true
  tasks:
  - custom_python_run_script:
      script: |
        import os
        os.chdir(module.tmpdir)
        result['tmpdir'] = module.tmpdir
  - pip:
      name: pip
      virtualenv: /opt/nginxauth/env

Definitely a CWD issue.

This is now on the master branch and will make it into the next release. To be updated when a new release is made, subscribe to https://www.freelists.org/list/mitogen-announce
Thanks for reporting this!


update to nodejs20, update esbuild target, update deps

Duplicate of #118

Duplicate of #118

Then someone should merge #118 :)

Thank you for your help in maintaining this repository 🧡. We've migrated to wrangler-action and are making improvements to ensure that contributions like this will be more easily integrated and better supported. Please come join us at wrangler-action!


arch/xtensa: Add automatic vector linkage generation

Existing solutions for linking the Xtensa vector table are a cut-and-paste mess of inherited code, with more than a dozen special sections that need to be linked into many special MEMORY{} regions.
Accept the existing convention used by C/asm code, but automatically detect the needed offsets for the platform from core-isa.h (it can share the preprocessing with gen_zsr.py) and emit a file that can be included in lieu of all the existing boilerplate.

Some more automitization of a particularly ugly area of Xtensa platform integration.  There's a really shocking amount of manually customized linker script nonsense on these platforms, and it's all needless as the offsets involved are specified in core-isa.h.
As elsewhere, only dc233c is enabled for a start.  Platform owners can manage the transition at leisure.

(Fix pylint squawks)

Review ping.  This is split out from the mt8195 PR but can merge separately.

Looks like this still needs one more approval, Xtensa linkage is admittedly obscure and Daniel and I are the only regulars who touch it at the arch level: @dbaluta @iuliana-prodan @sylvioalves @marekmatej are Xtensa experts too though. :)

Oh, heh, and a rebase.  One sec.


can't resolve types-pytz==2021.1

with this requirements.in
types-pytz

and this requirements.txt
types-pytz==2021.1

pip-compile requirements.in updates it to
types-pytz==2021.1.0

but uv just hangs at
$ RUST_LOG=uv=trace uv pip compile requirements.in -o requirements.txt -v
        0.072319s   0ms DEBUG uv_resolver::resolver Searching for a compatible version of types-pytz (*)
        0.072324s   0ms DEBUG uv_resolver::resolver Selecting: types-pytz==2021.1 (types_pytz-2021.1.0-py3-none-any.whl)
   uv_resolver::resolver::get_dependencies package=types-pytz, version=2021.1
     uv_resolver::resolver::distributions_wait package_id=types-pytz-2021.1
              0.072394s   0ms TRACE uv_client::httpcache cached request https://files.pythonhosted.org/packages/ea/cd/143c3cd227ff542c8a0e13f3ad4cda43b8c605774347815208dc38271b5a/types_pytz-2021.1.0-py3-none-any.whl is storable because its response has a 'public' cache-control directive
              0.072422s   0ms DEBUG uv_client::cached_client Found fresh response for: https://files.pythonhosted.org/packages/ea/cd/143c3cd227ff542c8a0e13f3ad4cda43b8c605774347815208dc38271b5a/types_pytz-2021.1.0-py3-none-any.whl
    0.072447s TRACE uv_resolver::resolver Received built distribution metadata for: types-pytz==2021.1.0

FWIW, uv pip install works
$ uv pip install types-pytz==2021.1
Resolved 1 package in 1ms
Installed 1 package in 1ms
 + types-pytz==2021.1.0

Wow so weird! Thank you.

I'll look at this now.

It seems to work without the -o requirements.txt which is odd.

Ah, ok. It's because of the mismatch between ==2021.1 and ==2021.1.0. We should treat them equivalently, but we don't in certain places. If you update your requirements.txt to ==2021.1.0, it'll work as expected.
(But we'll fix this.)

Fixed in https://github.com/astral-sh/uv/pull/1543.


Fixed code execution bug in NeuroM

📊 Metadata *
Insecure YAML desearilization
Bounty URL:  https://www.huntr.dev/bounties/1-pip-neurom
⚙ Description *
neurom is a Neuronal Morphology Analysis Tool, which is vulnerable to Arbitary Code Execution.
💻 Technical Description *
Vulnerable to YAML deserialization attack caused by unsafe loading.
🐛 Proof of Concept (PoC) *
pip3 install neurom

python3 exp.py
import os
from neurom import apps
payload = """cmd: !!python/object/new:type
  args: ["z", !!python/tuple [], {"extend": !!python/name:exec }]
  listitems: "__import__('os').system('xcalc')"
"""
open('config.yml','w+').write(payload)
apps.get_config('config.yml','config.yml')

🔥 Proof of Fix (PoF) *
Used a safer loader(SafeLoader) instead of FullLoader.
The issue is fixed, and hence no code is executed.
👍 User Acceptance Testing (UAT)
All Ok, No breaking changes introduced.  :)

👋 Hello, @juanchopanza - @Asjidkalam has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@juanchopanza & @Asjidkalam - thank you for your efforts in securing the world’s open source code! 🎉


Add RabbitMQ

RabbitMQ is used by a number of GOV.UK applications and services, e.g. the Publishing API and email-alert-service.

This has been added now,


Add Pl3xMap support

TODO:

[X] Portals
[x] Bedtime
[x] Regions
[x] A nice looking tooltip

closes #59

This is ready now :). The icons could probably use work later on, they don't work too well on sand.

Thanks for this! I'm currently a little busy but will merge this in the next coding session :)

Sorry for the delay, and huge thanks for implementing this ❤


⚠ Bofrost.lu has degraded performance

In bfb180c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2635 ms

Resolved: Bofrost.lu performance has improved in 98ec077 after 13 minutes.


Add food combos  - Branch Manager

Create a form for the branch manager to add new food combos to their branch

Works , and match the rest of the styles