Fail during make install

Environment
System: window10 WSL Centos7
scipy==1.1.0
install pillow==5.1.0
Problem
I have already chanege the 'CV_BGR2GRAY' to 'COLOR_BGR2GRAY' in file st_tissue_recognition/src/util.cpp
then cmake and make install again
but still get Error in step make install
Error Information：
[ 87%] Linking CXX executable recognize-tissue
/mnt/e/BioInfo/APP/Anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libz.so.1, needed by /usr/local/lib64/libopencv_core.so.4.1.2, not found (try using -rpath or -rpath-link)
/mnt/e/BioInfo/APP/Anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libjpeg.so.9, needed by /usr/local/lib64/libopencv_imgcodecs.so.4.1.2, not found (try using -rpath or -rpath-link)
/mnt/e/BioInfo/APP/Anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libpng15.so.15, needed by /usr/local/lib64/libopencv_imgcodecs.so.4.1.2, not found (try using -rpath or -rpath-link)
/mnt/e/BioInfo/APP/Anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: CMakeFiles/recognize-tissue.dir/main.cpp.o: in function `main':
main.cpp:(.text+0xfd): undefined reference to `cv::imread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'

.....

/mnt/e/BioInfo/APP/Anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /usr/local/lib64/libopencv_imgcodecs.so.4.1.2: undefined reference to `png_set_filter@PNG15_0'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/recognize-tissue.dir/build.make:100: src/recognize-tissue] Error 1
make[1]: *** [CMakeFiles/Makefile2:169: src/CMakeFiles/recognize-tissue.dir/all] Error 2

I think it may cause by  cross-compiled which I'm not so familiar with。
The only one thing that I'm sure is the openCV has install successfuly， because:
(base) [Robin@SC-201910280935 python-module]$ python
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'4.1.1'
>>>

This is the first time for me to use issues  in Github,and I am extremely thristy to your reply to my message~Thx~

I find a solution:Change the the 'CV_BGR2GRAY' to 'COLOR_BGR2GRAY' in file st_tissue_recognition/src/util.cpp,  cd into the /python-mudule/
then
python setup.py build
python setup.py install

it works for me

Thanks for reporting back the solution!


azure.archive.ubuntu.com 404

Description
sudo apt-get install -y wkhtmltopdf poppler-utils
Produces
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libegl-mesa0_21.0.3-0ubuntu0.2~20.04.1_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]

Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019

Image version and build link
20210816.1
https://github.com/jshmrtn/hygeia/pull/424/checks?check_run_id=3369027576
Is it regression?
https://github.com/jshmrtn/hygeia/runs/3358451145?check_suite_focus=true
Expected behavior
It should install without any errors.
Actual behavior
Produces an error
Repro steps

sudo apt-get install -y wkhtmltopdf poppler-utils

Hey, @maennchen
Hello @gaetanbuellet
Please make sure that you have run sudo apt-get update command before installation according to documentation.

That solved the issue 👍


More JS libraries

Added: knex, mysql2, chai, config, dotenv
Updated: mariadb (added mariadb tag)

@sergey48k Actually I did run node verify.js before committing my change.
I have just run it again, but it did not make any changes to files:
volodymyr@nostalgia-for-infinity:~/work/github/awesome-libraries$ node verify.js
SUCCESS! technologies.json was updated; libs were sorted
volodymyr@nostalgia-for-infinity:~/work/github/awesome-libraries$ git diff
volodymyr@nostalgia-for-infinity:~/work/github/awesome-libraries$

If you tell me what is wrong, I probably can fix it manually :-)


Why do we need to divide the offset by 4?

@hansfbaier Why do we divide offset by 4 in bba and restore it in RelPtr? Is there any benefit in this?

I think it is because the address is in 32 bit words which is 4 bytes.


getBuiltinCommands should be cached

Right now it's not linked to the shell environment so it should be the same every time. This is more important when we're constructing more complicated global completions like in https://github.com/microsoft/vscode/issues/235024

It is cached?
https://github.com/microsoft/vscode/blob/42e9caea7a3acad2af4403c0e8e710b5ea8b1a5b/extensions/terminal-suggest/src/terminalSuggestMain.ts#L15

Doh this is my bad, I need to add the caching for https://github.com/microsoft/vscode/issues/235024 myself. I'll rework things so the caching happens in one spot

shouldn't that happen here just like for the rest of them?
https://github.com/microsoft/vscode/blob/e3d033cf31ffba88c2185b1f79f6e57caea39fa3/extensions/terminal-suggest/src/terminalSuggestMain.ts#L59

Yep, but I think instead of that I'll not return in the switch and then pull the set call just before the return at the end

The caching mechanism was actually broken as the map is never initialized.

It was initialized at one point, guess it broke in a refactor. Nice catch.


Does VisIt really need hdf-4 built with jpeg?

bv_hdf4 uses vtk's libjpeg.  With VTK-9, vtk's name mangling for jpeg has changed, and they updated to a newer jpeg version.
hdf4 claims not to support jpeg 7 or newer, but I have compiled hdf4 with jpeg9 on Windows successsfully.
Easy enough to modify the build_visit patch for hdf4's configure to handle the new vtk name mangling and remove the jpeg lib version check, but I'm just curious if we really need to build hdf4 with jpeg support.

Discovered hdf 4 requires jpeg. If we don't use --with-jpeg to specify vtk's jpeg (or another version we can package up with VisIt) it will find and link with a system jpeg.
If we try to disable it with --without-jpeg, configure fails saying jpeg is required.

For the VTK-9 investigation, I switched to HDF-4.2.15, utilizing its cmake build system, and it builds jpeg internally.  Didn't seem to cause any issues with regression tests.

closing since I answered the question: hdf4 does require jpeg.


Runtime image updated: fn user/group fix

Fixes the fn user/group in runtime image

@kppk Can you please rebase this change to trigger the CI to run the build?


dateFns is not defined

When I try to use this, I get an error that says:
Uncaught ReferenceError: dateFns is not defined
at Object.defineProperty.value

If you're using webpack and have the proper loaders configured you can...
import Vuetiful from 'vuetiful/src/main.js'
Vue.use(Vuetiful)

Please see https://github.com/andrewcourtice/vuetiful/pull/34/commits/7ff9035bb78b229fc0101362e1a85488ccb5dd6b#diff-11e9f7f953edc64ba14b0cc350ae7b9d for a possible fix.

@TomKaltz Which loaders are needed? I have the default from Vue CLI, and running npm run build causes an issue

@RIanDeLaCruz What exactely is the issue?

@litti a named export was getting errors in the build
Solved it by manually adding Vuetiful to my babel-loader.
Is there another way?

I did the following:

yarn add date-fns
Added window.dateFns = require('date-fns'); to my main .js file

If you want to use date-fns via Script tag, add this.

from author's original code


[WIP] Use nonce and block height when adding transactions

This PR adds the following changes:

Adds /nonce/:id API endpoint, which returns the latest nonce and known block height of the node
Modifies all clients to locally increment nonce when creating transactions, and keep track of block height by polling the consensus

At lunch right now, I'll be able to review it in about a hour.


Adding Cards to Homepage

Looks good! Just minor comments

Can you actually use bootstrap card component instead?

@vietlongdang What do you mean about "Can you actually use bootstrap card component instead?"


AVX512 support is not functional (does not compile etc)

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
there is an existing issue but it's very vague and at the same time too specific
Environment info
Operating System:
Linux
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
no cuda
Current AVX512 support does not function, for example with
bazel build -c opt  --copt=-mavx2 --copt=-mavx512f --copt=-O3 --copt=-march=skylake --copt=-mfma --copt=-g1  //tensorflow/tools/pip_package:build_pip_package
there are various compile errors. I'm filing this ticket more as a grab bag than it being about a specific compile error; as work is done we can add specific failures to this bug.
If nobody else is working on this I can try to assign someone at work to this, but if there's already code floating around to fix this then I'm more than happy to defer to that.

Could you link to the original issue? If you could contribute helping fix this from your organization that would be most welcome. I'm not aware of anybody working on this right now. @petewarden, do you know of any other efforts?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

for a bazel build like:
bazel build  --copt="-mavx512f" --copt="-mavx512dq" --copt="-mavx512vl" --copt="-Ofast" -s -c opt //tensorflow/tools/pip_package:build_pip_package
There are errors in PacketMathAVX512 and PacketMathAVX2
avx2 seems to need something like:
typedef struct Packet16q16i {
__m256i val;
operator __m256i() const { return val; }
Packet16q16i();
Packet16q16i(__m256i val) : val(val) {}
} Packet16q16i;
in avx512
#ifdef EIGEN_VECTORIZE_AVX512DQ
// AVX512F does not define _mm512_extractf32x8_ps to extract _m256 from _m512
#define EIGEN_EXTRACT_8f_FROM_16f(INPUT, OUTPUT)
__m256 OUTPUT##_0 = _mm512_extractf32x8_ps(INPUT, 0) __m256 OUTPUT##_1 =
_mm512_extractf32x8_ps(INPUT, 1)
#else
#define EIGEN_EXTRACT_8f_FROM_16f(INPUT, OUTPUT)
__m256 OUTPUT##_0 = _mm256_insertf128_ps(
_mm256_castps128_ps256(_mm512_extractf32x4_ps(INPUT, 0)),
_mm512_extractf32x4_ps(INPUT, 1), 1);
__m256 OUTPUT##_1 = _mm256_insertf128_ps(
_mm256_castps128_ps256(_mm512_extractf32x4_ps(INPUT, 2)),
_mm512_extractf32x4_ps(INPUT, 3), 1);
#endif
And
template<> EIGEN_STRONG_INLINE Packet16f preduxp(const Packet16f*
vecs)
{
should be something like:
// AVX512F does not define _mm512_extractf32x8_ps to extract _m256 from _m512
#define EIGEN_EXTRACT_8f_FROM_16f(INPUT, OUTPUT)
__m256 OUTPUT##_0 = _mm512_extractf32x8_ps(INPUT, 0);
__m256 OUTPUT##_1 =  _mm512_extractf32x8_ps(INPUT, 1);
And maybe missing “ “
template<> EIGEN_STRONG_INLINE Packet16f preduxp(const Packet16f* vecs)
{
this does not finish the problems..see attachment  is this stuff fixed in r1.1?
avx512_error_after_PacketMath_fixes.txt

even updating to r1.1 and updating the compiler to gcc6.2 brings no joy...the problems shown above go away..but there seems to be some wierd issue with code generation and illegal usage of an instruction
bazel build  --copt="-mavx512f" --copt="-mavx512dq" --copt="-mavx512vl" --copt="-Ofast" -s -c opt //tensorflow/tools/pip_package:build_pip_package
ERROR: /home/levinth/tensorflow_1_1/tensorflow/tensorflow/core/kernels/BUILD:1337:1: C++ compilation of rule '//tensorflow/core/kernels:dynamic_stitch_op' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 111 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
/tmp/ccT8Q8Xu.s: Assembler messages:
/tmp/ccT8Q8Xu.s:23313: Error: invalid register operand for `vmovdqu'


