Cannot run Linux GUI apps in windows: Error: cannot open display: :0

Windows build number:
Microsoft Windows [Version 10.0.22621.674]
Your Distribution version:
Kali Release:        2022.3
Your WSL versions:
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.674
Steps to reproduce:
Attempt to run a GUI app from WSL.
WSL logs:
pulseaudio.log
stderr.log
weston.log
WSL dumps:
No response
Expected behavior:
I expected GUI apps to open in Windows.
Actual behavior:
It didn't open. Received:
Error: cannot open display: :0

Check this troubleshooting: https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg

That's how I wound up here. 😁
I will say that /tmp/.X11-unix appears to be a hard link and not a soft link. It does not contain X0 either. If I am running Win-KeX, it will show X1.
drwxrwxrwt  2 root  root    40 Oct 28 11:22 .X11-unix

Win-KeX starts its Xserver, so let's keep it out of the equation.
your issue looks like this: https://github.com/microsoft/wslg/issues/844 or https://github.com/microsoft/wslg/issues/853
Check the troubleshooting there if you see something in the dumps.
You can also try a clean Kali installation before running Win-KeX to see if it is creating something in .X11-unix

So #844 appears to be an issue with running multiple distros and systemd. I am running systemd, but only one distro. Plus, it is said to be resolved by a WSL update. I am running the latest version of WSL.
#853 suggests disabling my display device which I am not going to attempt.
Do you happen to know how to install a second instance of Kali? It looks like I need a tar ball, but I don't see one offered by Kali.

Ok. I disabled systemd and that was the problem. The lastest WSL did not resolve that issue for me.

So #844 appears to be an issue with running multiple distros and systemd. I am running systemd, but only one distro. Plus, it is said to be resolved by a WSL update. I am running the latest version of WSL.
#853 suggests disabling my display device which I am not going to attempt.
Do you happen to know how to install a second instance of Kali? It looks like I need a tar ball, but I don't see one offered by Kali.

To install another instance you need to wsl --export ...  your current one, and import it again with another name and path.

I upgraded to Windows 11 today and when I activated systemd in wsl ubuntu 20.04 it broke wslg giving an error of cant connect to display:0 and when I disabled it again in my /etc/wsl.conf it worked again. It's been a long day of testing all this as I come from a Linux background and haven't looked at windows in years.
I will post my setup details in the morning. Thanks to all the many posts I patiently trawled to come to my conclusion 11 hours into my upgrade lol.

@jimthedj65 test with this version: https://github.com/microsoft/WSL/releases/tag/0.70.8

result after deactivating systemd isan X sessions starts again.
$ls -la /tmp/.X11-unix/
total 4
drwxrwxrwx  2 root  root    60 Nov  9 22:16 .
drwxrwxrwt 27 root  root  4096 Nov  9 22:17 ..
srwxrwxrwx  1 james james    0 Nov  9 22:16 X0

I noticed that inxi -G was showing that I had no renderer installed and decided to rebuild my 21.04 and its now running chrome with hardware acceleration and no longer broken.
Looks like a few rabbit holes with X breaking here and there.
OpenGL: renderer: D3D12 (NVIDIA GeForce RTX 3080 Ti) v: 3.3 Mesa 21.2.6 Happy Days

I noticed that inxi -G was showing that I had no renderer installed and decided to rebuild my 21.04 and its now running chrome with hardware acceleration and no longer broken.
Looks like a few rabbit holes with X breaking here and there.
OpenGL: renderer: D3D12 (NVIDIA GeForce RTX 3080 Ti) v: 3.3 Mesa 21.2.6 Happy Days

What did you rebuild? The kernel? mesa?

No improvement for me with 0.70.8.

I noticed that inxi -G was showing that I had no renderer installed and decided to rebuild my 21.04 and its now running chrome with hardware acceleration and no longer broken.
Looks like a few rabbit holes with X breaking here and there.
OpenGL: renderer: D3D12 (NVIDIA GeForce RTX 3080 Ti) v: 3.3 Mesa 21.2.6 Happy Days

What did you rebuild? The kernel? mesa?

Hi crramirez,
I scrubbed everything and went into the Microsoft store and downloaded the Ubuntu 22.04 and then carefully looked at all the communication out there between Nvidia, Ubuntu, Microsoft and realised there were a number of conflicts.  I think previously I had installed the Nvidia drivers as I wasn't getting the nvidia-smi, then realised on the rebuild that nvidia-smi lived in /usr/lib/wsl/lib etc
The only issue I now have is google-chrome build inconsistently picking up hardware acceleration and then defaulting back to software acceleration through chrome://gpu . I think this is a misreport leading to a false - positive and it is actually running as my renderer reports ok and glxgears runs fine as well as other apps like audio and 4k youtube playback.  I am trying to figure out now if I can get vurtualgl to run and force hardware rendering on glxgears though vglrun glxgears etc.
hope it helps, I think most of the issues with X and wslg are misunderstandings on what to build and in what sequence.
Does virtualgl run under WSL ?

I have this very predictable now, systemd in wsl.conf definitely breaks wslg and when turning off, allows the renderer to come back again and allows the the X0 to be created.  Also thankfully I have google-chrome more stable, most of it was solved by installing from the store and using windows terminal instead of powershell, powershell breaks very easily with paths and so on.
I hope it helps someone to know that it is definitely bleeding edge all of this, so much conflicting information about the sequence of events.  I still have issues runner docker ML and cuda samples but in general its all working for apps and X11 apps.  I have upgraded to latest Nvidia drivers 526.86
Inxi -G  reports
Graphics:  Device-1: Microsoft driver: dxgkrnl v: 2.0.1            Display: wayland-0 server: Microsoft Corporation X.org 1.20.13 driver: fbdev,vesa unloaded: modesetting            resolution: 3840x1080~60Hz, 1024x640~60Hz            OpenGL: renderer: D3D12 (NVIDIA GeForce RTX 3080 Ti) v: 3.3 Mesa 21.2.6
GPU0 VENDOR= 0x1414 [Google Inc. (Microsoft Corporation)], DEVICE=0x008e [ANGLE (Microsoft Corporation, D3D12 (NVIDIA GeForce RTX 3080 Ti), OpenGL 3.3 (Core Profile) Mesa 21.2.6)], DRIVER_VENDOR=Mesa, DRIVER_VERSION=21.2.6 *ACTIVE*

On the subject of Cuda when running latest ubuntu 22.04 and followng the standard nvidia instructions [https://docs.nvidia.com/cuda/wsl-user-guide/index.html]
Dockerd runshas in the background (daemon)
docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
Error: only 0 Devices available, 1 requested.  Exiting.
when I RUN nvidia-smi dockker build
docker run -it --gpus=all --rm nvidia/cuda:11.4.2-base-ubuntu20.04 nvidia-smidocker run -it --gpus=all --rm nvidia/cuda:11.4.2-base-ubuntu20.04 nvidia-smi
Dameon reports
ERRO[2022-11-13T22:39:04.629102170Z] copy shim log                                 error="read /proc/self/fd/14: file already closed" ERRO[2022-11-13T22:39:04.631153170Z] stream copy error: reading from a closed fifo ERRO[2022-11-13T22:39:04.886924164Z] 751dd3ef0a1bbbdc1c1884e890cf8be249e3064c3053370380b4aea95d7ffeeb cleanup: failed to delete container from containerd: no such container
when sunning hashcat docker
docker run -it --gpus=all --rm dizcza/docker-hashcat //bin/bash
The docker loads but reports an error
hashcat -b
hashcat (v6.2.6) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
cuInit(): no CUDA-capable device is detected
clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR
ATTENTION! No OpenCL, HIP or CUDA compatible platform found.
You are probably missing the OpenCL, CUDA or HIP runtime installation.

AMD GPUs on Linux require this driver:
"AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
Intel CPUs require this runtime:
"OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
NVIDIA GPUs require this runtime and/or driver (both):
"NVIDIA Driver" (440.64 or later)
"CUDA Toolkit" (9.0 or later)

Started: Sun Nov 13 22:45:02 2022
Stopped: Sun Nov 13 22:45:02 2022
nvidia-smi runs fine
root@eb5bc0c0d375:~# nvidia-smi
Sun Nov 13 22:45:14 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.46       Driver Version: 526.86       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0  On |                  N/A |
| 47%   47C    P8    20W / 350W |    637MiB / 12288MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A        21      G   /Xwayland                       N/A      |
|    0   N/A  N/A        32      G   /Xwayland                       N/A      |
+-----------------------------------------------------------------------------+
root@eb5bc0c0d375:~#
deviceQuery from the samples runs fine
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "NVIDIA GeForce RTX 3080 Ti"
CUDA Driver Version / Runtime Version          12.0 / 11.8
CUDA Capability Major/Minor version number:    8.6
Total amount of global memory:                 12288 MBytes<PHONE_NUMBER>0 bytes)
(080) Multiprocessors, (128) CUDA Cores/MP:    10240 CUDA Cores
GPU Max Clock rate:                            1695 MHz (1.70 GHz)
Memory Clock rate:                             9501 Mhz
Memory Bus Width:                              384-bit
L2 Cache Size:                                 6291456 bytes
Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
Total amount of constant memory:               65536 bytes
Total amount of shared memory per block:       49152 bytes
Total shared memory per multiprocessor:        102400 bytes
Total number of registers available per block: 65536
Warp size:                                     32
Maximum number of threads per multiprocessor:  1536
Maximum number of threads per block:           1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size    (x,y,z):<PHONE_NUMBER>, 65535, 65535)
Maximum memory pitch:<PHONE_NUMBER> bytes
Texture alignment:                             512 bytes
Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
Run time limit on kernels:                     Yes
Integrated GPU sharing Host Memory:            No
Support host page-locked memory mapping:       Yes
Alignment requirement for Surfaces:            Yes
Device has ECC support:                        Disabled
Device supports Unified Addressing (UVA):      Yes
Device supports Managed Memory:                Yes
Device supports Compute Preemption:            Yes
Supports Cooperative Kernel Launch:            Yes
Supports MultiDevice Co-op Kernel Launch:      No
Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 12.0, CUDA Runtime Version = 11.8, NumDevs = 1
Result = PASS

