mass.play_media fails completely when one of the (Spotify) playlists causes an error

What version of Music Assistant has the issue?
2024.1.0
The problem
I'm a calendar trigger to start this script every day :
'alias: Start muziek (week)
sequence:

service: script.set_standard_volume
data: {}
service: mass.play_media
target:
entity_id: media_player.hobbyruimte
data:
enqueue: replace
media_id:
- Bad girls & boys
- Rockabilly Mania
- 'SKÁLD: the complete playlist'
- This is Bush
- This is AC/DC
- This is Iron Maiden
- This is Moloko
media_type: playlist
mode: single
icon: mdi:file-music'

Today the script failed to play music at all.
The timeline-trace showed this :

Entering the reported link 'spotify://playlist/37i9dQZF1DZ06evO3KIUZW' into my browser showed it was the "This is Iron Maiden" playlist that had caused an error. The music assistant log appears to have additional detail.
Starting the script again did not reproduce the error.
How to reproduce
The 'script.set_standard_volume' uses mediaplayer calls to set volume and enable shuffle.
This may not be easy to reproduce, because usually the script works perfectly.
Relevant log output
2024-02-09 06:00:16.891 ERROR (MainThread) [music_assistant.providers.spotify] playlists/37i9dQZF1DZ06evO49hLQA/tracks - {'error': {'status': 502, 'message': 'Bad gateway.'}}
2024-02-09 06:00:16.967 ERROR (MainThread) [music_assistant.providers.spotify] playlists/37i9dQZF1DZ06evO3KIUZW - {'error': {'status': 502, 'message': 'Error while loading resource'}}
2024-02-09 06:00:16.968 ERROR (MainThread) [music_assistant.webserver] [139824425099152] Error handling message: CommandMessage(message_id='fcfea6cfd2094b1a97add5e830205874', command='players/queue/play_media', args={'queue_id': 'RINCON_949F3EF61A0801400', 'media': ['library://playlist/190', 'library://playlist/187', 'spotify://playlist/5qPtR75ufTvUKTB6Nbz0Rv', 'library://playlist/142', 'library://playlist/140', 'spotify://playlist/37i9dQZF1DZ06evO3KIUZW', 'library://playlist/141'], 'option': 'replace', 'radio_mode': None})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 289, in play_media
media_item = await self.mass.music.get_item_by_uri(item)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 310, in get_item_by_uri
return await self.get_item(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 334, in get_item
return await ctrl.get(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 188, in get
details = await self.get_provider_item(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 455, in get_provider_item
raise MediaNotFoundError(
music_assistant.common.models.errors.MediaNotFoundError: playlist://37i9dQZF1DZ06evO3KIUZW not found on provider spotify
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 373, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 292, in play_media
raise MediaNotFoundError(f"Invalid uri: {item}") from err
music_assistant.common.models.errors.MediaNotFoundError: Invalid uri: spotify://playlist/37i9dQZF1DZ06evO3KIUZW
Additional information
No response
What version of Home Assistant Core are your running
2024.2.0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Seems like an upstream problem. If Spotify doesn’t return a valid result then there is not much MA can do?

Fair point. This will get looked at in due course.

fixed in b144

@DutchJaFO can you please confirm this has been fixed

We are tidying up so I will close this but we will reopen if you still have a problem.

Hello,
I've the same issue. I can't play any playlist created by Spotify via Music Assistant.
I'm using the version 2.3.4 and I'm trying with playlists like:

https://open.spotify.com/playlist/37i9dQZF1E4s96jJgqDgvl
https://open.spotify.com/playlist/37i9dQZF1EIVmkna7DTk3K
https://open.spotify.com/playlist/37i9dQZF1DZ06evO4rvWRa

I have this error in the logs
2024-12-22 19:52:10.419 WARNING (MainThread) [music_assistant.player_queues] Skipping https://open.spotify.com/playlist/37i9dQZF1E4s96jJgqDgvl: playlist://37i9dQZF1E4s96jJgqDgvl not found on provider spotify
2024-12-22 19:52:10.419 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play_media: No playable items found

When I try to do a search on the web UI, I don't get any result and get this error:
2024-12-22 20:07:40.997 WARNING (MainThread) [music_assistant.music] playlist://37i9dQZF1E4s96jJgqDgvl not found on provider spotify

But when I try another playlist (that is not created by Spotify), it show me a result in the search.
It seems Spotify doesn't answer the same way for its playlists but I don't know what changes...
Is there any workaround to make Spotify created playlist works ?
Thanks!


Fix some typos for the, for, recieve, retrive.

Fix some typos for the, for, recieve, retrive.

@Yulv-git Can you please resolve conflicts? Thank you!

@Yulv-git Can you please resolve conflicts? Thank you!

I found conflicts in tensorflow/core/kernels/quantize_and_dequantize_op.cc, but I'm not quite sure how to fix it.

@Yulv-git Can you please resolve conflicts? Thank you!

I found conflicts in tensorflow/core/kernels/quantize_and_dequantize_op.cc, but I'm not quite sure how to fix it.

Perhaps, I have resolved conflicts now.


Endpoing for getting Following list

Describe your changes :
#147

I added two endpoints.  /api/users/following to get a list of users the client login follows, and also /api/users/profile to fetch the latest profile of my logged in user.  These were necessary to get the follow / unfollow buttons working in the UI.

Type of change :

[ ] Bug fix
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Preview (Screenshots) :

If it is possible, please link screenshots of your changes preview !

Checklist:

[x] I have read the Code Of Conduct document.
[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@PraveenMalethia we currently have the followers which are returned on the profile object, but that is an array of all the people following a user.  We need the ability to get all the users we follow.  So following vs followers basically


Implement convolution in Rust

Done in https://github.com/opixelum/opixelib/commit/046aa1a8bb9a0db8b6f7675b89cb2c110fb97bec


streaming

hello,
first of all i want to thank you for this tutorial. i also want to ask you if you can explain how to from the cloning part an on. i been trying to stream but i can not get pass the installing the ffmpeg.

Which parts are you specifically having trouble with? For example, are you experiencing issues installing ffmpeg?

yes. from that part an on i am not able to fallow the code. i have the camera install and i have done the test you recommend and they all return the same way as yours. however, after that i am lost

for example, what do you mean by "navigate to bin"

Ah, what I mean by "navigate to bin" is to change to the bin directory. For example, if you are already in the edi-cam directory, you would type cd bin. Hope this clarifies!

okay. i guess my problem now is when i get there. what am i supposed to do?

im sorry, i am so confuse. for this part of the code am i still on the edison? am i supposed to install the ffmpeg on the edison?

Yes, all of the steps refer to installing on Edison!

hello,
can u explain why my browser not showing the video stream??
i find this output in my console,
root@Group14:~/edi-cam/web/server# node server.js
WebSocket server listening on port 8084
HTTP server listening on port 8080
Listening for video stream on port 8082
Stream Connected: ::ffff:<IP_ADDRESS>:42243 size: 320x240
but when i hit http://group14.local:8080 there is no video stream :( :(

@taimurIslam what did it show on the console? did it show any error?


Followup: Components importing JavaScript modules with await are not detected as async, but do work

Vue version
v3.4.5
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-wchgyg?file=src%2FApp.vue%2Csrc%2Fmain.js&terminal=dev
Steps to reproduce

Create a JavaScript module which uses top-level await, e.g., calls fetch to load some data.
Export that data from the JavaScript module.
Import that module inside script setup of your Vue component.
Use that component without wrapping it with Suspense.

What is expected?
Maybe:

That component is detected as async and requires Suspense.
Or that top-level await can be used without Suspense and behaves like lazy-loaded module.

What is actually happening?
Component loading is delayed but once it is loaded it works well without Suspense.
System Info
No response
Any additional comments?
This is a followup to #9828 which go locked by at bot during holidays. I sadly was not able to get to the issue in time to reply there.
@yyx990803 commented there:

Module level await happens at module loading time - i.e. the code that mounts the entire Vue application won't execute until the await in your data is loaded. Once it's loaded, it is the same as mounting a sync component.
In other words, your users will see a blank screen until the data is loaded, and Vue wouldn't be able to provide fallback states while waiting for the data to load, or show an error state in case the data load fails. Suspense, on the other hand, gives you the ability to control that.

Sorry. My reproduction was too minimal to clearly explain what the issue I think is. I made another one which uses vue router and shows I think strange interaction between lazy-loaded components and async components.
I completely agree that making top-level await or async import inside top-level component would be a bad UX. But if I use vue router, then I think there is strange interaction between async components and lazy loaded components. For example, because I am using lazy loading of components I anyway have to make sure I show some "loading" to users if that loading is taking long (maybe because of slow link, maybe because some component is async importing some data like the example/reproduction does). And if I already have to show "loading" to users then it seems redundant to me that I cannot also do the same for async components, so reuse the same "loading" UI/UX.
This makes sense for the main components for views which get swapped between in router-view. I agree that for child components Suspense nicely combines all async loading into one loading experience.
Maybe the solution is that Suspense would support lazy-loaded components on its own. So that a component closure (e.g., () => import(./views/View1.vue)) would be directly passed to Suspense which would then call it, wait for lazy loading and then continue to wait for async component to finish executing.
I think my case of loading some data using async import is just a special case of lazy loading of components which do not (yet) interact nicely with Suspense (to my knowledge) and requires one to duplicate loading UI/UX.

I have a hard time following.

I made another one which uses vue router and shows I think strange interaction between lazy-loaded components and async components.

What is that "strange interaction" ?

For example, because I am using lazy loading of components I anyway have to make sure I show some "loading" to users if that loading is taking long (maybe because of slow link, maybe because some component is async importing some data like the example/reproduction does).

Correct, that's how it is for vue-router

And if I already have to show "loading" to users then it seems redundant to me that I cannot also do the same for async components, so reuse the same "loading" UI/UX.

Here I'm not following. "do the same" how? When? Where?

Maybe the solution is that Suspense would support lazy-loaded components on its own. So that a component closure (e.g., () => import(./views/View1.vue)) would be directly passed to Suspense which would then call it, wait for lazy loading and then continue to wait for async component to finish executing.

Where would that "component closure" come from / be used? How should it trigger Suspense? How would I prevent it from triggering Suspense if I wanted to?
In short: I'm confused and don't really understand what behavior you want to achieve.

How does this realate to what we actually call "async components" defined with defineAsyncComponent?

Sorry, it seems to me I was using bad terminology here. So there is:

Component with top-level await in its setup.
Lazy loaded component (as defined with vue-router).
Async component (which can help with lazy loading) as defined with defineAsyncComponent.

I was primarily thinking about the first two and I was naming the first one "async component". I will use "top-level await component" from now on.
Thank you for response and sorry if what I wrote is unclear. I operated in the context of #9828. I think I could summarize that as:

I think it would be very ergonomic for developers if lazy components and top-level await components would behave the same, or could even be both, a lazy top-level await component. Which simply means that you would have one loading message being show to the user or while a) lazy component is being imported, or b) top-level await component is being executed, or c) both.

It would also mean that it does not matter where does the asynchronicity is coming from, from top-level await in the component (top-level await component) or from some async import inside the component (my example above), or from loading the component itself (lazy loaded component).
Currently, there is one story for lazy loading and another story for top-level await components.

With "strange interaction" and "do the same" I mean that if I want to use top-level await (my example above does not do it) together with lazy loaded components, I have to implement twice a way to show to the user that something is loading, once for lazy loading and once for awaiting the top-level await. Ideally, that would just be done exposed as one asynchronicity.

I see four potential solutions here:

vue-router would support top-level await components and await them before calling afterComponent, thus not requiring Suspense for such components.

That would also allow a lazy loaded top-level await component, which would first be lazily imported and then awaited on its setup.

Lazy loading from vue-router would somehow be integrated with Suspense.
Instead of vue-router running the "lazy loading closure" it would pass it as-is to Suspense which would then do both executing of the closure and awaiting on its setup.
It seems to me that defineAsyncComponent seems to be solving the same problem as "lazy loaded components" and they are even compatible with Suspense, so maybe "lazy loaded components" in vue-router should be deprecated and everyone should be redirected to use defineAsyncComponent instead?

I hope this clarifies a bit my ideas. Of course they might be amiss and I am probably missing many things here, but as a developer who wanted to load some data in top-level await and at the same time is using lazy loading and is confused on how to show/implement to users only once their a loading message.

I'll get back to you over the weekend.

First of all, I think the missing context here is that top-level await (TLA) in <script setup> and TLA in an external JS module are different.

TLA-in-setup is a SFC compiled feature - it looks like TLA but the await actually happens inside the component's setup() hook. The async logic is handled entirely within Vue, so Vue needs a way  It means your data fetching logic has access to everything the component has access to (route, props, app context, injections, etc.)

TLA-in-module is a language-level mechanism. Vue has no control over how the runtime actually handles TLA. The time waiting on TLA is considered part of the time of the dynamic import itself.

That said I kinda get what you mean now, just want to leave the notes above and I'll come back to this later.

I realized that the simplest thing here would be that vue-router would simply wrap automatically all its "lazy loaded components" with defineAsyncComponent? So if component argument to the route is a callback (for lazy loading), call defineAsyncComponent on that callback and this is it?


HTTP 404 on https://abotx.org/Home/Eula that is used as License of AbotX NuGet package

Thanks, this is fixed with AbotX v1.0.67


ROCmTools/ROCProfilerV2 API: Trace records are delivered in end-timestamp order

In the new ROCmTools/ROCProfilerV2 API (5.5 RC4) tracing records delivered via rocprofiler_set_api_trace_sync_callback are ordered by end-timestamp.
To simplify the output, I changed the tracer/sample.cpp from the rocmprofv2-examples.zip to something like this:
  int devId;
  hipGetDevice(&devId);

  // Activating Profiling Session to profile whatever kernel launches occurs up
  // till the next terminate session
  CHECK_ROCPROFILER(rocprofiler_start_session(session_id));

  hipDeviceProp_t devProp;
  HIP_CALL(hipGetDeviceProperties(&devProp, 0));
  HIP_CALL(hipMalloc((void **)&gpuMem, 1 * sizeof(int)));
  HIP_CALL(hipFree(gpuMem));

  // Deactivating session
  CHECK_ROCPROFILER(rocprofiler_terminate_session(session_id));

Output (ROCTX ID column dropped for clarity):
Record [1], Domain(HIP_API_DOMAIN), Begin(3021867580544991), End(3021867580615985), Correlation ID( 1), Function(hipGetDeviceProperties)
Record [3], Domain(HSA_API_DOMAIN), Begin(3021867580684354), End(3021867580849535), Correlation ID( 3), Function(hsa_amd_memory_pool_allocate)
Record [5], Domain(HIP_API_DOMAIN), Begin(3021867580675527), End(3021867580884592), Correlation ID( 2), Function(hipMalloc)
Record [7], Domain(HSA_API_DOMAIN), Begin(3021867580903968), End(3021867580909689), Correlation ID( 5), Function(hsa_amd_memory_pool_free)
Record [9], Domain(HIP_API_DOMAIN), Begin(3021867580892917), End(3021867580922513), Correlation ID( 4), Function(hipFree)

Duplicating the lines into individual begin and end lines and sort by timestamp, the (expected) order is as follows:
Record [1], Domain(HIP_API_DOMAIN), Begin(3021867580544991), Correlation ID( 1), Function(hipGetDeviceProperties)
Record [1], Domain(HIP_API_DOMAIN),   End(3021867580615985), Correlation ID( 1), Function(hipGetDeviceProperties)
Record [5], Domain(HIP_API_DOMAIN), Begin(3021867580675527), Correlation ID( 2), Function(hipMalloc)
Record [3], Domain(HSA_API_DOMAIN), Begin(3021867580684354), Correlation ID( 3), Function(hsa_amd_memory_pool_allocate)
Record [3], Domain(HSA_API_DOMAIN),   End(3021867580849535), Correlation ID( 3), Function(hsa_amd_memory_pool_allocate)
Record [5], Domain(HIP_API_DOMAIN),   End(3021867580884592), Correlation ID( 2), Function(hipMalloc)
Record [9], Domain(HIP_API_DOMAIN), Begin(3021867580892917), Correlation ID( 4), Function(hipFree)
Record [7], Domain(HSA_API_DOMAIN), Begin(3021867580903968), Correlation ID( 5), Function(hsa_amd_memory_pool_free)
Record [7], Domain(HSA_API_DOMAIN),   End(3021867580909689), Correlation ID( 5), Function(hsa_amd_memory_pool_free)
Record [9], Domain(HIP_API_DOMAIN),   End(3021867580922513), Correlation ID( 4), Function(hipFree)

rocsight shows the same behaviour. Putting the above HIP calls into a separate file and call rocsight on it:
#include <hip/hip_runtime_api.h>

int main()
{
    int devId;
    hipGetDevice(&devId);

    hipDeviceProp_t devProp;
    hipGetDeviceProperties(&devProp, 0);

    int *gpuMem;
    hipMalloc((void **)&gpuMem, 1 * sizeof(int));

    hipFree(gpuMem);

    return 0;
}

$ rocsight --sys-trace ./simple-hip
:
Record [149], Domain(HIP_API_DOMAIN), Begin(3022291145523111), End(3022291145538961), Correlation ID( 75), ROCTX ID(7312272752230166381), Function(hipGetDevice)
Record [151], Domain(HIP_API_DOMAIN), Begin(3022291145549180), End(3022291145572915), Correlation ID( 76), ROCTX ID(54), Function(hipGetDeviceProperties)
Record [153], Domain(HSA_API_DOMAIN), Begin(3022291145587813), End(3022291145636704), Correlation ID( 78), ROCTX ID(210453397508), Function(hsa_amd_memory_pool_allocate)
Record [155], Domain(HIP_API_DOMAIN), Begin(3022291145585228), End(3022291145648987), Correlation ID( 77), ROCTX ID(140580888654980), Function(hipMalloc)
Record [157], Domain(HSA_API_DOMAIN), Begin(3022291145660569), End(3022291145663094), Correlation ID( 80), ROCTX ID(140576863289344), Function(hsa_amd_memory_pool_free)
Record [159], Domain(HIP_API_DOMAIN), Begin(3022291145653776), End(3022291145669987), Correlation ID( 79), ROCTX ID(140580888654980), Function(hipFree)

Please note, that the Correlation ID corresponds to the expected order.
I was not able to find anything in the API or examples that it is possible to get a callback for begin and end individually. That was the case in roctracer, where the hip_api_data_t struct denoted with its .phase member which kind of event it was (ACTIVITY_API_PHASE_ENTER and ACTIVITY_API_PHASE_EXIT).
This renders the new ROCmTools/ROCProfilerV2 API broken when integrating it into performance tools like Score-P. All know and common tools interfaces deliver individual events for enter/begin and exit/end. This includes MPI, OMPT, OpenACC profiling interface, NVIDIA CUPTI, and also the (now) deprecated roctracer.

Hi @bertwesarg, are you still experiencing this issue? If so, have you tried using the plugins to format your output (https://rocmdocs.amd.com/projects/rocprofiler/en/latest/how-to/rocprofv2-usage.html#using-plugins)? If none of these plugins provide the output format you need, I'll reach out to the internal team handling rocprofiler.

Closing this issue for now, feel free to reopen this if the built-in plugins and custom plugin system are insufficient for your needs.


JAVA 4357

I tried to keep all related changes in separate commits.
Summary of changes:

Gradle updated to 6.9.1
Java toolchain added to the build
Plugins updated to support compiling with later versions of Java.

Configurations moved to directories - standardized the (less config needed for the plugins)
Some configurations had to be updated to support changes in the plugins - eg Spotbugs exclusions for random added. We may want to address those errors in the future.

Evergreen Updated:

javaVersion instead of jdk
Added a javaConfig.bash that is sourced by the shell files and sets:

Locations of jdks - also see gradle.properties
Sets JAVA_HOME for gradle to use
Sets JAVA_VERSION for the java version the tests use.

~Updated the Bson project to compile using JAVA 17 - so record support can be added.~   Some more work needed to support JAVA 17 compiling for Bson.  Just need to get the util project / doctags happy with release target 8.

Had to remove the bson compile with Java 17 as getting the following error when trying to check the whole project.
No matching variant of project :util was found. The consumer was configured to find an API of a library compatible with Java 8, preferably not packaged as a jar, and its dependencies declared externally but:
          - Variant 'apiElements' capability mongo-java-driver:util:unspecified declares an API of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
          - Variant 'runtimeElements' capability mongo-java-driver:util:unspecified declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8


System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

From @dilushi on October 1, 2018 9:23
I'm getting below error when trying to start the .Net Core API deployed on IIS. Tried many workarounds but still couldn't resolve this issue. Appreciate any support on this.

2018-10-01T10:10:42.6383743+01:00 0HLH7FMNJ4U50:00000002 [ERR] Connection id ""0HLH7FMNJ4U50"", Request id ""0HLH7FMNJ4U50:00000002"": An unhandled exception was thrown by the application. (560e7d32)
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable1 parts, ControllerFeature feature)    at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.UpdateCollection()    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)    at Microsoft.AspNetCore.Routing.RouteCollection.<RouteAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.<Invoke>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame1.d__2.MoveNext()
2018-10-01T10:10:42.6385488+01:00 0HLH7FMNJ4U50:00000002 [INF] Request finished in 11.3774ms 500  (791a596a)

#.NET Core 2.0, #API, #IIS
Copied from original issue: aspnet/KestrelHttpServer#2969

@dilushi this looks like MVC had issues loading assemblies. You should be able to see more information if you examine the LoaderExceptions as recommended in the error message. Can you share your project files with us and let us know the environment you are running on including the version of the shared framework and the dotnet SDK?  cc @pranavkm in case you know of any issues with loading assemblies.

hi @pranavkm , if you have any experience on a similar issue, could you please let me know if any workaround to resolve this issue? Appreciate your support on this.
Thank you.

@dilushi, how did you manage to add a SOAP service reference to a .Net Core project?

I don't believe it's something supported. @glennc, can you please confirm?

hi @mkArtakMSFT
Added the service reference using Connected Services in Visual Studio.
I have uploaded a sample project.
https://github.com/dilushi/NetCoreAndASMX
Thank you.

We should consider also special casing this during BuildModel and rethrowing a more descriptive error. We know that this is a likely place for an assembly or type load failure, and type load failures aren't easy to debug.

@dilushi sorry for the delay, I just got around to trying your scenario out. I was able to build \ publish and run your application without issues. The NETCoreApi app you pointed to is running on .NET Core (as opposed on .NET Framework) so the GAC isn't really involved here. .NET Core ships it's own copy of the ServiceModel assembly, so copying the one from .NET Framework is likely not be the correct thing to do.
Do you have more details on what the actual loader exception was? Might help explain what was causing the error you were seeing.
@rynowak filed https://github.com/aspnet/Mvc/issues/8692 to track suggestion

Hi. We're closing this issue as we have heard no response from you for some time now. If you have more details and are encountering this issue please add a new reply and re-open the issue.


Specify configuration directly in subworkflow definition

Is your feature request related to a problem? Please describe.
I try to modularize my workflows a bit, using subworkflows. Subworkflows can have slightly different behaviours dependending on the configuration (for example, using different parameters, different biological database, etc.). In more complex workflows, however, the number of configuration files I have to manage becomes quite large. Often there's also a set of configuration keys that are useful for multiple subworkflows (directory where I keep my samples, ...), so some config would be useful to define at a central single location.
Describe the solution you'd like
I would propose a another directive under subworkflow, named config, where you can explicitly define configuration in a key=value format. This configuration is then based like you would use the -C command line argument on the snakemake CLI. This would allow me to pass configuration defined in the master snakefile to subworkflows (and maybe allow functions too for on the fly configuration generation, or modifying some value).
Describe alternatives you've considered
I've noticed a slight inconsistency in configuration for subworkflows:

If you invoke the master Snakefile by running snakemake on the command line, and add extra config using the -C argument, then these config definitions will also be defined in any subworkflows, overwriting existing config keys defined in the configfile of a subworkflow.
If you invoke the master Snakefile by running snakemake on the command line, and add extra config with --configfile argument, then this configfile is not applied to subworkflows.

So while specifying configuration using -C could be used for defining configuration keys that should be available in every subworkflow too, I'd prefer to define them in a central config file.

This might be related to https://github.com/snakemake/snakemake/issues/24.
IIUC, having configfile specified for a subworkflow should overwrite the entries from the main configfile.


Invalid cookie header spammed in logs

This is spammed in logs:

[main] WARNING org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: AWSALB=${base_64}; Expires=Thu, 18 Mar 2021 23:48:24 GMT; Path=/". Invalid 'expires' attribute: Thu, 18 Mar 2021 23:48:24 GMT

Could this be prevented?
It looks like a similar fix was implemented in https://github.com/jfrog/build-info/pull/227

It has something to do with jar bundled with Maven.
https://support.sonatype.com/hc/en-us/articles/213464088-Configuring-Maven-HTTP-Wagon-Detailed-Logging
Workarounds I have used basically reduce the logging level to ERROR instead of WARNING:

Set the logging level in $M2_HOME/conf/logging/simplelogger.properties
org.slf4j.simplelogger.log.org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies=ERROR
Create .mvn/maven.config in your project and add property to change the logging level
-Dorg.slf4j.simplelogger.log.org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies=ERROR
Use MAVEN_OPTS to change the logging level
export MAVEN_OPTS="-Dorg.slf4j.simplelogger.log.org.apache.maven.wagon.providers.http.httpclient.client.protocol.ResponseProcessCookies=ERROR"

Thanks so much for sharing this workaround @oallauddin!


Adapt the plugin to recent changes in Gradle

Open questions:

when should we merge this in/release it; I guess we need to at least wait for an RC release of Gradle 8.11
will this plugin version work with older Gradle versions (since we are using these new OS and Artchitecture constants now)


make combine functions available

[ ] dice_hash_invertible_combine should be available with an arbitrary number of arguments in namespace Dice::hash. Arguments should be size_t.
[ ] additionally, dice_hash_combine should also be with an arbitrary number of arguments in namespace Dice::hash. Arguments should be size_t.
[ ] add examples how to use above functions
[ ] add tests for above functions

See #18

See #18


Custom DNS resolver and proxy support for WebSocket clients.

@dspearson thanks! I have a couple of concerns regarding this functionality:

Most probably we want to provide two different options: dns-options (to create a new DNS resolver) and name-resolver (to reuse the existing one). With the connection pool it’s more intuitive, as you spin and reuse the same resolver per each connection created within the pool. But here I’m forced to spin new resolver on each connection open (in most cases to resolve a single hostname). Which might be an overkill...

I don’t have experience with proxies for WS and WSS, but it feels like we need to set “Proxy-Connection: Keep-Alive” to ensure that the proxy would not close connection to the peer right away. What do you think?

I haven't really looked at the WS spec in detail, nor looked at the methods for maintaining an open connection. However, I see that in the http-proxy-headers function, there is
     (.set headers "Proxy-Connection" "Keep-Alive"))
