what's the kind of a Class that with annotations @ProxyGen but without @VertxGen

@ProxyGen
public interface Test {
    @Fluent
    Test foo();
}

this method will add to anyJavaTypeMethods because of the kind of Test is ClassKind.OTHER

it throw that "error: TestVertxEBProxy is not abstract and does not override abstract method foo() in Test"

I think that interfaces with @ProxyGen and without @VertxGen should be rejected

https://github.com/vert-x3/vertx-service-proxy/pull/75

Sorry for bumping, but in my project (using vertx 3.5.4) I had this working and in the generated proxy it contained the proxy methods, but now that we upgraded to 3.6.0CR1 (for a fix we required) I am indeed getting incomplete classes (same error that @okou19900722 stated).
I was always under the impression that I don't need VertxGen unless I want stub services generated, but I tried it anways alongisde ProxyGen but then getting this error:
Error:(20, 1) java: Could not generate model for com.our.package.EBOurService: [Error: could not create constructor: null]
  [Near : {... var futMethod = new io.vertx.codegen.MethodInfo( ....}]
               ^
  [Line: 1, Column: 798]

What am I missing?

can you provide a reproducer project @diabolicallabs ?

Working on it...
David Bush

In creating the reproducer, I found the problem. I had a maven dependency with a transitive dependency on an older version of vertx-rx-java 3.2.1. Updating that solved the problem.
Here is the reproducer if you're interested:
Thank you for your interest Julien.

it is weird because we are not using anymore MVEL and that is MVEL templating....

the problem is that you have code depending on old vertx versions:
[INFO] +- com.diabolicallabs:vertx-cron:jar:<IP_ADDRESS>:compile
[INFO] |  +- (io.vertx:vertx-core:jar:3.2.1:compile - omitted for conflict with 3.6.0)
[INFO] |  +- io.vertx:vertx-rx-java:jar:3.2.1:compile
[INFO] |  |  +- io.reactivex:rxjava:jar:1.0.14:compile
[INFO] |  |  \- (io.vertx:vertx-core:jar:3.2.1:compile - omitted for conflict with 3.6.0)
[INFO] |  +- io.vertx:vertx-unit:jar:3.2.1:compile
[INFO] |  |  \- (io.vertx:vertx-core:jar:3.2.1:compile - omitted for conflict with 3.6.0)
[INFO] |  +- (io.vertx:vertx-hazelcast:jar:3.2.1:compile - omitted for conflict with 3.6.0)
[INFO] |  +- junit:junit:jar:4.12:compile
[INFO] |  |  \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] |  \- org.quartz-scheduler:quartz:jar:2.2.2:compile
[INFO] |     +- c3p0:c3p0:jar:<IP_ADDRESS>:compile
[INFO] |     \- org.slf4j:slf4j-api:jar:1.7.7:compile

this load the vertx 3.2.1 generators which are executed

changing the dep to:
        <dependency>
            <groupId>com.diabolicallabs</groupId>
            <artifactId>vertx-cron</artifactId>
            <version><IP_ADDRESS></version>
            <exclusions>
                <exclusion>
                    <groupId>io.vertx</groupId>
                    <artifactId>vertx-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.vertx</groupId>
                    <artifactId>vertx-rx-java</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.vertx</groupId>
                    <artifactId>vertx-unit</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.vertx</groupId>
                    <artifactId>vertx-hazelcast</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

builds fine for me


refactor service deploy statuses flags, closes #487

@mesg-foundation/core please check the codeclimate errors. If we want to switch to CamelCase then we need to it for all constants in the code base.

please just change it for your PR, we will update the others when we have the warning touching these files or in a separated PR

good to review

@ilgooz don't forget to remove the branch once merged ;)


Analytics integration

Hello,
I'm currently working on integrating Fabric analytics in the app, and I saw that you are working on Google Firebase Integration in #879 and this is really cool. The problem is that all events are fired in each screen using segment, regardless of the integration type.
I tried to make something generic but that leaded to a huge code change (around 57 files) which I prefer not to do because of the merge conflicts I'll face later. I actually have no questions here, but I wanted to check if you are interested in having such a change so may be I can introduce my changes in a pull request.

Let us hear your thoughts! We have an open ticket right now where we will actually be attacking the way analytics works on android. One of the issues with segment is that an open edx user needs to use segment in order to get analytics. We've brainstormed a couple of ways to go about this but I think we will be leaning towards making a generic analytics interface.
Here is the ticket to track progress. https://openedx.atlassian.net/browse/MA-2981
The ticket is vague but at least you will be able to see the status.

