Move copyfile function to client-go & remove all ocpath related code

Resolves #443
This PR will remove dependency of oc binary for copyfiles function which copies file to component while odo push

Works but if I am inside a directory not containing the war file, then push fails
[mdas@localhost odo]$ ./odo update wildly --binary "/home/mdas/Downloads/sample (1).war"
The component wildly was updated successfully
[mdas@localhost odo]$ ./odo push
Pushing changes to component: wildly
stat /home/mdas/go/src/github.com/redhat-developer/odo/~/Downloads/sample (1).war: no such file or directory```

@mik-dass , check once again, your path seems to be messed up
/home/mdas/go/src/github.com/redhat-developer/odo/~/Downloads/sample (1).war

@surajnarwade Yeah sorry my bad, the problem was the ~ is not working in the "", so I guess the user will have to write the full path in that case

When I run odo watch or odo push after I change something in the files, I'm seeing
E0608 18:53:10.537466   89235 v2.go:163] io: read/write on closed pipe

It looks like that when running odo watch it pushes content of the whole directory instead of just changed files.

When my repository contains bigger file (100M) it fails
▶ odo -v push
DEBU[0000] Trying to connect to server <IP_ADDRESS>:8443 - %!v(MISSING)
DEBU[0000] Server https://<IP_ADDRESS>:8443 is up
DEBU[0000] isLoggedIn err:  <nil>
 output: "developer"
DEBU[0000] No component name passed, assuming current component
Pushing changes to component: python
DEBU[0000] Getting BuildConfig: python
DEBU[0000] Source for component python is file:///Users/tomas/tmp/odo-examples/blog-django-py (local)
DEBU[0000] Waiting for deploymentconfig=python pod
DEBU[0000] Status of python-1-hv54p pod is Running
DEBU[0000] Pod python-1-hv54p is running.
DEBU[0000] Copying file /Users/tomas/tmp/odo-examples/blog-django-py/ to pod python-1-hv54p:/opt/app-root/src
E0608 19:19:36.436075   96528 v2.go:163] io: read/write on closed pipe
DEBU[0002] Error:
unable push files to pod: error while streaming command: command terminated with exit code 2
failed to push component: python

For more than 100M file, error is coming from fsnotify

error watching filesystem for changes: fsnotify queue overflow
Error while trying to watch /home/snarwade/odo-example/nodejs-ex

Reference:

https://github.com/fsnotify/fsnotify/issues/97

https://github.com/fsnotify/fsnotify/issues/148

ABOUT PUSHING the content of WHOLE DIRECTORY

oc rsync has 3 stratergies: rsync, rsync-daemon, or tar
according to documentation(https://docs.openshift.org/latest/dev_guide/copy_files_to_container.html),
The tar copy method does not provide the same functionality as rsync. For example, rsync creates the destination directory if it does not exist and will only send files that are different between the source and the destination.

To avoid rsync, I tried to use Tar here.
@kadel , can you please give me link of python example that you are trying ?

ABOUT PUSHING the content of WHOLE DIRECTORY
We can avoid that, just modify watch so  it doesn't push the whole directory, but just a single file that has changed, even better tar all the files that changed in the watch loop

For more than 100M file,
large files are working with old implementation

the error
unable push files to pod: error while streaming command: command terminated with exit code 2

is not from fsnotify library but it looks like it is from the tar command in pod

Hmm, it looks like the 100M  problem is away. I can't reproduce it anymore.

@cdrage  @kadel , review needed :)

@syamgk @cdrage @kadel , one more review

@cdrage , @syamgk , @mik-dass , can you please test this PR ?
Things to test:

odo create with binary and local both

odo push

odo watch

@surajnarwade I tried those commands and they are working for me

@surajnarwade I tried those commands and they are working for me

are you sure @mik-dass , can you please try it again for binary components?

@kadel , there was my stupid mistake, Now binary components also works :)

When doing push on the local component:
[0000] Source for component wildfly is file:///Users/tomas/tmp/odo-examples/backend (local)
DEBU[0000] Waiting for deploymentconfig=wildfly-app pod
DEBU[0000] Status of wildfly-app-1-2gnw7 pod is Running
DEBU[0000] Pod wildfly-app-1-2gnw7 is running.
DEBU[0000] Copying directory [] to pod wildfly-app-1-2gnw7:/opt/app-root/src

empty [] looks weird, something is wrong there

@kadel , I tried to refactor as per your suggestions. But that's not working since it will need path variable as well since we have to define filename in tar header.
SO I made couple changes in the code and it seems that everything working fine in all 4 scenarios:

--local while odo push

--binary while odo push

--local while odo watch

--binary while odo watch

Examples used:

For binary: https://github.com/wildfly/quickstart/tree/master/helloworld-html5

for local: https://github.com/kadel/nodejs-ex

@kadel @cdrage modified as per changes, code and logic is pretty straight forward (thanks to @kadel ) now.
Please review :)

@kadel @cdrage Update with comments

@kadel @cdrage Update with comments


Channel change is broken.

I tried switching to the zIntegration channel to test some local script stuff and bloxstrap did not re install roblox at launch to switch the channel. Also after joining a roblox game the channel was set back to LIVE

Also after joining a roblox game the channel was set back to LIVE

Did you see the option that's right below the channel change selector?


The project system 'DotNetProjectSystem' threw exception during initialization. The specified path, file name, or both are too long

When editing my project even the slightest space breaks the omnisharp service with the following errors. Seems like a windows max path issue to me but don't seem to make any sense. I tried to copy my project from the c:\Users\[username]\Repos\[solution]\[projectname]\ to a shallow location in c:\[projectname] and it worked did not work after all. The length of the path is about 60 characters long anyway (way shorter than 248).
Since I like my solutions organized I would like to know If this is considered a bug and will be fixed in future versions.
Cheers and keep up the good work.
The error

[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] MyCoreApp.WebApi/.NETCoreApp,Version=v1.0
[ERROR:OmniSharp.Startup] The project system 'DotNetProjectSystem' threw exception during initialization.
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.PathHelper.GetFullPathName()
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost)
at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
at Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoWrapper.d__3.MoveNext()
at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Match(DirectoryInfoBase directory, String parentRelativePath)
at Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext.Execute()
at Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions.GetResultsInFullPath(Matcher matcher, String directoryPath)
at Microsoft.DotNet.ProjectModel.Files.PatternGroup.SearchFiles(String rootPath)
at Microsoft.DotNet.ProjectModel.Files.ProjectFilesCollection.get_SourceFiles()
at OmniSharp.DotNet.Tools.ProjectContextLens.Resolve() in C:\projects\omnisharp-roslyn\src\OmniSharp.DotNet\Tools\ProjectContextLens.cs:line 41
at OmniSharp.DotNet.DotNetProjectSystem.Update(Boolean allowRestore) in C:\projects\omnisharp-roslyn\src\OmniSharp.DotNet\DotNetProjectSystem.cs:line 134
at OmniSharp.DotNet.DotNetProjectSystem.Initalize(IConfiguration configuration) in C:\projects\omnisharp-roslyn\src\OmniSharp.DotNet\DotNetProjectSystem.cs:line 108
at OmniSharp.Startup.Configure(IApplicationBuilder app, IServiceProvider serviceProvider, IOmnisharpEnvironment env, ILoggerFactory loggerFactory, ISharedTextWriter writer, IOmnisharpAssemblyLoader loader, IOptions`1 optionsAccessor) in C:\projects\omnisharp-roslyn\src\OmniSharp.Host\Startup.cs:line 182
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] No solution files found in 'c:\Users\cleft\Source\Repos\helintec\helintec.Forms.Web'
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Detecting CSX files in 'c:\Users\cleft\Source\Repos\helintec\helintec.Forms.Web'.
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Could not find any CSX files
[INFORMATION:OmniSharp.Startup] Configuration finished.
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 500 351ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 500 283ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
 Any ideas?

@cleftheris can you share your project.json with us? In addition do you have a deep folder structure like node_modules in your project? You can configure the project.json to ignore the folder to avoid globbing the folder (https://github.com/aspnet/Home/wiki/Project.json-file)
In addition, can you try dotnet build this project from command line. This can help me to locate if the problem is with O# or CLI.
Nevertheless, please share the project.json, I'll take a look.

@DustinCampbell can you assign this to me? Once I accomplish the investigation, I will create an issue in either CLI or OmniSharp-Roslyn.

@troydai Yes I have node_modules for my gulp tasks but haven't tried to ignore that in project.json. I will have to come back to you.
Here is my project.json
{
  "description": "My App",
  "authors": [ "cleftheris" ],
  "packOptions": {
    "tags": [ "" ],
    "projectUrl": "",
    "licenseUrl": ""
  },
  "buildOptions": {
    "preserveCompilationContext": true,
    "emitEntryPoint": true,
    "debugType": "portable"
  },
  "publishOptions": {
    "include": [
      "wwwroot",
      "Views"
    ]
  },
  "dependencies": {
    "Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
    "Microsoft.AspNetCore.Mvc": "1.0.0-*",
    "Microsoft.AspNetCore.Mvc.Formatters.Json": "1.0.0-*",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
    "Microsoft.Extensions.Logging.Console": "1.0.0-*",
    "Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-*",
    "Microsoft.Extensions.Configuration.Json": "1.0.0-*",
    "Microsoft.EntityFrameworkCore": "1.0.0-*",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-*",
    "Microsoft.EntityFrameworkCore.Commands": "1.0.0-*",
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.0.0-*"
    },
    "Newtonsoft.Json": "8.0.3"
  },
  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "portable-net451+win8",
        "dnxcore50"
      ]
    }
  },
  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
      "version": "1.0.0-*",
      "imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
    }
  },
  "scripts": {
    "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
  }
}

