feast-hive plugin not working on hive with backend as tez

recently i have encounter the issue below, when I'm using hive as offline store for feast (hive runs on tez)
there is no issue in using (hive runs on mr) but the capability of using hive on mr is deprecated in >= hive 2.7.x and not available in hive 3.x (so its should execute on tez)
When its trying to run the any join command with impala hive package
city:
Traceback (most recent call last):
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/bin/feast", line 8, in <module>
    sys.exit(cli())
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast/cli.py", line 391, in materialize_command
    store.materialize(
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast/usage.py", line 210, in exception_logging_wrapper
    result = func(*args, **kwargs)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast/feature_store.py", line 755, in materialize
    provider.materialize_single_feature_view(
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast/infra/passthrough_provider.py", line 117, in materialize_single_feature_view
    table = offline_job.to_arrow()
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast/infra/offline_stores/offline_store.py", line 66, in to_arrow
    return self._to_arrow_internal()
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast_hive/hive.py", line 314, in _to_arrow_internal
    return pa.Table.from_batches(pa_batches, schema)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/impala/interface.py", line 179, in __exit__
    reraise(exc_type, exc_val, exc_tb)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/six.py", line 719, in reraise
    raise value
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/feast_hive/hive.py", line 302, in _to_arrow_internal
    cursor.execute(query)
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/impala/hiveserver2.py", line 343, in execute
    self._wait_to_finish()  # make execute synchronous
  File "/Users/itsmesrds/Desktop/feast-trail/feast-env/lib/python3.8/site-packages/impala/hiveserver2.py", line 427, in _wait_to_finish
    raise OperationalError(resp.errorMessage)
impala.error.OperationalError: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask

and the join queries are working fine with pyhive package. @baineng  just want to know is there any specific reason why we use impyla instead of pyhive ?
To replicate, you can create EMR >= 6 version or hive >=3.X

Hi @itsmesrds, first of all, thanks for reporting this.
Actually I have tested on Hive 3.0 with Spark as a execution engine, I haven't tried it on tez. Could you post more details about the error on tez? which can help to identify the issue.
I kind of forget why I choose impyla instead of pyhive, I did try both and I thought impyla was more suitable here and it's more actively developing than pyhive.
Anyway, I don't think here is related to impyla or pyhive, it's the error happened on tez side.

Close this since no update.


mitmdump v3.0.4 doesn't accept filter for positional argument

Steps to reproduce the problem:

mitmdump '~u google.com'

and I get:
Traceback (most recent call last):
File "release/specs/mitmdump", line 3, in
File "mitmproxy/tools/main.py", line 155, in mitmdump
File "mitmproxy/tools/main.py", line 116, in run
File "mitmproxy/optmanager.py", line 212, in update
KeyError: 'Unknown options: view_filter'
[5149] Failed to execute script mitmdump
Any other comments? What have you tried so far?
mitmdump --set dumper_filter='~u google.com'
works, but not so handy like v3.0.3 or before.
Maybe help text needs update, too. It is saying view_filter option.
mitmdump --help
usage: mitmdump [options] [filter]
positional arguments:
filter_args           Filter expression, equivalent to setting both the
view_filter and save_stream_filter options.
System information
mitmdump --version
Mitmproxy: 3.0.4 binary
Python:    3.6.4
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Darwin-16.7.0-x86_64-i386-64bit

Can confirm, on MacOS High Sierra, Windows 10 and Kali Linux (The only linux distribution i had lying around ;) )
Mitmproxy: 3.0.4
Python:    3.6.0
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Darwin-17.4.0-x86_64-i386-64bit

Mitmproxy: 3.0.4
Python:    3.6.5
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Windows-10-10.0.16299-SP0

Mitmproxy: 3.0.4
Python:    3.6.5rc1
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Linux-4.13.0-kali1-amd64-x86_64-with-Kali-kali-rolling-kali-rolling

Hi there. Thanks for the report - this slipped through the cracks in addon option refactoring. Now that our core has been decomposed, we're forced to be super precise about what exactly we mean with the default filter specification to mitmdump. which is a good thing.

Filtering when we read a file using the -r flag is simple. We set the readfile_filter option, each flow loaded from disk is checked, and is skipped if it doesn't match. I've fixed this in #3056.
When we are streaming flows live, things are trickier. At first glance, the user might expect mitmdump to kill flows that don't match the filter. However, a flow can match the filter specification at any point in its lifecycle as data is added progressively (clientconnect -> requestheaders -> request, etc.). This means we can only conclusively say that a flow doesn't match a filter after its last event, by which point it has already been sent and received. This doesn't fly. I think the only sane option here is to make clear this is a display filter only, which means we only set the dumper_filter option.
The final case is writing flows to file with the -w flag. We need to set the save_stream_filter option to cover this.

In all, this means the default filter is a shortcut for setting the readfile_filter, dumper_filter and save_stream_filter options.


Error: WIS HTTP 530

Hello, a few days ago I started getting this new error on my ESP BOX devices when trying to speak a command. The device recognizes the "Alexa" call, but then immediately says WIS HTTP 630 on the screen. It does not process any audio.
Has something changed?

I saw someone else commenting that the Tovera server is down, so if you're using that one that could be the reason

Yes I think that may be what's happening. I tried visiting https://infer.tovera.io/api/willow and it says
Error 1033 Ray ID: 8ebd5c2afa1853db • 2024-12-02 18:25:31 UTC Argo Tunnel error
I wonder if @kristiankielhofner is aware of this outage

I have recently been getting the same error message, but I'm not aware that I'm using anything named a "Tovera Server" (?)
Please explain how I can check this/be sure (or eliminate this possibility).

I have recently been getting the same error message, but I'm not aware that I'm using anything named a "Tovera Server" (?)
Please explain how I can check this/be sure (or eliminate this possibility).

Tovera server is the Willow Inference Server (WIS) that the dev is hosting. If you are not hosting your own WIS with a GTX card to interpret voice data, then you're using the Tovera server by default.
You can check which server you're using in your Willow Application Server (WAS) under settings.

Do you know if we can expect a fix anytime soon?

My thought is no. If you look at the dev history on both WAS and WIS, they've both been quite nearly abandoned. I suspect the developer has moved onto other projects. They may not even use this project in their own home, otherwise they would have noticed it being down already.
The good news is there are other options. I haven't had the time yet to invest into this yet. You can either install your own WIS server locally and replace the URL in your settings, which would fix your voice recognition. Or you can drop Willow altogether and switch to a built-in HASS voice solution like the Wyoming Protocol. I'm leaning toward the latter myself, although it is more time investment and possibly won't work with our current hardware (or it may). If you're only interested in getting your current system running again, then install your own WIS, but that would require an always-on PC with at least a GTX level graphics card.
Just FYI from my research so far. I may post an update here later once I've made my choice and spent the time to move on it.

If you check discord, myself and a few others also run the HA solution with local Wyoming Protocol servers that are GPU accelerated, using the same hardware (ESP Box and ESP Box 3 that Willow also uses), so it is possible if you wish to do so. :)

If you check discord

Which discord would that be? I don't see a link to it anywhere in the repo readme.

https://heywillow.io/get-involved/

Thanks, taking a look in there now. I'm a bit disoriented to discord, could you share a direct link to the discussion you mentioned, using Wyoming Protocol with the ESP Box? I'd really like to join into that discussion and/or read about how you all did it, so that I can try doing it too. Thank you

Thanks, I opened a thread over there for further discussion. For anyone else interested, it's here.
I'll leave this ticket open for now, since the original issue is still ongoing, and I want the dev to have a chance to see if (if they're at all interested in fixing it, or perhaps this ticket can be a place that the dev officially tells us they're not going to fix it)

#161 Very sad news...

A few weeks ago I started working on a replacement endpoint due to the 530 error. It's awful that Kristian is no longer with us as he created so many wonderful things. I'm sharing the link to my code in this thread in hopes that it can keep the usage of the Willow project active. My code to use a Cloudflare Worker endpoint instead of WIS: https://github.com/JayPearlman/WIS-CF-Worker


[RFC/RDY] make l2tp work with Strongswan

Motivation for this change
I badly needed l2tp VPN to work for my job so I fought hard with 0 experience on the matter. After a 1-month struggle (https://github.com/NixOS/nixpkgs/issues/30147), here is the PR.
I hope this is how it should be done, I am not sure yet on which nixos files should go where (concerning /etc files).
This is definitely the kind of setup that could use some tests but I've already spent way too much time on this so.
Big thanks to the l2tp maintainer who has been immensely helpful.
Things done

bump l2tp module
create missing pieces for strongswan to work with l2tp

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!

thanks for merging this. I must say when I marked the PR as READY, it did work, I tried it recently and it didn't work anymore and I haven't had the chance to inquire it. The changes you merged are definitely necessary to make it work though. I just note it for other people who might have problems. Maybe the problems were due to other nix components and have been fixed by now. I will check again soon.


Fixed #26401 -- Allowed use of auth logic without auth in INSTALLED_APPS.

https://code.djangoproject.com/ticket/26401

Would it be possible to write a test for this so an import doesn't get accidentally added? (Or maybe that's not possible)

Also, this patch seems a bit invasive to resolve the regression in 1.9. What tests did you do exactly?

Would it be possible to write a test for this so an import doesn't get accidentally added? (Or maybe that's not possible)

I'll try to look into this when I have some time. I'll see what is possible.

Also, this patch seems a bit invasive to resolve the regression in 1.9. What tests did you do exactly?

I mostly tested this against my own project which:

Uses django.contrib.auth, but not the database models
Uses django.contrib.admin

Forms needed to be split up as some forms reference User at import time. To avoid importing models through forms, non-auth-model projects can import from base_forms. The admin has been changed to do this so it too can be used without auth models.
If you have any suggestions to make the change less invasive, I'm happy to investigate it. I could break the PR into smaller commits if you think it would help.

I'm not working on this ATM. Closing.


Rados gateway (dependency for Ironic agent_* drivers)

Shouldn't it be deployed as part of the Ceph cluster? It is part of their infrastructure/documentation and I dislike the need of configuring the admin keyring.

