Bug for "Secret Of Grindea" && d3dx9 : err (might) -> Required Vulkan extension VK_EXT_robustness2 not supported

Start & Debug Infomation
wine Secrets\ Of\ Grindea.exe
0025:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
000d:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0009:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880) stub.
0009:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998) stub.
0009:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888) stub.
0009:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8) stub.
0009:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll", 0x79140000) stub!
0009:fixme:path:parse_url failed to parse L"Steamworks.NET"
0009:fixme:path:parse_url failed to parse L"Microsoft.Xna.Framework.Game"
0009:fixme:path:parse_url failed to parse L"Microsoft.Xna.Framework"
0009:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0009:fixme:nls:get_dummy_preferred_ui_language (0x0 0x32e56c (nil) 0x32e568) returning a dummy value (current locale)
0009:fixme:nls:get_dummy_preferred_ui_language (0x0 0x32e56c 0x1838970 0x32e568) returning a dummy value (current locale)
0009:fixme:path:parse_url failed to parse L"System.Core"
0009:fixme:path:parse_url failed to parse L"System"
0009:fixme:path:parse_url failed to parse L"Microsoft.Xna.Framework.Graphics"
0009:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0009:fixme:path:parse_url failed to parse L"Microsoft.Xna.Framework.Input.Touch"
0009:fixme:path:parse_url failed to parse L"System.Drawing"
0009:fixme:path:parse_url failed to parse L"System.Windows.Forms"
0009:fixme:path:parse_url failed to parse L"Accessibility"
info:  Game: Secrets Of Grindea.exe
info:  DXVK: v2.4
info:  Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0xf6155d40
info:  Built-in extension providers:
info:    Platform WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.129.3
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 24062 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.129.3
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 24062 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:  Process set as DPI aware
0009:fixme:process:FlushProcessWriteBuffers : stub
info:  Required Vulkan extension VK_EXT_robustness2 not supported
err:   DxvkAdapter: Failed to create device
0009:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0x1990c82, (nil), 0x1d93398) stub.
0009:fixme:gdiplus:GdipCreateHalftonePalette stub
002c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
part of vulkaninfo
vulkaninfo |grep VK_EXT
VK_EXT_acquire_xlib_display         : extension revision  1
VK_EXT_debug_report                 : extension revision 10
VK_EXT_debug_utils                  : extension revision  2
VK_EXT_direct_mode_display          : extension revision  1
VK_EXT_display_surface_counter      : extension revision  1
VK_EXT_debug_report                 : extension revision  6
VK_EXT_debug_report                 : extension revision  6
VK_EXT_debug_marker                 : extension revision  4
VK_EXT_debug_report                 : extension revision  6
VK_EXT_debug_marker                 : extension revision  4
VK_EXT_validation_cache             : extension revision  1
VK_EXT_debug_report                 : extension revision  6
VK_EXT_debug_marker                 : extension revision  4
VK_EXT_debug_report                 : extension revision  6
VK_EXT_debug_marker                 : extension revision  4
VK_EXT_validation_cache             : extension revision  1
VK_EXT_4444_formats                 : extension revision  1
VK_EXT_attachment_feedback_loop_layout: extension revision  2
VK_EXT_blend_operation_advanced     : extension revision  2
VK_EXT_border_color_swizzle         : extension revision  1
VK_EXT_buffer_device_address        : extension revision  2
VK_EXT_calibrated_timestamps        : extension revision  2
VK_EXT_color_write_enable           : extension revision  1
VK_EXT_conditional_rendering        : extension revision  2
VK_EXT_conservative_rasterization   : extension revision  1
VK_EXT_custom_border_color          : extension revision 12
VK_EXT_depth_clamp_zero_one         : extension revision  1
VK_EXT_depth_clip_control           : extension revision  1
VK_EXT_depth_clip_enable            : extension revision  1
VK_EXT_depth_range_unrestricted     : extension revision  1
VK_EXT_descriptor_buffer            : extension revision  1
VK_EXT_descriptor_indexing          : extension revision  2
VK_EXT_discard_rectangles           : extension revision  2
VK_EXT_display_control              : extension revision  1
VK_EXT_extended_dynamic_state       : extension revision  1
VK_EXT_extended_dynamic_state2      : extension revision  1
VK_EXT_extended_dynamic_state3      : extension revision  2
VK_EXT_external_memory_host         : extension revision  1
VK_EXT_fragment_shader_interlock    : extension revision  1
VK_EXT_global_priority              : extension revision  2
VK_EXT_global_priority_query        : extension revision  1
VK_EXT_graphics_pipeline_library    : extension revision  1
VK_EXT_host_query_reset             : extension revision  1
VK_EXT_image_2d_view_of_3d          : extension revision  1
VK_EXT_image_drm_format_modifier    : extension revision  2
VK_EXT_image_robustness             : extension revision  1
VK_EXT_image_sliced_view_of_3d      : extension revision  1
VK_EXT_image_view_min_lod           : extension revision  1
VK_EXT_index_type_uint8             : extension revision  1
VK_EXT_inline_uniform_block         : extension revision  1
VK_EXT_line_rasterization           : extension revision  1
VK_EXT_load_store_op_none           : extension revision  1
VK_EXT_memory_budget                : extension revision  1
VK_EXT_memory_priority              : extension revision  1
VK_EXT_mesh_shader                  : extension revision  1
VK_EXT_multi_draw                   : extension revision  1
VK_EXT_mutable_descriptor_type      : extension revision  1
VK_EXT_non_seamless_cube_map        : extension revision  1
VK_EXT_opacity_micromap             : extension revision  2
VK_EXT_pageable_device_local_memory : extension revision  1
VK_EXT_pci_bus_info                 : extension revision  2
VK_EXT_physical_device_drm          : extension revision  1
VK_EXT_pipeline_creation_cache_control: extension revision  3
VK_EXT_pipeline_creation_feedback   : extension revision  1
VK_EXT_pipeline_library_group_handles: extension revision  1
VK_EXT_pipeline_robustness          : extension revision  1
VK_EXT_post_depth_coverage          : extension revision  1
VK_EXT_primitive_topology_list_restart: extension revision  1
VK_EXT_primitives_generated_query   : extension revision  1
VK_EXT_private_data                 : extension revision  1
VK_EXT_provoking_vertex             : extension revision  1
VK_EXT_queue_family_foreign         : extension revision  1
VK_EXT_robustness2                  : extension revision  1
VK_EXT_sample_locations             : extension revision  1
VK_EXT_sampler_filter_minmax        : extension revision  2
VK_EXT_scalar_block_layout          : extension revision  1
VK_EXT_separate_stencil_usage       : extension revision  1
VK_EXT_shader_atomic_float          : extension revision  1
VK_EXT_shader_demote_to_helper_invocation: extension revision  1
VK_EXT_shader_image_atomic_int64    : extension revision  1
VK_EXT_shader_module_identifier     : extension revision  1
VK_EXT_shader_object                : extension revision  1
VK_EXT_shader_subgroup_ballot       : extension revision  1
VK_EXT_shader_subgroup_vote         : extension revision  1
VK_EXT_shader_viewport_index_layer  : extension revision  1
VK_EXT_subgroup_size_control        : extension revision  2
VK_EXT_texel_buffer_alignment       : extension revision  1
VK_EXT_tooling_info                 : extension revision  1
VK_EXT_transform_feedback           : extension revision  1
VK_EXT_vertex_attribute_divisor     : extension revision  3
VK_EXT_vertex_input_dynamic_state   : extension revision  2
VK_EXT_ycbcr_2plane_444_formats     : extension revision  1
VK_EXT_ycbcr_image_arrays           : extension revision  1
NVIDIA Driver Information
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
Problem Description
In fact, I had made it work well with my independent graphic card (NVIDIA GeForce 3060 Laptop) at the beigining. And I can't open the game any more when I update my wine env. (instead of a new wine env with the same installed package) And the stdout just tell me that my driver might lack of VK_EXT_robustness2. As you can see, my nvidia driver is new enough and has the corresponding extension. I'm so confused about it and tried many approaches to solve it, but the game just can't use the nvidia driver to run (I can run the game well without d3dx9.dll). Please help me to deal with it, thanks a lot!

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