@troydai Wow I added the exclude property like so "exclude": "node_modules" and now it works. But why?? Is it scanning for c# everywhere under the root directory... probably.
Why is this still an issue even for dotnet core.? beats me ... :-)
Thanks for the help.

@cleftheris thanks for reporting back. I'm glad that the exclude property helps.
The CLR project model does search all folders. It is because we don't list files in project.json. So globbing files is the mechanism.
It is not a problem for .NET Core. The long path issue is fixed there. However VS Code C# Extension uses the .NET Framework 4.5.1 version of OmniSharp, which relies on full CLR.

@troydai thanks for the explanation & keep up the good work!

@cleftheris thanks for using VS Code C# Extension, too!

@troydai One more thing I noticed.
I am currently running on the latest dotnet core where the project.json schema has changed (announcement). The omnisharp plugin currently supports ignoring folders the old way.
This means that the RC2 Release Candidate for 4/29 needs exclude member to be outside of buildOptions.
{
  "description": "Helintec Forms",
  "authors": [ "indice" ],
  "packOptions": {
    "tags": [ "" ],
    "projectUrl": "",
    "licenseUrl": ""
  },
  "exclude": "node_modules",  <-- this works
  "buildOptions": {
    "preserveCompilationContext": true,
    "emitEntryPoint": true,
    "debugType": "portable",
    "compile": {
      "exclude": "node_modules" <-- this does not work!

    }
  },
 ...
}

@cleftheris OmniSharp you're using probably hasn't picked up the latest dotnet project model yet.


How to build pg requests using json_object_agg function?

How can I do it without going to raw sql?

Based on the information you provided, I have absolutely no idea.


Selecting last category in a class, does not limit methods to ones in that category

For the last category in the category list, the selection of the category does not filter the methods displayed.
Particularly annoying when the last category is Tests...

Believe this was fixed in a commit earlier than https://github.com/GemTalk/JadeiteForPharo/commit/b23918a9651a4274695d31e096f9cef1a0bf2ef0
@LisaAlmarode should confirm.

looks okay


Add button to select all dataset in project

Hi Brain-Life Team,
In my project, after filtering the dataset, I would like to select/unselect them all with one button instead of select 100 checkboxes.
Is it possible to add this button?
Thanks!

skoudoro, you can hold shift while clicking a second checkbox to select/unselect all of the checkboxes in between

oh, nice, good to know!
Thanks @stevengeeky!
closing


GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."

Description
We have been successfully executing this PS as part of our scaleset deployment for about 2 years. We are passing in all the required parameters. On execution, the PS script is failing on prompting. We pass in the variables as defined below.
GenerateResourcesAndImage -SubscriptionId $subscriptionId -ResourceGroupName $rgname -ImageGenerationRepositoryRoot "$pwd" -ImageType Windows2022 -AzureLocation "centralus" -AzureTenantId $(AzureTenantID) -AzureClientId $(AzureClientID) -AzureClientSecret $(AzureClientSecret)
We have not made any PS related changes on the deployment server.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
We are pulling git repo from main branch of runner-images.
Is it regression?
This was working as of a few weeks ago
Expected behavior
PS executes without the error.
Actual behavior
2023-09-14T21:20:43.2815212Z D:\VMImage\virtenvwin22onpremdr\images\win\windows2022-temp.json'
2023-09-14T21:20:43.2815494Z
2023-09-14T21:20:43.2815604Z
2023-09-14T21:20:44.5469274Z The configuration is valid.
2023-09-14T21:20:44.9057815Z VERBOSE: AzureClientId was provided, will use service principal login.
2023-09-14T21:20:47.1531216Z VERBOSE: Resource group 'relwin22opdr09142023' already exists.
2023-09-14T21:20:47.1684194Z VERBOSE:
2023-09-14T21:20:47.1685154Z Cleaning up...
2023-09-14T21:20:47.1690605Z VERBOSE: Cleanup completed.
2023-09-14T21:20:47.1747171Z ##[debug]Error record:
2023-09-14T21:20:47.2734479Z ##[debug]GenerateResourcesAndImage : Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
2023-09-14T21:20:47.2745560Z ##[debug]At D:\SharedRel1\r80\a\VMScaleSet Windows22OnPremDR\VMSSWINDOWS22ONPREMDR\windows22onpremdr.ps1:26 char:1
2023-09-14T21:20:47.2757682Z ##[debug]+ GenerateResourcesAndImage -SubscriptionId b1badc3f-736f-4618-976d-024 ...
2023-09-14T21:20:47.2768936Z ##[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-09-14T21:20:47.2780747Z ##[debug]    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2023-09-14T21:20:47.2792444Z ##[debug]    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GenerateResourcesAndImage
2023-09-14T21:20:47.2803090Z ##[debug]
2023-09-14T21:20:47.2820897Z ##[debug]Script stack trace:
2023-09-14T21:20:47.2849244Z ##[debug]at GenerateResourcesAndImage, D:\VMImage\virtenvwin22onpremdr\helpers\GenerateResourcesAndImage.ps1: line 361
2023-09-14T21:20:47.2865956Z ##[debug]at , D:\SharedRel1\r80\a\VMScaleSet Windows22OnPremDR\VMSSWINDOWS22ONPREMDR\windows22onpremdr.ps1: line 26
2023-09-14T21:20:47.2876828Z ##[debug]at , D:\SharedRel1_temp\618a773b-4746-46e0-9573-d76c790b20e3.ps1: line 38
2023-09-14T21:20:47.2888042Z ##[debug]at , : line 1
2023-09-14T21:20:47.2905439Z ##[debug]Exception:
2023-09-14T21:20:47.2938350Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
2023-09-14T21:20:47.3094542Z ##[error]Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
2023-09-14T21:20:47.3102178Z ##[debug]Processed: ##vso[task.logissue type=error]Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
2023-09-14T21:20:47.3488852Z ##[debug]Exit code: 1
2023-09-14T21:20:47.3524600Z ##[debug]Leaving Invoke-VstsTool.
2023-09-14T21:20:47.3719528Z ##[error]PowerShell exited with code '1'.
Repro steps
See above.

Hello @greadtm,
We have recently rewrote the script, changing its output from VHD to managed disk. Issue seems to be somewhere in this code.
Could you provide powershell version being used?
We will check and get back in the meanwhile.

@greadtm , while we are looking, just a quick question - are you using current "main" branch ?
in your error message it complains on "line 361", is it the same as https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L361 ?

We are pulling from the main branch.
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 7:29 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
@greadtmhttps://urldefense.com/v3/__https:/github.com/greadtm__;!!O9lbJA!v-nJ5JxewcWha5mXFEAsn2rqESBdT4h7HwAXkv19Q8YnlxlVqCFanVFNFR113V2Xk2cHzsBtve5B-XTR3XTbSQ$ , while we are looking, just a quick question - are you using current "main" branch ?
in your error message it complains on "line 361", is it the same as https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L361https://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1*L361__;Iw!!O9lbJA!v-nJ5JxewcWha5mXFEAsn2rqESBdT4h7HwAXkv19Q8YnlxlVqCFanVFNFR113V2Xk2cHzsBtve5B-XQai7A5mw$ ?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721120021__;Iw!!O9lbJA!v-nJ5JxewcWha5mXFEAsn2rqESBdT4h7HwAXkv19Q8YnlxlVqCFanVFNFR113V2Xk2cHzsBtve5B-XTrUXn8kw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB56IZFDNN7S45TGGGRDX2Q3YPANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!v-nJ5JxewcWha5mXFEAsn2rqESBdT4h7HwAXkv19Q8YnlxlVqCFanVFNFR113V2Xk2cHzsBtve5B-XTTtVkdDg$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

We pulled from main as of yesterday.
From: Shamil Mubarakshin @.>
Sent: Friday, September 15, 2023 4:55 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
Hello @greadtmhttps://urldefense.com/v3/__https:/github.com/greadtm__;!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c9OKgOYQg$,
We have recently rewrote the script, changing its output from VHD to managed disk. Issue seems to be somewhere in thishttps://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/79ed5c1ac1f7d459fdc218ffdb497b664a0a21ae/helpers/GenerateResourcesAndImage.ps1*L278__;Iw!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c9T0kELVQ$ code.
Could you provide powershell version being used?
We will check and get back in the meanwhile.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1720918798__;Iw!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c8MbESf0w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB55LKBHTJRFPMFQFJTTX2QJU3ANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c_iAt5xyQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