If it's for Ironic only, put its deployment behind an ironic: enabled feature flag so it doesn't get deployed if Ironic is disabled.

@Quentin-M I'll put rgw behind ironic: enabled flag in Ironic PR (https://github.com/stackanetes/stackanetes/pull/93)


V2 docs: new repo with all the complex stuff

As part of rewriting the docs for V2, I'd like to move as much of the docs generation logic as possible to a new pydantic-docs repo.
To make the barriers to contributing to pydantic as low as possible, I want to keep the majority of the actual documentation in the repos where the applicable code is (pydantic, pydantic-core, pydantic-settings), then have a separate repo that's responsible for building docs. We can still have docs previews generated for PRs.
There's a log of complex logic in docs/build, e.g. generating different code for each python version (thanks @Bobronium), and I want to move all or most of this logic to be called during mkdocs-build using mkdocs-simple-hooks as is done on watchfiles.
I also want to change how code examples work in the new docs:

I think code should be written inline in the markdown and tested by extracting the code from markdown as I do on watchfiles
The code should not change (have print output inserted) during docs build, instead either:

we should use assert statements instead of print
we should write the print output into the code examples using some some similar to the one we currently use

Examples in docs can then be tested using pytest in the repo where they're written. All the new repo is doing is running mkdocs build and using @Bobronium's code to generate examples in for each python version.
This would be best achieved by taking the logic from watchfiles and some of the logic from docs/build and creating a new package, I'll work on this.

Needs to take into account #4592.


[proposal] Provide GUI for flutter_tools

Consider adding a user interface when using flutter_tools, or maybe another naming tool.
Use case
Provides all functionalities that the CLI-based tools do. #39939 and #63619 are only proposing GUI for the Flutter installer.
Similar or sub-tools are:

https://github.com/YazeedAlKhalaf/Flutter_Installer
https://github.com/fluttertools/sidekick

Proposal
Today Flutter plugins in IDEs provide a flexible experience when creating and managing projects. It could be a good point that Flutter has its own GUI tool, to provide statistical data, or manipulate projects' basic info. It's still argumentative whether it's a good proposal, but we can discuss it. 😃 Also, I'm willing to make such a tool if the proposal is approved.

@AlexV525
I think this proposal is similar to below open issues:
https://github.com/flutter/flutter/issues/63619
https://github.com/flutter/flutter/issues/39939
So I suggest to follow-up in them for further updates. I will close this in favor of linked issue. If you disagree or think your proposal is different from above, please write in comments and I'll reopen it.

@darshankawar Thanks for the triage! But I think here we are targeting a wider section that provides all functionalities that the CLI-based tools do, not only as an installer. Would it be helpful in explaining my proposal?

Thanks for the feedback @AlexV525.

Would it be helpful in explaining my proposal?

Sure. You may also link the issues I shared above for reference so that the team would get more idea as how your proposal is different from them.
Reopening.

@AlexV525 what would the added value be in an officially-maintained GUI? There are already the officially supported IDE plugins which are essentially GUIs, and the ecosystem is free to create open source tools such as sidekick.

(Desktop Triage) The consensus of the triage attendees agrees with Chris: the community is free to create GUI interfaces, and we already maintain a GUI for two IDEs. We'll leave this open for discoverability purposes, but it is not a priority for implementation.

what would the added value be in an officially-maintained GUI?

There are already the officially supported IDE plugins which are essentially GUIs, and the ecosystem is free to create open source tools such as sidekick.

and we already maintain a GUI for two IDEs. We'll leave this open for discoverability purposes

There are two major reasons why I think we can have an official GUI.
Flutter is typically an interface toolkit
When it uses a Flutter-based from the first start step, it can well-impressed users like Hey, Flutter builds Flutter.
Plugins for IDEs are lacking high-level integration with most of the features
Maintaining plugins for two IDEs is as expected, for now, since they're related to development management, such as running/testing configurations, part of DevTools, Flutter Outline, command runner, etc.
But other things like Flutter config, dependencies version management, l10n management, screenshot captures and management. Well, a lot of management stuff can be done, and a desktop app makes Flutter tools GUI-friendly for desktop users (because users on desktops prefer clicking, rather than typing all the time). More generally, GUI is what Flutter goods at, and CLI is what Dart goods at.

I am going to close this as unplanned. I think for those who want a more visual experience than the CLI tool, the VSCode extension is the recommended, supported method.


Add a simple end point for retrieving the number of errors

Coverage increased (+0.004%) to 99.467% when pulling 63c36a925a32f040a3815884526dd220d8872148 on failure-count into 5ea46fdfcdda420dd79c7cef43aaeafb01c45728 on master.

Coverage increased (+0.006%) to 99.468% when pulling 055b1e5247441340d359429fe7119ca39123a065 on failure-count into 5ea46fdfcdda420dd79c7cef43aaeafb01c45728 on master.


About sparsification code

sHi, I find that when doing sparsification on GRU_A during training process, the sparsified weights (with shape (384, 1152)) are vertical strips of 1. However, when dumping the model, the weight matrix (with shape (384,1152)) are horizontal strips of non-zero values.
Why is this happening? This might be a silly question, but it troubled me the entire day.
Thanks!

OK, there's difference in the way of CudnnGRU/GRU storing weights.

is there any source code could explain the difference of CuDnnGRU & GRU?


Postgres buggy handling of text (and possibly other) types

Note: This started happening with v 3.6 and new postgres driver!
If one has a table with a name of a built-in type ("text" for example), this will cause the output of that column to display incorrectly. To reproduce:
select cast('Hello, world!' as text)
-- displays 'Hello, world!' string, as it should
create schema foo; create table foo.text (a int, b int);
-- this creates composite type "text" in schema "foo"
-- now disconnect and reconnect dbeaver session
select cast('Hello, world!' as text);
-- now displays 'a' and 'b' columns, not 'Hello, world!' string as before
-- note that schema foo isn't even in the search path!
Sometimes the result cell would display something like 'org.jkiss.dbeaver.model.impl.jdbc.data.JDBCCompositeStatic@3fcbbfd2' instead of the actual value.
This makes it rather impossible to use a table named 'text' anywhere, which is rather unfortunate, as mediawiki, for example, includes such a table :(
Fix: this usually happens when considering only type name, not schema in metadata processing. Fix catalog queries to handle schemas properly. Function pg_catalog.format_type() can be quite useful for finding type names.

one can also make use of queries like:
select 'text'::regtype::oid
select 'timestamp with time zone'::regtype::oid
select 'foo.text'::regtype::oid
to find a type oid, while considering current search_path.
Note however, that they will fail (and abort the current transaction), if the type does not exist.
On postgres 9.4+ one can also use to_regtype(), which returns null instead of error.
More useful functions for catalog queries here:
http://www.postgresql.org/docs/current/static/functions-info.html#FUNCTIONS-INFO-CATALOG-TABLE

I'll fix the problem described above.
But some type resolve problem may remain. Key problem is that PG do not tell fully-qualified type name for resultset columns. It tells just short version, e.g. 'text'. You can only guess in what schema this type was defined.
In most cases I can determine correct type by obtaining source table/column information. But in some cases source table information is not available. I'll use search path to search type by name but even this won't work always.


chore: Display proper message when context value is not provided

Overview
This PR enhances the displayed message when a context is being used without declaring it's value in an ancestor component.
What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
Besides enhancing the displayed message either in terminal on the browser error, the current state when a context value is missing is to stop the entire application, which is a little annoying in terms of just providing the context provider value so we don't have to start the development server again.
It also enhances the error messages generated by qError to display the stack at last because the passed options (in our case the context name would be lost among a very large stack).
Changes done in this PR

Removed context id transformation to kebab-case, it was originated for historical reasons and it's not needed anymore.
Enhanced the error message when a context is being used without declaring it's value in an ancestor component.
If thee is no context value, the error will be displayed but the server won't crash (this happens at the moment).
If an element renders children with dangerouslySetInnerHTML the error will be thrown but the server will still be running.
Updated unit tests based on the changes above.
Added more unit tests to cover the children with html set combination (there was no test for this case).
Enhanced the error message if there are params sent with it to be displayed then the stack, otherwise the current behavior will be kept.
Enhanced types for useContext and createAndLogError function.

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Actually I wonder why the id needs to be kebab case, I can't think of a reason. Thoughts @mhevery ? Can we just leave the context id as-is?

Actually I wonder why the id needs to be kebab case, I can't think of a reason. Thoughts @mhevery ? Can we just leave the context id as-is?

I asked him same exact question 😅.
I was thinking of removing this transformation but didn't do it because i don't know if it would make break in the app.

@wmertens I went back to Miško and he told me it was for a historical reason, so i guess we no longer need it, updated the code accordingly.

@hassanzohdy you need to run pnpm fmt so the lint test can pass

And there's a failed unit test

looks like the unit test still fails?

All good now, i updated the PR with all changes in this PR.

@hassanzohdy can you fix the build

@hassanzohdy kleur is not added to the package JSON

@wmertens I tried but still failing in build, it is already in @builder.io/qwik package.json file, i tried to add it to the root package and still the same.
@PatrickJS Still trying to figure out why it is upset with it :)

@hassanzohdy actually, kleur shouldn't be in qwik core. Right now it is only being used in the CLI and it should stay that way. No reason to increase the package size so devs have colors in the console.

I removed it and just used a simpler function for output, later we can enhance this in V2.

I guess we are finally done the checks, except E2E tests, it went timeout, is this something related to something that i can do @wmertens ?

@hassanzohdy so the context scalars and improved logging are in main now, but the children throwing isn't yet.
Calling logError throws async, but that can probably be turned off provided someone checks all the uses to see they don't rely on actually throwing.
The kebab case event naming is actually more involved, and in v2 it's getting an overhaul, so I propose to leave it as-is.
I propose you make new PRs for each feature you'd still like to add?


Use Objects.requireNonNull().