Shuffled folders around, R.generated.swift not updating

Moved some of my files around around,
ie.
Project/Profile/photoCell.xib
Project/Profile/photoCell.swift
to
Project/Profile/Views/photoCell.xib
Project/Profile/Views/photoCell.swift
But R.generated.swift doesn't seem to be picking up the xib file (now just in a different folder structure). I've made sure both xib and swift file are added to Compile Sources and Copy Bundle Resources, but
struct nib {
...
doesn't seem to be updating in R.generated.swift (I do not have a static let photoCell = ... anymore when I used to
Am I missing something silly here?

Did you also move the R.generated.swift to another folder? If you did R.swift is probably generating the file at the wrong location. You have to adjust the path in the build phase to the new location if you did.
Also; Does the file correctly work in Xcode? R.swift looks at your Xcode project so if the project doesn't have the file in the target you are generating for it will also skip the file.

Looks like it was because I didn't link the folders correctly after renaming name in Xcode. Thanks!


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1338 ms

Resolved: Bofrost.lu performance has improved in c513514 after 29 minutes.


ensure duplicateElement does deep copy of points

fixes #739
I wanted to go for JSON.parse(JSON.stringify(element)) altogether, to guard against future regressions, but it could cause regressions on other fronts (e.g. when we expected some functions to be kept). We should migrate to a structured cloning algorithm, later.

This fixes it! Thanks!

Actually, this will do bad things if the points is undefined, I reckon.

But it seems we initialize points to an [] for every element...


tls: add test for tls keywords v6

Previous PR : https://github.com/OISF/suricata-verify/pull/1106
Describe Changes:

Update README for tls.subject

followed by #1118


Envoy creates redundant documents in db

Every time when push or pull replication is started between android device and remote cloudant db, envoy creates extra document in db with user name and password in plain text. After 6 replications I had 6 such documents
{
"_id": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3-58f45b95-3c67-4233-a538-184ef051ea06",
"_rev": "1-45ecf200995c8afc6ba1421ee5e21a7f",
"name": "test",
"password": "password"
}

Oof - it looks as though POSTs to _session get translated into a document POST to the database - clearly a bug in Envoy cc @glynnbird

Fixed in https://github.com/cloudant-labs/envoy/pull/132


Output changes made.

Number of output files reduced from 2 to 1. Duplicate file names and number of duplicates are now printed to the console.

You should add an entry to your .gitignore to ensure that output files you generate locally don't get checked into the repo.


Python: Fix false positive in py/non-iterator-in-for-loop

Should fix #1833, fix #2137, and fix #2187. (Edited to repeat the word "fix" since GitHub doesn't appear to understand lists of fixed issues.)
Internally, comprehensions are (at present) elaborated into local functions and
iterators as described in PEP-289.
That is, something like:
g = (x**2 for x in range(10))

becomes something akin to
def __gen(exp):
    for x in exp:
        yield x**2
g = __gen(iter(range(10)))

In the context of the top-level of a class, this means __gen looks as if it is
a method of the class, and in particular exp looks like it's the self
argument of this method, which leads the points-to analysis to think that exp
is an instance of the surrounding class itself.
The fix in this case is pretty simple: we look for occurrences of exp (in fact
called .0 internally -- carefully chosen to not be a valid Python
identifier) and explicitly exclude this parameter from being classified as a
self parameter.

Both comments addressed.

I'm running a performance comparison on this, just in case it shows something interesting.

Performance comparison looks good: https://git.semmle.com/gist/taus/c43149bea46448aa5a7195ee12ff77ba


semgrep: init at 0.92.0

Built on platform(s)

[x] x86_64-linux

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

RFC. This is nice tool (although not supporting Nix language), and I would like to have it in Nixpkgs.
Packaging quality is, hm, not Debian level, but the only two distributions that package it at all -- Arch (AUR) and Gentoo, also use upstream binaries.

@SuperSandro2000 Can you review this, please?

The reliance on static binaries for a specific architecture for a specific operating system is not ideal, but we can rewrite the derivation to package the OCaml bits later.

There's someone else on discourse (and Matrix) actively trying to package this, including the semgrep_core (and seeking help with doing so):

https://discourse.nixos.org/t/assistance-packaging-semgrep-ocaml-dune/19133
https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$6GG6kvosLje1Xx7Y_BgAEPWTECF-aecwu-eSL0BavpU?via=nixos.org&via=matrix.org&via=nixos.dev

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/assistance-packaging-semgrep-ocaml-dune/19133/3

The reliance on static binaries for a specific architecture for a specific operating system is not ideal, but we can rewrite the derivation to package the OCaml bits later.

It would at least be nice to support Linux ARM. This is what I am actively seeking at the moment.


(BKR-232) --no-provision now implies --no-configure & --no-validate

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/824/
Test PASSed.


Tasks are not removed from Vec in file upload example

Problem
In the file upload example, tasks are never removed from tasks: Vec<ReaderTask>.
Steps To Reproduce
Study the code in the example
Expected behavior
The task should be removed once Msg::Loaded arrives at the component.
Environment:
Yew version: v0.18

Thank you for the issue! ❤
#2054 fixes the example for v0.18 :)
The same issue still exists in master so #2055 will fix that and close this issue 🎉


okta-spring: some security filters are not present in Native image

Hi, I've updated my project okta-springboot to spring-boot 2.6.3, spring-native 0.11.2 and okta-spring 2.1.4
After building successfully the Docker native image, we can see that some security filters present in JVM logs (marked with *) are not present in Native logs

JVM
INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1682e6a,
  org.springframework.security.web.context.SecurityContextPersistenceFilter@25218a4d,
  org.springframework.security.web.header.HeaderWriterFilter@7cb29ea8,
  org.springframework.security.web.csrf.CsrfFilter@7b1a30e5,
  org.springframework.security.web.authentication.logout.LogoutFilter@64c8fcfb,
* org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@7af0d91b,
* org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@1c7f6e96,
* org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@23f60b7d,
* org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@505d2bac,
  org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56da96b3,
  org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@59ec7020,
  org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4cecc15a,
  org.springframework.security.web.session.SessionManagementFilter@7e747037,
  org.springframework.security.web.access.ExceptionTranslationFilter@2fca3eb5,
  org.springframework.security.web.access.intercept.FilterSecurityInterceptor@464ede1f
]