We delete the source from our end and re-clone from main with each deploy.
From: Shamil Mubarakshin @.>
Sent: Friday, September 15, 2023 4:55 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
Hello @greadtmhttps://urldefense.com/v3/__https:/github.com/greadtm__;!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c9OKgOYQg$,
We have recently rewrote the script, changing its output from VHD to managed disk. Issue seems to be somewhere in thishttps://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/79ed5c1ac1f7d459fdc218ffdb497b664a0a21ae/helpers/GenerateResourcesAndImage.ps1*L278__;Iw!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c9T0kELVQ$ code.
Could you provide powershell version being used?
We will check and get back in the meanwhile.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1720918798__;Iw!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c8MbESf0w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB55LKBHTJRFPMFQFJTTX2QJU3ANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!sSXHuAnqf-cdQjee7Q4nEiqxfq1IMBy9XfL07h-L_ZAzLjYhOAYR3pzSpffWVKz5o2dCZ4oLBFmE1c_iAt5xyQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

ok, let's continue.
I suggest to create a fork to play with.
can you add something like "az account list" after https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L243 ?
so can make sure that "az login" (with provided credential) succeeds.
also, if you have those secrets locally, does it work if you invoke the above "az login" locally ?

it seems to be the issue

We actually have a deploy task that executes az login prior to GenerateResouresAndImage PS step running. So the PS also attempts to run az login?
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 8:59 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
ok, let's continue.
I suggest to create a fork to play with.
can you add something like "az account list" after https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L243https://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1*L243__;Iw!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxWRjUGYCQ$ ?
so can make sure that "az login" (with provided credential) succeeds.
also, if you have those secrets locally, does it work if you invoke the above "az login" locally ?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721242811__;Iw!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxVGdIImEQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB5YTDUEVYR2OBQDHOBTX2RGKLANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxVvm7sEcQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

ok, it's not an issue, it's a feature
https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L270-L278
can you try "Force" (if you are fine with recreating RG) ?

2023-09-14T21:27:45.5921762Z ##[command]Clear-AzContext -Scope Process
2023-09-14T21:27:45.7226815Z ##[command]Connect-AzAccount System.Collections.Hashtable
2023-09-14T21:27:46.6392338Z
2023-09-14T21:27:46.7050687Z VERBOSE: Command [Connect-AzAccount] succeeded.
2023-09-14T21:27:46.7085281Z ##[command]Set-AzContext System.Collections.Hashtable
2023-09-14T21:27:47.2205986Z Account                              SubscriptionName TenantId                             Environment
2023-09-14T21:27:47.2208662Z -------                              ---------------- --------                             -----------
2023-09-14T21:27:47.2212016Z *** gmo-azure-devops *** AzureCloud
2023-09-14T21:27:47.2215814Z
2023-09-14T21:27:47.2216312Z Name               : gmo-azure-devops (b1badc3f-736f-4618-976d-0245a52fa25c) - *** -
2023-09-14T21:27:47.2216778Z                      ***
2023-09-14T21:27:47.2217115Z Account            : ***
2023-09-14T21:27:47.2217489Z Environment        : AzureCloud
2023-09-14T21:27:47.2217757Z Subscription       : b1badc3f-736f-4618-976d-0245a52fa25c
2023-09-14T21:27:47.2218222Z Tenant             : ***
2023-09-14T21:27:47.2218493Z TokenCache         :
2023-09-14T21:27:47.2218746Z VersionProfile     :
2023-09-14T21:27:47.2219659Z ExtendedProperties : {}
2023-09-14T21:27:47.2219780Z
2023-09-14T21:27:47.4393530Z VERBOSE: Command [Set-AzContext] succeeded.
2023-09-14T21:27:47.4403929Z VERBOSE: Leaving Initialize-AzModule.
2023-09-14T21:27:48.3377554Z [
2023-09-14T21:27:48.3377902Z   {
2023-09-14T21:27:48.3378097Z     "cloudName": "AzureCloud",
2023-09-14T21:27:48.3378837Z     "homeTenantId": "",
2023-09-14T21:27:48.3379108Z     "id": "b1badc3f-736f-4618-976d-0245a52fa25c",
2023-09-14T21:27:48.3379358Z     "isDefault": true,
2023-09-14T21:27:48.3379567Z     "managedByTenants": [],
2023-09-14T21:27:48.3379790Z     "name": "gmo-azure-devops",
2023-09-14T21:27:48.3380010Z     "state": "Enabled",
2023-09-14T21:27:48.3380369Z     "tenantId": "",
2023-09-14T21:27:48.3380567Z     "user": {
2023-09-14T21:27:48.3380905Z       "name": "***",
2023-09-14T21:27:48.3381113Z       "type": "servicePrincipal"
2023-09-14T21:27:48.3381308Z     }
2023-09-14T21:27:48.3381465Z   }
2023-09-14T21:27:48.3381814Z ]
2023-09-14T21:27:48.3785297Z
2023-09-14T21:27:48.3785660Z
2023-09-14T21:27:48.4227578Z ##[debug]Exit code: 0
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 8:59 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
ok, let's continue.
I suggest to create a fork to play with.
can you add something like "az account list" after https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L243https://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1*L243__;Iw!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxWRjUGYCQ$ ?
so can make sure that "az login" (with provided credential) succeeds.
also, if you have those secrets locally, does it work if you invoke the above "az login" locally ?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721242811__;Iw!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxVGdIImEQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB5YTDUEVYR2OBQDHOBTX2RGKLANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!pLnEvg8G8X7GNZ2uSTzbqsiM0UqVr7pRIP-0uy9EVjI4asTP1_mw_0Gv0yQEeR_RvqL85zxDorxPTxVvm7sEcQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Here is our az login command that succeeds:
az login --service-principal -u $(AzureClientID) -p $(AzureClientSecret) --tenant $(AzureTenantID)
We can try force param.
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 9:05 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
ok, it's not an issue, it's a feature
https://github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1#L270-L278https://urldefense.com/v3/__https:/github.com/actions/runner-images/blob/main/helpers/GenerateResourcesAndImage.ps1*L270-L278__;Iw!!O9lbJA!pdNaCOYTAgCSOD2iZyzHda2bTX0dze7s-ZT8w4e8-Vigo69KLafKiNjT58gANiYgn4d3l8Qs2U6lQ9MF-QZi3Q$
can you try "Force" (if you are fine with recreating RG) ?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721250458__;Iw!!O9lbJA!pdNaCOYTAgCSOD2iZyzHda2bTX0dze7s-ZT8w4e8-Vigo69KLafKiNjT58gANiYgn4d3l8Qs2U6lQ9ORHgVyEw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB56BETD2XBRK56OI3BDX2RG6VANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!pdNaCOYTAgCSOD2iZyzHda2bTX0dze7s-ZT8w4e8-Vigo69KLafKiNjT58gANiYgn4d3l8Qs2U6lQ9P5mFKidQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

"Force" will drop RG. if that's ok, please try

The -Force option allowed the script to run and we are not getting the prompting error. Can the PS be addressed/fixed so we do not need to delete the resource group as part of this step?
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 9:10 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
"Force" will drop RG. if that's ok, please try
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721257599__;Iw!!O9lbJA!vSORDzmPjDLo6oweTaDTD5JFneyI6KIJHV5Q__awsUWhJVl51zPT2Ei0BG-WvlIExmnqGAv_dIx8BeYkyBsLMw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB573ALVUL2BGSWI6OGTX2RHRTANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!vSORDzmPjDLo6oweTaDTD5JFneyI6KIJHV5Q__awsUWhJVl51zPT2Ei0BG-WvlIExmnqGAv_dIx8Bea9hVRiPw$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

well, script addresses that already.
if there's a RG, you are prompted do you want to delete it (that part fails actually). if you pass "Force", the group is deleted automatically.
we can address it better indeed if we'll throw an exception if interactive prompt is not avaiable.

We tend to perform manual cleanup on RG after the fact. I would rather not be forced to delete the RG for the script to exexute.
From: ilia-shipitsin @.>
Sent: Friday, September 15, 2023 10:05 AM
To: actions/runner-images @.>
Cc: Greg Read @.>; Mention @.>
Subject: Re: [actions/runner-images] GenerateResourcesandImage PS failing on Microsoft.PowerShell.Commands.WriteErrorException: Exception calling "PromptForChoice" with "4" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionalit...
well, script addresses that already.
if there's a RG, you are prompted do you want to delete it (that part fails actually). if you pass "Force", the group is deleted automatically.
we can address it better indeed if we'll throw an exception if interactive prompt is not avaiable.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/actions/runner-images/issues/8298*issuecomment-1721338546__;Iw!!O9lbJA!rSyL36UBV00YpFjSKlvWSj4ef2Sm-YPgxVo6kE3X-LWVN0IZeCMth20hZnJZeWqhBC2rzR4wMmF7SKmrZaX8SQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEZOB57MTVO2AKIJGK43YSDX2RN7PANCNFSM6AAAAAA4Y4Y4LY__;!!O9lbJA!rSyL36UBV00YpFjSKlvWSj4ef2Sm-YPgxVo6kE3X-LWVN0IZeCMth20hZnJZeWqhBC2rzR4wMmF7SKko3vV0yg$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

we'll discuss.

Should be fixed, please update your main branch and try again, feel free to reach us again in case of questions!


Changed forcefields to be class based

We aspire to deal with all pull requests in a timely manner. Please be patient.
Ideally pull requests will respect the underlying intrastructure of pylj and agree with PEP8, etc. However, please do not let this put novice programmers off contributing.

Instead of having update_energy and update_force, I would have energy() and force() as methods that return the energy or the force.
Additionally, there is no docstring for the __init__, have a look at how to include these.


Chore/#18 add project file structure and utilities