Thanks, but I don't see the value in this. We still use the Validate class (which I like), and the Validate class throws better exceptions than Objects.requireNonNull (as it trims the Validate class out of the exception stack trace).
https://github.com/jhy/jsoup/blob/c5df15f9bf05d3fac7bcd05ffd8943bbdccf406a/src/main/java/org/jsoup/helper/ValidationException.java#L18
https://github.com/chibenwa/jsoup/blob/c5df15f9bf05d3fac7bcd05ffd8943bbdccf406a/src/main/java/org/jsoup/helper/ValidationException.java#L18
https://github.com/Isira-Seneviratne/jsoup/blob/c5df15f9bf05d3fac7bcd05ffd8943bbdccf406a/src/main/java/org/jsoup/helper/ValidationException.java#L18
I really only see value in moving to more newly available Java class methods if they substantially clarify the intent of the code or meaningfully remove code duplication.


Create performance standard and formalize test process

@filiph recently found that the new Flutter gallery app is quite janky in some cases. It might be nice to create a performance standard, and formalize a test process to enforce such standard, before releasing each Flutter-official app.

We have performance tests for this now.


Update docs and feedback link for Rust version

The README at https://github.com/kornelski/rusty-http-cache-semantics is very much not up to date with the API.
The "homepage" link at https://crates.io/crates/http-cache-semantics points to the JS repo. At least the "repository" link is correct.
Please enable issues for the Rust repo.

I've enabled issues in the other repo. I think the readme is up to date - please file issues with the missing bits you've found.


double-beep: Watch tantraspells.com

double-beep requests the watch of the watch_keyword tantraspells\.com. See the MS search here and the Stack Exchange search here.

tantraspells\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


can't download file from"https://s3.amazonaws.com/amdegroot-datasets/instances_trainval35k.json.zip".

In #123 's  answer and coco2014.sh script, it seem's that I can download instances_trainval35k.json.zip.
But when I open the url, it shows me that
This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied
Access Denied
879A8D5BAFBC56DB

/2SSUbL7UWyjKzUn1J37BMlIhaBnypHisuNmHcoW2S9SQID6gwA8FJrNu9hUUw5LsGvIoIlX8MU=

Can anyone solve this problem?

me too

Face the same problem

In #123 's answer and coco2014.sh script, it seem's that I can download instances_trainval35k.json.zip.
But when I open the url, it shows me that
This XML file does not appear to have any style information associated with it. The document tree is shown below.
AccessDenied
Access Denied
879A8D5BAFBC56DB
/2SSUbL7UWyjKzUn1J37BMlIhaBnypHisuNmHcoW2S9SQID6gwA8FJrNu9hUUw5LsGvIoIlX8MU=
Can anyone solve this problem?

but actually ,you can use VOC dataset instand of COCO.

I have the same problem

I also have this problem


Multiple issues with discounts

Don't know how to recreate all of these

Can't use more than one discount code even if both aren't exclusive
Subtotal always needs to accurately be just the subtotal.
2b. Discount should add a new line item to show the discount amount
Price in Order detail is drastically wrong compared to cart totals

i hope that helps reproducing:
create a product and add a nice "on sale" price.
create an active discount, let's say "summer sale" with 10%.
create a discount with code.
now shop that product and use the discount code.
issues:
Grand Total is totally wrong
"Discounts Applied" Items Subtotal is wrong and Total is completely wrong.
"Triggered" Is wrong for the normal active Discount, which is not triggered by any code.
see https://github.com/VividWeb/vivid_store/issues/190

and may i add:
the display of the discounts should be improved for the cart / add to cart as a ordinary mortals really don't get it with all those figures. :)

agreed

may I ask how you're entering your prices in the products/shipping/tax and all that? With commas?
Do you know how it stores it in the database?
We have a Price::getFloat() method we may want to run on all user inputs regarding prices, which converts numbers down to a normal float.

i have no tax active and the product prices are without decimal places.
what data do you need from the DB?
the only comma I want to have is the shipping 6,90 which is another issue.

with shipping, you shouldn't even be able to enter 6,90. Though you should be able to enter 6.90.

that's true, but it doesn't change the fact that it stores 7.

@krebbi that's in regards to #186 and has been fixed and closed. (pull down the latest version and run the upgrade script)

FYI php is pretty fun with commas and numbers
https://3v4l.org/ircEE
I wonder if this has anything to do with the strangeness.

sorry, my bad: the shipping 6.90 is fixed.
had to reinstall the package to get that working

@mkly - I think commas are limited to the presentation. We use Price::format($price) to add in commas. It should all be floats otherwise.
@krebbi - it looks like you're using a period as a thousands separator. Is that normal in parts of europe?

yes, that's the official way to do it: normal numbers need to have a space as thousands separator but money uses a "." It's written in DIN 1333.
But there is another standard in ISO 80000 where everything else than a "small space" is forbidden as thousands separator. whatever a "small space" is...

Could you tell me what the oTotal column is for a most recent order in the VividStoreOrders table?

Much of the pricing stuff has been fixed.


Single USB-connected Tessel should be selected when "--usb" specified

Now when I only have several Tessels around, but only a single one connected over USB:
flaki$ t2 list
INFO Searching for nearby Tessels...
	tessel-europe	USB
	hip-hardware	LAN	(USB connect and run `tessel provision` to authorize)
	JonnyTessel	LAN	(USB connect and run `tessel provision` to authorize)
	navi	LAN	(USB connect and run `tessel provision` to authorize)
INFO Multiple Tessels found.
INFO Set default Tessel with environment variable (e.g. 'export TESSEL=bulbasaur') or use the --name flag.

...specifying --usb returns a "Multiple possible Tessel connections found." error, while in reality there is only a single one connected via USB:
flaki$ t2 wifi --usb -l
INFO Looking for your Tessel...
INFO Please specify a Tessel by name [--name <tessel name>]
WARN Multiple possible Tessel connections found.

This is definitely an issue with the runHeuristics function that controller.js uses to figure out which Tessel you want.

Fixed with https://github.com/tessel/t2-cli/pull/360.


new install instructions please

I like what i see of pushy, but so far as a developer point of view, the docs are out of date in the latest react-native, but for now, leave me no option just have to choose another service provider that has upto date libs for implementation
*** following the instructions on your site, is impossible to even build

remember this is  a paying service its not free.. so

this is what you get by following the instruction
[!] The 'Pods-myvcard' target has transitive dependencies that include statically linked binaries: (/Users/jasonshen/development/pushcall/myvcard/ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/jasonshen/development/pushcall/myvcard/ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/jasonshen/development/pushcall/myvcard/ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/jasonshen/development/pushcall/myvcard/ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/jasonshen/development/pushcall/myvcard/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a, and /Users/jasonshen/development/pushcall/myvcard/ios/Pods/OpenSSL-Universal/ios/lib/libssl.a)

I'm having the exact same issue https://github.com/pushy-me/pushy-react-native/issues/50

@and-dutra Thanks for your patience as we investigated this issue report further.
We've completed updating our docs and the Pushy RN SDK to support the latest versions of React Native, which have removed support for Swift dynamic frameworks.
To fix the error you are facing:

Install the latest version of Pushy RN by running:

npm install<EMAIL_ADDRESS>--save
react-native link pushy-react-native

Edit ios/Podfile and remove the use_frameworks! declaration
Run pod install to update your workspace to use static libraries instead of dynamic frameworks
Open the workspace in Xcod by running open *.xcworkspace
Try to build and run your project on a real device
Continue integration by following the instructions here:

https://pushy.me/docs/additional-platforms/react-native
Please let us know if you face any issues.

@jason-shen @and-dutra Thanks for your patience as we investigated this issue report further.
We've completed updating our docs and the Pushy RN SDK to support the latest versions of React Native, which have removed support for Swift dynamic frameworks.
To fix the error you are facing:

Install the latest version of Pushy RN by running:

npm install<EMAIL_ADDRESS>--save
react-native link pushy-react-native

Edit ios/Podfile and remove the use_frameworks! declaration
Run pod install to update your workspace to use static libraries instead of dynamic frameworks
Open the workspace in Xcod by running open *.xcworkspace
Try to build and run your project on a real device
Continue integration by following the instructions here:

https://pushy.me/docs/additional-platforms/react-native
Please let us know if you face any issues.

hello @pushy-me I am trying with the new instructions and I am not able to get any device token on my real device:
    Pushy.register()
      .then(async token => {
        console.log(token)
      })
      .catch(err => {
        console.log(err)
      })
      .finally(() => console.log('here'))

No logs ever appeared. React Native version is 0.62.2

Hi @causztic,
Please ensure you are using an alert() instead of a console.log() as it is quite easy to miss the device token log this way:
// Register the user for push notifications
Pushy.register().then(async (deviceToken) => {
    // Display an alert with device token
    alert('Pushy device token: ' + deviceToken);
}).catch((err) => {
    // Handle registration errors
    console.error(err);
});

Run your app, and let us know if the device token appears in the alert dialog.

Hi, I managed to fix it by removing Firebase for now - but I require it for my authentication.
Is there any way to use both firebase and pushy at the same time?


MNT: Adaptions related to mne-tools/mne-python#9960

What does this implement/fix?
This implements changes related to mne-tools/mne-python#9960.

Thanks @marsipu !


fix: correct spelling in RTL implementation

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[x] Bug fix
[ ] New feature
[ ] Other

Description
There was a spelling mistake in the rtlPlugin. When I attempted to retrieve the package, it returned an error saying that the package could not be found.

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.473%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
1089

Relevant Lines:
1703

💛  - Coveralls


Add disclaimer about export limits

Is your feature request related to a problem? Please describe.
Amazon says long highlights will not be completely shown due to export limits. This "feature" affects the plugin, and there's nothing you can do about it.
Describe the solution you'd like
Add a big disclaimer everywhere about this export limit until there's an alternative.
Describe alternatives you've considered
I don't have a Kindle device, but using "My clippings.txt" instead would be a "fix" to this limit issue (I think).
Additional context
None.

Nothing to add except that you're correct. Using sideloaded books (with DRM removed) and the MyClippings.txt file removes this limit.

It's a lesson on how to highlight books effectively, instead of selecting whole sections in one go. :laughing:


6.1-using-word-embeddings - There seems to be a bug

Hello,
I love this collection of notebooks! The book is great!
One thing. When using the GloVe embeddings, there seems to be a flaw in the implementation: When creating the embedding matrix, the indices should be shifted by 3. Doing so results in a 20% accuracy increase on validation data.
Best,
Tristan