Native
INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@73703f0e,
  org.springframework.security.web.context.SecurityContextPersistenceFilter@74eb08bd,
  org.springframework.security.web.header.HeaderWriterFilter@7146881f,
  org.springframework.security.web.csrf.CsrfFilter@4ec5994c,
  org.springframework.security.web.authentication.logout.LogoutFilter@17f0c2ea,
  org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6b94fe94,
  org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3221e5ad,
  org.springframework.security.web.authentication.AnonymousAuthenticationFilter@193869a3,
  org.springframework.security.web.session.SessionManagementFilter@6bc076fd,
  org.springframework.security.web.access.ExceptionTranslationFilter@4548022f,
  org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2393f04b
]

When you say JVM, do you mean JVM with AOT or plain JVM? If the filters are not present when AOT has processed the context, it could be that a property was not set at build time that triggered a condition to create those filters.

Hi @snicoll JVM with AOT mode disabled

I can have a look to the sample when time permits but looking at the auto-configuration for the missing filters and the conditions associated could give you a clue of what the problem might be. Also, it's not clear if you were using Spring Native 0.11 before or if you upgraded from 0.10.

Honestly, for now, I have no idea what can be the problem. Also, it was working on the previous version of my project, i.e commit 3a9101ab897204aca6ea27ebb01a3c3cdbb6e4df. In this case, it was using spring-boot 2.5.7, spring-native 0.10.5 and okta-spring 2.1.3.
I've just checkout 3a9101ab897204aca6ea27ebb01a3c3cdbb6e4df (previous commit), built and ran the Docker native image. Logs below
➜  okta-springboot git:(3a9101a) docker run --rm --name simple-service -p 8080:8080 \
      -e OKTA_CLIENT_ID=${OKTA_CLIENT_ID} \
      -e OKTA_CLIENT_SECRET=${OKTA_CLIENT_SECRET} \
      -e OKTA_DOMAIN=${OKTA_DOMAIN} \
      ivanfranchin/simple-service:1.0.0
2022-01-27 12:08:57.601  INFO 1 --- [           main] o.s.nativex.NativeListener               : This application is bootstrapped with code generated with Spring AOT

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.7)

2022-01-27 12:08:57.604  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Starting SimpleServiceApplication using Java 11.0.13 on 0ad2299b8798 with PID 1 (/workspace/com.mycompany.simpleservice.SimpleServiceApplication started by cnb in /workspace)
2022-01-27 12:08:57.604  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : No active profile set, falling back to default profiles: default
2022-01-27 12:08:57.755  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2022-01-27 12:08:57.756  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2022-01-27 12:08:57.757  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.55]
2022-01-27 12:08:57.764  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2022-01-27 12:08:57.764  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 159 ms
2022-01-27 12:08:57.784  WARN 1 --- [           main] i.m.c.i.binder.jvm.JvmGcMetrics          : GC notifications will not be available because MemoryPoolMXBeans are not provided by the JVM
2022-01-27 12:08:59.370  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [
        org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@109907e4,
        org.springframework.security.web.context.SecurityContextPersistenceFilter@283ed47c,
        org.springframework.security.web.header.HeaderWriterFilter@6e856c7,
        org.springframework.security.web.csrf.CsrfFilter@629071b9,
        org.springframework.security.web.authentication.logout.LogoutFilter@42717d25,
        org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@29ec3be9,
        org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@1de1fb70,
        org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@134dd8ba,
        org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@33143623,
        org.springframework.security.web.savedrequest.RequestCacheAwareFilter@561d4466,
        org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@22a56975,
        org.springframework.security.web.authentication.AnonymousAuthenticationFilter@67ce5b4,
        org.springframework.security.web.session.SessionManagementFilter@39c17512,
        org.springframework.security.web.access.ExceptionTranslationFilter@701392da,
        org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5c1e4790
]
2022-01-27 12:08:59.387  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 6 endpoint(s) beneath base path '/actuator'
2022-01-27 12:08:59.401  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2022-01-27 12:08:59.403  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Started SimpleServiceApplication in 1.683 seconds (JVM running for 1.685)

As we can see, the filters are there.

 -e OKTA_CLIENT_ID=${OKTA_CLIENT_ID} \
 -e OKTA_CLIENT_SECRET=${OKTA_CLIENT_SECRET} \
 -e OKTA_DOMAIN=${OKTA_DOMAIN} \

Did you consider my previous comment and this section of the doc? One way to know for sure is running the app without any extra property and checking that the filters are present (so without setting those properties in your IDE or something).

Hi @snicoll thanks for remind me about you previous comment!
I've just hardcoded the values of those ENV VARS in application.properties.
...
okta.oauth2.issuer=https://...
okta.oauth2.client-id=0oaf...
okta.oauth2.client-secret=bKKL...
...

Same problem.

Running JVM docker image with AOT mode disabled
2022-01-28 08:26:01.406  INFO 1 --- [           main] o.s.nativex.NativeListener               : AOT mode disabled
      _                 _                                _
  ___(_)_ __ ___  _ __ | | ___       ___  ___ _ ____   _(_) ___ ___
 / __| | '_ ` _ \| '_ \| |/ _ \_____/ __|/ _ \ '__\ \ / / |/ __/ _ \
 \__ \ | | | | | | |_) | |  __/_____\__ \  __/ |   \ V /| | (_|  __/
 |___/_|_| |_| |_| .__/|_|\___|     |___/\___|_|    \_/ |_|\___\___|
                 |_|
 :: Spring Boot ::  (v2.6.3)

2022-01-28 08:26:01.557  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Starting SimpleServiceApplication using Java 11.0.13 on 6221adfb8770 with PID 1 (/app/classes started by root in /)
2022-01-28 08:26:01.558  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : No active profile set, falling back to default profiles: default
2022-01-28 08:26:03.408  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2022-01-28 08:26:03.424  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2022-01-28 08:26:03.425  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.56]
2022-01-28 08:26:03.530  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2022-01-28 08:26:03.530  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1864 ms
2022-01-28 08:26:06.725  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2c8a445b, org.springframework.security.web.context.SecurityContextPersistenceFilter@5be51aa, org.springframework.security.web.header.HeaderWriterFilter@70f4f89e, org.springframework.security.web.csrf.CsrfFilter@1d283d1, org.springframework.security.web.authentication.logout.LogoutFilter@2de3b052, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@892af0e, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@446c8c72, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@21be14c2, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@356b6b5d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6c5747db, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@64c8fcfb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@37b1149b, org.springframework.security.web.session.SessionManagementFilter@74b1838, org.springframework.security.web.access.ExceptionTranslationFilter@2ba9f986, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@50778bde]
2022-01-28 08:26:06.754  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 6 endpoint(s) beneath base path '/actuator'
2022-01-28 08:26:06.810  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2022-01-28 08:26:06.831  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Started SimpleServiceApplication in 6.027 seconds (JVM running for 6.849)

Running Native docker image with AOT mode enabled2022-01-28 08:40:37.515  INFO 1 --- [           main] o.s.nativex.NativeListener               : AOT mode enabled

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.6.3)

2022-01-28 08:40:37.519  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Starting SimpleServiceApplication using Java 11.0.13 on fd30bc8eec96 with PID 1 (/workspace/com.mycompany.simpleservice.SimpleServiceApplication started by cnb in /workspace)
2022-01-28 08:40:37.519  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : No active profile set, falling back to default profiles: default
2022-01-28 08:40:37.619  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2022-01-28 08:40:37.620  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2022-01-28 08:40:37.620  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.56]
2022-01-28 08:40:37.625  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2022-01-28 08:40:37.625  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 105 ms
2022-01-28 08:40:37.650  WARN 1 --- [           main] i.m.c.i.binder.jvm.JvmGcMetrics          : GC notifications will not be available because MemoryPoolMXBeans are not provided by the JVM
2022-01-28 08:40:37.753  INFO 1 --- [           main] .s.s.UserDetailsServiceAutoConfiguration :

Using generated security password: e324d...

2022-01-28 08:40:37.755  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@54ebc9d8, org.springframework.security.web.context.SecurityContextPersistenceFilter@8da06f4, org.springframework.security.web.header.HeaderWriterFilter@12643dd5, org.springframework.security.web.csrf.CsrfFilter@37fc8276, org.springframework.security.web.authentication.logout.LogoutFilter@36ecee93, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4bbfa6d7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@267975a5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@38f77149, org.springframework.security.web.session.SessionManagementFilter@659220f, org.springframework.security.web.access.ExceptionTranslationFilter@e8020b9, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@340f3fa4]
2022-01-28 08:40:37.766  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 6 endpoint(s) beneath base path '/actuator'
2022-01-28 08:40:37.776  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2022-01-28 08:40:37.777  INFO 1 --- [           main] c.m.s.SimpleServiceApplication           : Started SimpleServiceApplication in 0.276 seconds (JVM running for 0.279)

