Active page experiments in reverse order depending on the Web Browser you are using

In GitLab by @cgutierr on Nov 17, 2022, 08:04
Hi team,
I don't know when nor why anyone noticed this but depending on the browser you are using (in my case Mozilla or Chrome), the Active Page experiments are sorted in one way or another.
(Take the 1st experiment as reference)

Chrome 1st page
Firefox 1st page

Firefox LAST PAGE (Chrome's 1st experiment is the last on Mozilla)

The screenshots were taken from the actual earth.bsc.es autosubmitgui page and it happens also in the dev env.

In GitLab by @cgutierr on Nov 17, 2022, 09:28
mentioned in commit 52e981b24faf5dfe0cc68cb689f69c995c0a7148

In GitLab by @cgutierr on Nov 17, 2022, 11:34
mentioned in commit 03d0a1430b5def63701f64a1d87405d0c4e18f3c

In GitLab by @jberlin on Nov 28, 2022, 17:47
Validated in Development VM

In GitLab by @cgutierr on Nov 18, 2022, 18:28
This issue can also be closed, as far as I can tell now we have the same sorting in any web browser (by modified date). @jberlin
It was included in one of the merges.


Failure to deploy models that rely on Python 3.7.5

I found a trouble that occurs when executing the contents of this repository and how to solve it, and report it in this issue.
■ Details of the trouble
Using the model created by running "mlops/azureml/train/pipeline.yml", an endpoint was created by "mlops/azureml/deploy/online/online-endpoint.yml" and then deployed by "mlops/azureml/ deploy/online/online-deployment.yml", the deployment failed with the following error:

$ az ml online-deployment create --name  --endpoint  --file online-deployment.yml
Check: endpoint  exists
Creating/updating online deployment  .............................................................................................................(None) ResourceNotReady: User container has crashed or terminated: Liveness probe failed: HTTP probe failed with statuscode: 502. Please see troubleshooting guide, available here: https://aka.ms/oe-tsg#error-resourcenotready
Code: None
Message: ResourceNotReady: User container has crashed or terminated: Liveness probe failed: HTTP probe failed with statuscode: 502. Please see troubleshooting guide, available here: https://aka.ms/oe-tsg#error-resourcenotready
Exception Details:      (None) ResourceNotReady: User container has crashed or terminated: Liveness probe failed: HTTP probe failed with statuscode: 502. Please see troubleshooting guide, available here: https://aka.ms/oe-tsg#error-resourcenotready
Code: None
Message: ResourceNotReady: User container has crashed or terminated: Liveness probe failed: HTTP probe failed with statuscode: 502. Please see troubleshooting guide, available here: https://aka.ms/oe-tsg#error-resourcenotready

The deployment logs contained the following entries:

WARNING: Package(s) not found: azureml-inference-server-http
2023-12-15T06:00:35,374820764+00:00 | gunicorn/run | Install azureml-inference-server-http version 1.0.0
ERROR: Ignored the following versions that require a different python version: 1.0.0 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement azureml-inference-server-http==1.0.0 (from versions: 0.1.5, 0.1.9, 0.1.10, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.4.9, 0.4.10, 0.4.11, 0.4.13, 0.4.14, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.6.1, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for azureml-inference-server-http==1.0.0
Error occurred. Sleeping to send error logs.
2023-12-15T06:01:20,934851673+00:00 - gunicorn/finish 95 0
2023-12-15T06:01:20,936341197+00:00 - Exit code 95 is not normal. Killing image.

■ Details of the solution
The problem was resolved by modifying the python version of "data-science/environment/train-conda.yml" used as the training environment from 3.7.5 to 3.8 as shown below.
channels:
  - defaults
  - anaconda
  - conda-forge
dependencies:
  - python=3.8
  - pip
  - pip:
      - azureml-mlflow==1.38.0
      - azureml-sdk==1.38.0
      - scikit-learn==0.24.1
      - pandas==1.2.1
      - joblib==1.0.0
      - matplotlib==3.3.3

Deployment logs indicate that Python 3.8 or higher is required to install "azureml-inference-server-http". To this end, I tried modifying the yml file as described above and were able to confirm that the model artifact with the updated python version was created and deployed successfully.
Thanks for developing such a nice project. I look forward to future updates.

the recent PR of yours helped fix this. Thank you for the support @iamramengirl


how to implement logout action and redirectUrl after logout?

Okay, I understood when the following url with the localhost if the certificate is not valid auth2 rejects it or if it is a secure url like https: https://app.vsaex.visualstudio.com/_signout?redirectUrl=https://Localhost:8080/.


Add interfaces on dnssd service

I suggest a new configuration value of the server to the dnssd service.
The new value is a list of interface names used by dnsssd service to publish the correct ip when it exposes the hap service.
The problem, for me, is that the raspberry where I deploy the hap server has a multiple interfaces: one for the lan and the second for the iot devices. My firewall configuration blocks all the iot traffic (<IP_ADDRESS>/24) to the regular lan (<IP_ADDRESS>/24).
When the dnssd server goes up it uses all the interfaces on the device so the pairing with the iphone fails.
I suppose that when the iphone starts pairing it uses the iot lan ip, that cannot reach the lan networks.

The change I suggest is to add the new value to the server configuration that will be used on dnssd.Config.Ifaces into the file server.go at line 479.

Great idea. Please checkout branch ifaces, which adds the field Ifaces to the server struct.

Thanks for modifying so fast. I have just tryed but it doesn’t work.
I have investigated more deeper and I found that the problem is in dnssd project. There is a open issue: https://github.com/brutella/dnssd/issues/33.
I forked the dnssd project and made the fix. I tested in my local environment and it works well, but before I create a merge request it would be better to test it more.

This should be fixed in v0.0.25


Define Tile Schema

To easily control the flow of tile schemas, having the ability to define the desired Tile schema at the root Class would be beneficial.
const db = new MBTiles('example.mbtiles', {schema: 'XYZ'})
//=schema options => 'TMS','Google', 'XYZ', 'Quadkey'
//=schema default => 'XYZ'

To-Do

[x] save
[x] delete
[x] findAll (input & output)
[x] findOne
[x] hash
[x] hashes

global-mercator to be used for the tile conversions.

googleToTile
tileToGoogle
quadkeyToTile

References:

https://github.com/mapbox/node-mbtiles/issues/1
https://gist.github.com/tmcw/4954720
https://github.com/mapbox/node-mbtiles/blob/3b660439d3e71ad8c78093de943e172ae9c826b1/lib/mbtiles.js#L148-L149

CC: @aaronlidman

@aaronlidman Added these Tile Schema to the Docs.
https://github.com/deniscarriere/mbtiles-offline#schemas
Example for Quadkey
const tile1 = '021'
const tile2 = '030'
const tile3 = '023'
const tile4 = '032'
const img = Buffer([0, 1])
const db = new MBTiles('quadkey.mbtiles', 'quadkey')

db.save(tile1, img)
db.save(tile2, img)
db.findOne(tile1)
//= Promise { <Buffer 00 01> }
db.findAll()
//= Promise { ['021', '030'] }


{AKS} Added test case to detect behavioral changes in role assignments

Related command

Description

Add a new test case test_aks_update_attach_acr to help guard no behavioral changes related to role assignments.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Queued a live test pipeline to verify the newly added test case.

AKS


python3Packages.simple-rest-client: 1.1.1 -> 1.1.2

Motivation for this change
https://github.com/allisson/python-simple-rest-client/blob/master/CHANGES.rst#112
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 150246 run on x86_64-linux 1

3 packages built:

faraday-cli
python38Packages.simple-rest-client
python39Packages.simple-rest-client


Fixed_loginBtnHover_#42

fix: #42
Edited styles of Login/Logout Button to fix the issue.
Please assign this issue to me + merge my PR for GSSOC.

Duplicate

Duplicate ??
Isn't that was right.
Curious...


CRowdsec haproxy has error that prevents it from pulling decisions

What happened?
Error after setup:
error: /usr/lib/crowdsec/lua/haproxy/crowdsec.lua:199: attempt to call a nil value (field 'httpclient') from /usr/lib/crowdsec/lua/haproxy/crowdsec.lua:199: in upvalue 'refresh_decisions', /usr/lib/crowdsec/lua/haproxy/crowdsec.lua:271: in function line 260.
[30/Jun/2024:20:28:04.631]  -/- 2/0/0/15/15 200 153 - - ---- 6/0/0/0/0 0/0 {} "GET http://<IP_ADDRESS>:8080/v1/decisions/stream?startup=false HTTP/1.1"
Jun 30 20:28:04 tltsysproxy haproxy[6149]: Decisions fetched: startup=false
What did you expect to happen?
For ban decisions to load
How can we reproduce it (as minimally and precisely as possible)?
setup the crowdsec haproxy bouncer
Anything else we need to know?
No response
Crowdsec version

$ cscli version
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Enabled collections and parsers

$ cscli hub list -o raw
# paste output here

Acquisition config
No response
Config show

$ cscli config show
# paste output here

Prometheus metrics

$ cscli metrics
# paste output here

Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.

Could you post your haproxy versions?

2.4.24 on Ubuntu 22.04

This remediation only support 2.5 and onwards https://docs.crowdsec.net/u/bouncers/haproxy

Classing issue as stale, please reopen when you have more information and confirmed you are a supported version


Please add support for iCloud images

@billge
Please check this.
https://github.com/tilltue/TLPhotoPicker/issues?utf8=✓&q=is%3Aissue+is%3Aclosed+icloud
And then if you can't figure what your problem, let me know more details your problem.


docs: add contributing guide

This PR adds contributing guide pages, new templates for bugs and feature in GitHub.

:tada: This PR is included in version 5.14.0 :tada:
The release is available on:

v5.14.0
GitHub release

Your semantic-release bot :package::rocket:


Problems with Android Studio 1.2.0 update

I tried to update to 1.2.0 today and I ran into this problem.

I'm guessing that I should just update to 1.2.0 and afterwards insert the template manually again?

Yes. After every Android studio update, the template gets removed. So just put it again.

This is true. The template gets erased as well as any customization on android studio (vm options etc).
To avoid having to install the template you can put it on the SDK folder. Check this issue for better understanding of this solution:
https://github.com/kanytu/Android-studio-material-template/issues/14


Use of undefined constant CURLOPT_CUSTOMREQUEST

Hello,
i have been working on request api using Guzzle when i post my request i get this error
anyone can give me a solution please  it  was working correctly on my local environment on remote serve amazon ,it throw the following error
ErrorException in CurlFactory.php line 196:
Use of undefined constant CURLOPT_CUSTOMREQUEST - assumed 'CURLOPT_CUSTOMREQUEST'
Source code :
$body=[
                'invoiceNumber'=>$request->sellId,
                'policyNumber'=> env('TORQUE_API_policyNumber'),
                'type'=>$request->type,
                'first_name'=>$request->first_name,
                'amount'=>$request->amount,
                'phone'=>$request->customerphone,
                'phone2'=>env('TORQUE_API_phone2'),
                'agentName'=>env('TORQUE_API_agentName'),
                'agentId'=>env('TORQUE_API_agentId'),
                'userId'=>$request->userId,
                '_token'=>$request->_token
            ];

private function getTInformation($headers,$body){
        $url = env('TORQUE_API_URL');
       $client = new Client();
       $stack = new HandlerStack();
       $stack->setHandler(new CurlHandler());
       $stack->push($this->handleAuthorizationHeader());

           $response = $client->Request("POST", $url, [
               'handler' => $stack,
               'headers' => $headers,
               'form_params' => $body
           ]);

       $contents = json_decode($response->getBody()->getContents());
           return $contents;

   }
   private function handleAuthorizationHeader()
   {
       return function (callable $handler)
       {
           return function (RequestInterface $request, array $options) use ($handler)
           {

               $request = $request->withHeader('Authorization', 'Basic hdkkfkdkmdc=');

               return $handler($request, $options);
           };
       };
   }
}

Do you have the curl extension installed?

Yes it is

Can you try echoing some other cURL constants from this page? http://php.net/manual/en/curl.constants.php
Is cURL extension enabled for you? (extension_loaded('curl'))
The official documentation does not tell too much for us whether this constant is missing from specific PHP/cURL versions

Great let check Docs

Did you have any chance to investigate this issue?

Not yet what i figure out is linux  server  happened on the local environment wamp server works well

sudo apt-get install php5.5-curl


document @:pythonImport, @:jsRequire (and may be others)

I guess this should go to the 6.2 Externs chapter

@nadako: Are you gonna document this for 3.2. or should I assign to @frabbit?

I'm not sure yet. I don't like the ignoreErrors argument for @:pythonImport...

I don't really know what it's about but we should certainly address it before 3.2. :)

