Errors on definition-related commands (lsp_finder and preview_definition)

I'm on literally the latest master commits of neovim/lspsaga at the time of writing. In rust source files, if that matters.
<cmd>lua require"lspsaga.provider".lsp_finder()<CR>
Yields: lspsaga/libs.lua:21: bad argument #1 to 'pairs' (table expected, got nil)
<cmd>lua require'lspsaga.provider'.preview_definition()<CR>
Yields: Error executing lua vim/shared.lua:199: Expected table, got nil

does Lspsaga lsp_finder  work?

can you post a gif here ? you lsp server start? I can't reproduce your issue.

Me swapping between <leader>gd (preview def) and gd (goto def) ^.
For sure, my lsp is starting. I'm able to use the vanilla <Cmd>lua vim.lsp.buf.*() commands.
Of note, I do have  https://github.com/RishabhRD/nvim-lsputils installed, although I did test with all of its handlers disabled.
On a kind of semi-unrelated note, this plugin seems like a more polished version of lsputils (and more). I wonder it would make sense to use the same interface for this plugin, i.e. to set vim.lsp.handlers['textDocument/*'], so that all the mappings can just be directly off the <Cmd>lua vim.lsp.buf.*() api?

lspsaga has nothing to do with lsputil, I created it in June but only recently made it public, lspsaga will not overewrite any default handler requests

lspsaga/libs.lua:21: bad argument #1 to 'pairs' (table expected, got nil) this is used to get root_dir
https://github.com/glepnir/lspsaga.nvim/blob/8ea260427671cb1da8be453d920592bca68a6ce9/lua/lspsaga/libs.lua#L90-L102
I had check rust-analyzer and rls setting in nvim-lspconfig. they are both table type. so don't know why you got nil , I used
rust-analyzer. and lsp_finder works.

I actually just tried it and i get the same error while routing the vim.lsp.handlers['textDocument/definition'] = require"lspsaga.provider".lsp_finder call like so. So it might just be a matter of documentation of, what i assume is, the intended API nvim wants one to apply custom handlers for builtin lsp functionality?

hmm vim.lsp.handlers['textDocument/definition'] = require"lspsaga.provider".lsp_finder ????????????
lspsaga is not a callback of the built-in lsp, it will request the lsp server. Nothing to do with built-in lsp

https://user-images.githubusercontent.com/41671631/106615238-32228900-65a7-11eb-8c21-a9ecbe7046ab.mov

re handlers:

A light-weight lsp plugin based on neovim built-in lsp with highly performance UI.

So I had assumed this plugin was primarily to produce a more ergonomic experience using the builtin lsp. And given that, my impression of how people (slash i assume plugins) are supposed to interact with it are through those handlers. At least to keep a consistent API for mappings. And it appears to at least work similarly to lsputils in that regard, where I can invoke lspsaga through the above handler, using the strategy of mappings that the lspconfig plugin suggests:
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', '<Cmd>lua vim.lsp.buf.definition()<CR>', opts)
fwiw, my rust-analyzer setup looks like so:
lsp.rust_analyzer.setup({
  on_attach = on_attach,
  settings = {
    ["rust-analyzer"] = {
      checkOnSave = {
        extraArgs = "--target-dir /tmp/rust-analyzer-check"
      }
    }
  }
})

Adding filetypes = {'rust'}, into there, oddly, changes the value going into has_value (which is where the error is happening) into vim.empty_dict() when printed.

A light-weight lsp plugin based on neovim built-in lsp with highly performance UI.

Because you need to use the built-in lsp to start the server. lspsaga will not start any language servers

So I had assumed this plugin was primarily to produce a more ergonomic experience using the builtin lsp. And given that, my impression of how people (slash i assume plugins) are supposed to interact with it are through those handlers. At least to keep a consistent API for mappings.

What is consistent api mapping? I am a neovim lsp code developer. The built-in lsp has its own callback. Any third-party plug-in should not rewrite it, it will easily cause confusion. lspsaga will send the lsp request protocol.

I can't reproduce your problem first, usage refer to the video .if you still has problem  I need you provide a min config that can reproduce .


Update GCMR Assembly Model Description

Closes  #309

Job VTB Documentation on 2e5f9e2 wanted to post the following:
View the site here
This comment will be updated on new commits.

@nstauff or @aabdelhameedd for signing off on the modification


fix file resource bug

Pull Request Test Coverage Report for Build 91752

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.526%

Totals

Change from base Build 91739:
0.0%

Covered Lines:
5868

Relevant Lines:
7668

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


Reenable hprotoc

Checklist:

[x] Meaningful commit message - please not Update build-constraints.yml

[x] At least 30 minutes have passed since Hackage upload

[ ] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package-$version
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

Merged, thanks

[ 6 of 13] Compiling Text.ProtocolBuffers.ProtoCompile.BreakRecursion ( Text/ProtocolBuffers/ProtoCompile/BreakRecursion.hs, dist/build/Text/ProtocolBuffers/ProtoCompile/BreakRecursion.o )

Text/ProtocolBuffers/ProtoCompile/BreakRecursion.hs:202:10: error:
    • No instance for (Semigroup Result)
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid Result’
    |
202 | instance Monoid Result where
    |          ^^^^^^^^^^^^^

Step 3... ;)

commit b0e5f87 (forgot to link this ticket)


Add config options 'domain'

The value will be used when the backend has to generate urls which
point to the app. Using the hostname sent in the HTTP header is
dangerous since an attacker could send a request with a spoofed
HTTP header (HTTP Host header attack).
If the config is not set a loud warning is printed on startup and
the hostname of the HTTP header is used nevertheless.

PR for #847
This has one problem though: It breaks livereload in its current implementation.
The problem is that the port of the server has to be appended to the new config option, so the value is for example http://localhost:3000. Then in the template the livereload port is appended: http://localhost:3000:35729.
Omitting the port would break the URLs generated by the backend such as the passwort reset link. I also thought about just using config.domain + config.port to build the url. But this would break on Heroku. On Heroku config.port is set to some arbitary port even though the app is reachable under port 80.
On possibility would be to use config.domain.split(':')[0] to extract the host for livereload.

This works for the Livereload:
    <script type="text/javascript">
      document.write('\x3Cscript type="text/javascript" src="//' + window.location.hostname + ':35729/livereload.js">\x3C/script>');
    </script>

...then it doesn't matter if the thing is served at localhost, docker, staging... JS always picks up the current domain from the address bar.

Jup, that should work.
Hmm... is the content of app.locals considered as API? Then changing app.locals.host would be a breaking change.

What about: If a domain isn't set in the config, just default to req.hostname?

Alright, I just pushed some changes. The domain is now retrieved via req.headers.host which includes the port and should also work behind a proxy.
AFAICS the remaining issue is the hard-coded port in development.js. Omitting the port in config.domain would break urls generated by the app since the port has to be included.
So we could:

We could remove the default value in development.js. That would trigger the 'domain is not set' warning

We could ommit the warning if NODE_ENV=development

We could add a new config variable config.defaultPort and use it in default.js for config.port and in develepment.js for config.domain

@Koblaid about the port number issue, we already have a port number config option, can't we use it? for example:
domain: 'localhost' + port
or will that not solve the issue?

This works on localhost but it will break if the app is running for example on Heroku. Heroku sets the PORT environment variable to some arbitary port, while the app is reachable with port 80 from the outside.

@Koblaid that's true also for any proxy configuration, say Nginx/Phusion Passenger.

@Koblaid see my latest comment for this PR: https://github.com/meanjs/mean/pull/871#discussion_r41043772

@lirantal Oh, sorry, at first I didn't know that you were still waiting for an answer and than I was busy ;-)
Well, I don't know how it could work out of the box without hard-coding the domain in development mode. (By the way: the default port is also hard-coded in default.js, isn't that the same thing?)
We could drop the domain line in development.js but then the user would be greeted with the "domain config is empty" warning, until he sets the option.
Or we could separate the default port in default.js so we would have two port variables:

one under which the node instance is reachable
one under which the site is reachable from the outside

Than the first one could be used to start up the server and the second one could be used to dynamically generate the domain.
But I think that would only make things more complicated.

@Koblaid see my latest comments on the code section to finalize this PR.
@ilanbiala do you consider this a breaking change due to the domain/livereload change?