Currently we are investigating X socket doesn't present when systemd is enabled, it is not happening every environment, such as specific distro, but we do observe in various situation, so as workaround, please try workaround mentioneed at https://github.com/microsoft/WSL/issues/9158, or disable systemd if possible. If you are experiencing this issue without systemd enabled (and make sure on the latest WSL <IP_ADDRESS>), please let us know, thanks!

I updated to WSL 1.0. Enabled systemd. Ran the following commands:
sudo systemd-tmpfiles --boot --create
sudo ln -sf /mnt/wslg/.X11-unix /tmp/.X11-unix
This has not resolved my issue. I cannot open Firefox or Wireshark. However, I can open mousepad and mate-calc.

I updated to WSL 1.0. Enabled systemd. Ran the following commands:
sudo systemd-tmpfiles --boot --create sudo ln -sf /mnt/wslg/.X11-unix /tmp/.X11-unix
This has not resolved my issue. I cannot open Firefox or Wireshark. However, I can open mousepad and mate-calc.

Thanks, I can open xeyes and other apps, but can open Firefox installed via snap, but can open Firefox downloaded from AppImage
looks like I can't open any app installed with snap

If you are seeing X11 socket connection issue on Ubuntu, with systemd enabled, please check if gdm service is installed and running by systemctl -t service | grep gdm.service, please let us know, thanks!

@hideyukn88 this means that it should or should not be installed and running?

@crramirez, gdm.service is automatically installed when certain GNOME software is installed, and currently we are thinking this is conflicting with WSLg. Thus, if the service is running, please disable it by sudo systemctl disable gdm.service, then restart WSL. This should restore X connection by WSLg, thanks!

Fixed my X0 problem!  Thank you. Sent from my iPhoneOn Nov 18, 2022, at 11:56 AM, Hideyuki Nagase @.***> wrote:
@crramirez, gdm.service is automatically installed when certain GNOME software is installed, and currently we are thinking this is conflicting with WSLg. Thus, if the service is running, please disable it by sudo systemctl disable gdm.service, then restart WSL. This should restore X connection by WSLg, thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

@crramirez, gdm.service is automatically installed when certain GNOME software is installed, and currently we are thinking this is conflicting with WSLg. Thus, if the service is running, please disable it by sudo systemctl disable gdm.service, then restart WSL. This should restore X connection by WSLg, thanks!

Just a note that this worked for me.

Im having similar problem
when i do ls /mnt i dont see wslg directory

Problem has been resolved with the latest WSL upgrade.
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.963

Problem has been resolved with the latest WSL upgrade. I have enabled systemd and all appears to be functioning.
WSL version: <IP_ADDRESS> Kernel version: <IP_ADDRESS> WSLg version: 1.0.47 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.963

I also solved it the same way

I have discovered that winKex does not open with systemd with the latest version of WSL. If I recall correctly, winKex would open when I first posted my issue, but it was a bit funky in a way I cannot recall.
Error connecting to the KeX server.
Please try "kex start" to start the service.
If the server fails to start, please try "kex kill" or restart your WSL2 session and try again.


[cxx-interop] Move C++ standard library overlay to the toolchain

The swiftCxx and swiftstd modules are currently a part of the SDK, but they should be a part of the toolchain instead.
rdar://103082278

@swift-ci please smoke test


Old comment?

Hi all!
While I'm looking through Kiosk app code I found old comment which I suppose had been written when you used ReactiveCocoa. I'm talking about SaleArtworkDetailsViewController.swift file about comment in viewDidLayoutSubviews function. I'm not sure about how valid this comment now for you guys, but may be its old piece of information which you don't want see in your code =)
Thx!

You mean this comment here? https://github.com/artsy/eidolon/blob/1523618a663ac783838638ff44b62ee60b5424e3/Kiosk/Sale Artwork Details/SaleArtworkDetailsViewController.swift#L43-L54 That's intended to be there, it was added during the move from ReactiveCocoa to RxSwift. Happy to provide more context.

I think this issue is addressed, so I'm going to close it. Feel free to re-open if you have any follow-up 👍


The footer on the docs home page does not appear properly

1. System Info
It's on the remote https://docs.pypots.com, deployed by ReadTheDocs.
2. Information

[X] The official example scripts
[ ] My own created scripts

3. Reproduction
No need to operate.
4. Expected behavior
View this error on https://docs.pypots.com. The footer does not appear at the bottom of the page, but on the right side.

Use this screenshot to persist and show this error.

Fixed in PR #81. This error was caused by docutils v0.18.1. After upgraded to v0.19, it disappeared.


xSQLServerRSConfig: Reporting Services need to restart for Reports web site to work

Details of the scenario you tried and the problem that is occurring:
After configuring reporting services using xSQLserverRSConfig the 'Reports' web site does not work. After a restart of the 'ReportServer$SQL2016' service the Reports web site works.
Error:
Service Unavailable

HTTP Error 503. The service is unavailable.

