Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.base not found

Hello,
I am new to JavaFx and I am using it in Intellij IDEA along with JDK 11 and JavaFx 13 .
Iam getting the following error
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found
VM Options: --module-path ${PATH_TO_FX} --addmodules=javafx.controls,javafx.fxml,javafx.base
Default auto-generated code from intellij IDEA
Main.java
package sample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
    Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
    primaryStage.setTitle("Hello World");
    primaryStage.setScene(new Scene(root, 300, 275));
    primaryStage.show();
}

public static void main(String[] args) {
    launch(args);
}

}
Controller.java
package sample;
public class Controller {
}

Fxml file

sampleFXML.txt

Hello,
I'm having the same problem. Tried everything with jdk 11, 12 and the javafx versions; Even tho i'm setting the Run Configurations and library and everything, it just doesn't seem to be able to run an application properly.
Also it's not some setting problem on intellij, i also properly installed eclipse and didn't work there either.
If you find any solution for the problem i would be glad to hear it.

This StackOverflow post might help.

I'm closing this issue due to lack of details or a way to reproduce it. Feel free to open it again with the required information.

i guess you added the javafx.base in the VM options when it wasn't existing in the file where your javafx version is installed .

go check if it's installed or not , if it isn't download it and the drag drop it in there

Did anyone ever figure this out? Still lost. Same issues after following constant tutorials.

Yes. I'm getting the same error.

This is a closed issue, but it can be opened again, if anyone provides more details on how to reproduce it.
@jesusCDev. @imrsk please provide exact details of how you are trying: IDE, OS, Java/JavaFX versions, type of sample (modular/non-modular, IDE, maven or gradle), how do you set the VM options, the Java Command line, and the exception you get,

oops. It's a really silly mistake. My apologies, @jperedadnr . And @jesusCDev , if you are using linux, remove the $ before the path and keep your VM options like
--module-path /home/local/Downloads/openjfx-11.0.2_linux-x64_bin-sdk/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml

Thank you! This worked perfectly!

Hi @leelakarthik Please edit and remove the "$" before the {PATH} from your initial comment https://github.com/openjfx/openjfx-docs/issues/91#issue-425520709

I'm still having this same issue (mine complains about javafx.controls), but the issue is the same.  I followed: https://openjfx.io/openjfx-docs/#install-javafx for NetBeans with the non-module instructions.
I'm on Windows 10, NetBeans 11.1 and using JDK and JavaFX 13.
When it finally gets to the --module-path and --add-modules arguments instructions, I follow those and get the error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
C:\Users\jpbau\AppData\Local\NetBeans\Cache\11.1\executor-snippets\run.xml:111: The following error occurred while executing this line:
C:\Users\jpbau\AppData\Local\NetBeans\Cache\11.1\executor-snippets\run.xml:68: Java returned: 1

Any updates on this?

profjpbaugh, in the VM options in this line :
--module-path "\path\to\javafx-sdk-12\lib" --add-modules javafx.controls,javafx.fxml
did you changed the path "\path\to\javafx-sdk-12\lib" to your local path where javafx sdk exist?

Hello,
please note under NetBeans, it is extremely important to turn off the 'Compile on Save' options under the Project Properties -> Build -> Compiling.
If it is switched on an error message appears:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found

Hi @Smurfi,
This fixed my problem that I've been working on for several days! I'm not sure why this little piece isn't in any of the tutorials I looked at on how to set up javaFX for netbeans, but it absolutely wouldn't run without it. Thanks so much!

Wow!
Hello @Smurfi
Thank you so much for the tip. I have been having the same issue as others here and I have been looking around for a solution for the past day. Unchecking that option completely fixed it and I can now run my JavaFX code in Netbeans.
I really appreciate it. This entire time I thought I was missing something in the tutorials I checked out.

@Lodisy12 @brandonjblank  Hi, I can't find the setting :(

@trondag
Are you using netbeans or something else? You right click the project and go to properties, then to build in netbeans.

Just make sure that your path in module path is correct.. Copy path from libraries in project structure.For me it worked

@Lodisy12
Is there a similar setting in Intellij that could be causing me issues like this?  I am at a loss and don't know what do do about this problem.

Hi @DaveAvid,
I don't use IntelliJ personally, so I haven't done any troubleshooting for myself. Have you followed the step by step tutorial from https://openjfx.io/openjfx-docs/#IDE-Intellij ?
That would be my first suggestion if you haven't. If you have, my other suggestion would be to give NetBeans a chance. I know a lot of people who hate it, and a lot of people who love it, but I think it's pretty good.

Hi @Smurfi,
I turned off the compile on save option like you said, but i'm still getting the same error occured ... module javafx.controls not found message. Do you know why this could be? I followed the tutorial for a non modular project: https://openjfx.io/openjfx-docs/#maven

What helped me: set VM Options and Project Properties > Compile > Modulepath > + > just added all jar files from the javafx-sdk/lib folder. And you could leave Compile and Save checked

oops. It's a really silly mistake. My apologies, @jperedadnr . And @jesusCDev , if you are using linux, remove the $ before the path and keep your VM options like
--module-path /home/local/Downloads/openjfx-11.0.2_linux-x64_bin-sdk/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml
I followed leelakarthik's comment above and added $ by mistake.

this works Thanks

Hi
please make sure when you set vm options that you change module path to your JDK lib path and delete the extra 2 " if you copying from windows 10.

For Windows, check also in PATH_TO_FX (by example C:\Program Files\Java\javafx-sdk-11.0.2\lib) if there is an unzipped folder \src.
After installation (java fx sdk) I have noticed that by default in the \lib folder there is a src.zip file.
I had to manually unzipped it and remove the src.zip file afterwards.

Note (Linux UBUNTU): Make sure you don't add the src.zip file, as it will cause an exception when running the project. (By Adding Library)

VM options for windows
Modular:
--module-path path\to\Javafx\lib;mods\production

Non-modular:
--module-path "\path\to\Javafx\lib" --add-modules javafx.controls,javafx.fxml

I had this issue on Ubuntu 19.10 and I solved it using the full path such like /home/marcus/app/javafx-sdk-11.0.2 instead of what I had before ~/app/javafx-sdk-11.0.2
And I also added the module javafx.base to it and it now works.

@thomasthrelkeld gave the right answer for me: stop trying to use the Windows environment variable %PATH_TO_FX% in the VM options and use the full path to the lib folder.

@Smurfi  comments resolved my issue. Thanks a lot.

Hello,
please note under NetBeans, it is extremely important to turn off the 'Compile on Save' options under the Project Properties -> Build -> Compiling.
If it is switched on an error message appears:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found

@Smurfi  comments helped me to resolve the issue by turning off the Compile on Save' options  option

What helped me: set VM Options and Project Properties > Compile > Modulepath > + > just added all jar files from the javafx-sdk/lib folder. And you could leave Compile and Save checked

worked for me! thanks

Cam Anyone help...???
public class Hellow {
public static void main(String[] args) {
	System.out.println("Hello World");

}

}
error
Error occurred during initialization of boot layer
java.lang.module.FindException: Module Helloworld not found

for MAC users it would be something similar to:
--module-path /Users/nelson/Desktop/javafx-sdk-13/lib --add-modules=javafx.controls
OR
--module-path /path/to/javafx-sdk-15.0.1/lib --add-modules javafx.controls,javafx.fxml
how to know your path? After following the video , u need to go to Preferences -> type "User Libraries" -> click on JavaFX u will find the path of your file. for example, my path is /Users/maanalshamari/Desktop/javafx-sdk-15.0.1/lib
so the arguments will be
--module-path /Users/maanalshamari/Desktop/javafx-sdk-15.0.1/lib  --add-modules javafx.controls,javafx.fxml