try this https://gofile.io/d/yMHabA select the desired compiler in the installer

I can't even run "x86_64-w64-ranlib.exe"  :
0025:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
000d:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
wine: Unhandled page fault on read access to 10004000 at address 0042B3AE (thread 0009), starting debugger...
002c:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: page fault on read access to 0x10004000 in 32-bit code (0x0042b3ae).
002c:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0042b3ae ESP:0032f88c EBP:0032fa48 EFLAGS:00010203(  R- --  I   - - -C)
EAX:10261000 EBX:7ffdf000 ECX:0025d000 EDX:00260000
ESI:10004000 EDI:7bc34000
Stack dump:
0x0032f88c:  00001000 0021ab48 0040eef3 7bc31000
0x0032f89c:  10001000 00260000 0043a001 00000020
0x0032f8ac:  7bc30138 fe296570 0043a0c8 fe296570
0x0032f8bc:  00000504 7bc30040 7bc30000 10000000
0x0032f8cc:  00000060 0000005c 7bc30000 7bc30000
0x0032f8dc:  ffffffff 0043a0c8 0032f8ac 0032f8a8
Backtrace:
=>0 0x0042b3ae in x86_64-w64-ranlib (+0x2b3ae) (0x0032fa48)
1 0x00415f5a EntryPoint+0xffffffff() in x86_64-w64-ranlib (0x0032fe88)
2 0x0042a751 EntryPoint+0xffffffff() in x86_64-w64-ranlib (0x0032fed0)
3 0x7b4536b1 call_process_entry+0x10() in kernel32 (0x0032fee8)
4 0x7b453b74 start_process+0x193() in kernel32 (0x0032ffd8)
5 0x7b4536c2 __wine_start_process+0x9() in kernel32 (0x0032ffec)
0x0042b3ae: repe movsb	(%esi),%es:(%edi)
Modules:
Module	Address			Debug info	Name (38 modules)
PE	  400000-  445000	Export          x86_64-w64-ranlib
PE	65980000-65999000	Deferred        version
PE	6ba80000-6ba8c000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	6c0c0000-6c0fb000	Deferred        imm32
PE	6e540000-6e54d000	Deferred        api-ms-win-core-synch-l1-2-0
PE	6e8c0000-6e8cd000	Deferred        api-ms-win-core-localization-l1-2-1
PE	6ec80000-6ec8c000	Deferred        api-ms-win-core-fibers-l1-1-0
PE	7b000000-7b265000	Deferred        kernelbase
ELF	7b400000-7b672000	Dwarf           kernel32
-PE	7b420000-7b672000	\               kernel32
ELF	7bc00000-7beb0000	Deferred        ntdll
-PE	7bc30000-7beb0000	\               ntdll
ELF	7c000000-7c004000	Deferred
ELF	7e4f8000-7e522000	Deferred        libexpat.so.1
ELF	7e522000-7e56b000	Deferred        libfontconfig.so.1
ELF	7e56b000-7e596000	Deferred        libpng12.so.0
ELF	7e596000-7e5b1000	Deferred        libz.so.1
ELF	7e5b1000-7e661000	Deferred        libfreetype.so.6
ELF	7e661000-7e684000	Deferred        libtinfo.so.5
ELF	7e684000-7e6aa000	Deferred        libncurses.so.5
ELF	7e6aa000-7e780000	Deferred        msvcrt
-PE	7e6d0000-7e780000	\               msvcrt
ELF	7e780000-7e803000	Deferred        advapi32
-PE	7e790000-7e803000	\               advapi32
ELF	7e803000-7e95b000	Deferred        gdi32
-PE	7e820000-7e95b000	\               gdi32
ELF	7e95b000-7eb8d000	Deferred        user32
-PE	7e980000-7eb8d000	\               user32
ELF	7ef40000-7ef53000	Deferred        libnss_files.so.2
ELF	7ef53000-7ef60000	Deferred        libnss_nis.so.2
ELF	7ef60000-7ef7b000	Deferred        libnsl.so.1
ELF	7ef7b000-7ef85000	Deferred        libnss_compat.so.2
ELF	7ef85000-7efda000	Deferred        libm.so.6
ELF	f7b24000-f7b29000	Deferred        libdl.so.2
ELF	f7b29000-f7ce0000	Deferred        libc.so.6
ELF	f7ce0000-f7cfd000	Deferred        libpthread.so.0
ELF	f7d23000-f7ed6000	Dwarf           libwine.so.1
ELF	f7ed7000-f7efc000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\xny\Downloads\winehq\package\Secrets.Of.Grindea.v1.0\fixed\fix\x86_64-w64-ranlib.exe
00000009    0 <==
0000002d    0
0000000e services.exe
0000000f    0
00000010    0
00000013    0
00000014    0
00000015    0
0000001b    0
00000020    0
00000027    0
00000011 winedevice.exe
00000012    0
00000016    0
00000017    0
00000018    0
00000019 plugplay.exe
0000001a    0
0000001c    0
0000001d    0
0000001e winedevice.exe
0000001f    0
00000021    0
00000022    0
00000023    0
00000026    0
00000024 explorer.exe
00000025    0
00000028    0
00000029    0
0000002a    0
System information:
Wine build: wine-5.0.3
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 4.15.0-142-generic
And the msvcp140.dll already in my wine's "system32" & "syswow64" floder.

That was a bot and the link was malware.

That was a bot and the link was malware.

haha, I said why so fast. . .

@Dufferent I think your issue here is that your Wine version is very very old. 5.0.3 (Kernel too but issue is probably just Wine)

I think your issue here is that your Wine version is very very old 5.0.3 (Kernel too but issue is probably just Wine)

Yeah, but I have made it work before so that I wonder what the problem is. Thanks agian if any one can help to solve it!!!

DXVK has required the Vulkan extension VK_EXT_robustness2 for a while and support for that in Wine requires a Wine version that isn't ancient.

DXVK has required the Vulkan extension VK_EXT_robustness2 for a while and support for that in Wine requires a Wine version that isn't ancient.

Yes, I have also considered it to be a problem with the wine version. But I used the same version of wine to run the game successfully before. All I did was rebuild a new wineprefix.

Either way, we don't provide support for ancient versions of Wine.

Well, thanks.

Using dxvk 1.7.2, which was released around the same time as wine 5.0.3, solved my problem.

Or... you know... You could use software that's not yet 4 years old.


IR type mapping.

TypeMapping from the PSI through the IR.

ba

good finding, Knut, this is something we do want to investigate and understand

I have not looked at everything in detail yet, as there is quite a lot of changes and code, but I added a few small remarks.
Further, I think I noticed that the tests run considerably slower when I switch between the FIR-based and the PSI-based parser. Also when I disable a lot of debug logging, the tree tests take around 100s to run vs. 20s with the FIR-based parser. I have not compared this to the performance without this PR, but regardless of that I am a bit worried about the performance and I am unsure what the cause of this is (I have not done any profiling).

I did some profiling, I think the 100s above include both PSI and FIR parsing, my test locally is about ~26 seconds (FIR-based-parsing) VS ~58 seconds (PSI-based-parsing).

I did some profiling, I think the 100s above include both PSI and FIR parsing, my test locally is about ~26 seconds (FIR-based-parsing) VS ~58 seconds (PSI-based-parsing).

@kunli2 Is that testing with the 58s on this branch?

Further, I think I noticed that the tests run considerably slower when I switch between the FIR-based and the PSI-based parser. Also when I disable a lot of debug logging, the tree tests take around 100s to run vs. 20s with the FIR-based parser. I have not compared this to the performance without this PR, but regardless of that I am a bit worried about the performance and I am unsure what the cause of this is (I have not done any profiling).