Alright, I hope its ok now. The livereload-tag is now generated as proposed, and the domain-config in development.js and test.js is set to a default value but overwritable by the environment variable.
I wasn't sure about including the port into the default value for the domain-config in develepment.js and test.js. Should I remove it? I think it's necessary for URLs generated from the config to be correct. But I can still remove it if you like.

Still needs to be rebased before we can even consider merging it.

@Koblaid see my latest comments about the port and:

update the PR to solve the conflicts
squash

can you think of adding some test to check the domain configuration works or this is just plain config option that has no point in testing?

@lirantal

Changed development.js according to your latest comment
rebased on master
squashed

Hmm... I didn't see any existing tests for the configuration. Are there any?
If not, what kind of tests do you have in mind? Checking if the configuration is correctly created for the different modes? Or that the created configuration acutally works for the different setups (with proxy, without proxy, ...)?
Anyway, I think creating a test infrastructure for the configuration should be a separate issue/PR.

@Koblaid tests always come with the implementation, that way we don't forget about them. Add whatever tests you see as meaningful and we'll go from there.

@Koblaid We've defined configuration tests here. Perhaps a test could be written that is similar to some of these?
https://github.com/meanjs/mean/blob/master/modules/core/tests/server/core.server.config.tests.js

@Koblaid Any update on this?

I think it makes sense to move this to the 0.5.0 Milestone since there hasn't been any movement on this for over a week.
Also, it seems that the Token Auth implementation might revolve around the domain/host options. We might just want to address this once we have a better idea on what Token Auth changes on the server-side.

I second @mleanos that we should push this back.

Sure let's move to 0.5.0 so it doesn't block anything (I don't see how it's related to the token auth though)

@lirantal I thought the domain/host may be related because in the proposed PR for Token Auth ( #1040 ), there were some changes to the API base URL; perhaps this isn't really related, but wanted to point it out.

@mleanos @codydaig can we discuss this again or?

@lirantal Sure. I think the changes introduced in https://github.com/meanjs/mean/pull/1101 are related. Correct me if I'm wrong.
Is there anything in particular that you'd like to discuss?

@melanos right, and I think we need to somehow merge this PR with the changes made with #1101

@Koblaid would you like to make the changes required here to accommodate for the livereload update?

#1101 was merged in. What's left to do on this PR?

@codydaig let's close it for now.
@Koblaid can re-open/comment in the future if required.


Sometimes (esp at startup) shows two notifications that Paste as Bicep is taking longer than expected

Due to fixing #9658 this shouldn't ever happen anymore unless the user actually pastes twice in a row.


fixed types for Object.values and Object.entries

Fixes #26010

@typescript-bot test it

Once #58372 🙂 lands the overload should probably be replaced by a simple union.

fixes #58376

Does this also need some sort of handling for objects with symbol type keys? Properties with such keys won't be returned, but Object.values() and Object.entries() should still be callable on such objects.

Does this also need some sort of handling for objects with symbol type keys? Properties with such keys won't be returned, but Object.values() and Object.entries() should still accept such objects.

There is already an overload for values and entries, so they will be accepted.
for example,  values(o: {}): any[];  Of course the any[] return type is not ideal, but I'm not sure anything else is workable for the fallback.

Thanks, I didn't look beyond the context of the diff :)
Locally I use something like this:
type KeyToString<K extends number | string | symbol> = K extends string ? K : K extends number ? `${K}` : never;

keys<K extends number | string | symbol, V>(o: Record<K, V>): KeyToString<K>[];
entries<K extends number | string | symbol, V>(o: Record<K, V>): [KeyToString<K>, V][];
values<K extends number | string | symbol, V>(o: Record<K, V>): V[];

but aside from being too complex for the standard library, that probably opens up a whole can of worms if applied to everything (works well for my code though!).


draw:drawvertex is not triggered

I want to get the event whenever a new vertext is created while the user is drawing a Line. The draw:drawvertex Event seems to be appropriate for this, but it does not seem to be triggered, ever.
I tried wring it up like this:
map.on('draw:drawvertex', function (e) {
    console.dir(e);
});

But it is never fired.
Here is a reproducible example:
https://jsfiddle.net/Devdattat/sabbx2d9/

My guess is that you seem to be using version 0.2.3 and that event was added in 0.2.4-dev

@SirenHound You were right. This functionality is available only in the 0.3.0 or the 0.3.0-dev versions of the Leaflet.draw Library.


Quest Plugin + Magic Plugin

Hello, I need the support of Magich plugin! I download the add-on module specified by you in the links for Magick, but unfortunately it does not install on my core spigot 1.12.2! And when I hit the magic, I do not count the monsters that I kill. Is it possible to fix this? With the plug-in magic many players farm mobs with magic and not with a sword this creates some kind of convenience when complaints are received that magic does not count the quests and kill the mobs

Firstly, it's not for "Magich" or "Magick", this is for NathanWolf's "Magic" plugin.
Secondly, that module is not developed by me. Seek help from NathanWolf here:
https://github.com/elBukkit/MagicPlugin/issues


Max Including Dust

If I use the "Max" link, I expect all of that particular currency to be used. It's okay to truncate the input for display purposes, but the remainder should be included in the transaction so that I'm not left with some stablecoin dust.

Where is "Max" link?

If I click "Max" and submit this transaction, it will swap 151.552942 DAI but my balance is currently<PHONE_NUMBER>21692815265 DAI. I don't want to be left with 0.000000421692815265 DAI after the swap.

I have done it and sent "commit" request.

@Michael1104Smith It does not look like you are actively working on this issue so un-assigning it....

done in #977


MXFileStore: Store events JSON strings instead of doing a lot of things in [MXEvent encodeWithCoder]

The app, with accounts with hundreds of room, spends a lot of time in saving events - specially when saving all state events of a room.
A significant part of this time is spent when serialising the event data in [MXEvent encodeWithCoder]:

which is a pity because we receive these events in serialised form from a JSON response form the homeserver.
Proposal:
Hack the mechanism in the AFNetworking JSON deserialiser to keep the original JSON string of the event from homeserver responses and use this JSON string when saving this event.
The JSON string object can be released once the event is stored to save memory.
Some tests must be done because this change must not affect events loading which is more visible for the end-user.

For reference, here are the figures for loading and storing on a 5s the 13184 state events of Matrix HQ (https://riot.im/develop/#/room/#matrix:matrix.org):

Loading (ms)
Storing (ms)

1000
2500

Loading is currently done with [NSKeyedUnarchiver unarchiveObjectWithFile:]
Storing with [NSKeyedArchiver archiveRootObject:toFile:]

The AFNetworking JSON deserialiser is based on NSJSONSerialization which is a closed black box which converts a whole NSData object to an NSDictionary. We have no control during the parsing. NSJSONSerialization has no delegates. It does not send any notifications on incremental parsing. So we cannot get intermediate JSON strings :/
I gave a try to SBJson5 (http://www.sbjson.org/). It offers more control but it is much more slower.
Parsing the JSON of the an initial sync response gives:

\
Parsing time (ms)

NSJSONSerialization
614

SBJSON
4979


Custom tree view: Collapse should be named Collapse All

Issue Type: Bug
Using extension code:
vscode.window.createTreeView(`${EXTENSION_NAME}.tree`, {
	treeDataProvider: provider,
	showCollapseAll: true,
});

Button title is showing Collapse.

VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17763

I'm still seeing this using the vscode tree view sample extension:


Request: Show used language in sourcecode block

I thought it would be a handy feature, if the used language is shown in the sourcecode block.
Obsidian for example shows the language used in the top right corner, like in the image below.

From my understanding any fancy frames are out of scope for this project. You can do that stuff manually by eg. passing the frame argument to codelst::sourcecode and using showybox. Just put that stuff in a function that determines the language used (e.g. if you read from file by getting the file extension) and then adds the appropriate element to the frame.
My final code in #17 does similarish things if you want a reference.


helm no strict version checking for dependencies

helm version: 3.15.2
kubectl version:
Client Version: v1.26.1
Kustomize Version: v4.5.7

Cloud Provider/Platform (AKS, GKE, Minikube etc.): Openshift
Hello there!
Currently got an issue with the dependencies versionning implementation, as described here: https://github.com/Masterminds/semver/issues/242
I currently have multiple tagged dependencies versions in an helm registry, the currently available versions are:

mychart:1.0.0
mychart:1.0.0-mytag
mychart:1.0.0-mytag-anothertag
mychart:1.0.0+mytag
mychart:1.0.0+mytag-anothertag

my Chart.yaml have the following dependency:
dependencies:
- name: mychart
  repository: "@myhelmrepository"
  version: =1.0.0

With how the version checking is implemented in helm, and when I try to use the helm build dependency, It will only fetch the 1.0.0+mytag-anothertag version with this constraint.
When checking the helm source code, I found that the first version it find is the 1.0.0+mytag-anothertag, the sorted versions order is the following:

mychart:1.0.0+mytag-anothertag
mychart:1.0.0+mytag
mychart:1.0.0
mychart:1.0.0-mytag
mychart:1.0.0-mytag-anothertag

At least I was thinking that the order would be something like this:

mychart:1.0.0
mychart:1.0.0+mytag
mychart:1.0.0+mytag-anothertag
mychart:1.0.0-mytag
mychart:1.0.0-mytag-anothertag

I think this is very confusing, is it something expected? oO
PS: The + character was used for oci repositories in mind in the first place

Please read https://semver.org/#spec-item-9 and https://semver.org/#spec-item-10, and in particular how these affect version ordering

Thus two versions that differ only in the build metadata, have the same precedence.

This is exactly why I wanted to have a really strictly equal version, build metadata included
With the following versions:

1.0.0
1.0.0+toto
1.0.0+titi
1.0.0+meh

If I filter it with =1.0.0 it will work, so I have no way to filter only on the 1.0.0 version by using the available contraints here :/


fix: some test-ci-all.sh reported by users

Codecov Report
Patch and project coverage have no change.

Comparison is base (b565ce8) 63.91% compared to head (63a6955) 63.91%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1954   +/-   ##
=======================================
  Coverage   63.91%   63.91%
=======================================
  Files         137      137
  Lines       26935    26935
=======================================
  Hits        17215    17215
  Misses       9720     9720

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feat(headless/commerce): add basic plp, search and recs use case examples

I also exposed the sample commerce engine configuration in headless.
CAPI-918

@fbeaudoincoveo In https://github.com/coveo/ui-kit/pull/4079/commits/0020536b8d270e6776f7e63d657b958a7fc606d3, I put the commerce solution type under a CommerceApp, which holds solution-type specific pages. This represents more closely how controllers should actually be used.
https://github.com/coveo/ui-kit/assets/8978908/0d358237-4d04-4c55-b173-d80f33b9e68e


Is a conditional on-success possible?

Is a conditional on-success possible? It doesn't seem to work. I think it would be a nice feature.
---
chain:
  - name: 'validate'
    ref: 'crv_application.validate'
    parameters:
      server_application: "{{ server_application }}"
      server_role: "{{ server_role }}"
      server_environment: "{{ server_environment }}"
      deploy_type: "{{ deploy_type }}"
    on-success: "{% if deploy_type == 'tomcat' %}get_tomcat_hosts{% else %}get_hosts{% endif %}"
    on-failure: 'notify_failure_chatops'

Gave this a quick try to verify and looks like it does not work for task progressions e.g. on-success.
Getting the following error:
error: Failed to get next node "c1". Lookup failed: Unable to find node with name "{% if {{c1.stdout}} == 'c1' %}c3{% else %}c2{% endif %}".
traceback: Traceback (most recent call last):
  File "/opt/stackstorm/runners/action_chain_runner/action_chain_runner.py", line 433, in run
    condition='on-success')
  File "/opt/stackstorm/runners/action_chain_runner/action_chain_runner.py", line 221, in get_next_node
    return self.get_node(current_node.on_success, raise_on_failure=True)
  File "/opt/stackstorm/runners/action_chain_runner/action_chain_runner.py", line 213, in get_node
    (node_name))
ActionRunnerException: Unable to find node with name "{% if {{c1.stdout}} == 'c1' %}c3{% else %}c2{% endif %}".

Although they are supported with parameters: https://docs.stackstorm.com/actionchain.html#variables
Yes, will be good to have.

It's possible in Mistral workflows, but not in actionchains. Normally, if you find yourself in need of a conditional on-success, it's probably time to convert your chain to Mistral anyway :)