Hi,
I am a beginner. I don't know what does 'the indices should be shifted by 3' mean? Could you tell me how to do this and why?
Thank you!


Update operator base manifest to run as user

The user is the same as the one specified in the Dockerfile
Fixes: https://ondat.atlassian.net/browse/FEED-257

Seems like the easy way won't do... creating a new branch shortly


Format data to use data object on chart components

@jaesius Could you add some more detail to this issue to describe what you're looking for? Thanks!


fix "run-on-arch" tests

Change Summary
I think a recent action update caused these images to be missing git.
Related issue number
N/A
Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

As this just adjusts CI to get stuff building again, I'm going to merge this (and cherry-pick it onto my patch release).


implementation equals and hashCode of FlinkOrderedListState

Please add a meaningful description for your change here
fixed #31724
This PR Contains implementation equals and hashCode of FlinkOrderedListState

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

retest this please


fix: flight duration attribut format

Fix issue https://github.com/YAAMSOrg/yaams-server/issues/44
see https://www.php.net/manual/fr/dateinterval.format.php

Thank you so much for contributing to my little project. LGTM and merged 👍🏻


APIs that take List should take Iterable

 Issue by ianloic
Monday Nov 02, 2015 at 22:34 GMT
Originally opened as https://github.com/flutter/engine/issues/1903

I'm often finding myself using List.map to turn a list of data objects into a list of widgets as children or menu items. Every time so far I've forgotten to .toList(). Is there a reason that the APIs that need a list of things don't just take an Iterable?

 Comment by abarth
Monday Nov 02, 2015 at 23:56 GMT

/cc @Hixie
We tried using Iterable at one point, but I don't remember when we ended up going back to List.  Ian do you remember?

 Comment by Hixie
Tuesday Nov 03, 2015 at 00:09 GMT

I forget the details, but it was in fn2, so it might no longer matter. We can try again.

 Comment by sethladd
Tuesday Nov 03, 2015 at 01:54 GMT

Bonus: using Iterable means you can use yield :)
On Mon, Nov 2, 2015 at 4:09 PM Ian Hickson<EMAIL_ADDRESS>wrote:

I forget the details, but it was in fn2, so it might no longer matter. We
can try again.
—
Reply to this email directly or view it on GitHub
https://github.com/flutter/engine/issues/1903#issuecomment-153199257.

Well, one reason is that we need to have a list we can iterate over. If all we were getting was an Iterable, then every time one was passed in, we'd have to call toList() on it, and that would basically double the number of copies of all the widget lists.

I don't really see a way to do this unless there's a way to get from a <Widget>[] literal to a List<Widget> via an Iterable<Widget> argument without paying the cost of a copy.

We do this for ScrollableList now.  We actually can pull the iterator lazily in many cases too.

We've decided not to do this in general.  There are some specific places that accept Iterable because they can work lazily.  In the cases, however, we'd need to pull everything from the iterable anyhow and it's more efficient if we do that as early in the processing as possible (e.g., just after the iterable is created with something like map).


Add more strict filtering on inputs on API calls

Also enable response caching.
Mitigate the impact of vulnerability scanners hitting the API.

1.0.19~pr301-436 deployed


Health check for Keria agent

the /health url for rootsID keria instance is available if we upgrade.
It probably needs to be exposed.

I exposed the \health interface but it's not available in the keria version of the instance that is currently running in rootsid.cloud.  I prefer not to update to latest right now since many changes were applied. We can test in a keria running on localhost.

this is the response I got with http://localhost:3903/health
{"message": "Health is okay. Time is 2024-02-19T19:36:49.254598+00:00"}

Health api is working on https://keria-dev.rootsid.cloud/health


Does it work without setting the height of the containing div?

Describe the bug
It doesn't work if I don't set a fixed height to the containing div. I can't see the gutter and splitting doesn't work.
To Reproduce
https://stackblitz.com/edit/angular-rcqyv1
Just remove height: 500px; from app.component.html to reproduce it.

This needs the parent element to have a defined height.
The closed issue here explains it in more detail https://github.com/bertrandg/angular-split/issues/65

No sorry, it can't works without specifying an height.


SetFieldConfig is not being consumed for nested Resource fields

Describe the bug

code-generator does not consume SetFieldConfig for nested Resource fields

Steps to reproduce

Add SetFieldConfig to ec2-controller/generator.yaml to properly generate DhcpOptions:

resources:
  DhcpOptions:
    fields:
      DHCPConfigurations.Values:
        set:
          - from: Values.Value

export SERVICE=ec2 && make build-controller

Actual outcome

excerpt from sdkFind/sdkCreate:

if f0iter.Values != nil {
				f0elemf1 := []*string{}
				for _, f0elemf1iter := range f0iter.Values {
					var f0elemf1elem string
					f0elemf1 = append(f0elemf1, &f0elemf1elem)
				}
				f0elem.Values = f0elemf1
			}

issues: f0elemf1iter is unused and f0elemf1elem is never assigned.

Expected outcome

code-generator should consume SetFieldConfig to generate DhcpOptions Controller code correctly:

if f0iter.Values != nil {
				f0elemf1 := []*string{}
				for _, f0elemf1iter := range f0iter.Values {
					var f0elemf1elem string
                                          if f0elemf1iter.Value != nil {
							f0elemf1elem = *f0elemf1iter.Value
					}
                                          f0elemf1 = append(f0elemf1, &f0elemf1elem)
				}
				f0elem.Values = f0elemf1
			}

Environment

Kubernetes version: N/A
Using EKS (yes/no), if so version? N/A
AWS service targeted (S3, RDS, etc.) EC2

Some Root Causes

f.SetterConfig is never called for nested fields; only fields that are members of outputShape
In SetResourceForStruct, we iterate over sourceShape fields. So if we are trying to set a targetShape that's a primitive (i.e. String) from a sourceShape that's a struct (hence the call to SetResourceForStruct), the loop will continue and skip generating code for the primitive field
We are not passing or using SetterConfig in SetResourceForStruct


ComWrappers/CsWinRT code produces different (wrong) results on NativeAOT

Describe the bug
Opening this as part of an investigation into a NativeAOT crash I noticed in ComputeSharp, which we've been trying to narrow down (as a collaborative effort over in the C# Discord). While trying to put together a minimal repro, I couldn't quite reproduce the same crash (which seems to be something going wrong in ComWrappers on NAOT), but I still noticed what seems to be incorrect behavior on NAOT, so here's a separate issue to track that. Not entirely sure whether this is more an issue with ComWrappers or CsWinRT, so opening it here for now. Will try to create a ComWrappers-only repro too later on to see if it also repros with just that.
To Reproduce

Create a new project with new7-windows10.0.22621 as TFM
Paste the following code:

Code (click to expand):

using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WinRT.Interop;
using WinRT;

unsafe
{
    DummyUnknown unknown = new();

    for (int i = 0; i < 10; i++)
    {
        var value2 = MarshalInspectable<object>.CreateMarshaler2(unknown);

        try
        {
            var abi = (IUnknownVftbl*)value2.GetAbi();
            var guid = new Guid("33D8B971-2ABF-4A2B-8071-1FFCBCBC8124");
            DummyUnknownAbi* ppv = null;

            ExceptionHelpers.ThrowExceptionForHR(Marshal.QueryInterface((IntPtr)abi, ref guid, out *(IntPtr*)&ppv));

            Console.WriteLine($"{i}: {ppv->GetNumber()}");

            ppv->Release();
        }
        finally
        {
            MarshalInspectable<object>.DisposeMarshaler(value2);
        }
    }
}

Console.WriteLine("Done!");

public unsafe class DummyUnknown : IDummyUnknown
{
    private int number = 42;

    public int GetNumber()
    {
        return number++;
    }
}

public unsafe struct DummyUnknownAbi
{
    public void** lpVtbl;

    public int QueryInterface(Guid* riid, void** ppvObject)
    {
        return ((delegate* unmanaged[Stdcall]<DummyUnknownAbi*, Guid*, void**, int>)lpVtbl[0])((DummyUnknownAbi*)Unsafe.AsPointer(ref this), riid, ppvObject);
    }

    public uint AddRef()
    {
        return ((delegate* unmanaged[Stdcall]<DummyUnknownAbi*, uint>)lpVtbl[1])((DummyUnknownAbi*)Unsafe.AsPointer(ref this));
    }

    public uint Release()
    {
        return ((delegate* unmanaged[Stdcall]<DummyUnknownAbi*, uint>)lpVtbl[2])((DummyUnknownAbi*)Unsafe.AsPointer(ref this));
    }

    public int GetNumber()
    {
        return ((delegate* unmanaged[Stdcall]<DummyUnknownAbi*, int>)lpVtbl[3])((DummyUnknownAbi*)Unsafe.AsPointer(ref this));
    }
}

[Guid("33D8B971-2ABF-4A2B-8071-1FFCBCBC8124")]
[WindowsRuntimeType]
[WindowsRuntimeHelperType(typeof(IDummyUnknown))]
public interface IDummyUnknown
{
    int GetNumber();

    [Guid("33D8B971-2ABF-4A2B-8071-1FFCBCBC8124")]
    public unsafe struct Vftbl
    {
        public static readonly IntPtr AbiToProjectionVftablePtr = InitVtbl();

        private static IntPtr InitVtbl()
        {
            Vftbl* lpVtbl = (Vftbl*)ComWrappersSupport.AllocateVtableMemory(typeof(Vftbl), sizeof(Vftbl));

            lpVtbl->IUnknownVftbl = IUnknownVftbl.AbiToProjectionVftbl;
            lpVtbl->GetNumber = &GetNumberFromAbi;

            return (IntPtr)lpVtbl;
        }

        internal IUnknownVftbl IUnknownVftbl;
        internal delegate* unmanaged[Stdcall]<IntPtr, int> GetNumber;

        [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })]
        private static int GetNumberFromAbi(IntPtr thisPtr)
        {
            try
            {
                return ComWrappersSupport.FindObject<IDummyUnknown>(thisPtr).GetNumber();
            }
            catch (Exception e)
            {
                ExceptionHelpers.SetErrorInfo(e);

                return Marshal.GetHRForException(e);
            }
        }
    }
}