A difference in type attribution likely causes the issue. I haven't done a thorough analysis yet, but in a simple case of an empty class, the FIR-based parser contains over 10k fewer types. Additionally, I hadn't checked for every instance where a signature is being unnecessarily recalculated.

I think it's reasonable that the IR-type-mapping takes longer as it generates more types.

We still need to keep an eye on this. I worry that it will be too slow to parse any sizeable repo. But we can hopefully improve this.


Different home directory for different users

I have a collection of machines I access, each of which has different usernames and different home path prefixes. Is it possible to just open the File Transfer window at '/' rather than having to set a global home directory prefix?

I can see two options for this, 1) a global option for all sessions which would allow better default path options for pscp, and 2) session specific options that would override the defaults.

I would suggest that the default global option remains as 'root' ('c:', '/') on both sides but allow setting the defaults on each session as required.


[All-iPhone-Device] Two photos are displayed in one picture in the Swiper

Which OS ?

IOS

Version
Which versions are you using:

iPhone 14 and above
react-native-swiper v?
1.6.0
react-native v0.?.?
0.71.6

Expected behaviour

For Android devices, the transition between the images was smooth when I clicked prevButton or nextButton but it's not the same for IOS mobile devices.
It should show only one image in the swiper but it shows the two images.
As per my knowledge, when we add more images to Swiper it always pushes these images to the LHS.

Actual behaviour

How to reproduce it>
To help us, please fork this component, modify one example in the examples folder to reproduce your issue, and include the link here.
Steps to reproduce

Scan the images using a native camera and I am sending these scanned images to the Swiper component.
When I click on the prevButton or nextButton button it's not showing the proper image(s) in the Swiper component.
I've attached the screen shot.

Thank you for your time.

I also encountered this problem,
This is done by setting loadMinimal={true} and
Solved by loadMinimalSize={3}.
The value of loadMinimalSize can be modified as needed
You can try


Add t() translation mark to i18nable strings and update translations

Summary
I added a mark for every single string that needs to be translate and
isn't directly in a localizeMessage, FormattedMessage or other
similar block.
After that I used the mmjstool to extract the i18n strings in the code.
Ticket Link
MM-11273
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Includes text changes and localization file (.../i18n/en.json) updates

Rebase needed

Rebased.

@jespino What's the plan for making sure this merges 100% correctly? Should we hold merging PRs while you update it and make sure there are no conflicts? I was just reviewing a PR that adds translation strings, so I don't know if it's safe to merge that yet

It is not safe to merge it directly. I going to rebase it properly (taking into account changes between the last rebase and the current base). Basically I'll go through the changes one, by one, reviewing that all introduced strings are tagged or automatically extracted.
We won't merge it until the next release-branch cut, so we can merge into master and give it as much time as possible to test it properly in pre-release.


Support Python 3.7 and prepare for pypi release

Add support for Python 3.7 (via s/async/asynchronous, basically)
Update author/copyright stuff

please fix that URL then :shipit:


LFS-322: Cleanup FilterServlet

Jira link
Refactored code into two functions. Unsure what else should be done, but I've fixed up the commenting and such to make it easier to read.
To test: Ensure that, hwen clicking on the "filter" for any live table, that the fields in the dropdown are still operational.

Additionally, line 65 // TODO: Cleanup should be removed if no code cleanup work remains to be done.


edit terraform module doc to use markdown links

Applies markdownlint fixes (https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md)

