RazorEngine.Templating.TemplateCompilationException

I'm trying to use ASP MVC Postal in a background job to send emails as follows:
`public void CommentCreated(Comment comment, ApplicationUser user)
{
    var viewsPath = Path.GetFullPath(HostingEnvironment.MapPath(@"~/Views/Emails"));
    var engines = new ViewEngineCollection();
    engines.Add(new FileSystemRazorViewEngine(viewsPath));

    var emailService = new Postal.EmailService(engines);

    var email = new CommentCreatedEmail
    {
        To = user.Email,
        From = ConfigurationManager.AppSettings["SmtpEMailFrom"],
        Subject = "Comment Created"
        Comment = comment,
        User = user

    };

    emailService.Send(email);

}`

But I'm getting the following error:
`Exception thrown: 'RazorEngine.Templating.TemplateCompilationException' in RazorEngine.dll
 Exception thrown: 'System.Web.HttpCompileException' in System.Web.dll`

My view is as follows:
 `@model MyApp.Models.CommentCreatedEmail
 To: @Model.To
 From: @Model.From
 Subject: @Model.Subject

   @Url.Action("Details", "Comment", new { id = @Model.Comment.Id }, "http")`

Any ideas?

Check your RazorEngine template for syntax errors or mismatched tags. Reviewing the specific error message can pinpoint the issue. If needed, share a snippet for bloggersman community assistance.

Your implementation looks solid! Using ASP MVC Postal for background email tasks is efficient by using Fsginspections. Make sure to handle any exceptions gracefully for robust email delivery.


Issues with FilledTonalButton and FilledButton in Flet 0.25.2

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
Hello,
After upgrading to Flet 0.25.2, I encountered two issues that seem to be related, so I am reporting them together:
Issue 1: FilledTonalButton and FilledButton not displaying
When running a statically packed Flet application (using flet publish), FilledTonalButton and FilledButton do not render. This behavior was not observed in version 0.24.1.
Issue 2: Rounded corners for buttons not working
In version 0.25.2, the shape property for buttons (e.g., ft.RoundedRectangleBorder) no longer works as expected for  FilledTonalButton and FilledButton. This issue also appears to have been introduced with the update.
Code sample
import flet as ft

def main(page: ft.Page):
    page.add(
        ft.Column(
            expand=True,
            controls=[
                ft.Column(
                    expand=1,
                    controls=[
                        ft.Text('Issue 1: Problem with displaying FilledTonalButton and FilledButton on a static Flet.'),
                        ft.ElevatedButton('ElevatedButton'),
                        ft.OutlinedButton('OutlinedButton'),
                        ft.FilledButton('FilledButton'),
                        ft.FilledTonalButton('FilledTonalButton'),
                    ]
                ),
                ft.Column(
                    expand=1,
                    controls=[
                        ft.Text('Issue 2: Problem with button rounding on a static Flet.'),
                        ft.ElevatedButton(
                            'ElevatedButton',
                            style=ft.ButtonStyle(shape=ft.RoundedRectangleBorder(radius=5))
                        ),
                        ft.OutlinedButton(
                            'OutlinedButton',
                            style=ft.ButtonStyle(shape=ft.RoundedRectangleBorder(radius=5))
                        ),
                        ft.FilledButton(
                            'FilledButton',
                            style=ft.ButtonStyle(shape=ft.RoundedRectangleBorder(radius=5))
                        ),
                        ft.FilledTonalButton(
                            'FilledTonalButton',
                            style=ft.ButtonStyle(shape=ft.RoundedRectangleBorder(radius=5))
                        ),
                    ]
                ),
            ]
        )
    )

ft.app(main)

To reproduce
Steps to Reproduce:

Save the code above as main.py.
Use the following commands to publish the app and serve it locally:flet publish main.py --assets assets --app-name FletIsAwesome --app-description FletIsAwesome
python.exe -m http.server 8080 --bind <IP_ADDRESS> --directory dist