Add <PublishAot>true</PublishAot> to the .csproj file
Publish with NAOT:

msbuild ComWrappersRepro.csproj -t:restore,publish /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win10-x64 /p:TreatWarningsAsErrors=False

Expected behavior
0: 42
1: 43
2: 44
3: 45
4: 46
5: 47
6: 48
7: 49
8: 50
9: 51
Done!

This is what you also get with a normal F5 deploy.
Actual behavior

0: 42
1: -2147467261
2: -2147467261
3: -2147467261
4: -2147467261
5: -2147467261
6: -2147467261
7: -2147467261
8: -2147467261
9: -2147467261
Done!

...?!?!?? wha-

cc. @AaronRobinsonMSFT @jkoritzinsky as this might potentially be related to ComWrappers.
cc. @MichalStrehovsky as this is NAOT-related, maybe the output there gives you any ideas?

This was the same issue (just with a slightly different observable result) as https://github.com/dotnet/runtime/issues/84908.
Fixed by https://github.com/dotnet/runtime/pull/85087 🎉


PlatformException, ERROR_ALREADY_REQUESTING_PERMISSIONS on flutter location permission

For details please check below link:
https://stackoverflow.com/questions/62128258/platformexception-error-already-requesting-permissions-on-flutter-location-permi
occur PlatformException on location permission:
PlatformException (PlatformException(ERROR_ALREADY_REQUESTING_PERMISSIONS, A request for permissions is already running, please wait for it to finish before doing another request (note that you can request multiple permissions at the same time)., null))
The exception occurs on Geolocator() call:
Position position = await Geolocator().getCurrentPosition(         desiredAccuracy: LocationAccuracy.high);
how to solve this exception?

Can you verify if your application supports the latest version of the Android Activity (detailed migration guide can be found here).
If that doesn't help, please check if your are not requesting the geolocation directly from with in the build method if the user didn't grant permissions yet. It is important to make sure the user has provided permissions before you try getting the location inside the build method.
It would also be helpful if you can let us know if this occurs on Android, iOS or both.

same problem on ios!

I also get the same problem.
But I modify code and work for me, following:
var position = await geolocator.getCurrentPosition(
      locationPermissionLevel: GeolocationPermission.locationWhenInUse,
      desiredAccuracy: LocationAccuracy.low);

I think this is related to https://github.com/Baseflow/flutter-geolocator/issues/430 The problem is the Google Maps plugin. I'm not getting a permission dialog with getPositionStream() so I tried to use LocationPermissions().requestPermissions() directly and now I get ERROR_ALREADY_REQUESTING_PERMISSION . I think the request comes from the Google Maps plugin but it doesn't show I dialog until I navigate to the router with the map in it.

I noticed this issue when I didn't have my Info.plist set up correctly with the app's permissions request descriptions as noted in the pub.dev documentation for the package. Updating the Info.plist resolved the issue. Perhaps that was the issue?

Seems some solutions have been provided. The latest version 6.0.0-rc.3 also has improved permission handling and should work better with other plugins (like Google Maps). Please give it a try.

Not solved for me on the lastest version. Have you tried it before closing? https://stackoverflow.com/questions/66504726/flutter-geolocator-permissionrequestinprogressexception


[create-app] Module not found: Error: Can't resolve 'graphql-ws'

Expected Behavior
Backstage from npx @backstage/create-app should start up using yarn dev without any errors
Actual Behavior
After starting a brand new instance of Backstage from npx @backstage/create-app we get this error in the UI:

The same error happens when you run yarn build
Steps to Reproduce

Run npx @backstage/create-app
Navigate to the directory with the new Backstage instance
Run yarn dev

Notice: in your Browser that opens after a bit you will get the error: "Module not found: Error: Can't resolve 'graphql-ws'"
Context
This is preventing potential Backstage users from creating a new instances. In this case I was trying to help someone on Discord regarding a different error: https://discordapp.com/channels/687207715902193673/974765069705564190
Your Environment
~/repos/forks/test-app> yarn backstage-cli info
yarn run v1.22.18
$ /Users/andre.wanlin/repos/forks/test-app/node_modules/.bin/backstage-cli info
OS:   Darwin 21.4.0 - darwin/x64
node: v14.18.1
yarn: 1.22.18
cli:  0.17.0 (installed)

Dependencies:
  @backstage/app-defaults               1.0.1
  @backstage/backend-common             0.13.2
  @backstage/backend-tasks              0.3.0
  @backstage/catalog-client             1.0.1
  @backstage/catalog-model              1.0.1
  @backstage/cli-common                 0.1.8
  @backstage/cli                        0.17.0
  @backstage/config-loader              1.1.0
  @backstage/config                     1.0.0
  @backstage/core-app-api               1.0.1
  @backstage/core-components            0.9.3
  @backstage/core-plugin-api            1.0.1
  @backstage/errors                     1.0.0
  @backstage/integration-react          1.0.1
  @backstage/integration                1.1.0
  @backstage/plugin-api-docs            0.8.4
  @backstage/plugin-app-backend         0.3.31
  @backstage/plugin-auth-backend        0.13.0
  @backstage/plugin-auth-node           0.2.0
  @backstage/plugin-catalog-backend     1.1.1
  @backstage/plugin-catalog-common      1.0.1
  @backstage/plugin-catalog-graph       0.2.16
  @backstage/plugin-catalog-import      0.8.7
  @backstage/plugin-catalog-react       1.0.1
  @backstage/plugin-catalog             1.1.0
  @backstage/plugin-github-actions      0.5.4
  @backstage/plugin-org                 0.5.4
  @backstage/plugin-permission-common   0.6.0
  @backstage/plugin-permission-node     0.6.0
  @backstage/plugin-permission-react    0.4.0
  @backstage/plugin-proxy-backend       0.2.25
  @backstage/plugin-scaffolder-backend  1.1.0
  @backstage/plugin-scaffolder-common   1.0.1
  @backstage/plugin-scaffolder          1.1.0
  @backstage/plugin-search-backend-node 0.6.0
  @backstage/plugin-search-backend      0.5.1
  @backstage/plugin-search-common       0.3.3
  @backstage/plugin-search-react        0.1.0
  @backstage/plugin-search              0.8.0
  @backstage/plugin-tech-radar          0.5.11
  @backstage/plugin-techdocs-backend    1.1.0
  @backstage/plugin-techdocs-node       1.1.0
  @backstage/plugin-techdocs-react      0.1.0
  @backstage/plugin-techdocs            1.1.0
  @backstage/plugin-user-settings       0.4.3
  @backstage/release-manifests          0.0.2
  @backstage/search-common              0.3.3
  @backstage/test-utils                 1.0.1
  @backstage/theme                      0.2.15
  @backstage/types                      1.0.0
  @backstage/version-bridge             1.0.1
✨  Done in 1.75s.

Thank you for reporting! This is caused by #2405. It's fixed in master through #11506, which will be released on Tuesday. A workaround for now is to add graphql-ws as a dependency of the app.

add graphql-ws as a dependency of the app

Where should we add this dep ?

@cmoulliard putting it in packages/app/package.json should hopefully do the trick

Which version ?

The latest one should be fine

Tried this but still erroring. I'll try again after the new release

Tried adding this dependency everywhere it seems to be needed, still gives an error. Will this definitely be released today?

This should be fixed now as we explicitly depend on the package now. Make sure you're on the latest versions of @backstage/plugin-api-docs and @backstage/plugin-graphiql

actually it works well for Mac, but on Linux, we ned to explicitly add graphql-ws. So seemed some package has this issue on different platforms.

I just got this very same error after trying to add soundcheck

@josecosta-shell I recommend you reach out to the Spotify folks that deal with the premium plugins. Doesn't look like an open source issue in this case I think 👍


Lazy Loading

Is your feature request related to a problem? Please describe.
When Posts in Website will be many so webpage reduce page weight, allowing for a quicker page load time
Describe the solution you'd like
This Problem of Page Loading will be solved by Applying Lazy Load on Posts

@Utkarsh1999 @AnjaliSrivastava722 @Jaagrav @abhishek2x  Can Mentors Please overlook on this and feels if it is worth changing Please assign me this issue and labeling it with gssoc21

I'm not a mentor but I do support @Inventor77
And I myself am interested in solving this although we can do it with react-virtualized, which would make our life a lot easier.

I'm not a mentor but I do support @Inventor77
And I myself am interested in solving this although we can do it with react-virtualized, which would make our life a lot easier.

Yes Definitely we Both can do It

Hey @Jaagrav  will it be okay if I start working on this and when mentor allow us I will PR the repo I have

I think we should wait for the mentors to merge the remaining PRs since a lot of the code is going to change soon due to the new UI

hey @Inventor77 , you can start working on this. Also, @Jaagrav , let me know on discord if you both want to collab on this issue.

hey @Inventor77 , you can start working on this. Also, @Jaagrav , let me know on discord if you both want to collab on this issue.

Sir First let me Try this and then I will Inform you for help please then only Assign jaagrav with me

@Inventor77 , any update on this?

@Utkarsh1999 Sir please lend me some time, I will do this. Im just busy with my College Exams

please assign me this. I will make a pr by today

please assign me this. I will make a pr by today

@subhangi2731 Hey I'm on it, busy with my college Exams.

@Utkarsh1999 I guess Inventor is still busy. Since It's been 25 days, Can I work on this issue?

@Utkarsh1999 I guess Inventor is still busy. Since It's been 25 days, Can I work on this issue?

@shobit1337 Hello Shobit, Im on it just got little problem with my laptop and you know the lockdown situation so unable repair it. I will definitely do it as soon as possible

@Utkarsh1999 I guess Inventor is still busy. Since It's been 25 days, Can I work on this issue?

@shobit1337 Hello Shobit, Im on it just got little problem with my laptop and you know the lockdown situation so unable repair it. I will definitely do it as soon as possible
Yeah buddy, But you have already taken a lot of time and already so many issues are assigned to you. So, I think you should ask to assigned to you once your laptop is repaired and you are free from ur exams. Till then let other participants work on these issues 😄