ListBox SelectedItem issue

I have two views. The first one:
  <Design.DataContext>
    <vm:CurveTypesListViewModel/>
  </Design.DataContext>

  <StackPanel>
    <ListBox Padding="0" VerticalAlignment="Top" Background="#00000000" BorderThickness="0" Height="125"
             Items="{DynamicResource CurveTypes}" Margin="0" SelectedItem="{Binding SelectedCurveTypeId}">

... templates, styles...

    </ListBox>

    <!-- to show the current value of SelectedCurveTypeId -->
    <TextBlock Foreground="#00aa99" Text="{Binding SelectedCurveTypeId}"/>
  </StackPanel>

ViewModel:
	public class CurveTypesListViewModel : ViewModelBase
	{
		private CurveTypeId selectedCurveTypeId = CurveTypeId.EXPONENTIAL;
		public CurveTypeId SelectedCurveTypeId
		{
			get => selectedCurveTypeId;
			set => this.RaiseAndSetIfChanged(ref selectedCurveTypeId, value);
		}

		public CurveTypesListViewModel()
		{

		}
	}

Note the default value for selectedCurveTypeId.
In design mode I can see that Exponental is properly selected. TextBlock also shows Exponental.
The second view contains the first one. Simply:
  <Design.DataContext>
    <vm:CurveEditorViewModel/>
  </Design.DataContext>

<v:CurveTypesListView Content="{Binding CurveTypesList}"/>

ViewModel:
	public class CurveEditorViewModel : ViewModelBase
	{
		private IGrailConfigurationProvider provider;

		public CurveTypesListViewModel CurveTypesList { get; private set; }

		public CurveEditorViewModel()
			: this(new TestConfigurationProvider(), new MockUtilityComputation())
		{

		}

		public CurveEditorViewModel(IGrailConfigurationProvider provider, IUtilityComputation utility)
		{
			this.provider = provider;

			CurveTypesList = new CurveTypesListViewModel();
		}
	}

In both Designer for second view and in Runtime mode, the ListBox have no selected item.  TextBlock on the bottom still shows the correct value.
Tested with:
Avalonia nightly 0.8.999-cibuild0003269-beta
.NET Core 2.1
It is worth noting that the issue does not occurs on Avalonia  0.8.0

@FrozenShade666 could you test this with latest Avalonia nightly? There have been quite a few improvements to the selection code recently.

Tested with 0.8.999-cibuild0003941-beta, the issue still exists.

@FrozenShade666 i've tried reproducing this but I'm unable to quite understand how to. Do you think you could provide a minimal repro for me to take a look at?

Ok, tomorrow I'll give you something.

It wasn't so simple to reproduce it, but here it is:

the first list lies directly on MainWindow, the second one is inside a ViewModel. Both of them uses the same items source, which is a DynamicResource object. Both of them have their SelectedListItem initialized.
The problem occurs only with that DynamicResource EnumValuesList, There is nothing wrong when items are bound to some locally created ObservableCollectionExtended. Tested on Avalonia 0.8.999-cibuild0003941-beta.
Everything worked well on v 0.8.0, .Net Core 2.1
Here is the code.
MainWindowViewModel.cs:
	namespace GrailConfigurator.ViewModels
	{
		public enum TestEnum
		{
			aaa,
			bbb,
			ccc,
			ddd,
			eee
		}

		public class MainWindowViewModel : ViewModelBase
		{
			private TestEnum selectedListItem = TestEnum.ccc;
			public TestEnum SelectedListItem
			{
				get => selectedListItem;
				set => this.RaiseAndSetIfChanged(ref selectedListItem, value);
			}

			public TestViewModel TestVM { get; private set; }

			public MainWindowViewModel()
			{
				TestVM = new TestViewModel();
			}
		}
	}

MainWindow.xaml:
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:GrailConfigurator.ViewModels;assembly=GrailConfigurator"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="350"
        x:Class="GrailConfigurator.Views.MainWindow"
        Icon="/Assets/avalonia-logo.ico"
        Title="Grail Configurator"
        Background="{DynamicResource BackgroundBrush}"
        xmlns:control="clr-namespace:GrailConfigurator.Controls;assembly=GrailConfigurator"
        xmlns:v="clr-namespace:GrailConfigurator.Views;assembly=GrailConfigurator"
        >

  <Design.DataContext>
    <vm:MainWindowViewModel />
  </Design.DataContext>

  <StackPanel>

    <ListBox Items="{DynamicResource TestEnumValues}" SelectedItem="{Binding SelectedListItem}"/>

    <Panel Height="20"/>

    <v:TestView Content="{Binding TestVM}"/>

  </StackPanel>