Alright, thanks. At this point, this might be an Okta-specific problem that's doing something in the environment.
@bdemers created https://github.com/spring-projects-experimental/spring-native/issues/1367 and I wonder if that's related since he's working on Okta.

Hi @ivangfr, this does look like a duplicate of #1367
TL;DR - those Okta properties are basically aliases of the equivalent Spring Sec props and it doesn't currently work with native-images.
Please feel free to create an issue on okta/okta-spring-boot
To work around the issue you should be able to use the following properties:
spring.security.oauth2.client.registration.okta.client-id=...
spring.security.oauth2.client.registration.okta.client-secret=...
spring.security.oauth2.client.provider.okta.issuer-uri=...

NOTE: I do want to call out, I would not recommend baking sensitive data into your application bundle (jar, war, or executable). See the External Configuration for other options.

Thanks @bdemers for your help!
Sure, I will open an issue to okta/okta-spring-boot.
Btw, I am not backing the sensitive data into application.properties. That was just for testing. I am setting them using environment variables.
Best regards

Hi @bdemers
I am trying the properties you suggested as work around.
However, I am getting
WARN 81844 --- [           main] ironmentPostProcessorApplicationListener : Your Okta Issuer URL is missing.
You can copy your domain from the Okta Developer Console. Follow these instructions to find it: https://bit.ly/finding-okta-domain
To fix this add the `okta.oauth2.issuer` property to your application environments.

That is, message says the fix is to use okta.oauth2.issuer. So, the property spring.security.oauth2.client.provider.okta.issuer-uri seems not to work.
Thanks

Closing as duplicate of #1367


Contact Us

As a User
I want to select "Contact Us"
So I that I can fill out the details and submit
Given the user is in the Katha Home Page
When the user selects "Contact Us"
Then the user should be presented with a form with the below fields

Title "Contact Us"
Name - Alpha Numeric field
Phone Number - String
Email Id
Message
Field validations as implemented in the other forms are applicable

Given the user completes the "Contact Us" form
When the user selects "Reset button"
Then all the values entered should be cleared
Given the user completes the "Contact Us" form
When the user selects "Submit button"
Then an email should be triggered to<EMAIL_ADDRESS>with the below

Subject - "Contact Us Query Received"
Body
- Name - "Value entered in Name field"
- Phone Number - "Value entered in Phone Number field"
- Email Id - "Value entered in Email Id field"
- Message - "Value entered in Message field"

Given the user completes the "Contact Us" form
When the user selects "Submit button" and email is sent to Katha
Then a success message should be displayed (Refer UX)
https://www.figma.com/proto/A3B6c6710hpLvDUNvDrJcc/Katha-Utsav?page-id=0%3A1&node-id=750%3A275&viewport=241%2C48%2C0.08&scaling=min-zoom&starting-point-node-id=1%3A2
Email ID credentials:
Email ID<EMAIL_ADDRESS>Password: 2019$k@th@
Code to be pushed by 09/03

@akhil117 @karthy1104

Mandatory field identification * is missing
Reset button is not removing the entered data in message section
Too much of blank space in the bottom of the page
Invalid validation message is displaying for the message section

(Note: Submit and mail triggering development are not covered as part of this story)
ContactUs.docx

Hi Santhosh, I had a discussion with sabarish.  He told me every field is mandatory. So From a design perspective, he told he will add note if it requires.
The remaining issues reported have been fixed.

@akhil117 @karthy1104
Except the mandatory field changes , all other issues are retested and working fine

Now it is working as expected. Hence moving to done

Contact us mail event is tested


[sld-parser] Failing test

The geostyler-sld-parser project has a failing test on local checkout. It was not recognized since it doesn't seem to emerge on the CI-server.
SldStyleParser implements StyleParser › #readStyle › can read a SLD style with a filter

    Unhandled "error" event. (Error: No Filter detected)

This was an issue with a unit test spec which was placed (erroneously) in the dist folder. This spec is no more existent by the changes introduced with https://github.com/terrestris/geostyler-sld-parser/pull/29


GenericCanonicalLinkDetector leads to unexpected crawled sites

Hi Pascal,
when crawling a site with a canonical link to another domain, this domain is then crawled as well even though this domain is not listed as startURL.
The startURLs are configured as
stayOnDomain="true"

Is this the expected behavior for canonical handling?
Best regards
Sascha

The "stayOnDomain" means only links matching the parent page domain will be extracted to be also crawled.  In this case, since the canonical version is the one you want, it chooses it, and all its links are extracted, only if they match that new canonical domain.
If you are not interested to only crawl canonical material, can disable that feature with
  <canonicalLinkDetector ignore="true" />

You can also use a RegexReferenceFilter for more control on what URL to include/exclude.

Thanks for the explanation.
RegexReferenceFilter sounds like a good way to solve this behavior.
It was just somehow unexpected to see domains in the index which I had never configured. It took me some time to realize that the canonicals might caused this. And I agree with you if the canonicals links are pointing to another domain this should be indexed as well (at least as default).
Thank you
Sascha


One more phase with randomized tick content

Implemented in https://github.com/superjohan/contrast/commit/f00ca892f5ef5bc9ba6bf45a721262150fc14588


The package 'react-native-video-cache-control' doesn't seem to be linked

I already did everything I could understand for the correct installation, but I keep having this error on Android:

What do you suggest me to do?

@pottercomuneo Thank you for bringing up the question.
Have you tried this one? https://github.com/SimformSolutionsPvtLtd/react-native-story-view#extra-step
Also can you please share your app-level build.gradle file and package.json file? it would be very helpful.

@pottercomuneo Thank you for bringing up the question.
Have you tried this one? https://github.com/SimformSolutionsPvtLtd/react-native-story-view#extra-step Also can you please share your app-level build.gradle file and package.json file? it would be very helpful.

Hi @dhruv-h-simform, thank you, we had a urgent need for a solution so since no answers in 3 months we decided to switch to something else.
I hope this can be helpful to somebody else now

Got same error
Please reopen issue


Create devops infrastructure for testground

Description
We recently found testground , a framework that might service all out testing needs, including local tests of multiple nodes and even running a scaled environment on k8s.
In order to test the k8s approach and run big tests we'll need to create the required infrastructure, machines and permissions. testground isn't using a managed k8s like eks or gke.
@valar999 please dive into testground and create the required devops infra to run it.

Now it supports only AWS. I will try it first.


The porcupine project is broken with mypy github master

The value of custom_typeshed_dir is incorrect in porcupine, and the latest mypy complains about it:
$ cat porcupine/mypy.ini
[mypy]
warn_unused_configs = True
warn_unused_ignores = True
disallow_untyped_defs = True
show_error_codes = True
custom_typeshed_dir = typeshed

The directory typeshed is actually empty.
Here's the failure:
https://github.com/python/mypy/pull/9984/checks?check_run_id=1779046241
Also the error reporting is not super clear. It would be good to give the name of the project that is failing prominently.

Thanks for reporting! Fixed on master. The error reporting was an issue with mypy_primer trying too hard to validate mypy output. I've removed that since it's not useful.

Thanks for reporting! Fixed on master. The error reporting was an issue with mypy_primer trying too hard to validate mypy output. I've removed that since it's not useful.


Gather cluster startup time metrics

This change adds metric collection to the hypershift operator that
calculates for each cluster the time delta between creationTime and the
oldest version being reported as successfully rolled out.
Ref https://issues.redhat.com/browse/HOSTEDCP-248

/retest

/test ?

/test e2e-aws-metrics

/test e2e-aws-metrics

@ironcladlou while the metrics job failed, the metric publishing seems to work fine. I went ahead and added a panel in https://hypershift-monitoring.homelab.sjennings.me:3000/d/BGbA-pD7k/hypershift-ci?orgId=1. PTAL :)

Awesome, thanks... we probably need a -metrics variant of the pooled job.
/lgtm


Fixes ambiguous Match Case signatures. Re-adds match result functions…

… with correctly inferred types.
Fixes #1207

Current coverage is 96.10%

Merging #1209 into master will increase coverage by +0.21% as of b702dcf

@@            master   #1209   diff @@
======================================
  Files           78      78
  Stmts         9161    9160     -1
  Branches      1717    1717
  Methods          0       0
======================================
+ Hit           8785    8803    +18
- Partial         91      92     +1
+ Missed         285     265    -20

Review entire Coverage Diff as of b702dcf

Powered by Codecov. Updated on successful CI builds.


chore: cors issue fixed

This pull request (PR) template provides a structured outline to ensure clarity and consistency when submitting PRs. Here's a breakdown of each section's purpose:
Summary
A short description of the PR's purpose. Example: "This PR adds validation to the login form to prevent empty submissions."

Description
This section requires a detailed explanation of the PR, covering:
    The problem: Briefly describe the issue this PR addresses.
    The solution/approach: Explain the approach taken to solve the issue.
    Technical details: Add any specific details or considerations that reviewers should know.