i can try to document it next weekend, not sure about ignoreErrors either, the problem is that nadako added this because some python classes are only available on certain operating systems, the actual use of these classes should only be done after a runtime check for the specific os. So we either stick to ignoreErrors or we don't put those classes into the python.lib and only provide the features of these classes through methods. Another alternative would be to add the check into the metadata itself, something like @:pythonImport("foo", os == "windows").

bump?


Fix logging error

Fix console error when logging score below min_score.
Traceback (most recent call last):
  File "C:\Tools\Python-2.7.9\Lib\logging\handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "C:\Tools\Python-2.7.9\Lib\logging\handlers.py", line 156, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "C:\Tools\Python-2.7.9\Lib\logging\__init__.py", line 732, in format
    return fmt.format(record)
  File "C:\Tools\Python-2.7.9\Lib\logging\__init__.py", line 471, in format
    record.message = record.getMessage()
  File "C:\Tools\Python-2.7.9\Lib\logging\__init__.py", line 335, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not tuple
Logged from file api.py, line 192

Can we still create PR's against master or do we need to create it against develop from now on?

Please open against develop

Perhaps it's better that you mention it somewhere in the readme that from now on, PR's must be created against develop. :wink:

Done with 3bc239ffee43a378a6ec64c169d9f7cb3f1753a5


ID4 submission

confirmed:ID4
AccountAddress:4k5FMKcgjnfzWDREoU6Vegs1HESgzPZXmRn4RSS1YoAq8BrFxj
DeviceDetails:verified

confirmed:ID4
AccountAddress:4k5FMKcgjnfzWDREoU6Vegs1HESgzPZXmRn4RSS1YoAq8BrFxj
DeviceDetails:verified


Au test spawning a blocking thread in a transaction hook continuation.

Getting a result from it, without blocking event thread.

API review on dev@ ?

API review on dev@ ?

There is not change to the TS API.

API review on dev@ ?

There is not change to the TS API.

plugins/xdebug/Cleanup.h → include/tscpp/api/Cleanup.h
You are introducing a new cpp api. See discussion on #6197.

API review on dev@ ?

There is not change to the TS API.

plugins/xdebug/Cleanup.h → include/tscpp/api/Cleanup.h
You are introducing a new cpp api. See discussion on #6197.

OK done.

[approve ci autest]

@ywkaras I meant you should send API change proposal on dev@ and I thought you did it, but I couldn't find the mail. What was done? You mean you saw the discussion?

I tried to, maybe my e-mail is blocked.
On Mon, Aug 29, 2022 at 7:00 PM Masakazu Kitajo @.***>
wrote:

@ywkaras
https://urldefense.com/v3/__https://github.com/ywkaras__;!!Op6eflyXZCqGR5I!ExX3oU_U14g-aoDfEBmnfY-hoQMrnJeCPSAM9pMXA2rDTZ4ksDIgTw_W5PXIp5aBdchBh-U5RPnJEGYjw9jxl6NyUpQ$
I meant you should send API change proposal on dev@ and I thought you did
it, but I couldn't find the mail. What was done? You mean you saw the
discussion?
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/apache/trafficserver/pull/9044*issuecomment-1230988069__;Iw!!Op6eflyXZCqGR5I!ExX3oU_U14g-aoDfEBmnfY-hoQMrnJeCPSAM9pMXA2rDTZ4ksDIgTw_W5PXIp5aBdchBh-U5RPnJEGYjw9jx6hEibds$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AG6ILQYOM6THCW67YLEWR4TV3VFIVANCNFSM563MKV7Q__;!!Op6eflyXZCqGR5I!ExX3oU_U14g-aoDfEBmnfY-hoQMrnJeCPSAM9pMXA2rDTZ4ksDIgTw_W5PXIp5aBdchBh-U5RPnJEGYjw9jxFL40UpM$
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for proposing the API change on the list. The change should be made separately even if it's accepted.

How would I do that?  I an using definitions in cleanup.h in the test's plugin.

[approve ci fedora]

OK @maskit the change you requested has been made.

I'll leave actual code review to @rob05c,

@rob05c should I find someone else to review this?

@rob05c will you have time to review this?  Should we get someone else?


Revert "feat(eas-cli): expose expo export dev flag as an option in eas update (#2050)"

Why
This reverts commit 8751a2835f38e4be5079c7f2ffe7129f9a060301.
The reason we're reverting this is that it is causing some confusion around whether dev bundles work with EAS update. The answer is that they probably shouldn't, or at least aren't officially supported.

"Dev" bundles are quite different from production bundles (no minification, possibly different Babel presets running, different NODE_ENV is set, and __DEV__ value is different). The value of __DEV__ is used in many places to change behavior to fit a development environment, for example in expo-asset. If we want to support loading updates that are published in dev mode, we should ensure we have adequate test coverage and that this is something we are consciously supporting.

Instead, to address the original concern in https://github.com/expo/eas-cli/pull/2050 (accessing the dev menu), we'll address that issue in a more targeted manner: by making accessing the dev menu even in places when __DEV__ isn't set.
Alternatively, one could theoretically do the export step manually during an eas update by running the npx expo export command manually and then running eas update --skip-bundler.
Closes ENG-11290.
How
Revert.
Test Plan
CI

/changelog-entry bug-fix Revert expose expo export dev flag as an option in eas update


Fix typo

.Net Framework -> .NET Framework

@changeworld : Thanks for your contribution! The author, @apwestgarth, has been notified to review your proposed change.


No finish notification evaluating a single line - Juno hangs/crashs/freezes

I´m using Julia Pro 1.3.1-2 on Windows. I´m facing the same problem with Julia Pro as I described in #405 . I evaluate some lines by single line evaluation and suddenly at one line I get no finish notification, despite a evaluation in the REPL works.
For the following Debug Info Juno hangs during loading a big csv-file.
Atom:
Version: 1.44.0
Dev Mode: false
Official Release: true
{
"http_parser": "2.8.0",
"node": "10.11.0",
"v8": "6.9.427.31-electron.0",
"uv": "1.23.0",
"zlib": "1.2.11",
"ares": "1.14.0",
"modules": "69",
"nghttp2": "1.33.0",
"napi": "3",
"openssl": "1.1.0",
"electron": "4.2.7",
"chrome": "69.0.3497.128",
"icu": "62.2",
"unicode": "11.0",
"cldr": "33.1",
"tz": "2019a"
}
julia-client:
Version: 0.11.3
Config:
{
"firstBoot": false,
"juliaOptions": {
"bootMode": "Cycler"
},
"juliaPath": "C:\JuliaPro-1.3.1-2\Julia-1.3.1\bin\julia.exe",
"uiOptions": {
"enableMenu": true,
"enableToolBar": true,
"layouts": {
"openDefaultPanesOnStartUp": true
},
"errorNotifications": false
}
}
ink:
Version: 0.11.8
Config:
undefined
uber-juno:not installed
language-julia:
Version: 0.19.2
Config:
undefined
language-weave:not installed
indent-detective:not installed
latex-completions:
Version: 0.3.6
Config:
undefined
Could not connect to Julia.
2.
For anyone, who has the same problems the following setup with vanilla Julia 1.1.1 works for me,:
Julia packages:
Atom v0.9.1
Juno v0.7.2
Note: to install a specific version of julia package enter the package manager within the Julia REPL via ] and then use i.e add<EMAIL_ADDRESS>command
Atom packages:
ink 0.11.7
julia-client 0.11.3
language-julia 0.19.2
uber-juno 0.3.0
Note: to install a specific version of atom package open a power shell window and then use i.e
apm install<EMAIL_ADDRESS>command

The debug info says you even couldn't connect to Julia properly.
Are you sure you were running code by Juno ?

I´m confused. How should I run the code not by Juno, when I´m working with Julia Pro? I just opened Julia Pro and pressed SHIFT + ENTER to evaluate lines of a script.

Sometimes users assume some features are provided by Juno, but sometimes they actually provided by other packages that enables code execution like Hydrogen etc.
I'm curious how you can run code (within Juno) even when your Juno couldn't find a Julia.
well, as for this specific bug, https://github.com/JunoLab/Atom.jl/pull/300 will get rid of those dead lock issues.

I´m not sure, but I think it could maybe have something to do with a change in Atom.jl, because if you compare the settings of #405  with my currently settings, which work, I could update all packages except for the Atom.jl package. Furthermore I didn´t experience this behaviour in an earlier version of Julia Pro, where also an older version of Atom.jl was uesd,

We just released a new version of Atom.jl that you could try (not with JuliaPro, just in a normal Juno installation).
JuliaPro 1.4 will also be out this week, in case you want to wait for that.

Thanks. I'll try and report later in the day.