</Window>

TestViewModel.cs:
namespace GrailConfigurator.ViewModels
{
	public class TestViewModel : ViewModelBase
	{
		private TestEnum selectedListItem = TestEnum.ccc;
		public TestEnum SelectedListItem
		{
			get => selectedListItem;
			set => this.RaiseAndSetIfChanged(ref selectedListItem, value);
		}

		public TestViewModel()
		{

		}

	}
}

TestView.xaml:
<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="GrailConfigurator.Views.TestView"
             >

  <ListBox Items="{DynamicResource TestEnumValues}" SelectedItem="{Binding SelectedListItem}"/>

</UserControl>

App.xaml, add to Application.Resources:
<utils:EnumValuesList x:Key="TestEnumValues" >GrailConfigurator.ViewModels.TestEnum</utils:EnumValuesList>

EnumValuesList.cs:
namespace GrailConfigurator.Utils
{
	[TypeConverter(typeof(EnumValuesListConverter))]
	public class EnumValuesList : ReadOnlyObservableCollection<Enum>
	{
		public EnumValuesList(ObservableCollection<Enum> source)
	:		base(source)
		{

		}

		public static ObservableCollection<Enum> CreateObservableCollection(string source)
		{
			if (source == null) throw new ArgumentNullException(nameof(source));
			if (source.Length == 0) throw new FormatException();

			Type t = Type.GetType(source);
			if (!t.IsEnum) throw new ArgumentException("Type must be an Enum");

			var list = new ObservableCollection<Enum>();

			foreach (var value in Enum.GetValues(t))
			{
				list.Add((Enum)value);
			}

			return list;
		}

		public static EnumValuesList Parse(string source)
		{
			var list = CreateObservableCollection(source);

			return new EnumValuesList(list);
		}

	}

	public class EnumValuesListConverter : TypeConverter
	{
		public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
		{
			return sourceType == typeof(string);
		}

		public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
		{
			return EnumValuesList.Parse((string)value);
		}
	}
}

@FrozenShade666 sorry it's taken so long to look at this. I have a rather large backlog!
I think in the meantime this has been fixed - I just tried your repro with the latest from the 0.9 branch and it seemed to work. If you're still encountering this problem with newer releases, do you think you could put together a repro I can e.g. check out from GitHub and try? Could be that I got something wrong in assembling your repro above.


Solved compilation problems on my system.

I just added the language extension ImpredicativeTypes in the Internal module, and solved a conflict in imports.

Closed via b5b0ef3b0c3e8d7b1d2cde63177b86b0774b0df3. Turns out (as I'd hoped/expected) that the impredicative types warning was a false alarm.


Deprecated web_path in favor of web_paths for WebLoader

I completed this TODO and also fixed the sitemap tests and xml so it passes and uses the latest langchain website and sitemap.
# TODO: Deprecate web_path in favor of web_paths, and remove this
# left like this because there are a number of loaders that expect single
# urls
if isinstance(web_path, str):
self.web_paths = [web_path]
elif isinstance(web_path, List):
self.web_paths = web_path
WebBaseLoader should also still work with everything that relies on it still. If there are more tests I need to run for the implementation, let me know.
Twitter @Elapse_ai

passed checks
@eyurtsev @hwchase17


Item Piles Fit

Currently, when griddy's container items are moved through the Item Piles module, the items contained in them remain in the original actor, and it should be necessary to be able to transfer the contents of the container items when they are transferred.
I tried to implement it through the Hook and API provided by Item Piles, but the bugs caused are beyond my ability. I hope to have native support.

I cannot control what other modules do with items. I will look at item piles and maybe ask the dev to see if I can figure out how to use the API to accomplish this.


Should we build with STL and/or ABSEIL support?

Comment:
Looks like we're currently not building with STL or Abseil support. At least enabling STL would be an ABI break so we should probably wait until a patch version to prevent breaking folks if we want to enable it.
See:

abseil: https://github.com/open-telemetry/opentelemetry-cpp/blob/v1.6.0/api/CMakeLists.txt#L44
STL: https://github.com/open-telemetry/opentelemetry-cpp/blob/v1.6.0/api/CMakeLists.txt#L55

We can probably build with abseil and get two bird with one stone (since on C++17, abseil will already mostly use STL for its types).

We can probably build with abseil and get two bird with one stone (since on C++17, abseil will already mostly use STL for its types).

Abseil is a non-trivial dependency with less than ideal versioning where I'd be -1 on making that the default build.

Meh, it's already everywhere (including now protobuf's API). 🤷
Especially as I expect most users of this lib to come through arrow, which already depends on abseil.

Abseil is a non-trivial dependency with less than ideal versioning where I'd be -1 on making that the default build.

As of #48, opentelemetry will depend on abseil (through protobuf 4.x), so this point is moot. Not sure if we gain anything by flipping WITH_ABSEIL though? CC @lidavidm

Yeah, and additionally they've said upstream that C++17 support effectively requires WITH_STL.
From a quick search, the flag still configures whether it tries to link some abseil libraries into OTel. But it's overridden in the source itself via ifdefs, so I say it's a pointless flag and we just use WITH_STL.
(Also, if you don't use WITH_STL and don't use WITH_ABSEIL, it just pulls a vendored copy anyways. :facepalm:)


dpn feature request

I found DPN:https://arxiv.org/abs/1707.01629 is implemented by MXNet:https://github.com/cypw/DPNs but I did not found DPN in MXNet source code, May I reimplement it, verify it an contribute to MXNet? Or adjust it to MXNet?

If you can reproduce it in MXNet, contribution will be great!

@qingzhouzhen, Can you reimplement NASNet-A_Mobile_224 and NASNet-A_Large_331? The former has 0.74 top-1 accuracy on ImageNet and has the same FLOPS with Mobilenet(0.708 top-1), the latter has 0.827 top-1 accuracy with only 9 GFlops(better than DPN which is already implemented by MXNet). Here is some reference.

OK, give me some time @chinakook

I had reimplemented nasnet_large https://github.com/qingzhouzhen/incubator-mxnet/blob/nasnet/python/mxnet/gluon/model_zoo/vision/nasnet.py which refers to Torch implement and Tensorflow implement, but I have no so many GPUs to train the model, any one could work on whis would be great.


Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\