I've rebased and reapplied markdown lint fixes. The fixes that are suggested now are no-longer the ones this PR initially addressed. I'm going to close this in favor of some possible future effort that would more comprehensively apply markdown linting (this PR doesn't go very far and what it does is not really significant).


Bump version to 1.2.8.

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

Project coverage is 97.52%. Comparing base (d92d899) to head (df48f42).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #310   +/-   ##
=======================================
  Coverage   97.52%   97.52%
=======================================
  Files          35       35
  Lines        2262     2262
  Branches      231      231
=======================================
  Hits         2206     2206
  Misses         55       55
  Partials        1        1

Flag
Coverage Δ

unittests
97.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Fixing an issue in sequential merge

Fixing an issue in sequential merge where workers without any partial key statistics would get stuck because controller did not change the worker state.
The symptom's are the controller task getting stuck after some of the worker boundaries are sent.
2023-07-12T04:20:46,033 INFO [task-runner-0-priority-0] org.apache.druid.msq.exec.ControllerImpl - Query [xxx] sending out partition boundaries for stage 0 for workers {7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 34, 35, 36}

Key changed/added classes in this PR

WorkerSketchFetcher

This PR has:

[x] been self-reviewed.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[x] been tested in a test Druid cluster.

@LakshSingla Thanks for the review.

Instead of the controller determining that no boundary received means an empty partition, I think it would be more appropriate if this logic is built into the worker. If the output row is none, it would report ClusterByStatisticsSnapshot.empty(), then it should report the empty partition.
Seems cleaner to me because, in that way, we are verifying that the output rows are 0 on the worker, WDYT

I thought about this. The trickiness lies in how we calculate CompleteKeyStatisticsInformation  if the worker does not have any row, it might return an empty snapshot but still in sequential merge, we need a timebucket <-> worker to  transition the worker to the next stage.
We would end up maintaining a custom "worker Map" in complete key stats information for such snapshots which is no better in what I am doing . Hence I decided against that approach.

Can we add a test in MSQSelectTests that verify that this is working as expected?

Since we donot gather stats in select q's I cannot do this via MSQSelectTests.
For MSQInsertTest, the test case framework currently supports only one worker, I cannot stimulate a test case where one worker has data and the other does not without running into insert cannot be empty.

For MSQInsertTest, the test case framework currently supports only one worker, I cannot stimulate a test case where one worker has data and the other does not without running into insert cannot be empty.

I think @adarshsanjeev did make some progress in this department where we could simulate multiple workers easily. However, since this might be a blocker, we can punt it for later (though we should revisit this for sure).

Thanks for the fix! Could there be a test for this?

Nevermind, I just noticed the discussion above about testing. This patch LGTM but let's try to get multi-worker unit testing going as soon as we can.

@gianm @LakshSingla I have added an IT for the same.

Thanks for the PR! 🚀


type.convert error for get_league_teams_stats and get_players_seasons_stats

The type.convert function for the two functions above throws up an error that the first argument must be of mode character. Is there an additional package needed or an issue with my operating system?
All functions in team.R and players.R give me the same error. Except for get_team_meta().
library(reprex)
library(understatr)
league_data <- get_league_teams_stats(league_name = "EPL", year = 2018)
Error in type.convert(teams_df) :
  the first argument must be of mode character
player_data <- get_player_stats(player_id = 882)
Error in get_player_stats(player_id = 882) :
  could not find function "get_player_stats"
player_data <- get_player_matches_stats(player_id = 882)
Error in type.convert(player_data) :
  the first argument must be of mode character
Sys.info()
                                                                                sysname
                                                                                "Darwin"
                                                                                release
                                                                                "18.6.0"
                                                                                version
"Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64"
                                                                                nodename
                                                                                "---"
                                                                                machine
                                                                                "x86_64"
                                                                                login
                                                                                "--"
                                                                                user
                                                                                "--"
                                                                                effective_user
                                                                                "--"

huh. I haven't been able to recreate the error in my own session, but I have edited type.convert calls to use the as.is argument to prevent coercing of characters into factors. Hopefully this will solve the issue, try re-installing the package and see if it's fixed.

cheers man, I see what as.is would do. Unfortunately, it kept happening even after reinstalling. When I remove the type.convert from your function, it works. But, obviously the numeric columns remain characters. Adding rows to type.convert the numeric layers works, too. I think it's the player_name and player_id column.


View controller: Recognize pan gestures on a view level

This change moves the gesture recognizer used for pan (scroll) events in the collection view to the view level. This is done in order to support scrolling on a header or overlay component, without having to resort to manual -pointInside checks.

@spotify/objc-dev

Current coverage is 92.69% (diff: 12.50%)

Merging #133 into master will increase coverage by 0.22%

@@             master       #133   diff @@
==========================================
  Files            60         61     +1
  Lines          4384       4517   +133
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           4054       4187   +133
  Misses          330        330
  Partials          0          0

Powered by Codecov. Last update 9d59c51...64f6584


Match without taking search portion of URL into account?

I want to register a handler that matches on (a hostname and) a path, regardless of what the search portion of the URL is. E.g., matching http://www.google-analytics.com/collect regardless of which URL query parameters are appended to it.
I've found that registering http://www.google-analytics.com/collect?:ignored which does work, but I wanted to see if I was missing something—is there any way to register a handler that matches just a portion of the URL without having to create dummy keys?

For the record, http://www.google-analytics.com/collect?(.*) will match.
https://github.com/component/path-to-regexp#unnamed-parameters describes this behavior.


Writing NC_VLEN attribute of NC_STRINGs can result in garbled values

Hi all,
We are seeing a difference in writing behavior between variables and attributes of the "NC_VLEN of NC_STRINGs" type. Under some conditions, writing NC_VLEN attribute of NC_STRINGs can result in garbage values, while writing a similar variable under the same conditions seems to work fine.
As far as I can tell it has something to do with attributes needing NC_VLEN data to still be in memory by the time of the nc_close() call.
Here is some simplistic code that reproduces the issue. It uses the same code for writing a variable and for writing an attribute. The raw NC_VLEN data should be getting cleaned up by the time of nc_close() call (it is in a different scope):
#include <iostream>
#include <vector>
#include <string>
#include "netcdf.h"

void checkErrorCode(int status, const char* message){
    if (status != NC_NOERR){
        std::cout << "Error code: " << status << " from " << message << std::endl;
        std::cout << nc_strerror(status) << std::endl << std::endl;
    }
}

void writeVariable(const int dimlength, int ncid, nc_type vlen_typeID)
{
    // Setup data
    std::unique_ptr<nc_vlen_t[]> data(new nc_vlen_t[dimlength]);

    const int totalNumStrings = 13;
    std::string stringsInVLEN[totalNumStrings] = {"banana", "kiwi", "apple", "grape", "apple", "cherry", "lemon", "melon", "watermelon", "strawberry", "peach", "raspberry", "pineapple"};
    const char* charPointers[totalNumStrings];

    for (int i=0; i<totalNumStrings; i++){
        charPointers[i] = stringsInVLEN[i].c_str();
    }

    // create six variable length arrays of strings
    int stringIndex = 0;

    const int first_size = 2;
    data[0].len = first_size;
    data[0].p = charPointers+stringIndex;
    stringIndex += first_size;

    const int second_size = 1;
    data[1].len = second_size;
    data[1].p = charPointers+stringIndex;
    stringIndex += second_size;

    const int third_size = 5;
    data[2].len = third_size;
    data[2].p = charPointers+stringIndex;
    stringIndex += third_size;

    const int fourth_size = 3;
    data[3].len = fourth_size;
    data[3].p = charPointers+stringIndex;
    stringIndex += fourth_size;

    const int fifth_size = 0;
    data[4].len = fifth_size;
    data[4].p = charPointers+stringIndex;
    stringIndex += fifth_size;

    const int sixth_size = 2;
    data[5].len = sixth_size;
    data[5].p = charPointers+stringIndex;
    stringIndex += sixth_size;

    // Write vlen variable named Fruits

    // Define dimension
    int dimid;
    int retval = nc_def_dim(ncid, "D1", dimlength, &dimid);
    checkErrorCode(retval, "nc_def_dim");

    // Define variable
    int varid;
    retval = nc_def_var(ncid, "Fruits", vlen_typeID, 1, &dimid, &varid);
    checkErrorCode(retval, "nc_def_var");

    // Write variable
    retval = nc_put_var(ncid, varid, data.get());
    checkErrorCode(retval, "nc_put_var");

}

void writeAttribute(const int attlength, int ncid, nc_type vlen_typeID)
{
    // Setup data
    std::unique_ptr<nc_vlen_t[]> data(new nc_vlen_t[attlength]);

    const int totalNumStrings = 13;
    std::string stringsInVLEN[totalNumStrings] = {"banana", "kiwi", "apple", "grape", "apple", "cherry", "lemon", "melon", "watermelon", "strawberry", "peach", "raspberry", "pineapple"};
    const char* charPointers[totalNumStrings];

    for (int i=0; i<totalNumStrings; i++){
        charPointers[i] = stringsInVLEN[i].c_str();
    }

    // create six variable length arrays of strings
    int stringIndex = 0;

    const int first_size = 2;
    data[0].len = first_size;
    data[0].p = charPointers+stringIndex;
    stringIndex += first_size;

    const int second_size = 1;
    data[1].len = second_size;
    data[1].p = charPointers+stringIndex;
    stringIndex += second_size;

    const int third_size = 5;
    data[2].len = third_size;
    data[2].p = charPointers+stringIndex;
    stringIndex += third_size;

    const int fourth_size = 3;
    data[3].len = fourth_size;
    data[3].p = charPointers+stringIndex;
    stringIndex += fourth_size;

    const int fifth_size = 0;
    data[4].len = fifth_size;
    data[4].p = charPointers+stringIndex;
    stringIndex += fifth_size;

    const int sixth_size = 2;
    data[5].len = sixth_size;
    data[5].p = charPointers+stringIndex;
    stringIndex += sixth_size;

    // Write vlen attribute named Fruits
    int retval = nc_put_att(ncid, NC_GLOBAL, "Fruit", vlen_typeID, attlength, data.get());
    checkErrorCode(retval, "nc_put_att");

}

int main(int argc, const char * argv[]) {

    const int attlength = 6;

    // Open file
    int ncid;
    int retval;

    retval = nc_create("vlen_of_strings_att.nc", NC_NETCDF4, &ncid);
    checkErrorCode(retval, "nc_create");

    // Define vlen type named MY_VLEN_STRING
    nc_type vlen_typeID;
    retval = nc_def_vlen(ncid, "MY_VLEN_STRING", NC_STRING, &vlen_typeID);
    checkErrorCode(retval, "nc_def_vlen");

    // write variable - will be able to read it back fine
    writeVariable(attlength, ncid, vlen_typeID);

    // write attribute - will read back garbled values
    writeAttribute(attlength, ncid, vlen_typeID);

    retval = nc_close(ncid);
    checkErrorCode(retval, "nc_close");

    return retval;
}

Here is the results of running it. The error codes for all operations seem to be NC_NOERR (so it is a silent failure). You can see that ncdump reads the variable fine, but the attribute's data is garbled. We see the same when we try to read the attribute data with nc_get_att().
$ ./a.out
$ ncdump vlen_of_strings_att.nc
netcdf vlen_of_strings_att {
types:
  string(*) MY_VLEN_STRING ;
dimensions:
	D1 = 6 ;
variables:
	MY_VLEN_STRING Fruits(D1) ;

// global attributes:
		MY_VLEN_STRING :Fruit = {"banana", "\n?\002\001"}, {""},
    {"????\177", "apple", "????\177", "", "#?\002\001"},
    {"?\005??\177", "", "?\005??\177"}, {}, {"????\177", "?\005??\177"} ;
data:

 Fruits = {"banana", "kiwi"}, {"apple"},
    {"grape", "apple", "cherry", "lemon", "melon"},
    {"watermelon", "strawberry", "peach"}, {}, {"raspberry", "pineapple"} ;
}

We are using netcdf 4.8.1, and the above code was run on a mac (but we are seeing the same issue on other platforms).
Does this look like a bug? Is it a known issue?

Sadly the VLEN code needs substantial refactoring.
I just have not had time to revisit it.
As for needing to stay in memory, where did you see that. I think
it is supposed to copy.

Thanks for taking a look Dennis!
I just thought it might have to do with staying in memory because I did not see this issue in cases when nc_close() is in the same scope as the NC_VLEN data, or if data is created with "new", but "delete" is not called, and in similar cases where NC_VLEN data should still be in memory before the nc_close() call. So that was my best guess at what might be the reason behind this issue.
It also sounds like it could be a little related to the other NC_VLEN issue I reported earlier: https://github.com/Unidata/netcdf-c/issues/2041 , where there were errors/crashes on nc_close() when writing a "nested" NC_VLEN attribute. I know NC_VLEN of NC_STRINGs is kind of similar to a nested NC_VLEN (as NC_STRING is an NC_VLEN of NC_CHARs). So in both cases there is something special about nc_close() call when writing (nested-ish) NC_VLEN attributes.

Wanted to note that with writing some very large NC_VLENs of NC_STRINGs attributes, we also saw a crash on nc_close(). Additional similarity with that previously reported issue.

I did some more experimentation with this. I think your guess is mostly correct.
The attribute data is probably copied internally but it does not do a deep
copy. I think it does a shallow copy of the top level. This would explain why we do not
see this for vlens of the int types or enums. I would expect it for vlens of opaque, string,
some compounds and vlens of vlens.
I can hack together a fix; it is really important to you?

It would be really nice to have a fix in the next netcdf release, if possible!

I am working on the fix  (actually the more general problem of reclaiming VLENS).
I am mostly done, except I have one very difficult problem I am trying to solve.
Attached is the proposed PR report that describes the changes.
vlenfix.txt

Oops I forgot about typeid. I will make sure it is removed.


Addition of Vim mode, Syntax highlighting to notepad

Description of the new feature / enhancement
PowerToys was able to add many file previews. Is it possible to integrate Vim mode and Syntax highlighting and other plugin support to Notepad. PowerToys added some extended functionality to Windows Explorer similar to plugins. Wondering if the above is possible to do the same for Notepad
Scenario when this would be used?
This will be extremely useful for developers. Also this can be similar to Notepad++ which has a lot of useful features. I use Notepad++ a lot because of the above features. I also use it because I don't need to save every file. I can just open a new tab and write something. Only recently, Windows Notepad has automatic saving functionality where I don't need to save every file. So, adding some other features will be extremely useful as well.
Supporting information
No response

If Notepad++ works for you, 100% it is a great product.
Since notepad doesn't have a plugin system nor public APIs /feedbackhub is the best spot for htat


Document explaining how to integrate with this package

Hi,
I tried to integrate this package with the "linter-clang", so I could know when linter is running or not, since today there are no way to know this.
I tried to see how "build" package made this, but I failed on that! I am new with Atom/Coffescript/Javascript and there are no document that I can read to help me with that.
What I did until now was:
package.json
...
"dependencies": {
"atom-linter": "^4.5.0",
"atom-package-deps": "^4.0.1",
"clang-flags": "^0.2.2",
"busy": "^1.0.0"
},
"packages-deps": [
"linter",
"busy"
],
"consumedServices": {
"busy": {
"versions": {
"^1.0.0": "consumeBusy"
}
}
},
...
lib/main.js
...
68:  this.busyRegistry && this.busyRegistry.begin(test, testtt);
...
consumeBusy(registry) {
this.busyRegistry = registry;
}
I already started to study Coffeescript/Javascript to see if this help me with something now!
Are there any place where I can look for some documentation?
Tks

I really should get around to writing documentation soon!
For your benefit, I think you've almost got it. Add some debugging in consumeBusy and then you call busyRegistry.begin and busyRegistry.end to verify that it is called properly.
The API is no more difficult than that. end can take an optional boolean value (aside from the identifier) which indicate if the task was successful or not.

I think the problem is with "this", if I put the ..begin... inside the consumeBusy it works, but inside the provideLinter it does not work!
One first analyse that I made using the developer console, I can't find any reference to the "busy" package!
I will need to study a little more to understand better what is happening! But it is like you said, it should be simple to integrate!

This is now available in the readme.


Added Chokidar definition file

Hi, this is the definition file for the chokidar module (available on npm) which allows to watch files and dirs easily and cross-platform. Since i had to use it, i thought it may be well in DefinitelyTyped.
Thank you very much for maintaining this great repo !
Arnaud Tournier
France

I saw too late that you already provided a PR for chokidar. Mine got merged today. Shall I integrate your definition into mine and add you to the list of authors? Yours is more detailed anyway ;)