Access the app in the browser (e.g., http://<IP_ADDRESS>:8080).
Observe the following issues:

Buttons FilledButton and FilledTonalButton do not appear.
Rounded corners do not apply to these buttons.

Expected behavior
I expect that when packaging a static application, it should work visually the same as a desktop application. At least in terms of appearance, as shown in the video.
Screenshots / Videos
flet run:
Expected behavior
https://github.com/user-attachments/assets/9bcdae49-e610-4b97-85cb-2e783dddde77
flet publish:
Result
https://github.com/user-attachments/assets/f797ad85-2292-4078-acdb-339aa11065d4
Operating System
Windows
Operating system details
Windows 11 24H2
Flet version
0.25.2
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
No response
Additional details
No response

It could be browser cache. Try in InPrivate/Incognito mode. I'm getting this:

It could be browser cache. Try in InPrivate/Incognito mode. I'm getting this:

I think you're right about the cache. However, clearing it completely or opening it in a new window hasn't worked for me so far. I'll try it on another computer.
I see that issue #1 is not present in your screenshot, but issue #2 is there. If you ran my example code, the corner radius should be set to 5. In other words, it should look more rectangular than what you currently have.

Yes, I was able to achieve the desired result in incognito mode, which means it should also be possible without it. Yes, this is related to caching, and it needs to be cleared.

I can confirm #2 issue exists and I can reproduce it. Will be looking into that.


Load Balancer's Buffering and Scheduling Strategies

Describe the question
I am studying the internal operations of OpenWhisk, particularly the load balancer. I would like to understand more about the buffering and scheduling strategies for incoming requests.
Details to consider

How does the buffering of incoming requests work within the load balancer? Is there a dedicated request buffer?
What are the factors taken into consideration in the load balancer's scheduling strategy when distributing these buffered requests to the invokers?
In situations where invoker load is high, how does the system respond? Are more requests buffered during these times?
In situations where invoker load is high, how does the system respond? Does the load balancer consider waiting for a period of time before issuing a request immediately when the invoker is always available?

Additional context
Understanding these details will be beneficial for optimizing my use of OpenWhisk and contributing to the project. Any information or resources you could provide would be greatly appreciated.
Thank you!

OpenWhisk is now moving forward with the new scheduler though OW is still using the old scheduler by default.
If you are asking them in terms of the new scheduler, I believe you can find this document useful.
https://cwiki.apache.org/confluence/display/OPENWHISK/System+Architecture

OpenWhisk is now moving forward with the new scheduler though OW is still using the old scheduler by default. If you are asking them in terms of the new scheduler, I believe you can find this document useful. https://cwiki.apache.org/confluence/display/OPENWHISK/System+Architecture

Thank you for your timely response!
Unfortunately, I didn't find what I was looking for in the document. I would like to explore openwhisk's handling of batch processing requests. For example, the system sets the batch size to 8. Under low load, if the batch buffer doesn't fill up with requests for a long time, will this result in a situation where a batch request cannot be triggered?
I'm very interested in understanding the design or implementation of this part and would appreciate if someone could help me with this query!


Custom function hoooks instead of truncation?

Truncation is one way to solve context overflow. Another is summarization.
(Btw the magic keyword to trigger good summarization from any model is not asking it to do a summary but asking it to do a TLDR. Works much better, you don't need very verbose prompts.)
It would be great if Prompt Poet could allow for a custom hook function (or does it already) that gets triggered if we context-overflow.
In certain situations, I generally prefer to call small local model or a cheap remote model with TLDR to compress older prompts (the chat history for example), rather than truncating.

Agreed this is something we should have--I can take this on next week if there hasn't been an attempt by then. There are a few things here:

Conceptually I'm thinking about this as content compression rather than explicit content truncation which is what we have today.
Therefore I'm thinking through something like Prompt(..., content_compression_func, ...)
For the function signature

def content_compression_func(input_content: str, max_output_tokens: int, encode_func: Callable[[str], list[int]]) -> str

The user would need to ensure that when encoded, the output string is below the max_output_tokens. I believe we need to quantify max_output_tokens to ensure we end up below the token limit in a context-overflow scenario.

As far as getting this running at scale, which is crucial for us, we need to then do the following.
First we should ensure that the input_content does not change every time we have context-overflow--this can be achieved by the truncation step buffer we have today.
Then, we need to ensure that once a specific input_content has been mapped to a compressed state, that this state does not change. If it does change on successive generation attempts then it will break our model server caching which will break our serving economics.

Another name for this function might be context_overflow_func though I think content_compression_func is a bit more explicit as to the behavior of the function. Not very opinionated here, though.

any update here?


uncommented schema version check

@olegz please review the verifySchemaVersion() method

Right. I think you mean .xsd$
The regex is a slightly modified version of what Spring Batch uses.

Thta is what I typed but i think GitHub is treating it as an escape character

That regular expression (with $) will not work since this is checking against the "schemaLocation" value and that may contain any number of key/value pairs (keys as URIs, and values as XSD locations).

I see and as we discussed .xsd.bar.baz will fail anyway since there is no keys for that in the meta-inf.


Add option to recurse subfolders in tool to convert folder of HL7 messages

Added new Java property hl7.tools.recurse.subfolders, which will default to "true".
Output will be places in matching subfolders.
Made improvements to the console output for status given processing of multiple folders.

In release 1.0.18


livereload file not found

HI Miensol,
Getting GET http://localhost:35729/livereload.js?snipver=1 500

Can you paste the logs from the node app?  There should be some since you
got 500
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/miensol/proxy-mirror/issues/4#issuecomment-217965073

actually it searching for livereload.js file from () index.html

From the quick look it seems that:

there's a missing bower dependency on old version of angular-bootstrap (I must have missed that at some point)
the hardcoded port to livereload has probably changed - unless you need live-reloading you can remove that but as I mentioned above that's not the only problem

I'm in the middle of reworking the front-end of the project, I hope I'll be able to push initial version soon.

Thanks miensol  :)
Will also looking forward to enhance your work


Fix/changed table scroll to auto

This PR

[ ] changed the default responsive table scroll behavior to auto

Before:

Before (Responsive):

After:

After (Responsive)

This looks good to me! :+1:

Thanks for your contribution @ins0

thanks @reinink @dragoonis


style: gameboard should stretch entirety of the width of page (aligned with header)

if i make the grid for gameboard place-items: stretch then the cards change in width, which looks ugly. however, place-items: center causes this issue here

fixed in f049d10


Build the projects with configuration as code (Cake + YAML)

Today builds are done using Azure Pipelines, which we love. Though, all build configuration is defined as tasks using the UI. I'd suggest we rewrite the builds using Cake  and define the parts we need in Azure Pipelines as YAML. This would make it easier to build on your local machine and the build process would be more transparent.

*cough* FAKE...
And you shouldn't be worried about it being F#, it reads pretty much like a DSL anyway, with the added benefit that you might pick up some F# along the way:
Target.create "Clean" (fun _ ->
    Shell.cleanDirs [deployDir]
)

Target.create "RestoreServer" (fun _ ->
    runDotNet "restore" serverPath
)

Target.create "Build" (fun _ ->
    runDotNet "build" serverPath
)

"Clean"
    ==> "InstallClient"
    ==> "Build"

Good point! I'm open to FAKE as well. Especially if we were to move to an F# implementation.


Separate MetricReceiver into DatagramReceiver and DatagramParser

Current MetricReceiver:

Reads off datagrams
Splits them into lines
Lexes lines into metrics/events
Passes off to handler

Steps 2-4 are cpu bound and will benefit from higher concurrency. Step 1 is not, and we've seen higher concurrency lead to lower socket read performance.
I've split these into
DatagramReceiver:

Reads datagram from socket
Pushes them to a chan

and
DatagramParser:

Read datagrams from chan
Splits them into lines
Lexes lines into metrics/events
Passes off to handler

Which can be scaled individually. I've set defaults of DatagramParser (MaxParsers) as num cpu, and DatagramReceiver (MaxReaders) to 8. Optimal value of MaxReaders may need some investigation. We found 8 to be performant in our testing.

Running this build showed a marginal increase in CPU usage. Will investigate this at a later time.


Error when exporting developer certificate from Windows machine has a username contains space

Describe the bug
Tye fails to export the developer certificate from the Windows machine when the current logged in user's username contains space. This happens because the certificateDirectory.DirectoryPath which is generated using the TempDirectory.Create is within the temp directory. Windows Temp directory format is like C:\Users\UserName\AppData\Local\Temp so in case the UserName contains space (e.g. Tariq Abubaker) the temp directory will be C:\Users\Tariq Abubaker\AppData\Local\Temp\. This will fail exporting the certificate dotnet dev-certs command when the ProcessUtil.RunAsync run it because of the breaking space e.g. dotnet dev-certs https -ep C:\Users\Tariq Abubaker\AppData\Local\Temp\3jx13zqv.zfg\frontend.pfx -p 26739b5b-e7c5-44bc-8f04-e989dea7a936.

To Reproduce
What steps can we follow to reproduce the issue?

Use a Windows machine with username contains a space e.g. Tariq Abubaker
Run any project you have with --docker option i.e. tye run --docker

Got Exceptions? Include both the message and the stack trace
tye run --docker
Loading Application Details...
Launching Tye Host...

[21:04:48 INF] Executing application from D:\Tariq's Projects\microservice\tye.yaml
[21:04:49 INF] dtrace: Using Zipkin at URL http://localhost:9411
[21:04:49 INF] logs: Using ElasticSearch at http://localhost:9200
[21:04:49 INF] Dashboard running on http://<IP_ADDRESS>:8000
[21:04:49 INF] Publishing project D:\Tariq's Projects\microservice\frontend\frontend.csproj
[21:04:49 INF] Publishing project D:\Tariq's Projects\microservice\backend\backend.csproj
An unhandled exception has occurred, how unseemly:
System.InvalidOperationException: Command dotnet dev-certs https -ep C:\Users\Tariq Abubaker\AppData\Local\Temp\3jx13zqv.zfg\frontend.pfx -p 26739b5b-e7c5-44bc-8f04-e989dea7a936 returned exit code -1
   at Microsoft.Tye.ProcessUtil.RunAsync(String filename, String arguments, String workingDirectory, Boolean throwOnError, IDictionary`2 environmentVariables, Action`1 outputDataReceived, Action`1 errorDataReceived, Action`1 onStart, Action`1 onStop, CancellationToken cancellationToken) in /_/src/Microsoft.Tye.Core/ProcessUtil.cs:line 140
   at Microsoft.Tye.ProcessUtil.RunAsync(String filename, String arguments, String workingDirectory, Boolean throwOnError, IDictionary`2 environmentVariables, Action`1 outputDataReceived, Action`1 errorDataReceived, Action`1 onStart, Action`1 onStop, CancellationToken cancellationToken)
   at Microsoft.Tye.Hosting.TransformProjectsIntoContainers.TransformProjectToContainer(Service service, ProjectRunInfo project) in /_/src/Microsoft.Tye.Hosting/TransformProjectsIntoContainers.cs:line 116
   at Microsoft.Tye.Hosting.AggregateApplicationProcessor.StartAsync(Application application) in /_/src/Microsoft.Tye.Hosting/AggregateApplicationProcessor.cs:line 24
   at Microsoft.Tye.Hosting.TyeHost.StartAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 96
   at Microsoft.Tye.Hosting.TyeHost.RunAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 60
   at Microsoft.Tye.Hosting.TyeHost.RunAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 70
   at Microsoft.Tye.Program.<>c.<<CreateRunCommand>b__10_0>d.MoveNext() in /_/src/tye/Program.RunCommand.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Tye.Program.<>c.<<CreateRunCommand>b__10_0>d.MoveNext() in /_/src/tye/Program.RunCommand.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()

Further technical details

Include the output of tye --version
0.4.0-alpha.20371.1+d7623120d66b85bfeda8ab69eb5ff792df6b7243

If possible rerun the command with -v debug and include the output

tye run --docker -v debug
Loading Application Details...
Locating .NET SDK...
Found .NET SDK at: C:\Program Files\dotnet\sdk\3.1.202\
Registered .NET SDK.Loading project 'D:\Tariq's Projects\microservice\frontend\frontend.csproj'.
Loaded project 'D:\Tariq's Projects\microservice\frontend\frontend.csproj'.
Restoring project 'D:\Tariq's Projects\microservice\frontend\frontend.csproj'.
Build started 21-Aug-20 9:32:02 PM.
__________________________________________________
Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (Restore target(s)):

Target _FilterRestoreGraphProjectInputItems:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" is building "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (_IsProjectRestoreSupported target(s)):

Target _GetAllRestoreProjectPathItems:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" is building "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (_GenerateRestoreProjectPathWalk target(s)):

    __________________________________________________
    Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" is building "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (_IsProjectRestoreSupported target(s)):

Target _GenerateRestoreGraph:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" is building "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (_GenerateRestoreGraphProjectEntry target(s)):

    __________________________________________________
    Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" is building "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (_GenerateProjectRestoreGraph target(s)):

Target Restore:
    Committing restore...
    Assets file has not changed. Skipping assets file writing. Path: D:\Tariq's Projects\microservice\frontend\obj\project.assets.json
    Restore completed in 84.25 ms for D:\Tariq's Projects\microservice\frontend\frontend.csproj.

    NuGet Config files used:
        C:\Users\Tariq Abubaker\AppData\Roaming\NuGet\NuGet.Config
        C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
        C:\Program Files (x86)\NuGet\Config\Xamarin.Offline.config

    Feeds used:
        https://api.nuget.org/v3/index.json
        https://nuget.devexpress.com/netconf2019/api
        C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.31
Restored project 'D:\Tariq's Projects\microservice\frontend\frontend.csproj'.
Build started 21-Aug-20 9:32:03 PM.
__________________________________________________
Project "D:\Tariq's Projects\microservice\frontend\frontend.csproj" (ResolveReferences;ResolvePackageDependenciesDesignTime;PrepareResources;GetAssemblyAttributes target(s)):

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.42
Found application version: 1.0.0
RunCommand=D:\Tariq's Projects\microservice\frontend\bin\Debug\netcoreapp3.1\frontend.exe
RunArguments=
TargetPath=D:\Tariq's Projects\microservice\frontend\bin\Debug\netcoreapp3.1\frontend.dll
PublishDir=bin\Debug\netcoreapp3.1\publish\
AssemblyName=frontend
IntermediateOutputPath=obj\Debug\netcoreapp3.1\
Found target framework: netcoreapp3.1
Found shared frameworks: Microsoft.NETCore.App, Microsoft.AspNetCore.App
IsAspNet=True
Evaluation Took: 2799.4723ms
Loading project 'D:\Tariq's Projects\microservice\backend\backend.csproj'.
Loaded project 'D:\Tariq's Projects\microservice\backend\backend.csproj'.
Restoring project 'D:\Tariq's Projects\microservice\backend\backend.csproj'.
Build started 21-Aug-20 9:32:04 PM.
__________________________________________________
Project "D:\Tariq's Projects\microservice\backend\backend.csproj" (Restore target(s)):

Target _FilterRestoreGraphProjectInputItems:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\backend\backend.csproj" is building "D:\Tariq's Projects\microservice\backend\backend.csproj" (_IsProjectRestoreSupported target(s)):

Target _GetAllRestoreProjectPathItems:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\backend\backend.csproj" is building "D:\Tariq's Projects\microservice\backend\backend.csproj" (_GenerateRestoreProjectPathWalk target(s)):

    __________________________________________________
    Project "D:\Tariq's Projects\microservice\backend\backend.csproj" is building "D:\Tariq's Projects\microservice\backend\backend.csproj" (_IsProjectRestoreSupported target(s)):

Target _GenerateRestoreGraph:
    __________________________________________________
    Project "D:\Tariq's Projects\microservice\backend\backend.csproj" is building "D:\Tariq's Projects\microservice\backend\backend.csproj" (_GenerateRestoreGraphProjectEntry target(s)):

    __________________________________________________
    Project "D:\Tariq's Projects\microservice\backend\backend.csproj" is building "D:\Tariq's Projects\microservice\backend\backend.csproj" (_GenerateProjectRestoreGraph target(s)):

Target Restore:
    Committing restore...
    Assets file has not changed. Skipping assets file writing. Path: D:\Tariq's Projects\microservice\backend\obj\project.assets.json    Restore completed in 12.43 ms for D:\Tariq's Projects\microservice\backend\backend.csproj.

    NuGet Config files used:
        C:\Users\Tariq Abubaker\AppData\Roaming\NuGet\NuGet.Config
        C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
        C:\Program Files (x86)\NuGet\Config\Xamarin.Offline.config

    Feeds used:
        https://api.nuget.org/v3/index.json
        https://nuget.devexpress.com/netconf2019/api
        C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.22
Restored project 'D:\Tariq's Projects\microservice\backend\backend.csproj'.
Build started 21-Aug-20 9:32:04 PM.
__________________________________________________
Project "D:\Tariq's Projects\microservice\backend\backend.csproj" (ResolveReferences;ResolvePackageDependenciesDesignTime;PrepareResources;GetAssemblyAttributes target(s)):

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.20
Found application version: 1.0.0
RunCommand=D:\Tariq's Projects\microservice\backend\bin\Debug\netcoreapp3.1\backend.exe
RunArguments=
TargetPath=D:\Tariq's Projects\microservice\backend\bin\Debug\netcoreapp3.1\backend.dll
PublishDir=bin\Debug\netcoreapp3.1\publish\
AssemblyName=backend
IntermediateOutputPath=obj\Debug\netcoreapp3.1\
Found target framework: netcoreapp3.1
Found shared frameworks: Microsoft.NETCore.App, Microsoft.AspNetCore.App
IsAspNet=True
Evaluation Took: 858.6142ms
Injecting zipkin service...
Injecting elastic service...
Launching Tye Host...

[21:32:06 INF] Executing application from D:\Tariq's Projects\microservice\tye.yaml
[21:32:06 INF] dtrace: Using Zipkin at URL http://localhost:9411
[21:32:06 INF] logs: Using ElasticSearch at http://localhost:9200
[21:32:07 INF] Dashboard running on http://<IP_ADDRESS>:8000
[21:32:07 INF] Publishing project D:\Tariq's Projects\microservice\frontend\frontend.csproj
[21:32:07 INF] Publishing project D:\Tariq's Projects\microservice\backend\backend.csproj
An unhandled exception has occurred, how unseemly:
System.InvalidOperationException: Command dotnet dev-certs https -ep C:\Users\Tariq Abubaker\AppData\Local\Temp\qt0yj531.tej\frontend.pfx -p 1c54690d-c283-42ae-b672-a19dd422b4a6 returned exit code -1
   at Microsoft.Tye.ProcessUtil.RunAsync(String filename, String arguments, String workingDirectory, Boolean throwOnError, IDictionary`2 environmentVariables, Action`1 outputDataReceived, Action`1 errorDataReceived, Action`1 onStart, Action`1 onStop, CancellationToken cancellationToken) in /_/src/Microsoft.Tye.Core/ProcessUtil.cs:line 140
   at Microsoft.Tye.ProcessUtil.RunAsync(String filename, String arguments, String workingDirectory, Boolean throwOnError, IDictionary`2 environmentVariables, Action`1 outputDataReceived, Action`1 errorDataReceived, Action`1 onStart, Action`1 onStop, CancellationToken cancellationToken)
   at Microsoft.Tye.Hosting.TransformProjectsIntoContainers.TransformProjectToContainer(Service service, ProjectRunInfo project) in /_/src/Microsoft.Tye.Hosting/TransformProjectsIntoContainers.cs:line 116
   at Microsoft.Tye.Hosting.AggregateApplicationProcessor.StartAsync(Application application) in /_/src/Microsoft.Tye.Hosting/AggregateApplicationProcessor.cs:line 24
   at Microsoft.Tye.Hosting.TyeHost.StartAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 96
   at Microsoft.Tye.Hosting.TyeHost.RunAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 60
   at Microsoft.Tye.Hosting.TyeHost.RunAsync() in /_/src/Microsoft.Tye.Hosting/TyeHost.cs:line 70
   at Microsoft.Tye.Program.<>c.<<CreateRunCommand>b__10_0>d.MoveNext() in /_/src/tye/Program.RunCommand.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Tye.Program.<>c.<<CreateRunCommand>b__10_0>d.MoveNext() in /_/src/tye/Program.RunCommand.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()

The platform (Linux/macOS/Windows)
Windows 10 Version 2004 (OS Build 19041.388)

I can fix the issue, but I have no idea how to write a test for it.

Feel free to submit a PR without a test for now. We'll evaluate if a test is necessary.

@jkotalik Thanks.
PR already submitted 👍🏻


full name match not showing

example<EMAIL_ADDRESS>works, but<EMAIL_ADDRESS>doesn't show it

ok not my fault, browsers do it


Rpgitems Powerloss

I updated to version 3.5.314, (Spigot 1.12.2) and the one before and rpgitems keep losing their powers now. No matter what. I added them all back and just when I finished the first ones I fixed relost their powers. It's wierd.

@Librazy, it's also setting armour % to higher values. Like say 31% goes to 160%

Any NullPointerException in console?

All I'm seeing is "Unknown translation" for the language file

Unknown translation should not be a major problem. Setting up local test environment trying to reproduce you issue now.

@Librazy Essentially, I updated the plugin, restarted the server. Then all the items were fine, but when I came back the next day, they had no powers. So I added them back, and when I got done, the first ones done a few hours ago resetted.

Config (I keep deleting this file and it regens different versions so idk):
autoupdate: true
defaults:
hand: One handed
sword: Sword
damage: Damage
armour: Armour
support:
worldguard: true
version: '0.5'
language: en_GB

Are those power still in the items.yml ?

No, it at first set all of them back to Power: {}, and now it's randomly doing it to a few

@Librazy I finished fixing my items, and I'm stopping my server. Then I'ma add the fixed file into the folder by itself. I'm hoping that it would regenerate the config and language files to be updated. So that it would possibly stop doing the removal of power and messing with armor %'s,

Did you used /rpgitem clone before? I made a mistake in previous implementation of it, making operation on cloned item affects origin item. It should be fixed in 3.5.315.

Yes, I actually did.. I ended up doing /rpgitem item clone item and then it just says "NewItem already exist!" and it wouldn't let me remove said item. I figured this did something to it but wasn't sure. But I edited my file to remove the clone items.

Sorry for the inconvenience, there is another bug that it always respond /item clone with already exist. It would be fixed in upcoming version.

@Librazy Spigot doesn't have 3.5.315, only 3.5.15
and it's okay lol... at least I'm the kind of person how would go over a file of 100+ or so items and fix it.. heh

Found it... https://github.com/NyaaCat/RPGitems-reloaded/releases heh

I do apologize for the mess in previous releases and thank you for reporting it. Will update spigot releases asap.

It's totally okay! Heh, I figured there was a bug in clone but thought "this might not even mean anything and probably get fixed when they noticed the command doesn't work" and then it happend. I'm just happy I'm not my friend who has over probably 400 items. I did warn them to backup, just to make sure.

Any abnormal in the console? The clone bug shouldn't affect a restarted server.

Watching it now after I uploaded the file, did /rpgitem reload, and restarted.

@Librazy after reloading the files to take on the fixed file and restarting, it didn't reset this time when it started. I'll keep the fixed file just in case though.. heh


Initial setup for QIR emission

The state the QIR emission is in is not perfect, and there are still some missing pieces, but let's get that to main to bring our repos to a decent state for integration testing. See the PRs against the feature branch for more details on what the feature contains.

I looked at a few .md and .qs files.
Looks good to me. But I will leave the approval for those more knowledgeable than me.


dyld: Symbol not found: _AVCaptureSessionInterruptionReasonKey

dyld: Symbol not found: _AVCaptureSessionInterruptionReasonKey
Referenced from: /private/var/mobile/Containers/Bundle/Application/BCA15B8F-E2B1-495B-83BB-26C17DA84A38/CloudWebRTC.app/Frameworks/WebRTC.framework/WebRTC (which was built for iOS 9.0)
Expected in: /System/Library/Frameworks/AVFoundation.framework/AVFoundation
in /private/var/mobile/Containers/Bundle/Application/BCA15B8F-E2B1-495B-83BB-26C17DA84A38/CloudWebRTC.app/Frameworks/WebRTC.framework/WebRTC
when i  use ios8 debug the  rn webrtc  will trace this error,you can compile the webrtc library remove this render.
my qq is:283796665

We only support iOS >= 9, if you try to use it in iOS 8 problems are expected as it's an unsupported version.

ok ， thank you for  your answer

@kangshaojun you can use master branch with ios 8 by replace webrtc.framework of branch rn-less-40 and change #import <WebRTC/RTCLegacyStatsReport.h> to #import <WebRTC/RTCStatsReport.h>
in WebRTCModule+RTCPeerConnection.m. Hope this help


E: Unable to locate package linux-tools-4.4.0-17763-Microsoft

On Microsoft Windows [Version 10.0.17763.615]
I've added support for Windows Subsystem for Linux and setup Ubuntu
18.04 (uname -r  4.4.0-17763-Microsoft ). During setup for perfview I run into the following failure:
Installing perf_event packages.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-4.4.0-17763-Microsoft
E: Couldn't find any package by glob 'linux-tools-4.4.0-17763-Microsoft'
E: Couldn't find any package by regex 'linux-tools-4.4.0-17763-Microsoft'
E: Unable to locate package linux-cloud-tools-4.4.0-17763-Microsoft
E: Couldn't find any package by glob 'linux-cloud-tools-4.4.0-17763-Microsoft'
E: Couldn't find any package by regex 'linux-cloud-tools-4.4.0-17763-Microsoft'
There doesn't appear to be packages for my specific build.  Will this change in the future?

Can you provide the exact steps that you're running?  This actually looks like PerfCollect (http://aks.ms/perfcollect).

sorry for the delay
Hi, I'm following the steps outlined here: Preparing Your Machine
https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md
@:~$ sudo ./perfcollect install
[sudo] password for *****:
Installing perf_event packages.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-4.4.0-17763-Microsoft
E: Couldn't find any package by glob 'linux-tools-4.4.0-17763-Microsoft'
E: Couldn't find any package by regex 'linux-tools-4.4.0-17763-Microsoft'
E: Unable to locate package linux-cloud-tools-4.4.0-17763-Microsoft
E: Couldn't find any package by glob 'linux-cloud-tools-4.4.0-17763-Microsoft'
E: Couldn't find any package by regex 'linux-cloud-tools-4.4.0-17763-Microsoft'
LTTng can be installed using default Ubuntu packages via the Ubuntu package feeds or using the latest
stable package feed published by LTTng (PPA feed).  It is recommended that LTTng be installed using the PPA feed.
If you select yes, then the LTTng PPA feed will be added to your apt configuration.
If you select no, then LTTng will be installed from an existing feed (either default Ubuntu or PPA if previously added.

Would you like to add the LTTng PPA feed to your apt configuration? [Y/N]Y
Adding LTTng PPA feed and running apt-get update.
LTTng (Linux Trace Toolkit Next Generation) project repository.
For more information: http://lttng.org
Most of the LTTng utilities are now packaged in Debian/Ubuntu, but this PPA offers the latest stable versions. Ubuntu 12.04 and up are supported.
Problems, questions, comments?
Please let us know: http://lttng.org/contact
You can also report bugs at: https://bugs.lttng.org/projects
==== SETTING UP LTTng 2.x ====
LTTng 2.x features a unified trace-control client "lttng" to control both kernel tracing (through lttng-modules) and userspace tracing (through UST). The client itself is shipped in the "lttng-tools" package.
To install the toolchain:
$ sudo apt-add-repository ppa:lttng/ppa
$ sudo apt-get update
$ sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
You may also want to install:
liblttng-ust-dev: To compile applications instrumented with UST tracepoints
python3-babeltrace: Python bindings for babeltrace
Once the modules are installed correctly, you can start tracing right away. No need to reboot!
You can now refer to http://lttng.org/quickstart to use the kernel or userspace tracers.
==== Daily build packages ====
If you prefer living on the edge, you can use the latest development versions in the daily PPA: https://launchpad.net/~lttng/+archive/daily
More info: https://launchpad.net/~lttng/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.
 Done
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://ppa.launchpad.net/lttng/ppa/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Installing LTTng packages.
Reading package lists... Done
Building dependency tree
Reading state information... Done
lttng-modules-dkms is already the newest version (2.10.x+stable+git1153+201906241916~ubuntu18.04.1).
lttng-tools is already the newest version (2.10.x+stable+git4078+201905242102~ubuntu18.04.1).
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
liblttng-ust-ctl4
The following packages will be upgraded:
liblttng-ust-ctl4 liblttng-ust0
2 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 229 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/lttng/ppa/ubuntu bionic/main amd64 liblttng-ust0 amd64 2.10.x+stable+git2275+201908021901~ubuntu18.04.1 [150 kB]
Get:2 http://ppa.launchpad.net/lttng/ppa/ubuntu bionic/main amd64 liblttng-ust-ctl4 amd64 2.10.x+stable+git2275+201908021901~ubuntu18.04.1 [79.2 kB]
Fetched 229 kB in 11s (19.9 kB/s)
(Reading database ... 69232 files and directories currently installed.)
Preparing to unpack .../liblttng-ust0_2.10.x+stable+git2275+201908021901~ubuntu18.04.1_amd64.deb ...
Unpacking liblttng-ust0:amd64 (2.10.x+stable+git2275+201908021901~ubuntu18.04.1) over (2.10.x+stable+git2271+201907042017~ubuntu18.04.1) ...
Preparing to unpack .../liblttng-ust-ctl4_2.10.x+stable+git2275+201908021901~ubuntu18.04.1_amd64.deb ...
Unpacking liblttng-ust-ctl4:amd64 (2.10.x+stable+git2275+201908021901~ubuntu18.04.1) over (2.10.x+stable+git2271+201907042017~ubuntu18.04.1) ...
Setting up liblttng-ust-ctl4:amd64 (2.10.x+stable+git2275+201908021901~ubuntu18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up liblttng-ust0:amd64 (2.10.x+stable+git2275+201908021901~ubuntu18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
later if I try to run the sample collect i get the following error
@:~$ sudo ./perfcollect collect sampleTrace
Zip and unzip are not installed.
Run ./perfcollect install
or install zip and unzip manually.

Worked with @tdevere offline on this.  The issue is that this is on WSL2 which doesn't have support for perf_events.  The solution is to run use a machine with a true Linux host unless/until WSL2 supports perf_events.


Auto-indent doesn't scroll editor

When auto-indentation out-dents, the editor doesn't scroll to the cursor position after the out-dent.

open DocumentCommandHandlers-test.js
Turn off word-wrap
Go to line 940
Click on line 942
Scroll the editor so that "expect" on line 942 is at the edge of the left gutter
Make brackets narrow so that the end of line 942 is on the edge of the vertical scrollbar
Click on line 940
Go to the end of the line and hit enter
indentation puts cursor above "expect"
Type }
Curly brace moves out of view as does the cursor

Fixed by PR #9387


Stochastic and Williams %R need to use highs and lows

Stochastic needs high and low inputs.  For some reason issue #16 was closed even though it was never fixed.
Williams %R (quite a similar indicator to the above also needs high and low inputs, plus a rolling lookback period.
And tests would need to be re-done too.

PR here:  #29


Java 18 - do not set SecurityManager if unsupported

Contains
This pull request reverts https://github.com/MovingBlocks/Terasology/commit/ca913261d6564ac552b067a234b6418c2a3a9ec7 and re-implements it properly using a runtime check. It ensures that the game does not set a custom SecurityManager when running on Java 18 or above.
How to test

Run the game using Java 18 (or later)
Ensure that the game doesn't crash on start-up (it should reach at least the main menu)

@BenjaminAmos do I need #5109 to be able to test this to support newer Java, or how did you do it locally?

It looks like I might have increased the gradle version to 7.2 locally. I forgot about that. #5109 should make this work as well.

I tried to test this with #5109 and Java 20 (since I cannot find a Java 18 or 19 via SDKMan), but then I run into the issue that Kotlin and Java 20 don't get along yet 🙈 Why can't things be easy 🙄
I suspect this to just work, and will give it another try running the game with Java 11 - if that still works, I guess we can merge and move forward to sort out Gradle, Java, and Kotlin versions along the path. 👍

kotlin-1.9.0 is released: https://kotlinlang.org/docs/whatsnew19.html which supports java-20.

@skaldarnar @jdrueckert you want to merge this one? it prints a warning what parameter to use, which will be valid for java-21 as well, so sufficient for a couple of years.
here some details on why security manager got removed, and how otherwise to address it (attention, they try to sell you snyk...)
https://snyk.io/blog/securitymanager-removed-java/
some key parts extracted:

Ultimately, all deprecated code should be removed or updated since it isn't well-maintained and can present a security risk. You can use jdeprscan to find all deprecated code in your class files.
"The only true out-of-the-box alternative to the SecurityManager is the JDK's Security Library, and developers must acquaint themselves with Oracle's Secure Coding Guidelines for Java SE. Ultimately, writing secure code from the get-go is the first step to minimizing your project's vulnerabilities.

@BenjaminAmos @jdrueckert @skaldarnar java-21 is out, tested if it still is good, and it is. can we please merge this?

I think this just got overlooked. It happens sometimes.
I'm not able to merge this until the tests pass (this one specifically), even if I wanted to. I might have to rebase these changes to force a tests re-run so that GitHub makes it mergable again. The changes should not affect normal execution before Java 18, so I think I could merge it safely.

I'm not able to merge this until the tests pass (this one specifically), even if I wanted to. I might have to rebase these changes to force a tests re-run so that GitHub makes it mergable again. The changes should not affect normal execution before Java 18, so I think I could merge it safely.

i cannot see the failing test link, is it because i am not project member?

Hey @soloturn - interestingly it does look like if I load the PR in an incognito browser I can't see the checks on the main PR page, I have to go to the checks page (https://github.com/MovingBlocks/Terasology/pull/5107/checks) to find them. Huh! I had no idea. That's pretty weird. It looks like this to a maintainer (in dark mode anyway):

I just tried adding you to a "Contributors" team we used to add everybody who contributed to - started doing that years ago before GitHub made some further UI tweaks.  If not maybe it needs a push-access team or so.
Let me see if a rebuild in Jenkins will help, our CI was a little erratic for a while but should be better now. The branch may still need a quick update sometime.

After the rebuild it looks a bit different, but that may again be more about the CI infrastructure changes. Checking Jenkins directly only shows one failing test, however: https://jenkins.terasology.io/job/Terasology/job/engine/view/change-requests/job/PR-5107/1/testReport/junit/org.terasology.engine.integrationenvironment/ExampleTest/Integration_Tests___testClientConnection__/
Being that it is "ExampleTest" I'm not too worried about it, the latest build from develop also failed on that test: https://jenkins.terasology.io/job/Terasology/job/engine/job/develop/3/
Still curious if you can see the check results now on the main PR page @soloturn :-)
The change itself looks reasonable despite the area of security historically having been a bit of a can of worms to deal with. But yeah if this doesn't affect anything below Java 18 it sounds safe enough 👍

now i can see the test result here: https://jenkins.terasology.io/job/Terasology/job/engine/job/develop/3/testReport/junit/org.terasology.engine.integrationenvironment/ExampleTest/Integration_Tests___testClientConnection__/
with the stack trace and error message:
java.lang.RuntimeException: Could not connect client org.terasology.engine.core.TerasologyEngine@768d49d5 to local host - timeout.


Layout/IndentationWidth with assertion

Expected behavior
That auto-corrector will convert this
foo = if true
23
else
42
end

to this
foo = if true
        23
      else
        42
      end

This problem appears only in combination assertion with if statement
Actual behavior
Instead i get this:
foo = if true
  23
          else
            42
  end

RuboCop version
1.12.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.4.1, running on ruby 2.7.2 x86_64-darwin19)

This is not auto-corrected to the expected code with Layout/IndentationWidth only. Please apply Layout/ElseAlignment and Layout/EndAlignment together. Thank you.
Before
% cat example.rb
foo = if true
23
else
42
end

Arrange
% bundle exec rubocop -a
(snip)

Inspecting 1 file
W

Offenses:

example.rb:1:1: W: Lint/UselessAssignment: Useless assignment to variable - foo.
foo = if true
^^^
example.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
foo = if true
^
example.rb:1:10: W: Lint/LiteralAsCondition: Literal true appeared as a condition.
foo = if true
         ^^^^
example.rb:2:1: C: [Corrected] Layout/IndentationWidth: Use 2 (not -6) spaces for indentation.
23 ...
^^
example.rb:3:1: C: [Corrected] Layout/ElseAlignment: Align else with if.
else
^^^^
example.rb:4:1: C: [Corrected] Layout/IndentationWidth: Use 2 (not 0) spaces for indentation.
42

example.rb:4:3: C: [Corrected] Layout/IndentationWidth: Use 2 (not -4) spaces for indentation.
  42 ...
  ^^
example.rb:5:1: W: [Corrected] Layout/EndAlignment: end at 5, 0 is not aligned with if at 1, 6.
end
^^^

1 file inspected, 8 offenses detected, 5 offenses corrected, 1 more offense can be corrected with `rubocop -A`

After
% cat example.rb
foo = if true
        23
      else
        42
      end

Tip: The same result can be obtained with rubocop -a --only Layout/IndentationWidth,Layout/ElseAlignment,Layout/EndAlignment. Thank you.

Thank you so much for such a quick and full response!


Remove nodeshiftdir option

i don't think there is a need to have the --nodeshiftDirectory options.
this only changed the name of the directory, not the actual location.

Coverage decreased (-0.09%) to 74.415% when pulling 8695b05812263730a7f6c5891b9129f72bf7b7c3 on lholmquist:remove-nodeshiftdir-option into c3c04936944451eea9881cd5add941e85233d164 on bucharest-gold:master.


Support for Django 3

wagtail 2.8 came up with support for django 3
https://github.com/wagtail/wagtail/blob/master/CHANGELOG.txt#L20
But when upgrading the packages, wagtail-autocomplete breaks:
  File "/home/dori/.virtualenvs/project/lib/python3.8/site-packages/wagtailautocomplete/wagtail_hooks.py", line 1, in <module>
    from django.contrib.staticfiles.templatetags.staticfiles import static
ModuleNotFoundError: No module named 'django.contrib.staticfiles.templatetags'

As per https://stackoverflow.com/a/59935512, we need to import static from django.templatetags.static instead of django.contrib.staticfiles.templatetags.staticfiles

Temporary fix:
$ sed -i 's/contrib.staticfiles.templatetags.staticfiles/templatetags.static/g' $VIRTUAL_ENV/lib/python3.8/site-packages/wagtailautocomplete/wagtail_hooks.py

Will be reviewing a PR to fix this (#63) later this week! Thanks for the report!

Fyi, I didn't have other problems on local, but when deploying to production, I needed to add another fix in my container:
$ sed -i 's/wagtail.admin.decorators/wagtail.admin.auth/g' /usr/local/lib/python3.8/site-packages/wagtailautocomplete/urls/admin.py

@harrislapiroff you forgot to update /wagtailautocomplete/urls/admin.py
- from wagtail.admin.decorators import require_admin_access
+ from wagtail.admin.auth import require_admin_access

Good call. Since those paths appear to be preserved (though deprecated) through 2.8, I'm going to cut a release as is, but I will accept PRs making that fix at any time—particularly once we officially remove 2.3 support.

FYI, Wagtail 2.9 has removed wagtail.admin.decorators.
https://github.com/wagtail/wagtail/commit/98e0dbcdabc33dfcfe9236ac67478a2dd4e56840


Can a video be automatically cut into multiple videos and exported?

Can a video be automatically cut into multiple videos and exported?

Yes, you can use --export clip-sequence


fix: add @extends federation directive

Hello. Adding the missing directive that will allow to use type U @extends { ... } alongside with extend U { ... }
Please see the docs:

Some libraries such as graphql-java don't have native support for type extensions in their printer. Apollo Federation supports using an @extends directive in place of extend type to annotate type references:

type User @key(fields: "id") @extends {
  id: ID! @external
  reviews: [Review]
}

Without this, fastify-gql will fail with something like
"msg":"Unknown directive \"extends\".",
"stack":"Error: Unknown directive \"extends\".\n
    at assertValidSDLExtension (/node_modules/fastify-gql/node_modules/graphql/validation/validate.js:125:11)
    at extendSchema (/node_modules/fastify-gql/node_modules/graphql/utilities/extendSchema.js:71:43)
    at buildFederationSchema (/node_modules/fastify-gql/lib/federation.js:231:22)
    at buildGateway (/node_modules/fastify-gql/lib/gateway.js:141:18)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async fp.name (/node_modules/fastify-gql/index.js:118:15)"

Would you mind to add a test that demonstrate how this works?

That may take some time, because I haven’t dig deep into how it may be implemented in place...

I had a look at this issue: adding the directive will only resolve the issue of throwing an error because of an unknown directive, but the gateway will create an incorrect schema because it would handle a type with the @extends directive as a type definition node instead of a type extension node.


Upgrade GitHub package on Beta

:shipit: :shipit: :shipit:
See atom/github#2130 for the backported changes included in this patch release.

Oh... it looks like AppVeyor is trying to code-sign the build output, and Azure isn't building PRs against our non-master release branches. Time to force a merge and watch the release publisher output 👀


[textanalytics] add header in changelog

API change check
API changes are not detected in this pull request.


Issue with bungeecord syncing.

I am creating a bungeecord network and using LuckPerms. I have made a bungeecord network with LP before and it worked fine. I followed all of the instructions in the GitHub for setting up with a network. I am using the same configs and jars from the previous server (besides the bungeecord proxy), and I have no clue why it doesn't work.

All servers connected to the same database?
IP forwarding enabled and setup correctly?
In what way is it not working? Can you login? Are user permissions syncing? Are groups syncing?
I need waaay more information in order to help identify the cause of the issue.


[1.12.0-RC1] default bridge network sometimes does not exist

Many reports in rc1 of seeing messages like:
docker: Error response from daemon: failed to create endpoint big_euler on network bridge: network 6faafb12e255d59a4c6a26396e01444caf8cb7668630aacb40144039ef3f94e7 does not exist.

Restarting the daemon does not work:
time="2016-06-16T00:46:14.268698114Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error creating default \"bridge\" network: cannot create network 819b4edbda5b06a7bd5f80c5898524f0953340f25838d3e47ffc10dd96490353 (docker0): conflicts with network 5fb1c1fb93bca5f8b558b090f1bcb0190372034d7c109bad4339e76da7dfb331 (docker0): networks have same bridge name"

@aboch is looking into it

Reverting https://github.com/docker/docker/pull/23524/commits/7d0689a8d35e4dd7d569e552957a20ba287c95e6 fixes this it seems for anyone who needs to test rc1 and is having an issue.

See https://github.com/docker/libnetwork/pull/1271


Repo sync for protected CLA branch

The pull request is created from main638035425165185142sync_temp to main to fix git push error for protected CLA branch

Learn Build status updates of commit 0cb7e77:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


update release-1.19 config for release 1.23

Updated config.toml for release 1.23.
Versions updated based on latest patch releases.
/hold until 1.23 release day

/lgtm

/hold cancel


Add support for Unity 6 LTS URP

Describe the bug 💬
RoughRefractionFeature.cs appears to be broken in build for Unity 6 URP.
Steps to reproduce 🔢

Reference the RoughRefreaction render feature in a URP pipeline asset.
Build to Windows standalone
Build logs will show error:

Cannot create required material because shader is null
ArgumentNullException: Value cannot be null.
Parameter name: material
  at UnityEngine.Rendering.CommandBuffer.DrawProcedural (UnityEngine.Matrix4x4 matrix, UnityEngine.Material material, System.Int32 shaderPass, UnityEngine.MeshTopology topology, System.Int32 vertexCount, System.Int32 instanceCount, UnityEngine.MaterialPropertyBlock properties) [0x0000c] in <acbc7a8432b24944a0e1db033a70c02a>:0
  at UnityEngine.Rendering.Blitter.DrawTriangle (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Material material, System.Int32 shaderPass, UnityEngine.MaterialPropertyBlock propertyBlock) [0x00024] in <830cbc5d3c4646578a140865867150d8>:0
  at UnityEngine.Rendering.Blitter.DrawTriangle (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Material material, System.Int32 shaderPass) [0x00000] in <830cbc5d3c4646578a140865867150d8>:0
  at UnityEngine.Rendering.Blitter.BlitTexture (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.RTHandle source, UnityEngine.Vector4 scaleBias, UnityEngine.Material material, System.Int32 pass) [0x00025] in <830cbc5d3c4646578a140865867150d8>:0
  at UnityEngine.Rendering.Blitter.BlitTexture (UnityEngine.Rendering.RasterCommandBuffer cmd, UnityEngine.Rendering.RTHandle source, UnityEngine.Vector4 scaleBias, UnityEngine.Material material, System.Int32 pass) [0x00000] in <830cbc5d3c4646578a140865867150d8>:0
  at UnityEngine.Rendering.Universal.Internal.CopyColorPass.ExecutePass (UnityEngine.Rendering.RasterCommandBuffer cmd, UnityEngine.Rendering.Universal.Internal.CopyColorPass+PassData passData, UnityEngine.Rendering.RTHandle source, System.Boolean useDrawProceduralBlit) [0x0009f] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.Internal.CopyColorPass.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) [0x000d5] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityGLTF.RoughRefractionFeature+CustomRenderPass.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) [0x00043] in <6ec77d07fb0749029423b4016916c776>:0
  at UnityEngine.Rendering.Universal.ScriptableRenderer.ExecuteRenderPass (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.ScriptableRenderPass renderPass, UnityEngine.Rendering.Universal.UniversalCameraData cameraData, UnityEngine.Rendering.Universal.RenderingData& renderingData) [0x000b8] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.ScriptableRenderer.ExecuteBlock (System.Int32 blockIndex, UnityEngine.Rendering.Universal.ScriptableRenderer+RenderBlocks& renderBlocks, UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData, System.Boolean submit) [0x0003f] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.ScriptableRenderer.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) [0x00331] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.UniversalCameraData cameraData) [0x0034a] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera baseCamera) [0x003ca] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) [0x0007b] in <1d323b278df4437aa3676cfb1d572f9d>:0
  at UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1[T] cameras) [0x0001c] in <acbc7a8432b24944a0e1db033a70c02a>:0
  at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipelineAsset, System.IntPtr loopPtr, UnityEngine.Object renderRequest) [0x0003c] in <acbc7a8432b24944a0e1db033a70c02a>:0