Images
If your PR includes UI changes or requires visual explanations, you can add screenshots, diagrams, or images here to help reviewers understand the changes better.

Issue(s) Addressed
Reference the relevant issue number(s) that this PR addresses. Use the format:
    Closes <issue_number> (Example: Closes #1) This automatically closes the issue upon merging.

Prerequisites
A checklist to ensure:
    You’ve adhered to all [contributing guidelines](https://github.com/krishnaacharyaa/wanderlust/blob/main/.github/CONTRIBUTING.md#guidelines-for-contributions).

Important
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
❤ Share
🪧 Tips

thanks @amansharma999 aman for your contribution


[W09-B2] Add User stories

Add User Stories and grouped them under High, Medium and Low priority

Changes Unknown when pulling f470752973f5f97d1b3e10c4ea3ff2f27cae43af on jeffreygohkw:user-stories into ** on CS2103T-W09B2:master**.


Unable to start SystemD

I've tried following the readme given, by copying the systemctl files using cp<EMAIL_ADDRESS>/etc/systemd/system and when I try to run
systemctl start docker-compose@central it says : (using non root user)
Failed to get D-Bus connection: No such file or directory

when I try using sudo, there's no error but when I check the status it said :
●<EMAIL_ADDRESS>- central via docker-compose
   Loaded: loaded<EMAIL_ADDRESS>disabled)
   Active: failed (Result: start-limit) since Sun 2019-02-17 16:57:44 WIB; 3s ago
  Process: 4456 ExecStop=/usr/local/bin/docker-compose stop -v (code=exited, status=200/CHDIR)
  Process: 4455 ExecStart=/usr/local/bin/docker-compose up (code=exited, status=200/CHDIR)
 Main PID: 4455 (code=exited, status=200/CHDIR)

Feb 17 16:57:43 <my domain name> systemd[1]<EMAIL_ADDRESS>control process exited, code=exited status=200
Feb 17 16:57:43 <my domain name> systemd[1]: Unit<EMAIL_ADDRESS>entered failed state.
Feb 17 16:57:44 <my domain name> systemd[1]<EMAIL_ADDRESS>holdoff time over, scheduling restart.
Feb 17 16:57:44 <my domain name> systemd[1]: Stopping central via docker-compose...
Feb 17 16:57:44 <my domain name> systemd[1]: Starting central via docker-compose...
Feb 17 16:57:44 <my domain name> systemd[1]<EMAIL_ADDRESS>start request repeated too quickly, refusing to start.
Feb 17 16:57:44 <my domain name> systemd[1]: Failed to start central via docker-compose.
Feb 17 16:57:44 <my domain name> systemd[1]: Unit<EMAIL_ADDRESS>entered failed state.

Update : turns out the workingdir variable in<EMAIL_ADDRESS>is the culprit, I have the "central" directory not in root folder (run as non root user with elevated sudo), so i have to change the workingdir from /root/%i to /home/<myuser>/%i.
Still I somewhat think this is not a "recommended" solution for workingdir, just a temporary fix for my case.

oh, i see. yeah, the instructions and everything are sort of one packaged unit; if you deviate from them i cannot guarantee that they'll all work without some individual attention.


Update README.md

Moved rodeo into the python category

README.md is just an example, the language attribute is obtained directly from the Github API, please do not modify it manually. I will try to  fix the language with some custom data.


throw an exception when trying to modify libvlc options after start

Several issues posted here are from users wondering why they can't edit vlc options after startup, it shouldn't be possible to edit options after media player creation.

Implemented in #490


Handler on scrolling

If a widget has been resized to a size smaller than the original size the resize handle will be static instead on being on bottom of the widget. Any thoughts?

i had similar issue, i have fixed it with css like this
height: calc(100% - 100px)


(📖esl-media-query): improve esl-media-query documentation (site and README)

There are some API and usage details are missed in the public Readme
Especially Event types

:tada: This issue has been resolved in version 4.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Short solution needed: "How to add environment variable for docker image" (docker)

Please help us write most modern and shortest code solution for this issue:
How to add environment variable for docker image (technology: docker)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to pass environment variable to docker container


[RFR] Allow IE11 & Edge to export CSV

Fix #1116
To be test with Browserstack.

@Kmaschta: did you try it on BrowserStack? Is it working? :)

It works well!

You can merge the PR.


Setup Statistic Page as separate react app

Summary of changes

Move the tailwind config to root to sharable between repos
Setup separate react app for page-statistics
Setup the Keys page for the demo

Reference issue to close (if applicable)

Closes

Code Checklist

[x] Tested
[x] Documented

Screenshot
https://user-images.githubusercontent.com/60747384/189996825-b620277c-f073-4790-9070-d6f5bada0f7f.mp4

Once this PR is merged, we ready to merge the webb-ui-kit into develop, then continue the work on the statistic page on the develop branch.

It's http://localhost:3000 with our mixer @AhmedKorim. And please use yarn start:stats instead of yarn start:localDapp.

Can we have this in the readme?

Ok, let me update the README as well 👍

This works for me it seems the issue was in my setup, Great job @AtelyPham


cyclic_default_values_test stack overflows during resolution

Just caught this testing DDC against latest Analyzer. Seems likely to be caused by #25794 fix.

(I'm a bit surprised by a stack overflow though, as we don't do anything recursive. What I'd expect is that inference would just not work for one of the two functions.)


Add FastNoise (based on NoiseTable)

This PR adds FastNoise, a 2D and 3D noise based on two NoiseTables and a few related tests. It ..

is compatible to the Noise2D and Noise3D interfaces
is about 2x faster than SimplexNoise and 5x faster than PerlinNoise (see tests)
produces white noise (equal frequency on all levels)
produces normalized values (output is always in [0..1])
produces equal-distributed values (same probability)
has high resolution (values differ in ranges < 0.000015)
supports only discrete input values: noise(3.4) == noise(2.7) :cry:
has a range of only 256 values: noise(256) == noise(0) :cry:

Suggestion: what do you think of a wiki page comparing our noise implementations and giving recommendations for different use cases?

Anything to really test here? Does sound like a bit of doc so it doesn't get forgotten would be handy :-)

I wrote a small article for the wiki:
https://github.com/MovingBlocks/Terasology/wiki/Randomness-and-Noise
The code is part of a larger set of changes for flora generation. That is also what I need it for.

Nice article!!!

A wild benchmark test appeared! We totally need to organize those better sometime and track over time :-)


Website doesn't work from time to time

Hello. I'm having a problem with the documentation on https://valibot.dev. It opens slowly, or the connection is completely reset. I'm not sure what the problem is because some of my friends can open it from their network and some can't, like me.

I have never had any problems with it. I know some people have in the past. We host the site on Netlify's edge network. The only thing I could do is not host in on the edge network or choose another provider.
What you could do is use a VPN to access our site from another network or access it via a service like the Wayback Machine.

Yep, it works from one network and doesn't work from another.  I am not sure what the problem is, but at the moment the documentation is not accessible for me w/o VPN. It would be nice to have an alternative hosting or so. ¯\(ツ)/¯

Another workaround is to clone the repo and run pnpm i && cd website && pnpm start. I will leave this open for now. If more people have this problem, I will try to contact Netlify or optionally offer to host the documentation on another domain hosted by another provider.

Our site seems to be stable for the last few months, but I will reopen if I am wrong.

Yep, it looks like only me is affected (just tried it 2 days ago). I've tried to open it from a couple of Estonian IP addresses and this side doesn't load at all. From VPN it does work. I can assume that the service under the documentation has problems with it. So, at the moment I'm using local build instead. Not so convenient, but works.

Hmm... thanks for your feedback. That's too bad. As soon as I have more time, I will publish it via Vercel and get back to you to see if that solves the problem.

I have received a response from Netlify:
If the site problem is only happening to certain users and disappears when they use a VPN, then the problem is likely something having to do with their local network or ISP. I'm afraid that isn't something Netlify will be able to help troubleshoot and is something they will need to contact their ISP or network admins to diagnose.
Still, we can try to look into it if someone can generate a HAR file demonstrating the issue.

TBH, I don't think this is an ISP problem because valibot.dev is loading from time to time, and the problem is only with this website at the moment. I've attached two HARs. One is when the website doesn't load at all (but it's just the default browser's timeout), and the second one is when it was loaded on the 10th try or so.
HARs

Thank you! I will forward it to Netlify.

Here is another answer from Netlify. But don't feel obligated to spend your time on it.
Unfortunately, the HAR file provided where the connection is unavailable doesn't provide any useful information to understand what's causing this issue. I'd recommend they attempt to connect from a different browser or different network to see if that produces different results.

In different browsers, the result will be the same, because the connection to valibot.dev just closed by timeout 9 out of 10 times. 🤷 I don't know exactly why, but the problem is only with this site. So I'm using local documentation at the moment.