The DSC configuration that is using the resource (as detailed as possible):
xSQLServerRSConfig 'InstallSSRS2016'
{
    InstanceName = 'SQL2016'
    RSSQLServer = $Node.NodeName
    RSSQLInstanceName = 'SQL2014'

    PsDscRunAsCredential = $SqlAdministratorCredential
}

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows Server 2012 R2, SQL Server 2016 & 2017, WMF 5.0
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev (PR #575)

I've tried this on Win 2012R2 and SQL Server 2014 (default instance), it works without restarting the server. Are you deliberately using two different SQL instances (InstanceName = 'SQL2016', RSSQLInstanceName = 'SQL2014')?

I have not tried with RS in SQL2014 yet. I can do that.
Yes deliberately using SQL2014 for the database engine, and installing both RS for SQL 2016 and SQL 2017, all on the same box, side by side. Using the SQL2014 instance as database for both RS 2016 and RS 2017.
All of them are named instances.
This is my lab environment.
I will test a pure single server as you did above to verify. Named or default instance should not matter, but unsure.

Also... I have to restart the RS service for both 2016 and 2017 for Reports site to work in each.

Ok, no worries. It doesn't hurt to restart when initialising RS.

Where would you prefer me to fix this? #569  or #570?

Another thought - I've noticed that sometimes the RS website needs a long time to "warm up". For example, my DSC configuration assigns some roles on the report manager site right after initialising SSRS.
I've seen runs where it takes almost 5 minutes to make the connection (could also be my crappy VM :) I'm actually using [System.Net.WebRequest] with a long timeout in my custom DSC resource to "warm up" the site. Once that returns, my DSC resource executes New-WebServiceProxy to get SSRS web service proxy.

I would say it's up to you. 😄  I don't mind you adding it to the PR #575, that would the resource work better when that PR is merged. But if you want, you can send it in as a separate PR together with another change.
Regarding warming up, could you submit a separate issue for that? If you feel it's a problem that we need to address.

Just sent in a PR for integration tests. When this issue is resloved an integration tests should be added to verify that the ReportServer and Reports site can be access without throwing http status code 503.

@bozho I run some test on the build worker for the integration tests - looking for a test to verify that the sites respond and I see around 20 seconds of lag before they respond. So if you see longer that you probably have a slower VM.
Working on this, to get the resource to restart the service.

I added a helper function to restart reporting services that uses Restart-Service (similiar to Restart-SqlService helper function). But another option is to use the ManagedComputer class and the Service class.
I don't know if one of these is better than the other. It's much easier to write tests for the Restart-Service so went that direction - but do we loose something when not using the below code?
Using code partly from xSQLServerServiceAccount (by @nabrond) to illustrate the other option.
$managedComputer = New-Object Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer $env:COMPUTERNAME

$SQLInstanceName = 'DSCRS2016'

if ($SQLInstanceName -ieq 'MSSQLServer')
{
    $serviceNamePattern = '^MSSQLServer$'
}
else
{
    $serviceNamePattern = ('\${0}$' -f $SQLInstanceName)
}

$serviceTypeFilter = 'ReportServer'

$serviceObject  = $managedComputer.Services | Where-Object -FilterScript {
       ($_.Type -eq $serviceTypeFilter) -and ($_.Name -imatch $serviceNamePattern)
}

$serviceObject.Stop()
$serviceObject.Refresh()
$serviceObject.Start()

@johlju Yes, ~20 seconds sounds ok. We've had some networking issues with our NAS storage for our VMs, so sometimes things would grind to a halt :)


[WIP] :sparkles: Multi-stage cluster addons and hook server

What this PR does / why we need it:
This PR is about the multi-stage cluster addons feature.
Tasks:

[x] Hook server and Tilt setup
[x] Basic Control loop
[x] Deleting objects that are removed from one Helm chart version to the next
[ ] Handle case where Kubernetes version is not upgraded and hook server does not get triggered
[ ] Put hook server in same container as operator
[ ] Add debug logs for an audit of how clusteraddons got applied
[ ] Improve ClusterAddon.status
[ ] Show debug information in ClusterAddon.status
[ ] Improve error handling of CEL expressions with conditions
[ ] Improve error handling of helm template etc. with conditions
[ ] Testing

Which issue(s) this PR fixes:
Fixes #35
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

closing in favor of #183


Add support for multiple independent folders

On line 89 of "FuzzyFilePath/project/ProjectManager.py", it says "multiple independent folders are not yet supported, which results in ignored folders"... I would like to see this functionality added.
It would also be nice if I could set the "project_directory" and "base_directory" for each of these independent folders separately.

Hi nohawk.
I see two cases.

subfolders added to root via project settings.folders and
basic subfolders which could be declared as separate projects

Which is your use case?
Since a few commits i am working towards this feature, but it might get a little tricky. Meaning, this will take a while and more details would be helpful.
Thank you.

Hi sagold,
I think it may be easiest to give you an example of how things are setup at my job. We develop landing pages for products and then email campaigns for those projects, etc. However the files for the sites and the emails are not created in the same directory...
For example:
/Volumes/web/sites/product1
/Volumes/web/emails/product1
Logically it makes sense to group these together into one project and it would be nice if I could set the behavior for the file path for each folder. For instance, within sites the base_directory might be "assets/images" and in the emails it might be "images".
I hope that helps.
Thanks

Hi nohawk.
This helps. Thank you for the details. I will look into this feature on September.
Cheers.

With release v0.3.0 multiple folders are now supported


B #3597: Fix send credentials noVNC

Fixed sending noVNC credentials with password enabled.

@jloboescalona2 Why make a separate PR for the same changes? PR #3651
In addition, to add additional parameters in the future, it would be more logical to do otherwise:
var rfbConfig = password? { "credentials": { "password": password } } : {};

var rfbConfig = { "credentials": { "password": password || null } };

credentials - An Object specifying the credentials to provide to the server when authenticating. The following credentials are possible:

name
type
description

"username"
DOMString
The user that authenticates

"password"
DOMString
Password for the user

"target"
DOMString
Target machine or session

hi, @tryfunc. Sorry for the inconvenience, but in your PR not valid, the case that does not send password, in that case the RFB configuration should remain the same call to NoVNV, thanks for your contribution


Issue with displaying current items stored in tooltip.

There is a problem with syncing items nbt data throw PolymerItem.
Sometimes when player moves not acceptable items inside BundleLikeItem,
it's tooltip will show this item inside it's inventory, but it will not be consumed.
After reloading bundle's nbt, this item will dispersal from his inventory.
This item could be named a ghost item. It only exists on client side.

I don't know how to fix it, so if anybody know how to do this feel free to try.


bug: Some components are rarely not rendered when scrolling down on android device

Bug Report
Ionic version:

[x] 4.x
Current behavior:
Some components are rarely not rendered when scrolling down on android device.
These components are rendered when device orientation is changed.
We confirmed that elements exists in DOM tree (and should be visible) by using inspector.

Expected behavior:
Components are rendered when scrolling down on android device
Steps to reproduce:

Scroll down on page that has many elements

we haven't seen this issue on elements above the fold

Related code:
Other information:
Device Type: HUAWEI MediaPad T3 10
Device Model: AGS-W09
Android : 7.0
Chrome: 74.0.3729.136
$cordova plugin list
cordova-android-support-gradle-release 2.1.0 "cordova-android-support-gradle-release"
cordova-plugin-advanced-http 2.0.5 "Advanced HTTP plugin"
cordova-plugin-allow-backup 0.0.2 "cordova-plugin-allow-backup"
cordova-plugin-app-update 1.6.0 "AppUpdate"
cordova-plugin-appversion 1.0.0 "App Version"
cordova-plugin-buildinfo 2.0.2 "BuildInfo"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-device-motion 2.0.1 "Device Motion"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-ionic 4.1.7 "IonicCordova"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.4.1 "cordova-plugin-ionic-webview"
cordova-plugin-localization-strings 2.0.0 "Localization"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-market-availability 1.0.0 "Play Store Availability"
cordova-plugin-remove-arm64 0.0.1 "cordova-plugin-remove-arm64"
cordova-plugin-shake 0.6.0 "Shake Gesture Detection"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlite-storage 3.2.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
phonegap-plugin-barcodescanner 7.1.0 "BarcodeScanner"

Ionic info:

ionic info

Ionic:

   ionic (Ionic CLI)             : 4.12.0
   Ionic Framework               : @ionic/angular 4.4.0
   @angular-devkit/build-angular : 0.13.6
   @angular-devkit/schematics    : 7.3.6
   @angular/cli                  : 7.3.6
   @ionic/angular-toolkit        : 1.4.1

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.4, ios 5.0.0
   Cordova Plugins       : cordova-plugin-ionic 4.1.7, cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.4.1, (and 21 other plugins)

System:

   ios-deploy : 1.9.2
   ios-sim    : 7.0.0
   NodeJS     : v8.9.4 (/Users/tsukamotojunichi/.nodebrew/node/v8.9.4/bin/node)
   npm        : 5.6.0
   OS         : macOS Mojave
   Xcode      : Xcode 10.2.1 Build version 10E1001

Hi there,
Thanks for the issue. Can you provide a repository with the code required to reproduce this issue? Also, how much memory does your device have?
Thanks!

Can you provide a repository with the code required to reproduce this issue
I'm sorry but we cannot provide it since it's in our private repo. we will try to create code to reproduce the issue.

how much memory does your device have?
it has 2GB memory.

we have seen this issue only in ionic v4 (not happen in v3).

@liamdebeasi
I sent a movie (it's screen capture of this issue) via e-mail to<EMAIL_ADDRESS>please check it.

Hi @nyamage,
I do not have access to that email account. Are you able to just create a small reproduction on GitHub and send me a link?
Thanks!

Hi there,
I was able to get someone to forward me the email. Are you using virtual scrolling in your application?

NO, I'm not using ion-virtual-scroll.

Thanks for the follow up! Do you have a code sample where this issue happens?


highway=track with surface=paving_stones should result in paved style rendering, not unpaved style rendering

#2847 explains why, and I think we made the right decision re: which tags get a bumpy casing.


Add token reuse

Based on code from haines/pg-aws_rds_iam@e551a07.  Tokens are reused for up to a minute before they expire.  This avoids hitting rate limits imposed on the token generation process, and follows AWS recommendations to reuse tokens for their lifetime.

Closing as duplicated of #5


chore: bdd-spring-1572377359 to 0.0.1

chore: Promote bdd-spring-1572377359 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Reduce Sum and Reduce Mean

ReduceSum(https://github.com/onnx/onnx/blob/master/docs/Operators.md#ReduceSum) and ReduceMean (https://github.com/onnx/onnx/blob/master/docs/Operators.md#ReduceMean) operations for the forward pass, so users are unblocked on more common inference scenario.

Because this is a reduce op, you can map each element input to the corresponding element in the output.
For example, input[i][j][k] ==> output[i'][j'][k']
t'=0 if the t's axis is in the axes,
t'=t otherwise

Also we should have Gradient ops for these two operators.

Further optimization on CPU implementation:
In some cases, you may try to call Eigen function:
https://eigen.tuxfamily.org/dox/group__TutorialReductionsVisitorsBroadcasting.html

Although, we may not targeting GPU implementation in this PR, I think it's still worth to check this function:
http://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html#cudnnReduceTensor

Can we fast track this? Not having this in C2 is blocking an important internal use case


BoolReactiveProperty give NullReferenceException when edit in inspector

Steps:

Create a serializable class that has BoolReactiveProperty inside it
Check the bool property on the inspector
The error shows up in inspector

NullReferenceException: Object reference not set to an instance of an object
UniRx.InspectorDisplayDrawer.GetValueRecursive (System.Object obj, Int32 index, System.String[] paths) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:111)
UniRx.InspectorDisplayDrawer.GetValueRecursive (System.Object obj, Int32 index, System.String[] paths) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:115)
UniRx.InspectorDisplayDrawer.OnGUI (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:90)
UnityEditor.PropertyDrawer.OnGUISafe (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:23)
UnityEditor.PropertyHandler.OnGUI (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:134)
UnityEditor.EditorGUI.PropertyFieldInternal (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:4815)
UnityEditor.EditorGUI.PropertyField (Rect position, UnityEditor.SerializedProperty property, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:760)
UnityEditor.EditorGUI.PropertyField (Rect position, UnityEditor.SerializedProperty property) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:755)
UnityEditor.Editor.OptimizedInspectorGUIImplementation (Rect contentRect) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:229)
UnityEditor.GenericInspector.OnOptimizedInspectorGUI (Rect contentRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/GenericInspector.cs:33)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1142)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:969)
UnityEditor.InspectorWindow.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:350)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Here is the code I used to observe the property:
using UnityEngine;
using System.Collections;
using UniRx;

[System.Serializable]
public class ObjectiveModel{
	public string Id;
	public string Name;
	public string Info;
	public BoolReactiveProperty Finished;

	public int ObjectiveNum = 0;

	public ObjectiveThingsModel[] Objects;

	public void Initialize() {

		ObjectiveNum = Objects.Length;

		//observe everything in objectivethings model
		foreach(ObjectiveThingsModel otm in Objects) {
			otm.Obtained.Where (obtained => obtained == true)
				.Subscribe(_ =>
	           	{
					ObjectiveNum--;
				});

		}
	}
}

Here is how my inspector looked like

Thank you and nice reproduce code.
It was caused by array in object.
I fixed it.