So  what I got is that edx-platform is using SegmentIO to track its events?
Here's what I think:
Going back to the configs repo, we can see that it's all up to the developer to pick Segment and/or another service to track the events in the app, and since we have a ready implementation for Segment, we can refactor ISegment.java to be the interface and ISegmentEmptyImpl.java to be the Empty implementation of all analytics services the user is interested in.
Further on, we can take an advantage of [RuntimeApplication.java](https://github.com/edx/edx-app-android/blob/master/OpenEdXMobile/src/main/java/org/edx/mobile/base/RuntimeApplication.java that has been introduced in #583 any developer can define any desired analytics service and check for its flags.
Custom edits is needed

Cool! Here's what I think:
Going back to the configs repo, we can see that it's all up to the developer to pick Segment and/or any other service to track the events in the app, and since we have a ready implementation for Segment, we can refactor ISegment.java to be the interface and ISegmentEmptyImpl.java to be the Empty implementation of all analytics services the user is interested in. Besides, we can take an advantage of RuntimeApplication.java that has been introduced in #583 so that any developer can define any desired analytics service and check for its flags. All these defined and configured services are going to be passed to a controller class that executes an event on all these events using Command Pattern design.
P.S. If you can correct me, does edx-platform sends all the events to SegmentIO if its configured so that you want to keep Segment enabled?

@miankhalid @1zaman FYI
All that makes sense. We currently have all the checks in https://github.com/edx/edx-app-android/blob/master/OpenEdXMobile/src/main/java/org/edx/mobile/base/MainApplication.java but maybe they should be moved to RuntimeApplication or something. I'm sure there will be some refactoring involved.
For the PS, At edx, we use Segment to send our events to edx-platform AND google analytics via segment.  Since we are open source, we understand this doesn't work for everyone so there would be the case where segment is not enabled, but Google Analytics is.

@BenjiLee: I think we can close this as it is solved in #893. Thanks @BenjiLee and @miankhalid for helping in making this happens, and thanks @1zaman for the review. Again, sorry for not being so involved because of the time difference.


New ecs agent

Hi. Please, release the new Firecamp with the updated ECS agent:
The  Amazon  ECS-Optimized  AMI is now available which contains a new version of
the  Amazon  ECS Agent 1.26.0. This release includes an important bug fix[1] and
we  recommend that all users upgrade to the latest ECS Agent 1.26.0.
[1] https://github.com/aws/amazon-ecs-agent/blob/master/CHANGELOG.md

Unfortunately, this git will be archived. It will no longer be supported. Sorry about that.


Deno support?

Is this package not to use on Deno possible currently?

Why isn't there anyone to maintain this project?


Limit password gauge latency

Currently the complete password is given to zxcvbn to estimate it’s strength and display that in the gauge.
If the password is sufficiently long, this takes an exponential amount of time.
For that reason it is recommended to truncate the password to a sensible length when gauging the strength.
Cf. https://github.com/dropbox/zxcvbn#runtime-latency

Thanks!


Changes triggered by synthtool

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/76484510-5e4b-4c1f-8605-f3c790d6fec2/targets

Closing - similar to the other autosynth PRs raised in this period of time which is before #201 was merged so unwanted content was brought in.


Recurrence documentation for 'every April and December on the 1st and 24th' seems misleading

This arose out of discussion #610.
Expected Behavior
The docs in https://schemar.github.io/obsidian-tasks/getting-started/recurring-tasks/ contain this:
🔁 every April and December on the 1st and 24th (meaning every April 1st and December 24th)
I therefore expected to get this, after multiple completions - i.e. due dates being only April 1st and December 24th:
- [ ] Do stuff 🔁 every April and December on the 1st and 24th 📅 2025-04-01
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-12-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-04-01 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-12-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-04-01 ✅ 2022-04-20

Current Behavior
This is what I actually got - i.e. due dates being only April 1st and 24th, and December 1st and 24th
- [ ] Do stuff 🔁 every April and December on the 1st and 24th 📅 2025-04-01
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-12-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-12-01 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-04-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2024-04-01 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-12-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-12-01 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-04-24 ✅ 2022-04-20
- [x] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-04-01 ✅ 2022-04-20

Steps to Reproduce
Create this task:
- [ ] Do stuff 🔁 every April and December on the 1st and 24th 📅 2023-04-01

Then complete it multiple times.

Context (Environment)

Obsidian version: 0.14.6
Tasks version: 1.5.1
[x] I have tried it with all other plugins disabled and the error still occurs

Possible Solution
Establish what the intended behaviour is, and then either update the docs or adjust the bug to indicate that the behaviour needs fixing.

Thanks, @claremacrae!

I do think that the actual behaviour is logical - and lean towards adding a test case for this, and updating the documentation to match the behaviour.
It makes it possible to add some quite powerful quarterly tasks, for example....

Fixed and published.


loggerd: removed variable std::vector<SubSocket*> socks from main()

SubSocket*   is already saved in map qlog_states as key

I like this, but let's rename the qlog state struct to something more appropriate given its new use.


[Question] Cygwin supported?

It works well with MSYS2 with MinGW env, does it support Cygwin? If the answer is yes, how? Thanks very much!

I added c:\cygwin64\bin in to windows search path to find gcc from cygwin. The scan for kit found the compiler and a build works.
A cmake installation inside of cygwin failed. There was no pipe communication between cmake on cygwin and vscode on windows possible.

It works when adding the path into PATH. I also try to find a solution to make VS Code uses a configurable PATH setting, it seems a unsupported feature for now. Thanks for your reply. A workaround now used by me: Write a batch file whose PATH including c:\cygwin64\bin, and then in the next line call code. So I can use VS Code without modifying the global PATH. Just a workround.

It is possible to modify the environment variable inside of the kit file for a kit. But it does not support expansion of the env.path.

@KoeMai Thanks for your advice. I think my requirement may somehow particular. The ENV.PATH is not only for the building process, but also for an extra plugin named cquery which is used the parse the source codes. CMake can export compile_commands.json, and then cquery uses the file to parse the source codes. However, the compiler and its DLL dependencies should in ENV.PATH so that the parse commands can be done without DLL missing errors. It seems that the environment variable inside of the kit file is just for building process. After I restart VS Code, cquery will complain DLL missing errors. I think the reason is cquery is automatically launched before the launching of vscode-cmake-tools.
So I think a particular *.bat file is a better workaround (but really ugly). After searching for information for some days, I think there is no better solution now for VS Code in this situation.


CDN Causing infinite reload

What version of Remix are you using?
1.18.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce

Place your site behind a CDN, and don't include query params in the cache key, but forward them to the origin
Visit a page with a cache header with query param, then again without
Page gets stuck in a infinite reload loop

Issue caused by this PR
https://github.com/remix-run/remix/pull/6409
Expected Behavior
Page should not get stuck in a loop and should load normally
Actual Behavior
Page gets stuck in an infinite reload loop as the url on the cache page does not match the URL of the page you are loading

@brophdawg11 I think we should drop the search comparison part of #6409.
@yarbsemaj that would fix your issue, right?
I can open a pr today

@yarbsemaj see comment here: https://github.com/remix-run/remix/pull/6707#issuecomment-1609941966

I also have seen infinite reloads when upgrading to 1.18, but I have not yet been able to confirm why. I see infinite reloading when running locally and not behind a CDN.

I think #6707 is the correct fix here for CDN's ignoring search params so we're going to look into a patch release with that in it.
@tatemz Please reply if you can figure out your issue.  Turn on Preserve log in the Look in the Chrome dev tools console settings and look for this type of message indicating Remix is reloading due to a mismatch:

Another root cause we identified was mismatched versions of @remix-run/server-runtime and @remix-run/react so ensure that those are the same version and you don't have duplicates (via npm ls [package])

This should be available in 1.18.1 once released, but can be tested in 1.18.1-pre.0 currently.

I think #6707 is the correct fix here for CDN's ignoring search params so we're going to look into a patch release with that in it.
@tatemz Please reply if you can figure out your issue. Turn on Preserve log in the Look in the Chrome dev tools console settings and look for this type of message indicating Remix is reloading due to a mismatch:

Another root cause we identified was mismatched versions of @remix-run/server-runtime and @remix-run/react so ensure that those are the same version and you don't have duplicates (via npm ls [package])

Thanks @brophdawg11. My project is definitely showing this error in the console. Thanks for the lead. I am using Shopify Hydrogen and will have to track down the deps resolution through their repo

@tatemz yeah we chatted with the Hydrogen team yesterday about that.  The issue boils down to hydrogen having an internal dependency on 1.17.1 but if you then update to 1.18.0 in your package.json, you can get a mismatch which causes this issue.  For now just make sure you've installed the same remix versions as hydrogen is using internally.  And then bump to 1.18.0 when they do.  We discussed plans to avoid this type of mismatch in the future as well.


Fix: Android weird camera permission

Should fix https://github.com/react-native-image-picker/react-native-image-picker/issues/1474
Need to release a new version.

Apart from the comments, looking good!

Can we merge and release a version?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


etcd mirroring going off after sometime ( 2-3 hr)

Following is etcd service status on both machine :
tcd.service - etcd - highly-available key value store
Loaded: loaded (/lib/systemd/system/etcd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2017-07-10 21:58:10 PDT; 6 days ago
Docs: https://github.com/coreos/etcd
man:etcd
Main PID: 4673 (etcd)
Tasks: 9
Memory: 30.4M
CPU: 38min 27.665s
CGroup: /system.slice/etcd.service
└─4673 /usr/bin/etcd
This is how I'm starting etcd mirroring :
etcdctl --endpoints https://x.x.x.x:2379 --cacert host.pem make-mirror --prefix /realm/realm1 --dest-prefix=/realm/realm1 https://x.x.x.x:2379 --dest-cacert target.pem

what are the server logs from journalctl --unit etcd.service  around the time it stops? what version etcd server/client?

@heyitsanthony
etcdctl -version
etcdctl version: 3.2.0+git
API version: 2
ETCDCTL_API=3 etcdctl version
etcdctl version: 3.2.0+git
API version: 3.2
There r no  entries in journalctl

What's the output of systemctl cat etcd.service? Please provide exact steps to reproduce.

ETCDCTL_API=3 ./bin/etcdctl -w table endpoint status and ETCDCTL_API=3 ./bin/etcdctl -w json alarm list may also be helpful here.

op - systemctl cat etcd.service
[Unit]
Description=etcd - highly-available key value store
Documentation=https://github.com/coreos/etcd
Documentation=man:etcd
After=network.target
Wants=network-online.target
[Service]
Environment=DAEMON_ARGS=
Environment=ETCD_NAME=%H
Environment=ETCD_DATA_DIR=/var/lib/etcd/default
EnvironmentFile=-/etc/default/%p
Type=notify
User=etcd
PermissionsStartOnly=true
#ExecStart=/bin/sh -c "GOMAXPROCS=$(nproc) /usr/bin/etcd $DAEMON_ARGS"
ExecStart=/usr/bin/etcd $DAEMON_ARGS
Restart=on-abnormal
#RestartSec=10s
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
Alias=etcd2.service

op - ETCDCTL_API=3 etcdctl --endpoints https://x.x.x.x:2379 --cacert server.pem -w table endpoint status
+-----------------------------+------------------+-----------+---------+-----------+-----------+------------+
|          ENDPOINT           |        ID        |  VERSION  | DB SIZE | IS LEADER | RAFT TERM | RAFT INDEX |
+-----------------------------+------------------+-----------+---------+-----------+-----------+------------+
| https://x.x.x.x:2379 | ce2a822cea30bfca | 3.2.0+git | 19 MB   | true      |        10 |        719 |
+-----------------------------+------------------+-----------+---------+-----------+-----------+------------+

ETCDCTL_API=3 etcdctl --endpoints https://x.x.x.x:2379 --cacert server.pem -w json alarm list
{}

its writing only etcd service log but not mirror log, for mirroring I'm redirecting to file and only numbers are printed on this file

its writing only etcd service log but not mirror log

What's the etcd error message?
And what's the etcdctl error message?
Try to reproduce without systemd?

there is no etcd error since its running fine
etcdctl doesn't write any error logs so not able to reproduce what's exact cause.

Ok, I will try to reproduce tomorrow. Thanks.

only numbers are printed on this file

This means mirroring runs fine.
How do you know make-mirror is off? Does the process just exit? If so, there should be an error. Did you also redirect stderr from etcdctl process?
I tried make-mirror with TLS and runs fine.

I ran ps -ef | grep mirror - there was no process running. There is no log written to the temp file where I'm redirecting the stdout & stderr. Only numbers are printed for the time it is running. Is there any specific flag I need to set for the same

Only numbers are printed for the time it is running

This is expected.

I ran ps -ef | grep mirror - there was no process running

Did you run make-mirror with systemd? Then journalctl should have logs whether make-mirror exited or not (not an etcd issue).
Or just as a command? Then machine or VM reboot will just exit the process without any error logs?

Please reopen when you have exact steps to reproduce.


Reverse displayed endianness of transaction and block hashes

Fixes #1031

Hi @vramana just checking if you needed some help to finish this off?

Actually yes. I tried to get full zcashd node up an running locally but it crashes. I was busy with some other work. So I didn't get to debugging it. I'll ping for some help today.

Actually yes. I tried to get full zcashd node up an running locally but it crashes. I was busy with some other work. So I didn't get to debugging it. I'll ping for some help today.

My time zone probably won't match up with yours until Monday, so feel free to try Discord.
Also feel free to write as much of the PR as you can, and ask the reviewer to test with zcashd.

@teor2345 Magically my zcashd node didn't crash. I have a full node.

Replaced by https://github.com/ZcashFoundation/zebra/pull/1171 , please lets continue any discussion there. Thanks and sorry for the inconvenience but i was not able to push commits into the vramana branch directly.


Provision failed due to name generated too long

It looks like azd is not enforcing naming conventions for the resources it is trying to provision.  Some examples:
When using .NET Aspire and adding a storage (or keyvault) resource the provision failed.
Storage name used in the manifest: photostorage resulted in this during provision:
  (x) Failed: Storage account: photostorageixgpcjuen3hle
|       |
|=      |
  (✓) Done: Container App: frontendcache
|       |
|=      |
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
AccountNameInvalid: photostorageixgpcjuen3hle is not a valid storage account name. Storage account name must be between 3 and 24 characters in length and use numbers and lower-case letters only.

@weikanglim @vhvb1989 doesn't seem to be aspire specific. In general, we do not have validations enforcing naming conventions?

@rajeshkamal5050 It's somewhat aspire-specific / azd infra-gen because azd is managing the bicep that creates the resource. Typically, azd hasn't been providing client-side validation. This validation is done upon submitting the ARM deployment and is typically a PreDeploymentFailed error.
On current state of naming:

There isn't any validation on names inside app host. We're still in discussions what restrictions we would enforce.
In azd, we try our best to transform resource names from the manifest that wouldn't be valid for Azure resources. Currently this is only done for container app names, we haven't fully generalized this. The transformation is 1:1 and stable, but we can't guarantee global uniqueness post-transformation. For example, if you happened to have myfamilyphotostorage2023 and myfamilyphotostorage2024, they'd end up being mapped to same 24-character limited name: myfamilyphotostorage202.

With all that being said, I do think that we should expand azd's footprint of renaming invalid names and providing enough documentation on the general renaming patterns to give a more seamless experience. However, we need to guarantee stability once this is fully productized.


Failed to connect to Jupyter notebook. http://localhost:8888/ Error: Kernel Python 3.8.2 64-bit is not usable

Environment data

VS Code version: 1.53.2
Jupyter Extension version (available under the Extensions sidebar): 2021.2.576440691
Python Extension version (available under the Extensions sidebar): XXX
OS (Windows | Mac | Linux distro) and version: Ubuntu
Python and/or Anaconda version: Python 3.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...):  N/A
Jupyter server running: Local

Expected behaviour
 Connected to local server with Jupyter Output

[I 14:29:48.777 NotebookApp] Kernel started: 338c25d0-39b3-4471-ad33-f627d59f74aa, name: python38264bit58e42c9575d24eb58f427896571571af
[W 14:29:48.788 NotebookApp] delete /t-b3b6f7a6-c9f1-4c28-84cb-28f8cdabd1df.ipynb
[I 14:29:48.820 NotebookApp] Kernel started: 067ec0a0-cc2c-4541-8aff-33a871976ced, name: python38264bit58e42c9575d24eb58f427896571571af
[I 14:29:48.837 NotebookApp] Kernel started: f4461f07-e284-4d9a-b1a7-76cac9119f47, name: python38264bit58e42c9575d24eb58f427896571571af
[I 14:29:48.850 NotebookApp] Kernel started: 272852be-dc17-4ae8-946b-01975f13b72f, name: python38264bit58e42c9575d24eb58f427896571571af
[W 14:29:48.857 NotebookApp] delete /t-09a9a685-7aac-4af9-b7e4-020ea85e2ae7.ipynb
[W 14:29:48.873 NotebookApp] delete /t-e90d39e7-d365-4b7a-8b73-be2321f10b02.ipynb
[W 14:29:48.882 NotebookApp] delete /t-bf1c6aac-2e4d-4df2-b73c-6fdd12c2be6b.ipynb
[I 14:29:49.397 NotebookApp] Creating new notebook in /
[I 14:29:49.408 NotebookApp] Creating new notebook in /
[I 14:29:49.419 NotebookApp] Creating new notebook in /
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
[I 14:29:49.796 NotebookApp] Kernel started: 3066b5cf-3b26-4e8b-addb-decca5a8f149, name: python38264bit58e42c9575d24eb58f427896571571af
[I 14:29:49.807 NotebookApp] Kernel started: d6314ca0-3282-444f-930b-b9af5f0cc30a, name: python38264bit58e42c9575d24eb58f427896571571af
[W 14:29:49.812 NotebookApp] delete /t-34ce1030-237e-4f93-9baa-442d3c623a5f.ipynb
[W 14:29:49.819 NotebookApp] delete /t-afa95c44-aa2d-4445-b730-166dc4d510dc.ipynb
[I 14:29:49.844 NotebookApp] Kernel started: 87b79135-bd17-4fa4-90e3-241b0c055923, name: python38264bit58e42c9575d24eb58f427896571571af
[W 14:29:49.850 NotebookApp] delete /t-7d13316e-0052-4d33-9ed9-7dbf07a77c8d.ipynb

Actual behaviour
 Failed to connect to Jupyter notebook. http://localhost:8888/ Error: Kernel Python 3.8.2 64-bit is not usable with Jupyter Output
Starting Jupyter from /usr/bin/python3 with command line --no-browser --notebook-dir="/home/ubuntu/Tasks/Python/stock_amibroker" --config=/tmp/f8410491-94a9-479d-a09c-210cba1fa93d/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> /usr/bin/python3 (daemon) -m jupyter notebook --no-browser --notebook-dir="/home/ubuntu/Tasks/Python/stock_amibroker" --config=/tmp/f8410491-94a9-479d-a09c-210cba1fa93d/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py pip list
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py pip list
[I 14:48:10.502 NotebookApp] The port 8888 is already in use, trying another port.
[I 14:48:10.503 NotebookApp] Serving notebooks from local directory: /home/ubuntu/Tasks/Python/stock_amibroker
[I 14:48:10.503 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 14:48:10.504 NotebookApp] http://localhost:8889/?token=417186c78c21fdc78626a84360e3d869d320b29270e75a66
> /usr/bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 14:48:10.504 NotebookApp]  or http://<IP_ADDRESS>:8889/?token=417186c78c21fdc78626a84360e3d869d320b29270e75a66
> /usr/bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 14:48:10.504 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:48:10.506 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///home/ubuntu/.local/share/jupyter/runtime/nbserver-22281-open.html
    Or copy and paste one of these URLs:
        http://localhost:8889/?token=417186c78c21fdc78626a84360e3d869d320b29270e75a66
     or http://<IP_ADDRESS>:8889/?token=417186c78c21fdc78626a84360e3d869d320b29270e75a66