I recommend opening and testing the app locally as it's big refactor. Feel free to add propositions to the repo as it's still fresh 😄 I have left a big chunk of map as it is, because we can't use react-leaflet yet, as we are limited to one React root, and as for now filters and map are in two separate places in HTML document and filters form is treated as the root, and a map is handled outside of React. After we discuss if and how we will handle it we will make separate task for it.
Closes #18

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

35 of 35 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
35

Relevant Lines:
35

💛  - Coveralls

Parsing error: No Babel config file detected for /Applications/Programy/Goodmap-Kacper/goodmap-frontend/src/components/MarkerPopup/MarkerPopup.test.jsx. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
Im not sure I'm only one who got this issue, but maybe I miss sth. General solution is working, but I receive this eslint issue in every file.


Fixed issue with forwarding recycler view adapter calls when there is no header set.

I'm still having the same problem. still not fixed

Still now working. This time, The app is now crashing because the ViewHolder resolution is conflicting.


xorm is generating enormous amount of SQL queries

I'm using xorm extensively in a project of mine and I'm modelling the relationships/associations in a composed object instead of referencing the Id's as an integer such as (I've excluded few properties there on purpose):
type Platform struct {
	Id          int64  `xorm:"id"`
	Name        string `xorm:"name"`
	Description string `xorm:"description"`
}
type Device struct {
	Id                int64        `xorm:"id"`
	Uuid              string       `xorm:"uuid"`
	Hostname          string       `xorm:"hostname"`
	CreatedAt         time.Time    `xorm:"created_at"`
	Platform          Platform     `xorm:"platform_id"`
}

First I want to ask if you think it's a bad idea to do this, should have take out the Platform and use PlatformId as int64 and just load the relationships myself? What I like about doing it this way is having it be able to load it for me and then caching it within the session. When I'm querying it using the xorm session I'd prefer it not to be loaded by default but have a method to load it for me, and an option to eagerly load the Platform. It seems to be eagerly loading it and seems to do it twice. I'm doing:
has, err := session.Where("uuid = ?", authInfo.Uuid).Get(&device)

And the SQL generated is as follows:
[xorm] 2014/06/11 15:19:59.321855 [info] [sql] SELECT "id", "uuid", "description", "hostname", "auth_pass", "created_at", "last_activity_at", "platform_id", "agent_architecture_id", "organization_id" FROM "devices" WHERE uuid = $1 LIMIT 1 [args] [5ee29b7f-61a5-47c2-78ff-65f6336e477c]

[xorm] 2014/06/11 15:19:59.322952 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-10 17:38:38 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc2101059a0}

[xorm] 2014/06/11 15:19:59.322968 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 last_activity_at 2014-06-10 17:38:38 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc210105a00}

[xorm] 2014/06/11 15:19:59.322992 [info] [sql] SELECT "id", "name", "description" FROM "platforms" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.326805 [info] [sql] SELECT "id", "name", "description" FROM "platforms" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.327232 [info] [sql] SELECT "id", "name", "description" FROM "architectures" WHERE "id" = $1 LIMIT 1 [args] [2]

[xorm] 2014/06/11 15:19:59.327772 [info] [sql] SELECT "id", "name", "description" FROM "architectures" WHERE "id" = $1 LIMIT 1 [args] [2]

[xorm] 2014/06/11 15:19:59.328345 [info] [sql] SELECT "id", "name", "created_at", "description", "secret", "created_by_id" FROM "organizations" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.328892 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-10 15:35:05 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc2100ed4e0}

[xorm] 2014/06/11 15:19:59.328935 [info] [sql] SELECT "id", "created_at", "username", "email", "fullname", "password", "api_key", "active", "activation_code", "activation_code_expiry", "forgotpass_code", "forgotpass_code_expiry" FROM "users" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.332707 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-09 22:20:58 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc21000aee0}

[xorm] 2014/06/11 15:19:59.332780 [info] [sql] SELECT "id", "created_at", "username", "email", "fullname", "password", "api_key", "active", "activation_code", "activation_code_expiry", "forgotpass_code", "forgotpass_code_expiry" FROM "users" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.333172 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-09 22:20:58 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc2100b7d60}

[xorm] 2014/06/11 15:19:59.333398 [info] [sql] SELECT "id", "name", "created_at", "description", "secret", "created_by_id" FROM "organizations" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.333729 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-10 15:35:05 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc21010cb80}

[xorm] 2014/06/11 15:19:59.333767 [info] [sql] SELECT "id", "created_at", "username", "email", "fullname", "password", "api_key", "active", "activation_code", "activation_code_expiry", "forgotpass_code", "forgotpass_code_expiry" FROM "users" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.334195 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-09 22:20:58 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc21010f680}

[xorm] 2014/06/11 15:19:59.334324 [info] [sql] SELECT "id", "created_at", "username", "email", "fullname", "password", "api_key", "active", "activation_code", "activation_code_expiry", "forgotpass_code", "forgotpass_code_expiry" FROM "users" WHERE "id" = $1 LIMIT 1 [args] [1]

[xorm] 2014/06/11 15:19:59.334710 [debug] empty zone key[%v] : %v | zone: %v | location: %+v
 created_at 2014-06-09 22:20:58 +0000 +0000  { [{ 0 false}] [{-9223372036854775808 0 false false}] -9223372036854775808<PHONE_NUMBER>854775807 0xc210115420}

As you can see here it's loading the platforms and architectures twice. Then it's repeating the same queries over and over again multiple times.
Any idea what's going on here?

I got this error when update the time column with "time.Now()".
The struct is like this:
type User struct{
    Id int64
    LoginTime time.Time    //with no Tags
}

The first time I updated the default empty column, the data would be "0001-01-01 00:00".
And the second time I updated this column will cause the error:
[xorm] [debug] 2016/03/07 19:02:05.288149 empty zone key[create_time] : 2016-03-04 09:42:57 +0000 +0000 | zone:  | location: {name: zone:[{name: offset:0 isDST:false}] tx:[{when:-9223372036854775808 index:0 isstd:false isutc:false}] cacheStart:-9223372036854775808 cacheEnd:9223372036854775807 cacheZone:0xc8201874c0}
[xorm] [debug] 2016/03/07 19:02:05.288187 empty zone key[update_time] : 2016-03-04 09:42:57 +0000 +0000 | zone:  | location: {name: zone:[{name: offset:0 isDST:false}] tx:[{when:-9223372036854775808 index:0 isstd:false isutc:false}] cacheStart:-9223372036854775808 cacheEnd:9223372036854775807 cacheZone:0xc8201874c0}
[xorm] [debug] 2016/03/07 19:02:05.288207 empty zone key[last_login] : 0001-01-01 00:00:00 +0000 +0000 | zone:  | location: {name: zone:[{name: offset:0 isDST:false}] tx:[{when:-9223372036854775808 index:0 isstd:false isutc:false}] cacheStart:-9223372036854775808 cacheEnd:9223372036854775807 cacheZone:0xc8201874c0}
&{27 13ca3fb45351b96d09f948c6ccfa0193 afb8966018895b02215f80c1c12314f0<PHONE_NUMBER>5 2     false 0  2016-03-04 09:42:57 +0800 CST 2016-03-04 09:42:57 +0800 CST 0001-01-01 00:00:00 +0800 CST 0 1}

Please help .
Thank you very much.


Why implement errors.Errorf when we have fmt.Errorf?

More of a package design question, but why have errors.Errorf when we already have it in the fmt package?
Is it just so we have a single place for all our erroring needs or is it different in some non-obvious way?

For convenience basically. You are correct that Errorf and Wrapf are
superfluous, but people fought hard to add them and I agree with their
rational.
Perhaps if this package is incorporated into go 1.8 errors.Errorf would be
surplus to requirements, but that's a debate for another day.
On Wed, 25 May 2016, 09:06 Mat Ryer<EMAIL_ADDRESS>wrote:

More of a package design question, but why have errors.Errorf when we already
have it in the fmt package https://golang.org/pkg/fmt/#Errorf?
Is it just so we have a single place for all our erroring needs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/pkg/errors/issues/31

Thanks. Actually I love Wrapf and would miss it.


Increased build size (300%) with 0.0.40 compared to 0.0.39

Short description of the problem:
Build size increased 300% building with 0.0.40 compared to 0.0.39
Any idea what's going on?
Left side: build by 0.0.40
Right side: build by 0.0.39

@biesbjerg,
Super weird. I will look into it.
Thanks,
Dan

@biesbjerg,
I'm not seeing that. Can you blow away .tmp and www directory and try again?
Thanks,
Dan

Just reproduced it after deleting .tmp and clearing www.
Let me try and downgrade to 0.0.39 and try again.

@biesbjerg,
I see it now. It's for the prod build. Okay, we will fix in 0.0.41 or 0.0.42. It has to do with using eval sourcemaps I think. We are going to have a better story here soon.
Thanks,
Dan

Fixed in 0.0.41 @biesbjerg. We still intend to make some changes around this soon.
Thanks,
Dan

Thanks for catching this @biesbjerg !

Thank you for creating Ionic! ;-)


add an option to disable pan

in mobile the users have problems if the map gets the drag event, we should add a sharing option to not allow drag.
A question: Should the option be: "disable drag on mobile?"