Files to reproduce the issue ♻
No response
Editor Version 🎲
6000.0
Render Pipeline and version
17.0.3
UnityGLTF Version
2.14.0
Operating System 👩💻
Windows
When does this problem happen?

[ ] Editor Import
[X] Runtime Import
[ ] Editor Export
[ ] Runtime Export

Additional Info 📜
No response
Validations 🩹

[X] I have searched existing issues: no issue already exist that reports the same problem.
[X] I follow the Code of Conduct
[X] I provided a minimal reproducible example, including files when necessary.

Hi, yes, we're working on this. cc @pfcDorn
Please note that Unity 6 introduced a new Render Graph without any preparation time (it was simply introduced and is on by default for new projects in Unity 6). If you disable Render Graph, rough refraction still works.


Enhance Smoothness of Box Fill Animation

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
I would like to enhance the smoothness and consistency of the animations and transitions within the existing game. Specifically, the box fill animation and the pulse animation for the player's turn indicator need to be smoother. Additionally, the transitions for interactive elements such as edges, buttons, and other components should be more fluid to provide a better visual feedback.
Describe the solution you'd like
Optimize keyframes and easing
Adjust animation duration
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

I want to solve this Issue Under GSSOC, Kindly Assign me this Issue. @Lovelyfin00 @Durgesh4993