[I 14:48:10.673 NotebookApp] Creating new notebook in /
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /usr/bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> /usr/bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 14:48:10.997 NotebookApp] Kernel started: 929a4891-8476-4fba-8ea8-daef87f1872d, name: python38264bit58e42c9575d24eb58f427896571571af
[W 14:48:11.010 NotebookApp] delete /t-560f0799-3118-4edf-8ceb-35a206222340.ipynb
[I 14:48:13.999 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
[I 14:48:17.011 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
[I 14:48:20.023 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
[I 14:48:23.031 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
[W 14:48:26.040 NotebookApp] KernelRestarter: restart failed
[W 14:48:26.041 NotebookApp] Kernel 929a4891-8476-4fba-8ea8-daef87f1872d died, removing from map.
Error 2021-02-24 14:48:30: Kernel died while waiting for idle
Error 2021-02-24 14:48:30: Failed to change kernel [c [Error]: Kernel  is not usable. Check the Jupyter output tab for more information.
	at n (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:9:176843)
	at r (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:9:176965)
	at o (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:1:57939)
	at Object.e.emit (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:1:57653)
	at e.emit (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:1:55890)
	at c.dispose (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:3:540973)
	at /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:3:545409
	at Object.t.each (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:1:63056)
	at m (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:3:545325)
	at /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:3:544204
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async t.SessionManager.requestRunning (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/node_modules/@jupyterlab/services.js:3:537695)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kernelModel: {
      _createSocket: [Function],
      _onWSOpen: [Function],
      _onWSMessage: [Function],
      _onWSClose: [Function],
      _id: '929a4891-8476-4fba-8ea8-daef87f1872d',
      _name: 'python38264bit58e42c9575d24eb58f427896571571af',
      _status: 'dead',
      _kernelSession: '',
      _clientId: 'aff3e05c-5df1-4a5c-a77d-99d9398c9dc3',
      _isDisposed: true,
      _wsStopped: true,
      _ws: null,
      _username: '',
      _reconnectLimit: 7,
      _reconnectAttempt: 0,
      _isReady: false,
      _readyPromise: [e],
      _initialized: false,
      _futures: Map {},
      _comms: Map {},
      _targetRegistry: [Object: null prototype] {},
      _info: null,
      _pendingMessages: [],
      _statusChanged: [e],
      _iopubMessage: [e],
      _anyMessage: [e],
      _unhandledMessage: [e],
      _displayIdToParentIds: Map {},
      _msgIdToDisplayIds: Map {},
      _terminated: [e],
      _msgChain: null,
      _noOp: [Function],
      serverSettings: [Object],
      handleComms: true,
      lastActivityTime: 2021-02-24T08:48:30.709Z,
      numberOfConnections: 0,
      session: [Object]
    },
    kind: 'connectToLiveKernel'
  }
}
Error 2021-02-24 14:48:30: Failed to connect to server [c [Error]: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
	at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
	at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
	at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
	at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingKernelSpec',
    interpreter: {
      architecture: 3,
      path: '/usr/bin/python3',
      version: [Object],
      sysVersion: '3.8.5 (default, Jul 28 2020, 12:59:40) \n[GCC 9.3.0]',
      sysPrefix: '/usr',
      fileHash: '305d49160542eaf90f0dae709d25bc0d0cf8e656008a94b2f98254f35bcb4c5d4160e1cfe46b8e76e9dc95d09946f2e706fffece8a6bd8921376447da05ea710',
      envType: 'Unknown',
      displayName: 'Python 3.8.5 64-bit'
    },
    kernelSpec: a {
      specFile: '/home/ubuntu/.local/share/jupyter/kernels/python38264bit58e42c9575d24eb58f427896571571af/kernel.json',
      interpreterPath: '/usr/bin/python3',
      name: 'python38264bit58e42c9575d24eb58f427896571571af',
      argv: [Array],
      language: 'python',
      path: '/usr/bin/python3',
      display_name: 'Python 3.8.2 64-bit',
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    }
  }
}
Error 2021-02-24 14:48:30: Exception attempting to start notebook:  [i [Error]:
	at new t.WrappedError (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:153031)
	at /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:654636
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)

Error: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
	at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
	at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
	at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
	at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
  category: 'invalidkernel',
  originalException: [c [Error]: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
  	at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
  	at runMicrotasks (<anonymous>)
  	at processTicksAndRejections (internal/process/task_queues.js:97:5)
  	at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
  	at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
  	at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
  	at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
    category: 'invalidkernel',
    kernelConnectionMetadata: {
      kind: 'startUsingKernelSpec',
      interpreter: [Object],
      kernelSpec: [a]
    }
  }
}
Error 2021-02-24 14:48:30: DataScience Error [i [Error]:
	at new t.WrappedError (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:153031)
	at /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:654636
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)

Error: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
	at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)
	at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
	at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
	at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
	at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
  category: 'invalidkernel',
  originalException: [c [Error]: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
  	at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
  	at runMicrotasks (<anonymous>)
  	at processTicksAndRejections (internal/process/task_queues.js:97:5)
  	at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
  	at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
  	at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
  	at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
    category: 'invalidkernel',
    kernelConnectionMetadata: {
      kind: 'startUsingKernelSpec',
      interpreter: [Object],
      kernelSpec: [a]
    }
  }
}
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v

Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