We've been asked about this again: blocking the panning of an interactive map published in online newspapers so that the users don't get lost panning infinitely our map when trying to scroll around the website. What do you think?

Finally -> https://github.com/CartoDB/cartodb/issues/5995 \o/.


Chrome does not load the front-end

I installed IOPaint using python, and when I tried to load the application I just got a white screen. Then, I downloaded the Windows 1-click install, also for supporting the project, and I encountered the same issue.
I basically get this problem from Chrome Dev Tools:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
I tried both on chrome and Firefox, without any positive effect
Is there a way to have the application?

Solved changing this:
You have to change Registry settings for two keys. Open the Registry Editor and

Go to Computer\HKEY_CLASSES_ROOT.js and change Content Type to application/javascript

Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes.js and change Content Type to application/javascript.

Then just restart your shell or jupyter kernel, and the app should start working on localhost. Make sure you force reload the app (Ctrl + Shift + R) to get rid of cached contents.


Panic when updating stack

Using pulumi cli 1.2 and the azure plugin 1.0.0 I can't update my stacks anymore.
Here is the error I have.
Updating (my-stack):

     Type                            Name                   Status                  Info
     pulumi:pulumi:Stack             my-project-my-stack  **failed**              1 error; 26 messages
     ├─ azure:storage:Container      zipdeploy                                      1 warning
 ~   └─ azure:appservice:AppService  my-stack-web       **updating failed**     [diff: ~appSettings]; 1 error

Diagnostics:
  azure:storage:Container (zipdeploy):
    warning: urn:pulumi:my-stack::my-project::azure:storage/container:Container::zipdeploy verification warning: "resource_group_name": [DEPRECATED] This field has been deprecate
d and is no longer used - will be removed in 2.0 of the Azure Provider

  azure:appservice:AppService (my-stack-web):
    error: Plan apply failed: transport is closing

  pulumi:pulumi:Stack (my-project-my-stack):
    error: update failed

    panic: interface conversion: interface {} is nil, not map[string]interface {}
    goroutine 67 [running]:
    github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure.ExpandAppServiceLogs(0x33f20a0, 0xc0000055c0, 0x4, 0x33f20a0, 0xc0000055c0, 0xc000005501)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure/app_service.go:1258 +0xcb0    github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmAppServiceUpdate(0xc000525b20, 0x33b1960, 0xc000316480, 0x24, 0x74ed780)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_app_service.go:435 +0x18b5
    github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0001ed680, 0xc000935450, 0xc000f1c160, 0x33b1960, 0xc000316480, 0x1, 0x0, 0x0)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:311 +0x26b
    github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc0007a7980, 0xc000ef5840, 0xc000935450, 0xc000f1c160, 0x0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:289 +0x196
    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000528000, 0x4183e60, 0xc00081b800, 0xc0005251f0, 0xc000528000, 0x3571101, 0xc000e74340)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:818 +0xa2b
    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x4183e60, 0xc00081b800, 0x384e6e0, 0xc0005251f0, 0x384bb20,0x74ebf68, 0x4183e60, 0xc00081b800)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1592 +0x8d
    github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x4183e60, 0xc000633ef0, 0x384e6e0, 0xc0005251f0,0xc000e68140, 0xc000e68160, 0x0, 0x0, 0x410b120, 0xc000438920)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:57 +0x2eb
    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler(0x38a8d40, 0xc000528000, 0x4183e60, 0xc000633ef0, 0xc000934e60, 0xc0006062a0, 0x4183e60, 0xc000633ef0, 0xc000e72000, 0xf5c)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1594 +0x15f
    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc000053500, 0x41d1c40, 0xc000053e00, 0xc000ee4300, 0xc0005db4d0, 0x74c0b00, 0x0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:998 +0x477
    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).handleStream(0xc000053500, 0x41d1c40, 0xc000053e00, 0xc000ee4300, 0x0)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:1278 +0xdad
    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000427c50, 0xc000053500, 0x41d1c40, 0xc000053e00, 0xc000ee4300)
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:717 +0xa6
    created by github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
        /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:715 +0xa8

Resources:
    4 unchanged

Duration: 12s

Let me know if you need more information in order to troubleshoot this issue.
Thanks

@juchom Thanks for reporting this. Could you add the code snippet for your AppService definition?

Thanks for the quick reply, here is the code for the AppService
const appWebName = `app-${env}-web`;
const appWeb = new azure.appservice.AppService(appWebName, {
  ...resourceGroupArgs,
  name: appWebName,
  appServicePlanId: appCommonInfra.getOutput("appServicePlanId"),
  appSettings: appSettings,
  siteConfig: {
    alwaysOn: true
  }
});

And what is the value of appSettings?

appSettings is constructed this way in index.ts
// At the begining
let appSettings: any = {
  ASPNETCORE_ENVIRONMENT: config.require("aspNetCoreEnvironment")
};

// After Application Insights definition
appSettings.APPINSIGHTS_INSTRUMENTATIONKEY = appInsights.instrumentationKey;

// After the blob upload
appSettings.WEBSITE_RUN_FROM_ZIP = signedBlobUrl;

The call stack points to ExpandAppServiceLogs. Are you sure you have no logs property defined?

Nothing very special as you can see:
const projectName = pulumi.getProject();
const config = new pulumi.Config(projectName);
const env = config.require("env");

const commonInfra = new pulumi.StackReference(
  `mycompany/project/stack-${env}`
);

const resourceGroupArgs = {
  resourceGroupName: commonInfra.getOutput("resourceGroupName"),
  location: commonInfra.getOutput("resourceGroupLocation")
};

let appSettings: any = {
  ASPNETCORE_ENVIRONMENT: config.require("aspNetCoreEnvironment")
};

const appInsightsName = `myproject-${env}-ai`;
const appInsights = new azure.appinsights.Insights(appInsightsName, {
  ...resourceGroupArgs,
  name: appInsightsName,
  applicationType: "Web"
});
appSettings.APPINSIGHTS_INSTRUMENTATIONKEY = appInsights.instrumentationKey;

const appSaName = `project${env}sa`;
const appSa = new azure.storage.Account(appSaName, {
  ...resourceGroupArgs,
  name: appSaName,
  accountKind: "StorageV2",
  accountTier: "Standard",
  accountReplicationType: "LRS"
});

appSettings["AuthorizationServiceConfig:ConnectionString"] =
  appSa.primaryConnectionString;

const zipDeployContainerName = `zipdeploy`;
const zipDeployContainer = new azure.storage.Container(zipDeployContainerName, {
  resourceGroupName: resourceGroupArgs.resourceGroupName,
  storageAccountName: appSa.name,
  containerAccessType: "private",
  name: zipDeployContainerName
});

const buildNumber = process.env.BUILD_BUILDNUMBER;
const fileName = `AppWeb.${buildNumber}.zip`;
let fullFileName = path.resolve(`../dist/${fileName}`);
if (fs.existsSync(fullFileName)) {
  const blob = new azure.storage.Blob("myproject-b", {
    name: fileName,
    source: fullFileName,
    resourceGroupName: resourceGroupArgs.resourceGroupName,
    storageAccountName: appSa.name,
    storageContainerName: zipDeployContainer.name,
    type: "block"
  });

  const signedBlobUrl = signedBlobReadUrl(blob, appSa, zipDeployContainer);
  appSettings.WEBSITE_RUN_FROM_ZIP = signedBlobUrl;
} else {
}

const appWebName = `myproject-${env}-web`;
const appWeb = new azure.appservice.AppService(appWebName, {
  ...resourceGroupArgs,
  name: appWebName,
  appServicePlanId: commonInfra.getOutput("appServicePlanId"),
  appSettings: appSettings,
  siteConfig: {
    alwaysOn: true
  }
});

Yeah, this looks very normal. Anything changed just before you got this error for the first time?
Do you get it if you try with a clean stack?
The app is my-stack-web in the output and myproject-${env}-web in the code. Copy-paste difference?

Anything changed just before you got this error for the first time? Nothing has changed on the pulumi files for a while. Actually many projects I have are having the same issue.
Do you get it if you try with a clean stack? I've created a clean stack and it worked (The only difference is that the blob is not created because it doesn't exist)
The app is my-stack-web in the output and myproject-${env}-web in the code. Copy-paste difference? Yes

If this can help, on the new stack, I've changed my index.ts to add a new key to appSettings and I have the same error.

@juchom That's puzzling. Your code still works for me.
Two random things:

Could you upgrade the azure provider to 1.2.0 and repost the error stack trace?
Could you share for app service plan definition?

Could you upgrade the azure provider to 1.2.0 and repost the error stack trace?