I pulled the commit and tested it again. Now it has the error like this one
InvalidCastException: Cannot cast from source type to destination type.
UniRx.InspectorDisplayDrawer.GetValueRecursive (System.Object obj, Int32 index, System.String[] paths) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:124)
UniRx.InspectorDisplayDrawer.GetValueRecursive (System.Object obj, Int32 index, System.String[] paths) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:142)
UniRx.InspectorDisplayDrawer.OnGUI (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:95)
UnityEditor.PropertyDrawer.OnGUISafe (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:23)
UnityEditor.PropertyHandler.OnGUI (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:134)
UnityEditor.EditorGUI.PropertyFieldInternal (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:4815)
UnityEditor.EditorGUI.PropertyField (Rect position, UnityEditor.SerializedProperty property, Boolean includeChildren) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:760)
UnityEditor.EditorGUI.PropertyField (Rect position, UnityEditor.SerializedProperty property) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:755)
UnityEditor.Editor.OptimizedInspectorGUIImplementation (Rect contentRect) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:229)
UnityEditor.GenericInspector.OnOptimizedInspectorGUI (Rect contentRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/GenericInspector.cs:33)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1142)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:969)
UnityEditor.InspectorWindow.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:350)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Oh, sorry.
But my environment(4.6.3f1 and 5.1.0f3) works fine.
I added logging code, please pull latest and tell me its log
https://github.com/neuecc/UniRx/blob/master/Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs#L138
and your Unity version and full reproduce code.

I am also using 5.1.0f3 Unity.
Here's the error output that you asked
InspectorDisplayDrawer Exception, objType:List`1 path:Objectives, Array, data[0], Finished
UnityEngine.Debug:Log(Object)
UniRx.InspectorDisplayDrawer:GetValueRecursive(Object, Int32, String[]) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:138)
UniRx.InspectorDisplayDrawer:GetValueRecursive(Object, Int32, String[]) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:150)
UniRx.InspectorDisplayDrawer:OnGUI(Rect, SerializedProperty, GUIContent) (at Assets/UniRx/Scripts/UnityEngineBridge/InspectorDisplayDrawer.cs:95)
UnityEditor.DockArea:OnGUI()

Here's the full project I used that has this issue https://github.com/igrir/ObjectiveManager

Thank you, I only assume array but I overlook List<T>.
I've fixed, please try it.

Awesome! It's funny that I also found out about Array and List issue after testing a new class just several minutes ago. Thanks!


Improvements to support for .pxp files by IgorIO

Add support for IgorIO.read(), read_block(), read_segment() for .pxp files (currently only read_analogsignal() works for such files)
Unfortunately, the only test file I have to hand is 480 MB, which I think is too big to add to the test file repository. Does anyone have any smaller .pxp files we could use for automated testing?

@rgerkin would you mind taking a look?

Andrew, there is a small 64k test file 'polar-graphs-demo.pxp' here
https://github.com/wking/igor/blob/master/test/data/

@apdavison I have lots of files that I can test this on.  My understanding of what you want to do here is:
-- read_segment will recursively load every wave or variable from the file, flattening the directory structure completely
-- read_block will create a block with one segment, equal to the result of read_segment
I tested it on one file and it works.  However, do you think it might be better to preserve the folder hierarchy in the Igor file (folder is just the Igor name for a directory within the .pxp file, not a directory on disk)?  Every folder could be a block (many people organize different recordings or stimulus conditions by folder).  It should be possible to do the same kind of recursive walk to implement that.  I'm not sure how to deal with subfolders (does Neo do blocks within blocks?).

@rgerkin if you have files that have a hierarchy, I'd be happy to improve the PR - the only files I have all have a flat folder structure.
One option is to have the bottom level of hierarchy be a Segment containing multiple signals, then the second level would be a Block containing multiple segments, finally we can return a list of blocks (this is what IO.read() returns). For hierarchies beyond three levels, we would need a special IO method to return lists of lists...
The semantics of the Neo Segment is that all the data objects inside have a common time reference. Would this fit with how .pxp files are usually used? Are there any metadata inside the files that indicate this, do you know?
An alternative (could be an option) would be to preserve the folder hierarchy through an annotation holding the original path of each signal.

@a1eko many thanks for that link.

@apdavison I've sent you a link with some wild Igor file to use as test cases.  I can produce some more carefully structured new ones at some point to use for the resulting unit tests.
Generally there is no guarantee about any metadata in an Igor .pxp file.  The acquisition package that I wrote a long time ago here has some, but lots of other people use Igor in different ways.  I think instead we should wait for something like this to be discussed and developed, and then Igor users can make sure to put the appropriate metadata into their files.
Hierarchies could go arbitrarily deep.  In my acquisition package, each cell has a folder, and each folder has many objects corresponding to sequentially collected sweeps (AnalogSignals).  Sweeps with the same name across folders are recorded concurrently.  But for other acquisition packages in Igor, such as what Allen Institute uses, or what BBP has used, or other smaller labs, completely different conventions are used.  Even in my package, it is theoretically possible for the sampling rate to change between sweeps, so one cannot even rely on the same time base across the experiment.
To account for all of this variability, your final suggestion of just keeping an annotation with the original path is probably best.

I finally got back to this. @rgerkin all the test files you sent load successfully, except "2018.06.02 Cell1.pxp" where I get an error from the igor package (https://pypi.python.org/pypi/igor/):
igor - ERROR - could not reshape data from [2] to b''
buffer is too small for requested array

I don't think there's any way to fix this from within Neo, so I think I will merge this now.

@apdavison I haven't seen that before, and the igor package on PyPI hasn't been updated since 2016 so I'm not sure what happened.


Getting that 'langchain/schema' does not provide an export named for neither  'SystemMessage' nor 'HumanMessage'

Using langchain npm @lastest version<EMAIL_ADDRESS>The import statements is:
import { HumanMessage, SystemMessage } from "langchain/schema";
Yet, I've got the following error message:
SyntaxError: The requested module 'langchain/schema' does not provide an export named 'HumanMessage'
If taken out HumanMessage of the import statement above, got the same for SystemMessage.
SyntaxError: The requested module 'langchain/schema' does not provide an export named 'SystemMessage'
Copying from examples in this GitHub... is it a bug?

Yes, I believe it should be HumanChatMessage and SystemChatMessage now. Where are you seeing this?

Ah, I'm mistaken. This changed a few days ago in https://github.com/hwchase17/langchainjs/pull/1780.
HumanChatMessage and SystemChatMessage will still work, but are deprecated. If you update your SDK to the latest version, this should go away.


Refactor stubs for marked.js.

I have moved the declaration file for marked.js to it's correct place i.e inside third directory.
Used correct syntax in the declaration file to export types.
Modified some incorrect type definitions.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I've integrated most of your feedback, very helpful thanks!


bruh

are you going to join the code.golf discord server? not sure if you know about it but the invite is https://discord.com/invite/eVCTkYQ

I'm aware of the Discord server.


fixing nav issues with navigator

@keybase/react-hackers reopened version of https://github.com/keybase/client/pull/2672

👍


⚠ SceneTime has degraded performance

In d52e3cd, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1815 ms

Resolved: SceneTime performance has improved in e24e564 after 8 minutes.


How to hide directions button

Hi, I'm starting to use this plugin, and so far it works great. However, I've found something that apparently isn't documented anywhere.
When I tap on a marker, in the bottom right corner two buttons appear, one for opening the location in Google Maps, and the other one for getting directions (using Google Maps as well). Since I don't need these functions for the scope of my app, it would seem weird to leave them there.
Is there a way to hide them using the API, or is this function not implemented yet?

It comes from the Android API, not this plugin.

I mean, yes, but I can also hide the current location using setMyLocationEnabled(false), which is ultimately a function from the native plugin.

This is a must, if possible please :)
I'm going to try and switch my project from mapbox-gl-js to this plugin now that it supports ios wkwebview.

Since this function is easily enabled/disabled through the Google Maps Android API's UI settings, I went ahead and added it. Please see PR #983.

@smcpjames I wub you =]

+1 for merge

@roblav96 @Slavrix If Masashi decides not to merge, you can try it from my repo: https://github.com/smcpjames/cordova-plugin-googlemaps/tree/master Just follow the install instructions under 'github' and substitute 'phonegap-googlemaps-plugin' for 'smcpjames'.

https://github.com/mapsplugin/cordova-plugin-googlemaps/pull/983#issuecomment-223649572

Please use the v2-beta version.
In the v2-beta version, many bugs are fixed and some new options are implemented.
This request is also implemented.
https://github.com/mapsplugin/v2.0-demo/blob/master/www/Map/setOptions.html#L51
Read the description for the v2-beta.
https://github.com/mapsplugin/v2.0-demo/


Compile error ue5-main

Hi
I just tried to add this to my project which is ue5-main branch.
I cannot compile and not sure what local fix could be.
Attached the error sample.
Let me know if I am doing something wrong.
Thanks
als-error.txt

Sorry, at the moment I only support 5.0 EA, support for full engine version will be added at least after 5.0 Release Candidate.
It looks like there are major API changes related to Large World Coordinates, so I will keep this issue open until the full release of Unreal Engine 5.

Not sure if this is related, but I'm trying to use this plugin with 5.0EA on Big Sur (Intel), and I keep getting the following error.
I know it says Mac is not in support at the moment, but if anyone has any idea of where I can start to fix this, I'd very much appreciate it. Thanks!

Showing Recent Issues
Setting up bundled DotNet SDK

Processing build for Target=Loco2Editor Platform=Mac Configuration=Development -architecture=x86_64 /Users/jpjanigan-mills/Documents/Unreal Projects/Loco2/Loco2.uproject

Mac using Manual SDK 12.5.1

Creating makefile for ShaderCompileWorker (no existing makefile)

ERROR: Couldn't find target rules file for target 'ShaderCompileWorker' in rules assembly 'UE5Rules, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

       Location: /Users/Shared/Epic Games/UE_5.0EA/Engine/Intermediate/Build/BuildRules/UE5Rules.dll

       Target rules found:

Running Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool Loco2Editor Mac Development /Users/jpjanigan-mills/Documents/Unreal Projects/Loco2/Loco2.uproject -architecture=x86_64

Mac using Manual SDK 12.5.1

Building Loco2Editor...

[Adaptive Build] Excluded from Loco2 unity file: Loco2GameModeBase.cpp, Loco2.cpp

Performing 2 actions (8 in parallel)

[1/2] Link UnrealEditor-ALSEditor.dylib

Undefined symbols for architecture x86_64:

  "vtable for FAnimNode_BlendListBase", referenced from:

      FAnimNode_BlendListBase::~FAnimNode_BlendListBase() in Module.ALSEditor.cpp.o

  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Command /Users/Shared/Epic Games/UE_5.0EA/Engine/Build/BatchFiles/Mac/XcodeBuild.sh failed with exit code 6

Not sure if this is related, but I'm trying to use this plugin with 5.0EA on Big Sur (Intel), and I keep getting the following error. I know it says Mac is not in support at the moment, but if anyone has any idea of where I can start to fix this, I'd very much appreciate it. Thanks!
Oh, and the project opens up just fine when I remove the plugin, so it's not an issue with that!

Unfortunately, I don't have macOS or Linux to test compilation, so I mostly rely on other people's help with these issues.

Having the same issue on Linux (Source build of main branch [4.27])

Not sure if this is related, but I'm trying to use this plugin with 5.0EA on Big Sur (Intel), and I keep getting the following error. I know it says Mac is not in support at the moment, but if anyone has any idea of where I can start to fix this, I'd very much appreciate it. Thanks!
Oh, and the project opens up just fine when I remove the plugin, so it's not an issue with that!

Showing Recent Issues
Setting up bundled DotNet SDK

Processing build for Target=Loco2Editor Platform=Mac Configuration=Development -architecture=x86_64 /Users/jpjanigan-mills/Documents/Unreal Projects/Loco2/Loco2.uproject

Mac using Manual SDK 12.5.1

Creating makefile for ShaderCompileWorker (no existing makefile)

ERROR: Couldn't find target rules file for target 'ShaderCompileWorker' in rules assembly 'UE5Rules, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

       Location: /Users/Shared/Epic Games/UE_5.0EA/Engine/Intermediate/Build/BuildRules/UE5Rules.dll

       Target rules found:

Running Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool Loco2Editor Mac Development /Users/jpjanigan-mills/Documents/Unreal Projects/Loco2/Loco2.uproject -architecture=x86_64

Mac using Manual SDK 12.5.1

Building Loco2Editor...

[Adaptive Build] Excluded from Loco2 unity file: Loco2GameModeBase.cpp, Loco2.cpp

Performing 2 actions (8 in parallel)

[1/2] Link UnrealEditor-ALSEditor.dylib

Undefined symbols for architecture x86_64:

  "vtable for FAnimNode_BlendListBase", referenced from:

      FAnimNode_BlendListBase::~FAnimNode_BlendListBase() in Module.ALSEditor.cpp.o

  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Command /Users/Shared/Epic Games/UE_5.0EA/Engine/Build/BatchFiles/Mac/XcodeBuild.sh failed with exit code 6

Having the same issue on Linux (Source build of main branch [4.27])
Trying to sort it now and will fork/pull request.
`
ld.lld: error: undefined symbol: vtable for FAnimNode_BlendListBase