That's my one repository linked with github. I am able to run Notebook from other folder or directory but getting error when running notebook from this repository. I cloned the same repository to another directory and issue remains.

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

 Error 2021-02-24 14:19:05: DataScience Error [i [Error]:
    at new t.WrappedError (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:1:153031)
    at /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:654636
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Error: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
    at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
    at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
    at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
    at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
  category: 'invalidkernel',
  originalException: [c [Error]: Kernel Python 3.8.2 64-bit is not usable. Check the Jupyter output tab for more information.
    at w.createNewKernelSession (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554995)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async w.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:554404)
    at async m.startNew (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:549756)
    at async _.connect (/home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:49:520500)
    at async /home/ubuntu/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/out/client/extension.js:32:653463] {
    category: 'invalidkernel',
    kernelConnectionMetadata: {
      kind: 'startUsingKernelSpec',
      interpreter: [Object],
      kernelSpec: [a]
    }
  }
}
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/bin/python3 ~/.vscode/extensions/ms-toolsai.jupyter-2021.2.576440691/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v

Thanks for the bug.
It looks to me like the kernel can't be run by jupyter. If you attempt starting jupyter using the same kernel outside of VS code it might give you more information as to why. To do so you'd:

Go to the directory with the problem in terminal
Run jupyter notebook
Create a new notebook
Pick the python38264bit58e42c9575d24eb58f427896571571af kernel
Look at the output at the terminal (assuming it will fail too)

Additionally if you could set this setting:

That should show a lot more output in the 'jupyter' output tab in VS code.

Thanks for the bug.
It looks to me like the kernel can't be run by jupyter. If you attempt starting jupyter using the same kernel outside of VS code it might give you more information as to why. To do so you'd:
1. Go to the directory with the problem in terminal

2. Run `jupyter notebook`

3. Create a new notebook

4. Pick the `python38264bit58e42c9575d24eb58f427896571571af` kernel

5. Look at the output at the terminal (assuming it will fail too)

Additionally if you could set this setting:

That should show a lot more output in the 'jupyter' output tab in VS code.

Thank You.
I also ran the notebook from terminal and web browser.
It also failed to connect the kernel.
I was curious to know the reason for this.

I was curious to know the reason for this.

It should list the reason in the terminal. You can get more info from jupyter by setting the log level higher:
jupyter notebook --log-level=DEBUG

I was curious to know the reason for this.

It should list the reason in the terminal. You can get more info from jupyter by setting the log level higher:
jupyter notebook --log-level=DEBUG

 I ran that way. I am not sure about those. Could you please check it