The first test was successful. The problem doesn´t appear again. I will work the next days with the latest version and report the results.

Awesome. Sorry it's taken us such a long time to track this bug down...

It hangs again on a custom module. I tried to load manual with the REPL and it worked. So unfortunately the bug isn´t solved.
Information of Ctrl+ Shift + I:
spell-check:en-us The package spell-check cannot load the system dictionary for en-US. See the settings for ways of changing the languages used,  resolving missing dictionaries, or hiding this warning.
The plugin checked the following paths for dictionary files:

C:\
C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\spellchecker\vendor\hunspell_dictionaries
view.js:32 Tried to start terminal with WebGL backend, but encountered the following error:
view.js:33 TypeError: Cannot read property 'onLinkHover' of undefined
at new e (C:\Users\VoSiLk.atom\packages\ink\node_modules\xterm-addon-webgl\lib\xterm-addon-webgl.js:1:32485)
at new e (C:\Users\VoSiLk.atom\packages\ink\node_modules\xterm-addon-webgl\lib\xterm-addon-webgl.js:1:15737)
at t.activate (C:\Users\VoSiLk.atom\packages\ink\node_modules\xterm-addon-webgl\lib\xterm-addon-webgl.js:1:14454)
at e.loadAddon (C:\Users\VoSiLk.atom\packages\ink\node_modules\xterm\lib\xterm.js:1:270381)
at e.loadAddon (C:\Users\VoSiLk.atom\packages\ink\node_modules\xterm\lib\xterm.js:1:55356)
at HTMLElement.initialize (file:///C:/Users/VoSiLk/.atom/packages/ink/lib/console/view.js:30:29)
at file:///C:/Users/VoSiLk/.atom/packages/ink/lib/console/console.js:61:19
at Function.simpleDispatch (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:1214120)
at Emitter.emit (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:1215561)
at Workspace.didActivatePaneContainer (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:424255)
at Dock.subscriptions.l.paneContainer.onDidActivatePane (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:469080)
at Function.simpleDispatch (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:1214120)
at Emitter.emit (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:1215561)
at PaneContainer.didActivatePane (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:446491)
at Pane.activate (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:463814)
at Workspace.open (C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app\static<embedded>:11:431660)
initialize	@	view.js:33
misc.coffee:30 Julia Boot: 0.37s
internal/process/warning.js:18 (node:13804) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Debug Info:

Atom:
Version: 1.45.0
Dev Mode: false
Official Release: true
{
"http_parser": "2.8.0",
"node": "10.11.0",
"v8": "6.9.427.31-electron.0",
"uv": "1.23.0",
"zlib": "1.2.11",
"ares": "1.14.0",
"modules": "69",
"nghttp2": "1.33.0",
"napi": "3",
"openssl": "1.1.0",
"electron": "4.2.7",
"chrome": "69.0.3497.128",
"icu": "62.2",
"unicode": "11.0",
"cldr": "33.1",
"tz": "2019a"
}
julia-client:
Version: 0.12.4
Config:
{
"firstBoot": false,
"uiOptions": {
"enableMenu": true,
"enableToolBar": true,
"layouts": {
"debuggerPane": {
"split": "right",
"defaultLocation": "bottom"
},
"workspace": {
"split": "up"
}
},
"usePlotPane": false,
"errorInRepl": true
}
}
ink:
Version: 0.12.3
Config:
undefined
uber-juno:
Version: 0.3.0
Config:
{
"disable": true
}
language-julia:
Version: 0.19.3
Config:
undefined
language-weave:not installed
indent-detective:
Version: 0.4.0
Config:
undefined
latex-completions:
Version: 0.3.6
Config:
undefined
Could not connect to Julia.
Package list:
Atom v0.12.10
BenchmarkTools v0.5.0
CSV v0.5.26
CUDAnative v2.10.2
Cairo v1.0.2
Colors v0.11.2
ConcaveHull v1.0.0
Conda v1.4.1
CuArrays v1.7.3
DSP v0.6.3
DataFrames v0.20.2
Debugger v0.6.4
Distances v0.8.2
Distributions v0.23.1
FFTW v1.2.0
FileIO v1.2.4
Flux v0.10.3
GR v0.48.0
Gtk v1.1.3
Hwloc v1.0.3
IJulia v1.20.0
IRTools v0.3.1
InspectDR v0.3.6
Interpolations v0.12.5
JLD2 v0.1.12
JSON v0.21.0
JuliaInterpreter v0.7.13
Juno v0.8.1
LaTeXStrings v1.1.0
LatinHypercubeSampling v1.6.3
MAT v0.7.0
MATLAB v0.7.3
MLDataUtils v0.5.0
MacroTools v0.5.5
Missings v0.4.3
ORCA v0.3.1
OhMyREPL v0.5.5
PGFPlotsX v1.2.5
Plotly v0.3.0
PlotlyJS v0.13.1
Plots v0.27.1
ProfileView v0.5.3
PyCall v1.91.4
PyPlot v2.8.2
Query v0.12.2
RCall v0.13.4
Rebugger v0.3.3
Revise v2.5.4
Sobol v1.3.0
StatPlots v0.9.2
StringDistances v0.6.3
TensorFlow v0.11.0
Traceur v0.3.0
WinRPM v1.0.0
ZygoteRules v0.2.0
LinearAlgebra
Profile
Random
Statistics
Test

Can you describe what you did just before the hang?

I just restarted julia and loaded
using JLD2
using MATLAB
using ACustomModule
using CSV

It may be possible that your script made Juno's static code analyzer crazy (will appear as memory consumption explosion usually). If so it will be helpful if you share your script with us.

I would like to do this, but it isn´t so easy, because I use Julia for my work at a company and therefore I can´t simply share the code. Sorry.

Right, makes sense. Can you keep an eye on memory and cpu consumption in the task manager?
You could also give the first patch suggested here a go, that might help.

Thanks. I will try it.
Here the informations when I run the same code under
Julia 1.1.1
Julia packages:
Atom v0.9.1
Juno v0.7.2
Atom packages:
ink 0.11.7
julia-client 0.11.3
language-julia 0.19.2
uber-juno 0.3.0
Ctrl +Shif + I:
internal/process/warning.js:18 (node:15260) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
:14 spell-check:en-us The package spell-check cannot load the system dictionary for en-US. See the settings for ways of changing the languages used,  resolving missing dictionaries, or hiding this warning.
The plugin checked the following paths for dictionary files:

C:\
C:\Users\VoSiLk\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\spellchecker\vendor\hunspell_dictionaries
C:\Users\VoSiLk.at…tion\ipc.coffee:155 julia-client: unrecognised message versionwarning
Array(1)
C:\Users\VoSiLk.at…\lib\misc.coffee:45 Julia Boot: 1.26s
C:\Users\VoSiLk.at…tion\ipc.coffee:155 julia-client: unrecognised message versionwarning
Array(1)

Debug info:
Atom:
Version: 1.45.0
Dev Mode: false
Official Release: true
{
"http_parser": "2.8.0",
"node": "10.11.0",
"v8": "6.9.427.31-electron.0",
"uv": "1.23.0",
"zlib": "1.2.11",
"ares": "1.14.0",
"modules": "69",
"nghttp2": "1.33.0",
"napi": "3",
"openssl": "1.1.0",
"electron": "4.2.7",
"chrome": "69.0.3497.128",
"icu": "62.2",
"unicode": "11.0",
"cldr": "33.1",
"tz": "2019a"
}
julia-client:
Version: 0.11.3
Config:
{
"firstBoot": false,
"uiOptions": {
"enableMenu": true,
"enableToolBar": true,
"errorInRepl": true,
"layouts": {
"debuggerPane": {
"defaultLocation": "bottom",
"split": "right"
},
"workspace": {
"split": "up"
}
},
"usePlotPane": false
}
}
ink:
Version: 0.11.7
Config:
undefined
uber-juno:
Version: 0.3.0
Config:
{
"disable": true
}
language-julia:
Version: 0.19.2
Config:
undefined
language-weave:not installed
indent-detective:
Version: 0.4.0
Config:
undefined
latex-completions:not installed
Could not connect to Julia.

Yes I have put it in the startup like this:
ENV["JULIA_REVISE"] = "auto"
ENV["JULIA_REVISE_INCLUDE"] = "1"
ENV["JULIA_REVISE_POLL"] = "1"
atreplinit() do repl
try
@eval using Revise
@async Revise.wait_steal_repl_backend()
catch
end
end

Can you check if you see the same error without Revise (in the neweset Juno release)?

It doesn´t hangs until now and I notice that the loading of the modules is much faster.

Try without all those ENV customizations, especially the INCLUDE one. (You're certain you need POLL? Your code is on an NFS mount?)

Oh, I think, when I first configured my startup file, I read something different "NTFS" and copied this code sequence somewhere. So I will try it :)

For the moment I would say, that this was the problem. Thank you very much for your help and time :) . Despite this I would like to investigate it a little bit longer, because I had it several times, that I thought the problem is gone and it wasn´t.

I read something different "NTFS" and copied this code sequence.

Thanks for letting me know, I can totally see how that would happen. I will tweak the docs to emphasize that the two are not the same.

Ok, I'll close this for now then. Feel free to reopen if you run into similar issues again.

Thank you


[PINOT-4062] Auto-create segments in CONSUMING state if we do not see one in a partition

This feature is useful to fix kafka consumer errors (e.g. offset not found). In this condition
the segments will still show up as being in CONSUMING state, except that the servers
have stopped consuming, and are waiting for some other server to commit the segment so that
they can get the right segment. If each server thinks they are the only one that is having
a problem, then consumption will stall.
We have a metric for number of bytes consumed, which should drop to zero.
In this case, the operator can just remove the segment in CONSUMING state for that partition,
and we will auto-create the segment on the next run of ValidationManager.
It may be useful to run this functionality more than once in an hour, TBD.

Current coverage is 64.26% (diff: 74.16%)

Merging #858 into master will decrease coverage by 0.05%

@@             master       #858   diff @@
==========================================
  Files           728        728
  Lines         34386      34452    +66
  Methods           0          0
  Messages          0          0
  Branches       5273       5284    +11
==========================================
+ Hits          22114      22139    +25
- Misses        10692      10733    +41
  Partials       1580       1580

Powered by Codecov. Last update bc9a8cb...906f988


Incorrect documented permission actions for Azure Kubernetes Service RBAC Admin role

In the Azure US Government Cloud the documented permission actions for the Azure Kubernetes Service RBAC Admin role do not reflect what is actually returned and used by the role definition:

Documented actions for role definition:

{
      "Actions": [
        "Microsoft.Authorization/*/read",
        "Microsoft.Insights/alertRules/*",
        "Microsoft.Resources/deployments/write",
        "Microsoft.Resources/subscriptions/operationresults/read",
        "Microsoft.Resources/subscriptions/read",
        "Microsoft.Resources/subscriptions/resourceGroups/read",
        "Microsoft.Support/*",
        "Microsoft.ContainerService/managedClusters/listClusterUserCredential/action"
      ],
      "NotActions": [],
      "DataActions": [
        "Microsoft.ContainerService/managedClusters/*"
      ],
      "NotDataActions": [
        "Microsoft.ContainerService/managedClusters/resourcequotas/write",
        "Microsoft.ContainerService/managedClusters/resourcequotas/delete",
        "Microsoft.ContainerService/managedClusters/namespaces/write",
        "Microsoft.ContainerService/managedClusters/namespaces/delete"
      ]
}

Actual definition (in AzureUsGov cloud):

{
  "Actions": [
    "Microsoft.Authorization/*/read",
    "Microsoft.Insights/alertRules/*",
    "Microsoft.Resources/deployments/write",
    "Microsoft.Resources/subscriptions/operationresults/read",
    "Microsoft.Resources/subscriptions/read",
    "Microsoft.Resources/subscriptions/resourceGroups/read",
    "Microsoft.Support/*",
    "Microsoft.ContainerService/managedClusters/listClusterUserCredential/action"
  ],
  "NotActions": [],
  "DataActions": [
    "Microsoft.ContainerService/managedClusters/*"
  ],
  "NotDataActions": [],
}

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

ID: 99581afb-7950-6daa-7227-055d04446b7e
Version Independent ID: f1a5bf89-9e54-aede-3a9a-70788a95927b
Content: Azure built-in roles - Azure RBAC
Content Source: articles/role-based-access-control/built-in-roles.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@aldass-snc
Thanks for your feedback! We will investigate and update as appropriate.


New Help Command

title image:

it seems the repo has just had some major pulls, should i pull them and then do a new commit?

No it's not must
But it seems useless because the command is already there there's no need for a new object
Unless your not using the slash command builder the name object is useless

No it's not must But it seems useless because the command is already there there's no need for a new object Unless your not using the slash command builder the name object is useless

no idea how to use SlashCommandBuilder.name


Add /spec/assets/sessions

Now, this project's build status is failing because /spec/assets/sessions does not exists.
This pull request add the directory and the build status will be green.

LGTM :+1:


test.js fails

Should throw error, but doesn't.
Apparently, https://isitup.org/afsadgsdcgdcfgefcasfcascfsadf.com yields thatafsadgsdcgdcfgefcasfcascfsadf.com is up.

Lol. Someone registered that domain just to troll me :p


Remove EXT direct

This PR completely removes EXT direct (and the EXT class generator experiment) from SHOGun2 because:

it is complex and bloats up the project
it has never been used (only in a very basic proof of concept ~2 years ago)
it confuses
it misleads developers to extend wrong classes
we do not intend to use it in future
it does not support the latest EXT versions

Please review and merge. I do not expect that any adaptions in existing projects are necessary.

Thanks for this, @buehner, great and thorough work with a good rationale. I agree we should remove this stuff.
Could you please start a tiny document that lists the places which existing projects (generated from previous archetypes) need to touch and change so that everything works against the newest snapshots?
The changes to the archetype here may be a good starting point.
I suggest to document these places in a RELEASE-NOTES.md.
Once we have this, I am plus one on merging this PR.

Thx @marcjansen
I added a RELEASE-NOTES.md that describes what adaptions are necessary in existing projects.
Feel free to merge

Thanks. I'll leave the merging up to you :smile: :+1:


Add support @see tags in our document

Resolve: https://github.com/rubocop/rubocop-rspec/issues/772

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[-] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[-] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I doubt about extension to this document generation. The cops (i.e. published cops in lib/rubocop/cop) document could be represented as StyleGuide or Reference instead of @see.
So I think the only thing that matters in this PR is the removal of @see https://rubystyle.guide#consistent-classes.

Ah, I see. Indeed it is, we can write it in the Reference.
One more point I'd like to confirm, if the @see tag is used, is it excessive to add it to the Reference?

I'm on the fence about this - but I'll be okay if @see gets added to References as that's what it is essentially.

Thanks!


got HTTP 400 error when calling WebSiteManagementClient.web_apps.install_site_extension()

I have a python function which does Azure Web App service deployment along with the extension AspNetCore. If I commented out the lines for installing site extension, my script ran happily; however, with the lines for  AspNet Core extension installation, my script can not run successfully.
If I do the manual installation via Azure Portal, then, I can complete the extension installation successfully. I wrote ARM templates with site and extension provision, again, my code runs happily.  But calling WebSiteManagementClient.web_apps.install_site_extension() like below doesn't work, and I got
msrestazure.azure_exceptions.CloudError: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/XXXXX(sensitive info)/siteextensions/AspNetCoreRuntime?api-version=2016-08-01
can you take a look and see if I missed anything here?
ARM Template
{
"apiVersion": "2015-08-01",
"name": "[parameters('siteName')]",
"type": "Microsoft.Web/sites",
"location": "[parameters('location')]",
"properties": {
"name": "[parameters('siteName')]",
"serverFarmId": "[parameters('appServicePlanId')]"
},
"resources": [
{
"apiVersion": "2015-08-01",
"name": "web",
"type": "config",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"phpVersion": "off",
"netFrameworkVersion": "v4.0",
"webSocketsEnabled": true,
"requestTracingEnabled": true,
"httpLoggingEnabled": true,
"logsDirectorySizeLimit": 40,
"detailedErrorLoggingEnabled": true,
"scmType": "LocalGit"
}
},
      {
        "apiVersion": "2016-08-01",
        "name": "AspNetCoreRuntime",
        "type": "siteextensions",
        "dependsOn": [
          "[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
        ],
        "properties": {}
      }
    ]
  }

Python Code
def deploy_app_service():
print("\nDeploying App Service To Resource Group\n")
AzureServicePrincipalcredentials = ServicePrincipalCredentials(
client_id = my_azure_client_id,
secret = my_azure_secret_id,
tenant = my_azure_tenant_id
)
web_client = WebSiteManagementClient(AzureServicePrincipalcredentials, my_subscription_id)
site_async_operation = web_client.web_apps.create_or_update(
    my_rg_name,
    "jianhuafirstWebApp",
    {
        'location': my_location,
        'server_farm_id': my_service_plan_id,
        'reserved': False,
        'enabled': True,
        'kind': 'app',
        'site_config': {
            "kind": "web",
            "phpVersion": "off",
            "netFrameworkVersion": "v4.0",
            "webSocketsEnabled": True,
            "logsDirectorySizeLimit": 40,
            "requestTracingEnabled": True,
            "httpLoggingEnabled": True,
            "detailedErrorLoggingEnabled": True,
            "scmType": "LocalGit"
        }
    }
)

install site extension
my_site_extension = web_client.web_apps.install_site_extension(
    my_rg_name,
    "jianhuafirstWebApp",
    "AspNetCoreRuntime"
)

@yugangw-msft ?

msrestazure.azure_exceptions.CloudError: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/mysubsciptionId/resourceGroups/agri-api-dev-appservice/providers/Microsoft.Web/sites/agriOUSDevAUE2/siteextensions/Microsoft.ApplicationInsights.AzureWebSites?api-version=2016-08-01
Below is a copy of my code. I can confirm that the Azure WebApp does get provisioned successfully. It is the provision of extension, which failed. I tried to capture error via AzureException, however, it doesn't seem logging anything which is useful for debugging.
import os.path
import json
import sys
from azure.mgmt.web import WebSiteManagementClient
from azure.common.credentials import ServicePrincipalCredentials
from azure.common import AzureException
parameters_common = "./azure/config/parameters-common.json"
with open(parameters_common, 'r') as parameters_common_fd:
arm_parameters_common = json.load(parameters_common_fd)
parameters_appService_plan = "./azure/config/output-agri-api-dev-appservice.json"
with open(parameters_appService_plan, 'r') as parameters_appService_plan_fd:
arm_parameters_appService_plan = json.load(parameters_appService_plan_fd)
my_subscription_id = arm_parameters_common['SubscriptionId']
my_azure_client_id = arm_parameters_common['ClientId']
my_azure_secret_id = arm_parameters_common['SecretId']
my_azure_tenant_id = arm_parameters_common['TenantId']
my_location = arm_parameters_appService_plan['location']
my_rg_id = arm_parameters_appService_plan['resource_group_id']
my_rg_name = my_rg_id.split('/')[-1]
my_service_plan_id = arm_parameters_appService_plan['appServicePlanName']
json_output = {} #Initialize a dictory container for JSON data processing
def deploy_app_service():
print("\nDeploying App Service To Resource Group\n")
AzureServicePrincipalcredentials = ServicePrincipalCredentials(
client_id = my_azure_client_id,
secret = my_azure_secret_id,
tenant = my_azure_tenant_id
)
web_client = WebSiteManagementClient(AzureServicePrincipalcredentials, my_subscription_id)
site_async_operation = web_client.web_apps.create_or_update(
    my_rg_name,
    "agriOUSDevAUE2",
    {
        'location': my_location,
        'server_farm_id': my_service_plan_id,
        'reserved': False,
        'enabled': True,
        'kind': 'app',
        'site_config': {
            "scmType": "LocalGit"
        }
    }
)

# my_site_extension = web_client.web_apps.list_site_extensions(
#     my_rg_name,
#     'agriOUSDevAUE'
# )

# for each_site in my_site_extension:
#     print(each_site)
try:
    my_site_extension = web_client.web_apps.install_site_extension(
        my_rg_name,
        "agriOUSDevAUE2",
        "Microsoft.ApplicationInsights.AzureWebSites"
    )
except AzureException as e:
    print(e.response)

if name == "main":
deploy_app_service()

I'd try running this without "phpVersion": "off"
I've seen this setting triggering 400 since the latest  php version update for Azure