referenced by AnimNode_BlendListBase.h:24 (Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_BlendListBase.h:24)
/Path/ProjectName/Plugins/ALS-Refactored/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/ALSEditor/Module.ALSEditor.cpp.o:(FAnimNode_BlendListBase::~FAnimNode_BlendListBase())
the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
`

Hi @mhomde
Would like to connect with you to discuss a career opportunity.

@Sixze Running into this with main branch of this, I see this is closed did you happen to find a fix.
I did branch off main but do have customizations.

Turns out ALSEditor, this module, needed "AnimGraphRuntime", added to its PrivateDependencyModuleNames which is where the base class lives.
Happy to open a PR to clarify, but not sure if its a one off issue for my machine.

I'm encountering the same problem with a LinuxClient compilation too. Probably need to get a PR in to fix this.


Link to the docs github repository from the README

I spent a good minute looking for the link to the github repository for the docs in the README. I know it's in CONTRIBUTING as well, but I think a link to the canonical source is important enough to link directly.

Merged. Thanks!


feat(@schematics/angular): add generation for resolvers

This will add the resolvers as an option to generate.
You can use it by ng g r <name>  or ng generate resolver <name>
closes: #17569

Just referencing @alan-agius4 or @clydin for reviewing 😄

Will make these changes as soon as i have some time.

Hey @alan-agius4, I have changed your comments, I think it is good to do a quick review again. Thanks for your comments.

Thanks for your contribution @Jefiozie.

Thank you, hope to do some more contributions.


Invoking "make -j8 -l8" failed

i have a problem like this.

I don't know how to fix. HELP~!
my workplace is: Ubuntu 16.04
ROS-kinetic
QT 5.9.1
CUDA 9.0 (GPU 2080 Ti 11G)
cudnn 7.4.2
Autoware 1.10.0
I really need the help. Help me! Please!
thanks!

did you fix it?
I got the sam

e

fixed
checked the compatible of ur GPU with the requirements.


fix to TR #583

 Send an email to the recommenders/reviewers who recommended/evaluated a preprint that has then been published in Peer Community Journal


HTTP additions for links

In STAC API spec we have additional properties for links:

method
headers
body
(merge)

At least the method should be added to stac-spec as it could be helpful to specify e.g. the method for links (e.g. POST vs GET search or in https://github.com/stac-extensions/order/issues/9). headers and body could also be added as a general framework for HTTP requests. I think merge only makes sense in the specific API context.

Wait for #1199 to be merged, then we can fix it in a single location.

Might also be useful for assets?
The GEE data seems to be only available via POST: https://matrix.to/#/!keYKZtlQXulQARQNzG:gitter.im/$Fa4N2N4_lkf0U3g-GKVsQwX_vO4R4yDxvaKH5e202M4?via=gitter.im&via=matrix.org&via=chard.com

We have an additional use case (for method="POST"), where we are using a STAC asset to provide an (OGC kind-of) offering allowing to "order" (make the product available "online") via an ordering URL.  The "order" is done via a link and method="POST" (with an empty/optional payload) and we would expose this I/F as a STAC asset as shown below.

"offering_1": {
  "method": "POST",
  "roles": [
    "order"
  ],
  "href": "https://..../.../v1/Products(42d16f44-f4f1-64f6-9fad-a14e68bcef9e)/Order",
  "title": "Order",
  "type": "application/json"
},

It would be nice if the link properties could be extended to allow for templated links as proposed by https://docs.ogc.org/DRAFTS/20-004.html#sc_templated_links_with_variables.   An collection asset representing an OGC WCS offering (GetCoverage) could then be provided with the allowed parameters and a client application (STACBrowser) can then replace them with actual values based on user choices.

@ycespb Templated links are blocked by https://github.com/opengeospatial/ogcapi-records/issues/275#issue-1731925116 and related issues in OGC.

Yet another use case is the example-links extension: https://github.com/stac-extensions/example-links#fields

I'm 👍🏼 from the implementation side. I found it most natural to pull the HTTP methods into my core Link structure for stac-rs: https://docs.rs/stac/0.5.0/stac/link/struct.Link.html#structfield.method. To me, that indicates that those fields belong down at the spec level.

Agreed to add method, headers and body as defined in the API spec to align both specs.


Fix specs around sprintf testing

This fixes a spec failure in #16 that wasn't caught because jenkins isn't putting test results into PRs correctly.

Confirmed that before this patch, one spec fails, and after this patch, specs pass.
Failure before patch:
Failures:

  1) LogStash::Outputs::Graphite if fields_are_metrics => true when metrics_format => ... match one key should match the generated key
     Failure/Error: expect(line).to match(/^#{expected_metric_name} 123.0 \d{10,}\n$/)
     NameError:
       undefined local variable or method `expected_metric_name' for #<RSpec::ExampleGroups::LogStashOutputsGraphite::IfFieldsAreMetricsTrue::WhenMetricsFormat::MatchOneKey:0x4201a617>
     # ./spec/outputs/graphite_spec.rb:46:in `block in (root)'

Tests :+1:. Code LGTM

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.


[Event Request] Codeunit 90 "Purch.-Post" - OnFillDeferralPostingBufferOnAfterInitFromDeferralLine