This should be fixed

It still doesn't work in Estonia, but I'm using local version at the moment. I see the similar problem in Canada according to #918, so it looks like Netlify is poor service for use. Good to know at least. 😃

This is strange. The site has been hosted by Vercel since yesterday.

This is strange. The site has been hosted by Vercel since yesterday.

Yes, it's strange then. Maybe a kind of caching or so. I'll try next week once more I guess.


Can I load model with different precision using different precision?

I have this sample script:
engine_dir_path = Path(engine_path)
config_path = engine_dir_path / 'config.json'

with open(config_path) as f:
    config = json.load(f)

use_gpt_attention_plugin = config["plugin_config"][
    "gpt_attention_plugin"
]
remove_input_padding = config["plugin_config"]["remove_input_padding"]
tp_size = config["builder_config"]["tensor_parallel"]
pp_size = config["builder_config"]["pipeline_parallel"]
world_size = tp_size * pp_size

num_heads = config["builder_config"]["num_heads"] // tp_size
hidden_size = config["builder_config"]["hidden_size"] // tp_size
vocab_size = config["builder_config"]["vocab_size"]
num_layers = config["builder_config"]["num_layers"]
num_kv_heads = config["builder_config"].get("num_kv_heads", num_heads)
paged_kv_cache = config["plugin_config"]["paged_kv_cache"]

num_kv_heads = (num_kv_heads + tp_size - 1) // tp_size

model_config = ModelConfig(
    num_heads=num_heads,
    num_kv_heads=num_kv_heads,
    hidden_size=hidden_size,
    vocab_size=vocab_size,
    num_layers=num_layers,
    gpt_attention_plugin=use_gpt_attention_plugin,
    paged_kv_cache=paged_kv_cache,
    remove_input_padding=remove_input_padding,
)

Now I build the engine file for float32 precision like this:
python3 ./examples/llama/build.py --model_dir /models/llama-2-7b-hf --dtype float32  --max_batch_size 1 --max_input_len 3000 --max_output_len 1024 --output_dir /tensorrt_nvidia_build

Now, with this same precision, does it provide typecast to different precision somewhere? Or do I need to compile for different precisions?

You need to compile a new engine if you want to run inference under another precision.

I see, got it. Thanks

Ohh, also just a quick question, but does TensorRT runs int-8 and int-4 quantization (I mean I saw it in the code, which it does with AWQ under the hood, correct me if I am wrong).
So can you please tell me where I can find some documentation steps to understand how to build with quantization and also do this mean that per precision, we need to have different builds? Is there any documentation that does it?

You could find the scripts of building quantized model of llama in https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llama (other models have similar documents)
If you want to run int4-AWQ and int8-weight-only, you need to build two separates engines.

please feel free to reopen this ticket if needed.


Version 1.10.1 does not install

When updating modules, I get this manifest change popup:

After pressing Yes, I get this:

And version remains at 1.10.0, no upgrade is ever made. I can repeat the steps all over again and nothing changes, even after uninstalling the underlying drag ruler and socketlib moduels.
Foundry VTT v10.286
dsa5-drag-ruler v1.10.0
foundryvtt-drag-ruler v1.12.8
foudryvtt-socketlib v1.0.11

Sorry for the late response this was a bit tricky to figure out. I seem to have messed up the version name. Interestingly I do not have this issue - so this is just a wild guess. I will update to a new version just to have that correct.

What I mean is that Version 10.0.1 has the version string of 10.0.0 which likely messes things up.

fixed this in the new version which is verified for current DragRuler release (and not only pre-release hotfix
If you still have this issue please reopen.


FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed.  , errno = 232)

Steps to Reproduce
The following exception is happen either i am creating new project or working on my old projects. I am using window 10 pro version. when i press the hot-reload button, the exception occur and its not the only way it occur whatever i did in my code either write some line or make any changes to any file my device get disconnected and emulator or browser get closed automatically.
this is what i got as exception:
Launching lib\main.dart on Chrome in debug mode...
Debug service listening on ws://<IP_ADDRESS>:51506/LSfCg5WB6AU=/ws
Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Connecting to VM Service at ws://<IP_ADDRESS>:51506/LSfCg5WB6AU=/ws
Unhandled exception:
FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed.

, errno = 232)
#0      _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:870:7)
#1      _StdConsumer.addStream.<anonymous closure> (dart:io/stdio.dart:286:15)
#2      _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
#3      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#4      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#5      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)

#6      _StreamController._add (dart:async/stream_controller.dart:607:7)
#7      _StreamController.add (dart:async/stream_controller.dart:554:5)
#8      _StreamSinkImpl.add (dart:io/io_sink.dart:136:17)
#9      _IOSinkImpl.write (dart:io/io_sink.dart:269:5)
#10     _IOSinkImpl.writeln (dart:io/io_sink.dart:289:5)
#11     _StdSink.writeln (dart:io/stdio.dart:319:11)
#12     FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:747:19)
#13     _FlutterFrontendCompiler.recompileDelta (package:flutter_frontend_server/server.dart:48:22)

#14     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1167:20)
#15     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1093:15)
#16     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
#17     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#18     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#19     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#20     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#21     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#22     _LineSplitterSink._addLines (dart:convert/line_splitter.dart:155:13)
#23     _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:130:5)
#24     StringConversionSinkMixin.add (dart:convert/string_conversion.dart:163:5)

#25     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#26     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
#27     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#28     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#29     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#30     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#31     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#32     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)
#33     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:317:20)
#34     _Utf8ConversionSink.add (dart:convert/string_conversion.dart:310:5)
#35     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:72:18)
#36     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#37     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
#38     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#39     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#40     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
#41     _StreamController._add (dart:async/stream_controller.dart:607:7)
#42     _StreamController.add (dart:async/stream_controller.dart:554:5)
#43     _Socket._onData (dart:io-patch/socket_patch.dart:2144:41)
#44     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
#45     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#46     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#47     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
#48     _StreamController._add (dart:async/stream_controller.dart:607:7)
#49     _StreamController.add (dart:async/stream_controller.dart:554:5)
#50     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1680:33)

#51     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1192:14)
#52     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#53     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#54     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
#55     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

the Dart compiler exited unexpectedly.
Exited (sigterm)

 flutter doctor -v
[√] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.0.5 at C:\Users\Akash\fvm\default
    • Framework revision adc687823a (2 weeks ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.55.2)
    • VS Code at C:\Users\Akash\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 90.0.818.51

! Doctor found issues in 2 categories.

Hi @Akash4097
Please run your project with flutter run --verbose and once the issue reproduces, provide the logs.
Thank you