I really want to work on this Issue Under GSSOC, Kindly Assign me this Issue. @Lovelyfin00 @Durgesh4993

If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channels for all projects...
Thank you :)

i want to work on this project, kindly assign this issue to me


DBAASCLI-58 update installation doc- describe package installation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Services not fetch from dependencies array

class FirstService implements ServiceInterface {
    public $test = 1;
}

class SecondService implements ServiceInterface {
    public function __construct(FirstService $firstService)
    {
        var_dump($firstService->test);
    }
}

$manager = new ServicesManager();

$firstService =  new FirstService();
$firstService->test = 2;
$manager->addService($firstService);

$firstService2 = clone $firstService;
$firstService2->test = 3;

var_dump($manager->getService(SecondService::class, [$firstService2]));

Should echo 3 because $firstService2 passed in the $dependencies array of ServicesManager::getService() should be prioritary. Currently echoes 2.

The bug is actually located on ServicesManager::instantiate()


TLS configurations with self-hosted Cloud Pricing API

Self-hosted Cloud Pricing API users of GitHub Actions (or other CI/CD integrations), need a way to:

Use something like INFRACOST_TLS_VERIFY=false (similar to what docker supports) to disable TLS verification for testing. Given users went through the trouble of generating a cert, this option only seems useful for testing.
Have env variables or flags or configure keys for the following so users could provide the cert files (again, similar to what docker supports). On CI/CD, users would have to have a step in the GH Action that writes the cert files before Infracost runs.

      --tls-ca-cert string   Trust certs signed only by this CA (default "/Users/ali/.docker/ca.pem")
      --tls-cert string     Path to TLS certificate file (default "/Users/ali/.docker/cert.pem")
      --tls-key string      Path to TLS key file (default "/Users/ali/.docker/key.pem")