I added the line "web_client.config.enable_http_logger=True" to my code, and set my python code's logging level to "debug", below is what I got
WARNING:msrest.service_client:Accept header absent and forced to application/json
DEBUG:msrest.pipeline:Configuring request: timeout=100, verify=True, cert=None
DEBUG:msrest.pipeline:Configuring proxies: ''
DEBUG:msrest.pipeline:Evaluate proxies against ENV settings: True
DEBUG:msrest.pipeline:Configuring redirects: allow=True, max=30
DEBUG:msrest.pipeline:Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): management.azure.com:443
DEBUG:urllib3.connectionpool:https://management.azure.com:443 "PUT /subscriptions/subscriptionID/resourceGroups/agri-api-dev-appservice/providers/Microsoft.Web/sites/agriOUSDevAUE2/siteextensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension?api-version=2016-08-01 HTTP/1.1" 400 0
DEBUG:msrest.http_logger:Request URL: 'https://management.azure.com/subscriptions/subscriptionID/resourceGroups/agri-api-dev-appservice/providers/Microsoft.Web/sites/agriOUSDevAUE2/siteextensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension?api-version=2016-08-01'
DEBUG:msrest.http_logger:Request method: 'PUT'
DEBUG:msrest.http_logger:Request headers:
DEBUG:msrest.http_logger:    'User-Agent': 'python/3.6.5 (Darwin-17.6.0-x86_64-i386-64bit) requests/2.19.1 msrest/0.5.0 msrest_azure/0.4.32 websitemanagementclient/0.34.1 Azure-SDK-For-Python'
DEBUG:msrest.http_logger:    'Accept-Encoding': 'gzip, deflate'
DEBUG:msrest.http_logger:    'Accept': 'application/json'
DEBUG:msrest.http_logger:    'Connection': 'keep-alive'
DEBUG:msrest.http_logger:    'Content-Type': 'application/json; charset=utf-8'
DEBUG:msrest.http_logger:    'x-ms-client-request-id': 'ac7a4ff4-898f-11e8-8894-9801a7968dff'
DEBUG:msrest.http_logger:    'accept-language': 'en-US'
DEBUG:msrest.http_logger:    'Content-Length': '0'
DEBUG:msrest.http_logger:    'Authorization': '*****'
DEBUG:msrest.http_logger:Request body:
DEBUG:msrest.http_logger:None
DEBUG:msrest.http_logger:Response status: 400
DEBUG:msrest.http_logger:Response headers:
DEBUG:msrest.http_logger:    'Cache-Control': 'no-cache'
DEBUG:msrest.http_logger:    'Pragma': 'no-cache'
DEBUG:msrest.http_logger:    'Expires': '-1'
DEBUG:msrest.http_logger:    'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
DEBUG:msrest.http_logger:    'x-ms-request-id': '74be45e5-50ff-484b-b537-0960813123ee'
DEBUG:msrest.http_logger:    'Set-Cookie': 'ARRAffinity=60ecc41db6b19c150858a0271e02abb08bc4c432f0eeabbaa9ae45d1e3895350;Path=/;HttpOnly;Domain=agriousdevaue2.scm.azurewebsites.net'
DEBUG:msrest.http_logger:    'Server': 'Microsoft-IIS/10.0, Microsoft-IIS/10.0'
DEBUG:msrest.http_logger:    'X-AspNet-Version': '4.0.30319'
DEBUG:msrest.http_logger:    'X-Powered-By': 'ASP.NET, ASP.NET'
DEBUG:msrest.http_logger:    'x-ms-ratelimit-remaining-subscription-writes': '1199'
DEBUG:msrest.http_logger:    'x-ms-correlation-request-id': '99291ad1-ddd2-484f-b7fc-019edab5029f'
DEBUG:msrest.http_logger:    'x-ms-routing-request-id': 'AUSTRALIAEAST:20180717T070442Z:99291ad1-ddd2-484f-b7fc-019edab5029f'
DEBUG:msrest.http_logger:    'X-Content-Type-Options': 'nosniff'
DEBUG:msrest.http_logger:    'Date': 'Tue, 17 Jul 2018 07:04:41 GMT'
DEBUG:msrest.http_logger:    'Content-Length': '0'
DEBUG:msrest.http_logger:Response content:
DEBUG:msrest.http_logger:b''
DEBUG:msrest.exceptions:Operation failed with status: 'Bad Request'. Details: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/14fcb15d-3af7-4499-8677-ae4e3497a99e/resourceGroups/agri-api-dev-appservice/providers/Microsoft.Web/sites/agriOUSDevAUE2/siteextensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension?api-version=2016-08-01
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/msrestazure/azure_operation.py", line 357, in init
self._operation.set_initial_status(self._response)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/msrestazure/azure_operation.py", line 230, in set_initial_status
self._raise_if_bad_http_status_and_method(response)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/msrestazure/azure_operation.py", line 148, in _raise_if_bad_http_status_and_method
"Invalid return status for {!r} operation".format(self.method))
msrestazure.azure_operation.BadStatus: Invalid return status for 'PUT' operation
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "azure/cicd/devApi/appService/provision-web-app-service.py", line 78, in
deploy_app_service()
File "azure/cicd/devApi/appService/provision-web-app-service.py", line 69, in deploy_app_service
"Microsoft.AspNetCore.AzureAppServices.SiteExtension"
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/azure/mgmt/web/operations/web_apps_operations.py", line 9276, in install_site_extension
get_long_running_status, long_running_operation_timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/msrestazure/azure_operation.py", line 360, in init
raise CloudError(self._response)
msrestazure.azure_exceptions.CloudError: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/subscriptionID/resourceGroups/agri-api-dev-appservice/providers/Microsoft.Web/sites/agriOUSDevAUE2/siteextensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension?api-version=2016-08-01

Indeed, I don't see any troubling thing here :(. And the error from the server is 400 and has no body to explain the trouble :(
400 usually means the resource does not exist. @yugangw-msft I see that web_apps.create_or_update is not defined as LRO, is this possible that the resource is not yet fully provisioned and we should do a custom LRO?
@APAC-DevOps could you add after your web_apps.create_or_update this:
while True:
    try:
        web_client.web_apps.get(
            my_rg_name,
            "agriOUSDevAUE2"
        )
        break
    except Exception as err:
       print("Assuming WebApp is not ready")
       time.sleep(10)

And see:

If this fails for a few amount of time (you see the message a few times), and then this passes, and then your site extension works
If it never fails (you never see the message)

Thanks,

Maybe @panchagnula can help

Did not read entire thread completely but i see from the ARM template you have "phpVersion": "off",
we had a regression on our API end a while back that has since been fixed where off as a value for PhpVersion was being rejected & was throwing an error. "phpVersion": "", would work. Are you still seeing this issue will changing this line in the ARM template help, if not?

Up to this point, I would say this seems likely to be a bug in Azure Rest Api.
Apart from Python SDK, I also tried the rest api call at: https://docs.microsoft.com/en-us/rest/api/appservice/webapps/webapps_installsiteextension
neither appears to be working.
Eventually, I found a sample on Internet which used kudu api in powershell code excerpt for enabling extension on Azure WebApp. I did reading, and probing, and here comes my python code for enabling extensions of Azure WebApp.
add asp net core extension to OUS WebApp
web_app_profile = web_client.web_apps.list_publishing_profile_xml_with_secrets(
    resource_group,
    resource_group + '-ous',
    format = 'WebDeploy'
)

for web_app_profile_element in web_app_profile:
    my_web_app_profile = web_app_profile_element

web_app_profile_xml = ET.fromstring(my_web_app_profile)
web_app_site_name = web_app_profile_xml[0].attrib['msdeploySite']
web_app_url = web_app_profile_xml[0].attrib['publishUrl']
web_app_user_name = web_app_profile_xml[0].attrib['userName']
web_app_user_pwd = web_app_profile_xml[0].attrib['userPWD']

asp_net_core_id = "https://" + resource_group + '-ous' + ".scm.azurewebsites.net/api/siteextensions/" + "Microsoft.AspNetCore.AzureAppServices.SiteExtension"
requests.put(url = asp_net_core_id, auth = (web_app_user_name, web_app_user_pwd))

I found it is very difficult to find python code sample for AWS SDK on Internet. Can you tell me if there is any good website which can give me some guide when I went into deadend (apart from github).

Was there any resolution to this?  I seem to be having the same problem.
asktemplate.json
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "aks_cluster_name": {
            "type": "string"
        },
        "vnet_subnetid": {
            "type": "string"
        },
        "vmautoschedule_id": {
            "type": "string"
        },
        "vmsize":{
            "defaultValue": "Standard_D2s_v3",
            "type": "string"
        },
        "node_count":{
            "type": "string"
        },
        "serviceprincipal_profile_id":{
            "type": "string"
        },
        "serviceprincipal_secret":{
            "type": "string"
        },
        "docker_bridge_cidr":{
            "type": "string"
        },
        "az_region":{
            "type": "string"
        }
    },
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.ContainerService/managedClusters",
            "apiVersion": "2018-03-31",
            "name": "[parameters('aks_cluster_name')]",
            "location": "[parameters('az_region')]",
            "properties": {
                "kubernetesVersion": "1.12.7",
                "dnsPrefix": "[concat(parameters('aks_cluster_name'), '-dns')]",
                "agentPoolProfiles": [
                    {
                        "name": "agentpool",
                        "count": "[int(parameters('node_count'))]",
                        "vmSize": "[parameters('vmsize')]",
                        "osDiskSizeGB": 100,
                        "storageProfile": "ManagedDisks",
                        "vnetSubnetID": "[parameters('vnet_subnetid')]",
                        "maxPods": 30,
                        "osType": "Linux"
                    }
                ],
                "servicePrincipalProfile": {
                    "clientId": "[parameters('serviceprincipal_profile_id')]",
                    "secret": "[parameters('serviceprincipal_secret')]"
                },
                "addonProfiles": {
                    "httpApplicationRouting": {
                        "enabled": false,
                        "config": null
                    },
                    "omsagent": {
                        "enabled": true,
                        "config": {
                            "logAnalyticsWorkspaceResourceID": "[parameters('vmautoschedule_id')]"
                        }
                    }
                },
                "enableRBAC": true,
                "networkProfile": {
                    "networkPlugin": "azure",
                    "serviceCidr": "<IP_ADDRESS>/16",
                    "dnsServiceIP": "<IP_ADDRESS>",
                    "dockerBridgeCidr": "[parameters(docker_bridge_cidr)]"
                }
            }
        }
    ]
}

I have written an application that looks like this
from azure.mgmt.resource.resources.models import DeploymentMode
from azure.mgmt.resource import ResourceManagementClient
from azure.common.client_factory import get_client_from_cli_profile

client = get_client_from_cli_profile(ResourceManagementClient)

template = None
template_file = "akstemplate.json"

with open(template_file) as file_df:
    template = json.load(file_df)

template_params = {
    "az_region": "eastus",
    "docker_bridge_cidr": "<IP_ADDRESS>/16",
    "aks_cluster_name": "my-pretty-cluster",
    "vnet_subnetid": "/subscriptions/XXXXXXXXX/resourceGroups/XXXXXXX/providers/Microsoft.Network/virtualNetworks/XXXXXXX/subnets/default",  # nopep8
    "vmautoschedule_id": "/subscriptions/XXXXXXXXX/resourceGroups/vmautoschedule/providers/microsoft.operationalinsights/workspaces/vmautoschedule",  # nopep8
    "vmsize": "Standard_D2s_v3",
    "node_count": "3",
    "serviceprincipal_profile_id": "XXXXXXXXXXXXXXXXXX",
    "serviceprincipal_secret": "XXXXXXXXXXXXXXXXX"
}