AttributeError: partially initialized module 'subprocess' has no attribute 'CalledProcessError' (most likely due to a circular import)
[I 23:42:14.095 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
[D 23:42:14.096 NotebookApp] Starting kernel: ['/usr/bin/python3', '-m', 'ipykernel_launcher', '-f', '/home/ubuntu/.local/share/jupyter/runtime/kernel-8c7340e1-003b-4c3f-b9e0-a5754a158575.json']
[D 23:42:14.103 NotebookApp] Connecting to: tcp://<IP_ADDRESS>:40375
Traceback (most recent call last):
  File "/usr/lib/python3.8/platform.py", line 613, in _syscmd_uname
    output = subprocess.check_output(('uname', option),
AttributeError: partially initialized module 'subprocess' has no attribute 'check_output' (most likely due to a circular import)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel/connect.py", line 8, in <module>
    from subprocess import Popen, PIPE
  File "/usr/lib/python3.8/subprocess.py", line 49, in <module>
    import signal
  File "/home/ubuntu/Tasks/Python/stock_amibroker/signal.py", line 6, in <module>
    import requests
  File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 35, in <module>
    from .request import RequestMethods
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/request.py", line 3, in <module>
    from .filepost import encode_multipart_formdata
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/filepost.py", line 4, in <module>
    from uuid import uuid4
  File "/usr/lib/python3.8/uuid.py", line 57, in <module>
    _AIX     = platform.system() == 'AIX'
  File "/usr/lib/python3.8/platform.py", line 891, in system
    return uname().system
  File "/usr/lib/python3.8/platform.py", line 857, in uname
    processor = _syscmd_uname('-p', '')
  File "/usr/lib/python3.8/platform.py", line 616, in _syscmd_uname
    except (OSError, subprocess.CalledProcessError):
AttributeError: partially initialized module 'subprocess' has no attribute 'CalledProcessError' (most likely due to a circular import)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3.8/platform.py", line 613, in _syscmd_uname
    output = subprocess.check_output(('uname', option),
AttributeError: partially initialized module 'subprocess' has no attribute 'check_output' (most likely due to a circular import)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
    import subprocess, tempfile, os.path, re, pwd, grp, os, time, io
  File "/usr/lib/python3.8/subprocess.py", line 49, in <module>
    import signal
  File "/home/ubuntu/Tasks/Python/stock_amibroker/signal.py", line 6, in <module>
    import requests
  File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 35, in <module>
    from .request import RequestMethods
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/request.py", line 3, in <module>
    from .filepost import encode_multipart_formdata
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/filepost.py", line 4, in <module>
    from uuid import uuid4
  File "/usr/lib/python3.8/uuid.py", line 57, in <module>
    _AIX     = platform.system() == 'AIX'
  File "/usr/lib/python3.8/platform.py", line 891, in system
    return uname().system
  File "/usr/lib/python3.8/platform.py", line 857, in uname
    processor = _syscmd_uname('-p', '')
  File "/usr/lib/python3.8/platform.py", line 616, in _syscmd_uname
    except (OSError, subprocess.CalledProcessError):
AttributeError: partially initialized module 'subprocess' has no attribute 'CalledProcessError' (most likely due to a circular import)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.8/platform.py", line 613, in _syscmd_uname
    output = subprocess.check_output(('uname', option),
AttributeError: partially initialized module 'subprocess' has no attribute 'check_output' (most likely due to a circular import)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/home/ubuntu/.local/lib/python3.8/site-packages/ipykernel/connect.py", line 8, in <module>
    from subprocess import Popen, PIPE
  File "/usr/lib/python3.8/subprocess.py", line 49, in <module>
    import signal
  File "/home/ubuntu/Tasks/Python/stock_amibroker/signal.py", line 6, in <module>
    import requests
  File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 35, in <module>
    from .request import RequestMethods
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/request.py", line 3, in <module>
    from .filepost import encode_multipart_formdata
  File "/home/ubuntu/.local/lib/python3.8/site-packages/urllib3/filepost.py", line 4, in <module>
    from uuid import uuid4
  File "/usr/lib/python3.8/uuid.py", line 57, in <module>
    _AIX     = platform.system() == 'AIX'
  File "/usr/lib/python3.8/platform.py", line 891, in system
    return uname().system
  File "/usr/lib/python3.8/platform.py", line 857, in uname
    processor = _syscmd_uname('-p', '')
  File "/usr/lib/python3.8/platform.py", line 616, in _syscmd_uname
    except (OSError, subprocess.CalledProcessError):
AttributeError: partially initialized module 'subprocess' has no attribute 'CalledProcessError' (most likely due to a circular import)
[W 23:42:17.107 NotebookApp] KernelRestarter: restart failed
[W 23:42:17.107 NotebookApp] Kernel 8c7340e1-003b-4c3f-b9e0-a5754a158575 died, removing from map.
[D 23:42:23.161 NotebookApp] Initializing websocket connection /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels
[W 23:42:23.164 NotebookApp] Replacing stale connection: 8c7340e1-003b-4c3f-b9e0-a5754a158575:758db712c18141d9834514e6851c6050
[D 23:42:45.197 NotebookApp] Initializing websocket connection /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels
[W 23:42:45.199 NotebookApp] Replacing stale connection: 8c7340e1-003b-4c3f-b9e0-a5754a158575:758db712c18141d9834514e6851c6050
[W 23:43:02.161 NotebookApp] Timeout waiting for kernel_info reply from 8c7340e1-003b-4c3f-b9e0-a5754a158575
[D 23:43:02.163 NotebookApp] 101 GET /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels?session_id=758db712c18141d9834514e6851c6050 (<IP_ADDRESS>) 60022.010000ms
[D 23:43:02.163 NotebookApp] Opening websocket /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels
[D 23:43:02.164 NotebookApp] Getting buffer for 8c7340e1-003b-4c3f-b9e0-a5754a158575
[E 23:43:02.164 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 8c7340e1-003b-4c3f-b9e0-a5754a158575)
[D 23:43:02.165 NotebookApp] Websocket closed 8c7340e1-003b-4c3f-b9e0-a5754a158575:758db712c18141d9834514e6851c6050
[W 23:43:02.166 NotebookApp] 404 GET /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels?session_id=758db712c18141d9834514e6851c6050 (<IP_ADDRESS>): Kernel does not exist: 8c7340e1-003b-4c3f-b9e0-a5754a158575
[D 23:43:02.166 NotebookApp] Using contents: services/contents
[W 23:43:02.168 NotebookApp] 404 GET /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels?session_id=758db712c18141d9834514e6851c6050 (<IP_ADDRESS>) 39007.610000ms referer=None
[W 23:43:02.169 NotebookApp] 404 GET /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels?session_id=758db712c18141d9834514e6851c6050 (<IP_ADDRESS>): Kernel does not exist: 8c7340e1-003b-4c3f-b9e0-a5754a158575
[D 23:43:02.169 NotebookApp] Using contents: services/contents
[W 23:43:02.170 NotebookApp] 404 GET /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels?session_id=758db712c18141d9834514e6851c6050 (<IP_ADDRESS>) 16973.120000ms referer=None
[D 23:43:06.182 NotebookApp] Initializing websocket connection /api/kernels/8c7340e1-003b-4c3f-b9e0-a5754a158575/channels
[W 23:43:06.185 NotebookApp] Replacing stale connection: 8c7340e1-003b-4c3f-b9e0-a5754a158575:758db712c18141d9834514e6851c6050

That sounds like the kernelspec might be invalid. At least stack overflow is pointing to unicode problems that might cause that subprocess error.
Can you try deleting this kernel directory (it was created by VS code)
/home/ubuntu/.local/share/jupyter/kernels/python38264bit58e42c9575d24eb58f427896571571af
And then trying again?

Can you try deleting this kernel directory (it was created by VS code)
/home/ubuntu/.local/share/jupyter/kernels/python38264bit58e42c9575d24eb58f427896571571af
And then trying again?

I deleted that Kernel.
I had to set a new kernel after opening jupyter notebook.
I am sharing both my terminal and browser issue.

Did you start and stop jupyter after deleting that kernel?
That looks like it's trying to attach to the existing kernel.

Did you start and stop jupyter after deleting that kernel?
That looks like it's trying to attach to the existing kernel.

Yes. I restarted the kernel.
It showed like "Start without kerne" or "Set up a new kernel"
Then I set up a new kernel.

Sorry I meant kill jupyter itself. Not just the old kernel. Restart jupyter notebook

Sorry I meant kill jupyter itself. Not just the old kernel. Restart jupyter notebook

Sorry. I meant that.
After deleting, I restarted the Jupyter from Terminal

And what does the terminal output show? Does it give you a 404 error?

Hopefully if you're getting an error from jupyter it's giving you something more than just a 404.
I am facing this issue from yesterday.
Even if I clone the same repository from my github, it throws same problem.
So, what could be the notebook's internal issue?
Also, I noticed that, I am facing the same problem for each notebook in that directory even after creating new notebook.
My settings.json is

{
    "files.associations": {
        "deque": "cpp",
        "string": "cpp",
        "vector": "cpp"
    },
    "python.pythonPath": "/usr/bin/python3"
}

And another notebook is running well, that has only

{
    "python.pythonPath": "/usr/bin/python3"
}

So, I found a solution.
If I run from different window of vscode and not being in the directory of the notebook, it runs smoothly.
So, Kernel is failing when I run being at the same directory in a window.
And the problem is in the directory for all .ipynb and also .py file I recently noticed.

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.


Search Feature Not Working when just one column is Number

Bug Description:
When only one column is set to type Number the Search Function stops working.
To Reproduce:

Change any column to the Number Type
Use the Search Feature
Search will not work

Expected behavior:
Show the  rows that end up having the term being searched
Video:
https://user-images.githubusercontent.com/14169134/184977406-7784adf9-8550-4963-b757-cbb37d60886d.mp4
Desktop (please complete the following information):

OS: Pop OS
Version: 22.04

If you have any further questions please let me know
I wish you a great day

this is an already fixed bug but not published yet. The problem was about the filter. Cast all the cell to lowercase and some files did not supported it.
I will mark this as wont fix until 2.2.0 is published

https://github.com/RafaelGB/obsidian-db-folder/issues/260


Test suite for Miden SDK (tx_kernel API) ABI transformation

Goal
The goal is to test both the ABI transformation strategies implemented in the frontend and the Rust bindings written for every Miden SDK tx-kernel API function in the miden-tx-kernel crate (see get_inputs for example).
Implementation details
We can generate the tx_kernel API function stubs in the IR that will assert certain facts about the inputs and return mocked data, and then run the compiled code in the Miden VM. This approach has a drawback that it would not be able to use property-based testing, since the inputs and outputs are hard-coded in the stubs.
### Tasks
- [x] MASM compilation is passing
- [ ] https://github.com/0xPolygonMiden/compiler/issues/223
- [x] MASM assembly is passing
- [x] Generate Rust code to test the values received from the `tx_kernel::get_inputs` call
- [ ] https://github.com/0xPolygonMiden/compiler/issues/225
- [ ] https://github.com/0xPolygonMiden/compiler/issues/230

Closed via #284


timezones do not work in InfluxDB 2 on Windows

Steps to reproduce:

run Flux query with location, eg.

import "array"
import "timezone"

array.from(rows:[
    {_time: 2022-03-12T00:00:00Z, _value: 10},
    {_time: 2022-03-12T06:00:00Z, _value: 20},
    {_time: 2022-03-12T12:00:00Z, _value: 30},
    {_time: 2022-03-12T18:00:00Z, _value: 40}
])
  |> aggregateWindow(every: 1d, fn:mean, location: timezone.location(name: "America/Los_Angeles"))

Expected behavior:
Data are returned.
Actual behavior:
Error error calling function "location" @10:52-10:98: unknown time zone America/Los_Angeles occurs.
Environment info:

System info: Windows 7
InfluxDB version: InfluxDB 2.1.1 (git: 657e1839de) build_date: 2021-11-09T03:03:48Z

Workaround is to download zoneinfo.zip from Go repo and set ZONEINFO env var. Discussed at https://community.influxdata.com/t/error-while-defining-location-parameter-for-aggregatewindow/24433.

Thank you @alespour for putting this in the issues.

Still an issue with InfluxDB 2.4.0

Still an issue with InfluxDB 2.7.1

Having the same problem and this is a critical issue. The none existent support is unacceptable.

Same in v2.7.6 with timezone "Europe/Berlin" :(


cppcheck is complaining about generated code

Describe the bug
...
[/home/travis/build/IBM/gWhisper/build/tests/testServer/examples.pb.h:3245]: (style) Condition 'GetArenaNoVirtual()==NULL' is always true
[/home/travis/build/IBM/gWhisper/build/tests/testServer/examples.pb.h:3277]: (style) Condition 'message_arena==NULL' is always true
[/home/travis/build/IBM/gWhisper/build/tests/testServer/examples.pb.h:3299]: (style) Condition 'GetArenaNoVirtual()==NULL' is always true
...

To Reproduce
trigger a travis build
Expected behavior
Generated code not checked (at least not generated code from protoc or other third-party code generators).

Suppressing all code inside the build/ directory. That's the output as of today:
$ cppcheck --enable=warning,style,performance,portability,unusedFunct...
[.../gWhisper/src/libArgParse/GrammarElement.hpp:129]: (style) Consid...
[.../gWhisper/src/libArgParse/Alternation.hpp:103]: (style) Consider ...
[.../gWhisper/src/libCli/MessageParsing.cpp:272]: (style) Consider us...
[.../gWhisper/tests/testServer/ServiceComplexTypeRpcs.cpp:84]: (style...
The command "cppcheck --enable=warning,style,performance,portability,...


IntelliJ: Flutter "closing tags" show up on non-Flutter projects

This is with the latest dev SDK.
Dart Plugin v173.3942.31
IntelliJ IDEA 2017.3.3 (Ultimate Edition)
Build #IU-173.4301.25, built on January 15, 2018

You can disable it in

(last option)

This is not specifically a flutter feature; it will show closing labels for when there are nested, multi-line constructor calls, flutter code or no. It just tends to e most valuable in large flutter build() methods.
We have made tweaks to the heuristic for when to show labels in order to make them less noisy; feel free to file issues if you think they're showing up in more places than they should. Closing this as intended behavior.
@jwren


[Quick Tour - CREATE A CLIENT FOR CALCULATOR SERVICE] syntax error in the documentation

Description:
In the documentation, code of the calculator client section in the quick tour contains a syntax error

var response = clientEndpoint->post("/calculator/operation", request = req);

Suggested Labels:
Type/Docs
Affected Product Version:
Ballerina Version - 0.975.1
Resolve:
Replace above syntax as follows

var response = clientEndpoint->post("/calculator/operation", req);

Already fixed in https://ballerina.io/community-program/index.html


config/markdown.php not created

I have install it in laravel 5.3 but it's not working even config/markdown.php not created ....
Is there any solution ??

Have you pulled in the latest version? (0.3.0)
I've noticed that in the documentation I'm still referring to 0.1.* but during that version Laravel 5.3 wasn't out yet. I will update the documentation shortly.


Support Angular 12

Will there be an Angular 12 compatible release?
Or is the project dead 💀?

Will there be an Angular 12 compatible release? Or is the project dead 💀?

Hi @travist : Could you please update on this question because we are also interested in Angular 12/13.

form IO angular material still not supporting the latest package of Angular ??? Is any one updating this library to support the latest angular package.

Dependency package like formio/angular is update to support the latest build of angular but material package still not updated.

Getting the below error -
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @angular/common@undefined
npm ERR! node_modules/@angular/common
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from<EMAIL_ADDRESS>npm ERR! node_modules/@formio/angular
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@formio/angular-material
npm ERR!     @formio/angular-material@"*" from the root project


expose solution chat flow: give more explanation of what is going to be created

one thing we could improve when we expose a solution is explain a bit what is happening
I had to pay some tokens while the gateway are free now so I was a bit surprised.
I understand it is because of the tcprouter container but we probably could explain this during the chat flow.

The overview before the payment will now look like this :

verified

jsx version

root@bishoy_testnet:/sandbox/code/github/threefoldtech/jumpscaleX_threebot# git log -1
commit a7a61bb6b949c89890a8a531740c229a71ff3304 (HEAD -> development, origin/development, origin/HEAD)
Merge: 3feaef0f b0950ac0
Author: Reem Khamis<EMAIL_ADDRESS>Date:   Mon May 18 14:11:50 2020 +0200

    Merge pull request #706 from threefoldtech/development_validatePackageTomlContent

    validate package toml config


Add a mnist example that runs a flax model on TFLite using jax2tf.

Add a mnist example that runs a flax model on TFLite using jax2tf.
This example is based on the TensorFlow Lite demo of building a handwritten digit classifier app with TensorFlow Lite. The model code is taken from FLAX Linen Mnist Example.

@qiuminxu This is so awesome, thank you.
I have some experience in writing/editing TF/JAX/Python stuff for docs, so I'm sharing some suggestions, in case you're interested. LMKWYT 👍

Your edits look all great!! Thanks a lot for the detailed edits!

Your edits look all great!! Thanks a lot for the detailed edits!

No worries and thank you for thinking they're OK @qiuminxu Appreciate it, I was jus trying to help 👍

Your edits look all great!! Thanks a lot for the detailed edits!

No worries and thank you for thinking they're OK @qiuminxu Appreciate it, I was just trying to help 👍

Thanks again, I've updated the upticks.

I think that it easy to miss my latest comment above, about reusing code in mnist_lib.py
I was talking about jax2tf/examples/mnist_lib.py. There is no point in replicating all the code for mnist and its training.

I think that it easy to miss my latest comment above, about reusing code in mnist_lib.py
I was talking about jax2tf/examples/mnist_lib.py. There is no point in replicating all the code for mnist and its training.

I see, that makes sense. I will update the file soon.

@googlebot I consent.

I think that it easy to miss my latest comment above, about reusing code in mnist_lib.py
I was talking about jax2tf/examples/mnist_lib.py. There is no point in replicating all the code for mnist and its training.

Done, updated the demo to reuse the jax2tf/examples/mnist_lib.py. But it would require avg_pool support in non-XLA path. Also sent out a PR#5161 to add it.


frontend' failed to build

This is the error tht i receive. Any thoughts on this guys?
Could not find a version that satisfies the requirement setuptools (from versions: )
No matching distribution found for setuptools
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c pip install -U setuptools' returned a non-zero code: 1

figured out the issue. I missed a few steps

GOT this same error. What did you do to fix it?

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Msx1eu/lxml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-6fahGL-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Msx1eu/lxml/
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c pip install --no-cache-dir lxml==3.4.4' returned a non-zero code: 1


_getMovieOutput() causing crash when orientation is changed specifically on iPhone6 and iPhone 6s

The error only occurs on iPhone6 and 6s and happens kind of randomly, after an initial crash for a user it will most likely not happen again.
see thread below
Fatal Exception: NSInvalidArgumentException
*** -[AVCaptureSession addOutput:] An AVCaptureOutput instance may not be added to more than one session
0  CoreFoundation                 0x1c8088ec4 __exceptionPreprocess
1  libobjc.A.dylib                0x1c7259a40 objc_exception_throw
2  AVFoundation                   0x1ce18151c -[AVCaptureSession addOutput:]
3  CameraManager                  0x1015a9ad4 specialized CameraManager._getMovieOutput() (CameraManager.swift:1162)
4  CameraManager                  0x1015a1dd4 CameraManager._orientationChanged() (CameraManager.swift:1193)
5  CameraManager                  0x1015b0f20 partial apply for closure 1 in CameraManager._startFollowingDeviceOrientation() ()

Please let me know if you have a way to reproduce it. Thanks.

The best way to reproduce is to reinstall the app go to your camera view, turn to horizontal and start recording -- still I am unable to reproduce every time.
I've actually now seen the crash on more than just the iPhone 6/6s but it definitely happens more frequently the older the device.

a great way to replicate this is

run app from xcode
open camera in app
press play on xcode again and repeat steps 1 and 2
do this a few times and then press record

Terminating app due to uncaught exception 'NSGenericException', reason: '*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration’

just a shot in the dark here but maybe committing configuration takes too long (which would explain why this problem is more likely to occur on the older devices)
could we fix it synchronously calling this block?
DispatchQueue.main.sync {
captureSession.beginConfiguration()
captureSession.addOutput(movieOutput!)
captureSession.commitConfiguration()
}

Any update on this? +1

Should be fixed in the latest version. If the issue persists, please feel free to open a new issue.


FieldControl #ReadOnly not working?

Is it a bug that the FieldControl annotation is not working?
<EMAIL_ADDRESS>: #ReadOnly
As a workaround you can define multiple services and set the entities to @readonly, as shown here with film-service, planet-service, starship-service etc..
What is your experience with the FieldControl annotation?

I also could not get the FieldControl annotation to work in Fiori. Could be a bug. Ultimately though I felt the approach with @readonly at the entity level was a better option anyway. It enforced control not only at the UI level but within the service consumption as well.

I also could not get the FieldControl annotation to work in Fiori. Could be a bug. Ultimately though I felt the approach with @readonly at the entity level was a better option anyway. It enforced control not only at the UI level but within the service consumption as well.

Hi @jung-thomas
Thanks for your response. I agree, for this example @readonly is indeed the better option. Although there might be a situation where FieldControl would be the better choice.
It seems that the FieldControl annotation has some problems<EMAIL_ADDRESS>: #Mandatory is not working too..
Ben

Hi @jung-thomas
Thanks for your response. I agree, for this example @readonly is indeed the better option. Although there might be a situation where FieldControl would be the better choice.
It seems that the FieldControl annotation has some problems<EMAIL_ADDRESS>: #Mandatory is not working too..
Ben


HTML5 Validator Warnings for JavaScripts Script Type Attribute - Old ClientDependency Module

Hi!
It seems DNN includes an old version of the ClientDependency module (<IP_ADDRESS>) that is causing a warning if validating pages for HTML5, for example using this tool: https://validator.w3.org
The warnings look like this one for example:
Warning: The type attribute is unnecessary for JavaScript resources.
From line 9, column 456; to line 9, column 555
lesheet"/>

I think fixing these kind of HTML5 errors would be very helpful, as now the HTML issues caused by a custom skin or modules are buried in a pile of DNN warnings in the console. It makes "debugging" difficult at times.

So this would mean that
https://github.com/dnnsoftware/ClientDependency
and
https://github.com/Shazwazza/ClientDependency/releases/tag/v1.9.10
Would have to be merged, right?

BTW, it also looks like the original repo now supports @import statements, which is also an issue of the current DNN implementation AFAIK

DNN 9.10.1 includes Dnn.ClientDependency 1.9.10, which includes the latest changes from https://github.com/Shazwazza/ClientDependency

@bdukes I didn't know that.. thanks for letting me know.

So the next step would be to set htmlCompatibility="HTML5" depending on the DocTyp of the Theme..

Do we need this to be dependency on the doctype of the theme? The simple solution would be to add htmlCompatibility="HTML5" to the web.config by default and be done with it.

@bdukes that would be fine with me but I guess @valadas does not agree?

I have no strong opinion on that, we just need test it does not break anything. I think this would only be browser console warnings/erros but I am not sure what could possibly happen with older webforms controls. Just needs good testing is what I am saying...

As a reference for others:
<clientDependency version="0" fileDependencyExtensions=".js,.css" htmlCompatibility="HTML5">
In web.config


setDescription() on JPEG file is ignored when file has an EXIF description

Even though the description is set, it is ignored if JPG file has field Exif.Image.ImageDescription of metadata set.
In this case the file description will be the EXIF description.
How can I avoid that?
Environment details

OS: Linux
PHP version: 7.1.33
Package name and version: latest

Steps to reproduce

Run code below on a JPEG file which has the Exif.Image.ImageDescription field set

Code example
        $file = new Google_Service_Drive_DriveFile();
        $file->setName($givenname);
        $file->setDescription($description);
        $file->setParents(array($folderid));
        $result = $this->_Gservice->files->create($file, array('data' => file_get_contents($filename),
                                                               'mimeType' => 'application/octet-stream',
                                                               'uploadType' => 'multipart'));
        (...)
        $optParams = array(
          'pageSize' => 1, // one file returned per call
          'orderBy' => 'createdTime desc',
          'fields' => 'nextPageToken, files(id, name, size, md5Checksum, description, parents)'
        );
        $results = $this->_Gservice->files->listFiles($optParams);
        $allfiles = $results->getFiles();
        $file = reset($allfiles); // get first element of array
        $descriptiongdrive = $file->getdescription(); // description is NOT the one which was set!

I've verified the behavior you're reporting. While I know it's less than ideal, I have found that subsequent updates to the file allow you to set the description as desired. For instance, if you use the following after the sample code you provided:
$this->_Gservice->files->update(
	$file->getId(),
	new Google_Service_Drive_DriveFile(['description' => $description])
);

Of course you may also find it better to strip the EXIF description from the image prior to uploading.
Unfortunately that's about as far as we can go here. This repository isn't monitored by the API team and it's intended for help with issues specific to the client library. I suggest opening a report in the public issue tracker (since I believe there's an argument that the current behavior may be incorrect), or on Stackoverflow. Both those forums are monitored by the API team, who will be better equipped to provide more information or to update the API.


Add Loop::isRunning()

Amp\Promise\wait() now fails if called within a running event loop, which has always been a mistake anyway.

Tested with amphp/parallel. All tests except one using wait() within an AsyncTestCase test pass.

One approach was Loop::execute() setting the running flag to its previous value here.

I was never thrilled with the current behavior, it seems unintuitive. Maybe we should change it: #309.

I'm not sure whether we should emit a warning or throw an exception.

If we go with this approach, I'd lean toward throwing the exception.

Closing in favor of #311.


Fix a typo in usage/certificate docs

Get rid of a double quote from the issue-temporary-certificate annotation key.

/assign @JoshVanL

/approve

/remove-approve

/approve


unrecognized arguments: --openrouter-api-key

Issue
I have aider 0.63.2. I'm entering
openrouter-api-key: sk-or-...

into my .aider.conf.yml
This happens when I start the app.
aider: error: unrecognized arguments: --openrouter-api-key=sk-or-...

anthropic-api-key is next to it and it works correctly, it's only openrouter which isn't. I think the yml parsing might have been missed for openrouter?
it works with .env file
Version and model info
aider 0.63.2

Thanks for trying aider and filing this issue. This doc may be helpful:
https://aider.chat/docs/config/dotenv.html#storing-llm-keys

anthropic and openai works like that. openrouter does not.

It's not stale, please fix it.

As the docs say, only openai and anthropic have command line args for keys. Keys for all other providers are set via environment variables.

But why is there a differentiation? Of course cli args make no sense for keys, but why no support in the config file?
I like to be able to start aider in any project folder on my computer, without having to set up anything. Global config works perfectly for this, except for the need to specify openrouter api key in local .env file.
So now I have to pollute my project folders with .env files all containing the openrouter key.
It'd be really great if the config file would support all providers identically.

You can just put a .env file in your home dir?


Properly handle WinRM listeners

Handle properly WinRM listener

update http urlacl
update http sslcert

Allow listener transport to be a string

+1, seems fine to me. Maybe document the location of WINRM_APPID and WINRM_SDDL.


Add task for running command on Azure VMs without admin credentials

The PowerShell on Target Machines task requires admin credentials and WinRM.  It would be a lot more convenient for Azure VMs if you added support for using run-command (removing the need for admin credentials and WinRM).

@gregjhogan, we do support Azure PowerShell and Azure CLI commands for Azure VMs. With  Deployment Groups you can run the scripts locally without having to remote.
PowerShell on target is generic WinRM tasks that can be used for on-premises VMs as well. At this moment no plans to add Azure VM dependencies to it.

Yes, I know there are a number of different ways to run commands on Azure VMs, but I think it would be a lot simpler if you had a dedicated task.  No need for deployment group (and PAT to manage) and no need to write a wrapper script just to call the ARM runCommand API.

Just so that I understand the request correctly, are you suggesting a dedicated task for Azure VMs to run scripts remotely?
PAT for deployment groups is only for registering/in-registering the agent. Once the hand-shake is made the agents use it's own encrypted token to communicate. You don't have to maintain the PAT.

The design is up to you (a dedicated task would work for me).  The run command API is the simplest way to  run powershell on a VM (since you already had to have a RM credential to create the VM), so I thought it would be logical to have a task that can do it considering you already have tasks for running commands over WinRM.


update to react 0.14

Hello react 0.14 is out, so may be can bump the version up with the new react?

See https://github.com/christianalfoni/formsy-react/commit/2be44f1b3248b4c0e2e504d807ac64835ddfb5f7 .

Oh, sorry, haven't noticed


Working for sidebar only

This extension are only working for sidebar and not for editor area.
OS: Windows 7
Brackets v1.1.0

Can you provide a screenshot?


Keep original image dimensions

How to keep original image dimensions instead stretching it through cells? Why top-left position isn't enough when inserting image?

#702


ability to insert row

[ ] Add /db/table/-/dux-insert.
[ ] It will render the insert-row template.
[ ] You must have the insert-row permission.
[ ] Link to it on the database page.
[ ] We'll have to mimic the template variables that the edit row page would have.

Hmm. I tried adding a new route at /db/table/-/dux-insert. It seems kinda fiddly - if I want to re-use the row template, I need to make sure I have the right context object.
Then I'll still need to invoke the render_cell / edit_control hooks myself.
I think I might try this from a different, more disgusting angle: respond on /db/table/dux-insert.
We'll monkey patch Datasette.resolve_row to return a candidate row.


Rewrite (round #1) gem, new structure, working config, better tests

Completely new structure with almost all the functionality. Added the
'Customer' API.
Only left out:

'stripe_connection_charge'
tests that use a magic customer or payment source ID
bank charge type 'bsb' is failing with 'unknown error'

Just put "round #2" in for error handling and functionality for the customer and subscription API


How should we ship and deploy static assets?

Some services, namely auth-server and addon-self-administration, are using static assets like HTML templates, CSS files, JavaScript files and translations in form of resource bundles. These assets have to be

shipped with the fat JAR
somehow extracted from the fat JAR and deployed on the host, if the operator wants to change them in order to customize OSIAM (must work with all major operating systems)

Shipping seems trivial, we just put them somewhere in the JAR (maybe not at the classpath root), but part 2. does not. There are some good examples available, e.g. Jenkins and Gerrit, that solved this problem in their own unique way. I must confess, that I currently have no idea how to do it, so I cannot make a suggestion at this time. But I think everybody should look at some examples and get inspired by them. Then we can discuss some potential ideas here.

And some additional question: What about the configuration file? There must be a way to ship at least an example, that an op can then extract and change to their needs.

I think we should have a look at the different use cases:

java -jar *.jar: Just for trying without the request to change the assets and/or config files. This should start an embedded database (auth- and resource-server) or mail server (addons-*).
java -jar *.jar --init: Copies the assets and/or config files to /var/lib/osiam/app like they shipped with the JAR and start the app like in 1. described. The copied files are now available to adjust them to their needs.
java -jar *.jar --generate: This could be showing something like a generator in form of questions how the app should be configured (JHipster is doing this, have look here (picture) or in this video tutorial. The assets and/or config files would be generated based on the answers and copied to some folder, maybe var/lib/osiam/app. I'm not sure if this is really a valid use case, maybe this is too much work and in the end nobody is using it.
java -jar *.jar --osiam.config.location=/var/lib/osiam/app: This is more or less the production use case. Maybe the app will be started with the generated assets and/or config files like described in 3. or with copied ones from docs or from 2..

And an additional question: What about the configuration file? There must be a way to ship at least an example, that an op can then extract and change to their needs.

The example config file is the one which is shipped with the JAR and maybe extracted from the JAR and should be referenced in docs.

I would be very much opposed to a compulsory interactive session for asset and configuration deployment. That would make OSIAM very hard to automatically deploy and manage. My preference would be your third suggestion. the default behavior could be that we look for a configuration file in the CWD and if there is none copy one there before start-up.

I would be very much opposed to a compulsory interactive session

I agree. But I think @dacrome was not talking about a compulsory interactive session, but rather an optional one. But still I think that it is not worth the time and effort to build and maintain the code for doing that. To this day, I don't really like the interactive project creation in maven, for example.

look for a configuration file in the CWD and if there is none copy one there before start-up.

That sounds very UNIXy. I like that. I am not sure if I would prefer CWD, or more something like ~/.config/osiam, as most UNIX programs do.
What matters to me: We need sensible defaults. In that regard, I liked how Elasticsearch felt the first time I used it. Unzip. java -jar. curl. There you go. The feeling of accomplishment in round about 30 seconds.
Whether we write that sensible defaults into an default configuration file (if none is present), or we do not and just let the user override whatever she wants to change feels indifferent to me. I guess I tend towards the first.

Please note that there was already a discussion about my second question here: https://github.com/osiam/addon-self-administration/issues/122

Alright, I've created a proof of concept for this. You can find it here: https://github.com/tkrille/osiam-osiam/tree/cli-init-assets. It's highly inspired by the way Jenkins and Gerrit do it.
The branch contains multiple changes:

Switch to YAML config.
This has already been merged into upstream.

Add notion of OSIAM_HOME, an arbitrary folder in the file system that contains the static assets and the configuration.
This is currently being prepared for a PR. You can set OSIAM's home directory via an environment variable (OSIAM_HOME=/some/path), system property (-Dosiam.home=/some/path), command line argument (--osiam.home=/some/path), JNDI attribute, or entry in the inlined JSON document contained in SPRING_APPLICATION_JSON (See https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html for more details on the last two ones). The home directory will default to $HOME/.osiam if not specified.

Initialize OSIAM_HOME at startup
Assets are contained in the classpath (WEB-INF/classes/home). They will be searched for at runtime and then copied to OSIAM_HOME. If OSIAM_HOME contains any files or folders, extraction will not happen. If the home dir does not exist, it will be created. Otherwise the home dir will be checked for some preconditions and startup will fail, if they are not satisfied.

Refactor (Spring) configuration
This is just a supportive change for the next one. I've moved everything from org.osiam.Osiam to distinct configuration classes.

Initialize OSIAM_HOME without actually starting OSIAM
OSIAM can initialize itself when you start it with java -jar initHome without actually starting as a service. This is only supported with standalone usage, not usage in a Servlet container. The arguments are parsed in the main method with a dumbass, self-written method. If initHome is the first "sub-command", the Spring Boot Application will be configured with a special configuration class. This special class sets up the application context with just the components needed to initialize the home dir. The initialization will be the same as described in 3.

So, questions, comments or suggestions anyone?

Additional info for point 3.:
The mentioned "assets" also contain a working default configuration file. Using some Spring Boot foo, the default configuration will always be loaded from classpath, but overridden with the one supplied in OSIAM_HOME. This makes it possible to start OSIAM without a working config in place and copy the default config during startup. On the next start the values from the config file in OSIAM_HOME will override the ones defined in the default config.

This feature is completely merged into master, so closing it. The question seems to be answered :)


Have it remember your position on back press

Description
Hello, just first like to say, great job on the app, it's pretty polished so far!
Is it possible to have the app remember what poster you were on before you pressed it? Like if you select a movie, and press back, currently it jumps your cursor over to the side menu instead of remember what movie you pressed.
Reproduction steps
go to any movie, select it, then press back, it hops your selector over to the side menu
App version
v1.3.0 (Latest)
Operating system
shield android tv
Logs
No response
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] If related to a provider, I have checked the site and it works, but not the app.

I was planning to fix this for so long! ^^
I will look into it soon!

Awesome, thanks!

Any headway on this one mate? @stantanasi

It's more complicated than it seems.
I tried some things but it doesn't seem to work 🫤
I still want to implement this feature but it could take some time before it's done.

It's more complicated than it seems. I tried some things but it doesn't seem to work 🫤
I still want to implement this feature but it could take some time before it's done.

Ahh ok that's fair, thank you :)

Useful links for me to easily access them later:
Saving Scroll Positions of Nested RecyclerViews
Restoring scroll position of nested RecyclerViews

Yay you did it :D. Excited to see this new update. Great job man!

Available on Release 1.4.0

Doesn't seem to work properly on search.
Recreate:
Search "Harry Potter" scroll down and select a Harry Potter movie, now press back, you focus will jump to the search bar, it should go to that movie you were just looking at

@stantanasi and not sure how easy this is to fix but this would also be nice for next release! :D. No worries if its too much work for the next release.

I don't really know how to fix this yet, so it will not be available on the next release, but I look into it

Copy that, thanks