This issue was first raised as Issue 1983.
I now have this problem with a Asp.Net MVC Core 2.0 Site running on IIS.
I have given Read/Write access to the  C:\WINDOWS\system32\config\systemprofile folder for IIS_IUSRS
Please tell what I need to do to fix this issue?
Log is as follows:
fail: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[48]
An error occurred while reading the key ring.
System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\540a38ec-39b3-4564-be0e-5356394e45b3.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
Hosting environment: Production
Content root path: C:\CoreWebSites\CrmWebSite
Now listening on: http://localhost:12880
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[48]
An error occurred while reading the key ring.
System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\30a60fd5-9b59-4236-8932-a95ac8dd4159.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information.
System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. ---> System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\30a60fd5-9b59-4236-8932-a95ac8dd4159.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)
at Microsoft.AspNetCore.Session.SessionMiddleware.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
fail: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[48]
An error occurred while reading the key ring.
System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\869f9968-7cfb-4b40-9b33-ce5da6197eb3.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An exception was thrown attempting to execute the error handler.
System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. ---> System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\869f9968-7cfb-4b40-9b33-ce5da6197eb3.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)
at Microsoft.AspNetCore.Session.SessionMiddleware.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLGA3SCUNOPN", Request id "0HLGA3SCUNOPN:00000001": An unhandled exception was thrown by the application.
System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. ---> System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys\30a60fd5-9b59-4236-8932-a95ac8dd4159.tmp' is denied.
at System.IO.Win32FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElementCore(XElement element, String filename)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.StoreElement(XElement element, String friendlyName)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)
at Microsoft.AspNetCore.Session.SessionMiddleware.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame`1.d__2.MoveNext()

No longer the problem

@ZackTech  it would be nice if you could share "how was the problem resolved?" :)

I've same problem with a fresh .NET Core 3.0 environment.. how can I solve this?

I solved it by making the Application Pool of the web app to have some user privilege that has access to that folder, instead of the default (typing from mobile so I can't double check)


how to configure to run in a subdir?

is there a way to set this image to run under a subdir, such as http://example.com/pbx

I just comitted a new release 1.1 which fixes a few bugs that I have encountered in the past few weeks trying to get UCP working, I also added the new environment variable WEBROOT. You would use it like so: WEBROOT=/var/www/html/pbx which should give you what you are after! Do let me know if it is working for you. The Docker Hub Image will take about 6 hours to appear.

Thank you for your rapid response. I am going to try this out soon!

I did a docker-compose down; docker-compose pull, and it downloaded a newer image... then I deleted previous directories, and edited my docker-compose like the following:
freepbx-app:
  container_name: freepbx-app
  hostname: mydomain
  image: 'tiredofit/freepbx:latest'
  ports:
    - 5060:5060
    - 5160:5160
    - 18000:20000/udp
    - 805:80
  volumes:
    - ./certs:/certs
    - ./data:/data
    - ./logs:/var/log/asterisk
    - ./data/www:/var/www/html
    - ./db:/var/lib/mysql
    - './configure.sh:/usr/local/bin/configure.sh'
  environment:
    - VIRTUAL_HOST=mydomain
    - VIRTUAL_PORT=80
    - ZABBIX_HOSTNAME=freepbx-app
    - RTP_START=18000
    - RTP_FINISH=20000
    - DB_EMBEDDED=TRUE
    - WEBROOT=/var/www/html/pbx
  restart: always
  cap_add:
    - NET_ADMIN

But reaching from the browser I got:
Not Found
The requested URL /pbx/ was not found on this server.

Apache/2.4.25 (Debian) Server at

I checked /var/www/html and all files are in the root, there is no pbx dir inside html.

Nuts. Back to drawing board for me. Will check in in ~ 2 hours with thoughts.

@junalmeida I just tried a fresh install with the following set in my docker-compose.yml
      - WEBROOT=/var/www/html/pbx
And it seems to be working without problems. If you have an existing install, perhaps take a copy of /data/www for backup, and then just create a /data/www/pbx moving all files inside of it?

Maybe I have a tip - amportal.conf:
# FreePBX Web Root Dir
# Default Value: /var/www/html
AMPWEBROOT=/var/www/html

@tiredofit I did a docker-compose down, and deleted all directories, fresh install here I suppose :(

What I did so far:
root@alma-dev:/data/freepbx# ls
certs  data  db  docker-compose.yml  logs
root@alma-dev:/data/freepbx# docker-compose down
Stopping freepbx-app ... done
Removing freepbx-app ... done
root@alma-dev:/data/freepbx# rm -rf certs data db logs
root@alma-dev:/data/freepbx# ls
docker-compose.yml
root@alma-dev:/data/freepbx# docker-compose up -d
Creating freepbx-app

Then analysing the logs:
Downloading module 'framework'
freepbx-app    | Processing framework
freepbx-app    | Downloading...
freepbx-app    |         0/11703492 [>---------------------------]   0%
freepbx-app    |   1176464/11703492 [==>-------------------------]  10%
freepbx-app    |   2347472/11703492 [=====>----------------------]  20%
freepbx-app    |   3515728/11703492 [========>-------------------]  30%
freepbx-app    |   4682664/11703492 [===========>----------------]  40%
freepbx-app    |   5857664/11703492 [==============>-------------]  50%
freepbx-app    |   7027416/11703492 [================>-----------]  60%
freepbx-app    |   8192952/11703492 [===================>--------]  70%
freepbx-app    |   9366696/11703492 [======================>-----]  80%
freepbx-app    |  10537704/11703492 [=========================>--]  90%
freepbx-app    |
freepbx-app    | Finished downloading
freepbx-app    | Extracting...Done
freepbx-app    | Download completed in 14 seconds
freepbx-app    | Updating tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications...Done
freepbx-app    | installing files to /var/www/html..done
freepbx-app    | installing files to /var/lib/asterisk/bin..done
freepbx-app    | installing files to /var/lib/asterisk/agi-bin..done
freepbx-app    | Checking for upgrades..
freepbx-app    | No further upgrades necessary
freepbx-app    | framework file install done, removing packages from module
freepbx-app    | file/directory: /var/www/html/admin/modules/framework/amp_conf removed successfully
freepbx-app    | file/directory: /var/www/html/admin/modules/framework/upgrades removed successfully
freepbx-app    | file/directory: /var/www/html/admin/modules/framework/start_asterisk removed successfully
freepbx-app    | file/directory: /var/www/html/admin/modules/framework/install removed successfully
freepbx-app    | file/directory: /var/www/html/admin/modules/framework/installlib removed successfully

See the message "installing files to"
So strange that it works for you but not for me :(

Yes very strange. During my install I get the following:
Downloading module 'framework'
bell-tiredofit-ca-app    | Processing framework
bell-tiredofit-ca-app    | Downloading...
bell-tiredofit-ca-app    |         0/11703492 [>---------------------------]   0%
bell-tiredofit-ca-db     | ** [cron] Starting cron
bell-tiredofit-ca-app    |   1173728/11703492 [==>-------------------------]  10%
bell-tiredofit-ca-app    |   2342016/11703492 [=====>----------------------]  20%
bell-tiredofit-ca-app    |   3514392/11703492 [========>-------------------]  30%
bell-tiredofit-ca-app    |   4682552/11703492 [===========>----------------]  40%
bell-tiredofit-ca-app    |   5853672/11703492 [==============>-------------]  50%
bell-tiredofit-ca-app    |   7028544/11703492 [================>-----------]  60%
bell-tiredofit-ca-app    |   8192952/11703492 [===================>--------]  70%
bell-tiredofit-ca-app    |   9369416/11703492 [======================>-----]  80%
bell-tiredofit-ca-app    |
bell-tiredofit-ca-app    | Finished downloading
bell-tiredofit-ca-app    |  10533440/11703492 [=========================>--]  90%
bell-tiredofit-ca-app    | Extracting...Done
bell-tiredofit-ca-app    | Download completed in 16 seconds
bell-tiredofit-ca-app    | Updating tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications...Done
bell-tiredofit-ca-app    | installing files to /var/www/html/pbx..done
bell-tiredofit-ca-app    | installing files to /var/lib/asterisk/bin..done
bell-tiredofit-ca-app    | installing files to /var/lib/asterisk/agi-bin..done

Can I see a copy of your docker-compose with necessary juicy bits blanked out?

Sure:
root@alma-dev:/data/freepbx# cat docker-compose.yml
freepbx-app:
  container_name: freepbx-app
  hostname: sis.ferloassessoria.com.br
  image: 'tiredofit/freepbx:latest'
  ports:
    - 5060:5060
    - 5160:5160
    - 18000:20000/udp
    - 805:80
  volumes:
    - ./certs:/certs
    - ./data:/data
    - ./logs:/var/log/asterisk
    #- ./data/www:/var/www/html
    - ./db:/var/lib/mysql
  environment:
    - WEBROOT=/var/www/html/pbx
    - VIRTUAL_HOST=sis.ferloassessoria.com.br
    - VIRTUAL_PORT=80
    #- LETSENCRYPT_HOST=sis.ferloassessoria.com.br
    #-<EMAIL_ADDRESS>    - ZABBIX_HOSTNAME=freepbx-app
    - RTP_START=18000
    - RTP_FINISH=20000
    - DB_EMBEDDED=TRUE
  restart: always
  cap_add:
    - NET_ADMIN

All looks good to me! Let's try a docker pull tiredofit/freepbx just in case?

root@alma-dev:/data/freepbx# docker pull tiredofit/freepbx
Using default tag: latest
latest: Pulling from tiredofit/freepbx
Digest: sha256:961ac1c60acaae250004792e3157a49bbdbc79fafc9137e655f74b9bbcfd5442
Status: Image is up to date for tiredofit/freepbx:latest

I found a small error in one of my scripts which might be impacting it. Trying to resubmit to Docker Hub however it is failing. If that is the case I will setup a temporary repo for you to test this change.

Ok, I cant test it!

I guess that I found the problem:
if [ "$DB_EMBEDDED" = "FALSE" ];  then
	./install -n --dbuser=$DB_USER --dbpass=$DB_PASS --dbname=$DB_NAME --cdrdbname=$DB_NAME --webroot=$WEBROOT
else
  ./install -n
fi

Since I am using the db embeeded, I was punished! lol

Good catch!. Let me add that.

Ok, i see your commit. Do you have a testing repo? Docker hub shows no updates.

Looks like the docker hub is blocking me from building as I'm on a free account and used too many of their resources. My other repo is locked behind a corporate LDAP server, so I am sending one up manually..

OK! there should be a new tiredofit/freepbx:latest or tiredofit/freepbx:1.2 available.

It works!
Guess that you can close this issue. Thank you very much.

Thanks for your sleuthing to find where I went wrong!

@tiredofit Hello again.
I did a simple change on the docker-compose file, just adjusting wrong ports. Then I called docker-compose down and up. This time I got an error, and 404 from the browser. Do you have any idea?
Attaching to freepbx-app
freepbx-app    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
freepbx-app    | [s6-init] ensuring user provided files have correct perms...exited 0.
freepbx-app    | [fix-attrs.d] applying ownership & permissions fixes...
freepbx-app    | [fix-attrs.d] 02-zabbix: applying...
freepbx-app    | [fix-attrs.d] 02-zabbix: exited 0.
freepbx-app    | [fix-attrs.d] 03-logrotate: applying...
freepbx-app    | [fix-attrs.d] 03-logrotate: exited 0.
freepbx-app    | [fix-attrs.d] done.
freepbx-app    | [cont-init.d] executing container initialization scripts...
freepbx-app    | [cont-init.d] 01-permissions: executing...
freepbx-app    | **** [permissions] total 0 UIDs modified...
freepbx-app    | **** [permissions] total 0 GIDs modified...
freepbx-app    | [cont-init.d] 01-permissions: exited 0.
freepbx-app    | [cont-init.d] 02-zabbix: executing...
freepbx-app    | [cont-init.d] 02-zabbix: exited 0.
freepbx-app    | [cont-init.d] 03-cron: executing...
freepbx-app    | **** [cron] Disabling Cron
freepbx-app    | [cont-init.d] 03-cron: exited 0.
freepbx-app    | [cont-init.d] 04-fail2ban: executing...
freepbx-app    |
freepbx-app    | ** [fail2ban] Starting Fail2ban
freepbx-app    | Starting authentication failure monitor: fail2ban.
freepbx-app    | [cont-init.d] 04-fail2ban: exited 0.
freepbx-app    | [cont-init.d] 04-smtp: executing...
freepbx-app    | **** [smtp] Disabling SMTP Features
freepbx-app    | [cont-init.d] 04-smtp: exited 0.
freepbx-app    | [cont-init.d] 05-fail2ban: executing...
freepbx-app    |
freepbx-app    | ** [fail2ban] Starting Fail2ban
freepbx-app    | Starting authentication failure monitor: fail2ban.
freepbx-app    | [cont-init.d] 05-fail2ban: exited 0.
freepbx-app    | [cont-init.d] 09-mariadb: executing...
freepbx-app    | Stopping MariaDB database server: mysqld.
freepbx-app    | ** [mysql] New Embedded Database Detected, setting up..
freepbx-app    | Starting MariaDB database server: mysqld.
freepbx-app    | [cont-init.d] 09-mariadb: exited 0.
freepbx-app    | [cont-init.d] 10-freepbx: executing...
freepbx-app    | ** [freepbx] Setting File Permissions
freepbx-app    | ** [freepbx] New Install Detected - Please wait while we fetch FreePBX...
freepbx-app    |
freepbx-app    |
freepbx-app    | STARTING ASTERISK
freepbx-app    | Asterisk Started
freepbx-app    | ** [freepbx] Installing FreePBX
freepbx-app    | Assuming you are Database Root
freepbx-app    | Checking if SELinux is enabled...Its not (good)!
freepbx-app    | Reading /etc/asterisk/asterisk.conf...Done
freepbx-app    | Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Yes. Determined Asterisk version to be: 14.7.6
freepbx-app    | Preliminary checks done. Starting FreePBX Installation
freepbx-app    | Checking if this is a new install...Yes (No /etc/freepbx.conf file detected)
freepbx-app    | Database Root installation checking credentials and permissions..Connected!
freepbx-app    | Initializing FreePBX Settings
freepbx-app    |
freepbx-app    | In utility.functions.php line 207:
freepbx-app    |
freepbx-app    |   fatal error reading freepbx_settings::
freepbx-app    |
freepbx-app    |
freepbx-app    | install [--dbengine DBENGINE] [--dbname DBNAME] [--cdrdbname CDRDBNAME] [--dbuser DBUSER] [--dbpass DBPASS] [--user USER] [--group GROUP] [--dev-links] [--skip-install] [--webroot WEBROOT] [--astetcdir ASTETCDIR] [--astmoddir ASTMODDIR] [--astvarlibdir ASTVARLIBDIR] [--astagidir ASTAGIDIR] [--astspooldir ASTSPOOLDIR] [--astrundir ASTRUNDIR] [--astlogdir ASTLOGDIR] [--ampbin AMPBIN] [--ampsbin AMPSBIN] [--ampcgibin AMPCGIBIN] [--ampplayback AMPPLAYBACK] [-r|--rootdb] [-f|--force]
freepbx-app    |
freepbx-app    | ** [freepbx] Enabling Default Modules
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 133: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 134: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 146: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 149: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 150: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 151: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 152: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 153: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 154: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 155: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 156: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 157: fwconsole: command not found
freepbx-app    | ** [freepbx] Starting Asterisk
freepbx-app    | [cont-init.d] 10-freepbx: exited 0.
freepbx-app    | [cont-init.d] 99-container-init: executing...
freepbx-app    | [cont-init.d] 99-container-init: exited 0.
freepbx-app    | [cont-init.d] done.
freepbx-app    | [services.d] starting services
freepbx-app    | [services.d] done.
freepbx-app    |
freepbx-app    | **** [zabbix] Starting Zabbix Agent

Time to reopen this :)
Let me try some tests on my end with starts and stops and see if I can trap it.

I can't seem to recreate it on my end, but did find that when visiting the root url without the subfolder indexing was enabled. I've added something to disable that functionality with latest image. But back to your problem:
It looks as if somehow it reset and tried to do an install one more time again and failed miserably.
DEBUG=TRUE might be a good setting to set to trace through each step of the script to see what went wrong perhaps?

Going to set debug env in 30 min and then I get back to you

Guess that I got nothing different using DEBUG=TRUE
root@alma-dev:/data/freepbx# docker-compose down
Stopping freepbx-app ... done
Removing freepbx-app ... done
root@alma-dev:/data/freepbx# nano docker-compose.yml
root@alma-dev:/data/freepbx# docker-compose up -d && docker-compose logs -f
Creating freepbx-app
Attaching to freepbx-app
freepbx-app    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
freepbx-app    | [s6-init] ensuring user provided files have correct perms...exited 0.
freepbx-app    | [fix-attrs.d] applying ownership & permissions fixes...
freepbx-app    | [fix-attrs.d] 02-zabbix: applying...
freepbx-app    | [fix-attrs.d] 02-zabbix: exited 0.
freepbx-app    | [fix-attrs.d] 03-logrotate: applying...
freepbx-app    | [fix-attrs.d] 03-logrotate: exited 0.
freepbx-app    | [fix-attrs.d] done.
freepbx-app    | [cont-init.d] executing container initialization scripts...
freepbx-app    | [cont-init.d] 01-permissions: executing...
freepbx-app    | **** [permissions] total 0 UIDs modified...
freepbx-app    | **** [permissions] total 0 GIDs modified...
freepbx-app    | [cont-init.d] 01-permissions: exited 0.
freepbx-app    | [cont-init.d] 02-zabbix: executing...
freepbx-app    | [cont-init.d] 02-zabbix: exited 0.
freepbx-app    | [cont-init.d] 03-cron: executing...
freepbx-app    | **** [cron] Disabling Cron
freepbx-app    | [cont-init.d] 03-cron: exited 0.
freepbx-app    | [cont-init.d] 04-fail2ban: executing...
freepbx-app    |
freepbx-app    | ** [fail2ban] Starting Fail2ban
freepbx-app    | Starting authentication failure monitor: fail2ban.
freepbx-app    | [cont-init.d] 04-fail2ban: exited 0.
freepbx-app    | [cont-init.d] 04-smtp: executing...
freepbx-app    | **** [smtp] Disabling SMTP Features
freepbx-app    | [cont-init.d] 04-smtp: exited 0.
freepbx-app    | [cont-init.d] 05-fail2ban: executing...
freepbx-app    |
freepbx-app    | ** [fail2ban] Starting Fail2ban
freepbx-app    | Starting authentication failure monitor: fail2ban.
freepbx-app    | [cont-init.d] 05-fail2ban: exited 0.
freepbx-app    | [cont-init.d] 09-mariadb: executing...
freepbx-app    | Stopping MariaDB database server: mysqld.
freepbx-app    | ** [mysql] New Embedded Database Detected, setting up..
freepbx-app    | Starting MariaDB database server: mysqld.
freepbx-app    | [cont-init.d] 09-mariadb: exited 0.
freepbx-app    | [cont-init.d] 10-freepbx: executing...
freepbx-app    | ** [freepbx] Setting File Permissions
freepbx-app    | ** [freepbx] New Install Detected - Please wait while we fetch FreePBX...
freepbx-app    |
freepbx-app    |
freepbx-app    | STARTING ASTERISK
freepbx-app    | Asterisk Started
freepbx-app    | ** [freepbx] Installing FreePBX
freepbx-app    | Assuming you are Database Root
freepbx-app    | Checking if SELinux is enabled...Its not (good)!
freepbx-app    | Reading /etc/asterisk/asterisk.conf...Done
freepbx-app    | Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Yes. Determined Asterisk version to be: 14.7.6
freepbx-app    | Preliminary checks done. Starting FreePBX Installation
freepbx-app    | Checking if this is a new install...Yes (No /etc/freepbx.conf file detected)
freepbx-app    | Database Root installation checking credentials and permissions..Connected!
freepbx-app    | Initializing FreePBX Settings
freepbx-app    |
freepbx-app    | In utility.functions.php line 207:
freepbx-app    |
freepbx-app    |   fatal error reading freepbx_settings::
freepbx-app    |
freepbx-app    |
freepbx-app    | install [--dbengine DBENGINE] [--dbname DBNAME] [--cdrdbname CDRDBNAME] [--dbuser DBUSER] [--dbpass DBPASS] [--user USER] [--group GROUP] [--dev-links] [--skip-install] [--webroot WEBROOT] [--astetcdir ASTETCDIR] [--astmoddir ASTMODDIR] [--astvarlibdir ASTVARLIBDIR] [--astagidir ASTAGIDIR] [--astspooldir ASTSPOOLDIR] [--astrundir ASTRUNDIR] [--astlogdir ASTLOGDIR] [--ampbin AMPBIN] [--ampsbin AMPSBIN] [--ampcgibin AMPCGIBIN] [--ampplayback AMPPLAYBACK] [-r|--rootdb] [-f|--force]
freepbx-app    |
freepbx-app    | ** [freepbx] Enabling Default Modules
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 133: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 134: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 146: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 149: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 150: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 151: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 152: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 153: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 154: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 155: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 156: fwconsole: command not found
freepbx-app    | /var/run/s6/etc/cont-init.d/10-freepbx: line 157: fwconsole: command not found
freepbx-app    | ** [freepbx] Starting Asterisk
freepbx-app    | [cont-init.d] 10-freepbx: exited 0.
freepbx-app    | [cont-init.d] 99-container-init: executing...
freepbx-app    | [cont-init.d] 99-container-init: exited 0.
freepbx-app    | [cont-init.d] done.
freepbx-app    | [services.d] starting services
freepbx-app    | [services.d] done.
freepbx-app    |
freepbx-app    | **** [zabbix] Starting Zabbix Agent

I hope that the mysql db is intact, because I 've done all the extensions and trunks setup.

Hmm DEBUG would have been much more verbose.
This is what is concerning me:
** [freepbx] New Install Detected - Please wait while we fetch FreePBX...
The whole install process gets triggered by this one rather large if statement in /etc/cont-init.d/10-freepbx
if [ ! -f $WEBROOT/admin/index.php ]; then
	echo '** [freepbx] New Install Detected - Please wait while we fetch FreePBX...'

Basically just looking for the existence of that one index.php in the admin side of things.. Since you didn't delete your DB folder, easiest would be to move it out of the way, let the new install take its place, turn off the container and then copy the db back overtop of it. An Apply Settings will rewrite the freepbx files for you with the pertinent information. Sorry you are having problems with this. As I've found there are quite a few use cases out there each with their own unique issues.
We are having our own too with getting the UCP WebRTC Phone working nicely behind a reverse proxy - I have had my Systems Admin working on it for the past 2 weeks, and we are close and will share the steps involved to make this work.

followed your suggestion, no error at logs but:
SQLSTATE[HY000] [1698] Access denied for user 'freepbxuser'@'localhost'::SQLSTATE[HY000] [1698] Access denied for user 'freepbxuser'@'localhost'

at the ui

The fun starts here :)
Try to stop the mysql service service mysql stop
Get the password statement from /etc/obdc.ini
Then make a file in /tmp/reset_freepbx
SET PASSWORD FOR 'freepbxuser'@'localhost' = PASSWORD('thepasswordfromodbc.ini');
Then, execute mysqld --init-file=/tmp/reset_freepbx
It'll go through a series of routines to reset the password for you, also probably a good idea to do the same thing for the root password (which is something random, and on the embedded version I can't recall at this time where they store it). Press Ctrl-C or exit the container and restart everything for it to be all back to normal and you should be back in FreePBX. Bit of a pain. When I first tried FreePBX in 2006 it seems they are using very similar install routines and desperately need to update it to todays standards..
Hope this helps!

I guess that I will need to recreate the database :(

my odbc.ini have no password

I strongly recommend the external DB hack I built - for precisely these moments, backups.. I added a new example in the docker-compose.yml recently that does automatic backups for you on a regular basis. This was a bit of a hairy image to build in the first place and I always feel a bit squeamish with having the DB inside all of the containers. This certainly is an image that takes a bit of getting used to..
Oddly enough, all of the PBX Images I have built (freepbx, fusionpbx, elastix, 3cx) are just as complicated.

BTW, I guess that the RTP ports range example on README is still wrong. I saw you have corrected on docker-compose example.


Enhance CAP-Based Service to Refer to Remote Addresses

Tutorial URL: https://developers.sap.com/tutorials/cap-cloudsdk-4-enhance-consume.html
Please specify the step you are referring to
Step6:
  entity Orders as select from my.Orders mixin {     address: Association to Addresses       on address.businessPartner = businessPartner       and address.addressId = addressID;   } into {     *,     address   }
should be bookshop.Orders:
  entity Orders as select from bookshop.Orders mixin {     address: Association to Addresses       on address.businessPartner = businessPartner       and address.addressId = addressID;   } into {     *,     address   }

Oh sorry, I left the definitions so therefore it didn't work in my case... :)


Feature/refactor streaming

Fixes #364
batched() and group_by() are available for streams and fieldlist like objects.
Documentation:

batched: https://earthkit-data--371.org.readthedocs.build/en/371/_api/data/core/fieldlist/index.html#data.core.fieldlist.FieldList.batched
group_by https://earthkit-data--371.org.readthedocs.build/en/371/_api/data/core/fieldlist/index.html#data.core.fieldlist.FieldList.group_by
streams: https://earthkit-data--371.org.readthedocs.build/en/371/guide/streams.html

See examples:
https://earthkit-data--371.org.readthedocs.build/en/371/examples/data_from_stream.html
https://earthkit-data--371.org.readthedocs.build/en/371/examples/url_stream.html
https://earthkit-data--371.org.readthedocs.build/en/371/examples/fdb.html

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Crash generating LostCities Dimension.

Hey there, just updated RFTools, and generated a dimension using ONLY the LostCities dimlet, and it crashes upon loading.
(Yes I'm pretty dumb at modded stuff, but I at least included the crash report)
crash-2017-06-02_15.55.34-server.txt

Should be fixed in 5.01

Updated to 5.01 manually from curseforge site, and it worked for a few seconds, then instantly crashed again :
crash-2017-06-02_16.25.47-server.txt
crash-2017-06-02_16.36.28-server.txt

Actually this is something else

Fixed in 5.02 I hope


python-wrapper not working

It seems that the python-function "darknet.load_network()" returns an integer instead of a tuple, which causes basically all python files in src-python to fail. Example from running darknet_images.py:
0 : compute_capability = 750, cudnn_half = 1, GPU: Tesla T4
Allocating workspace to transfer between CPU and GPU:  50.0 MiB
Traceback (most recent call last):
File "/home/bgd/GIT/darknet/src-python/darknet_images.py", line 442, in
main()
~~~~^^
File "/home/bgd/GIT/darknet/src-python/darknet_images.py", line 430, in main
network, class_names, class_colors = darknet.load_network(
Does anyone have a fix for this?
print out from darknet version:
Darknet V3 "Jazz" v3.0-194-g3b4dc0e7
CUDA runtime version 12030 (v12.3), driver version 12030 (v12.3)
cuDNN version 12060 (v9.5.1), use of half-size floats is ENABLED
=> 0: Tesla T4 [#7.5], 14.6 GiB
OpenCV v4.2.0, Ubuntu 20.04, kvm

The python example is working for me as far as I can tell.

Something is off.
If you look at line 430 in darknet_images.py, darknet.load_network() is expected to return three values.
But in darknet.py, in line 113 load_network() only returns a single value.
let me know if im in the wrong.

If you're on V3, then use the example.py script.  The other scripts are from V2, which I guess haven't been updated yet.


Add ensemble modules and samples

Hm, something is wrong with the PR. Every commit is mentioned here and in main.
But i guess we can ignore it if we squash it.


$__conditionalAll() macro works with the $var syntax but not ${var}

What happened:
When using a template variable checking the "All" option and using the $__conditionalAll(condition, ${templateVar}) macro, the output is not 1=1 when selecting "All".
What you expected to happen:
I expected the output of the macro to be 1=1 when using curly brackets around the variable name. Or maybe update the documentation to be more explicit on the fact that the curly brackets syntax is not supported with the $__conditionalAll() macro.
How to reproduce it (as minimally and precisely as possible):

Create a custom template variable testvar (values: 1,10,20) with the option to include all options checked
Create a dashboard with the following query SELECT 1 WHERE $__conditionalAll( 'condition != All', ${testvar} ) (note the curly brackets)
Select the "All" value for the testvar
Open the Query inspector and look at the request.data.queries[0].rawSql value, you should see "SELECT 1 WHERE 'condition != All'"
Update the query to SELECT 1 WHERE $__conditionalAll( 'condition != All', $testvar ) (no curly brackets around the variable name)
Check that the request.data.queries[0].rawSql value is "SELECT 1 WHERE 1=1"

Anything else we need to know?:
I think the culprit lies in https://github.com/grafana/clickhouse-datasource/blob/0a013e24406cc3b630f3c3b75440dd7fe0388362/src/data/CHDatasource.ts#L240 where only the first character is removed (the $ symbol). Maybe getVariableName() could be used, but it looks like it's not exposed. Otherwise maybe the documentation could be more explicit on the accepted syntax.
Environment:

Grafana version: 9.4.7
Plugin version: 3.1.0

I can confirm I've replicated this and have a PR up to fix it 😊


Not enough space on DEV VM to restore the database

Hi,
As part of database upgrade, I have uploaded the AX 2012 database backup to Azure storage and then downloaded it to D365 DEV VM. Now when I tried to restore the database to SQL server, I found that there is not enough disk space on DEV VM to restore the database.  The AX 2012 Production database size is around 250 GB. Is there a way to increase the disk space on D365 DEV VM or do I need to raise a support request to get this done.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f408443a-7381-120f-9a42-4a394db4c284
Version Independent ID: 5ec84f24-c0dd-7ddb-7374-99227632dcb2
Content: Upgrade from AX 2012 - Data upgrade in development environments - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/migration-upgrade/data-upgrade-2012.md
Service: dynamics-ax-platform
GitHub Login: @tariqbell
Microsoft Alias: tabell

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: Support contact options.


Slidescore API crashes when to many request are made

Describe the bug
When many images have already been downloaded for a study, downloading new images results in many requests made in a short period to obtain the filename.
https://github.com/NKI-AI/slidescore-api/blob/8165f61748e916301c0bef095656d8814cdf320d/slidescore_api/api.py#L240
This crashes the slidescore api with the following error:
requests.exceptions.HTTPError: 502 Server Error: Proxy Error for url: https://slidescore.nki.nl/Api/DownloadSlide
To Reproduce
Download new images in a study when many images  (e.g., >1000) are already downloaded
Expected behavior
downloading WSIs should not crash.
Environment
SlideScore Python API version: 0.1.0
How installed: pip
Python version: 3.9.17
Operating System: debian
Additional context

I will create a PR with a quick fix this

Hi @martvanrijthoven, thank you for the issue. :)


Docs: Make clear that TriMeshes are not treated as solid for point queries, even when solid flag given

The same was true in ncollide.

Related: a method to check whether points are inside meshes, see https://github.com/dimforge/ncollide/issues/317

The solid flags indicates that the projection will be the point itself if it lies on the interior of the shape. But since in 3D a trimesh has no interior by definition, therefore the solid flag is meaningless. It does have a meaning in 2D though (because in 2D triangles have an interior).
The ray-cast based alternative you suggested in dimforge/ncollide#317 remains the best way of doing this. Maybe we could provide it as an inherent method of TriMesh?

That would certainly be useful to me, although my use case may be atypical (generic mesh queries rather than game engine specific). It's made a bit harder by this bug https://github.com/dimforge/ncollide/issues/335 ; it's safest to fire a number of rays in different directions and find the consensus. I also haven't found any references to backfaces in the codebase, although I haven't been able to search too deeply yet.

This issue is potentially resolved by oriented trimeshes now doing an actual containment check for contains{_local}_point, which is great news! Will do a bit more testing on my end before closing.


[Bug] DBT Dynamic Table Builds Failing when a model.yml file is added; succeeds otherwise.

Is this a new bug in dbt-snowflake?

[X] I believe this is a new bug in dbt-snowflake
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
I had built a dynamic table with a refresh frequency of 2 mins, it builds alright when I don't add a .yml file (test) to this model, but throws an unexpected error like this:

Expected Behavior
Ideally, the model build should succeed with or without the .yml file.
Steps To Reproduce

Create a dynamic table model
Add .yml file for the model
Run dbt-build --select

Relevant log output
No response
Environment
- OS: Mac OS 14.4.1
- Python:3.11
- dbt-core:1.6.5
- dbt-snowflake:1.6.4

Additional Context
No response

Worked after updating the snowflake adapter. You can go ahead and close this issue.

closing as resolved by upgrading to dbt-snowflake 1.7


Fix issues with csv download

There are a few small issues/bugs with the current CSV downloads, mainly:

MessageSet CSV download had an incorrect header
Some models were fetching the entire foreign key record, just to get the foreign key id

Ready for review @hodgestar. I still haven't figured out why the Message model download on QA is only returning a single row.

:+1:


"nuxi generate" not generating types ("nuxi dev" does)

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, ssr, typescript, runtimeConfig
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Describe the bug
Running nuxi dev everything is working great. However, when running nuxi generate the build fails with type error:
❯ app.vue:13:33 - error TS7006: Parameter 'launch' implicitly has an 'any' type.

13   data.value?.launches?.filter((launch) => Number(launch?.launch_year) > 2000)
                                   ~~~~~~

data isn't properly typed, but any.
Expected behaviour
If nuxi dev doesn't fail, nuxi generate shouldn't either.
Reproduction
https://stackblitz.com/edit/github-9fr2zc?file=app.vue
Additional context
// nuxt.config.ts
export default defineNuxtConfig({
  // ...

  ssr: false,

  typescript: {
    typeCheck: true,
    strict: true,
  }
})

Logs
No response

🤩 Awesome, thanks a lot!


adjusted size and look of layer picker

Overview
This PR includes the following proposed change(s):

changed width of layer picker

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Screenshots
Please add any relevant UI screenshots if applicable.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

/rebase


[DevTestLabs] Add scenario tests for commands

For the scenarios tests for

[ ] Creating VM in lab from gallery image
[ ] Creating VM in lab from custom image
[ ] Creating VM in lab from formula
[ ] ...

...?

@tjprescott I'll extending list as i discover the scenarios needs to be covered :)

More tests :

[ ] Claim a specific vm in the lab
[ ] Claim any vm from the lab
[ ] List my vms in the lab

Closing this as most of the listed tests are checked-in. We can open and manager new test as part of future command implementations. Thanks!