properties = {
    'mode': DeploymentMode.incremental,
    'template': template,
    'parameters': {k: {'value': v} for k, v in template_params.items()}
}

deployment = client.deployments.create_or_update(
    resource_group,
    deployment_name=deployment_name,
    properties=properties
)

When I execute this template with separate parameters as shown here, it breaks with an extremely similar error.  But when I manually fill in the parameters and execute it without separate parameters in the program, it works perfectly.
Here is my debug log.
DEBUG - Checking for my-pretty-rg in eastus
DEBUG - __get_client(): returning client from cli
DEBUG - Current cloud config:
AzureCloud
DEBUG - Current cloud config:
AzureCloud
DEBUG - Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
DEBUG - Paging async iterator protocol is not available for ResourceGroupPaged
DEBUG - attempting to read file /Users/jeffery.northcott/.azure/accessTokens.json as utf-8-sig
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Performing instance discovery: ...
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Performing static instance discovery
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Authority validated via static instance discovery
DEBUG - XXXXXXXXXXXXXXXXXXXXX - TokenRequest:Getting token from cache with refresh if necessary.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Found 4 potential entries.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Resource specific token found.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Returning token from cache lookup, AccessTokenId: b'XXXXXXXXXXXXXXXXXXXXX', RefreshTokenId: b'XXXXXXXXXXXXXXXXXXXXX'
DEBUG - Configuring redirects: allow=True, max=30
DEBUG - Configuring request: timeout=100, verify=True, cert=None
DEBUG - Configuring proxies: ''
DEBUG - Evaluate proxies against ENV settings: True
DEBUG - Starting new HTTPS connection (1): management.azure.com:443
DEBUG - https://management.azure.com:443 "GET /subscriptions/XXXXXXXXXXXXXXXXXXXXX/resourcegroups?api-version=2018-05-01 HTTP/1.1" 200 1153
DEBUG - __get_client(): returning client from cli
DEBUG - Current cloud config:
AzureCloud
DEBUG - Current cloud config:
AzureCloud
DEBUG - Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Performing instance discovery: ...
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Performing static instance discovery
DEBUG - XXXXXXXXXXXXXXXXXXXXX - Authority:Authority validated via static instance discovery
DEBUG - XXXXXXXXXXXXXXXXXXXXX - TokenRequest:Getting token from cache with refresh if necessary.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Found 4 potential entries.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Resource specific token found.
DEBUG - XXXXXXXXXXXXXXXXXXXXX - CacheDriver:Returning token from cache lookup, AccessTokenId: b'XXXXXXXXXXXXXXXXXXXXX', RefreshTokenId: b'XXXXXXXXXXXXXXXXXXXXX'
DEBUG - Configuring redirects: allow=True, max=30
DEBUG - Configuring request: timeout=100, verify=True, cert=None
DEBUG - Configuring proxies: ''
DEBUG - Evaluate proxies against ENV settings: True
DEBUG - Starting new HTTPS connection (1): management.azure.com:443
DEBUG - https://management.azure.com:443 "PUT /subscriptions/XXXXXXXXXXXXXXXXXXXXX/resourcegroups/my-pretty-rg/providers/Microsoft.Resources/deployments/my-pretty-deployment?api-version=2018-05-01 HTTP/1.1" 400 418
DEBUG - Unable to deserialize to object: type, KeyError: 'TypedErrorInfo'
DEBUG - Operation failed with status: 'Bad Request'. Details: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/XXXXXXXXXXXXXXXXXXXXX/resourcegroups/my-pretty-rg/providers/Microsoft.Resources/deployments/my-pretty-deployment?api-version=2018-05-01
Traceback (most recent call last):
  File "manage_resources.py", line 516, in <module>
    template_params)
  File "manage_resources.py", line 386, in deploy_template
    properties=properties
  File "/usr/local/lib/python3.7/site-packages/azure/mgmt/resource/resources/v2018_05_01/operations/deployments_operations.py", line 852, in create_or_update
    **operation_config
  File "/usr/local/lib/python3.7/site-packages/azure/mgmt/resource/resources/v2018_05_01/operations/deployments_operations.py", line 799, in _create_or_update_initial
    raise exp
msrestazure.azure_exceptions.CloudError: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/XXXXXXXXXXXXXXXXXXXXX/resourcegroups/my-pretty-rgt/providers/Microsoft.Resources/deployments/my-pretty-deployment?api-version=2018-05-01

Is this issue still valid in azure-mgmt-web 6.1.0?


HOLD #37623 Close account - User is unable to close account due to an error

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.55-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4443318
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Open the testing app
Navigate to Profile > Security
Click on Close account
Enter the default contact method
Click on Close Account > Yes

Expected Result:
Account will be closed successfuly, if there is an error regarding incorrect/missing field entered, the user should be the error on the specified field
Actual Result:
Account is not closed, there is an error above the Close account button informing user to "Please fix the errors in the form before continuing." although there are no errors appearing inside the form
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/81081b53-7516-40aa-aa40-07e7c84e971f
View all open jobs on GitHub

@dylanexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

https://github.com/Expensify/App/issues/37623 issue covers all issues where we are showing common error message including this issue.

@sobitneupane thanks for the link! Going to put this on hold to test once that's on staging!

same

Still in a holding pattern, moving to Weekly until we're out of hold

same

Similar

Held

Off hold, @lanitochka17 can you confirm if reproducible?

Bump @lanitochka17

@dylanexpensify  Hello
Issue is not reproducible with expensifail account
https://github.com/Expensify/App/assets/78819774/eed4b03b-0499-42cf-91e8-0da05b7775a5
Issue is not reproducible with gmail account
https://github.com/Expensify/App/assets/78819774/e27df007-efad-4ee9-be53-df41cc40d645


Can't get join() and part() to work...

Seems like I need your help once more (and I couldn't register on the forums - sent you a message about that), so here goes:
I have managed to join several chats (no matter which server), and I am connected to both servers (chat and events) through:
clientEvents.connect();
clientChat.connect();

Now, when a user performs a certain action, I call the following function:
function update_chat(newchannel, oldchannel){
    alert('Parting ' + oldchannel);
    clientChat.part(oldchannel);
    alert('Joining ' + newchannel);
    clientChat.join(newchannel);
}

The variables newchannel and oldchannel are passed onto the function correctly (I see the alerts with the names of the channels) but nothing happens in the chat.
Because I figured it may have something to do with the order in which everything is declared and loaded, the order of all the code is as follows:
tmi.js is loaded in the header.
There, in a document-ready, the trigger-on-user-action part is also scripted (displayed here in a simplified version):
$('.loadstream').click( function() {
    var newchannel = $(this).attr('channel');
    var oldchannel = $('player_' . $(this).attr('id')).attr('channel');
    // Part where the twitch player loads the new channel...
    update_chat(newchannel, oldchannel);
});

Then the div id="#chat" and the main.js are loaded.
And at the bottom of the page, the aforementioned function is located.
What am I doing wrong :)? Again: the variables newchannel and oldchannel are passed on to the function correclty, so I know that for example
clientChat.part('esl_csgo');

and
clientChat.join('esl_sc2');

are being executed. However, nothing happens in the chat.There is nothing happening in the console.log either, so it seems either the clientChat.join() command doesn't reach tmi, or tmi ignores it.
(obviously, I have two functions, one update_chat for channels that are on the chat server, and one update_events with clientEvents.join() for channels that are on the events server, so that's not it either).
Since I have put some things in a function now (to facilitate multiple servers), I have also tried to make clientChat and clientEvents global variables, but this also didn't help...
window.clientChat = new irc.client(optionsChat);

However, I can send chat messages from within the update_chat function...
chatNotice('[MANUAL CHAT NOTICE] Parted ' + capitalize(dehash(oldchannel)), 1000, -1, 'chat-room-part');
clientChat.part(oldchannel);

This actually outputs the manual chat notice... Not the real one (without [MANUAL CHAT NOTICE]) though, and it doesn't actually part the channel :(
UPDATE1: I can confirm that clientChat is actually set (because if I change it back to client, I get a console error saying that client is not defined). So it's the join(channel) action that's not working...
I've been looking through tmi.js (being the javascript noob that I am, and I can see where the join() function is declared, and what it does...)
join: function join(channel) {
    return this._sendCommand(null, "JOIN " + utils.normalizeChannel(channel));
}

And I can't help but wonder (since Dreamweaver colours the function green, indicating that it is an existing function) how javascript knows that join() should do something with tmi, in stead of the regular join(), which is to join two arrays together if I'm not mistaken.
UPDATE2: I've tried some other commands such as .clear(oldchannel), they also all don't work... :(

It's not just you @Syrah-NL, I found the issue and will push an update to NPM and CDN tonight because it is quite important to fix. In the meantime, if you really need it to work, make sure you are logged in to the server with a username and password (not a justinfan account). As soon as it is fixed, you should be okay to login with an anonymous account.
Thanks!

OK great! Thanks! I indeed got it working when I added the identify to the options!
Oh and here's the function I now use that first checks which server a channel is located on, and then parts it, and then does the same for the new channel that you want to join.
function update_chat(newchannel, oldchannel){
    $.get('/check_chatserver.php',{'c':oldchannel},function(result){
        if(result=="chat"){
            clientEvents.part(oldchannel);
        }
        if(result=="events"){
            clientChat.part(oldchannel);
        }
    });
    $.get('/check_chatserver.php',{'c':oldchannel},function(result){
        if(result=="chat"){
            clientEvents.join(newchannel);
        }
        if(result=="events"){
            clientChat.join(newchannel);
        }
    });
}

And the PHP:
<?php
$url= "http://api.twitch.tv/api/channels/" . $_GET["c"] . "/chat_properties";
$chatserverResult= file_get_contents($url);
$json = json_decode($chatserverResult, true);
if($json["eventchat"]){
    echo("events");
} else {
    echo("chat");
}
?>

Glad to see you got it working! Everything should be working fine with 0.0.21, I will close this issue. :smile:

Yep, can confirm it's working with not-logged-in users as well now. Thanks for the hotfix.


Builder withdraw stream

Right now it looks like this.

We might want to change the modal title or add some text. In buidlguidl v2 we also had the stream data. I didn't put it here because we have it on the profile, but it might get hidden by the modal and we might want to add it in the modal as well. In that case we could easily extract the stream display into a separate component and reuse here.

Another thing that is different than buidl guidl 2. There we were using the Transactor to wrap interactions with the blockhain. As far as I could see, it's only used to notify to the user when the transaction has been completed in the blockchain. I skipped it because it was quite complex to use the component (using antd + many dependencies to providers, signers, etc).
I'm sure that is straight forward to migrate the component to our architecture (using the context for providers), plus chakra ui, but it's not trivial amount of work. I think this functionality is good to go (pending review) as v1, and we can later on add the transactor functionality in a v2.
(cc @carletex to make sure you read this comment)

nice work @dgrcode Thanks!! 🚀
I did a few tweaks:

Fixed WSOD when accessing an user with no stream.
Fixed CRA console warnings
Added a success message (and return from the "catch").

Hardhat setup
To properly test it, I added the hardhat package from scaffold-eth and set up the Simple Stream contract. We should update the README at some point :)
Transactor
Yep, not needed for now, but agree that we might want to tackle it for v2.


unsupported operation cannot modify unmodifiable map dateTimePatternMap

localizationsDelegates: const [
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
            GlobalCupertinoLocalizations.delegate,
          ],
          supportedLocales: const [
            Locale('zh','TW'),
            Locale('en','US'),
          ],

do this and write "initializeDateFormatting()" will cause this error : unsupported operation cannot modify unmodifiable map dateTimePatternMap

This is related to #493 . To fix your issue, please add some more details, for example why you are calling initializeDateFormatting in the first place.

use 'initializeDateFormatting()' is to show calendar，"MaterialApp(localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('zh','TW'),
Locale('en','US'),
],)" do this is to solve show English menu when long press "TextField or TextFormField", The menu is show "Copy or Cut", but I want to it show "剪下 或 貼上" ,unable to resolve by intl.  so "GlobalMaterialLocalizations.delegate" and "initializeDateFormatting()" cause this error : unsupported operation cannot modify unmodifiable map dateTimePatternMap.