@ltearno I merged your declaration into mine with a few more enhancements + passing tests. I took the freedom to add you to the authors list and will provide another pull request based on afee70eadcda2996d9e5157fbda33baca4ca7e0f . Are you ok with that?

Yes thanks a lot!
Arnaud
Le ven. 6 mars 2015 07:25, Stefan Steinhart<EMAIL_ADDRESS>a
écrit :

@ltearno https://github.com/ltearno I merged your declaration into mine
with a few more enhancements + passing tests. I took the freedom to add you
to the authors list and will provide another pull request based on afee70e
https://github.com/borisyankov/DefinitelyTyped/commit/afee70eadcda2996d9e5157fbda33baca4ca7e0f
. Are you ok with that?
—
Reply to this email directly or view it on GitHub
https://github.com/borisyankov/DefinitelyTyped/pull/3754#issuecomment-77513016
.

Great :) Thanks for your effort. I think you can close this PR in favor of the new one

That's done, thanks a lot !
Le ven. 6 mars 2015 à 08:02, Stefan Steinhart<EMAIL_ADDRESS>a
écrit :

Great :) Thanks for your effort. I think you can close this PR in favor of
the new one https://github.com/borisyankov/DefinitelyTyped/pull/3809
—
Reply to this email directly or view it on GitHub
https://github.com/borisyankov/DefinitelyTyped/pull/3754#issuecomment-77515916
.


feat(ownership-providers): intro an accent color to inputs and buttons

What Changed
Changes these UI

Motivation
Implement UI design updates.
Change Type
Indicate the type of change your pull request is:

[ ] documentation
[ ] patch
[x] minor
[ ] major

:baby_chick: Download canary assets:
nexus--canary.186.4638841152.zip

conflicts needs to be resolved


Compatibility with Rails server