Hi, would it be possible to get an OnFillDeferralPostingBufferOnAfterInitFromDeferralLine event in codeunit 90 (Purch.-Post), like this:
    local procedure FillDeferralPostingBuffer(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; InvoicePostBuffer: Record "Invoice Post. Buffer"; RemainAmtToDefer: Decimal; RemainAmtToDeferACY: Decimal; DeferralAccount: Code[20]; PurchAccount: Code[20])
    var
        DeferralTemplate: Record "Deferral Template";
    begin
        if PurchLine."Deferral Code" <> '' then begin
            DeferralTemplate.Get(PurchLine."Deferral Code");

            if TempDeferralHeader.Get(
                "Deferral Document Type"::Purchase, '', '', PurchLine."Document Type", PurchLine."Document No.", PurchLine."Line No.")
            then begin
                if TempDeferralHeader."Amount to Defer" <> 0 then begin
                    DeferralUtilities.FilterDeferralLines(
                      TempDeferralLine, "Deferral Document Type"::Purchase.AsInteger(), '', '',
                      PurchLine."Document Type".AsInteger(), PurchLine."Document No.", PurchLine."Line No.");
                    // Remainder\Initial deferral pair
                    DeferralPostBuffer.PreparePurch(PurchLine, GenJnlLineDocNo);
                    DeferralPostBuffer."Posting Date" := PurchHeader."Posting Date";
                    DeferralPostBuffer.Description := PurchHeader."Posting Description";
                    DeferralPostBuffer."Period Description" := DeferralTemplate."Period Description";
                    DeferralPostBuffer."Deferral Line No." := InvDefLineNo;
                    DeferralPostBuffer.PrepareInitialPair(
                      InvoicePostBuffer, RemainAmtToDefer, RemainAmtToDeferACY, PurchAccount, DeferralAccount);
                    DeferralPostBuffer.Update(DeferralPostBuffer, InvoicePostBuffer);
                    if (RemainAmtToDefer <> 0) or (RemainAmtToDeferACY <> 0) then begin
                        DeferralPostBuffer.PrepareRemainderPurchase(
                          PurchLine, RemainAmtToDefer, RemainAmtToDeferACY, PurchAccount, DeferralAccount, InvDefLineNo);
                        DeferralPostBuffer.Update(DeferralPostBuffer, InvoicePostBuffer);
                    end;

                    // Add the deferral lines for each period to the deferral posting buffer merging when they are the same
                    if TempDeferralLine.FindSet() then
                        repeat
                            if (TempDeferralLine."Amount (LCY)" <> 0) or (TempDeferralLine.Amount <> 0) then begin
                                DeferralPostBuffer.PreparePurch(PurchLine, GenJnlLineDocNo);
                                DeferralPostBuffer.InitFromDeferralLine(TempDeferralLine);
                                if PurchLine.IsCreditDocType then
                                    DeferralPostBuffer.ReverseAmounts;
                                DeferralPostBuffer."G/L Account" := PurchAccount;
                                DeferralPostBuffer."Deferral Account" := DeferralAccount;
                                DeferralPostBuffer."Period Description" := DeferralTemplate."Period Description";
                                DeferralPostBuffer."Deferral Line No." := InvDefLineNo;
                                OnFillDeferralPostingBufferOnAfterInitFromDeferralLine(DeferralPostBuffer, TempDeferralLine, PurchLine, DeferralTemplate); // New Event
                                DeferralPostBuffer.Update(DeferralPostBuffer, InvoicePostBuffer);
                            end else
                                Error(ZeroDeferralAmtErr, PurchLine."No.", PurchLine."Deferral Code");

                        until TempDeferralLine.Next() = 0

                    else
                        Error(NoDeferralScheduleErr, PurchLine."No.", PurchLine."Deferral Code");
                end else
                    Error(NoDeferralScheduleErr, PurchLine."No.", PurchLine."Deferral Code")
            end else
                Error(NoDeferralScheduleErr, PurchLine."No.", PurchLine."Deferral Code")
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnFillDeferralPostingBufferOnAfterInitFromDeferralLine(var DeferralPostBuffer: Record "Deferral Posting Buffer"; DeferralLine: Record "Deferral Line"; PurchLine: Record "Purchase Line"; DeferralTemplate: Record "Deferral Template");
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Migrate to a real database for production and dev environments

Currently just using SQLite, which won't cut it later.

Based on a little bit of light reading, seems like SQLite is fine to use for my Dev environment, since there isn't expected to be a lot of concurrent writes (I'll primarily be the only one using it.)
For production, however, MySQL seems like a good choice.
https://www.digitalocean.com/community/tutorials/sqlite-vs-mysql-vs-postgresql-a-comparison-of-relational-database-management-systems#mysql


Potential Security Issue

Hello,
We recently received a vulnerability disclosure against your repository. I couldn't find an e-mail to contact or a security process to follow, so created this issue instead.
If you would like me to e-mail over the details or put them on the GitHub Issue, I'm more than happy to facilitate this for you. Otherwise, you can access the advisory here.
It is private to you and the discloser of the report.
If you have any questions, let me know.
-- Jamie from huntr.dev

@lababidi is this able to be closed?


Use os.tmpdir() instead of .tmp

(I can send a PR for this if you'd like.)
Until #25 lands (which I think is great, but complicated), rather than .tmp/, we could use require("os").tmpdir(), which does what it says :)

Or, alternatively, give preference to output.path, if it exists.

Hmmm, I think that it's not worth it to invest time on this.
Also, when we move the tmp directory to systems tmp dir, this could lead to problems with webpack's externals config. Node's require algorithm will no longer find node_modules.

Makes sense. Thanks!


[#258]Updated index.html to process only the rectangle instead of the entire image

Fixes https://github.com/jdf/processing.py/issues/258.The main loop was set to process the entire image until the position of the mouse,instead of just the rectangle.Fixed it using xstart and ystart as the starting positing in the function.

Thank you.

Glad to be of any help.
On Jun 7, 2017 12:13 AM, "Jonathan Feinberg"<EMAIL_ADDRESS>wrote:
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kazimuth/processing-py-site/pull/111#issuecomment-306579984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMS8eOWRaKMyXSeyPHEd1HUZV-AN1T94ks5sBZ3XgaJpZM4NxvZY
.


[Notification] About Dubbo Spring Boot 2.7.4 release plan

It's a plan that Dubbo Spring Boot 2.7.4 will be released in next week, it's waiting for the release of Dubbo 2.7.4 .

所以是下周发布吗10-14至10-18?

Can we support Dubbo 2.7.4 this week?

dubbo 2.7.4 已经发布. 不知道什么时候更新?

dubbo 2.7.4 已经发布. 不知道什么时候更新?

It's waiting for new bug-fixed <IP_ADDRESS>

<IP_ADDRESS> : https://github.com/apache/dubbo/issues/5219

Can we support Dubbo <IP_ADDRESS> this week?

it's stll 2.7.3 in maven central repo: https://search.maven.org/artifact/org.apache.dubbo/dubbo-spring-boot-starter/2.7.3/jar

it's stll 2.7.3
https://mvnrepository.com/artifact/org.apache.dubbo/dubbo-spring-boot-starter

Has the vote for version <IP_ADDRESS> been over?
When is it released?
This is too slow...

The vote email<EMAIL_ADDRESS>Thanks for the long long wait.


FIB Table: Hashtable Implementation

Implement FIB table based on hash table algorithm from Won et al 2013.
A Python implementation of the algorithm can be found here if one prefers reading code in Python to understand the algorithm first.
Unit test coverage of this new algorithm is at 100%.

@zjkmxy Oh oops I want to squash commits before merging in. I will take care of this with a direct push to master.

Well, your fib_hashtable branch is still there. Let me make a PR to the master named-data/YaNFD using that branch.

Changes applied to master as https://github.com/danningyu/YaNFD/commit/af525d7fca64d58770e318392d567a745c2c9b2c.

OK, it seems that you fixed the problem.

Oh oops it's been deleted 😅.
My typical Git workflow is:

Open PR
Once PR is approved, squash down to single commit and either merge or rebase onto master of the forked repo to merge it in.
Open PR from fork_owner/repo_name to original_owner/repo_name.

No problem. I just merged you contribution. Thank you for your help!


"docker-machine ssh" should use active machine, not default

Output of docker version:
➜  ~  docker version
Client:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 18:13:28 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 18:38:59 2016
 OS/Arch:      linux/amd64

Output of docker info:
➜  ~  docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: 1.11.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 12
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 488.9 MiB
Name: docker-sandbox
ID: OR4N:XLTM:QDDK:TJBI:D4IB:GYVA:2YB2:I5XN:2G3V:KOST:7JQR:DBMX
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Username: scarlac
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Labels:
 provider=digitalocean

Additional environment details (AWS, VirtualBox, physical, etc.):
➜  ~  docker-machine ls
NAME             ACTIVE   DRIVER         STATE     URL                         SWARM   DOCKER    ERRORS
default          -        virtualbox     Running   tcp://<IP_ADDRESS>:2376           v1.11.0
docker-sandbox   *        digitalocean   Running   tcp://***.***.***.***:2376           v1.11.0

(note that docker-sandbox is active, which was done by setting env with docker-machine env docker-sandbox)
Steps to reproduce the issue:

Add a docker-machine other than your default machine using docker-machine create (...) docker-sandbox
Set the newly created machine as 'active' by using eval $(docker-machine env docker-sandbox)
Check that it's active by calling docker-machine ls. You should see an asterisk in the "ACTIVE" column of the newly created row, similar to my example output.
Run docker-machine ssh to enter your machine

While it's not directly documented in docker-machine ssh, the 'active' flag should naturally be an indication of what machine should be used as the default target for commands, if relevant.
Describe the results you received:
In my case I'm connected to my virtualbox (name 'default') machine instead of the active digitalocean machine (name 'docker-sandbox').
Describe the results you expected:
I should be connected to the 'active' machine, not the machine with the 'default' name.
Additional information you deem important (e.g. issue happens only occasionally):
This could be considered a feature addition, but given that the environment is already set according to the standard, I'd be so bold to call this a bug/unexpected behaviour.

Hi @scarlac, thanks for opening, but can you open this in the Docker Machine issue tracker? Unfortunately, GitHub doesn't have an option to move it there, so I'll have to close it here :cry:
You can find the Docker Machine issue tracker here; https://github.com/docker/machine/issues

Of course! I'll do that, thanks.


Please invite me to the GitHub Community Organization

Name
brilliantseniordev
Discord Username (if applicable)
No response
Additional Context
I want to join here

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


Would be nice to have YAML pickle

YAML has multiple features that make it a better choice for pickling and serialization:
Tags. You could reliably represent/mark special objects using the tag metadata instead of praying that the original data does not have keys like "tag/id".
Object references. You could represent object cycles natively.
Non-string keys. YAML supports anything as a map key (list, dict etc).

Hm, that would be useful but I think it would be too much work for me to implement in the near future. If anyone else wants to take this on, feel free to fork and modify jsonpickle or start from scratch!


Update provider

Remove SPF support since Selectel DNS no longer supports it
Fix fqdn formating for delete_record(routine) when zone is
provided

Hello,
After extending external tests for communication with octodns we discovered one critical issue:
Records where name=origin name are deleted during change successfuly.
e.g. If we create zone with this config and then remove from config one of records, they will be deleted successfuly:
---
? ''
: - ttl: 300
    type: A
    value: <IP_ADDRESS>
  - ttl: 300
    type: AAAA
    value: ::AAAA:BBBB

However same actions with 3rd level labels in name:
---
another:
  - ttl: 300
    type: A
    value: <IP_ADDRESS>
  - ttl: 300
    type: AAAA
    value: ::AAAA:BBBB

will not remove records from account: Change to delete will be registred but after sync with --doit' record will not be deleted.   The cause: wrong string formatting in delete_record routine.
            if zone:
                full_domain = f'{zone}{domain}'

Zone if passed without trailing dot, and the easiest fix for this for us if just add dot in formating
full_domain = f'{zone}.{domain}'

Thanks


Sign binaries with cosign and bump go to 1.18

Signed-off-by: Itxaka<EMAIL_ADDRESS>

Codecov Report

Merging #9 (abc513b) into master (22308c2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   53.78%   53.78%
=======================================
  Files           5        5
  Lines         238      238
=======================================
  Hits          128      128
  Misses         86       86
  Partials       24       24

Continue to review full report at Codecov.

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


Add jdbc drivers to Hop Web, fixes #4013

Please add a meaningful description for your change here

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

[ ] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[ ] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

Hi, I have tried out the hop web docker image but I have still encountered an error related to the jdbc postgres driver support.
Error connecting to database [crateDB_cloud_service] :org.apache.hop.core.exception.HopDatabaseException:
Error occurred while trying to connect to the database

Driver class 'org.postgresql.Driver' could not be found, make sure the 'PostgreSQL' driver (jar file) is installed.
Unable to load class 'org.postgresql.Driver' in this classloader or in the parent

org.apache.hop.core.exception.HopDatabaseException:
Error occurred while trying to connect to the database

Driver class 'org.postgresql.Driver' could not be found, make sure the 'PostgreSQL' driver (jar file) is installed.
Unable to load class 'org.postgresql.Driver' in this classloader or in the parent

	at org.apache.hop.core.database.Database.normalConnect(Database.java:373)
	at org.apache.hop.core.database.Database.connect(Database.java:304)
	at org.apache.hop.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:47)
	at org.apache.hop.core.database.DatabaseFactory.getConnectionTestResults(DatabaseFactory.java:72)
	at org.apache.hop.core.database.DatabaseMeta.testConnectionSuccess(DatabaseMeta.java:2127)
	at org.apache.hop.ui.core.database.DatabaseMetaEditor.testConnection(DatabaseMetaEditor.java:901)
	at org.apache.hop.ui.core.database.DatabaseMetaEditor.test(DatabaseMetaEditor.java:764)
	at org.apache.hop.ui.core.database.DatabaseMetaEditor.lambda$createButtonsForButtonBar$6(DatabaseMetaEditor.java:956)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
	at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1216)
	at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1197)
	at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1180)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1172)
	at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)
	at java.base/java.lang.Thread.run(Thread.java:829)
	at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)