Hello, Is there any way to solve the problem?

You shouldn't have to call initializeDateFormatting, as the Flutter localization already calls initializeDateFormattingCustom internally. Could you try removing the call to initializeDateFormatting?

If I remove it need to persuade the group leader, and other members may be use this fuction "initializeDateFormatting", if you can do some logic in the "initializeDateFormatting()" , GlobalMaterialLocalizations.delegate should do some thing, add one variable record，call to initializeDateFormatting judge the variable and never call "initializeDateSymbols(dateTimeSymbolMap);
initializeDatePatterns(dateTimePatternMap);" . Thanks.

This will be fixed in general, so I am closing this issue in favor of #493 . For a hotfix for you, delete the call to initializeDateFormatting.


Allows Kontax to process photo from camera library too

This would be an option under the lab, where user can import photo instead. Will be processed with the selected effects and filter.

I suppose this feature was implemented. Does this feature also save the edited picture back to the Camera app? If not, could this be implemented?

Currently this feature is not yet implemented, the edited photo is saved back to the Camera app as a new photo. Perhaps someone could help out with this


Custom objects not updating in Container

CustomSprite - a custom object extending Sprite
var s = new CustomSprite(...);
this.add.container(0, 0, [s]);

This code adds this CustomSprite to the Container's displayList, but does not add it to the updateList, so animations do not work. It's a bit confusing, since it looks like it works, because it displays fine, but it doesn't update.
If you call this.add.existing(s) before adding it to the Container, it is also added to the Scene's updateList and animations work fine.
I don't know if this is a bug or should you always add the object to the Scene first. In case it is a bug, it can be easily fixed by adding the object to the updateList in the Container's addHandler:
if (gameObject.preUpdate)
{
    this._updateList.add(gameObject);
}

I can make a pull request if this is considered a bug.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Don't PR this as I'm changing the way the update list works very soon (if not in 3.11 then in 3.12)

Great, I'll wait.


[Package Issue]: AutoHotkey.AutoHotkey asks for install location

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
When I run winget install --id AutoHotkey.AutoHotkey I am asked to specify an installation root (3 times).
Steps to reproduce
Run:
winget install --id AutoHotkey.AutoHotkey

Actual behavior
> winget install --id AutoHotkey.AutoHotkey
Found AutoHotkey [AutoHotkey.AutoHotkey] Version 2.0.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires an install location
Specify the install root:
Specify the install root:
Specify the install root:

Expected behavior
The application is installed like any other, without asking for an install location.
Environment
> winget --info
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1555
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Screenshots and Logs
WinGet-2023-04-23-00-22-08.868.log

This is intentional behavior, as the package requires the install location in order to run properly. If the install location is not specified, the installer will install to the root directory of the executable, which happens to be inside the TEMP folder when installed with winget.

https://github.com/microsoft/winget-pkgs/issues/95829

Would it be possible to make the installer to install by default to %PROGRAMFILES% instead of %TEMP%? Is this a question for the package maintainer?

Would it be possible to make the installer to install by default to %PROGRAMFILES% instead of %TEMP%? Is this a question for the package maintainer?

This isn't something winget can change. You would have to reach out to the developers of AutoHotkey to ask them to change the default install location

The prompt Specify the install root: does not accept %PROGRAMFILES% as input.

Sounds like a great feature request for the CLI

When I entered C:\Program Files it installed the application inside that folder, instead of installing it to a AutoHotkey subfolder. The word "root" in the prompt is misleading, the prompt should say Specify the install directory:.

That might be a bug in the CLI, or it might be with the installer. I'll do some more digging to figure that one out

I still troubleshooting with the installer.

there has to be default value rather than prompt, just chose the best option and if somebody is not happy with it they can always change it with parameters.

Unfortunately the default value is set by the publisher. If winget uses its own default value, users would never be able to use the --location switch to override it

e

don't you think that tool owner defines how publish is posting it? If there will be requirement to specify default path of installation the publishers will obey.

Unfortunately the default value is set by the publisher. If winget uses its own default value, users would never be able to use the --location switch to override it

don't you think that tool owner defines how publish such packages? If there will be requirement to specify default path of installation the publishers will obey.

Thats exactly what the problem is. They have specified a default path, it's just that the default path happens to be relative to where the installer is located

Sorry, this is clearly a packaging issue. It is possible for the user to manually specify that the thing should be installed in Program Files. AHK should provide that exact path as the install path, and if another path is passed, then that path should be passed to the installer instead. If winget doesn't have the ability to do that, this functionality needs to be added. Leaving things as it is, or requiring the upstream maintainer of Autohotkey to change things, is not acceptable for a packaging software that needs to be able to package all sorts of programs. This is one of the behaviors programs will exhibit, and winget has to be able to cope with it in a way that the installation UX is the same for this package as for every other package.

If by default a program installs into the same directory the installation package is located in, then it is clearly nonsensical to use that behavior in a situation where the installation package is put in a programmatically generated random temporary directory. No user wants this, no user would choose to do it. Therefore in such cases a path should be specified by winget at all times, and if the user doesn't use a command line argument to specify a path, it should be %PROGRAMFILES%.
It doesn't matter one bit what the msi/exe/etc wants to do in its own internal logic.

Sorry, this is clearly a packaging issue. It is possible for the user to manually specify that the thing should be installed in Program Files. AHK should provide that exact path as the install path, and if another path is passed, then that path should be passed to the installer instead. If winget doesn't have the ability to do that, this functionality needs to be added. Leaving things as it is, or requiring the upstream maintainer of Autohotkey to change things, is not acceptable for a packaging software that needs to be able to package all sorts of programs. This is one of the behaviors programs will exhibit, and winget has to be able to cope with it in a way that the installation UX is the same for this package as for every other package.

But the thing is, winget is not a packaging tool, it is a package manager. Winget doesn’t change how an .exe file or .msi installer works, it just runs the file with the appropriate command line arguments for an install.
If you were to go out and download AutoHotkey's exe file, open up a command line, and run the exe file using the silent switch, AutoHotkey wouldn't install to ProgramFiles, it would install to the directory the installer was in unless the location argument was provided. Effectively, that is all winget does - download the package and run it with the silent installl argument. It's not wingets choice that it installs to the same location as the installer, it is the choice of the creator of AutoHotkey.

If by default a program installs into the same directory the installation package is located in, then it is clearly nonsensical to use that behavior in a situation where the installation package is put in a programmatically generated random temporary directory. No user wants this, no user would choose to do it. Therefore in such cases a path should be specified by winget at all times, and if the user doesn't use a command line argument to specify a path, it should be %PROGRAMFILES%.

The use of %PROGRAMFILES% assumes the user has write access to the shared folder, which requires administrator. I can agree that having a default value would make sense, but then again, there are users who believe that a default value is not proper and that they should be informed the location is required.
There is, however, a way for each user to choose to set a default value for the install location for packages that require a location to be specified by setting it in the winget settings file.
https://github.com/microsoft/winget-cli/blob/master/doc/Settings.md#default-install-root
Perhaps some recommendation should be added to the cli to make it clear this option exists. Something like "To bypass this prompt in the future, configure the defaultInstallRoot using winget settings"

It doesn't matter one bit what the msi/exe/etc wants to do in its own internal logic.

There are always exceptions, and sometimes there are exceptions to exceptions. No solution is ever perfect, and the developers of winget have to deal with an enormous amount of non-standard installers, anti-patterns, and hack-jobs on top of all the other items like dependencies and side-by-side installations. The philosophy has always been to meet developers where they are, and to have a single UX cover everything is not a small task. I believe that the team has done a fairly good job at making the UX as seamless as possible - even in the cases where it doesn't "just work"

Effectively, that is all winget does

then winget needs to do more.

There is absolutely no technical reason why winget install -e --accept-package-agreements --id AutoHotkey.AutoHotkey shouldn't install into program files. All you're talking about is what people expect in your opinion and your arguments seem bad because you're only talking about "this one user who doesn't like the default" and other special cases like "the user is using winget but doesn't have admin rights". This is not the right place to focus on edge cases. This is where you focus on the UX of the 99% of users, not of the disagreeable or otherwise special 1%.  It's completely disappointing that it's been 2 weeks and people can't figure out that winget should, in essence, just do the thing. Just do the thing, stop thinking about stuff that barely ever happens, figure out how to handle those weird cases with extra input, and meanwhile make the standard invokation - the code I posted above - Just Do The Thing. The vastly most common case should not require extra interaction, extra switches, extra hidden configuration, or anything else. It's the special cases that should require that.
winget needs to have the ability to special case installers like this. Some syntax in a manifest or whatever, I don't think anyone cares how it's done, as long as the line of code I posted above installs AHK 2 into program files for a user who isn't in the 1% of not having admin access like nearly everyone does who'll be using winget.