I've done pulumi plugin install resource azure 1.2.0 (do I need to do something else after?)
And I have this stacktrace:
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 61 [running]:
github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure.ExpandAppServiceLogs(0x33f20a0, 0xc000e6d580, 0x4, 0x33f20a0, 0xc000e6d580, 0xc000e6d501)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure/app_service.go:1258 +0xcb0
github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmAppServiceUpdate(0xc000460460, 0x33b1960, 0xc0000cc480, 0x24, 0x74ed780)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_app_service.go:435 +0x18b5
github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0002e5680, 0xc000871f40, 0xc000744ba0, 0x33b1960, 0xc0000cc480, 0x1, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:311 +0x26b
github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc0007d9980, 0xc0008bb840, 0xc000871f40, 0xc000744ba0, 0x0, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:289 +0x196
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc00061a000, 0x4183e60, 0xc000b6ac60, 0xc0004edc70, 0xc00061a000, 0x3571101, 0xc000b628c0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:818 +0xa2b
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x4183e60, 0xc000b6ac60, 0x384e6e0, 0xc0004edc70, 0x384bb20, 0x74ebf68, 0x4183e60, 0xc000b6ac60)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1592 +0x8d
github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x4183e60, 0xc000c56c60, 0x384e6e0, 0xc0004edc70, 0xc000a1c3c0, 0xc000a1c3e0, 0x0, 0x0, 0x410b120, 0xc00044a910)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:57 +0x2eb
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler(0x38a8d40, 0xc00061a000, 0x4183e60, 0xc000c56c60, 0xc000871c20, 0xc00039c5a0, 0x4183e60, 0xc000c56c60, 0xc000553000, 0xdc5)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1594 +0x15f
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000ab080, 0x41d1c40, 0xc0000ab500, 0xc000c7b200, 0xc0005ff710, 0x74c0b00, 0x0, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:998 +0x477
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0000ab080, 0x41d1c40, 0xc0000ab500, 0xc000c7b200, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:1278 +0xdad
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000644ae0, 0xc0000ab080, 0x41d1c40, 0xc0000ab500, 0xc000c7b200)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:717 +0xa6
created by github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:715 +0xa8

Could you share your app service plan definition?

// App Service Plan Creation
const appServicePlanName = `${projectName}-${env}-asp`;
const appServicePlan = new azure.appservice.Plan(appServicePlanName, {
    ...resourceGroupArgs,
    name: appServicePlanName,
    kind: "App",
    sku: {
        tier: "Basic",
        size: "B1",
    },
});

I've done pulumi plugin install resource azure 1.2.0 (do I need to do something else after?)

You actually need to use it in your program. Make sure that the right version is installed, e.g. put this into your package.json:
"@pulumi/azure": "^1.2.0",

and run npm install or yarn install.

Thanks for your quick replies, after the npm install, here is the stacktrace:
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 61 [running]:
github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure.ExpandAppServiceLogs(0x350b3e0, 0xc0008caf60, 0x4, 0x350b3e0, 0xc0008caf60, 0xc0008caf01)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure/app_service.go:1256 +0xcb0
github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmAppServiceUpdate(0xc0004ed110, 0x34ca440, 0xc0000cc480, 0x24, 0x78507a0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_app_service.go:434 +0x18b5
github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0002e1d00, 0xc000a751d0, 0xc00100f580, 0x34ca440, 0xc0000cc480, 0x1, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:311 +0x26b
github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc0007fe880, 0xc00100b840, 0xc000a751d0, 0xc00100f580, 0x0, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:289 +0x196
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000266000, 0x42eb620, 0xc0004cbd10, 0xc0004ec8c0, 0xc000266000, 0x368ec01, 0xc0013ecb00)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:818 +0xa2b
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x42eb620, 0xc0004cbd10, 0x3975e00, 0xc0004ec8c0, 0x3973380, 0x784ef88, 0x42eb620, 0xc0004cbd10)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1592 +0x8d
github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x42eb620, 0xc0004ca3f0, 0x3975e00, 0xc0004ec8c0, 0xc0013dd780, 0xc0013dd7a0, 0x0, 0x0, 0x4270c00, 0xc00044a900)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:57 +0x2eb
github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler(0x39d34c0, 0xc000266000, 0x42eb620, 0xc0004ca3f0, 0xc000a74eb0, 0xc0005c28a0, 0x42eb620, 0xc0004ca3f0, 0xc001390000, 0xdc5)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1594 +0x15f
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000ab380, 0x433b4c0, 0xc0000ab800, 0xc001386200, 0xc000321e90, 0x7823b00, 0x0, 0x0, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:998 +0x477
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0000ab380, 0x433b4c0, 0xc0000ab800, 0xc001386200, 0x0)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:1278 +0xdad
github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0008935f0, 0xc0000ab380, 0x433b4c0, 0xc0000ab800, 0xc001386200)
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:717 +0xa6
created by github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:715 +0xa8

Thanks, I can reproduce it with 1.2 (but not 1.0). Working on a solution...

@pat @lukehoban Please help me diagnose the root cause here.

The error is thrown from the TF provider when they try to convert nil to map.

The input parameter of that call is [map[application_logs:[<nil>] http_logs:[<nil>]]], so logs map has two properties, both with nil values

The Pulumi end-program never actually sets logs or applicationLogs property, so I would expect it to be missing completely.

Here is the TF schema definition.

Our state file shows those log propertiese to be empty maps, not nulls: "logs": { "applicationLogs": {},"httpLogs": {}},

Same is true for olds value in tfbridge provider: logs:{map[applicationLogs:{map[]} httpLogs:{map[]}]}

TF itself doesn't seem to have this bug: probably, it never passes nils in those maps.

Pulumi works on the initial up but not on subsequent up (after the App Service is changed).

Can you tell what goes wrong here?

Hi @mikhailshilkov,
Just to let you know, the issue is not happening with pulumi/azure 1.0.0, it starts with 1.1.0.

@mikhailshilkov can you gather verbose logs for the problematic update? Depending on the values being sent to the plugin, this could be a bug in the CLI or in the TF bridge.

-v=10 --logtostderr would be most helpful.

@pgavlin DMed the log on Slack

I got the same issues when added more key to appSettings. However, destroy and re-build from scratch is fine. this is quite a dangerous issue if deploy to Production.

@pgavlin Did you have a chance to look at the debug. The issue is nasty indeed.

+1 hit the same problem recently.

The workaround solution is add config for appplicatio logs and httpLogs

@baoduy thx fir hint but did not work - tested a few times already.

This item is blocking some of our lift and shift from AWS to Azure. Any way to get this resolved sooner?

Hi @robertwe
Here is my code already tried with 3 Azure Subscriptions, and I'm not receive any error after added this code.
const storage = new azure.storage.Account(`${name}stg`.toLowerCase(), {
    ...resourceGroupInfo,
   ...
  });

  const container = new azure.storage.Container(`logs`, {
    name: "logs",
    ...
  });

 const webApp = new azure.appservice.AppService(`${name}-web`, {
    ...,
    storageAccounts: [
      {
        accountName: storage.name,
        accessKey: storage.primaryAccessKey,
        name: "storage",
        shareName: "storage",
        type: "AzureBlob"
      }
    ],
    logs: {
      applicationLogs: {
        azureBlobStorage: { level: "Information", retentionInDays: 30, sasUrl: container.id }
      },
      httpLogs: { fileSystem: { retentionInDays: 30, retentionInMb: 100 } }
    }
  });

Hope this help.

@baoduy I can confirm - this workaround works as expected. Previously I did not add "applicationLogs" just httpLogs. Thx again :)

More people hit this while kicking tyres with .NET... Any progress here @pgavlin ?

Yes--I don't have a fix yet, but I'm beginning to understand what exactly the issue is. In essence this is a problem with our ability to round-trip between TF state and Pulumi state.

👍 hit the same issue here, running through a scenario where I attempt to update the stack after updating a config variable

I had a similar issue that seemed to be triggered later resolved by using pulumi refresh
Pulumi version: v1.5.1
@pulumi/azure: 1.4.0

Ran into this same error after adding the below to an app service that already exists:
AppSettings =
{
    { "WEBSITE_RUN_FROM_PACKAGE", "1" }
}