@maan202 what happend if JavaFX dosn`t show up when i type "user libraries"?

Hi @Smurfi,
This fixed my problem that I've been working on for several days! I'm not sure why this little piece isn't in any of the tutorials I looked at on how to set up javaFX for netbeans, but it absolutely wouldn't run without it. Thanks so much!

"Compile on Save (requires nb-javac plugin)"
I installed the nb-javac plugin after getting a notification in the status bar of NetBeans, saying:
"Install nb-javac Library"
So I guess after installation of that plugin, the "Compile on Save" option was activated, and then I got this error message when trying to run the project:
"Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found"
Thank you so much, Smurfi!

** If you are having this error on Eclipse**
"Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found"
Remove the JavaFX SDK library from the build path of the project!!

@NathanPaceydev I am still facing the issue. Do I need to turn on the "Compile on Save" in Eclipse as well? If yes, where can I find it?

Guys I figured it out! Delete the src.zip file when u get the error:
`Error occurred during initialization of boot layer
java.lang.module.FindException: Module format not recognized: C:(PATH_TO_FX)\lib\src.zip
Process finished with exit code 1`
Then it works!!

@NathanPaceydev I am still facing the issue. Do I need to turn on the "Compile on Save" in Eclipse as well? If yes, where can I find it?

You do not need to turn on Compile and Save. Make sure you have the correct VM arguments and you have downloaded the correct SDK library to run JavaFx. Hope that helps.

In eclipse go to build path in the project folder > configure build path > click modulepath > add external JARS > select all jar files in javafx lib folder

In eclipse go to build path in the project folder > configure build path > click modulepath > add external JARS > select all jar files in javafx lib folder

Until now !!! this method work perfectly !!! X) X) X) X) X)

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: F:\CHEET_SHEET\out\production\CHEET_SHEET
Caused by: java.lang.module.InvalidModuleDescriptorException: Comparison.class found in top-level directory (unnamed package not allowed in module)
CAN ANYONE TELL ME WHAT TO DO?

** If you are having this error on Eclipse** "Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found"
Remove the JavaFX SDK library from the build path of the project!!

Thank you this solved my issse

** If you are having this error on Eclipse** "Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found"
Remove the JavaFX SDK library from the build path of the project!!

Thanks a lot, that hit the spot. I was almost going crazy. Works on Eclipse 2021-03, Open JDK 16 on Ubuntu 21.10! great stuff!

Glad I could help, this problem was driving me crazy too!!

I am using eclipse IDE
Error: Could not find or load main class javafx.fxml
Caused by: java.lang.ClassNotFoundException: javafx.fxml
I was getting the javafx.controls issue like everyone else but I have done all the above and am now getting this error message

I am using eclipse IDE
Error: Could not find or load main class javafx.fxml Caused by: java.lang.ClassNotFoundException: javafx.fxml
I was getting the javafx.controls issue like everyone else but I have done all the above and am now getting this error message

I have same problem with my Eclipse. I dont  know to do with this. Please Help me!!!!

you need to put copy the javafx files from your computer to eclipse and
make a user library then add this library to the build path of your project
On Thu, May 12, 2022 at 8:20 AM raymondlondonollanos <
@.***> wrote:

I am using eclipse IDE
Error: Could not find or load main class javafx.fxml Caused by:
java.lang.ClassNotFoundException: javafx.fxml
I was getting the javafx.controls issue like everyone else but I have done
all the above and am now getting this error message
I have same problem with my Eclipse. I dont know to do with this. Please
Help me!!!!
—
Reply to this email directly, view it on GitHub
https://github.com/openjfx/openjfx-docs/issues/91#issuecomment-1124923249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWPQQNUDMDSMBVMORCEYVCLVJTZRJANCNFSM4HBPR3YA
.
You are receiving this because you commented.Message ID:
@.***>

In eclipse go to build path in the project folder > configure build path > click modulepath > add external JARS > select all jar files in javafx lib folder

Until now !!! this method work perfectly !!! X) X) X) X) X)

omg thank you so much
mine finally work!!
ECLIPSE vesion 2022-03 (4.23.0) JavaFX18 Windows 10

anybody could make it work on intellij? i keep getting this error message: "Error: Could not find or load main class javafx.fxml
Caused by: java.lang.ClassNotFoundException: javafx.fxml", even tho i included javafx.controls and javafa.fxml on VM options.

could you elaborate more? im having trouble doing the same process on intellij

you need to put copy the javafx files from your computer to eclipse and make a user library then add this library to the build path of your project
…
On Thu, May 12, 2022 at 8:20 AM raymondlondonollanos < @.> wrote: I am using eclipse IDE Error: Could not find or load main class javafx.fxml Caused by: java.lang.ClassNotFoundException: javafx.fxml I was getting the javafx.controls issue like everyone else but I have done all the above and am now getting this error message I have same problem with my Eclipse. I dont know to do with this. Please Help me!!!! — Reply to this email directly, view it on GitHub <#91 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPQQNUDMDSMBVMORCEYVCLVJTZRJANCNFSM4HBPR3YA . You are receiving this because you commented.Message ID: @.>

could you elaborate more? im having trouble doing the same process on intellij

I find that version 1.8 could be able to run on eclipse and each of the java projects might have a deviation between the java project category.

if you use IntelliJ , you must delete module-info.java in src/main/java, i did and it works

Okay so I narrowed it down and got it to run.
Verified on: Intellij IDEA on M1 Macbook pro
Hypothesis:
The javafx helloworld tutorial incorrectly gives us the following VM options for "Linux/Mac" found here : https://openjfx.io/openjfx-docs/#maven. This is missing the equals "=" operator.

Incorrect Copy/Paste Line "--module-path /path/to/javafx-sdk-19/lib --add-modules javafx.controls,javafx.fxml"

Fix:

Run > Edit Configurations > Select "Application" configuration > Under Build and Run > Select "modify options" > Under "java" Select "add VM Options

VM Options, you will need to customize this to your local machine :

--module-path=/Users/USERNAMEHERE/FOLDERWITHSDK/java-sdk-19/lib --add-modules=javafx.controls,javafx.fxml

This is the correct format for MAC formatting to the VM Options.

One more possible solution. If you use Gluon Gradle plugin and java module system and seems that everything is right, look at your automatically created build.gradle file:
application {
  //mainModule = 'net.snatchlab.photoframe'
  mainClass = 'net.snatchlab.photoframe.PhotoFrameApplication'
}
mainClassName = 'net.snatchlab.photoframe.PhotoFrameApplication'

It's important to remove/comment specifying 'mainModule' in the 'application' section. Maybe the whole 'application' section is not needed, didn't try to remove it yet.
Commenting 'mainModule' solved the issue without specifying VM options.

** If you are having this error on Eclipse** "Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found"
Remove the JavaFX SDK library from the build path of the project!!

How can I remove JavaFX SDK library from the build path of the project? I am having the same error on Eclipse.

In eclipse go to build path in the project folder > configure build path > click modulepath > add external JARS > select all jar files in javafx lib folder

Until now !!! this method work perfectly !!! X) X) X) X) X)

thanks, this worked for me!

In eclipse go to build path in the project folder > configure build path > click modulepath > add external JARS > select all jar files in javafx lib folder

Until now !!! this method work perfectly !!! X) X) X) X) X)

omg thank you so much mine finally work!! ECLIPSE vesion 2022-03 (4.23.0) JavaFX18 Windows 10

Alternatively, you can select JavaFX SDK under Modulepath and click on Remove icon on the right side and it will work without adding those external JARS. I have tried it and this also worked for me.

thanks everyone

Hello,
Im having the same issue as some of you in MAC, I get this error: Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found
Im trying to set it up in intellij, I have used. the recommended path:
--module-path=/Users/USERNAMEHERE/FOLDERWITHSDK/java-sdk-19/lib --add-modules=javafx.controls,javafx.fxml
This is what im using:
--module-path=/Users/NAME/Desktop/javafx-sdk-20.0.2/lib/
--add modules=javafx.controls,javafx.fxml,javafx.graphics,javafx.base
Also, added the library as instrusted. I tried using the version of  javafx SDK x64 and arch64 from Gluon and it doesn't work.
Not sure what else I could do. I would appreciate any help.
Regards.

Okay so I narrowed it down and got it to run.
Verified on: Intellij IDEA on M1 Macbook pro
Hypothesis:
The javafx helloworld tutorial incorrectly gives us the following VM options for "Linux/Mac" found here : https://openjfx.io/openjfx-docs/#maven. This is missing the equals "=" operator.

Incorrect Copy/Paste Line "--module-path /path/to/javafx-sdk-19/lib --add-modules javafx.controls,javafx.fxml"

Fix:

Run > Edit Configurations > Select "Application" configuration > Under Build and Run > Select "modify options" > Under "java" Select "add VM Options
VM Options, you will need to customize this to your local machine :

--module-path=/Users/USERNAMEHERE/FOLDERWITHSDK/java-sdk-19/lib --add-modules=javafx.controls,javafx.fxml

This is the correct format for MAC formatting to the VM Options.

@orctupus this was the most usefull comment thank you

in Netbeans

if you use IntelliJ , you must delete module-info.java in src/main/java, i did and it works, this file is automatically generated when you create javafx project

It perfectly worked for me. Thanks a lot.

Who can help me please! It still reported the same error now. I've tried the methods you gave but it doesn't work. I use Eclipse 2024-06 version. And I downloaded the javafx-sdk-21.0.5 version. I've already finished the "add path" and "VM arguments" steps. But it still showed that:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found


Reject lifetimed struct

Show better error message for https://github.com/yutannihilation/savvy/issues/281
error: #[savvy] macro doesn't support lifetime
  --> tests/cases/simple_cases.rs:54:12
   |
54 | struct Foo<'a>(External::Bar<'a>);
   |            ^^

Note: I'm not sure how type parameters should be treated. It might be allowed, but then it should complicate the code a bit (e.g., can I use Foo<T> for a class name for R?). I'm wondering if it's worth, considering the main scope of savvy is to support simple cases.


Hovering

Hello, sorry for the title first of all.
Couldn't find to way to hover especially for the bar chart.


soc: arm: stm32l4: wakeup from stop clock selection based on sysclk

When exiting Stop mode, if system clock is MSI , MSI oscillator is
selected as wakeup from stop clock; otherwise HSI16 oscillator is
selected.
Signed-off-by: Giancarlo Stasi<EMAIL_ADDRESS>

@giansta do you plan to continue this PR ?

@giansta do you plan to continue this PR ?

Our system is running with this modification, we'd like to have it integrated.

For stm32wb soc serie which has a PM (soc/arm/st_stm32/stm32wb/power.c )
this change should also apply

For stm32wb soc serie which has a PM (soc/arm/st_stm32/stm32wb/power.c )
this change should also apply

@galak , @carlescufi BK filaure is due to QEMU. Otherwise, ready to merge

@galak , @carlescufi BK filaure is due to QEMU. Otherwise, ready to merge

It seems like merging is blocked because of a qemu test failed for missing disk space.

It seems like merging is blocked because of a qemu test failed for missing disk space.

@giansta can you rebase and see if CI problem is getting fixed ?

@giansta can you rebase and see if CI problem is getting fixed ?


Avoid duplicate paths in coverage.json on Windows when using include-all-sources

Currently on Windows two different paths are stored on the coverage object when using include-all-sources. The coverage data from the test run is stored using the normalized path, since it is put through path.join. The coverage data from addUncoveredFiles uses the unnormalized paths returned by grunt.file.expand.
This means on Windows every instrumented file that is executed by a test has an extra entry in the coverage file from addUncoveredFiles.
Normalizing the paths at the very start seems like an easy way to make everything consistent.

thanks for your work. and I release this patch.


Add FlagSet::getField constexpr annotation

In the backdeploy library, ActiveTaskStatus takes JobFlags::getPriority() in the constexpr constructor; however, JobFlags::getPriority() isn't constexpr, so this is bad.
rdar://84050655

@swift-ci please test

Admittedly, the rules around constexpr confuse me. I can't tell if this entirely qualifies for constexpr or not.
The constructor is constexpr, but setFlag is not and can mutate the state of Bits.

@swift-ci please test Windows


Fix typo in documentation

Fix typo in documentation.
Description
This corrects RecordEpisodicStatistics to RecordEpisodeStatistics in the documentation.
Type of change
Please delete options that are not relevant.

[ x] Documentation only change (no code changed)

Checklist:

[x] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

For reference
https://github.com/Farama-Foundation/Gymnasium/blob/ac1e7444cb9e5ddbfb4fc56e76710ecfd3a1c786/gymnasium/wrappers/common.py#L437


How to leverage NPU on edge device?

Hi, I am building some app on an edge device that could utilize mediapipe's model.  I am able to run the model on CPU/GPU successfully.  however, the chip has it's own NPU and a quantized model can run 2-10x faster than use CPU only.  The vendor has provided model conversion tools and SDK , after the conversion/quantization, the model loading and input/output need to go through their C APIs.
What do I need to do to enable the usage of NPU's API ?
Thanks

Try editing the inference calculator options in the graph, and specify the delegate you want: delegate { nnapi {} }
 node {
   calculator: "TfLiteInferenceCalculator"
   input_stream: "TENSORS:image_tensors"
   output_stream: "TENSORS:result_tensors"
   options {
     [mediapipe.TfliteInferenceCalculatorOptions.ext] {
       model_path: "model.tflite"
       delegate { nnapi {} }
     }
   }
 }

Note: The input/output tensors should be on the CPU when using nnapi delegate

closing due to lack of activity

thanks! how do I make sure input/output tensor to be on CPU?
I am getting the following error which seems to be related
03-17 17:13:08.315  4899  4926 E native  : E20210317 17:13:08.315152  4926 graph.cc:407] Input stream "output_video" of calculator "egl_surface_sink_output_video" expects packets of type "mediapipe::GpuBuffer" but the connected output stream will contain packets of type "mediapipe::ImageFrame"
03-17 17:13:08.317  4899  4926 D GlThread: Stopping GL thread ExternalTextureConverter
--------- beginning of crash
03-17 17:13:08.317  4899  4926 E AndroidRuntime: FATAL EXCEPTION: ExternalTextureConverter
03-17 17:13:08.317  4899  4926 E AndroidRuntime: Process: com.google.mediapipe.apps.posetrackingcpu, PID: 4899
03-17 17:13:08.317  4899  4926 E AndroidRuntime: com.google.mediapipe.framework.MediaPipeException: unknown: Input stream "output_video" of calculator "egl_surface_sink_output_video" expects packets of type "mediapipe::GpuBuffer" but the connected output stream will contain packets of type "mediapipe::ImageFrame"
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.framework.Graph.nativeStartRunningGraph(Native Method)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.framework.Graph.startRunningGraph(Graph.java:289)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.FrameProcessor.startGraph(FrameProcessor.java:537)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.FrameProcessor.maybeAcceptNewFrame(FrameProcessor.java:409)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.FrameProcessor.onNewFrame(FrameProcessor.java:427)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.renderNext(ExternalTextureConverter.java:364)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.lambda$onFrameAvailable$0$ExternalTextureConverter$RenderThread(ExternalTextureConverter.java:309)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.components.ExternalTextureConverter$RenderThread$$Lambda$0.run(Unknown Source:4)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
03-17 17:13:08.317  4899  4926 E AndroidRuntime: 	at com.google.mediapipe.glutil.GlThread.run(GlThread.java:141)
03-17 17:13:08.320  3709  4078 W ActivityManager:   Force finishing activity com.google.mediapipe.apps.posetrackingcpu/.MainActivity

Try using a calculator to convert to gpu, such as ImageFrameToGpuBuffer

thanks, is there a way to get result pose directly without rendering ?

great to know. thanks! if I don't need the output video at all, can I just comment out output_stream: "output_video" at https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/graphs/pose_tracking/pose_tracking_gpu.pbtxt#L7 ?

yes you can, but i don't remember if the runner app expects output frames or not, so you would have to take care of that too.
either way, it would be better to skip the rendering as well, rather than just ignore the rendered stream (otherwise you spend cycles on throw away images)

cool, suppose I drop the rendering, do I need a surfaceview for handle input video? sound's like I don't, but I am not sure why onPreviewDisplaySurfaceChanged() is called in previewDisplayView's call back. the holder object itself is not used in onPreviewDisplaySurfaceChanged
https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/MainActivity.java#L222

@mcclanahoochie I was able to remove the output video and get result in the place as you suggested. Thanks!
however, if there is no landmarks detected, then the callback is not invoked.  is there a way to let the callback called with an empty result?

i see, there are a couple of options:

https://github.com/google/mediapipe/issues/1747#issuecomment-810976877
you can register a callback with the graph via ObserveOutputStream . instead of polling, this would call the provided callback function on each output . i don't think it would block, it just shouldn't get called if no output (...i haven't verified this but it may be worth a try)

this seems related  https://github.com/google/mediapipe/issues/1747#issuecomment-810976877
i don't think there is an easy way for that, the callback was designed to only be called when there are landmarks to process
you can try editing the graphs (and/or calculators, in)
mediapipe/modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt
mediapipe/modules/pose_landmark/pose_landmark_gpu.pbtxt
in particular look at how the GateCalculator(s) are used.
unfortunately i don't have a quick solution for you

thanks, that's very helpful. I'll give a try

is there a way to add another dummy output that will always be called when the process finish? so I can know the frame process is finished?

Please open another ticket specific to further questions. These have been unrelated to the original question about NPU. Thanks

Hello,
What do I need to do to enable the use of NPU inference through the Python API?
Thank you in advance.


Clarify tagging purpose

It seems to be still unclear when and for what purpose an icon should be used. I'm about to open a new PR updating the pull_request_template.md file.
Currently, we have the following icons with a clear description

:face_with_head_bandage: indicates that the project is in beta phase
:heavy_dollar_sign: indicates if one needs a paying subscription to use the project

for the following icon, I added a description

:skull: indicates that the project is obsolete, but still worth mentioning it

following icons need more clarification

:nerd_face: indicates ...
:sunglasses: indicates ...
:desktop_computer: indicates ...

@devhkr It's true.

:nerd_face: indicates that the project is meant to be used in a terminal, it's a CLI
:sunglasses: indicates that the project is meant to be used in a web browser. it's a web app. (although the sunglasses are really misleading, any better solutions)
:desktop_computer: indicates that the link is a website (not a github project) and it's probably closed source

All of the above can be changed according to use cases. It was just an idea that it would be a bit more joyful to use emojis on the list. You are totally right, if they don't make sense or if they are misleading, they are out!

@devhkr @veggiemonk Isn't the vast majority of the list CLI? Would it not be better to use them as the exception e.g. a CLI for a native web interface or a Web UI for a native CLI interface?
For web we could use 🌎  o
For CLI we could use 🔤  or 🔡  or ⬛  or ⌨
For closed source: 🔑  or 🔒 or 🗝

For web/link: 🔗
For CLI: 🤖

I would remove the tag for CLI and for web based.... I see already in the PR it's a mess... They don't really add any value since it should be clear in the description what kind of tool it is.

@veggiemonk totally agree with you. And I would like to emphasize my comment on tagging. We really should stick to the minimum/essentials where we can definitively put some tags.

Beside
:face_with_head_bandage: indicates that the project is in beta phase
:heavy_dollar_sign: indicates if one needs a paying subscription to use the project
:skull: indicates that the project is obsolete, but still worth mentioning it
I'm in favour to add the closed source indication by @Moshe-Immerman
:lock: indicates that the project sources are closed
--
So :face_with_head_bandage: :heavy_dollar_sign: :lock: might be possible :smile:

It can also happen that a project is work in progress and a 🤕 seems to be the wrong symbol. How about using 🔨 ? It has two meanings, working and fixing. So, it can be used both as a symbol for WIP projects as well as beta projects.

@devhkr that's a good point :face_with_head_bandage: might be misleading. Beside of :hammer: there is :hammer_and_wrench: or :construction: ...

Nice, I would prefer 🚧 or 🔨.

@agebhar1 @gesellix
I also had other symbols in mind. But 🔨 looks simple, compared to 🛠 . Like with 💀 and ☠ .
In addition, 🚧 could only mean work in progress. However, a 🔨 could mean both building and fixing.

:thinking: ... that's right, but if we support 'fixing' we should be able to track open tasks/bugs. What did you think?

Ah, I wasn't clear about my previous comment. My point is that if a project is released under beta, there'll be certain bugs to be fixed. So, that's why a 🔨.
What do you mean by tracking open tasks/bugs? We can check the repo by its description. Once a project is released as a stable version, we can remove the symbol then.
Alternatively, we can use 🚧 for work in progress and 🔨 for beta projects. But as I said before, we should stick to the minimum as possible.

I would also aim at reducing the amount of different symbols. I personally prefer 🚧, mostly due to its resemblance of old websites being "under construction". That would also include "WIP" as well as "Beta". I wouldn't oppose the 🔨, though, it also suggests something like "WIP" to me.

👍  for 🚧

Beta and WIP are roughly the same.. no need to differentiate them as far as I'm concerned

So these two should not change and we will be kept:
:heavy_dollar_sign: indicates if one needs a paying subscription to use the project
:skull: indicates that the project is obsolete, but still worth mentioning it
Vote by :+1: or :-1:

:face_with_head_bandage: indicates that the project is in beta phase
:lock: indicates that the project sources are closed

:face_with_head_bandage: Beta/WIP should be replaced by
:hammer: indicates that the project is in beta phase
Vote by :+1:

I suggest to add closed source
:lock: indicates that the project sources are closed
Vote by :+1: or :-1:

We already have a :heavy_dollar_sign: for commercial tools which are considered as closed source projects. And as @veggiemonk also suggested that :desktop_computer: icon is for websites (not a GitHub project page) which are probably considered as closed source projects as well. We don't need the :lock: icon then. What do you think?

Ok, you convinced me that we should use :construction: tag for WIP/Beta projects :smile:
But still not convinced by the closed source one.
Can you name me please an example which project(s) could have such a tag?

Good point @devhkr the symbol :lock: is the same as in web browser if https is used with a valid certificate. Slack use the symbol for private channels ... so maybe we skip 'closed source' for the moment.

I realized that lately. Sorry about that. Ok, we have then
💲  indicates if one needs a paying subscription to use the project
🚧  indicates that the project is in the work in progress/beta phase
💀  indicates that the project is obsolete, but still worth mentioning it
I'll open a new PR updating the 'README.md' and the 'pull_request_template.md'.
Thanks for your feedback guys and have a nice day 😃


e2e: Add timestamps to the test script

Every time we log a new step in the script, include a timestamp. This
should help with seeing how long each piece is taking within the
script.
This came up in discussion on #1111.
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

test e2e run here -- https://github.com/instructlab/instructlab/actions/runs/9013033848

lgtm
although when I mentioned it I was more thinking of line by line timestamps, I now see that line by line would be redundant as github provides it (in the results output page, click settings icon in the top right and then show timestamps)


[Coverity CID :186030] Error handling issues in /subsys/bluetooth/host/settings.c

Static code scan issues seen in File: /subsys/bluetooth/host/settings.c
Category: Error handling issues
Function: set
Component: Bluetooth
CID: 186030
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@jhedberg how about this one?

@jhedberg how about this one?

@nashif looks real enough. PR opened for it.


Diagnostic functionality doesn't work in the connector

Describe the bug
Currently, when using the connector with PowerBI Desktop, and when enabling the tracing abilities, there are no logs from the connectors in the diagnostic files.
To Reproduce
Steps to reproduce the behavior:

Follow the MS guide on enabling tracing
Open files - there are no logs from the connector

Expected behavior
See logs provided by the connector

We need to add to the documentation what we need to do to enable logging:
DriverLog=yes; DriverLogFile=C":\...

These options are ODBC related, and don't enable the logging of the connector itself.
In addition, these options are not available with MS distribution, as they forbid any file-system-based configurations.


issue #4: implement package from notebook code

#4

[x] llama index deployment design
[x] llamaindex_db package

I think we usually regroup the images inside a single folder. Other than that nice work!

Done.

It looks good to me, but if I recall correctly, graphs were supposed to be commented with the date of creation and the author. You can find more information on the 'Creating Diagrams' page on the wiki.

Will do. They are not yet added because this is still in progress.

nice diagrams and all. good work


Should all the line_item fields be integers or character data types?

We have some inconsistency right now.

I only see inconsistencies in the SMRY table. I pull the SoS data together in a slightly different way. I import the TSV files into tables with the right columns, but they are all blob columns. These are my "_cd" tables. I then create non-cd tables with the right data types and pull from the "_cd" tables.
Looking at the SMRY table, it really looks as though the line_item values in that table could be changed to integer values based on some interpretation of the other column values.
And, as the checks below show, all of the other tables that have a line_item column use it for integers only.
Hopefully this info will give someone ideas.
I ran these checks on my "_cd" tables, with data pulled from the SoS on 3/19/2015.
--------------
select count(*) from smry_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|  1102031 |
+----------+

--------------
select count(*) from smry_cd
--------------

+----------+
| count(*) |
+----------+
|  7527698 |
+----------+

--------------
select line_item, count(*) from smry_cd where line_item not rlike '^[0-9][0-9]*$' group by line_item order by line_item
--------------

+-----------+----------+
| line_item | count(*) |
+-----------+----------+
| 22A       |     9431 |
| 22B       |     4863 |
| 22C       |      345 |
| 22D       |      127 |
| 22E       |       72 |
| 22F       |       30 |
| 22G       |       15 |
| 22H       |       12 |
| 22I       |        9 |
| 22J       |        4 |
| 22K       |        4 |
| 22L       |        4 |
| 22M       |        2 |
| 22N       |        2 |
| 22O       |        2 |
| 22P       |        2 |
| 22Q       |        4 |
| 22R       |        7 |
| 22S       |        3 |
| 22T       |       16 |
| 22U       |       16 |
| 22V       |        8 |
| 22W       |        1 |
| 22X       |        1 |
| 22Y       |        2 |
| 22Z       |        1 |
| A         |   188864 |
| AB        |     1524 |
| ABCD      |   164079 |
| B         |   189088 |
| C         |   188866 |
| D         |   187565 |
| E         |   164077 |
| TOT       |      130 |
| b         |     1260 |
| d         |     1595 |
+-----------+----------+

--------------
select form_type, count(*) from smry_cd where line_item not rlike '^[0-9][0-9]*$' group by form_type order by form_type
--------------

+-----------+----------+
| form_type | count(*) |
+-----------+----------+
| B2        |     1817 |
| F460      |    14983 |
| F625      |    93052 |
| F635      |   984471 |
| F645      |     6096 |
| H2        |     1482 |
| S640      |      130 |
+-----------+----------+

--------------
select form_type, count(*) from smry_cd where line_item rlike '^[0-9][0-9]*$' group by form_type order by form_type
--------------

+-----------+----------+
| form_type | count(*) |
+-----------+----------+
| 401A      |     8850 |
| 401B      |     8644 |
| 401B-1    |      102 |
| A         |   286972 |
| B1        |   279635 |
| B2        |     9982 |
| B3        |     4142 |
| C         |   211355 |
| D         |   263975 |
| E         |   417549 |
| F         |   246921 |
| F401      |     6788 |
| F450      |    21643 |
| F460      |  2165208 |
| F461      |   103319 |
| F465      |    22474 |
| F625P2    |    23264 |
| F625P3A   |    68198 |
| F625P3B   |    22966 |
| F635P3A   |   319940 |
| F635P3B   |   162848 |
| F635P3C   |   160469 |
| F635P3D   |   468741 |
| F635P3E   |   156364 |
| F645P2A   |     1066 |
| F645P2B   |     4569 |
| F645P2C   |     1270 |
| F900      |       65 |
| G         |      951 |
| H         |   268785 |
| H1        |     5859 |
| H2        |     7812 |
| H3        |     4023 |
| I         |   291959 |
| S640      |   398959 |
+-----------+----------+

--------------
select count(*) from cvr2_campaign_disclosure_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.34 sec)

--------------
select count(*) from cvr2_campaign_disclosure_cd
--------------

+----------+
| count(*) |
+----------+
|    93189 |
+----------+
1 row in set (0.03 sec)

--------------
select count(*) from cvr2_lobby_disclosure_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.22 sec)

--------------
select count(*) from cvr2_lobby_disclosure_cd
--------------

+----------+
| count(*) |
+----------+
|    87347 |
+----------+
1 row in set (0.02 sec)

--------------
select count(*) from cvr2_registration_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.16 sec)

--------------
select count(*) from cvr2_registration_cd
--------------

+----------+
| count(*) |
+----------+
|    85368 |
+----------+
1 row in set (0.02 sec)

--------------
select count(*) from cvr2_so_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.11 sec)

--------------
select count(*) from cvr2_so_cd
--------------

+----------+
| count(*) |
+----------+
|    34315 |
+----------+
1 row in set (0.01 sec)

--------------
select count(*) from cvr3_verification_info_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.34 sec)

--------------
select count(*) from cvr3_verification_info_cd
--------------

+----------+
| count(*) |
+----------+
|   211633 |
+----------+
1 row in set (0.06 sec)

--------------
select count(*) from debt_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.83 sec)

--------------
select count(*) from debt_cd
--------------

+----------+
| count(*) |
+----------+
|   393911 |
+----------+
1 row in set (0.18 sec)

--------------
select count(*) from expn_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (11.50 sec)

--------------
select count(*) from expn_cd
--------------

+----------+
| count(*) |
+----------+
|  4581920 |
+----------+
1 row in set (2.53 sec)

--------------
select count(*) from f495p2_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.02 sec)

--------------
select count(*) from f495p2_cd
--------------

+----------+
| count(*) |
+----------+
|      893 |
+----------+
1 row in set (0.00 sec)

--------------
select count(*) from f690p2_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.08 sec)

--------------
select count(*) from f690p2_cd
--------------

+----------+
| count(*) |
+----------+
|    16886 |
+----------+
1 row in set (0.01 sec)

--------------
select count(*) from latt_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.17 sec)

--------------
select count(*) from latt_cd
--------------

+----------+
| count(*) |
+----------+
|    66745 |
+----------+
1 row in set (0.02 sec)

--------------
select count(*) from lccm_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.20 sec)

--------------
select count(*) from lccm_cd
--------------

+----------+
| count(*) |
+----------+
|    84636 |
+----------+
1 row in set (0.03 sec)

--------------
select count(*) from lemp_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.95 sec)

--------------
select count(*) from lemp_cd
--------------

+----------+
| count(*) |
+----------+
|   247023 |
+----------+
1 row in set (0.16 sec)

--------------
select count(*) from lexp_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.42 sec)

--------------
select count(*) from lexp_cd
--------------

+----------+
| count(*) |
+----------+
|   166624 |
+----------+
1 row in set (0.06 sec)

--------------
select count(*) from loan_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.21 sec)

--------------
select count(*) from loan_cd
--------------

+----------+
| count(*) |
+----------+
|    66151 |
+----------+
1 row in set (0.03 sec)

--------------
select count(*) from loth_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.10 sec)

--------------
select count(*) from loth_cd
--------------

+----------+
| count(*) |
+----------+
|    12588 |
+----------+
1 row in set (0.01 sec)

--------------
select count(*) from lpay_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (1.01 sec)

--------------
select count(*) from lpay_cd
--------------

+----------+
| count(*) |
+----------+
|   410988 |
+----------+
1 row in set (0.19 sec)

--------------
select count(*) from rcpt_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (23.15 sec)

--------------
select count(*) from rcpt_cd
--------------

+----------+
| count(*) |
+----------+
|  8766467 |
+----------+
1 row in set (5.68 sec)

--------------
select count(*) from s401_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.11 sec)

--------------
select count(*) from s401_cd
--------------

+----------+
| count(*) |
+----------+
|    40730 |
+----------+
1 row in set (0.01 sec)

--------------
select count(*) from s496_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.10 sec)

--------------
select count(*) from s496_cd
--------------

+----------+
| count(*) |
+----------+
|    34242 |
+----------+
1 row in set (0.01 sec)

--------------
select count(*) from s497_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (1.57 sec)

--------------
select count(*) from s497_cd
--------------

+----------+
| count(*) |
+----------+
|   563786 |
+----------+
1 row in set (0.30 sec)

--------------
select count(*) from s498_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.10 sec)

--------------
select count(*) from s498_cd
--------------

+----------+
| count(*) |
+----------+
|     9174 |
+----------+
1 row in set (0.00 sec)

--------------
select count(*) from splt_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (4.44 sec)

--------------
select count(*) from splt_cd
--------------

+----------+
| count(*) |
+----------+
|  3041362 |
+----------+
1 row in set (0.77 sec)

--------------
select count(*) from text_memo_cd where line_item not rlike '^[0-9][0-9]*$'
--------------

+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (3.23 sec)

--------------
select count(*) from text_memo_cd
--------------

+----------+
| count(*) |
+----------+
|  1453197 |
+----------+

Testing the actual data is a great approach, but we can also refer to the field type definitions in the state database documentation as well. I wonder if those are all consistently integers or not.

Yes, the CalAccessTablesWeb.pdf files lists all of the LINE_ITEM columns as "NUMBER(9)", except for the SMRY table, which has it as "VARCHAR2(8)".

Well sounds like we have our answer. I lean towards using their formal definitions wherever it isn't obviously wrong so that we can hew close to the spirit of keeping this "raw data" app virtually identical to the source.


metadata: Bump oasisscan API to v2

Are there any V2 API changes we need to be aware of?

@matevz afaik v2 has only one year of history. We use oasisscan's API only for:
oasis network governance show <proposal-id> --show-votes
I tested it with v2 and it still works.


Add Adobe Sign connector

Tests
Linter
Branch

GET
localhost:4444/api/rest/v6/users?pageSize=1

POST
localhost:4444/api/rest/v6/users

Pagination
Cursor based pagination

Next page

Closes #181

@RajatPawar thanks, my bad, have made the required workspace parameter true. Will you please take a look when you have a minute?

Closing this one as a duplicate


Reference "Content Type" for Azure Key Vault Secret

Can you please provide a method to reference the "Content Type" field of an Azure Keyvault Secret? This would be handy to reference as $(KVSecret).ContentType or a variable or some other method. The field and value is there in the UI, so I'm hoping there's some way to reference it.
We store the username in the "Content Type" field of the corresponding secret. For some reason Key Vault does not allow underscores in the "Name" field so we can't use the Name field as the username.
This would allow us to reference the username and secret as relative values rather than have the username in a normal Variable Group and the password in a Secret Variable Group.
The alternative is to allow underscores in the Name field of KeyVault and we wouldn't need to worry.

@BevanG Thanks for your suggestion. Please accept our apologies for the delay in getting to thiss issue. To make sure your idea gets in front of the right people, please submit your idea.


Bring multiple modules into REPL scope

Currently, if I use C-c C-l to get a REPL with a module in scope, and I go to another module and press that key combination, my previous scope is destroyed. It would be nice if there was a way to add to the scope like :m +. But I tried using :m + and it can only see what was compiled when I ran C-c C-l.

I'm afraid that's just how GHCi works. :(


Errors are not propagated correctly

When I accidentally misconfigure the config, the library does not propagate errors to the console, then as a developer, I don't know what to do and I'm frustrated.
How to reproduce
Configure the lib as usual and use the incorrect region.
Expected value in the console
Message about the wrong region.


Make motion submission date editable

needs https://github.com/OpenSlides/openslides-backend/issues/2112
Current behaviour:
currently the submission date is automatically created by the program
Wanted behaviour:

This submission date should be editable by participants with the permission motion.can_manage_meta_data.
The submission date needs the edit icon next to the string
if the submission date is being edited a date and time picker needs to open.

The backend issue needs to be resolved first.

Backend PR exists: https://github.com/OpenSlides/openslides-backend/pull/2194


[MM-46535] Fix E2E tests for reporting purposes

Summary
Some of the test cases in our E2E environment did not match the amount of steps in Zephyr Scale. I have corrected some of the tests in Zephyr Scale, and the rest I have modified here so that everything matches and reporting should now be correct.
Ticket Link
https://mattermost.atlassian.net/browse/MM-46535
NONE

Thank you Devin for matching between automated test and Zephyr! I can see such tests being recorded successfully in Zephyr except for 2 test cases, MM-T2827 and MM-T4385 with error logs:
Error: 36 MM-T2827 createTestExecution.testScriptResults[1].statusName: must not be null, createTestExecution.testScriptResults[0].statusName: must not be null, createTestExecution.testScriptResults[2].statusName: must not be null
Error: 0 MM-T4385 createTestExecution.testScriptResults[1].statusName: must not be null, createTestExecution.testScriptResults[3].statusName: must not be null, createTestExecution.testScriptResults[2].statusName: must not be null

Those tests are failing due to some issues with them/flakiness. I will address those in a follow-up PR.


Add support for Python 3.13

3.13.0 alpha just released, let's see how it goes supporting it already.

https://devguide.python.org/versions/
https://peps.python.org/pep-0719/
https://discuss.python.org/t/python-3-13-0-alpha-1/36109?u=hugovk

Almost, it's failing to build a coverage.py wheel on Windows:
  AssertionError: would build wheel with unsupported tag ('cp313', 'cpwin_amd64', 'win_amd64')

https://github.com/termcolor/termcolor/actions/runs/6552325853/job/17795396359?pr=55

This passes now https://github.com/pypa/wheel/pull/578 has been released in wheel 0.41.3:

https://github.com/pypa/wheel/releases/tag/0.41.3


Refactor login system to prepare for wagmi

Description
This is a first refactoring to update the client to wagmi as done here https://github.com/liteflow-labs/starter-kit/pull/124
This change to wagmi will be quite heavy so this is the first part to simplify in order to only focus on wagmi in another PR
How to test
Connect with all the wallet in all the different pages like the login page but also anywhere that open the login modal
Checklist

[x] Base branch of the PR is dev

Should we hold this PR until we do a release of the starter-kit? I would like to keep everything related to login and authentication updates out of this week's release.

Should we hold this PR until we do a release of the starter-kit? I would like to keep everything related to login and authentication updates out of this week's release.
Yes let's definitely not merge that now, this is a low priority and will go to the next release


Disable Snapshot

Taking a snapshot of the presenting view controller caused a layout bug when dismissing JTSImageViewController in landscape mode from a Stream. Removing the snapshot update fixes this issue. I'm not sure what problems this may introduce. @colinta / @rynbyjn what might I be missing?

@jaredsinclair my bad, this should not be on the main project. Meant to submit to our fork. Sorry!


Configurable Security Context

Please describe the problem you have
Contour and the certgen job do not run on OpenShift using the default security context:
securityContext:
  runAsNonRoot: true
  runAsUser: 65534
  runAsGroup: 65534

Failure status condition of deploy/contour:
  - lastTransitionTime: "2020-11-13T21:44:15Z"
    lastUpdateTime: "2020-11-13T21:44:15Z"
    message: 'pods "contour-5475898957-" is forbidden: unable to validate against
      any security context constraint: [spec.containers[0].securityContext.runAsUser:
      Invalid value: 65534: must be in the ranges: [1000590000,<PHONE_NUMBER>]]'
    reason: FailedCreate
    status: "True"
    type: ReplicaFailure

Either make securityContext configurable or introduce provider-specific extensions to Contour so this can be configured automatically.
/cc @jpeach @Miciah

I think in this case, that the securityContext of the Contour and Envoy pods should be configurable, maybe just with a single "userID" or similar setting.


[Benchmark] Speed on RTX 2070 - 100ms?

When checking the speed of my RTX 2070 card with this code:
        t1 = time.time()
        boxes, scores, classes, nums = yolo(img)
        t2 = time.time()
        print("Inference time on image: {} is {}".format(t2 - t1))

I'm getting 100-110ms speed per an image, on YoloV3 (416x416) images.
In the README file the creator of this repo(@zzh8829 ) has stated that he got with a worse graphics card ( GTX 970), speed of 74ms per an image.
Any ideas why this happens? Anyone had done benchmarking on detect.py and willing to share their results? Highly appreciated.

hi! I have been getting about 55ms on my RTX 2080. Which platform are you running on?

hi! I have been getting about 55ms on my RTX 2080 with 720p. Which platform are you running on?

@antongisli  Hi Anton,
I'm using Ubuntu 18.04, also tried with nvidia-docker.

Hi. I cant convert yolov3 weight to yolov3.tf. How to fix it please? My Pc is win 10 and GPU RTX2080ti.

Hi. I cant convert yolov3 weight to yolov3.tf. How to fix it please? My Pc is win 10 and GPU RTX2080ti. Only get yolov3.tf.index.

Hi, @smalldroid .
This isn't the thread for this, please open a new one.
Also, it did convert successfully. Your when are located in the folder checkpoints and are called yolov3.tf, use the detect.py to test that out.

detect.py is not optimized for inference speed. you should check how detect_video is implemented for faster performance

detect.py is not optimized for inference speed. you should check how detect_video is implemented for faster performance

Thank you.
The solution is using yolo.predict(img) instead of yolo(img).

thats great to know, the reason is predict and predict_on_batch create an optimized graph before inference where yolo(img) does not. i will update readme with your numbers.

i get like 150ms for yolov3 on an rtx 2080 even though i am using video-detect with predict_on_batch()
what could be the issue?


Interactive demo

Hi guys, following our discussion here https://github.com/kennethreitz/maya/issues/167, this PR adds a link to the DEMO Notebook running on https://notebooks.ai/.
** Note that the link won't work until this PR is merged, because it looks for a DEMO.ipynb file which is still not present in kennethreitz's repo. If you want to see how it will look like, you can take a look at it here
Anything here can be changed. Post your thoughts and we can iterate from there.

Is it possible to move the demo files into a separate directory instead of having them in the root of the project?

Hmm I think it's not, Timo. In order to keep it as simple as possible the notebooks.ai guys rely on some conventions and I guess the DEMO name and location is one of them.
Is that a big issue?

Is that a big issue?

Well, I just like things to be sorted - no big deal though.

Thanks 🎉


Parsing of ZWO file fails when ,  or  tag is missing

Example:
<workout_file>
  <name>No author</name>
  <description>Some description.</description>
  <sportType>bike</sportType>
  <workout>
    <IntervalsT Repeat="2" OnDuration="600" OnPower="0.8" OffDuration="600" OffPower="0.5">
      <textevent timeoffset="300" message="Intervals message 1"></textevent>
      <textevent timeoffset="900" message="Intervals message 2"></textevent>
    </IntervalsT>
  </workout>
</workout_file>

Result:
TypeError: t.elements[n] is undefined

I think it should succeed, given that the editor doesn't really need the info from these tags.

I agree. I can have a look at this. Thanks


#130341273 Added JWT authentication for login

What does this PR do?
This PR adds a feature where users are given a JWT(JSON web token) after a successful login.
Description of Task to be completed?
It completes the task for user login when the (/api/auth/login) endpoint is sent a POST method with the user's details.
How should this be manually tested?
To test the feature, install postman and try this API endpoint with a POST method http://localhost:PORT/api/auth/login
Add the following form fields

email
password

Success response
{
"success": true,
"message": "Successfully logged in"
"token":"eyJhbGciOiJIUzI1NiIsInR5porpwirwcCI6IkpXVCJ9.eyJfaWQiOiI1N2YyZjBhYTgxOTA5NTNmNTgwMDAwMDEiLCJpYXQiOjE0NzU1difroeirorkwoieMzkxMTQsImV4cCI6MTQ3NTU0OTE5NH0.rCJdm6tvHa9v1XX9o3JXlTnEna1mVToEmh5vPH0V-O0"
}

Background context
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA.
JSON Web Tokens consist of three parts separated by dots (.), which are:

Header
Payload
Signature

Pivotal tracker stories?
#130341273

We (the team) need to talk about password standards as it's a security issue that affects the whole project.

@andela-akolawole is there a reason why your branch naming does not follow the standard set in the wiki?

@andela-kakpobome this branch naming convention was used before the update to the wiki


Added Catalan translation

Pull Request Checklist

[ ] Description: Briefly describe the changes in this pull request.
[ ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description
[Insert a brief description of the changes made in this pull request]

Changelog Entry
Added

[List any new features or additions]

Fixed

[List any fixes or corrections]

Changed

[List any changes or updates]

Removed

[List any removed features or files]

Hi @granludo thanks for the PR!
For proper functionality please also edit the languages.json in 18n/locales

Thanks, just did.

LGTM, Thanks for the effort!


Fix Grunt Warnings

We're using Grunt to clean up the code and fix the inconsistent styling. We're taking this one step of warnings at a time to reduce the likelihood of a regression.

[x] semicolon warnings - Fixed with #132
[x] "defined but never used" - Fixed with #134
[x] "{x} is not defined" - Fixed with #137
[x] "Expected {x} and instead saw {y}" - Fixed with #138
[x] Everything else - Fixed with #149

Updated checklist

Last one was fixed with #149.


netdiscover tool doesn't work

Windows Build Number
Microsoft Windows [Version 10.0.19043.1151]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
4.4.0-19041
Distro Version
-bash: lsb_release: command not found
Other Software
No response
Repro Steps
$ git clone https://github.com/netdiscover-scanner/netdiscover.git
$ cd netdiscover
$ ./update-oui-database.sh (optional, to update the MAC addresses list)
$ ./autogen.sh
$ ./configure
$ make
$ make install
$ make distclean
$ sudo netdiscover
pcap_open_live(): eth1: socket: Address family not supported by protocol
Expected Behavior

Actual Behavior
pcap_open_live(): eth1: socket: Address family not supported by protoco
Diagnostic Logs
No response

what i saw: pcap_open_live(): eth1: socket: Address family not supported by protocol

Thanks for reporting this.
Given that WSL2 runs NATed, I wouldn't expect tools like these which appear to rely on ARP to discover machines to work.
Now pcap_open_live is interesting. I wonder which address family isn't supported here. Can you share an strace of that command so we can figure that out ?

Thanks for reporting this.
Given that WSL2 runs NATed, I wouldn't expect tools like these which appear to rely on ARP to discover machines to work.
Now pcap_open_live is interesting. I wonder which address family isn't supported here. Can you share an strace of that command so we can figure that out ?

didn't understand

You can find more info about ARP here. Basically WSL runs in its own 'network', and ARP requests can only be sent on the same network (they don't traverse routers).
Regarding the strace, you can find instructions on how to do that here (see '6) Strace of the failing command
')

4.4.0-19041

This kernel version indicates that you are using WSL1.

yes i got it when i run

4.4.0-19041

This kernel version indicates that you are using WSL1.

yes, I discover it when I run the command 'wsl --list --verbose' on an administration PowerShell.

My netdiscover works WSL but no machines found.


bug: Swiping in menu closes the menu

Type: bug
Ionic Version: 2.x
Platform: all
Steps to reproduce:

Create simple app with menu (on the left)
Open menu
ON MENU swipe from left to right. It will close the menu.
ON MENU swipe diagonally from left to right. It will close the menu.
Fin.

Did some research on this issue, it seems to be caused by the SlideEdgeGesture not actually detecting the direction of the slide, therefore closing the menu even if the slide gesture is not going in the "close" direction.

@lordgreg I am working right now in a PR to fix this, and it will include several additional improvements as well.


Token filters - stemmer [DOC]

What do you want to do?

[ ] Request a change to existing documentation
[x] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Create a separate page for Token filter: stemmer
Part of META issue: https://github.com/opensearch-project/documentation-website/issues/1483
*Version: all

@vagimeli I can take this one


otThreadSetMasterkey

The api call is given by:
ThreadError otThreadSetMasterKey(otInstance *aInstance, const uint8_t *aKey, uint8_t aKeyLength)

If this is called with a masterkey that is not 16 bytes in length, e.g.
uint8_t key = {0x5E, 0xA1, 0xED};
otThreadSetMasterKey(aInstance, const &key, 3);

The 16 byte masterkey buffer will look like
0x5E, 0xA1, 0xED, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF

because of the default masterkey that was used before. (One could consider clearing the buffer first)
The above results in the following

The actual masterkey used is: 0x5E, 0xA1, 0xED, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Getting the masterkey results in 0x5E, 0xA1, 0xED, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF with length 16

If another thread devices joins, it will get the entire 16 byte buffer as masterkey. Since Thread does not provide a mechanic to communicate the masterkey's length to the new device, the joiner router and the joiner will have a different master key.
There are two issues:

The length field does not seem to be taken into account consistently (code problem)
The length field cannot be communicated to a new joiner device (api flaw)

@thcu-gp, thanks for raising this issue.
The Thread Specification does not make a clear statement on possible lengths for the Network Master Key (or thrMasterKey).  That said, there are a number of areas which indicate that the length must be 16 bytes:

Section 7.1.4 Test Vectors all have a 16-byte thrMasterKey.
Section <IP_ADDRESS> indicates that the Network Master Key TLV Length is always set to 16.

What if we changed the API to always require passing a 16-byte value?

I would suggest removing the length field entirely and always use the 16 byte masterkey.
One could keep the length field in the api, but then it should be made clear that 16 - length 0x00 bytes are added to the masterkey (and still use the full 16 bytes internally)

How about reusing the otMasterKey type and, as such, forcing 16 byte length? From my experience it's often better to restrict the user to a certain requirement than to perform "under the hood" operation if the input is non conforming.

@GiedriusM, exactly what I was thinking as well, and also satisfies @thcu-gp's suggestion.

Submitted #1724.  Please review.


Need for a license

I read a really good article on this repository https://www.bellingcat.com/resources/2022/02/11/radar-interference-tracker-a-new-open-source-tool-to-locate-active-military-radar-systems/. It seemed to indicate that the code is open source, but when I got here there doesn't appear to be a license. For various legal issues, this can be a problem. Would it be possible to indicate in your repository the open source license this code is provided under? Github provides resources to help you select and apply a license.

@oballinger What do you think about the MIT License? This matches our other projects.

MIT License sounds good!


Add fr-FR missing translations

Hi, you don't need to update the files under public, those are generated. You need to change the file under the lang folder at the root. Thanks!


Implement Foreman Providers

[x] configuration provider / foreman provider

hostname / password / …

[x] managed_systems

has_one configuration_provider_id
has_one computer_system_id (vm_or_template_id / host_id)

[x] ui work

configuration provider
managed systems

[x] refresh logic

populate foreman host (with mac addresses) [link if it exists]
update refresh to link by “mac address”?
link foreman_host and vm_or_template / host_id

[x]  models to store foreman data

host groups
kickstarts
partitioning tables

[x] logic to fetch provider info / host groups / kickstarts
[x] ui: provision dialogs

[x] computer system

os and associations

[x] attribution for computer system and common attribtues

This feature has shipped


27 - Geomarks should be optional

Geomark link fields should not be required. Not everyone will have one. I think we should add text that says "If you provided feedback on viability or requirement for any of the following technologies, please upload a Geomark."

CLOSED


Error 500 when placing order and pay by omise

I don't know why this happening. I have got a complaint from a
the customer today about cannot use payment but Bank Transfer is working fine.
when user pay by omise module it will show 500 internal server error page
I have enabled debug mode it shows as in the picture
Do you have any idea what is causing this?

Thank you

Ok , This is cause by Prestashop database itself.


vs code keeps crashing

Upon saving changes in my code, VSCode repeatedly crashes (every five minutes, sometimes). The logs say it's not an npm issue.
I'm running vs Code on my MacBook Air with an M1 chip. I have 8GB of ram, but through the activity monitor, the ram doesn't spike before crashing, It stays at the same level
Including log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start:front' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart:front', 'start:front', 'poststart:front' ]
5 info lifecycle er-monorepo@0.0.1~prestart:front<EMAIL_ADDRESS>6 info lifecycle er-monorepo@0.0.1~start:front<EMAIL_ADDRESS>7 verbose lifecycle er-monorepo@0.0.1~start:front: unsafe-perm in lifecycle true
8 verbose lifecycle er-monorepo@0.0.1~start:front: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/tjasag/vyc-living-commerce-platform/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/opt/homebrew/bin:/opt/homebrew/sbin
9 verbose lifecycle er-monorepo@0.0.1~start:front: CWD: /Users/tjasag/vyc-living-commerce-platform
10 silly lifecycle er-monorepo@0.0.1~start:front: Args: [ '-c', 'ng serve frontend --hmr --host <IP_ADDRESS> --disable-host-check' ]
11 silly lifecycle er-monorepo@0.0.1~start:front: Returned: code: 1  signal: null
12 info lifecycle er-monorepo@0.0.1~start:front: Failed to exec start:front script
13 verbose stack Error<EMAIL_ADDRESS>start:front: ng serve frontend --hmr --host <IP_ADDRESS> --disable-host-check
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:375:28)
13 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:375:28)
13 verbose stack     at maybeClose (internal/child_process.js:1055:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/tjasag/vyc-living-commerce-platform
16 verbose Darwin 20.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start:front"
18 verbose node v14.17.1
19 verbose npm  v6.14.13
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>start:front: ng serve frontend --hmr --host <IP_ADDRESS> --disable-host-check
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start:front script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

/gifPlease


chore: updating tabs vs spaces

I don't know about anyone else but my eyes were going crossed to the point where I felt I needed to do this.

I'm sorry that you don't feel like our code is readable unless you do this, but unfortunately I'm not going to accept this. Our guidelines state 2 spaces per indent, and the change makes this example inconsistent with the rest of the examples.
Best regards.

Your IDE must me converting your spaces to indents. In GitHub it's mixing tabs and spaces in this file.


Clean Up Repo

Given this repo is now public and provided as training documentation to data providers and clients, we should clean it up and make sure the only information within are notebook examples applicable to the DMS.

[ ] Are all folders still necessary?
[ ] remove renv
[ ] the title "scripts_poc-data-api" should be updated to "scripts" or "notebook examples" - these examples have access via S3, not api at the moment
[ ] Re-organise to something that is easily understandable by people so they know exactly where to go for what. Having a project for all examples may not make the most sense moving forward?
[ ] leo to add pygeoapi access example into repo
[ ] In the extracting_spatial_data_GBR_Features.rmd there is a line saying "We can extract data from the AIMS Sea Surface Water Temperature dataset" but this does not apply to this example, only data is the GBR features from what i can see
[ ] Surely the useful_spatial_functions script can be put in the notebook for using gbr features to grab aims data (extracting_water_temperature_gbr_features.rmd) since that is what its used for? I'm unclear as to why it is separate?

I can't add @lidefi87 as an assignee - does Denisse have access to our github?

I just added myself. All folders are needed with the exception of the renv folders, which will be removed because it has caused some many issues. I will be working on this now and push changes when I am done

I just created a pull request #14 addressing some of the items in this list, but I am including some additional comments below:

[ ]  Are all folders still necessary?
The images folder contain an image used in one of the R examples.
All folders within the now named scripts folder are needed because they contain the necessary information to render the "GitHub friendly" markdowns properly (files ending in .md).
I am not sure about the RLS folder, the last commit for this folder came from Nick some time last year.
[ ]  remove renv
This has been done in my new pull request and replaced by the checking_libraries function.
[ ]  the title "scripts_poc-data-api" should be updated to "scripts" or "notebook examples" - these examples have access via S3, not api at the moment
This has been done in my new pull request.
[ ]  Re-organise to something that is easily understandable by people so they know exactly where to go for what. Having a project for all examples may not make the most sense moving forward?
Everything is documented in the README and it makes sense to me, but happy to change it to whatever option is considered more accessible to most people.
[ ]  In the extracting_spatial_data_GBR_Features.rmd there is a line saying "We can extract data from the AIMS Sea Surface Water Temperature dataset" but this does not apply to this example, only data is the GBR features from what i can see
This has been corrected in the new pull request
[ ]  Surely the useful_spatial_functions script can be put in the notebook for using gbr features to grab aims data (extracting_water_temperature_gbr_features.rmd) since that is what its used for? I'm unclear as to why it is separate?
This is a standalone script that users can call at any time. Its use is shown in just one script, but users can be call it in any notebook or any scripts they develop on their own.

The Python notebooks are still pending.

I just created a pull request #14 addressing some of the items in this list, but I am including some additional comments below:

Are all folders still necessary?

The images folder contain an image used in one of the R examples. All folders within the now named scripts folder are needed because they contain the necessary information to render the "GitHub friendly" markdowns properly (files ending in .md). I am not sure about the RLS folder, the last commit for this folder came from Nick some time last year.

remove renv

This has been done in my new pull request and replaced by the checking_libraries function.

the title "scripts_poc-data-api" should be updated to "scripts" or "notebook examples" - these examples have access via S3, not api at the moment

This has been done in my new pull request.

Re-organise to something that is easily understandable by people so they know exactly where to go for what. Having a project for all examples may not make the most sense moving forward?

Everything is documented in the README and it makes sense to me, but happy to change it to whatever option is considered more accessible to most people.

In the extracting_spatial_data_GBR_Features.rmd there is a line saying "We can extract data from the AIMS Sea Surface Water Temperature dataset" but this does not apply to this example, only data is the GBR features from what i can see

This has been corrected in the new pull request

Surely the useful_spatial_functions script can be put in the notebook for using gbr features to grab aims data (extracting_water_temperature_gbr_features.rmd) since that is what its used for? I'm unclear as to why it is separate?

This is a standalone script that users can call at any time. Its use is shown in just one script, but users can be call it in any notebook or any scripts they develop on their own.
The Python notebooks are still pending.

Amazing!! thank you :) let me know when it's ready to review and I can take a look if you'd like?

The RLS folder seems to be out of the place now. If not needed here, probably can move to https://github.com/aodn/rimrep-examples-private repo. Need to be confirmed by @diodon

The RLS folder contains an example use case built before we started developing our system, and as such it relies on access to external data. It's not necessary, but it could be nice to replicate this with our data once we have ingested everything we need. We already have the geometries, but this is using Real Life Survey fish abundance data from AODN: do you know if this is something that we are planning to ingest @michaelamiller12?
In any case I agree that we can move it to rimrep-examples-private for now.

The RLS folder contains an example use case built before we started developing our system, and as such it relies on access to external data. It's not necessary, but it could be nice to replicate this with our data once we have ingested everything we need. We already have the geometries, but this is using Real Life Survey fish abundance data from AODN: do you know if this is something that we are planning to ingest @michaelamiller12?
In any case I agree that we can move it to rimrep-examples-private for now.

I don't have anything in the system regarding reef life surveys from AODN, I don't think this is a dataset that's been identified by the audit at least. I think its best to move to rimrep-examples-private for now. i can do this today

all tasks have been completed


DBZ-4196 Document allow.schema.changes config option

Updating docs with the new config option
This is the follow-up to https://github.com/debezium/debezium/pull/2853

@kgalieva Applied, thanks!


Support micropython

This is my first crack at supporting micropython. Note that I haven't made any packaging changes, just rearranged things to make code run. I think it's a reasonable first step, but isn't useful yet without packaging.
The question is: do we want to do it this way? I chose to separate the two "optional" classes into their own file to give some separation, but that isn't necessary.
My eventual preference would be to split each module into its own separately-importable file: motors, sensors, LEDs, screen, sound, etc. That would both decrease load time (the interpreter doesn't need to parse a bunch of stuff that isn't used) and make it easier to navigate the file structure during development. However, I think these changes will be useful regardless of whether we decide to restructure or not.

Do you have timing tests from the actual EV3 for this?

Here are some timing tests, although I'm moderately suspicious of them:
robot@ev3dev:~$ python3 -m timeit 'import ev3dev.ev3 as ev3'
10 loops, best of 3: 365 usec per loop
robot@ev3dev:~$ micropython -m timeit 'import ev3dev.ev3 as ev3'
10 loops, best of 3: 242 usec per loop
robot@ev3dev:~$ python3 -m timeit 'import ev3dev.ev3 as ev3; m = ev3.Motor(); m.connected'
10 loops, best of 3: 7.35 msec per loop
robot@ev3dev:~$ micropython -m timeit 'import ev3dev.ev3 as ev3; m = ev3.Motor(); m.connected'
10 loops, best of 3: 15.8 msec per loop
robot@ev3dev:~$ micropython -m timeit 'import ev3dev.ev3 as ev3; m = ev3.Motor(); m.connected'
10 loops, best of 3: 16.2 msec per loop
robot@ev3dev:~$ python3 -m timeit 'import ev3dev.ev3 as ev3; m = ev3.Motor(); m.connected'
10 loops, best of 3: 7.38 msec per loop

Yes, I think python caches imports. Also, you are probably missing the time it takes to load the interpreter as well. May be something like
$ time python3 hello.py
$ time micropython hello.py

would be more representative. Here hello.py could be
import ev3dev.ev3 as ev3
m = ev3.Motor()
print(m.connected)

My eventual preference would be to split each module into its own separately-importable file: motors, sensors, LEDs, screen, sound, etc. That would both decrease load time (the interpreter doesn't need to parse a bunch of stuff that isn't used) and make it easier to navigate the file structure during development.

+1

Good procedure, @ddemidov!
robot@ev3dev:~$ cat hello.py
import ev3dev.ev3 as ev3
m = ev3.Motor()
print(m.connected)
robot@ev3dev:~$ time python3 hello.py
True

real    0m10.202s
user    0m6.420s
sys     0m0.530s
robot@ev3dev:~$ time python3 hello.py
True

real    0m10.112s
user    0m6.480s
sys     0m0.420s
robot@ev3dev:~$ time python3 hello.py
True

real    0m10.375s
user    0m6.610s
sys     0m0.350s
robot@ev3dev:~$ time micropython hello.py
True

real    0m3.740s
user    0m2.230s
sys     0m0.360s
robot@ev3dev:~$ time micropython hello.py
True

real    0m3.981s
user    0m2.270s
sys     0m0.400s
robot@ev3dev:~$ time micropython hello.py
True

real    0m3.782s
user    0m2.290s
sys     0m0.320s

Mean 10.2 seconds for python3, 3.8 seconds for micropython. I figure that could decrease significantly further if we rearranged files so that we only loaded what we needed (at the moment it still parses the structure of the unsupported classes).

Some more details here: ev3dev/ev3dev#937
I think what we miss are mmap and ctypes (both needed for framebuffer/Screen), and subprocess (for Sound).

For subprocess looks like we can use os.pipe() as a work-around
https://forum.micropython.org/viewtopic.php?t=851

Part of the documented Sound interface is that users may call .wait() on operations like Sound.play(). Can we keep same functionality with os.popen() or os.system()?

I think what we miss are mmap and ctypes (both needed for framebuffer/Screen)

More importantly, PIL (pillow) will be missing for micro python.
Maybe this will help?
https://micropython.org/resources/docs/en/latest/wipy/library/framebuf.html

Oh, and you can write to /dev/fb0 instead of using mmap if that is not available.

Not sure on a .wait() equivalent...I've never actually used os.pipe() just found that post when googling about micropython and subprocess.

Well os.system() would be with an mandatory .wait() otherwise we need to use a thread.

Yes, the here are certainly ways to reimplement this functionality on micropython. I removed the impacted classes here so that we had a starting point to look into packaging and releasing it, and then we could modify these implementations as desired to use micropython's embedded interfaces or alternative APIs in the future.

I'm going to close this and break out the only independent portion of these changes for a different PR. The PR in its current form is really just a partial split of some classes into their own modules, which is covered in full by #375; micropython support didn't require any other major changes. That will be all that's necessary to "support" micropython at a minimum, excluding packaging.

#376


Fails on .net 5 single file

When attempting to obfuscate a .net 5 exe built with single file turned on and native assemblies embedded, obfuscation fails with error: Unhandled exception. System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid

Because that "single file" is not a .NET assembly, but a package of stuffs.

Thanks for the response. It would be nice to know if there is a way to hook into obfuscar sooner in the pipeline so it can obfuscate the assemblies before they are packaged into the exe. Maybe msbuild or some hook is possible?

i found out that the process can proceed after removing the linux executable entry file from the xml config of Obfuscar, the rest dlls can be normally obfuscated.
but i have no idea whether these obfuscated files,which overwrote the original through post-buid event command would have been packaged into the output single bundle file.
can someone give a way to verify it?

@xiaoyuvax That's exactly #264


[AIRFLOW-2436] Remove cli_logger in initdb

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2436
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
For initdb operation, database is not there yet, but cli_logger is trying to write audit log into database and currently logs error message (only error message but not fail).
As initdb is a one time bootstrap operation for Airflow, I think it's fine to remove cli_logger on initdb.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
cli_logger already has a test. Change is to remove from initdb operation and tested with sqllite.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3330 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3330      +/-   ##
==========================================
- Coverage    76.1%   76.09%   -0.01%
==========================================
  Files         197      197
  Lines       14733    14733
==========================================
- Hits        11212    11211       -1
- Misses       3521     3522       +1

Impacted Files
Coverage Δ

airflow/bin/cli.py
64.02% <ø> (ø)
:arrow_up:

airflow/models.py
86.64% <0%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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


Add a license

If you would like people to use your code - add the license, this is a good practice 😅

Thank you for pointing that @akuleshov7. We're sorry for missing that out, this has been resolved.


Hacks

I couldn't figure out how to get _notebooks to work after several attempts, always appeared invalid. Everything else worked though.
[https://trentcardall.github.io/cuddly-succotash/](Personal fastpages)
[https://trentcardall.github.io/cuddly-succotash/2022/08/21/usingmarkdown.html](Post using markdown)
Couldn't get notebook to work
Fastpages in vscode:

[https://github.com/trentcardall/cuddly-succotash/graphs/commit-activity](Github insights)

I couldn't figure out how to get _notebooks to work after several attempts, always appeared invalid. Everything else worked though.
Personal fastpages
Post using markdown
Couldn't get notebook to work
Fastpages in vscode:

Github insights


Replaced PlayIcon on graph library card with Run button and changed c…

Related issue: https://quantum-machines.atlassian.net/browse/QUAL-659

F

@manas-qm I reviewed the changes and they look good. However, GitHub actions is issuing the following warning:
 Check warning on line 144 in frontend/src/modules/GraphLibrary/components/GraphElement/GraphElement.tsx
Class or exported property 'runButton' not found

Please fix this and then merge the PR

Fixed


Support iterating over pipelines for component iteration

As discussed in PR #1543, there is a slight breaking change introduced there where you can no longer iterate through component instances with Pipeline.component_graph. @freddyaboulton suggested we support iterating through the components using the pipeline directly, mirroring what the private ComponentGraph class does now.
This will involve implementing a pipeline iterator and updating the current code to reflect this change, as well as updating the docs to match.

Whoever picks this up, please look at Becca's PR and decide what needs to happen. Should we merge it or close it?

Whoever picks this up, please look at Becca's PR and decide what needs to happen. Should we merge it or close it?


Senior drip needs implementing for some loadouts still

Looks like some got left out and still needs implementing bottom text.

what stuff got left out

Senior physician drip for chemists, obviously!


MN migration to PHINMS

The following items, generally in order, must be completed to successfully onboard a receiver to ReportStream:

[ ] Added to organization.yml
[ ] Added to organizations-local.yml
[ ] Added to staging settings table
[ ] Added to prod settings table
[ ] Added at least one receiver
[ ] Added OKTA group to download site
[ ] Added customers to OKTA group for download site
[ ] Is customer contact made?
What doc format are we supporting for the receiver (HLV, CSV, other)? (Add comment below)
What transport(s) are we supporting for the receiver (SFTP, other)? (Add comment below)
[ ]  Got credentials?
[ ] Tested ELR connection locally?
[ ] Tested ELR connection from Azure?
[ ] Has the receiver accessed the download site?
[ ] Has the receiver been sent at least one test file?
[ ] Has the receiver signed off on file formatting?
[ ] Are there labs sending data?
[ ] Has the receiver confirmed receipt of the data?
[ ] Have the files processed successfully?
[ ] Are we in production?

MN elr guide: https://cdc.sharepoint.com/sites/DY-PRIME/bah_stateintake/Minnesota-Minnesota Department of Health_5eeeafa0-6cda-eb11-ba5e-00155da05455/MDH_ELROnboardingGuidance.pdf

@MauriceReeves-usds Since MN is in prod, should we mark this complete?

closing will create a new one when MN onboards


Command functions should be able to return an updated config

Chat plugin should be able to both return a string and also return an updated config dict (optionally).
Need to update the python APIs to enable this (would be similar to the on_config_change inputs/outputs and behavior).
https://github.com/vitessce/vitessce-python/blob/main/docs/notebooks/widget_plugin_custom.ipynb

Or maybe the command function should just accept a reference to the widget instance?


Added template for Issues (Bug, Feature, Question)

Pull request information

Status: Ready to merge
Kind of changes: Enhancement
Code affected: Templates for Issues (Bug, Feature, and Question) and PR

Description

(under @nathanlct's supervision)

Added template and distinguished between "Bug report", "Feature request", and "Question". (For "Question", they will be redirected to our Stack Overflow).
Also, simplified the template for PR request

Here is how it looks eventually if merged

Pull Request Test Coverage Report for Build 3688

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 91.287%

Totals

Change from base Build 3663:
0.0%

Covered Lines:
8298

Relevant Lines:
9090

💛  - Coveralls

@ashkan-software I changed a few things, what do you think?

@ashkan-software let me know if you approve and I merge it

I am going to check it now and change a few things.

@AboudyKreidieh I am done. You can go ahead and merge.

sounds good, thanks!


GraphQL handler: environment variables not working for endpoint for subscriptions/WebSocket calls

environment variables not working with GraphQL Handler endpoint when invoking subscriptions. I have to give real URL.
I even tried to provide subscriptionsEndpoint via environment variables without any luck.
This is preventing us deploying to different environments without hardcoding endpoints...
Queries and Mutations works fine when setting    GraphQL endpoint via environment variables.
  - name: mysub
    handler:
      graphql:
        # environment variables not working with graphql subscriptions endpoint
        # endpoint: '{env.MY_SEB_ENDPOINT}'
        endpoint: http://localhost:8080/graphql
        # subscriptionsEndpoint:  ws://localhost:8080/graphql

Error
/node_modules/.pnpm/ws@8.13.0/node_modules/ws/lib/websocket.js:675
      throw new SyntaxError(`Invalid URL: ${address}`);
            ^
SyntaxError: Invalid URL: {env.MY_SEB_ENDPOINT}

@xmlking
It worked for me when using the syntax :
subscriptionsEndpoint: "${MY_SERVICE}/graphql"
Instead of {env.MY_SERVICE}

Thanks for letting me know. Will they this solution.
I recall @ardatan mentioned someway disadvantage of using this way for accessing environment variables.

I have the same problem with the mongoose handler and the connectionString field. Either syntax just throws the following error:
MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
    at new ConnectionString (/workspaces/api/node_modules/mongodb-connection-string-url/src/index.ts:133:13)
    at parseOptions (/workspaces/api/node_modules/mongodb/src/connection_string.ts:245:15)
    at new MongoClient (/workspaces/api/node_modules/mongodb/src/mongo_client.ts:359:34)
    at NativeConnection.createClient (/workspaces/api/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:293:14)
    at NativeConnection.openUri (/workspaces/api/node_modules/mongoose/lib/connection.js:779:34)
    at connect (/workspaces/api/node_modules/mongoose/lib/mongoose.js:404:15)
    at MongooseHandler.getMeshSource (/workspaces/api/node_modules/@graphql-mesh/mongoose/cjs/index.js:40:36)
    at /workspaces/api/node_modules/@graphql-mesh/runtime/cjs/get-mesh.js:90:52
    at Array.map (<anonymous>)
    at getMesh (/workspaces/api/node_modules/@graphql-mesh/runtime/cjs/get-mesh.js:85:38)

Seems that environment variables are super limited in where they can be applied to config. I also tried adding statsd plugin with
plugins:
  - statsd:
      client:
        host: '{env.DD_AGENT_HOST}'

and getting the following error in the logs
Error: Error sending hot-shots message: Error: getaddrinfo ENOTFOUND {env.DD_AGENT_HOST}

I can hack a fix for this problem in my case by doing a build, then doing a search and replace on the generated .mesh/index.ts file before starting.
package.json
"scripts": {
    "dev": "mesh dev",
    "build": "mesh build && npx -y https://github.com/vatfree/env-replace.git .mesh/index.ts",
    "start": "yarn build && mesh start"
  }

Turns out the above hack was unnecessary, since the underlying hot-shots package will try to use the DD_AGENT_HOST environment variable by default if no host was specified. So best to just not specify it like:
plugins:
  - statsd:
      # client:
      #   host: '{env.DD_AGENT_HOST}'