Hi @sahat,
I wanted to consult about the plugin https://github.com/sahat/satellizer
Can it be used for combination of AngularJS and Ruby on Rails (server side)
Now for auth we are using ActiveAdmin (with Devise)
I did not find suitable examples and tried to connect Satellizer with Devise and OmniAuth (https://github.com/intridea/omniauth) with the help of gems I chose for the server side
But I did not get the desired result.
Then I saw a similar topic on your repo https://github.com/sahat/satellizer/issues/253
Has anything changed since then? Can you let me know please.
Will it help if I stop using OmniAuth? Or maybe Devise? Or even if I get rid of all of them I'll still need to invent a bicycle?
Thanks in advance for your response.

@Sergezdv Nothing has changed since then. I am still all for manual approach because it makes my life a lot easier replicating code changes across Node, PHP, Java, Ruby, Python as opposed to learning individual auth libraries for each language.
But probably more importantly it removes all authentication magic, so anyone can see exactly how each provider is implemented, modify anyway they see fit and add easily a new provider based on existing implementation.
It should be possible to integrate Satellizer with omnioauth and devise. Someone has managed to do it with Passport (node.js) so I assume it shouldn't be too far off. It's just a matter of how much time you want to spend figuring it out. This step by step flow should help since it tells you where satellizer's responsibility ends and server's responsibility begins.

@sahat thanks for your answer.
I have tried to solve this somehow but probably spent not enough time. It's a pity there is no sample of how someone solved this already.
I eventually started using a different service - angular_devise which appears to be more suitable for my case.
Thank you anyway!

:+1: @Sergezdv


Cannot link cla to a repo

URL to the linked Repository or Organization
https://github.com/pingcap/tidb-tools
Steps to reproduce the problem

try link the repo with any CLA gist
it shows linked successfully

What is the expected result?
The CLA should be linked and works well.
What happens instead?
refresh the dashboard, the repo disappeared (even when I created the webhook)
Any other information? (attach screenshot if possible)

Also the request for this gist prompts a 403, but it is actually public.

{
	"gist": {
		"gist_url": "https://gist.github.com/c76097bc1e95534fc1998f99a3837d84",
		"gist_version": "4558b5d00f33e69e58432b89865fc8de0ea5cdeb"
	},
	"repoId": "64638071",
	"sharedGist": false
}

Used browser and browser version?
Firefox developer edition
93.0b9 (64-bit)
Any other tested browsers/devices(OK/FAIL):

I tried some of my personal repositories, using the same gist, and it works.

@hi-rustin,
just a quick guess, I haven't yet time to look into it in detail. Do you have third-party app restrictions enabled for your org?
https://docs.github.com/en/organizations/restricting-access-to-your-organizations-data/about-oauth-app-access-restrictions &
https://docs.github.com/en/organizations/restricting-access-to-your-organizations-data/approving-oauth-apps-for-your-organization

@hi-rustin,
just a quick guess, I haven't yet time to look into it in detail. Do you have third-party app restrictions enabled for your org?
https://docs.github.com/en/organizations/restricting-access-to-your-organizations-data/about-oauth-app-access-restrictions &
https://docs.github.com/en/organizations/restricting-access-to-your-organizations-data/approving-oauth-apps-for-your-organization

There are many repos under the organization that use it properly.

So I just had a couple of more minutes and that seems to not an issue, as other repos in the pingcap organizations are already using CLA-Assistant (e.g. https://github.com/pingcap/dm).
But I looked and I found something very weird. There seems to be an entry in the database associated with a different repository (repo id: 64638071). Did sometime ago a different repository with the same name exist?

Hi @hi-rustin,
I checked and it seems that there was a pincap/tidb-tools repository sometime ago and there exists as well a dozen signatures for it from ~2017. I updated it in the database and cleaned up the name. Can you try readding the CLA now and see if that works?
Also if you have the browser debug tools open, there should be an API call when the repo is configured and the response header there should be a trace id. Can you share that with me please to easier cross check the logs?


Change basePath to describe full path while serving from /

@mkanoor @syncrou Please review.

@mkanoor Updated...can you take a look again?

I did not handle versioning (i.e. /api/v1.0 in this PR...will do it in a follow up PR when I understand it better)

@mkanoor Updated

You have merge rights so go for it ;)


Adds Filtering ability to chart widgets

This PR adds the ability to define filters for chart widgets and fixes the issue for Live updating.
https://user-images.githubusercontent.com/10007504/147029271-a9e8faaa-26be-4107-aeb1-73f4f35d7dc4.mov

Love this! Thank you so much.

Thank you. I enjoy implementing these little features🖖


Small instruction how use/test the app

Dear Yoann,
Nice add on .. but I can not see ' changes'  in the rig .. when the software say /dev/ttyUSB0 Connected.
Can you start with a very small ' quick use'  doc file .. how to check if the app is working.
The most easy test is the display contrast settings.
Regards,
Eric

UPDATE !!
In linux you have to check first at what USB port is 'connected'  to the dev/ttyUSB0 !
Most computers will have always /dev/ttyUSB0 or /dev/ttyUSB1
When the app is started .. it will ' thinking'  that the USB port is connect to ttyUSB0 ..
So we have to take a small research how determine the correct port connected ..

See my new update - rig still active !
Made new updates in menu and about / doc

Yess, i have comment self.rig.open() to continue implement UI. Thanks for the help, my pro take me a lot of time.

Added the instructions in README.md


TypeError: t is null error

Details in firefox inspector:
TypeError: t is null
[Més informació]
commento.min.js:1:1894
x
http://localhost:8081/assets/commento.min.js:1:1894
B.init/<
http://localhost:8081/assets/commento.min.js:1:6182
f/r.onload
http://localhost:8081/assets/commento.min.js:1:1236

Unfortunately, this is not a very useful error report - since commento.min.js is minified, it'll be difficult for me to infer anything from this. Instead of:
<script src="http://<IP_ADDRESS>/assets/commento.min.js"></script>

... can you use:
<script src="http://<IP_ADDRESS>/assets/commento.js"></script>

and provide me with the error report from firefox inspector?
Thanks!

Here you have it:
TypeError: el is null
[Més informació]
commento.js:182:9
addEvent
http://localhost:8081/assets/commento.js:182:9
Commento.init/<
http://localhost:8081/assets/commento.js:603:13
loadJS/script.onload
http://localhost:8081/assets/commento.js:120:17

I'm getting something similar:
TypeError: el is null
[Learn More]
commento.js:182:9
addEvent
http://localhost:1313/js/commento.js:182:9
Commento.init/<
http://localhost:1313/js/commento.js:603:13
loadJS/script.onload
http://localhost:1313/js/commento.js:120:17

Thanks a lot for reporting this, @somenxavier and @schollz
Looking into it.

@schollz @somenxavier I'm afraid this issue is now really outdated, so I'm closing this issue. There's a completely new version (basically a rewrite), and if you're still facing this issue, please file a different issue. The old version (for which you reported the error) has been deprecated.
BTW, we've moved all development to GitLab. If you need to file a new issue, please create one over there.


having Problem Compiling

ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\commands\uninstall.py", line 110, in run
uninstall_pathset.commit()
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\req\req_uninstall.py", line 432, in commit
self.moved_paths.commit()
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\req\req_uninstall.py", line 278, in commit
save_dir.cleanup()
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\utils\temp_dir.py", line 173, in cleanup
rmtree(self.path)
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_vendor\tenacity_init.py", line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_vendor\tenacity_init.py", line 381, in call
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_vendor\tenacity_init_.py", line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_vendor\tenacity_init_.py", line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 401, in __get_result
raise self.exception
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_vendor\tenacity_init.py", line 384, in call
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\pip_internal\utils\misc.py", line 130, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onerror=rmtree_errorhandler)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 759, in rmtree
return _rmtree_unsafe(path, onerror)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 622, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 620, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages\~-l\_imaging.cp311-win_amd64.pyd'
WARNING: Ignoring invalid distribution ~ (C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ (C:\Users\Lenovo\Downloads\PySilon-Learn To Hack-3.2\PySilone-3.2\pysilon\Lib\site-packages)
THIS is the error im getting when i press compile

This is something that always happens to everyone and it doesn't really break anything. You can just overlook it and move one.

but how do i compile it when i compile i get this error

This is something that always happens to everyone and it doesn't really break anything. You can just overlook it and move one.

but how do i compile it when i compile i get this error

As I told you, you just have to overlook that error and move on. Wait for the compiler to build the executable and the created folder containing the executable will be opened automaticaly.

This is something that always happens to everyone and it doesn't really break anything. You can just overlook it and move one.

but how do i compile it when i compile i get this error

As I told you, you just have to overlook that error and move on. Wait for the compiler to build the executable and the created folder containing the executable will be opened automaticaly.

again sorry for disturbing so i just have to wait right?

yes, you just have to wait


New version: BrettMayson.HEMTT version 1.11.1

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 720.)

@wingetbot waivers Add Validation-Executable-Error


change(merge): Require 2 reviews for PRs with an extra-reviews label

Motivation
This PR makes sure we do two reviews on PRs with the extra-reviews label.
Closes #5996
Specifications
https://docs.mergify.com/examples/#using-labels-to-enable-disable-merge
Solution

Require 2 reviews if the extra-reviews label is on a PR
Automatically add an extra-reviews label with release drafter to PRs with titles with:

remov*
deprecat*
crash*
destr*
unsafe*

Clean up the auto-labelling in release-drafter.yml

Review
This would be good to have for PR #7053.
Reviewer Checklist

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

@mergifyio update

This PR contains a mergify config, so it needs a manual merge.


1487 | Making File Names Unique| Python

Making File Names Unique -
What will change -
Type of Issue -

[x] Adding New Code

Programming Language

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I m interested to add code for this problem

Assigned it to you for now, next time onward you first need to wait to get assigned before making any pull requests else it could be marked invalid


Humble onnxruntime build issue "exponent has no digits"

Describe the bug
The current version of onnxruntime is unable to build in humble and rolling
onnxruntime version: 36dc057913f968566eaa1646cb5db41d8c5e7654
error:
epd_onnxruntime_vendor/onnxruntime-prefix/src/onnxruntime/onnxruntime/core/mlas/lib/compute.cpp:59:5: error: exponent has no digits
     59 |     0x1.000000p+0,
        |     ^~~~~~~~~~~

To Reproduce
Build failure in CI.
Build Success in failure.
Expected behavior
Build same as foxy with no failures
Desktop (please complete the following information):

OS: Ubuntu 22.04

Additional context
Add any other context about the problem here.

Hi @Briancbn, thank you for identifying this issue. Will be having a look at this next week once I am free.
Will try my best to reproduce the following error and update here regarding any debug progress.


2 color dash line

Hi! @patriciogonzalezvivo
Could we try a dash line with 2 colors? And the ability to set the background color too?

Sure! We should sit down together and plan this... as part of the optimisation we should transform as much geometry we can to shaders...
Could you prepare some snapshots of routes styles we need... and what properties should be configurable like:
background_color
dash_width:
dash_height:
dash_space:

Thanks! Sure, to add to the above:
background_color
dash_width:
dash_height:
dash_space:
dash1_color:
dash2_color:
Not sure yet how I'll use it, still sketching, but yes let's optimize when finalized
Like the highways? Should we change that to shader form?

Yes, right now... the road, glow, outline, and dashes add one geometry each one... that produce over draw + different custom shaders... all that slows down things... the idea is once we have something we like to put it together into less layers...
probably the roads will contain the dashes and traffic animations (that they already had)
and the outline will provide also the glow... so the size need to be changed (bigger)

Ok, I think the highway is ready to be converted to shader form.

future: speaking w @bcamper I realize this as a shader is more expensive... tangram (as is) have great support for pattern textures on lines... we should use that

Can you create a new issue to track this, please?
On Tue, Oct 11, 2016 at 12:03 PM, Patricio Gonzalez Vivo <
<EMAIL_ADDRESS>wrote:

future: speaking w @bcamper https://github.com/bcamper I realize this
as a shader is more expensive... tangram (as is) have great support for
pattern textures on lines... we should use that
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tangrams/tron/issues/26#issuecomment-253012948, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA0EOyCszidBem0BAyU9v27_WLM318Ncks5qy91pgaJpZM4JayO-
.

is technically "not an issue". Just a note for the future (because is a 2.1 goal) that this should be address with the existing lines texture patterns.


Generic.typeArguments

ceylon.language.meta.model::Generic.typeArguments is declared to return a Map and the documentation doesn't say anything about the iteration order of this map. In practice the map's iteration order is the same as the declaration order of the type parameters, and I believe clients will come to rely on that being the case, so I think we should document that iteration is guaranteed.

We now have Generic.typeArgumentList, so I suppose we can close this.


Problems with null values in […] queries on a class

There seems to be a problem with searching for null values in […] queries.
When I perform the following query, searching for a specific RID, the query works successfully, and all tags which do not have a ‘deleted_at’ property are successfully retrieved, along with the #21:0 record.
SELECT *, out('Has')[@class=Tag][deleted_at=null] AS tags FROM #21:0

When I perform the same query, but on the whole class, a java.lang.NullPointerException is returned, and neither the People or the tags are returned.
SELECT *, out('Has')[@class=Tag][deleted_at=null] AS tags FROM People

When I perform the query on the whole class, without the [deleted_at=null] part - it is successful (but obviously also returns tags which have a ‘deleted_at’ property set).
SELECT *, out('Has')[@class=Tag] AS tags FROM People

OrientDB version: 2.0-rc1

I've looked slightly deeper at this issue, and the problem is not to do with whether it is searching a single record, or a whole Class. Instead it causes a NullPointerException if the record (or any record on the class) does not have any tags. The problem is that the pipeline filter searching for null values needs a set/array.
If you do the following query on a Person record who does not have any Tags connected to it, then the query will fail:
SELECT *, out('Has')[@class=Tag][deleted_at=null] AS tags FROM #21:0

If you make sure that the [@class=Tag] returns a set, then the query is successful:
SELECT *, out('Has')[@class=Tag].asSet()[deleted_at=null] AS tags FROM #21:0

or
SELECT *, out('Has')[@class=Tag].asSet()[deleted_at=null] AS tags FROM People

OrientDB version: 2.0.2

Could you please attach the full stack trace?

The full stack trace is as follows:
Sent run-time exception to the client /<IP_ADDRESS>:62363: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select *, out('Has')[@class=Tag][deleted_at=null] AS tags FROM Person
com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select *, out('Has')[@class=Tag][deleted_at=null] AS tags FROM Person
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1190)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1173)
	at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:71)
	at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:85)
	at com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33)
	at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1178)
	at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:385)
	at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:216)
	at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65)