This impacts most of the examples (e.g. https://github.com/pulumi/examples/tree/master/azure-ts-appservice). Initial pulumi up works fine, but not subsequent (after changing the html being deployed). pulumi destroy then pulumi up works fine.
Might it be worth updating the readme's on the examples in the short term to list the workaround?

@mjwills use mime as work around solution until this issues fixed

@baoduy My attempt to apply that to the C# sample didn't work, alas (new errors occurred). But thanks for the suggestion. I'll need to wait until it is fixed...

@mjwills .NET has another issue right now https://github.com/pulumi/examples/issues/476

@mjwills Ah I see, I haven't tried with C# yet. Seems it is still preview and may have a lot of bugs. However, Typescript quite nice and interesting. I will try C# soon for next project.
Hope the issue will be soon resolved as it is impact to all across languages.

I believe that the fixes for this have now been released in Pulumi 1.6.1 and pulumi-azure 1.5.0.

I just experienced this after updating.
panic: interface conversion: interface {} is nil, not map[string]interface {}
    goroutine 222 [running]:
    github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure.ExpandAppServiceLogs

Versions:
Pulumi v1.6.1
azure-1.5.0

Reopening to reconfirm whether this is fixed.

I confirm it's not fixed: tried with 1.6.1/1.5.0

Hm. The fix must not have made it into the pulumi-azure release.

Okay, I've confirmed this locally with Pulumi 1.6.1 + pulumi-azure 1.6.0.

@pgavlin Thanks for the swift reply Pat.
My pulumi version is: v1.9.1
My @pulumi/azure version is<EMAIL_ADDRESS>Good news is,  I have been able to circumvent the issue by specifying the following (based on similar suggestions above):
logs: {  httpLogs: undefined  }

@ustun Thanks, I reproduced the panic. I think it's different enough to warrant a new issue, so I created #454


ENYO-6064: Derive groupId from displayName, when one is not set

Checklist

[X] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[X] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added

The Sampler select knob doesn't assign a groupId when none if found. As a result, select knobs with no explicit group are appearing in an "Other" category. This can be observed in the Moonstone->Icon story.

Resolution

Add a fallback to use displayName as the default groupId value when not found. This is the technique already used on the other knob proxies.

Enact-DCO-1.0-Signed-off-by: Jason Robitaille<EMAIL_ADDRESS>

There's a lot of clean-up here. Thanks for taking this on @JayCanuck


fix: compatibility with later casbin minor versions

redis-watcher explicitly expects casbin 1.18.0, I think it should be compatible with patches to casbin 1.18.

 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.Daniel Flynn seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Confusion over ohmd_device_class enum

examples/simple/simple.c treats the ohmd_device_class enum as a bitmask, permitting HMDs that also provide controls:
simple.c: if (device_class & OHMD_DEVICE_CLASS_CONTROLLER)...
However, the HMD class in the enum is 0, precluding use as a bitmask:
        /** HMD device. */
        OHMD_DEVICE_CLASS_HMD        = 0,
        /** Controller device. */
        OHMD_DEVICE_CLASS_CONTROLLER = 1,
        /** Generic tracker device. */
        OHMD_DEVICE_CLASS_GENERIC_TRACKER = 2,

In the rift controller branch, I added the remote buttons to the HMD and added OHMD_DEVICE_CLASS_CONTROLLER to the device_class, based on the simple.c example.
Is the API meant to be a bitmask?

Some other drivers (PSVR, XGVR) attach controls to the HMD without any modification to the device_class, so maybe that's all that's necessary.
The simple example checking the enum as a bitmask probably needs changing in that case

Consensus is that the device_class is not an enum, so the simple.c example should be modified. Since HMD devices can publish controls, I think it might be reasonable if the example displayed the controls when the state of one changes, regardless of device_class.

Fixed!


Not working on a password string field

var player = &models.Player{}
	Bind(request, player)

	rules := govalidator.MapData{
		"password": []string{"required", "min:6"},
		"username": []string{"required", "between:4,20"},
		"email":    []string{"required", "email"},
	}

	opts := govalidator.Options{
		Request: r,
		Data:    player,
		Rules:   rules,
		RequiredDefault: true,
		TagIdentifier: "json",
	}

	v := govalidator.New(opts)
	e := v.ValidateJSON()
	if len(e) > 0 {
		body, _ := json.Marshal(e)
		resp, err := Return(string(body), 401, nil, nil)
		return resp, err
	}

{
	"email"<EMAIL_ADDRESS>	"username": "some_username",
	"password": "123456",
}

Error I get no matter what
"password": [
    "The password field is required"
  ]

The other ones work fine, but no matter what it cannot see password

Found the issue. It does not like that password has omitempty in it
Password        string        `sql:"-" json:"password,omitempty"`


[SR-1281] Code coverage testing in generated XCode projects do not work

Previous ID
SR-1281

Radar
None

Original Reporter
rfdickerson (JIRA User)

Type
Bug

Attachment: Download

Environment
swift-DEVELOPMENT-04-12-a, Mac OS X 10.11

Additional Detail from JIRA

Votes
3

Component/s
Compiler

Labels
Bug, CodeCoverage

Assignee
None

Priority
Medium

md5: 832192ff9d7246fb2eec64e5038f4b79

Issue Description:
When I add Code Coverage testing to the XCode project generated with 'swift build -X' then following error occurs:
I have also tried adding emiting profiling and coverage to the project with
`swift build -Xcc -fprofile-instr-generate -Xcc -ftest-coverage`
But that did not work, either

We ought to be able to use the llvm-profdata and llvm-cov binaries in the custom toolchain, as they are included in development snapshots. Currently Xcode 14 has a different failure mode for this, it just doesn't show the coverage in the editor. We're tracking this internally as rdar://25754212.


Image-zoom

#647
-cc @tisto

@sneridagh works like a charm and looks good to me. Would you mind having a second look?


Make Screen.RemoveWhenNotAlive sealed

This prevents subclasses from overriding the property, making checking
for its truthiness and the associated ScreenWillBeRemovedOnPushException
superfluous
Since doing anything with RemoveWhenNotAlive that isn't setting it always to false it feels wrong to expose it as an overridable property on Screen. There are obscure scenarios this prevents (for example logging whenever the property gets read in a subclass or causing other side effects) but I do not think they are important concerns.

May need to leave the checks as long as we keep IScreen around

Didn't think about that, readded the checks :-)


Support .golangci.yml config file for Golang linter

Is your feature request related to a problem? Please describe.
I run super-linter locally with the Go linter golangci-lint and I want it only enable specific linters, e.g., golangci-lint run --disable-all --enable typecheck. ATM the linter is running as follows "golangci-lint run --fast -c ${GO_LINTER_RULES}", and I would like to modify it so the user can decide which linters to use.
Describe the solution you'd like
Having an environment variable VALIDATE_GO_CONFIG that would point to .golangci.yml will enable us running the golangci-lint` with all the customization that a developer needs.
Describe alternatives you've considered
I haven't thought further than above, since I have seen other linters have config file so I assume adding another environment variable for golang linter wouldn't be a burden. See similar issue https://github.com/super-linter/super-linter/issues/1643 where the PHP linter has been modified.
Additional context
What is the value of GO_LINTER_RULES from above command?
It would be even better if we could decide whether to use --fast when we run golangci-lint with super-linter
This issue is relevant for  https://github.com/super-linter/super-linter/issues/3596 as well

Hi! This looks like a good idea to me. As you mentioned in your email, feel free to go ahead and get a pull request started for this.

Hello
The current super-linter runs to follow the .github/linters/.golangci.yml file in the source repository. (if exists)
If we configure .github/linters/.golangci.yml as follows:
linters:
  disable-all: true
  enable:
    - typecheck

we will achieve the same result as running golangci-lint run --disable-all --enable typecheck.
With this configuration, the issue will be be resolved.

#4430 took care of this. We don't add any command switch when linting Go modules. We add --fast when linting individual files because that's needed in that case.


Multiple sets of reducers?

We've taken the approach of breaking small pieces of our product up and isolating them in addons.  Each addon is its own little self-contained thing, usually a bundle of 10-20 components, often reused all over the application.
Recently converted one of those addons to use ember-redux (worked like a charm!).  Incorporated that addon into our main project and it all works great. ember-redux, running in the main app, has no problem finding the reducers from the addon.
Now starting to look and see what it'll take to start converting big chunks of the main project, pieces not isolated in addons.  As soon as I added a reducers folder/index.js to the primary Ember app, ember-redux no longer located the addon's reducers.
This was easily solved by importing the addonNameHere/reducers/index and re-exporting it from mainProject/reducers/index.
Might be nice, though, if it was able to track down the reducers from all candidate locations and combineReducers them all together?
Talkin' crazy?

Worth mentioning, this may all be doable already and there's something about wiring the addon into the main app that I'm not getting right.
There's always a good deal of Ember magic involved, this may be the domain of the resolver? Something magical must be happening for it to have found the addon's reducers and then not have found them when something better came along.

@dbashford first up - awesome to hear adopting this has been successful in your apps/addons! I'm always amazed when I hear someone else is using this project and dare I say "loving it" :)
About the app/addon reducers/index.js overlap, I think adding first-class support for reducers is the most correct solution to solve your pain point. I'm glad you found a not so terrible work around for the moment, but I do appreciate you calling out the bigger issue here (to me it's making the reducer type something ember is aware of / doing a better job in ember-redux of allowing a true combine step).
I'll need to seek out some ember-cli help on this to better understand how we can organize/setup the reducer folder. I'm curious on your feedback here -one solution could be to not have an explicit index and instead just "automagically" combine all *.js files found in each reducers folder (exporting them from here instead).
On the one hand, I'm also waiting to hear how the recently merged RFC for "module unification" will play out in this scenario (I realize it's not yet supported but because it was merged this week I'm due to refresh myself on the changes coming).

hey guys! so overlapping also applies to middleware and enhancers, both folders contain index.js.
all of those things can require particular order, for example:

https://github.com/evgenyrodionov/redux-logger must be the last middleware,
final reducers composition may encounter same key conflicts if all reducers are just "automagically" combined as js files.

also store creation itself sometimes needs more control and may be custom.
so what if we use redux itself as a first class citizen by putting store creation (with all reducers/middleware/enhancers) into engineer's hands and give an API to provide the store to ember-redux?
as example - react-redux:
<Provider store={store}>
    <App />
</Provider>

where provider basically does the same thing as redux service in this project, except store is passed as param.

@aaminev I've thought about exposing a createStore override so people with more advanced used cases can opt out of the default. A backwards compatible way to do this now is that we import a createStore.js file from the app/ use that inside the service on init
https://github.com/toranb/ember-redux/blob/master/app/services/redux.js#L27

@aaminev about the provider api (used in react-redux) => I'm not certain what this would look like in ember myself but I'm open to suggestions. Also- it's very important for now that the library remain backwards compatible (meaning we need to consider everyone using the 1x series today). I don't plan to release a 2x of the addon any earlier than March 2017 to assure people that we are a library (and ecosystem) about stability /not churn.
I was happy to see that the react-redux v5 (beta) release coming soon isn't an api breaking change. In fact, it appears mostly additive from the consumers standpoint. This should further enable us to remain react-redux compatible/friendly (allowing ember developers to get even more comfortable with the redux idioms/ approach by removing the fear of change that is often present in new(er) tech)

@toranb what if we had a service that we can use to extend from and to create our own.
For example now if I create app/services/redux.js, app won't call addon's service because of how ember-cli works. So currently I can implement my own redux service with my own store creation, and as long as it has the same interface as addon's service, everything will work fine. What I could use to be always compatible with ember-redux addon is a base service from ember-redux, and do something like this in my own redux service:
import BaseService from 'ember-redux/services/redux';
const myStore = ...
export default BaseService.extend({
    init() {
        this.store = myStore; // or through API, like this.setStore(myStore);
        this._super(...arguments);
    },
});

this could allow us to implement advanced use cases and be backward compatible with current version.

@aaminev I'm in favor of extension but I'd prefer composition rather than forcing the user to inherit from a base service. Would you be open to something like the below? If yes, could you work up a PR showing how you'd prefer to override this functionality?
https://github.com/toranb/ember-redux/commit/c87026c6e34a4fa62a96fe5a56b4bf0284a3cbc0

@aaminev I've got plans to open this up for extension in the future and if nothing else I can start a pull request in the coming month or so to unlock advanced store configuration. I'm planning to close this issue for now. If you want to take a run at the pull request for this in the future please feel free.
@dbashford I feel this issue has gotten away from the core discussion you started with almost a month ago. If you still want to discuss it in more detail please open a new issue so we can stay on topic :)


Chat Bot AI app with lmstudio-community/granite-3.0 reiterates when input with response in the console output mutliple times

Bug description
When sending an input into a prompt via browser, first input is processed correctly, but second question/input is kinda copied into answer prompt and seems like resend and appears iteratively in the output again and again. more questions make it worse.
Ref: https://github.com/containers/podman-desktop-extension-ai-lab/pull/2024
Operating system
Mac OS 14
Installation Method
None
Version
next (development version)
Steps to reproduce

Install 1.3.2 AI Lab
Create podman Machine (Mac OS libkrun)
Start up chat bot app with mentioned model
Assert: app is up and running
In the App's details -> open the browser
Send an input and check for the output
Repeat step 6.
Assert: LLM model answers as expected
Actual result: app/model responses multiple times like it is recycling the input over and over

Relevant log output
No response
Additional context
No response

Cannot reproduce on Win11Pro. Tested with the 2 following prompts:

What is Podman Desktop ?
How does it compare to Docker Desktop ?

Will test on MacOS/libkrun


get Name or service not known when I set authentication_flow_host

Hi, Thanks for your great library. I want to test Google Calendar API in my Django app. My problem is that when I set authentication_flow_host to my API address (https://api.xxxx.com/v1/test/) I get the error "Name or service not known". How I can solve this problem? thanks in advance.

Try removing protocol (https://) from from the host

Still gives me that error. Do you see any problem in this code?
calendar = GoogleCalendar(
<EMAIL_ADDRESS>        authentication_flow_host="api.MYDOMAIN.com/v1/str/test/",
        authentication_flow_port=443,
    )

Oh, actually I think it has to be a host, not the URL, i.e. api.MYDOMAIN.com.

That error was solved, but now a new error shows up and saying "Cannot assign requested address". It seems trying to create a new server but fails. I run my Django app on a docker container. Is this problem related to docker?
/usr/local/lib/python3.9/site-packages/gcsa/google_calendar.py in _get_credentials(token_path, credentials_dir, credentials_file, scopes, save_token, host, port)
    128                 credentials_path = os.path.join(credentials_dir, credentials_file)
    129                 flow = InstalledAppFlow.from_client_secrets_file(credentials_path, scopes)
--> 130                 credentials = flow.run_local_server(host=host, port=port)
    131
    132             if save_token:

/usr/local/lib/python3.9/site-packages/google_auth_oauthlib/flow.py in run_local_server(self, host, port, authorization_prompt_message, success_message, open_browser, redirect_uri_trailing_slash, **kwargs)
    458         # Fail fast if the address is occupied
    459         wsgiref.simple_server.WSGIServer.allow_reuse_address = False
--> 460         local_server = wsgiref.simple_server.make_server(
    461             host, port, wsgi_app, handler_class=_WSGIRequestHandler
    462         )

/usr/local/lib/python3.9/wsgiref/simple_server.py in make_server(host, port, app, server_class, handler_class)
    152 ):
    153     """Create a new WSGI server listening on `host` and `port` for `app`"""
--> 154     server = server_class((host, port), handler_class)
    155     server.set_app(app)
    156     return server

/usr/local/lib/python3.9/socketserver.py in __init__(self, server_address, RequestHandlerClass, bind_and_activate)
    450         if bind_and_activate:
    451             try:
--> 452                 self.server_bind()
    453                 self.server_activate()
    454             except:

/usr/local/lib/python3.9/wsgiref/simple_server.py in server_bind(self)
     48     def server_bind(self):
     49         """Override server_bind to store the server name."""
---> 50         HTTPServer.server_bind(self)
     51         self.setup_environ()
     52

/usr/local/lib/python3.9/http/server.py in server_bind(self)
    136     def server_bind(self):
    137         """Override server_bind to store the server name."""
--> 138         socketserver.TCPServer.server_bind(self)
    139         host, port = self.server_address[:2]
    140         self.server_name = socket.getfqdn(host)

/usr/local/lib/python3.9/socketserver.py in server_bind(self)
    464         if self.allow_reuse_address:
    465             self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
--> 466         self.socket.bind(self.server_address)
    467         self.server_address = self.socket.getsockname()
    468

OSError: [Errno 99] Cannot assign requested address

Have you been able to resolve this? I think it might be caused by the docker.

I'll close the issue. If you think this needs more attention, please let me know here.


As a learner, I want my Learning Path progress to be saved as I complete readings and problems, so I can return to complete whenever works for me

currently progress is stored only for completion of specific widgets/interactive components. this will need to be expanded to also track pages user has read (i.e., "completed"). further discussion is need to define the criteria for a completed reading of a page.
Goal

Learners should be able to complete a unit, leave the platform, and should see the unit completed upon their return
Learners must meet the minimum threshold for the assessment to be marked as complete

Acceptance criteria
No response
Out of scope
No response
Future of feature
No response
Resources
No response
Tasks
No response

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


Update Readme and Demo Help

Need to update the repo Readme and the Help page in the Demo to include the new query feature.

@ugurdogrusoz You can review Readme and Demo Help now. When the new YouTube is recorded, the video link in Demo Help will be updated.

@ugurdogrusoz YouTube video is now ready, could you please add subtitles as before? Thanks!

https://youtu.be/dr1gqSR8OGM


Please update structures of CHEBI:136413, CHEBI:136414, CHEBI:136415 and CHEBI:136418

Hi Gareth and Steve,
The recent necessary update of the structures of CHEBI:136412 and CHEBI:136416 requested in #3364, necessitates further updates of wrong structures to keep our Rhea reactions balanced.
For all four structures the problem is a wrongly included 3' phosphate group. The updated structures are attached.
CHEBI_136413.txt
CHEBI_136414.txt
CHEBI_136415.txt
CHEBI_136418.txt
Cheers,
Kristian

Hi Kristian,
The structures have now been updated.
(I also modified the ChEBI names of the entries to reflect the reduction in the charge of the structures has become one unit less negative).
Best regards,
Gareth


[BUG] fonts not working

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
so it works normally when i put in a font file and save the settings but when i launch roblox again it doesnt work? its only worked once after i restarted my pc but it stopped after i joined a game randomly today. i restarted and it did nothing
Bloxstrap Log
N/A

might be because it was extracted, but i dont know

What kind of file are you using? I think it has to be a .ttf or .otf file for it to work. Also, try opening the font to see if it is corrupted or not.


LineChart: echarts trigger item tooltip, uplot custom tooltip

When comparing our LineChart implementation with ECharts benchmarks in Chronosphere's UI, I noticed some performance discrepancies. The main issue is a bug in how xAxis.type: 'time' works with axisLabel intervals, which results in symbols always rendering since series-line.showAllSymbol relys on that interval strategy to determine when to hide symbols. This meant line charts with 1500+ series were taking ~30 seconds to load--now ECharts is competitive with uPlot in performance again.
Previously, the workaround here was to hide symbols using symbol: 'none' or showSymbol: false, but this is no longer an option since trigger: 'item' tooltips need symbols to be visible in order to show tooltip content on hover (and trigger 'axis' tooltips can't be used with so many series). LineChart now uses the more stable 'category' xAxis.type implementation, as well as passing data in series.data instead of dataset. Other proposed performance improvements are to enable the LTTB downsampling property.
See: https://localhost:3000/?dashboard=benchmarkDashboard

TODO:

tooltip content: fix metric name showing beside marker
show closest series in tooltip even when not focused on data point (this feature is on EChart's roadmap already)
separate PR with uPlot tooltip for comparison

Oh we don't need this PR anymore ?
I know I'm a bit late in the review for Perses, my apologies for that.

No problem! I should have commented before--found a better approach that doesn't require refactoring the xAxis type and gives us more control over customization. I just need to clean up my branch a little bit so I'll submit that PR after the holidays. Hope you enjoy your break!