and this appears to be called as part of the chain.
Regarding the first point, I have addressed it in a follow-up commit by simply removing dns-options, and allowing the passing of a pre-instantiated instance of the name resolver via name-resolver.
Cheers!

Yeah, there's a :keep-alive? setting that's set to true by default and it effectively adds an appropriate header. What we probably want to do here, is to force this setting to be true (just assoc it when creating the handler).

Erroneously hit close, sorry about that.
Addressed your comments. Thanks for your input.

Erroneously hit close, sorry about that.

Thanks a lot!

I admit I still don't know my way around the code that well. I am a little dubious about the validity of associating :ssl? with the proxy-options there, having copied it from elsewhere, and looking at http-proxy-handler has me scratching my head. The value is given by looking at the WebSocket connection scheme, and appears unrelated to the protocol used by the proxy itself.
I'm not using the option myself, so haven't tested it, sorry.

We need :ssl? to be passed to proxy handler just to be sure if we need to open tunnel. It should work for Websockets the same way it works for any HTTP connection but overall HTTPS proxies are not that common.

@kachayev, is this ready to be merged?

@ztellman Yeah, this one is ready.

Let me know if I need to do any further changes here, since I note my branch is a little behind.

Just drop by, sorry for my abrupt intrusion.
I am using this fantastic package and this is one of the features what I am waiting for. Only one suggestion. Normally, in some traditional command line software and some packages, proxy will use http_proxy and https_proxy environment variables as proxy by default, see  python websocket package [https://github.com/websocket-client/websocket-client/blob/df275d351f9887fba2774e2e1aa79ff1e5a24bd1/websocket/_url.py#L152](python websocket) line 152.
and https://github.com/jay/wget/blob/099d8ee3da3a6eea5635581ae517035165f400a5/src/retr.c#L1125 line 1125
and https://github.com/curl/curl/blob/c9c5304dd4747cbe75d2f24be85920d572fcb5b8/lib/url.c#L2257 line 2257.
All of them use these two environment variables as their proxy by default. I suppose that is a convention of linux/unix software/package. Would it be better if aleph also supports this?

This pull request is specifically only for adding the DNS resolver and proxy settings for WebSockets. Additional features for proxy selection from the environment should probably be in a different branch, if anything.

I'm going to rebase to 1.0.0 to merge with latest changes there. Substantial portion of the code is intertwined with websockets pipeline changes we've made so far.

As of now, merging into 1.0.0 branch (all conflicts are fixed).


Git log

VSCode Version: 1.8.1
OS Version: MacOS X

VSCode has many nice git features, but one is really missing git log. It would be great if i could display the git log directly in VSCode instead of switch to the terminal or another application.

Try this https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory

It's a good extension candidate and there are quite a few git log extensions in the marketplace.

Thx. I will check out the extensions.


[WIP] Edit notice file

Edit notice file

Add third party libraries excel sheet

Signed-off-by: Christoph Kleine<EMAIL_ADDRESS>Short Description
TODO:

[ ] Validate Copyright Holders dates
[ ] Complete list of Copyright Holders

Please add Copyright 2017 Michael Wurster.

@kleinech Who is working on this PR?
What's necessary to finalize this activity?

@F7502 Thank you for the review. I think, the list of authors is complete. If not, please directly edit NOTICE in the master.


Properly pass safe margin on initialization.

Fixes jitter.
This bug was introduced by #12713 but it was masked for a long time until f2e5405 exposed it.

@madmiraal Jitter should only appear when the advance per frame (usually due to gravity) is less than the margin. If small enough, its not a problem in practice. You can reduce the safe marging even further if you want until you stop seeing it, but that will give you numerical precision errors as you move away from the origin. The default value (fixed now) is a good tradeoff.

Thanks!

Cherry-picked for 3.2.3.


deprovision_same_model_replace does not work

Full steps to reproduce the issue:

gam update cros "$deviceIdOld" action deprovision_retiring_device acknowledge_device_touch_requirement

Expected outcome (what are you trying to do?):
Available Licenses should increase
Actual outcome (what errors or bad behavior do you see instead?):
Instead No Longer Available License numbers increase, Available Licenses stay the same.

This is not a GAM issue, this is a question of how Google handles Chrome licensing and re-use. See:
https://support.google.com/chrome/a/answer/3523633?hl=en


Is it possible to deep link into the send workflow?

I'd like to be able to launch the Mutiny wallet with an invoice or address pre-populated, but I cannot find a way to achieve this.
Most wallets seem to support a url handler to handle lightning:<invoice> or <app>:lightning:<invoice>, allowing you to open the app with the invoice pre-populated.
I've tried to find a way to do this with the mutiny web app, but no luck. Tried various combinations of https://app.mutinywallet.com/send?invoice=xxx Also tried reading the code but could not see a way to do it (my react-fu is pathetic, so I might be missing it, if so, my humble apologies!)
Looking at the iOS and Android apps, I can see that you're taking the trouble to associate with app.mutinywallet.com, which is handy. It would be even better if one could augment that with a link to a workflow, and even better still to support the lightning: URL scheme as described in Bolt11

Something we'd like to add but haven't gotten to yet!

Would you be willing to consider an MR that only adds support for a lightning invoice as a send parameter? Or would you need a more comprehensive change (BTC/Lightning/other)?
I'm asking because all that I need is to be able to pre-populate a lightning invoice in order to provide a slick payment experience to our customers who use Mutiny.

Would you be willing to consider an MR that only adds support for a lightning invoice as a send parameter? Or would you need a more comprehensive change (BTC/Lightning/other)?
I'm asking because all that I need is to be able to pre-populate a lightning invoice in order to provide a slick payment experience to our customers who use Mutiny.

Yes that'd definitely be accepted


[Feature] Add utility scripts to convert between cardano-cli text envelopes and open ssl .pem files

it would be nice to include the ability to convert between cardano-cli text envelope keys and open ssl .pem representations

@Ryun1 we had the same problem so I developed this Bash script to convert from Cardano private key file to x.509 pem:
cardano-skey-to-x509.sh:
if [ -z "$1" ]; then
    echo "cardano-skey-to-x509.sh skey-file"
    exit
fi

if [ ! -f $1 ]; then
    echo "skey-file \"$1\" doesn't exist"
    exit
fi

if ! grep '"type": "PaymentSigningKeyShelley_ed25519"' $1 > /dev/null; then
    echo "skey-file \"$1\" is not Cardano private key"
    exit
fi

privKeyHex=`sed -n -e  's/^.*"cborHex": "5820\(.*\)"/\1/p' $1` #trim cbor header
if [ ${#privKeyHex} -ne 64 ]; then
    echo "private key format error"
    exit
fi

asn1header="30:2e:02:01:00:30:05:06:03:2b:65:70:04:22:04:20"

echo "${asn1header}${privKeyHex}" | xxd -r -ps | openssl pkey -outform pem

hey @yushih
This is super helpful
Thank you!

@yushih @Ryun1 I have just added a new orchestrator-cli utility that does the conversion. Usage:
# Converts a pem file into a text envelope signing key file
$ orchestrator-cli from-pem my-openssl-private-key.pem output.skey
# Converts a text envelope signing key file into an open ssl pem file
$ orchestrator-cli from-pem my-key.skey output.pem

Fixed by Commit 17f12576e1f7cd78039da88eb154f7841e9cd378

Fixed by Commit 17f12576e1f7cd78039da88eb154f7841e9cd378

Awesome, thank you!


Update karlsgate-identity-exchange-tutorial.md

Update display name from "Karlsgate Identity Exchange (KIE)" to "Karlsgate Identity Exchange (KIE) SSO Add-on" to match updated Microsoft Entra gallery entry.

@jeevansd
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@LaszloKoller Creating a separate PR for your suggested changes in our private repo for better content validation. Please expect the app name change in the tutorial to be live in 1-2 days. #please-close


Establish convention for handling text in components

          I am ok adding i18n later or not at all, but I would like to try to keep the text isolated to a companion object (non-inline). IMO this is a good compromise for now:

We may end up passing all text as props, so we might consider instead:

Originally posted by @razor-x in https://github.com/seamapi/react/pull/1#discussion_r1169524009

Moved https://github.com/seamapi/react/discussions/37


Dapp Store is empty, "Failed to load application list, code 0"

i'm trying to stake and the Beam X DAO is not showing up in Dapp Store.
I am on wallet version V6.1.12023.4694
on macOS Big Sur version 11.2.1

also seeing this "Failed to load application list, code 0"
error

Hello @kevzettler
I would recommend you to delete beam wallet app and install it again (do not delete your database files, only application itself)

hi @gingervik I did uninstall and reinstall and the problem persists

Have just updated to v6.2.12508.4906 This is still broken.
Have attached the wallet logs
beam v6.2.12508.4906 osx report.zip

I see that in the Settings -> DAPPs there is:

When I try to connect to that local port there is no server running
kevzettler@kevs-mbp-3 ruckus % nc -zv localhost 34700
nc: connectx to localhost port 34700 (tcp) failed: Connection refused
nc: connectx to localhost port 34700 (tcp) failed: Connection refused

I suspect this is related the UI app probably does not have correct permissions to spawn that child server process. Have seen this permission problem with other applications on MacOS
cc @gingervik


⚠ Bofrost.at has degraded performance

In a3dc37a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1556 ms

Resolved: Bofrost.at performance has improved in 2fedb5a after 6 minutes.


Releasing security checker and code coverage integration

[Current coverage][cc-pull] is 79.78%

No coverage report found for master at 1a194db.

Powered by Codecov. Last updated by [1a194db...e8c6d7c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/modernmaster/katas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/modernmaster/katas/compare/1a194db82815cc46eca1610db2221ec5dc90f04d...e8c6d7c7262ef814722acb50b688d1e22e83bfab
[cc-pull]: https://codecov.io/gh/modernmaster/katas/pull/47?src=pr


package(@kinematic-lab/core): initial implementation

General information
Package name: @kinematic-lab/core.
Description
Minimum viable product of the @kinematic-lab/core package, used for pure JavaScript animations.
Contains at least the following parts:
LabProperty
LabController
LabClock
LabEasing

Closed by: #10.


[feat] Login refactor

In order to implement sharing feature we must refactor how logging in works - to make it a separate process

https://www.npmjs.com/package/js-sha256

This is implementing #65

Done with #66


Dragging  and  behaves poorly on Firefox

It seems like the merge from no-delay-clicks to master didn't work.  On master in Firefox I'm not able to drag <a> or <img> tags.
master (doesn't work): http://jsbin.com/pejixahala/edit?html,output
no-delay-clicks (works): http://jsbin.com/rojuwakega/edit?html,output

I can confirm that dragging <a> elements from the demo page behaves awkwardly on Firefox.

it's missing the e.preventDefault() on grab.
https://github.com/bevacqua/dragula/blob/no-delay-clicks/dragula.js#L83
I'm not sure how you are minifying the files otherwise I would have sent a pr.

Even with a preventDefault on grab, this still happens sometimes.

It seems to fix it for me.  Are you only looking in Firefox desktop?

Nevermind. That was a mistake. I wrote a faulty check. This fixes it! Woo

I had:
if (e.type === 'mousemove') {
  e.preventDefault();
}

But I needed to check for mousedown instead of mousemove. Reason for conditional is that preventDefault on touchmove (and presumably MSPointerMove) makes it impossible to follow links, because there is no click event being raised afterwards like in desktop.

Awesome!  That makes sense, didn't think about the touch events.

Thanks for all the work. This is an important fix! I've compiled a few details on how you can contribute.
Basically the dist files are created by using the browserify tool via npm run build (or npm start, which sets up a watch that rebuilds the dist files whenever the source code changes). So to contribute you edit source files directly and run npm run build to test your changes (but you don't commit changes to dist, because that's autogenerated).
Hope that makes sense. If it doesn't, one option could be that you edit the contributing.markdown file adding any details that you feel are missing. That'd help a lot moving forward!

Deployed as 3.0.3! Thanks again.


${order} duplicates @<order>

Testing #122102
The statusBar/remoteIndicator syntax defines a portion for the ordering within a group. That duplicates the default in-group order which is done via the @<order> suffix.

more clarification about sorting inside groups: https://code.visualstudio.com/api/references/contribution-points#Sorting-inside-groups and a sample:

The ${order} is about the order of the groups (not within the group)
We want WSL to be before SSH and before Containers.


var ansible_user_id is always root

I'm trying to configure the shell for my user with the user module
- name: Set as default shell
  user: name={{ ansible_user_id }} shell=/bin/zsh

When doing this it treats ansible_user_id as root. I want to set the shell for my current user, not root. I have tried specifically saying sudo=no and no luck.
This also straight up fails when doing it from a role.

It's due to fact that become hardcoded to True:
https://github.com/spencergibb/battleschool/blob/master/lib/battleschool/main.py#L227

Have you tried name={{ lookup('env','USER') }}?

See this group thread.
The way around this is to run with battle --ask-sudo-pass. This is how I run by default.

@ghengeli does name={{ lookup('env','USER') }} work for you?

@spencergibb That does work. Thank you for following up! Good work on the project. I like it a lot.


change name of built in functions 'help', 'list'

rename functions that are built-in functions to avoid conflicts

Resolves #31


Make the time the last data point was recieved prominanty visible.

For easily checking the status of each station, we need to know quickly the last time a data point was received.  Currently the only way to find the time is to go to each site, then click on the tabular data view, then scroll to the bottom.  I would like to see the time of the most recent point above the plots for each station.  I would also prefer to see the time of the most recent point at each station on the "My Sites" pane in place of the "Registration Date".

@SRGDamia1 - we need to keep the "Deployment date" in the informational table on the site details page. But, yes, we need to add the most recent date on which data were received from the site in the "Recent Measurements" section.

Can you replace the registration date with the most recent date/time in the site pane?

This is done on production. The last date update on my site was incorrect because I failed to update the time on my Mayfly board before I started logging data. Closing.

Just FYI, I've made a nice little python script (and compiled executable of it) to update the clock:  https://github.com/EnviroDIY/Sodaq_DS3231/tree/c61d88dec9f7f88859f0dffe3ec873886a50301e/examples/PCsync

@SRGDamia1 - thanks. I knew you had done this, but I was too lazy to track it down.


Possible to run with namespaces?

Given the following JSON:
{

  "posts": [
    {
      "id": 1,
      "name": "Bugs Bunny"
    },
    {
      "id": 2,
      "name": "Wile E. Coyote"
    },
    {
      "id": 3,
      "name": "Yosemite Sam"
    }
  ]

}

Is it possible to run json-server such that it responds to /api/posts rather than /posts?
I want to bring this issue back up from the grave because we need it for some use cases for deploying APIs alongside the same domain as a static site: https://github.com/zeit/now-examples/tree/master/json-server
I'd like to work on this feature if it doesn't exist already.

Hi @watadarkstar, pretty sure this is in the docs: https://github.com/typicode/json-server#add-custom-routes :)

@tinavanschelt Hmmm that works if you want to run json-server from the command line but I'm not sure how to get custom routes to work as an npm module:
I thought maybe this section could be it but I don't think so?
https://github.com/typicode/json-server#custom-routes-example

In that case we're probably working on a similar issue. I'm actually just trying to debug a old-ish express integration that used to work (https://github.com/tinavanschelt/redux-starter-with-api/blob/master/server.js) - think it broke during a recent upgrading of packages.
This might help? https://github.com/typicode/json-server/issues/237#issuecomment-465322762
If not, it's probably a case of the blind leading the blind here ☺ - just thought your answer might be in the docs.

@tinavanschelt This is exactly what I'm looking for!
const routes = require('./routes.json')
...
server.use(jsonServer.rewriter(routes))

Thank you!


qemuimg2disk action is not published on Quay

Even with both #59 and #68 having been merged, it doesn't appear that the container was pushed up to Quay.
I thought the CI/CD process would have done that.
Expected Behaviour
Merges that create/update actions cause new images to be pushed to Quay.
Current Behaviour
https://quay.io/repository/tinkerbell-actions/qemuimg2disk appears empty.

@thebsdbox  noticed two issues here:

The go code that pushes the image doesn't properly pass the error back up the stack. So it looks like the build and push succeeded in GitHub actions when it actually failed.
The credentials for quay are invalid and need to be updated.

This is extremely old but FYI we'll begin pushing actions into quay.io under quay.io/tinkerbell/actions/ soon.
Closing the issue as stale.


lease: randomize expiry on initial refresh call

Address https://github.com/coreos/etcd/issues/8096.

I wonder with rate limit revoking in runLoop added, is TLL randomization still necessary?

@fanminshi without randomization the leases are forced to wait to drain at 1000 leases/s so if there's 10k leases, some leases will need to wait 10s to expire. If there's TTL randomization the queuing effect will be less pronounced: suppse those 10k leases TTLs are distributed over 10 seconds-- on average the leases will expire immediately since there's 1k leases expiring every second instead of 10k leases expiring in one instant.

@heyitsanthony make sense.

@heyitsanthony PTAL. Thanks.

Oh this doesn't handle ttl < 10. Let me rework on this.

@xiang90 PTAL.

lgtm. defer to @heyitsanthony


Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106

I'm running into an issue where my old/dismissed reminders come back every time I restart outlook.  I'm trying to resolve the issue per resolution 2 on https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/cannot-dismiss-outlook-calendar-reminders.  When I try to delete the reminders folder via mfcmapi (64-bit version 24.0.24100.06) I get the following error:
Error:
Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106
Function lpParentFolder->DeleteFolder( static_cast(itemEID.size()), mapi::toEntryID(itemEID), lpProgress ? reinterpret_cast<ULONG_PTR>(m_hWnd) : NULL, lpProgress, ulFlags)
File C:__w\1\s\MFCMAPI\UI\Dialogs\HierarchyTable\MsgStoreDlg.cpp
Line 797

@timjethen what flags are you passing and what variations have you tried?

Only tried the default flags other than making sure MDB_ONLINE and MAPI_NO_CACHE were set per instructions.  I didn't make the connection between the tools->options and flags referred to in the error code.   Selected options are:
Parse named properties
Register for notifications when you navigate to a folder
Enable Smart View
Use GetPropList for GetProps call
Prefer Unicode properties
Cache named property mappings
Use 'nice' column names
Use the MDB_ONLINE flag when calling OpenMsgStore
Use the MAPI_NO_CACHE flag when calling OpenEntry
Suppress MAPI_E_NOT_FOUND in contents table views
Terminate on heap corruption
Load add-ins
Any you would suggest clearing?


[Question] How to draw such a beautiful ASCII chart?

Thanks for the update for tlborm. I have a question which is not related to the content of the book.
We can see such a beautiful ASCII chart in the book, such as:
┌─────────┐   ┌─────────┐
│ BinOp   │ ┌╴│ LitInt  │
│ op: Add │ │ │ val: 1  │
│ lhs: ◌  │╶┘ └─────────┘
│ rhs: ◌  │╶┐ ┌─────────┐
└─────────┘ └╴│ LitInt  │
              │ val: 2  │
              └─────────┘

So is there any tool to draw this? Or just manually input by ourselves? Thanks very much!

Those were taken over from the original, but so I don't know if a tool was used for them unfortunately but I would believe so.

OK, thank you all the same.
@DanielKeep is inactive in Github for quite a long time, the best way is to ask him directly. However, I think he will not response. So I raise an issue here.

No tool, just a text editor and several custom compose sequences.  I recall trying a few "ascii drawing" tools, but found all of them to be more time consuming to use than just doing it by hand.
This was a while ago, so I could be wrong, but I believe I used Sublime Text.  Oh, and if your editor supports it, use overwrite mode to keep things from moving around.  For compose key sequences, I use WinCompose.  Unfortunately, I built a new machine a while ago, and I lost my compose key file in the process.  I believe it was mostly sequences like <Multi_key> <b> <d> <u> <r> for "box draw up right" to produce └.
And time.  Quite a bit of time.  Good luck!

@DanielKeep Wow, thanks for your reply. I thought you would not reply here.
I've tried some ASCII drawing tools, they're not that handy and the results are not beautiful. So I feel intersting about the ASCII chart. Beautiful things always need much more time. Thanks for your advice.
The issue should be closed now.


Fix request animation call, fixes #3206

Hi guys,
There is an issue in the latest version for the tabs components - basically this - https://github.com/GeekyAnts/NativeBase/issues/3206
This PR fixes the call (removing this so it can use the react native polyfill) https://reactnative.dev/docs/animations#requestanimationframe

Can we get this merged please?  Tabs are broken on the latest version.

our app is getting this same problem with this.requestAnimationFrame is not a function, if this pr fixes it, would love to get this baby merged

Looking forward for this fix to be in soon, thanks for your efforts.

Any updates on this? thanks for PRing

Any updates on this? thanks for the PR, hoping it can be merged soon

Not working for me. I'm using react-native-video and crash when going fullscreen or changing screen orientation. My solution for the moment was to hide the  (using Redux) when changing the orientation or entering fullscreen.

@rdgoutiyama are you sure the issue you are having is coming from native-base and not react-native-video?

It seems this PR didn't work for our situation either, maybe because we have useNativeDriver: false option, not sure.   But what did work was to put this.requestAnimationFrame &&  in front of the call to this.requestAnimationFrame

@jpatricknola well that just hides the error and based on the official documentation (https://reactnative.dev/docs/animations#requestanimationframe) the correct way is like the PR which works for me, not sure why it didn't work out for you.

@dgeorgiev this fix works perfectly for me as well.

The same error appears when rotating device, nativ-base 2.13.14

@dgeorgiev thanks a lot.that's work for me

@rdgoutiyama are you sure the issue you are having is coming from native-base and not react-native-video?

No, when i use Tabs and change screen orientation, crashes for me.

The same error appears when rotating device, nativ-base 2.13.14

Same error for me.

It would be very helpful if this was merged in as we're currently facing this issue as well

any update on this?

@dgeorgiev Can you just add the changes for the fix and remove the transpiled code changes.

@shivrajkumar done.

@shivrajkumar ☝ ✅

I get the same error with the last version from the moment I used Tabs. Any fixes yet?

This just became an issue for us in our prod app. Not very happy customers. Switching to this branch version for now until merged :(

This issue is also affecting our app. Using branched version until this is merged.

This issue is also affecting our app. Using branched version until this is merged.

any reason why this isn't merged yet?

any reason why this isn't merged yet?

@akhil-geekyants
Why this isn't merged yet?
When this will be fixed?

@dgeorgiev I see only changes needed to fix is https://github.com/GeekyAnts/NativeBase/pull/3218/files#diff-8af4a6552dd86a21d0953a6339180895f3b6cb0fecbab26ce21763327b20dc47L280-L282.
But in this PR there are some indentation changes as well which is not necessary. May be that is stoping them to merge this PR. If possible can you revert other unrelated changes? That will surely increase chances of getting this merged 😄


How to draw a rectangle. PrimitiveType does not contain Polygon

Drawing quads has been deprecated and removed in OpenGL 3, and never existed in OpenGL ES.
If you want to draw a rectangle, just draw two triangles next to each other.

Oh. I got it. Thanks.


[Question] Host validate the certification

The wiki mention:

Verifies the claim :

pk_m <- Validate(cert_m)
Verify(pk_m, H(pk_d), s_m)
Verify(pk_d, H(C001||h_f||pk_f), s_d)
Validate(h_f)

I don't understand how cert_m could become public key of model (pk_m).
I saw that the source code mention:

   // There is no support for real certificate validation yet.
   // For now, just pass in the model public key in place of the
   // ASN.1 DER encoded X509 cert.
   uint8_t claim_hash[SDCP_DIGEST_SIZE_V1] = { 0 };
   ASSERT_EQUAL(0, sdcpcli_hash_claim(
       g_model_pub_key, sizeof(g_model_pub_key), // Pub key in place of cert for now.
       device_key.pk, sizeof(device_key.pk),
       firmware_key.pk, sizeof(firmware_key.pk),
       &firmware_signature,
       &model_signature,
       claim_hash, sizeof(claim_hash)));
   print_bytes("H(c)", claim_hash, sizeof(claim_hash));

It is hard to understand how the real product should response both pk_m and cert_m or just response cert_m from the device to host.
Could anyone explain that?

Sorry, I got the public key from the ECDSA certification.

Hello @initialapex
I started integrating SDCP but the secure connection is rejected by the bio service without much detail about what is wrong.
I am using the test keys provided in the reference code and use the public key as cert_m for now. Don't know if this is the root cause of my problem...
Where you able to generate your own model key / certificate ? If yes, could you share how?
Thank you!
Regards,
Paul

Hi @pbesson-invn
Not sure the cause of rejection, but you can try to use the self-signed certification instead public key.
Regards,
Scott

@initialapex thanks for your advice. I did try to generate my own self-signed ECDSA certificate with openssl but this does not fix the problem I have...

@pbesson-invn Probably, the certification should be issued by MSFT. It is mentioned in the wiki as below.

To that end, each secure sensor is REQUIRED to have a Microsoft-issued certificate with an ECDSA-capable public key, which is obtained (along with the corresponding private key) via certification. This certificate serves as proof that the host is talking to a sensor that it trusts.

I tried this library and build self-signed certificate in my own test program,  it is just checking functionality.

Yeah, I saw that. But at the same time, it is mentioned in comment cert checking is not enforced for now.
Thanks anyway for your help!

@initialapex, could you explain more about and procedure used                     "I tried this library and build self-signed certificate in my own test program, it is just checking functionality."

@prafulla-git I build a console application (.exe) to simulate the host / device data flow. The cert_m is generated by openssl. It is not related to real driver and device.

Hi @pbesson-invn @prafulla-git ,
I am testing SDCP with WBS，BUT the WBS doesn't load the VendorAdapter.dll. Could you share your experience about it.
Thank you!


Rock, Paper, Scissors game

hacktober accepted

If Excluded then contribute here.. https://github.com/RajkumarSony/LeetCode-Solutions.


add 'enter' bindings to all three input fields

listen to enter keyup (https://www.electronjs.org/docs/latest/tutorial/keyboard-shortcuts)
get active element by document.activeElement.id
submit the right form
unfocus the input field if needed

done in 301f430f2ddb527c37757fa4ba8d17571f1bde30


Migrate to using libmcfg for parsing buildfiles

libmcfg can be found at this repo

See branch topic/libmcfg for implementation progress

Completed with Pullrequest #19


Fish Game State

Description
After the game is done the fish should swim around and not gain hunger.
The user should not be penalized before the game has started.
Definition of Done

[ ] Fish idle state

[ ] Fish do not get hungry
[ ] Fish do not die

[ ] Fish active state

[ ] Fish get hungry over time
[ ] Fish die if hungry for too long

[ ] Fish enter idle state on scene load
[ ] Fish enter idle state after game end
[ ] Fish enter active state on game start

I think this applies alto to Before the game starts.
Ideally, we would have an NPC in the control room who is there to control the feeding (story-wise). When the user starts the game, the user takes control from the NPC, from the story/scenario point of view.


Error spam "Failed to get body joint locations: -6" when using Meta Quest Link

Sometimes, though not always, when running the game from the editor, a bunch of Failed to get body joint locations: -6 will start to print non-stop.
I'm using a Quest 2 with Link, and have v3.0.0 beta3 of the vendors in my project. Meta Quest Link App Version <IP_ADDRESS>4.361 (<IP_ADDRESS>4.361)
I found out it comes from here: https://github.com/GodotVR/godot_openxr_vendors/blob/112b8a273f392164026685ded031948628bd416c/common/src/main/cpp/extensions/openxr_fb_body_tracking_extension_wrapper.cpp#L272 but it's supposed to be skipped if body tracking is not enabled.

I can confirm I've ran into this issue as well.

This may be fixed by PR https://github.com/GodotVR/godot_openxr_vendors/pull/199, but I'm not 100% sure.

This may be fixed by PR #199, but I'm not 100% sure.

@dsnopek Looking at the logic in https://github.com/GodotVR/godot_openxr_vendors/blob/112b8a273f392164026685ded031948628bd416c/common/src/main/cpp/extensions/openxr_fb_body_tracking_extension_wrapper.cpp#L272, it doesn't seem the changes in https://github.com/GodotVR/godot_openxr_vendors/pull/199 will affect it.
If the issue was related to hand tracking, I would also expect that enabling hand tracking would get rid of it.
@decacis Do you have a MRP that we can use to repro the issue and validate fixes for it?

@m4gr3d unfortunately, no. This happens seemingly randomly, so I haven't been able to create a MRP.
One thing to note is that, my project doesn't make use of any fancy extension or anything, I'm only using the vendors to create quest builds, but I'm not using hand tracking, body tracking, face tracking, scene API or anything.


Can I play video from UDP (multicast)

Feature Request
Playing video from udp url or (multicast)

Help please if anyone know how to do it.

any updates with this? Can I play RTP and UDP ?

any updates with this? Can I play RTP and UDP ?


The protocol of vehicle_sender and vehicle_receiver

Thanks for answering my question!
Now I am trying to output the "twist_cmd" via vehicle_sender. Now I have finished connecting the computer on which Autoware is running to another computer via scoket. I received a list of data shows in the following picture.
Could you please introduce the  protocol of vehicle_sender and vehicle_receiver.
Thanks very much.

After reading the code, I understand part of the protocol.
1.Protocol of vehicle_sender.just as shows in the following picture.

linear_x,angular_z,modeValue,gearValue,accellValue,brakeValue,steerValue.
Is it right?
2.Protocol of vehicle_receiver
Mode,Time,Veloc,Angle,Torque,Accel,Brake,Shift
Is it right?

Sorry to bother you, I met another strange problem.
When I  try to connect to "vehicle_receiver" via port 1000,The connection has been built successfully.However when I tried to connect to "vehicle_sender" via port 10001,I could get only one frame of data,then the connection  lost itself, If I reconnect it again,I could get only one frame like before and the connection lost again.
I am very confused.

@syouji Do you have any information ?

linear_x,angular_z,modeValue,gearValue,accellValue,brakeValue,steerValue.
Is it right?

Yes, It is.

Mode,Time,Veloc,Angle,Torque,Accel,Brake,Shift
Is it right?

No, it isn't.
key1,value1,key2,value2,...
It doesn't matter the order.
Please look at https://github.com/CPFL/Autoware/blob/master/vehicle/zmp/autoware_socket/can.cpp.

linear_x,angular_z,modeValue,gearValue,accellValue,brakeValue,steerValue.
Is it right?
Yes, It is.

NOTE.  Receiver code looks wrong. brake and steer values are reversed against sender order.

Thanks for your reply very much.
I am very confused why "vehicle_sender" will close the socket connection after sending one frame of message,I think "vehicle_sender" should send the data to the vehicle at a fixed frequency.
Thanks in advance. @syouji

In the current implementation, a client program request "twist_cmd" from vechicle_server at intervals.                                         Sample code of client program is this.

OK, Thanks for answering my question.


[FTB:Revelation (slightly modified)] Error saving planet data, unable to load world

fml-client-latest.log
As asked in the console, here's the fml-client-latest.log

reproduced with latest AR version:
fml-client-latest.log

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.

Been nearly a year, don't have the world anymore. I didn't manage to fix the issue before I got rid of the world though


getDuration() returns zero for Opus WebM codec

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
When calling audioPlayer.getDuration() with an audiofile that's encoded with an Opus WebM codec, the method returns Duration.zero.
I've tested on both Android and on Chrome, both of which support the Opus WebM codec.
On both platforms, the audio playback with audioplayers works properly, just the duration is incorrect (it always returns Duration.zero).
Expected behaviour
audioPlayer.getDuration() returns the actual duration of the audio file.
Steps to reproduce
Run code sample with example URL provided below.
Code sample

Code sample
final audioPlayer = AudioPlayer();

await audioPlayer.setSourceUrl(url);

final duration = await audioPlayer.getDuration();
print(duration);

Affected platforms
Android, Windows
Platform details

Platform 1: Chrome Version 114.0.5735.198 (Official Build) (arm64)
Platform 2: Android version 13

AudioPlayers Version
main
Build mode
Debug mode.
Audio Files/URLs/Sources
https://firebasestorage.googleapis.com/v0/b/obedience-app.appspot.com/o/audio%2F9f4edbb3-34a0-4146-b7f7-85cca3640a3b.opus?alt=media&token=feed7a95-1dcb-4e93-924e-645539d82cef
Logs
No relevant logs.
Flutter doctor:
Output of: flutter doctor -v
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F82 darwin-arm64, locale
  en-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.2)
[✓] VS Code (version 1.80.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Related issues / more information
No response
Working on PR
no way

See #1255 some codecs are not supported on every platform

Hi @Gustl22 ,
I did check the supported codecs, and both Android and Chrome have support for this codec.
There is also no problem playing the audio, there is only an issue with getting the duration of the audio file, which leads me to believe that this is a bug, rather than an issue with the codec not being supported.

Alright. For now I chose to convert my audio files from WebM to a different format using a backend service, so this is no longer an issue for me.

I leave it open, as it's a valid snd reproducible bug. We either resolve it directly or wait for the Exoplayer implementation.

Alright. For now I chose to convert my audio files from WebM to a different format using a backend service, so this is no longer an issue for me.

@putnokiabel Is that the only solution you found? I am recording audio from the web where OpusWebM is my only choice to save it, I am not able to get the duration of the audio as well!

Alright. For now I chose to convert my audio files from WebM to a different format using a backend service, so this is no longer an issue for me.

@putnokiabel Is that the only solution you found? I am recording audio from the web where OpusWebM is my only choice to save it, I am not able to get the duration of the audio as well!

I haven't looked into other solutions since this one seemed to work for now. If converting to a different format is not an option because you need the files in WebM, you might consider using a web service or a different library to get the duration of the file (until this issue is fixed).

Same issue here. Is there any package worth trying to convert webm to mp3?


[options] Add a new transformOptions callback

It can be used to perform some transformation on the jsonStats object.
This is a continuation of #25 providing a more generic solution.
@melvey Would that work out for you?
Closes #25.

A callback is a great solution. This should work for me. Cheers


Improve a web page design/UX

Here is InpaintHTTP sample project.
The task is to come up with a nicer/improved design/UX .

i would love to improve some of that in the next couple of days!

I would suggest to go for simplest possible incremental improvements.
What that could be?
For example it could be functional improvements:

After the result image is ready it is displayed on the page rather than gets downloaded
After the result image is ready you see three images:

original
original + mask overlay
result

Or it can be a layout that looks nicer.


Fix database init

Database init method did not call _read to populate todos list

This is done by the setter for path. Python 2 wasn't calling the setter (I believe the class needs to extend object for that to happen). However, this is no longer applicable, as per #1.

Yeah, again, Python2 vs Python3. Sorry, man!

No problem! ^_^


Improved saveFile handling

Improved the saveFile handling to be more idiomatic and less error-prone.
Also, handled the case when the program tries to remove the file when it doesn't exist which causes an exception.

@aklajnert, do you think you could also apply this change to the file handling of L323?

@aklajnert, do you think you could also apply this change to the file handling of L323?

@aklajnert, do you think you could also apply this change to the file handling of L323?

Will hold off on merging for this. Feel free to @mention me when it's ready to merge/request another review

@aklajnert, do you think you could also apply this change to the file handling of L323?

Will hold off on merging for this. Feel free to @mention me when it's ready to merge/request another review

@aklajnert, do you think you could also apply this change to the file handling of L323?

Probably, but it should be done in a separate PR, as there will be many more changes.
@Silverarmor - I'd say that one is ready.

@aklajnert, do you think you could also apply this change to the file handling of L323?

Probably, but it should be done in a separate PR, as there will be many more changes.
@Silverarmor - I'd say that one is ready.

Sounds good. Thanks for your work on this!

Sounds good. Thanks for your work on this!


Blob.Properties.ContentLength is modified when GetRange is called.

GetRange assigns the header values from the response back to the blob properties:
https://github.com/Azure/azure-sdk-for-go/blob/master/storage/blob.go#L215
As a result the Blob.Properties.ContentLength is set to the size of the range request and the size of the blob is lost.

Fixed :D

Great! Thanks for the fast response and fix.


Add Tutorial Modules

Just adding the Tutorial Modules for future use. Let me know if I did anything wrong

Two problems:

Point should be in the filters/regions package (create it)
You should not have

/**
 * Created by gilar on 5/1/2016.
 */

but what is in LICENSE.txt. If you are using IntelliJ, you can always set up a copyright profile for the project and it will do it automatically.

Fixed

This is a little pesky, but please format it the same as the ones already in the code.
/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2016 Wesley Smith
 *
 * Permission is hereby granted, free from charge, to any person obtaining a copy
 * from this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies from the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions from the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

Oops, looks like I pushed a bit of Terrain modules too. Sorry for all of the pushes, im super bored today


build: try adding musl target

🚧 testing

😬 sorry I didn't mean to PR this repo yet. Misclicked. Sorry for the noise.


Add test cases to dashboards maps

Description
This PR is going to:

Moving all test cases to into functional test repo, related PR https://github.com/opensearch-project/dashboards-maps/pull/664
Optimize some code usage
Fix failing test case in document layer

Issues Resolved
https://github.com/opensearch-project/dashboards-maps/issues/663
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Looks the CI isn't able to start up OpenSearch cluster. The test case passed on my forked repo CI:
https://github.com/junqiu-lei/dashboards-maps/actions/runs/10623549472/job/29450177444?pr=21


[event-hubs] Changes from the feature team API review

Batching is back! (processEvent => processEvents)
Renamed 'startPosition' to 'startingPosition' (including associated methods)
processError is now a mandatory callback
Other minor renames/hiding of fields

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

The below test failed on the Windows+Node12 run, re-triggering CI

The below test failed on the Windows+Node12 run, re-triggering CI

The good news is that it's failing consistently. I'll try to take a look today.

/azp run js - eventhubs-client - tests


fix: sec rule export missing fields

这个 PR 实现什么功能/修复什么问题:
fix: sec rule export missing fields
是否需要 backport 到之前的 release 分支:

release/3.2

/area region
/cc @zexi

Codecov Report

Merging #7195 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #7195      +/-   ##
=========================================
+ Coverage    6.96%   7.04%   +0.08%
=========================================
  Files         689     145     -544
  Lines      121254   22063   -99191
=========================================
- Hits         8442    1555    -6887
+ Misses     112175   20379   -91796
+ Partials      637     129     -508

Flag
Coverage Δ

#aFlag
7.04% <ø> (+0.08%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/huawei.go

pkg/compute/models/dbinstance_databases.go

pkg/multicloud/aws/dbinstance_account.go

pkg/compute/models/elasticcache_skus.go

pkg/mcclient/modules/monitor/alert.go

...kg/monitor/tsdb/driver/influxdb/response_parser.go

pkg/multicloud/ucloud/snapshot.go

pkg/webconsole/command/kube_command.go

pkg/cloudcommon/db/quotas/usageworker.go

pkg/util/ansible/playbook.go

... and 533 more

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 bea60df...918d16c. Read the comment docs.


Package fails to install using "npm install node-person"

Environment
Node version: 8.5.0
NPM version: 5.4.2
Run npm install node-person
Log
2017-09-24T21_39_25_453Z-debug.log
Output
npm WARN deprecated<EMAIL_ADDRESS>to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

><EMAIL_ADDRESS>install /home/jeff/node-test/node_modules/node-person
> node -e "require('./common/scripts/build_utils.js').runNodeGyp();"

(node:11860) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'on' of null
(node:11860) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
make: Entering directory '/home/jeff/node-test/node_modules/node-person/build'
  COPY Release/obj.target/realsense_person_tracking/geni/process_idl.js
  TOUCH binding_gyp_realsense_person_tracking_target_widl_gen.intermediate
  ACTION Generating NAN C++ code from WIDL files binding_gyp_realsense_person_tracking_target_widl_gen.intermediate
  CXX(target) Release/obj.target/realsense_person_tracking/addon.o
  CXX(target) Release/obj.target/realsense_person_tracking/bounding_box2d_info.o
  CXX(target) Release/obj.target/realsense_person_tracking/common/camera-delegate/camera_delegate.o
  CXX(target) Release/obj.target/realsense_person_tracking/common/camera-delegate/camera_delegate_instance.o
../common/camera-delegate/camera_delegate.cpp:6:42: fatal error: rs/playback/playback_context.h: No such file or directory
compilation terminated.
realsense_person_tracking.target.mk:236: recipe for target 'Release/obj.target/realsense_person_tracking/common/camera-delegate/camera_delegate.o' failed
make: *** [Release/obj.target/realsense_person_tracking/common/camera-delegate/camera_delegate.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from .././worker/person_tracker_runner_proxy.h:10:0,
                 from .././person_recognition.h:15,
                 from ./Release/obj.target/realsense_person_tracking/geni/gen/nan__person_recognition.h:6,
                 from ../addon.cpp:20:
.././worker/person_tracker_adapter.h:8:29: fatal error: RealSense/Image.h: No such file or directory
compilation terminated.
realsense_person_tracking.target.mk:236: recipe for target 'Release/obj.target/realsense_person_tracking/addon.o' failed
make: *** [Release/obj.target/realsense_person_tracking/addon.o] Error 1
../common/camera-delegate/camera_delegate_instance.cpp:15:18: warning: ‘required_dummy’ defined but not used [-Wunused-variable]
 static const int required_dummy =
                  ^
rm binding_gyp_realsense_person_tracking_target_widl_gen.intermediate
make: Leaving directory '/home/jeff/node-test/node_modules/node-person/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-96-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "-j" "4"
gyp ERR! cwd /home/jeff/node-test/node_modules/node-person
gyp ERR! node -v v8.5.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node -e "require('./common/scripts/build_utils.js').runNodeGyp();"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jeff/.npm/_logs/2017-09-24T21_39_25_453Z-debug.log

My bad. I didn't have the SDK installed properly which is documented here: https://software.intel.com/sites/products/realsense/intro/getting_started.html


Folder for gaming using nspawn container?

We have guispawn folder but how to have nspawn container that completely support steam game (maybe lutris for ease management)?
I've read some interesting topic here but not fully try to run steam games via nspawn container.

Because I don't have any motivation to play steam game, there's no plan to support it in this repository.
You can fork this repository and try to do that, as I'd answered to you for other topic in https://github.com/nosada/mkosi-files/issues/10.


Support a bound-executable API by executable binder

The target object should have all fields and setters applied. Argument list produced. Method is ready to be invoked.

Released in 0.8 as BoundInvocable.