Note for community:
Please 👍 if you'd like to upvote this or receive updates.

Trying to hack through this one - https://github.com/njculver/infracost/tree/feat/tls-configuration

@aliscott any thoughts on the interface changes for this?

Sorry I dropped the ball on this one. Have been looking at other tools - here's the options they have:
Docker
--tls                Use TLS; implied by --tlsverify
--tlscacert string   Trust certs signed only by this CA (default "/Users/ali/.docker/ca.pem")
--tlscert string     Path to TLS certificate file (default "/Users/ali/.docker/cert.pem")
--tlskey string      Path to TLS key file (default "/Users/ali/.docker/key.pem")
--tlsverify          Use TLS and verify the remote

Redis
--tls              Establish a secure TLS connection.
--sni <host>       Server name indication for TLS.
--cacert <file>    CA Certificate file to verify with.
--cacertdir <dir>  Directory where trusted CA certificates are stored.
                    If neither cacert nor cacertdir are specified, the default
                    system-wide trusted root certs configuration will apply.
--insecure         Allow insecure TLS connection by skipping cert validation.
--cert <file>      Client certificate to authenticate with.
--key <file>       Private key file to authenticate with.
--tls-ciphers <list> Sets the list of prefered ciphers (TLSv1.2 and below)
                    in order of preference from highest to lowest separated by colon (":").
                    See the ciphers(1ssl) manpage for more information about the syntax of this string.