Caused by: java.lang.NullPointerException
	at com.orientechnologies.orient.core.record.impl.ODocumentHelper.getFieldValue(ODocumentHelper.java:340)
	at com.orientechnologies.orient.core.sql.functions.coll.OSQLMethodMultiValue.execute(OSQLMethodMultiValue.java:54)
	at com.orientechnologies.orient.core.sql.methods.OSQLMethodRuntime.execute(OSQLMethodRuntime.java:139)
	at com.orientechnologies.orient.core.sql.filter.OSQLFilterItemAbstract.transformValue(OSQLFilterItemAbstract.java:140)
	at com.orientechnologies.orient.core.sql.functions.OSQLFunctionRuntime.execute(OSQLFunctionRuntime.java:128)
	at com.orientechnologies.orient.core.sql.ORuntimeResult.applyRecord(ORuntimeResult.java:119)
	at com.orientechnologies.orient.core.sql.ORuntimeResult.getProjectionResult(ORuntimeResult.java:225)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.addResult(OCommandExecutorSQLSelect.java:580)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.handleResult(OCommandExecutorSQLSelect.java:551)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearchRecord(OCommandExecutorSQLSelect.java:507)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.fetchFromTarget(OCommandExecutorSQLSelect.java:1316)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:433)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:391)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1184)
	... 8 more

I've narrowed it down a little further:
The following query is successful indicating that it is a problem with records which only have 1 matching vertex:
SELECT *, out('Has')[@class=Tag][deleted_at=null][removed_at=null] AS tags FROM Person WHERE ( out('Has')[@class=Tag].size() > 1 OR out('Has')[@class=Tag].size() < 1 )

It might be as a result of this...

If I run SELECT out('Has') AS tags FROM Person the tags are returned as a set...

If I run SELECT out('Has')[@class=Tag] AS tags FROM Person the tags are returned as a set if there are multiple tags and a single rid if there is only one matching tag ...

Because it is not always returning a set, this is causing the problem.
The query SELECT out('Has')[@class=Tag].asSet() AS tags FROM Person shows the error a little more...

OrientDB version: 2.0.2

Hi @tobiemh
This problem is already fixed in current latest stable (2.2, but also 2.1).
I'm closing this issue, please reopen if you still see any related problems
Thanks
Luigi


DEA review:  Replacing the References to the Council of Content Providers and Aggregators.

There have been a number of comments related to the passages where we have removed the references to the nonexisting Council of Content Providers and Aggregators. Kate made it clear that she considers it undesirable that metadata specification can now be changed without consultation of an outside body. In addition it has been pointed out that the assigningment of a mediation role to the Europeana Network Association needs to be made more precise. Based on this feedback we propose the following:

Add the Europeana Network Association to the list of defined terms
Change article 7.6 to say: "All disputes arising out of or in connection with this agreement, which cannot be solved through consensus, shall be referred to the Management Board of the Europeana Network Association for mediation. The outcome of the mediation process will be binding on the parties."
Change Article 2.4 to say "Europeana shall ensure that future versions of the Metadata Specifications are compatible with the Metadata Specifications in place on the Effective Date. Before mandating changes to Metadata Specifications, Europeana must consult with the Europeana Network Association.