Caused by: org.apache.hop.core.exception.HopDatabaseException:
Driver class 'org.postgresql.Driver' could not be found, make sure the 'PostgreSQL' driver (jar file) is installed.
Unable to load class 'org.postgresql.Driver' in this classloader or in the parent

	at org.apache.hop.core.database.Database.connectUsingClass(Database.java:417)
	at org.apache.hop.core.database.Database.normalConnect(Database.java:358)
	... 19 more
Caused by: java.lang.ClassNotFoundException: Unable to load class 'org.postgresql.Driver' in this classloader or in the parent
	at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:97)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at org.apache.hop.core.database.Database.connectUsingClass(Database.java:392)
	... 20 more
Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at org.apache.hop.core.plugins.HopURLClassLoader.loadClassFromThisLoader(HopURLClassLoader.java:67)
	at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:92)
	... 22 more

Hostname:	cratedb-demo.aks1.eastus2.azure.cratedb.net
Port:	5432
Database name:	crate
Url:	jdbc:postgresql://cratedb-demo.aks1.eastus2.azure.cratedb.net:5432/crate


Check the UX.

In the current live app, it shows that there is something when you scroll but here that effect is not there. Check UX.

we show additional cards like that. so if there's only four, you dont see anything on the right. if there's more you will

https://xd.adobe.com/view/be4bd2ea-118c-4aff-959f-e3243e25ca8f-eb18/screen/34afa180-7e2e-44fc-956b-13afd43b6f03/
this is a view where there's just four cards so no scroll, the screen next to this is where the user has scrolled @Raheel1258

Verified by Gourab on dev app v2.0.75(455)


Mattermost pod fails pinging database, "Invalid control character in URL"

Hi!
I'm trying to setup Mattermost-docker on a Kubernetes cluster, using a PostgreSQL database hosted on AWS RDS.
Pod logs show this (scrubbed):
{"level":"error","ts":1573820165.80991,"caller":"sqlstore/supplier.go:235","msg":"Failed to ping DB retrying in 10 seconds err=parse postgres://DBNAME\n:PASSWDWITHOUTSPECIALCHARS@DBNAME.abc123.eu-west-1.rds.amazonaws.com\n:1234\n/DBNAME\n?sslmode=disable&connect_timeout=10: net/url: invalid control character in URL"}

I initially though this was because of special characters in the password, but after more or less succesfully escaping those, I tried changing the db password to just an alphanumeric one, and the issue still persists. Am I missing something?

@jKostet were you able to resolve the error? Since I'm also facing the same issue upon deployment.

@pravarag We have GitLab running in the cluster, and that comes with Mattermost built in, you pretty much just need to enable it in the gitlab.rb if I recall correctly. Didn't have issues with that.
Still would be nice for others to know what that "invalid control character" is.


Many tags in single line push graph to the right