@Utkarsh1999 I guess Inventor is still busy. Since It's been 25 days, Can I work on this issue?

@shobit1337 Hello Shobit, Im on it just got little problem with my laptop and you know the lockdown situation so unable repair it. I will definitely do it as soon as possible

Yeah buddy, But you have already taken a lot of time and already so many issues are assigned to you. So, I think you should ask to assigned to you once your laptop is repaired and you are free from ur exams. Till then let other participants work on these issues 😄

@shobit1337 Please lend me some time I will do it soon

Hey @Inventor77 , how much more time you need. please specify so that I can reassign this issue to other contributors after that.
Side Note: Open source is more about the community than the number of issues/PR made, so please try to be humble and supportive with each other.

Hey @Inventor77 , how much more time you need. please specify so that I can reassign this issue to other contributors after that.
Side Note: Open source is more about the community than the number of issues/PR made, so please try to be humble and supportive with each other.

@Utkarsh1999
Thanks Sir,
I need 3-4 Days more, please let me lend this much time.
I know how important the community is and thank you for Priceless Advise but the more important for me is my self growth than The PR and Issue assigned to me, due to this Project I got familiar with react framework and Im learning new thing each time I work on any Issue in this Project.
I hope you understand what I want to Convey and help me out with it
Stay safe

@Utkarsh1999 @avinashkranjan please assign me this issue

Go Ahead @subhangi2731


cant use sudo, apt ,npm, etc in my vscode terminal even though I have Ubuntu bash installed on Windows 10

VSCode Version: 1.22
OS Version: Windows 10

Steps to Reproduce:

I Entered something Basic Like sudo apt update or npm update and I get This Error Message:
bash: sudo: command not found
bash: npm: command not found

How Can I fix this problem so I can strictly use the terminal in vscode and not a separate terminal, in order to save space on my screens?

@J-S-Thomas what's in your settings.json file?
@bitcrazed I haven't seen this problem before, any ideas on how to diagnose/solve?