From our perspective it makes sense to have a precise reference to the MB in article 7.6 (the MB can always decide to involve additional people in the mediation). With regards to the reference in article 2.4 we would like to give the ENA some flexibility on how such a consultation is structured (via a task force, a specific community, the members council or otherwise) but we think that it is indeed good to keep the consultation requirement for changes to the metadata specification in place.

The proposal is to replace references to the Council of Content Providers and Aggregators with the Europeana Network Association, and for the ENA to become the forum for consultations over changes to the Europeana Data Model.  I commented, and others agreed, that the EDM specification should be managed by the community of metadata experts rather than by Europeana foundation alone or the whole Europeana network.
The issue that we need to solve is the establishment of a permanent working group to manage the development of EDM and related specifications, which can involve the necessary experts from within Europeana alongside external experts from the data community.
My suggestion would be to refer the setting up of the working group to the Management Board of the Europeana Network Association and ask them, jointly with the Europeana Foundation, to set up a working group to take on this role.
Then Change Article 2.4 to say "Europeana shall ensure that future versions of the Metadata Specifications are compatible with the Metadata Specifications in place on the Effective Date. The Europeana Network Association Metadata working group shall be responsible for reviewing and mandating changes to Metadata Specifications, and for notifying the Network."

this has been addressed in the revised DEA. the Council is no longer referenced


Upgrade rules_python.

With the current version, bazel-bench fails to run successfully on MacOS for
reasons I don't fully understand (something to do with locating the pip deps
inside the virtual environment). Instead of trying to understand them, I'm
upgrading to the latest rules_python release, which works fine.

Note: ended up going with rules_python 0.7.0 instead of 0.8.1 (latest). The latter doesn't work on Buildkite because it attempts to run a pip that uses Python 3.7 features, but the Buildkite machines only have Python 3.6.


Invalid response to "application/openmetrics-text" Prometheus requests

I just setup Prometheus 2.9.1, when it tries to parse my /metrics url it throws a invalid metric type "info" error if I have a Info line.
Error from Prometheus log:
prometheus_1                          | level=warn ts=2019-04-19T17:59:44.932649585Z caller=scrape.go:835 component="scrape manager" scrape_pool=apps target=http://<IP_ADDRESS>:20171/metrics msg="append failed" err="invalid metric type \"info\""

Code:
from prometheus_client import Info
app_info = Info("app_info", "Application information")

curl http://localhost/metrics --header "Application: foo":
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="2",version="3.7.2"} 1.0
# HELP app_bm_info Application information
# TYPE app_bm_info gauge
app_bm_info{test="bar"} 1.0

curl http://localhost/metrics --header "Accept: application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1":
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="2",version="3.7.2"} 1.0
# HELP app_bm_info Application information
# TYPE app_bm_info info
app_bm_info{test="bar"} 1.0

If I intercept prometheus request and change the Accept header to something else Prometheus get the response in a format it can parse.
It is the # TYPE app_bm_info info line Prometheus does not like.

Can you show the full headers involved?
On Fri 19 Apr 2019, 19:58 Gyllsdorff<EMAIL_ADDRESS>wrote:

I just setup Prometheus 2.9.1, when it tries to parse my /metrics url it
throws a invalid metric type "info" error if I have a Info line.
from prometheus_client import Info
app_info = Info("app_info", "Application information")
curl http://localhost/metrics --header "Application: foo":
HELP python_info Python platform information
TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="2",version="3.7.2"} 1.0
HELP app_bm_info Application information
TYPE app_bm_info gauge
app_bm_info{test="bar"} 1.0
curl http://localhost/metrics --header "Accept:
application/openmetrics-text;
version=0.0.1,text/plain;version=0.0.4;q=0.5,/;q=0.1":
HELP python_info Python platform information
TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="2",version="3.7.2"} 1.0
HELP app_bm_info Application information
TYPE app_bm_info info
app_bm_info{test="bar"} 1.0
If I intercept prometheus request and change the Accept header to
something else Prometheus get the response in a format it can parse.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/client_python/issues/399, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABWJG5VHP2KHOII35DUKN7LPRIB2VANCNFSM4HHGFFSQ
.

This is a dump of the incoming request from Prometheus 2.9.1.
{
 "client": [
  "<IP_ADDRESS>",
  37532
 ],
 "headers": [
  [
   "host",
   "<IP_ADDRESS>:20171"
  ],
  [
   "user-agent",
   "Prometheus/2.9.1"
  ],
  [
   "accept",
   "application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1"
  ],
  [
   "accept-encoding",
   "gzip"
  ],
  [
   "x-prometheus-scrape-timeout-seconds",
   "2.000000"
  ]
 ],
 "http_version": "1.1",
 "method": "GET",
 "path": "/metrics",
 "query_string": "",
 "root_path": "",
 "scheme": "http",
 "server": [
  "<IP_ADDRESS>",
  20171
 ],
 "type": "http"
}

This means the library will respond with the Openmetric formatted response which seems to use the raw type of the metric, but Prometheus only accepts counter, gauge, histogram, summary, or untyped.
The regular python_info output uses the Gauge class directly instead of the Info class which bypasses this problem.
https://prometheus.io/docs/instrumenting/exposition_formats/#comments-help-text-and-type-information

If the token is TYPE, exactly two more tokens are expected. The first is the metric name, and the second is either counter, gauge, histogram, summary, or untyped, defining the type for the metric of that name.

What are the response headers?
On Sat 20 Apr 2019, 13:27 Gyllsdorff<EMAIL_ADDRESS>wrote:

This is a dump of the incoming request from Prometheus 2.9.1.
{
"client": [
"<IP_ADDRESS>",
37532
],
"headers": [
[
"host",
"<IP_ADDRESS>:20171"
],
[
"user-agent",
"Prometheus/2.9.1"
],
[
"accept",
"application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,/;q=0.1"
],
[
"accept-encoding",
"gzip"
],
[
"x-prometheus-scrape-timeout-seconds",
"2.000000"
]
],
"http_version": "1.1",
"method": "GET",
"path": "/metrics",
"query_string": "",
"root_path": "",
"scheme": "http",
"server": [
"<IP_ADDRESS>",
20171
],
"type": "http"
}
This
https://github.com/prometheus/client_python/blob/master/prometheus_client/exposition.py#L135
means the library will respond with the Openmetric formatted response which
seems to use the raw type of the metric, but Prometheus only accepts
counter, gauge, histogram, summary, or untyped.
The regular python_info output uses the Gauge class directly instead of
the Info class which bypasses this problem.
https://prometheus.io/docs/instrumenting/exposition_formats/#comments-help-text-and-type-information
If the token is TYPE, exactly two more tokens are expected. The first is
the metric name, and the second is either counter, gauge, histogram,
summary, or untyped, defining the type for the metric of that name.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/client_python/issues/399#issuecomment-485097325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWJG5TM6NQ3XLWGEMIN37DPRL4ZNANCNFSM4HHGFFSQ
.

Thanks man, I think that is the problem. :)
Response headers:
[
  [
    "content-type",
    "application/json"
  ],
  [
    "x-request-id",
    "QZsB94nVYm/8"
  ],
  [
    "access-control-allow-origin",
    "*"
  ],
  [
    "access-control-max-age",
    "3600"
  ],
  [
    "access-control-allow-methods",
    "GET, POST, OPTION, DELETE, PATCH"
  ],
  [
    "access-control-allow-headers",
    "authorization"
  ],
  [
    "content-type",
    "application/openmetrics-text; version=0.0.1; charset=utf-8"
  ]
]

A middleware added a content-type: application/json header, when I remove it everything started working as expected.


Update the UI configuration file to generate dist file

Description
Update the UI configuration file to generate dist file.
Issues
n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)
[x] Others (enhancement, documentation, validation, etc.)

Dependencies
no
Tests
CI pass.

@WenjiaoYue， please resolve the code conflict.