I have a problem which might be related to the gray boxes (#49), but looks a bit different than in the other issues; it should be easy to reproduce:

Create 2 commits
Apply 10 tags and 4 branches with about 40 character names to one single commit (as Jenkins might do every night)
render graph
Message me if this doesn't work for you, I can provide my testing repo.

This creates a single long line of text for the tags, where the gray box is cropped at some point; pushing the graph itself and the tabular to the right, out of the viewport.

With this amount of tags, one can still see that the actual graph is on the right side; with more tags, one can only see a white page.

+1

We also have this issue

This repo is being archived. Thanks for your support along the way!


Platform projects table wraps names incorrectly

The "platform projects" table, in the settings page, is wrapping names unexpectedly for small window sizes.
https://issues.redhat.com/browse/COST-5016

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.71%. Comparing base (7365125) to head (a34871d).

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3843    +/-   ##
========================================
  Coverage   65.71%   65.71%
========================================
  Files         515      515
  Lines        9998     9998
  Branches     2357     2357
========================================
  Hits         6570     6570
+ Misses       3424     3180   -244
- Partials        4      248   +244

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add configs for formatting as in TFDS

Added:

pylint configs from TFDS
yapf formatter file
New Dev dependencies: pylint and yapf

@ebursztein Please review!


Add SSR performance measurement metrics

Description
This PR introduces several server side rendering performance metrics. The metrics can be used to measure the server side rendering performance easily and give us insights into where improvements can be made.
Metrics
All metrics have a namespace prefix pwa-kit-react-sdk to future proof other metrics.
ssr:route-matching: the time it takes the server to match the incoming request to a specific route defined in the project. This metrics is used to gauge if the route.js is too big. In most cases, this number should be less than 1ms.
ssr:load-component: the time it takes the server to load the loadable components, typically this is done at the page level. In most cases, this number should be less than 1ms.
ssr:fetch-strategies: the combined time of all async calls made in getProps and react-query useQuery. Note: since calls happen in parallel, this is NOT the subtotal of the individual calls. This usually is the slowest async call.
ssr:fetch-strategies:get-props:x: the time it takes getProps to run. The detail property of this metric will show the component name. x is an integer index.
ssr:fetch-strategies:react-query:pre-render:the time it takes the ssrPrepass to run to collect all queries.
ssr:fetch-strategies:react-query:use-query:x: the time it takes useQuery(s) to run. The detail property of this metric will show the query cache key, this makes it easier to identify the query.x is an integer index.
ssr:render-to-string: the time it takes React to render the app, at this point, all network requests is done. This is used to measure the complexity of the app. For a small app, typically this should be less than 100ms, but for large scale apps, this may be longer.
ssr:total: the total time it takes the server to render the HTML.
How can i access the metrics?
There are two ways you can check the metrics.

via logs
via the window.__SSR_PERFORMANCE_METRICS__
~via a query parameter ?__ssr_performance~ (I've decided not to pursue this route as there are discussions this is not a correct way to use a query parameter.)

1. Logs
There is a feature flag, but i'm not exactly sure how to make this align with the rest of the loggings so I want some ideas from YOU.
Options:

createApp parameter
environment variable
or something else?

2. window.__SSR_PERFORMANCE_METRICS__
It will be EXTREMELY useful to be able to see the performance metrics from any devices, as long as you have a web browser. This will make people's life a lot easier when it comes to understanding site performance. This will be a lot more easier than checking the logs which often requires special access, use of CLI and turning on feature flags etc. This is why I want to expose this metrics publicly.
sample metrics for typescript-minimal project (getProps + useQuery) on my laptop

sample metrics for template-retail-react-app (useQuery) on my laptop

Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

add performance marks in various stages in react-rendering
a function getPerformanceMetrics to combine all marks into user friendly format

How to Test-Drive This PR

npm run build in ./packages/pwa-kit-react-sdk
cd ../template-retail-react-app && npm start

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Consider encoding this information in the Server-Timing header to make it easily accessible.
Its not exactly the same, but in SCAPI, passing special headers enables more detailed logging of response information: https://developer.salesforce.com/docs/commerce/commerce-api/guide/collect-request-details.html
You might also consider logging this information with a specific searchable namespace so it is easy to discover via log center.

@johnboxall good feedback! TIL Server-Timing!


What is the format of the .kana file?

When I click "Export" and then "Download to file" I get a binary file with the .kana extension.
Suppose a user wants to export the results and then import them into Python or R.
How can we do that?

This is yet to be documented and is subject to change, but I'll give you the rundown.
First 8 bytes specify a 64-bit uinteger in little-endian, specifying the format. Currently this is just used to denote whether the data files are embedded (0) or linked (1).
Next 8 bytes are another 64-bit uinteger specifying the format version. You can ignore this for now.
Next 8 bytes are another 64-bit uinteger specifying the size of the blob containing a gzipped JSON with the analysis parameters and results. Let's call this value n.
Next n bytes contain a Gzipped JSON. If you unzip this, you'll have one property per step in the analysis, where each value is itself a dictionary with parameters (a dictionary of parameters) and contents (the contents, usually the results).
Remaining bytes contain the embedded input files. If you already have the files somewhere, you can just ignore this section, but if you don't, you can use the offsets and sizes in the inputs of the JSON to cut out the files.
tl;dr Ignore the first 16 bytes, convert the next 8 bytes to an integer, and then use that to cut out the Gzipped JSON.
At some point we may provide R/Python utilities to interpret these files and populate the corresponding data structures, e.g., SingleCellExperiment objects. Right now, these files are just intended for saving/transfer of analyses within kana.

Here is Python code for reading the .kana file format:
import struct
import zlib
import json

def read_kana(filename):
    file = open(filename, "rb")
    # Skip the first 16 bytes
    head = file.read(16)
    # Here < indicates little-Endian, and Q means we want to pack an
    # unsigned long long (8 bytes).
    n_bytes, = struct.unpack('<Q', file.read(8))
    gzipped_json = bytes(bytearray(file.read(n_bytes)))
    file.close()
    data = json.loads(zlib.decompress(gzipped_json, 15+32))
    return data

data = read_kana("My_Analysis_Title.kana")

data['umap']['parameters']
# {'num_epochs': 500, 'num_neighbors': 15, 'min_dist': 0.01, 'animate': False}

for key in data.keys():
    print(key)
# inputs
# quality_control_metrics
# quality_control_thresholds
# quality_control_filtered
# normalization
# feature_selection
# pca
# neighbor_index
# snn_find_neighbors
# snn_build_graph
# snn_cluster_graph
# choose_clustering
# marker_detection
# custom_marker_management
# tsne
# umap

x = data['umap']['contents']['x']['_TypedArray_values']
y = data['umap']['contents']['y']['_TypedArray_values']
len(x)
# 5050
len(y)
# 5050

Please take it and use it as you wish!

Here is R code for reading the .kana format:
read_kana <- function(filename) {
  f <- file(filename, "rb")
  head <- readBin(f, "raw", n = 16, endian = "little")
  n_bytes <- readBin(f, "integer", n = 1, size = 8, endian = "little")
  body <- readBin(f, "raw", n = n_bytes, endian = "little")
  json_string <- memDecompress(body, asChar = TRUE)
  data <- jsonlite::fromJSON(json_string)
}

data <- read_kana("My_Analysis_Title.kana")
names(data)
#  [1] "inputs"                     "quality_control_metrics"
#  [3] "quality_control_thresholds" "quality_control_filtered"
#  [5] "normalization"              "feature_selection"
#  [7] "pca"                        "neighbor_index"
#  [9] "snn_find_neighbors"         "snn_build_graph"
# [11] "snn_cluster_graph"          "choose_clustering"
# [13] "marker_detection"           "custom_marker_management"
# [15] "tsne"                       "umap"

x <- data$umap$contents$y$`_TypedArray_values`
y <- data$umap$contents$y$`_TypedArray_values`
length(x)
# [1] 5050
length(y)
# [1] 5050

If you wanted to use hdf5 as an output format as well, h5wasm supports writing hdf5 files in the browser.  It looks like it would be pretty straightforward to expose the H5Ocopy function from the hdf5 C API, which would allow one to pack source hdf5 files into the output hdf5 file alongside the analysis.

we now have a separate repo to track changes in the versioning of the .kana file. Its HDF5 based compared to our first version and its documented here - https://github.com/LTLA/kanaval


Coffeescript contribution error: ci/circleci: lint — Your tests failed on CircleCI

Version
v2.4.1
Reproduction link
https://github.com/chiboreache/pug-stylus-coffee-nuxt
Steps to reproduce
Open pull request for https://github.com/chiboreache/pug-stylus-coffee-nuxt or fork https://github.com/chiboreache/nuxt.js
What is expected ?
Nice and dandy Coffeescript example in Nuxt repo
What is actually happening?
js lint attempting to uglificate script section of .vue files
Additional comments?
Just embarrassing:
#!/bin/bash -eo pipefail
yarn test:lint
yarn run v1.13.0
$ yarn lint
$ eslint --ext .js,.mjs,.vue .

/home/circleci/project/examples/pug-stylus-coffee/pages/index.vue
  24:11  error  Parsing error: Unexpected token, expected ","

  5 |   components: { Logo },
  6 |   computed:
> 7 |     message: -> @$store.state.msgComputed
    |            ^
  8 | }
  9 |

✖ 1 problem (1 error, 0 warnings)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Exited with code 1

This bug report is available on Nuxt community (#c8599)

Yeah, I also noticed that, but even after adding extra ugly markup, it's still give me an error ¯\_(ツ)_/¯

See #4927


Database missing

Hello - script doesn't create database/table users. If I create a table users with id, name, is_active and populate it, I get an error "foreach() argument must be of type array|object"

Hello - script doesn't create database/table users. If I create a table users with id, name, is_active and populate it, I get an error "foreach() argument must be of type array|object"

Yes, because the script for creating tables not implemented at all.

OK - but how I can fix the error I'm getting with the table I am creating? Id integer AI and primary, name text, is_active (0 or 1)

OK - but how I can fix the error I'm getting with the table I am creating? Id integer AI and primary, name text, is_active (0 or 1)

send me your complete error message

Warning: foreach() argument must be of type array|object, null given in C:\xampp\htdocs\mvctest\Views\index\index.php on line 13

On new version (V2.0) migrations added and this bug has been fixed.


[release-1.13] Remove duplicate networks handler registeration

This is an automated cherry-pick of #37010

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.13
fd2b7bf6b6b7599ac783e87a0a4e1f967b9c2edb
link
true
/test unit-tests_istio_release-1.13

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Major refactor

Note @dinakar29 This PR changes some of the exported function interfaces so any github workflows relying on these need to be changed at the same time as this is merged
Closes #72 and #54 (see https://github.com/openpharma/staged.dependencies/pull/88#issue-720419742 for #54)

This PR refactors large parts of the package although the functionality of the addins remains unchanged.

There is now an S3 object dependency_structure created using function dependency_table (see the function doc for more information) which can be used as below. There have also been simplifications to the structure of the code base

Using the project_type argument you can create a dependency_structure from a remote repo rather than checking it out first and passing in a directory.

# create dependency_structure object from a checked out repo...
x <- dependency_table(project = "../stageddeps.electricity", verbose = 1)
# ... or directly from a remote
x <- dependency_table(project = "openpharma/stageddeps.electricity@https://github.com",
                      project_type = "repo@host",
                      feature = "main",
                      verbose = 1)

# print and plot it
print(x)
if (require("visNetwork")) plot(x)

#install upstream dependencies
install_deps(x, verbose = 1)

# check downstream packages
check_downstream(x, verbose = 1, check_args = c("--no-manual"))

A large number of tests have been added - there are open issues for further tests.

Bumped the version to 0.2 due to the scale of changes here

Let me try out this branch on one of our existing workflows and report back. Once I determine what needs to change, I can roll out the changes to other repos in the form of a PR, then we merge this PR, and we merge the remaining on those repos.

@dinakar29 I think the only change we need in workflows is:
print(staged.dependencies::dependency_table(), width = 120)
cat("\n\n")
staged.dependencies::install_deps(install_project = FALSE, verbose = TRUE)

becomes:
# maybe use arg direction = "upstream" when creating x
# as we are not using downstream anywhere?
x <- staged.dependencies::dependency_table()
print(x, width = 120)
cat("\n\n")
staged.dependencies::install_deps(x, install_project = FALSE, verbose = TRUE)