Hi @pedromassangocode
here is what i got
PS C:\Users\Akash\Desktop\demo> flutter run --verbose
[  +91 ms] executing: [C:\Users\Akash\fvm\default/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +64 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] adc687823a831bbebe28bdccfac1a628ca621513
[   +1 ms] executing: [C:\Users\Akash\fvm\default/] git tag --points-at adc687823a831bbebe28bdccfac1a628ca621513
[  +92 ms] Exit code 0 from: git tag --points-at adc687823a831bbebe28bdccfac1a628ca621513
[        ] 2.0.5
[  +44 ms] executing: [C:\Users\Akash\fvm\default/] git rev-parse --abbrev-ref --symbolic @{u}
[  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\Akash\fvm\default/] git ls-remote --get-url origin
[  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +225 ms] Unable to locate an Android SDK.
[   +5 ms] executing: [C:\Users\Akash\fvm\default/] git rev-parse --abbrev-ref HEAD
[  +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +58 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +105 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +58 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +85 ms] Multiple devices found:
[  +23 ms] Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
[   +2 ms] Edge (web)   • edge   • web-javascript • Microsoft Edge 90.0.818.51
[   +2 ms] [1]: Chrome (chrome)
[   +1 ms] [2]: Edge (edge)
[   +3 ms] Please choose one (To quit, press "q/Q")
[   +1 ms] :
[+9063 ms] 2
[  +71 ms] Skipping pub get: version match.
[ +207 ms] Generating C:\Users\Akash\Desktop\demo\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +123 ms] Launching lib\main.dart on Edge in debug mode...
[ +161 ms] Updating assets
[ +220 ms] Waiting for connection from debug service on Edge...
[ +192 ms] <- reset
[  +12 ms] C:\Users\Akash\fvm\default\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Akash\fvm\default\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Akash\fvm\default\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Akash\AppData\Local\Temp\flutter_tools.f2376481\flutter_tool.b56f4336\app.dill --libraries-spec
file:///C:/Users/Akash/fvm/default/bin/cache/flutter_web_sdk/libraries.json --packages
C:\Users\Akash\Desktop\demo\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-root C:\Users\Akash\AppData\Local\Temp\flutter_tools.f2376481\flutter_tools.ebf1abdf
--filesystem-scheme org-dartlang-app --initialize-from-dill build\c7922d95bf4a2462b75c84a97c312edb.cache.dill.track.dill --platformfile:///C:/Users/Akash/fvm/default/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --no-sound-null-safety
[  +16 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+17917 ms] Waiting for connection from debug service on Edge... (completed in 18.1s)
[   +1 ms] Synced 29.2MB.
[   +1 ms] <- accept
[        ] Caching compiled dill
[+30541 ms] Using
[+13046 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:50996/devtools/browser/da4473d4-2a14-4a1d-ae1e-b5ab36ad64cd
[ +521 ms] DwdsInjector: Received request for entrypoint at http://localhost:50947/main_module.bootstrap.js
[   +9 ms] MetadataProvider: Loading debug metadata...
[  +13 ms] MetadataProvider: Loaded debug metadata
[   +6 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:50947/main_module.bootstrap.js
[+6019 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:51022/TWoz0X_bGN4=/ws

[  +12 ms] Debug service listening on ws://<IP_ADDRESS>:51022/TWoz0X_bGN4=/ws
[   +1 ms] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +2 ms]   To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+28788 ms] Performing hot restart...
[  +12 ms] Initializing file store
[  +43 ms] Skipping target: gen_localizations
[  +11 ms] complete
[ +211 ms] Scanned through 512 files in 208ms
[   +1 ms] Waiting for connection from debug service on Edge...
[   +2 ms] <- recompile org-dartlang-app:/web_entrypoint.dart 99007c04-da17-4f18-bf7b-9eb7606a4da6
[        ] <- 99007c04-da17-4f18-bf7b-9eb7606a4da6
[   +8 ms] Unhandled exception:
[   +2 ms] FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed.
[   +1 ms] , errno = 232)
[   +1 ms] #0      _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:870:7)
[   +1 ms] #1      _StdConsumer.addStream.<anonymous closure> (dart:io/stdio.dart:286:15)
[        ] #2      _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
[        ] #3      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
[        ] #4      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
[   +1 ms] #5      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
[   +1 ms] #6      _StreamController._add (dart:async/stream_controller.dart:607:7)
[        ] #7      _StreamController.add (dart:async/stream_controller.dart:554:5)
[        ] #8      _StreamSinkImpl.add (dart:io/io_sink.dart:136:17)
[        ] #9      _IOSinkImpl.write (dart:io/io_sink.dart:269:5)
[        ] #10     _IOSinkImpl.writeln (dart:io/io_sink.dart:289:5)
[        ] #11     _StdSink.writeln (dart:io/stdio.dart:319:11)
[        ] #12     FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:747:19)
[        ] #13     _FlutterFrontendCompiler.recompileDelta (package:flutter_frontend_server/server.dart:48:22)
[        ] #14     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1167:20)
[        ] #15     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1093:15)
[   +1 ms] #16     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
[        ] #17     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
[        ] #18     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
[        ] #19     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
[   +1 ms] #20     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
[        ] #21     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
[        ] #22     _LineSplitterSink._addLines (dart:convert/line_splitter.dart:155:13)
[        ] #23     _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:130:5)
[        ] #24     StringConversionSinkMixin.add (dart:convert/string_conversion.dart:163:5)
[        ] #25     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
[   +1 ms] #26     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
[        ] #27     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
[        ] #28     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
[        ] #29     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
[        ] #30     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
[        ] #31     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
[        ] #32     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)
[        ] #33     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:317:20)
[        ] #34     _Utf8ConversionSink.add (dart:convert/string_conversion.dart:310:5)
[        ] #35     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:72:18)
[        ] #36     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
[        ] #37     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
[   +1 ms] #38     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
[        ] #39     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
[        ] #40     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
[        ] #41     _StreamController._add (dart:async/stream_controller.dart:607:7)
[        ] #42     _StreamController.add (dart:async/stream_controller.dart:554:5)
[        ] #43     _Socket._onData (dart:io-patch/socket_patch.dart:2144:41)
[        ] #44     _RootZone.runUnaryGuarded (dart:async/zone.dart:1546:10)
[        ] #45     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
[        ] #46     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
[        ] #47     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
[        ] #48     _StreamController._add (dart:async/stream_controller.dart:607:7)
[        ] #49     _StreamController.add (dart:async/stream_controller.dart:554:5)
[        ] #50     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1680:33)
[        ] #51     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1192:14)
[   +1 ms] #52     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
[   +1 ms] #53     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
[        ] #54     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
[        ] #55     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
[  +44 ms] "flutter run" took 107,660ms.
[   +4 ms] the Dart compiler exited unexpectedly.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      DefaultResidentCompiler._compile.<anonymous closure> (package:flutter_tools/src/compile.dart:721:9)
           #2      _rootRunUnary (dart:async/zone.dart:1362:47)
           #3      _CustomZone.runUnary (dart:async/zone.dart:1265:19)
           #4      _FutureListener.handleValue (dart:async/future_impl.dart:152:18)
           #5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:704:45)
           #6      Future._propagateToListeners (dart:async/future_impl.dart:733:32)
           #7      Future._completeWithValue (dart:async/future_impl.dart:539:5)
           #8      Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:577:7)
           #9      _rootRun (dart:async/zone.dart:1354:13)
           #10     _CustomZone.run (dart:async/zone.dart:1258:19)
           #11     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
           #12     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
           #13     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
           #14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
           #15     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
           #16     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

[  +48 ms] DevHandler: Stopped debug service on ws://<IP_ADDRESS>:51020

[+6392 ms] Failed to clean up temp directory: C:\Users\Akash\AppData\Local\Temp\flutter_tools.f2376481\flutter_tools.ebf1abdf
[   +6 ms] ensureAnalyticsSent: 6438ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[ +265 ms] Shutdown hooks complete
[   +2 ms] exiting with code 1

Hey @pedromassangocode
Any fix for this issue?

Hi @Akash4097
Not yet. You will get updates about this issue!

okay thanks @pedromassangocode

Hey @pedromassangocode any progress?

FileSystemException: Creation of temporary directory failed, path = 'C:\PROGRA~1\KMSpico\temp\flutter_tools.' (OS Error: Access is denied.
, errno = 5)
Exited (1)
any solution to this

I got the same issue on flutter upgrade.
My debug session was closing automatically too. I tried flutter doctor but no error.
This was the output of flutter upgrade -v. But it updated anyway. Even thought, debug session is still closing auto...

Unhandled exception:
FileSystemException: writeFrom failed, path = '' (OS Error: O pipe está sendo fechado.
, errno = 232)
#0      _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:873:7)
#1      _StdConsumer.addStream.<anonymous closure> (dart:io/stdio.dart:286:15)
#2      _rootRunUnary (dart:async/zone.dart:1442:13)
#3      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#4      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#5      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#6      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#7      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#8      _StreamController._add (dart:async/stream_controller.dart:648:7)
#9      _StreamController.add (dart:async/stream_controller.dart:596:5)
#10     _StreamSinkImpl.add (dart:io/io_sink.dart:136:17)
#11     _IOSinkImpl.write (dart:io/io_sink.dart:269:5)
#12     _StdSink.write (dart:io/stdio.dart:315:11)
#13     Stdio._stdioWrite.<anonymous closure> (package:flutter_tools/src/base/io.dart:359:12)
#14     Stdio._stdioWrite.<anonymous closure> (package:flutter_tools/src/base/io.dart:358:22)
#15     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
#16     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
#17     _rootRun (dart:async/zone.dart:1426:13)
#18     _CustomZone.run (dart:async/zone.dart:1328:19)
#19     _runZoned (dart:async/zone.dart:1861:10)
#20     runZonedGuarded (dart:async/zone.dart:1849:12)
#21     runZoned (dart:async/zone.dart:1780:12)
#22     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#23     Stdio._stdioWrite (package:flutter_tools/src/base/io.dart:358:5)
#24     Stdio.stdoutWrite (package:flutter_tools/src/base/io.dart:344:7)
#25     SummaryStatus._writeToStdOut (package:flutter_tools/src/base/logger.dart:1204:49)
#26     SummaryStatus._printMessage (package:flutter_tools/src/base/logger.dart:1208:5)
#27     SummaryStatus.start (package:flutter_tools/src/base/logger.dart:1200:5)
#28     StdoutLogger.startProgress (package:flutter_tools/src/base/logger.dart:568:10)
#29     ArtifactUpdater._downloadArchive (package:flutter_tools/src/cache.dart:1047:24)
#30     ArtifactUpdater.downloadZipArchive (package:flutter_tools/src/cache.dart:1016:12)
#31     EngineCachedArtifact.updateInner (package:flutter_tools/src/cache.dart:910:29)
<asynchronous suspension>
#32     CachedArtifact.update (package:flutter_tools/src/cache.dart:812:5)
<asynchronous suspension>
#33     Cache.updateAll (package:flutter_tools/src/cache.dart:681:9)
<asynchronous suspension>
#34     PrecacheCommand.runCommand (package:flutter_tools/src/commands/precache.dart:174:7)
<asynchronous suspension>
#35     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
<asynchronous suspension>
#36     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#37     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#38     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#39     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#40     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#41     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#42     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#43     main (package:flutter_tools/executable.dart:94:3)
<asynchronous suspension>