--tls-ciphersuites <list> Sets the list of prefered ciphersuites (TLSv1.3)
                    in order of preference from highest to lowest separated by colon (":").
                    See the ciphers(1ssl) manpage for more information about the syntax of this string,
                    and specifically for TLSv1.3 ciphersuites.
--raw              Use raw formatting for replies (default when STDOUT is

Helm
--ca-file string             verify certificates of HTTPS-enabled servers using this CA bundle
--cert-file string           identify HTTPS client using this SSL certificate file
--insecure-skip-tls-verify   skip tls certificate checks for the repository
--key-file string            identify HTTPS client using this SSL key file

For us I think it makes sense to make these infracost configure values initially instead of flags since that where we set the pricing_api_endpoint. Here's my idea for the names we should use:

tls_insecure_skip_verify
tls_ca_cert_file
tls_cert_file
tls_key_file

@njculver, @alikhajeh1 do we even need to support the client cert and key files initially or is it enough initially to skip the client verification and just allow specifying a CA cert file?

Nice one! infracost configure makes sense, I suppose it can also be used in CI/CD pipelines too.
I don't have an opinion if we can skip the client verification part - if @njculver doesn't need it and it's a lot more work then sure 🤷

@njculver I've opened a PR for adding tls_insecure_skip_verify, tls_ca_cert_file: https://github.com/infracost/infracost/pull/1187.
Let me know what you think and if this will help your use-case.

Sorry for letting this completely fall off my radar - I've been super busy with other things. Personally, I don't need the client certificate validation for my use case either. Skipping verification seems like it's fine for POC/dev usage, allowing a user to provide the CA cert works for self/internal signed certs. The additional client verification would probably be necessary in some more tightly controlled environments but this would be a good starting point from my perspective.

Great, thanks @wilkej and @njculver, we'll ship this in the next release (v0.9.15) which we'll look to release at the end of this week/early next week. I'll let you know when it's released if you'd be willing to try it out!

@wilkej, @njculver the support for tls_insecure_skip_verify and tls_ca_cert_file is now released in v0.9.15. Docs: https://www.infracost.io/docs/cloud_pricing_api/self_hosted/#using-a-self-signed-certificate. Please try it out and let me know if it works well for you 😄


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-10-03)
Contributors: @andrijadukic-syntio, @ijakas-syn
⚠ BREAKING CHANGES