Hello, I'm re-installing every software on my PC with Winget, and Autohotkey is the ONLY one that get installed wrongly in the TEMP folder or asks for the root installation directory.
I'm fairly sure this can be fixed and made it so it installs silently like any other software on Winget in the ProgramFiles folder. The need to specify a root installation directory should not be mandatory for a standard silent installation via CLI.

I have to agree the default install directory should be configured to Program Files. The user is free to override with --location but there should be a default to enable a silent install. That is the whole point of using a tool like this. So far, AutoHotkey is the only offender I have encountered.

Its pretty much pointless argument the solution can be done by either party Autohotkey or Winget its the question who will pick it up and fix it, but people tend to point fingers at each other rather than do something about the problem.

The latest v2 Autohotkey installer, which is also packaged on the winget index, is broken on system and user install. It complains about filepaths not existing during installation.
There is no way for me to create an issue at the AutoHotkey repository itself and I cannot link this issue, so I'm explicitly mentioning here.
An updated package (possibly after a solution to the default --location request) needs to be preceded by thoroughly testing the installer file itself.

The AHK bug tracker is on their forum. I created an issue about this, and I'm waiting for clarification, but it looks like the AHK installer should be working, and winget might be screwing something up.
https://www.autohotkey.com/boards/viewtopic.php?p=520952#p520952

Throwing my two cents in here as well. Mainly just an agreement with the fact that all packages should be installed with defaults and, it is not expected that a prompt would be required for install of a standard package. If this was apt, it wouldn't be allowed. This also causes a problem when chaining multiple packages. If I specify to upgrade all packages, I then have to tell ALL packages to install with --location? But surely not every package goes in the same location... But now, because of that, I either have to run multiple commands, with separate locations, or just not use a tool that can be wonderful for Windows users.

AutoHotkey/AutoHotkeyUX@29ffb4e should fix this.
Does someone also need to change the winget package to not require an install location?

@Lexikos well it seems that the script was updated to use AHK 2.0.8, but after installing it using the instructions, now I receive the following error:
--------------------------- AutoHotkey_2.0.8_setup.exe ---------------------------
Unable to create AutoHotkey64. Try adding an exclusion in your antivirus software. If that doesn't work, please report the issue.  Error: (6) The handle is invalid.
--------------------------- Abort   Retry   Ignore    ---------------------------

No idea what to do here, what to set, where to set it, how to set it, or why I should be setting anything at all.
Clicking Retry creates the following error popup instead:
Error: Error loading manifest from v2\AutoHotkey64_UIA.exe

Specifically: (2) The system cannot find the file specified.
  @ *#1:257

	231: Throw Error("Invalid manifest")
	232: Catch as e
▶	233: Throw Error("Error loading manifest from " ExePath,, e.Message "
  @ " e.File ":" e.Line)
	234: node := xml.selectSingleNode("/v1:assembly/v3:trustInfo/v3:security" . "/v3:requestedPrivileges/v3:requestedExecutionLevel")
	236: If !node

The current thread will exit.

Call stack:
*#1 (233) : [EnableUIAccess_SetManifest] Throw Error("Error loading manifest from " ExePath,, e.Message "
  @ " e.File ":" e.Line)
*#1 (219) : [EnableUIAccess] EnableUIAccess_SetManifest(ExePath)
*#1 (1095) : [Installation.Prototype.MakeUIA] EnableUIAccess(newPath)
*#1 (527) : [Installation.Prototype.Apply] item(this)
*#1 (587) : [Installation.Prototype.InstallFull] this.Apply()
*#1 (412) : [Install_Main] inst.%method%(params*)
*#1 (1199) : [] Install_Main()
> Auto-execute

There's still crucial improvement to be had in the AHK+winget experience.


📎 Support {a,b} glob pattern syntax for includes/excludes

Summary
We want to support {a,b} pattern matching syntax for includes and excludes. It will allow us to more comprehensively support all the patterns that the Editorconfig spec defines (although not completely).
Specifically, this syntax is to indicate that in the pattern {a,b}, there is a comma separated list of patterns that are applicable in that position.

The pattern logic is an internal fork of glob: https://docs.rs/glob/latest/glob/struct.pattern.html
Other than that, unfortunately I can't give you more information, we will have to figure it out ourselves.
Regarding the recursion, I think it's safe to assume that we don't want to support nested deeper than one level:

{*.ts, *.js} yes
{{*.ts, *.js}} no

Even other libraries that offer Unix glob parsing and matching don't support nested patterns.
If we set this as a goal, I think recursion isn't needed. Or we could use it, and it should not put too much memory pressure.

FYI, there're some pre-discussions here: #2620

I think we can set this task for Biome 2.0 because this will require a breaking change.

@Conaclos why was this PR merged if the milestone is set for Biome 2.0?

does this still need to be open?

Yes. The code for this is already implemented, but it's placed behind a flag. This issue should be closed when that flag is removed in biome 2.0.


ipinfo.io gives 404 with src_ip has two ip values on log with comma separated string as <IP_ADDRESS>,<IP_ADDRESS>

Here is a request log:
'Error getting geo ip: ipinfo.io response was unexpected: <Response [404]>' switchboard    | 2021-01-16 10:38:47+0000 [HTTPChannel,0,<IP_ADDRESS>] {'src_ip': '<IP_ADDRESS>, <IP_ADDRESS>', 'useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36', 'referer': None, 'location': None}
Now, if we use any of these IP as
https://ipinfo.io/<IP_ADDRESS>/json
It gives proper json response:
{   "ip": "<IP_ADDRESS>",   "city": "Diyarbakır",   "region": "Diyarbakır",   "country": "TR",   "loc": "37.9136,40.2172",   "org": "AS12978 DEMIROREN TV DIGITAL PLATFORM ISLETMECILIGI A.S.",   "postal": "21070",   "timezone": "Europe/Istanbul",   "readme": "https://ipinfo.io/missingauth" }
But the 404 error might be due to 'src_ip': '<IP_ADDRESS>, <IP_ADDRESS>' in URL like
https://ipinfo.io/<IP_ADDRESS>,<IP_ADDRESS>/json
which gives :
{   "status": 404,   "error": {     "title": "Wrong ip",     "message": "Please provide a valid IP address"   } }
How to resolve this issue?

@ycparak do you anything about it? could you please help me to resolve this?

@ycparak do you anything about it? could you please help me to resolve this?

@jayjb do you have some time on this please?

Hi @jaswinder97,
Sorry for the delayed response. Thats a good find. It doesnt look like ipinfo.io supports comma separated IP addresses. This fix would need to be made in the canarytokens repository. Basically a check for if we comma separate, is there more than two items, if so, send them through to ipinfo.io individually.

Dear @jaswinder97
Sorry for the delayed response. We have recreated the issue and confirmed that it has been resolved in our canarytokens V3. Please pull the latest changes from our master branch and run our V3 dockerized canarytokens
Thank You.

Dear @jaswinder97
Sorry for the delayed response. We have recreated the issue and confirmed that it has been resolved in our canarytokens V3. Please pull the latest changes from our master branch and run our V3 Dockerized Canarytokens
Thank You.


Redirect URL for the resources page

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/resources/diagrams.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Support Map object in response body

Currently, koa.js does not support JavaScript Map Object in the response body.
Now, if a Map object is assigned to it, the front-end receives nothing but an empty object, as shown in this repository.
The current work-around is calling Object.fromEntries() to convert a map to an object, then send the object to the front-end. It would be better to support this directly.
Related: koajs/router#120

you can create your own middleware for this. maps aren't used often enough to necessitate adding it to the framework

@jonathanong Can you please provide a code example instead of closing this issue brutely?!

app.use(async (ctx, next) => {
  await next()
  if (ctx.body instanceof Map) {
    ctx.body = // whatever you want
  }
})


add new plugin: emulators/qemu-guest-agent

closes #1586

@fichtner Feel free to review if you like, but it's OK if you don't have time for this :)

Hi, any way to test a preview release of this?

@drewhemm Install os-qemu-guest-agent-devel from the command line:
pkg install os-qemu-guest-agent-devel

(Be sure to use the latest version of OPNsense before trying to install it.)

The next release of OPNsense will include the final version of the qemu-guest-agent plugin (#2357).


Compilation error: extended character   is not valid in an identifier

Hi,
While trying to compile the sketch I get the following compilation error:
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
 2446 | </style><meta data-hydrostats="publish"/> <button hidden="" data-testid="header-permalink-button" data-hotkey-scope="read-only-cursor-text-area"></button><button hidden=""></button>

include <FS.h>                                               // This needs to be first, or it all crashes and burns

      |
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2685:9: error: extended character ’ is not valid in an identifier
 2685 |     You can’t perform that action at this time.
      |         ^
exit status 1

Compilation error: extended character   is not valid in an identifier

What am I doing wrong? I have the latest IDE version and all libraries are up to date 😕

You might need to just redownload the script, seems like perhaps you've got some invalid characters or something, did you copy and paste the code from somewhere like a word processor before pasting it into the IDE?
And what IDE? You should use PlatformIO as your IDE if you're not using that


Formatted source code under the LLVM format (#29)

Formatted source code under the LLVM format and removed some C++ only headers.
The full standard can be found here: https://llvm.org/docs/CodingStandards.html
Applying the same format on every file gives us a baseline on what type of format to use when contributing to the project.
Consistently using the same style across the whole code base makes it easier to read which makes it also easier to write for potential collaborators.
To format the source code we used a .clang-format file that we did not commit to this repository to keep the project as simple as possible.  If anyone is interested to see it feel free to ask me.
@nicholaslegrand102

GFM

@felix642 looks good to me. If it's okay, I suggest attaching .clang-format file to this PR for book keeping purposes.

Hi @hardik-dalal,
This is a great idea! I don't know why I didn't think of that.
Here's the file that we used to format the source code : clang-format.zip
I had to zip the file to upload it on GitHub. If you unzip it there should be a .clang-format file inside with the config that we used.

Would you plan to put the zip file into git?

Hi @lmusa,
I do not think adding a .zip file to the official repository is a good idea. The  .clang-format file is used with the clang-format executable to automatically format source code following a strict standard.
Most of us will be using it to keep a standardized format throughout the project, but we did not add it to the git repository since we felt like this would impose too much of a strict standard on new collaborators.
I think that in the long run, this would be beneficial but for now, let's just format the current files and wait a bit before adding some constraints on new code.
What do you think?

I agree with your answer.
Approve to merge.


Change The title of the page of the guess the singer.

🐛 Bug Report
There is a bug in the title of the guess the singer page.
changes:
before: Guess the Song
After: Guess the Singer
Add relevant screenshot or video (if any)

(Add here)

/assign

@niloysikdar  please look at this bug.
I Have a question that every time I have to run a command git pull upstream cmd to get repo updated.