@Akash4097
Can you confirm if you still get same error using latest stable version of the framework ?

Hey @darshankawar i actually move to window 11 and don't get this issue any more. Actually this issue i got on windows 10 which is i am no longer use it, so it may occur in window 10.

im using Windows 11
Flutter version 3.3.6
Dart version 2.18.2
and i also got this issue
Unhandled exception:
FileSystemException: writeFrom failed, path = '' (OS Error: Le canal de communication est sur le point d’être fermé.

, errno = 232)
#0      _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:873:7)
#1      _StdConsumer.addStream.<anonymous closure> (dart:io/stdio.dart:309:15)
#2      _RootZone.runUnaryGuarded (dart:async/zone.dart:1586:10)
#3      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#4      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#5      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#6      _StreamController._add (dart:async/stream_controller.dart:648:7)
#7      _StreamController.add (dart:async/stream_controller.dart:596:5)
#8      _StreamSinkImpl.add (dart:io/io_sink.dart:136:17)
#9      _IOSinkImpl.write (dart:io/io_sink.dart:269:5)
#10     _IOSinkImpl.writeln (dart:io/io_sink.dart:289:5)
#11     _StdSink.writeln (dart:io/stdio.dart:342:11)
#12     FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:824:19)
#13     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1272:20)
#14     _RootZone.runUnaryGuarded (dart:async/zone.dart:1586:10)
#15     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#16     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#17     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#18     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#19     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#20     _LineSplitterSink._addLines (dart:convert/line_splitter.dart:170:13)
#21     _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:145:5)
#22     StringConversionSinkMixin.add (dart:convert/string_conversion.dart:163:5)
#23     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#24     _RootZone.runUnaryGuarded (dart:async/zone.dart:1586:10)
#25     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#26     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#27     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#28     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#29     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#30     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)
#31     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:317:20)
#32     _Utf8ConversionSink.add (dart:convert/string_conversion.dart:310:5)
#33     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:72:18)
#34     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#35     _RootZone.runUnaryGuarded (dart:async/zone.dart:1586:10)
#36     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#37     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#38     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#39     _StreamController._add (dart:async/stream_controller.dart:648:7)
#40     _StreamController.add (dart:async/stream_controller.dart:596:5)
#41     _Socket._onData (dart:io-patch/socket_patch.dart:2324:41)
#42     _RootZone.runUnaryGuarded (dart:async/zone.dart:1586:10)
#43     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#44     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#45     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#46     _StreamController._add (dart:async/stream_controller.dart:648:7)
#47     _StreamController.add (dart:async/stream_controller.dart:596:5)
#48     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1849:33)
#49     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1322:14)
#50     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#51     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#52     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:122:13)
#53     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:193:5)

the Dart compiler exited unexpectedly.

I got the same issue with Windows 11:
Unhandled exception: FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed. , errno = 232)
Here's how I resolved it:
The problem was related to the project location being on a different partition than the one where Windows is installed (D:/ instead of C:/).
To fix it, I moved my Flutter project to the C:/ drive, where Windows is installed and  the exception was resolved.

I know it might seem a bit unconventional, but this worked for me.

hey, I'm getting the same issue too, does anyone knows about this issue?
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
√  Built build\app\outputs\flutter-apk\app-debug.apk.
I/le.travel_buddy(12565): Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals()
W/Parcel  (12565): Expecting binder but got null!

Fix for Flutter FileSystemException: writeFrom failed (OS Error: The pipe is being closed)
I recently encountered a FileSystemException in Flutter while debugging my Flutter code. The error message I received was: "FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed., errno = 232)." After some investigation, I found the root cause and a solution to this problem, which I want to share with the community.
The problem occurred because there was a real-time scanning app on my computer (McAfee in my case) that was interfering with my Flutter app's ability to write files during debugging. I believe this real-time scanning was deleting some files created by my Flutter app while it was running.
To fix this issue, I completely removed the app ( Disabling Real-Time Scanning was not a solution because the app keeps re-enabling scanning automatically.)
I hope this solution helps you resolve the FileSystemException issue in your Flutter debugging process.

hey, I'm getting the same issue too, does anyone knows about this issue?
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... √ Built build\app\outputs\flutter-apk\app-debug.apk. I/le.travel_buddy(12565): Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals() W/Parcel (12565): Expecting binder but got null!


Error pickling pydantic-core internal TzInfo type

Example Code:
from datetime import datetime
# from dataclasses import astuple

from pydantic import BaseModel
from devtools import debug

class MyModel(BaseModel):
    ts: datetime

m = MyModel.model_validate_json('{"ts": "2023-02-15T16:23:44.037Z"}')
debug(m)

import pickle
pickle.dumps(m.ts)

Output:
poc2.py:13 <module>
    m: MyModel(
        ts=datetime.datetime(2023, 2, 15, 16, 23, 44, 37000, tzinfo=TzInfo(UTC)),
    ) (MyModel)
Traceback (most recent call last):
  File "/Users/arnorgj/Documents/pydantic-bug-report/poc2.py", line 16, in <module>
    pickle.dumps(m.ts)
_pickle.PicklingError: Can't pickle <class 'pydantic_core._pydantic_core.TzInfo'>: attribute lookup TzInfo on pydantic_core._pydantic_core failed

Version info:
             pydantic version: 2.0a3
        pydantic-core version: 0.29.0 release build profile
                 install path: /Users/arnorgj/Documents/pydantic-bug-report/.venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.3 (main, Apr  7 2023, 20:13:31) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
                     platform: macOS-13.3.1-arm64-arm-64bit
     optional deps. installed: ['devtools', 'typing-extensions']

Also affected by this, have there been any update on this @dmontagu ?

Is there any update to this as I am also affected?


chore: remove deprecated code

#134  👈
main

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

Join @AngelOnFira and the rest of your teammates on  Graphite


Freedompraise/issue355

Description:
This pull request addresses the issue #355. The goal is to enhance the user experience by allowing seamless and real-time comment deletion without the need for manual refresh.
Changes Made:

Added HTMX-powered comment deletion functionality.
Utilized the hx-delete attribute to send an AJAX request for comment deletion.
Verified that the backend successfully deletes comments without page reload.
Ensured that the server response includes the updated comments section.

Testing:
It passes the existing tests for comment-deletion
Notes for Reviewers:
This pull request focuses on enhancing the user experience by implementing real-time comment deletion using HTMX, however at the moment, you still have to manually refresh the page after deletion

Hey @freedompraise. You were pretty close. I made these changes.

The HTTP request type was changed to DELETE instead of POST because we are deleting an element.
The response code should be 200, not 204, according the the hx-delete documentation

To remove the element following a successful DELETE, return a 200 status code with an empty body; if the server responds with a 204, no swap takes place, documented here: Requests & Responses

The CSRF token needs to be placed into the headers when using a DELETE request according to this SO comment
The target shouldn't be the comments-list because we only want to delete one comment, not all of them. I changed it to closest li to delete the whole comment from the DOM. See the docs on targets for more info.

Have a look and try it out now.

Hey @freedompraise. You were pretty close. I made these changes.

The HTTP request type was changed to DELETE instead of POST because we are deleting an element.
The response code should be 200, not 204, according the the hx-delete documentation

To remove the element following a successful DELETE, return a 200 status code with an empty body; if the server responds with a 204, no swap takes place, documented here: Requests & Responses

The CSRF token needs to be placed into the headers when using a DELETE request according to this SO comment
The target shouldn't be the comments-list because we only want to delete one comment, not all of them. I changed it to closest li to delete the whole comment from the DOM. See the docs on targets for more info.

Have a look and try it out now.

alright, I will go through it

I've observed it, and it works fine.
I'm going to merge now


[requires.io] dependency update on master branch

Coverage remained the same at 100.0% when pulling 3417c9af145662d74f9a7889f64d8254d8ab5609 on requires-io-master into 762685f7e4acbbe297d365109e7a53c1a410821a on master.


Month mode

Hi
Would it be possible to support "months" mode, like bootstrap datepicker?

Expected Behavior
Option for months mode (no day selection, header is year selector).
Thx

Hello,
Whilst convenient, I don't find this particular functionality to warrant the effort required.
However, month selection will definitely be improved. I'm planning to allow either typing the month in, or scrolling on months, or both.
See #535