initial implementation of the lib-streamproc package (#4) (#5)

Features

initial implementation of the lib-streamproc package (#4) (#5) (21b9d48)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


Updating Dexmaker to support Mockito 2.1.0

This PR updates Dexmaker to support the new interfaces of Mockito 2.1.0.

Ah - turns out this is pretty much the same as https://github.com/crittercism/dexmaker/pull/33, the only difference being the Mockito version. Apologies for the noise, I didn't see the original pull request. Let me know what you want me to do with this one.

I'm still getting this error :
java.lang.AbstractMethodError: abstract method "org.mockito.plugins.MockMaker$TypeMockability org.mockito.plugins.MockMaker.isTypeMockable(java.lang.Class)"
I don't know why. I might be doing something wrong.

Hmm - could you point me to a sample where you're seeing that? I never encountered that problem personally, so I may have missed an API.

Basically what I tried was to make this little example work with mockito 2.1.0 in android studio.
The modifications I made were very simple :

In the repositories of the app/build.gradle add :

maven { url "https://jitpack.io" }

In the dependencies of the app/build.gradle remove :

compile 'com.google.dagger:dagger:2.0-SNAPSHOT'
apt 'com.google.dagger:dagger-compiler:2.0-SNAPSHOT'
debugCompile 'com.google.dexmaker:dexmaker:1.0'
debugCompile 'com.google.dexmaker:dexmaker-mockito:1.0'
debugCompile 'org.mockito:mockito-core:1.10.17'
and add :
compile 'com.google.dagger:dagger:2.7'
apt 'com.google.dagger:dagger-compiler:2.7'
debugCompile 'com.github.blueapron:dexmaker:0.0.0'
debugCompile 'org.mockito:mockito-core:2.1.0'

In the app/src/debug/java/com.circle.testexample/Graph file change :

Dagger_Graph
for
DaggerGraph
Then debug the MainActivityTest and you will see the exception I mentioned before.

Ah - try using com.github.blueapron:dexmaker:2.0 instead. The 0.0.0 release wasn't a working release. (I'm having trouble getting the example project running in my environment for other reasons, so I can't test it easily myself)

Oh ok, you would probably want to update the README file then. So it worked with mockito 2.1.0 however when I try to enable final class mocks (more info here) I get this exception :
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory;
at net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$ForLegacyVm.resolve(ByteBuddyAgent.java:728)
...
Is that suppose to happen ?

I haven't attempted to support final class mocks yet - unfortunately, I
think that's going to be a much harder road. From what I can tell, it looks
like enabling that feature will require some additional work further down
in the stack. (I haven't spent a ton of time on this, but that's my initial
impression)
The README at https://github.com/blueapron/dexmaker uses the 2.0 library.
Is there another README somewhere I forgot to update? I can completely
believe I missed it somewhere. :-)
On Wed, Nov 2, 2016 at 11:48 AM, Amaury Combes<EMAIL_ADDRESS>wrote:

Oh ok, you would probably want to update the README file then. So it
worked with mockito 2.1.0 however when I try to enable final class mocks
(more info here
https://github.com/mockito/mockito/wiki/What's-new-in-Mockito-2#unmockable)
I get this exception :
java.lang.NoClassDefFoundError: Failed resolution of:
Ljava/lang/management/ManagementFactory;
at net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$
ForLegacyVm.resolve(ByteBuddyAgent.java:728)
...
Is that suppose to happen ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/crittercism/dexmaker/pull/35#issuecomment-257906160,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APUaZwlM1Fj4qq1V7d1rdn_NoDiMx423ks5q6LDbgaJpZM4KQfU-
.

My bad I was looking at ec3d50b 😅
Anyway thanks for the help !

Thanks for the PR @tmtrademarked. Unfortunately after converting the project to gradle, your PR no longer applies cleanly, so I'm just going to add this change with #52.


Don't pin minor version of Python release

Noticed we were testing against 3.6.3 instead of 3.6.4 on macOS builders and figured we'd rather have the latest release version for 3.6.x.
Another thought is if we're able to cache pyenv on macOS? My local installation of 3.6.4 under ~/.pyenv/versions/3.6.4/... is 716KiB, well under Travis' suggested limit of a "few hundred Megabytes".

Unfortunately it looks like there's no major.minor consistency for all major.minor combinations for pyenv so I'll close this. Looks like this is only available for 2.7 :man_shrugging:

Codecov Report

Merging #1349 into master will decrease coverage by 2.73%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1349      +/-   ##
==========================================
- Coverage     100%   97.26%   -2.74%
==========================================
  Files          21       21
  Lines        2014     2014
==========================================
- Hits         2014     1959      -55
- Misses          0       55      +55

Impacted Files
Coverage Δ

urllib3/util/selectors.py
83.07% <0%> (-16.93%)
:arrow_down:

Continue to review full report at Codecov.

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


module fails on fifth room

v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0

Send me your lights, groups, scenes JSON data from the bridge, I have more then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA
.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>

I believe I have instructions on my GitHub, otherwise go to the philips hue developer portal and there are instructions on how to use the debug/clip through a browser or postman to pull the payloads for “lights”, “groups”, “scenes”
I can run it through my offline test utility to see the failure.

On Aug 3, 2019, at 12:19 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA
.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok will check now. I had just downloaded the hue app since I thought they'd
have a diag page.
Got them - attached.
On Sat, Aug 3, 2019 at 15:22 Monte Thyden<EMAIL_ADDRESS>wrote:

I believe I have instructions on my GitHub, otherwise go to the philips
hue developer portal and there are instructions on how to use the
debug/clip through a browser or postman to pull the payloads for “lights”,
“groups”, “scenes”
I can run it through my offline test utility to see the failure.

On Aug 3, 2019, at 12:19 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have
more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg <
<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA

.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMGO3ZL5RJC3D4HFCZTQCXLGTA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUI2A#issuecomment-517948520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMDK2SV62BQEGCJ2MIDQCXLGTANCNFSM4IJDSDPA
.

I might have found a possible issue - "masterbedroom" is coming up as room
5, but in the groups json it is listed as 6
On Sat, Aug 3, 2019 at 4:02 PM Andrew Mossberg<EMAIL_ADDRESS>wrote:

Ok will check now. I had just downloaded the hue app since I thought
they'd have a diag page.
Got them - attached.
On Sat, Aug 3, 2019 at 15:22 Monte Thyden<EMAIL_ADDRESS>wrote:

I believe I have instructions on my GitHub, otherwise go to the philips
hue developer portal and there are instructions on how to use the
debug/clip through a browser or postman to pull the payloads for “lights”,
“groups”, “scenes”
I can run it through my offline test utility to see the failure.

On Aug 3, 2019, at 12:19 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have
more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg <
<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA

.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMGO3ZL5RJC3D4HFCZTQCXLGTA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUI2A#issuecomment-517948520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMDK2SV62BQEGCJ2MIDQCXLGTANCNFSM4IJDSDPA
.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>

Yeah that may be the issue, I’ve seen some issues with the bridge data in the past we’re rooms and bulbs have been mis-ordered and such, I work around some of these discrepancies in the module but from time to time I have come across new ones.
I’ll take a look tomorrow when I have some time to review and test your bridge data.
Once I had to restore a bridge at a site I deployed this at as the bridge data was corrupted.

On Aug 3, 2019, at 2:29 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
I might have found a possible issue - "masterbedroom" is coming up as room
5, but in the groups json it is listed as 6
On Sat, Aug 3, 2019 at 4:02 PM Andrew Mossberg<EMAIL_ADDRESS>wrote:

Ok will check now. I had just downloaded the hue app since I thought
they'd have a diag page.
Got them - attached.
On Sat, Aug 3, 2019 at 15:22 Monte Thyden<EMAIL_ADDRESS>wrote:

I believe I have instructions on my GitHub, otherwise go to the philips
hue developer portal and there are instructions on how to use the
debug/clip through a browser or postman to pull the payloads for “lights”,
“groups”, “scenes”
I can run it through my offline test utility to see the failure.

On Aug 3, 2019, at 12:19 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have
more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg <
<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA

.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMGO3ZL5RJC3D4HFCZTQCXLGTA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUI2A#issuecomment-517948520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMDK2SV62BQEGCJ2MIDQCXLGTANCNFSM4IJDSDPA
.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey Andrew, I don’t see the attachments if you sent them, can you email them to<EMAIL_ADDRESS><EMAIL_ADDRESS>if you have the bridge data.

On Aug 3, 2019, at 2:29 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
I might have found a possible issue - "masterbedroom" is coming up as room
5, but in the groups json it is listed as 6
On Sat, Aug 3, 2019 at 4:02 PM Andrew Mossberg<EMAIL_ADDRESS>wrote:

Ok will check now. I had just downloaded the hue app since I thought
they'd have a diag page.
Got them - attached.
On Sat, Aug 3, 2019 at 15:22 Monte Thyden<EMAIL_ADDRESS>wrote:

I believe I have instructions on my GitHub, otherwise go to the philips
hue developer portal and there are instructions on how to use the
debug/clip through a browser or postman to pull the payloads for “lights”,
“groups”, “scenes”
I can run it through my offline test utility to see the failure.

On Aug 3, 2019, at 12:19 PM, Andrew Mossberg<EMAIL_ADDRESS>wrote:
How do I retrieve that? I’m still at customer site where i was trying it
out
On Sat, Aug 3, 2019 at 15:15 Monte Thyden<EMAIL_ADDRESS>wrote:

Send me your lights, groups, scenes JSON data from the bridge, I have
more
then 5 rooms without that issue

On Aug 3, 2019, at 11:04 AM, Andrew Mossberg <
<EMAIL_ADDRESS>wrote:
v2.2 Works for rooms 1-4 perfectly, but room 5 throws out of range
exception in UserModuleClass_HUELIGHTSROOM_R1_5.GETINFO_OnPush_0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMA62AGGKPQBBIBU4XDQCXKOPA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUFXQ#issuecomment-517948126
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABD4YMHGCZVPJMW4734NYILQCXKOPANCNFSM4IJDSDPA

.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABD4YMGO3ZL5RJC3D4HFCZTQCXLGTA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUI2A#issuecomment-517948520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD4YMDK2SV62BQEGCJ2MIDQCXLGTANCNFSM4IJDSDPA
.

--
A.E. Mossberg
Miami Office -<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/16?email_source=notifications&email_token=ABEW4UXD7EBYL5EZX4G6MP3QCX2CHA5CNFSM4IJDSDPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PWC3I#issuecomment-517955949, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEW4UQTVFR35HIWKEPCOU3QCX2CHANCNFSM4IJDSDPA.

The issue is the result of the groups bridge data not presented in numerical order. This has been resolved in a beta demo program that has been distributed in a separate email. the fix will be refactored further with a larger restructuring of some of the underlying collections to prevent additional bridge discrepancies from causing future failures.


72 export metadata

Extended meta.py with function that exports some system metadata and user metadata as python dictionary
Added a function that iterates over a whole collection and exports all metadata of the collection, its subcollections and all data objects as python dictionary.

Dictionary structure:
{
'name': name,
'irods_id': id,
'metadata': [(avu1), (avu2), ...],
'subcollections':[
    {'name': name,
     'irods_id': id,
      'rel_path': relative path to the parent collection #recursive export,
      'metadata': [(avu1), (avu2), ...]
    },
    ...
]
'dataobjects':[{
    'name': name,
    'irods_id': id,
    'rel_path': relative path to the parent collection #recursive export,
    'checksum': object checksum
    'metadata': [(avu1), (avu2), ...]
   },
  ...
  ]
}

the to_json function in metadata are added to the intgeration tests, the format of the json seems to be ok for now
the export function is still a prototype and we will have to figure out how it should work during the coming projects. The use case is not entirley clear yet.

@maartenschermer and @qubixes do you agree?
If yes, please approve this PR.

Approved!


Federation.DiscoveryUrl cannot have a subdirectory

time="2024-03-08T16:40:59Z" level=debug msg="Performing federation service discovery against endpoint osg-htc.org/test/time"
Error: Failure when configuring the server: unable to parse federation discovery URL: parse "https://osg-htc.org%2Ftest%2Ftime": invalid URL escape "%2F"
time="2024-03-08T16:40:59Z" level=error msg="Fatal error occurred at the start of the program: Failure when configuring the server: unable to parse federation discovery URL: parse \"https://osg-htc.org%2Ftest%2Ftime\": invalid URL escape \"%2F\""

How did you produce the error? In general we expect that the discovery URL doesn't have a path and that providing one causes an error. This isn't the error we should be throwing, however.
@joereuss12 Since you just worked on this, can you investigate?

That is very weird, not sure why that error is being produced. @CannonLock how did you produce this error so I can investigate?

https://osg-htc.org/test/time

This must have not had my changes to catch this error in #801. This is my output when I set https://osg-htc.org/test/time as my Federation.DiscoveryUrl:
DEBUG[2024-03-15T16:10:27Z] Federation URL: https://osg-htc.org/test/time
ERROR[2024-03-15T16:10:27Z] Invalid federation discovery url is set. No path allowed for federation discovery url. Provided url: https://osg-htc.org/test/time

Going to close this issue since it seems like it is resolved to me


fix: bug where policy default values are not passed into alzlib struct

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 45.84%. Comparing base (b4db945) to head (9fe04ff).
Report is 19 commits behind head on main.

Files
Patch %
Lines

alzlib.go
0.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
+ Coverage   43.20%   45.84%   +2.63%
==========================================
  Files          16       29      +13
  Lines        1178     1481     +303
==========================================
+ Hits          509      679     +170
- Misses        570      669      +99
- Partials       99      133      +34

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


unix: add uv_get_constrained_memory() cygwin stub

I don't really have any way to test this.
Refs: https://github.com/libuv/libuv/issues/1906#issuecomment-507280243

Overly cautious CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1449/
On a positive note, that's one of the best CI runs we've had lately, with the only failures being https://github.com/libuv/libuv/issues/2303.

@bnoordhuis do you think it's worth putting out a patch release since both Cygwin and Android can't compile with the latest version?

Sure, seems like a good idea.


issue where imageSelector and containerName can't be used together

What happened?
On new version 6.25 the issue which was resolved on release v5.18.4 is now present again.
From the release 5.18.4: Fixed an issue where imageSelector and containerName couldn't be used together
What did you expect to happen instead?
When running devspace dev or devspace dev --namespace= I would expect a successful build
How can we reproduce the bug? (as minimally and precisely as possible)
run: devspace dev with devspace.yaml file containing both image and label selector
My devspace.yaml:
sync:
  - imageName: app
    containerName: appName
    labelSelector:
      app.kubernetes.io/instance: instance
      app.kubernetes.io/name: name
version: v1beta9
...

Local Environment:

DevSpace Version: 6.25
Operating System: mac
ARCH of the OS: ARM64 (M1 apple silicon)
Kubernetes Cluster:
Cloud Provider: google
Kubernetes Version: [use kubectl version]

Anything else we need to know?
Using version 5.18.4 now and the build has worked as expected

Hi @georgemilojevic can you provide a more complete example of the devspace.yaml you're using?
Thanks a lot

I'm closing this for now, as I didn't receive any feedback
Feel free to reopen if it is needed :+1:


Escape usernames while launching servers in auth mode

This will let authenticated binderhubs deal with
usernames which aren't escaped.
Example: 'User 1'<EMAIL_ADDRESS>Fixes https://github.com/jupyterhub/binderhub/issues/1223 and fixes https://github.com/jupyterhub/binderhub/issues/1134

Just wanted to bump this up :)

Thanks, @MridulS! \o/


Core

This addeds viewing stake
c stakers netuid=0
c stakers netuid=all
c stats is much faster
c stats netuid=0
c stats netuid=all for all of the stats
using keys to replace the module key
c serve vali key=vali::fam
validator

improved threading
more reliable voting
watch dogs

@salvivona your latest push broke at least one test:  https://github.com/commune-ai/commune/actions/runs/8513485856


Resolves #64 Feature suggestion: Connecting instruments

New feature: Connecting instruments.
By adding connections in the yaml-file an instrument can have connections to others (or itself) and apply a function when the query is called.
An example can be found in device 5 in default.yaml.
connections:       power:         q: "READ1"         source_list: [           {source_name: "GPIB0::2::65535::INSTR", source_parameter: amplitude},           {source_name: "self", source_parameter: frequency}         ]         function: "0.23 * (%amplitude% ** 2) - %frequency%"
When using query "READ1" the device will fetch amplitude from another source and frequency from itself then return power, applying the function.
I have also added a new test in test_all.py for connections.
This is the way my team have requested connection functionality. Please give any feedback as we would like this to be as valuable for the community as possible!

I merged my clean up PR so you will need to update your changes. Since this is my fault for not updating ths project for so long let me know if you do not have the bandwidth to do the changes and I can do them.

It is not often I get somebody interested to put work in so I try to keep the momentum

Do you have internet access ? pip errors if it cannot look up build dependencies (even if it has local caches, which is extremely annoying but it did not yet dive to figure out the option to avoid that issue).

Could it be that I'm using Python 3.6? The newest version of Setuptools I get is 59.6.0. This is the version we use in our project so I'd rather not update to 3.8.

I am sorry but I do not have the bandwidth to keep supporting 3.6 which is EOL.

There are still conflict and the history is change set is weird. It may be worth simply cherry-picking your changes on top of main (modulo the required changes).

As mentioned before, this is my first time working open source like this. What does module mean in this context? Is there anything more I can do to get this approved? If you prefer, you're welcome to do the required fixes.

In order for this to get merged, you need to first address the conflicts. However I am a bit concerned by the fact that your PR looks like it contains many more changes than I would expect. It may be easier to redo your changes on top of main. Feel free to force push to this branch if necessary.
And by modulo (not module), I simply implied that because of the many changes I made you are unlikely to be able to only cherry-pick your changes on top of main because there will be conflicts that will need to be handled.

I'm having trouble with the MyPy errors. Do you have any suggestions for fixing them?

One legitimate compain from mypy is that Channel.add_dialogue signature does not match the signature in the base class. You can probably through some minor refactoring re-use the Component implementation in the Channel one (since the only difference is storing the result under __default__, rather than at the root of the dictionary)

One legitimate complaint from mypy is that Channel.add_dialogue signature does not match the signature in the base class.

This should be fixed now along with the formatting complaints.


Update faq.yml

Modified 1 faq and added 1 faq

Description

As already mentioned in #ISSUE_NUMBER, this PR tackles:

...
...
...

In particular, the ...
Checklist

[ ] I followed the indications in the CONTRIBUTING
[ ] The documentation related to the proposed change has been updated accordingly (also comments in code).
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Ready for review! :rocket:

Fixes

Fixes #

@bfabio @denismarini , please