You may need to install Node.js to get  the npm command to work.
What happens when you do
sudo apt-get -y update`

@J-S-Thomas Sounds like your integrated terminal isn't configured to start WSL. Please ensure you have the following line in your VSCode config (hit CTRL + ,)
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe"


Site title is not changed after switching the language

Environment
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
URL
https://penguin-stats.io/
Steps to reproduce

Switch the language which is different from the current one
Find that the site title keeps showing in the previous language

What is expected?
N/A
What is actually happening?
N/A

You can add the following statement to the switch language function
document.title = this.$t('app.name');


Additional Power button Options

I want to implement the following:

[ ] Reboot to Safe Mode
[ ] Reboot to Firmware
[ ] Reboot and Re-open running applications
[ ] Shutdown for Fast Startup (or default "Shutdown" to this and add "Full Shutdown" when hybrid startup is enabled)
[ ] Shutdown without Updating (#31)

Concerning #31, this might require some hacks like temporarily turning off the update service and re-enabling it on startup...
Can someone test shutdown -s -t 0 with pending updates?
@KwarcPL

It seems to be not working.
I've used Restart (instead of Update and restart) and Windows updates were applied during restart :(

Please try the mentioned command (or it's restart variant) from the command box.

Please try the mentioned command (or it's restart variant) from the command box.

Will try next time I have some updates pending.

We need to find a solution that will work in most cases, and implement it

Well, it may happen that this will simply be not possible on Win10.

any beta version ? why do you not public beta Versions and create a page "beta Releases for testing and feedback" with this it is possible  to inlude and compile the binarys directly.
stopping the program via task manager, copy the new/fresh/beta binary's on it and restart
the program..
And maybe add a option on the shutdown/reboot dialogue with the possible to enable "Stop Classic-Start Menu" for testing-things for fast skip the program, copy new binary's over the old binary's and dopple-k-lick vbs the exe file to start the Classic-Start Menu again under \Program Files\Classic Start\
may would it also possible to make it more portable, to use more pathvariables (if it is not used)
to make it maybe able to let start it over \sambanetwork\UNC-Path to make it able to have different instances/directory's for different Workstations (just as a idea if possible) for have different start menus with restrictions ... later maybe .. The making possible to use in the head-binary makes maby also more possible to make it more portable, just copy the folder into a usb-stick for admins, maybe to add extra folders .. maybe add something like this :
https://code.google.com/archive/p/traylauncher/
there can you download a example what's all possible :
http://www.blackysgate.de/files/folder-root/portable-stick-soft/
it's a launcher what i use also and run over unc-path, but if there a possible to integrate
folder and files with filtering, system-variables and system ::{uuid}::
this is a further suggestion for make it more enhanced and the possible
to search and execute lnk,exe,html and so on .. via strg+winbutton like launchy and makes more faster to let run a program from the menu via manual entry and let show what in traylauncher works.
i know, this is a bit more as only around reboot,shutdown and so on,
but see it as suggestions for the future where should/could be in the todo-list.
best regards
Blacky

I know I am like 3 years late to this post and that this isn't the Open Shell GitHub but I just want to say this would be really cool to have. The challenge Ivo faced was localization into all supported languages. If a particular string in Windows was not translated, he wasn't willing to add it to the Shutdown menu. Currently I have added the following in my Shutdown submenu. It would be nice to have these in the Windows 7 style shutdown menu as well some day:


Error while loading the extensions if there are non existing jars in class path.

Description:
If there is a non-existing jar file give in the classpath, siddhi extensions loading flow throwing following error,
TID: [-1234] [] [2018-03-09 11:34:39,173] ERROR {org.wso2.siddhi.core.util.SiddhiExtensionLoader} -  Error viewing zip file for jar:C:\Program Files\Java\lib\tools.jar {org.wso2.siddhi.core.util.SiddhiExtensionLoader}
java.io.FileNotFoundException: C:\Program Files\Java\lib\tools.jar (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:

Given invalid classpath or nonexisting jar file i

Related Issues:

Fixes added by: https://github.com/wso2/siddhi/pull/783


Add try_insert_with_key that accepts a fallible closure

Adds a new try_insert_with_key method to SlotMap, DenseSlotMap, and HopSlotMap. This method accepts a closure returning a Result. If the closure returns an error, try_insert_with_key leaves the slotmap untouched and returns the error.
This is useful when value construction is fallible.

If you address my comments in all three variants this seems like a nice addition.

We might get better code generation if we do
enum Never;
self.try_insert_with_key::<_, Never>(move |k| Ok(f(k))).unwrap()

Sounds good. I've addressed your comments and used the Never trick.


Ignore - testing

#147  👈
main

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

Join @rbro112 and the rest of your teammates on  Graphite


[Event Request] Table 7311 - Warehouse Journal Line - OnBeforeCheckBinOutbound

Hi AL-Team,
can you please add the following Publisher with Handled Pattern to CheckBin?
local procedure CheckBin(LocationCode: Code[10]; BinCode: Code[20]; Inbound: Boolean)
var
BinContent: Record "Bin Content";
WhseJnlLine: Record "Warehouse Journal Line";
// NEW >>>>
HandledOutbound: Boolean;
// NEW <<<<
begin
if (BinCode <> '') and ("Item No." <> '') then begin
GetLocation(LocationCode);
if BinCode = Location."Adjustment Bin Code" then
exit;
BinContent.SetProposalMode(StockProposal);
if Inbound then begin
GetBinType(LocationCode, BinCode);
if Location."Bin Capacity Policy" in
[Location."Bin Capacity Policy"::"Allow More Than Max. Capacity",
Location."Bin Capacity Policy"::"Prohibit More Than Max. Cap."]
then begin
WhseJnlLine.SetCurrentKey("To Bin Code", "Location Code");
WhseJnlLine.SetRange("To Bin Code", BinCode);
WhseJnlLine.SetRange("Location Code", LocationCode);
WhseJnlLine.SetRange("Journal Template Name", "Journal Template Name");
WhseJnlLine.SetRange("Journal Batch Name", "Journal Batch Name");
WhseJnlLine.SetRange("Line No.", "Line No.");
WhseJnlLine.CalcSums("Qty. (Absolute)", Cubage, Weight);
end;
if BinContent.Get(
"Location Code", BinCode, "Item No.", "Variant Code", "Unit of Measure Code")
then
BinContent.CheckIncreaseBinContent(
"Qty. (Absolute, Base)", WhseJnlLine."Qty. (Absolute, Base)",
WhseJnlLine.Cubage, WhseJnlLine.Weight, Cubage, Weight, false, false)
else begin
GetBin(LocationCode, BinCode);
Bin.CheckIncreaseBin(
BinCode, "Item No.", "Qty. (Absolute)",
WhseJnlLine.Cubage, WhseJnlLine.Weight, Cubage, Weight, false, false);
end;
end else begin
// NEW >>>>
OnBeforeCheckBinOutbound(Rec, HandledOutbound)
if not HandledOutbound then begin
// NEW <<<<
BinContent.Get(
"Location Code", BinCode, "Item No.", "Variant Code", "Unit of Measure Code");
if BinContent."Block Movement" in [
BinContent."Block Movement"::Outbound, BinContent."Block Movement"::All]
then
if not StockProposal then
BinContent.FieldError("Block Movement");
// NEW >>>>
end;
// NEW <<<<
end;
BinContent.SetProposalMode(false);
end;
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckBinOutbound(var Rec: Record "Warehouse Journal Line"; var HandledOutbound: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Bug 2174636: Visit Virtualization -> Overview -> Migrations crashes the app

📝 Description
when gridLineSpacer is 0 the for loop will run endlessly which will crash the script
🎥 Demo
After:

/lgtm


ensenso_camera_test tests are failing

[1519720055.786455757 ERROR /ensenso_camera_node]: Error while opening the camera 'ros_test'!
[1519720055.786535334 ERROR /ensenso_camera_node]: FileStereoCamera: Could not initialize background calibration thread
[1519720055.786575494 ERROR /ensenso_camera_node]: Failed to open the camera. Shutting down.

This is because the tests use cameras from image files. Those are not officially supported in any version of the SDK that is currently available (and the error you got is a known problem in older versions).
They will be supported in the upcoming version 2.2, though, which we will hopefully publish in a few days.

FYI, we just published the new version 2.2 of the SDK, which can now run the tests.


Are paged records supported in Export API?

[x] Question
In case where there are large number of list items at root level or any folder level, does API have limit after which it will provide some continuation token to get another chunk or it gives one large Manifest.xml file?
I tried with 1500 list items and it produced single Manifest around 3 MB in size since I included metadata and versions.
Thanks.

Can you be more specific which API you're referring to and if you're having an issue?

I'm not aware of a limit, nor do I see one listed in the docs. Are you running into one?

So example if there are 10,000 list items in list, will it return all 10,000 items in single manifest or does CreateSPAsyncReadJob API support to get few thousand at a time.

@JeremyKelley ... can you answer this?

Cleaning up my backlog I found the internal work item associated with this, apologies for this being over a year old but hopefully a late answer is better than no answer:
There shouldn't be an item # limit, however, once the manifest file reaches a large enough size, around 24MB, a new manifest with an interger appended at the end will get generated., e.g. Manifest1.xml. So, for a big list, you will have manifest 1 to N.
Hopefully that wasn't a blocking issue and you were able to get your scenario working!

Cleaning up my backlog I found the internal work item associated with this, apologies for this being over a year old but hopefully a late answer is better than no answer:
There shouldn't be an item # limit, however, once the manifest file reaches a large enough size, around 24MB, a new manifest with an interger appended at the end will get generated., e.g. Manifest1.xml. So, for a big list, you will have manifest 1 to N.
Hopefully that wasn't a blocking issue and you were able to get your scenario working!

Yes it was not blocking issue. Thank you for reply.

Yes it was not blocking issue. Thank you for reply.


Database download impossible

Hi,
Is this project still active?
The page http://dev.bit-cluster.com/magnet for downloading the database is not working (for me). Error message: ERR_CONNECTION_REFUSED comes up.
Does anybody knows what to do?
Thanks a lot!

Link is now up.
The project is still active, but I didn't have much time lately for this project.
Thanks

The page http://dev.bit-cluster.com/magnet for downloading the database is not working again


Files with specific cultures

Where can I find files with specific cultures? I'm looking for en-GB culture file.

In previous Globalize 0.x, the project use to ship culture bundles, but the main problem with that was shipping outdated i18n data. Therefore, this is no longer done in Globalize 1.x. Instead, you can load the data directly from any CLDR source.
That's what you need for en-GB:
npm install globalize cldr-data
var Globalize = require( "globalize" );
Globalize.load( require( "cldr-data" ).entireSupplemental() );
Globalize.load( require( "cldr-data" ).entireMainFor( "en-GB"  ) );

Globalize("en-GB").formatDate(new Date());
// > '24/05/2016'

If you are using Globalize in a web application and you use webpack to bundle your files, take a look at this demo: https://github.com/jquery/globalize/tree/master/examples/app-npm-webpack. Here, you don't even need to worry about loading CLDR data, because Globalize webpack plugin takes care of that for you.

Feel free to make additional comments if you need further assistance.

@rxaviers  Thank you for your help but I'm still a little bit confused. I'm not using any of these modern js package managers. I need to manually add a file with specific culture to my project. I'm not sure which one should I download from CLDR source. Could you point me the right one?

Sure, the required i18n data depends on the use you make of Globalize. Information can be found here https://github.com/jquery/globalize/#2-cldr-content, including a web page to assist you in your question.
Let's continue discussing if you find any issues in the documentation. Otherwise, we should make it a StackOverflow question.


Signal as default sms client

I use Signal as my default sms client. I try to send commands in encrypted and decrypted sms from an other phone with Signal. Both of them doesn't work.
Do you have experience to send commands over Signal?

I have tried sms without encryption and it worked. Encrypted messages don't seem to be broadcasted to other apps by Signal. Are you sure you sent the message via sms without encryption? (Long press on the send icon -> Sms)

I have done it in the same way. I'll do some more tests and give you a feedback.

Did you close the issue, because you couldn't reproduce it?


[BUG] ErrImagePull after install

Describe the bug
k3s (v1.20.4+k3s1) installation on arm raspberry pi
After installing the error pulling the image. Tried clearing everything and installing it several times
k3s kubectl logs -n longhorn-system longhorn-manager-dhv6m
Error from server (BadRequest): container "longhorn-manager" in pod "longhorn-manager-dhv6m" is waiting to start: image can't be pulled

longhorn-system        pod/longhorn-driver-deployer-666c84fbb7-kw5p2    0/1     Init:ErrImagePull   0          51s
longhorn-system        pod/longhorn-manager-2dnxb                       0/1     ImagePullBackOff    0          52s
longhorn-system        pod/longhorn-manager-2wb4j                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-7pzhf                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-7wrd4                       0/1     ImagePullBackOff    0          50s
longhorn-system        pod/longhorn-manager-7x5vd                       0/1     ErrImagePull        0          51s
longhorn-system        pod/longhorn-manager-88swq                       0/1     ImagePullBackOff    0          47s
longhorn-system        pod/longhorn-manager-9j8gn                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-9mrhx                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-b6f6x                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-dhv6m                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-dtlst                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-g8q7g                       0/1     ImagePullBackOff    0          51s
longhorn-system        pod/longhorn-manager-jxpzm                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-jz78x                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-jzgrj                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-k6qfj                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-kkpl7                       0/1     ImagePullBackOff    0          49s
longhorn-system        pod/longhorn-manager-m2wcd                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-nn6m4                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-pcdqb                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-q546p                       0/1     ErrImagePull        0          50s
longhorn-system        pod/longhorn-manager-qtcbf                       0/1     ErrImagePull        0          50s
longhorn-system        pod/longhorn-manager-r8n6h                       0/1     ImagePullBackOff    0          50s
longhorn-system        pod/longhorn-manager-s2k48                       0/1     ErrImagePull        0          47s
longhorn-system        pod/longhorn-manager-t8llc                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-manager-x5kbh                       0/1     ErrImagePull        0          49s
longhorn-system        pod/longhorn-ui-5576b69d6d-dkjqx                 0/1     ErrImagePull        0          51s

Seems like the cluster is having issues getting access to the images.
How are you deploying Longhorn and which version?
Could you do a describe of one of the resources that is having issues with image pulling?
kubectl -n longhorn-system get daemonset/longhorn-manager -o json | grep '"image"'

I tried deploying via helm and kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v0.8.0/deploy/longhorn.yaml
Both resulted in the same issue.
Results of command:
kubectl -n longhorn-system get daemonset/longhorn-manager -o json | grep '"image"'
                    "image": "longhornio/longhorn-manager:v1.1.0",

I am running HypriotOS/armv7 possible I need to manually specify an ARM architecture for the image pull during the installation? How would I do that? I am adding some more logs below.
kubectl api-resources --verbs=list --namespaced -o name \

| xargs -n 1 kubectl get --show-kind --ignore-not-found -n longhorn-system

92m         Normal    Pulling             pod/longhorn-uninstall-2mtr6        Pulling image "longhornio/longhorn-manager:v1.1.0"
92m         Warning   Failed              pod/longhorn-uninstall-2mtr6        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
92m         Warning   Failed              pod/longhorn-uninstall-2mtr6        Error: ErrImagePull
75m         Normal    Scheduled           pod/longhorn-uninstall-2rvzx        Successfully assigned longhorn-system/longhorn-uninstall-2rvzx to glexia-rpi-c1n23
75m         Normal    Pulling             pod/longhorn-uninstall-2rvzx        Pulling image "longhornio/longhorn-manager:v1.1.0"
75m         Warning   Failed              pod/longhorn-uninstall-2rvzx        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
75m         Warning   Failed              pod/longhorn-uninstall-2rvzx        Error: ErrImagePull
116m        Normal    Scheduled           pod/longhorn-uninstall-77hsz        Successfully assigned longhorn-system/longhorn-uninstall-77hsz to glexia-rpi-c1n10
114m        Normal    Pulling             pod/longhorn-uninstall-77hsz        Pulling image "longhornio/longhorn-manager:v1.1.0"
114m        Warning   Failed              pod/longhorn-uninstall-77hsz        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
114m        Warning   Failed              pod/longhorn-uninstall-77hsz        Error: ErrImagePull
113m        Normal    BackOff             pod/longhorn-uninstall-77hsz        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
114m        Warning   Failed              pod/longhorn-uninstall-77hsz        Error: ImagePullBackOff
76m         Normal    Scheduled           pod/longhorn-uninstall-ff5gm        Successfully assigned longhorn-system/longhorn-uninstall-ff5gm to glexia-rpi-c1n24
75m         Normal    Pulling             pod/longhorn-uninstall-ff5gm        Pulling image "longhornio/longhorn-manager:v1.1.0"
75m         Warning   Failed              pod/longhorn-uninstall-ff5gm        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
75m         Warning   Failed              pod/longhorn-uninstall-ff5gm        Error: ErrImagePull
76m         Normal    BackOff             pod/longhorn-uninstall-ff5gm        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
76m         Warning   Failed              pod/longhorn-uninstall-ff5gm        Error: ImagePullBackOff
93m         Normal    Scheduled           pod/longhorn-uninstall-ftzxs        Successfully assigned longhorn-system/longhorn-uninstall-ftzxs to glexia-rpi-c1n13
93m         Normal    Pulling             pod/longhorn-uninstall-ftzxs        Pulling image "longhornio/longhorn-manager:v1.1.0"
92m         Warning   Failed              pod/longhorn-uninstall-ftzxs        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
92m         Warning   Failed              pod/longhorn-uninstall-ftzxs        Error: ErrImagePull
93m         Normal    BackOff             pod/longhorn-uninstall-ftzxs        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
93m         Warning   Failed              pod/longhorn-uninstall-ftzxs        Error: ImagePullBackOff
113m        Normal    Scheduled           pod/longhorn-uninstall-jf9bc        Successfully assigned longhorn-system/longhorn-uninstall-jf9bc to glexia-rpi-c1n9
113m        Normal    Pulling             pod/longhorn-uninstall-jf9bc        Pulling image "longhornio/longhorn-manager:v1.1.0"
113m        Warning   Failed              pod/longhorn-uninstall-jf9bc        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
113m        Warning   Failed              pod/longhorn-uninstall-jf9bc        Error: ErrImagePull
113m        Normal    BackOff             pod/longhorn-uninstall-jf9bc        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
113m        Warning   Failed              pod/longhorn-uninstall-jf9bc        Error: ImagePullBackOff
117m        Normal    Scheduled           pod/longhorn-uninstall-pg8j8        Successfully assigned longhorn-system/longhorn-uninstall-pg8j8 to glexia-rpi-c1n9
117m        Normal    Pulling             pod/longhorn-uninstall-pg8j8        Pulling image "longhornio/longhorn-manager:v1.1.0"
116m        Warning   Failed              pod/longhorn-uninstall-pg8j8        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
116m        Warning   Failed              pod/longhorn-uninstall-pg8j8        Error: ErrImagePull
116m        Normal    BackOff             pod/longhorn-uninstall-pg8j8        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
116m        Warning   Failed              pod/longhorn-uninstall-pg8j8        Error: ImagePullBackOff
92m         Normal    Scheduled           pod/longhorn-uninstall-t5fn7        Successfully assigned longhorn-system/longhorn-uninstall-t5fn7 to glexia-rpi-c1n2
92m         Normal    Pulling             pod/longhorn-uninstall-t5fn7        Pulling image "longhornio/longhorn-manager:v1.1.0"
91m         Warning   Failed              pod/longhorn-uninstall-t5fn7        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
91m         Warning   Failed              pod/longhorn-uninstall-t5fn7        Error: ErrImagePull
91m         Normal    BackOff             pod/longhorn-uninstall-t5fn7        Back-off pulling image "longhornio/longhorn-manager:v1.1.0"
91m         Warning   Failed              pod/longhorn-uninstall-t5fn7        Error: ImagePullBackOff
91m         Normal    Scheduled           pod/longhorn-uninstall-xfxht        Successfully assigned longhorn-system/longhorn-uninstall-xfxht to glexia-rpi-c1n9
91m         Normal    Pulling             pod/longhorn-uninstall-xfxht        Pulling image "longhornio/longhorn-manager:v1.1.0"
91m         Warning   Failed              pod/longhorn-uninstall-xfxht        Failed to pull image "longhornio/longhorn-manager:v1.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/longhornio/longhorn-manager:v1.1.0": no match for platform in manifest: not found
91m         Warning   Failed              pod/longhorn-uninstall-xfxht        Error: ErrImagePull

Currently, we only support amd64 and arm64, there is a feature request #1997 for the armv7 already.

Thank you. That resolves the issue.

@jenting I'm also having this issue on raspberry os 2021-03-04 with k3s v1.20.6+k3s1 when installing longhorn v1.1.1
Is there a workaround to to make the longhorn installation successful and functional while the armv7 feature request is not there yet?

@Kamforka we currently only support ARM64 if you are able you can use an arm64 os like ubuntu for the nodes then longhorn will work correctly. We don't ship armv7 images.


Add Audyssey settings

Awesome, nice work!  I will clone and test.  If we're going to add this kind of functionality I might like to add a few more entries as well.
I think we should also find someone to test with a "pre X" series receiver.
I like the way that you set this as a class where the class name is the XML name.  So if I were to add the following I would do something like this.  The XML for these is at the bottom.
class SurroundParameter:
    """Surround Sound Settings."""
    ...
    def set_dyncomp():
        ...
    def set_lfe():
        ...
    ...

Which makes me realize that it would be nice to have a base class AppCommand0300 or XmlAppCommand where subclass defines "name".  So where you do ET.SubElement(cmd, "name").text = "SetAudyssey" it would just be self.name of the subclass Audyssey.  What do you think about generalizing it this way?  And I 100% support new files, maybe even folders, denonavr.py is huge!  Then again maybe we leave everything in denonavr to scare Java people...
Dolby alternative to dynamic vol
DCO setting can take 0: off, 1: low, 2:med, 3: high
This setting will only work for Dolby tracks that contain
the dynamic range metadata but the effect is much better
than traditional dynamic range compression.
0300
<?xml version="1.0" encoding="utf-8"?>
<tx>
  <cmd id="3">
    <name>SetSurroundParameter</name>
    <list>
      <param name="dyncomp">3</param>
    </list>
  </cmd>
</tx>

Set LFE
Low Frequency Effect takes settings from 0 (normal) down
to -10 (-10dB).  This is a useful addition for night mode
macros.
0300
<?xml version="1.0" encoding="utf-8"?>
<tx>
  <cmd id="3">
    <name>SetSurroundParameter</name>
    <list>
      <param name="lfe">-10</param>
    </list>
  </cmd>
</tx>

FYI, just chiming in support of this functionality!
It will be great to automate these things between my normal movie mode and night movie mode, so I don't keep forgetting that LC is cranked up an hour into a great movie after wondering why the sound kinda sucks :-)
But my wife is muuuuuch happier when it's on during my normal nightly watching time because she is already sleeping!

Can we find someone to test this with a "pre X" series receiver?

That would be great. I've got a AVR-X1600H.

Which makes me realize that it would be nice to have a base class AppCommand0300 or XmlAppCommand where subclass defines "name". So where you do ET.SubElement(cmd, "name").text = "SetAudyssey" it would just be self.name of the subclass Audyssey. What do you think about generalizing it this way? And I 100% support new files, maybe even folders, denonavr.py is huge! Then again maybe we leave everything in denonavr to scare Java people...

The idea of generalization sounds good to me. Maybe we can add this later, when more components are coming in. :)

Great!  I have AVR-X1500H so not much difference.  I am working on generalizing it now so if it's not too much hassle I'd favor getting the groundwork agreed upon ahead of time.
First question: I see a total of 9 setters now.  This seems inconsistent with much of the library.  Should we consider converting everything to setters for consistency?  It could be confusing to have setters as well as "set functions" for third-party integrations like Home Assistant.

Fun problem: changes to state do not hold if the receiver is powered off even though it replies with "OK".  To reproduce:
import denonavr
d = denonavr.DenonAVR("IP ADDR")
d.power_on()
d.dynamic_volume = "Medium"
d.update()
d.dynamic_volume
d.dynamic_volume = "Off"
d.update()
d.dynamic_volume
d.power_off()
d.dynamic_volume = "Medium"
d.dynamic_volume # Since "OK" was received this gets set to "Medium" - it assumes it worked!
d.update() # Update calls "GetAudyssey"
d.dynamic_volume # It is "Off"
d.power_on()
d.update()
d.dynamic_volume # Confirm that it didn't "queue" the change awaiting power

Trivial Solution
Don't allow changes to these states when power is off.
Automation
I think that many people interested in this, myself included, would like to automate the dynamic volume etc as a "night mode" feature that turns activates at 9PM for example and turns off again in the morning.  This is simple enough in Home Assistant (right now I do it using Telnet commands) yet we would have to document a need to check for power at 9PM, turn on if not powered, change the setting, turn off again.
Nice To Have
What may be better is to implement a simple task queue for this library.  Settings that are made when the unit is powered off are added to the queue and applied when the unit starts next.  This is potentially error prone and outside the scope of this library.

Generalization
For anyone that's interested, here is a draft PR with ideas for how to implement this while making it reasonably intuitive for folks to add their own XML style commands.  It does include working Dolby Dynamic Compression and LFE setting 0dB -> -10dB.
https://github.com/MarBra/denonavr/pull/1/commits/c4d6c0e94331d063306b21ce425ee44467237fb9
To do

Is this going to throw a bunch of errors in "Pre X 2016" receivers?
There is a really cool attribute in the XML, "control", that specifies whether a parameter is controllable or not.  For example, when a Dolby Digital movie is playing this attribute on "dyncomp" will show that Dolby Dynamic Compression is available to be set.  It would be amazing to use this in UI.
The Denon API issues an "OK" even if the receiver is off and the parameter was not actually set.

First question: I see a total of 9 setters now. This seems inconsistent with much of the library.
Yes I agree. It would be good to have a consistent interface. Maybe we can have some thoughts from @scarface-4711

Fun problem: changes to state do not hold if the receiver is powered off even though it replies with "OK".
Yes this is indeed an issue. :D Do we handle this in general in the library?

@JPHutchins Thanks for all the input :)
@scarface-4711  Shall we put the contributions in one PR or shall we split them up?

Hey @MarBra, @JPHutchins,
it took a while for me to check this. Home office is screwing up my work life balance 😅

First question: I see a total of 9 setters now. This seems inconsistent with much of the library.

Yes I agree. It would be good to have a consistent interface. Maybe we can have some thoughts from @scarface-4711

I started with the setters years ago, probably just to try how they are working. However, in my opinion they make sense in some cases to "protect" the attribute. Setting a input_func for example is more than just changing a attribute value, it means calling the receivers endpoint too.

Fun problem: changes to state do not hold if the receiver is powered off even though it replies with "OK".

Yes this is indeed an issue. :D Do we handle this in general in the library?

It seems to be an occasional problem. If I remember correctly some endpoints like setting an input function are throwing an error in case you provide an invalid function, others don't. But most of the endpoints return a HTTP 200 even in the error case. That's what complicates working with Denon/Marrantz receivers a lot...

@scarface-4711 Shall we put the contributions in one PR or shall we split them up?

Work is calling 😅  I think about this in the evening.
Btw. I own a Denon AVR-X 4100W which is pre-2016 and supports Audyssey and I'll test it in the evening.

This is running on my receiver too 😄
I'll merge it and add the missing setter later. I think there is really just volume missing. The other attributes you cannot really set from outside the class-

Nice, thank you!  I will make separate PR with the generalizations for
further schema discussion.
On Tue, Nov 17, 2020, 12:03 AM Oliver<EMAIL_ADDRESS>wrote:

Merged #158 https://github.com/scarface-4711/denonavr/pull/158 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scarface-4711/denonavr/pull/158#event-4004085237, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIESQLW5T3HLBEENJ6YUTWTSQIU3PANCNFSM4SYX6DZQ
.