[FlySystem Laravel] impossible to create the root directory

Hello everyone !
I'm using your package with these version:

Php: 7.4.11
Laravel: 8.10.0
Extension: Imagick
Mysql: 5.7 for macOS

The error:

I don't know { how, what, why } this problem or where they from but I think it on the glide package.
I'have try to fix my problem with this link
But nothing that work, so I'm out of solution.

If one have the same error:
Follow this step:

rm public/storage
php artisan conf:clear
php artisan storage:link
That it !


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/VSC-Service-Account/docs-archive-test-source.git

Docs Build status updates of commit b176685:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/VSC-Service-Account/docs-archive-test-target' (branch: Release_Archive_master_2020-05-25-15-12-17) is not authorized.. It looks like this might be the first time you’ve submitted a pull request to this repo. Before you can run builds in a pull request, you have to enable your GitHub account in Docs by visiting https://opportal-sandbox.azurewebsites.net. After you enable your account, close and then reopen this pull request to start another build.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Snapshot rebuild logic does not take change of (local) engine into account

See https://github.com/flutter/flutter/pull/11924#issuecomment-327229325

Blocked by https://github.com/flutter/flutter/issues/11976


[meshcop] fix UDP proxy

The MeshCoP UDP Proxy packets should not be sent/received with platform UDP.
Depends-On: openthread/ot-commissioner#185

From https://github.com/openthread/openthread/blob/main/src/core/net/udp6.hpp#L64, these two options will not be enabled together.

From https://github.com/openthread/openthread/blob/main/src/core/net/udp6.hpp#L64, these two options will not be enabled together.

This commit is for UDP proxy (UDP_TX.ntf and UDP_RX.ntf) which encapsulates packets between arbitrary Thread end device and the external commisioner, but not UDP forward.


Update README.md

Added Missing Import and Decoding to Text
I think these will be helpful for anyone starting off by copying the example

Thanks for catching this!!


Revert not removing the additional fields in join for many-to-many

Description of changes

Reverts part of changes made in #310 where additional ID fields were getting added to many-to-many connections.
These additional fields break the CMS in Amplify Studio.
Issue #, if available

Description of how you validated changes
unit tests updated
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] Breaking changes to existing customers are released behind a feature flag or major version update
[ ] Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #327 (6bf2156) into master (cb476b0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #327   +/-   ##
=======================================
  Coverage   84.72%   84.72%
=======================================
  Files         142      142
  Lines        6532     6534    +2
  Branches     1677     1678    +1
=======================================
+ Hits         5534     5536    +2
  Misses        907      907
  Partials       91       91

Impacted Files
Coverage Δ

...nc-modelgen-plugin/src/visitors/appsync-visitor.ts
94.78% <100.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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


In debug mode, vss-web-extension-sdk request my localhost

vss-extension.dev.json:
{
    "id": "widgets-demo",
    "public": false,
    "baseUri": "http://localhost:3000"
}

package.json
{
  "name": "widgets-demo",
  "version": "1.0.0",
  "dependencies": {
    "bootstrap": "^3.4.1",
    "font-awesome": "^4.7.0",
    "jquery": "^3.4.1",
    "jquery-ui-dist": "^1.12.1",
    "moment": "^2.24.0",
    "vss-web-extension-sdk": "^5.141.0"
  }
}

javascript code:
VSS.init({
	explicitNotifyLoaded: true,
	usePlatformScripts: true
});
VSS.require([
	"VSS/Controls",
	"VSS/Controls/Combos",
	"TFS/WorkItemTracking/Contracts",
	"TFS/WorkItemTracking/RestClient",
	"TFS/WorkItemTracking/Services"
], function (wControls, wCombos, wItemContracts, wItemRestClient, wItemServices) {
	//TODO: do something...
	VSS.notifyLoadSucceeded();
});

google chrome browser console log:
GET http://localhost:3000/_public/_Bundling/DynamicBundles?scripts=TFS%2FWorkItemTracking%2FContracts%3B*RestClient%3B*Services%3BVSS%2FControls%3B*Controls%2FCombos&v=Dev17.M153.3&theme=Default&loc=zh-CN&json 404 (Not Found)
The TFS/WorkItemTracking/RestClient script is part of vss-web-extension-sdk, so it should not request my localhost.
I think it is a bug.

I solved the problem temporarily by using Fiddler 4 redirect.
I hope the official team can fix it as soon as possible, which affects our development efficiency.


Issue Starting

Getting this error on puppetdb, haproxy, and maybe other systems.
/usr/lib/ruby/2.5.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error) (OpenSSL::SSL::SSLError)

ERROR "global\n  log stdout local0\n  log stdout local1 notice\n  maxconn 2048\n  tune.ssl.default-dh-param 2048\n\ndefaults\n  log  global\n  mode  http\n  stats  enable\n  timeout  connect 5s\n  timeout  client 50s\n  timeout  tunnel 1h\n  timeout  http-request 10s\n  timeout  server 61m\n\nlisten stats\n  bind *:9000\n  mode http\n  stats enable\n  stats hide-version\n  stats refresh 30s\n  stats show-node\n  stats auth admin:password\n  stats uri /\n\nfrontend puppet-frontend\n  bind *:8140 ssl crt /usr/local/etc/haproxy/ssl/haproxy.pem ca-file /usr/local/etc/haproxy/ssl/certs/ca.pem verify optional crl-file /usr/local/etc/haproxy/ssl/crl.pem\n  mode http\n  http-request set-header X-Client-Verify-Real  %!\(BADINDEX)n  http-request set-header X-Client-Verify NONE if !{ hdr_val(X-Client-Verify-Real) eq 0 }\n  http-request set-header X-Client-Verify SUCCESS if { hdr_val(X-Client-Verify-Real) eq 0 }\n  http-request set-header X-Client-DN CN=%!{(MISSING)+Q}[ssl_c_s_dn(cn)]\n  http-request set-header X-SSL-Subject CN=%!{(MISSING)+Q}[ssl_c_s_dn(cn)]\n  http-request set-header X-Client-Cert \"-----BEGIN CERTIFICATE-----%0A%%!A(MISSING)-----END CERTIFICATE----- #\" if { ssl_c_used }\n  # /puppet-ca/v1/:indirection/:key?environment=:environment\n  acl ca_current path -m beg /puppet-ca\n  acl catalog path -m beg /puppet/v3/catalog\n  # /:environment/certificate/:nodename\n  default_backend puppet-default-backend\n  use_backend puppet-ca-backend if ca_current\n  use_backend puppet-catalog-backend if catalog\n\nbackend puppet-default-backend\n  balance roundrobin\n  mode http\n  option tcp-check\n  stick on src\n  stick-table type ip size 1m expire 1m\n  server puppetserver puppetserver.local:8140 check port 8140 inter 5s ssl verify required ca-file /usr/local/etc/haproxy/ssl/certs/ca.pem crl-file /usr/local/etc/haproxy/ssl/crl.pem\n\nbackend puppet-catalog-backend\n  balance roundrobin\n  mode http\n  option tcp-check\n  stick on src\n  stick-table type ip size 1m expire 1m\n  server puppetserver puppetserver.local:8140 check port 8140 inter 5s ssl verify required ca-file /usr/local/etc/haproxy/ssl/certs/ca.pem crl-file /usr/local/etc/haproxy/ssl/crl.pem\n\nbackend puppet-ca-backend\n  mode http\n  option tcp-check\n  server puppetca puppetca.local:8140 check port 8140 inter 5s ssl verify required ca-file /usr/local/etc/haproxy/ssl/certs/ca.pem crl-file /usr/local/etc/haproxy/ssl/crl.pem\n[ALERT] 127/073034 (39) : parsing [/usr/local/etc/haproxy/.haproxy.cfg767642560:28] : 'bind *:8140' : unable to load SSL certificate file '/usr/local/etc/haproxy/ssl/haproxy.pem' file does not exist.\n[ALERT] 127/073034 (39) : Error(s) found in configuration file : /usr/local/etc/haproxy/.haproxy.cfg767642560\n[ALERT] 127/073034 (39) : Fatal errors found in configuration.\n"

I am simply cloning your repo in the latest ubuntu and running docker-compose up.

When I do docker-compose up puppetca puppetdb only it shows this at the end:
puppetca_1      |    (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:133:in `Puppet')
puppetca_1      | 2020-05-07 07:45:26,251 INFO  [puppetserver] Puppet Puppet settings initialized; run mode: master
puppetca_1      | 2020-05-07 07:45:27,004 INFO  [p.s.j.i.jruby-agents] Finished creating JRubyInstance 2 of 2
puppetdb_1      | ---> Requesting certificate for puppetdb from puppetca.local
puppetca_1      | <IP_ADDRESS> - - - 07/May/2020:07:45:30 +0000 "GET /puppet-ca/v1/certificate/ca HTTP/1.1" 200 1923 <IP_ADDRESS> <IP_ADDRESS> 8140 74
puppetdb_1      | ----> Creating SSL dirs
puppetdb_1      | ----> Requesting CA from 'puppetca.local'
puppetdb_1      | ----> Requesting CRL from 'puppetca.local'
puppetdb_1      | /usr/lib/ruby/2.5.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error) (OpenSSL::SSL::SSLError)
puppetdb_1      |       from /usr/lib/ruby/2.5.0/net/protocol.rb:44:in `ssl_socket_connect'
puppetdb_1      |       from /usr/lib/ruby/2.5.0/net/http.rb:985:in `connect'
puppetdb_1      |       from /usr/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
puppetdb_1      |       from /usr/lib/ruby/2.5.0/net/http.rb:909:in `start'
puppetdb_1      |       from /usr/lib/ruby/2.5.0/net/http.rb:1458:in `request'
puppetdb_1      |       from /usr/local/bin/request-cert.rb:142:in `fetch_crl'
puppetdb_1      |       from /usr/local/bin/request-cert.rb:244:in `<main>'
puppetdb_1      | ---> Certificate retrieval failed. Exiting
puppetdb_1      | run-parts: /docker-entrypoint.d/11-tls-setup.sh exited with return code 1
puppetdb_1      | run-parts: executing /docker-entrypoint.d/20-whitelist.sh
puppetdb_1      | ---> Configuring PuppetDB whitelist
puppet-in-docker_puppetdb_1 exited with code 1


Fixes some field in model not being updated when adding flexibilities.

When adding a flexibility in the model, the joints are 'manually' reordered. pinocchio 2.0 added some new members to the Model class, these members were not update and where thus incorrect.
This only impacted hessian computation - but would cause a crash when compiled in Debug.

Closing as already fixed in duburcqa:master

Ah interesting ! I was not aware of the impact, just that now the CI is running in release and debug mode, so I caught the bug and fixed it. Many bugs have been fixed on master wrt wandercraft pinned version, and even some more on dev branch !


can't distinguishing connection's close code

Hello, folks! I'm facing an issue while using cboden/ratchet v0.4.4.
I'm having trouble distinguishing between
var conn = new WebSocket('ws://localhost:8088');
conn.close(4100, 'Abnormal closure')

and
conn.close(3100, 'whatelse')

within the onClose(ConnectionInterface $conn) method.
Thanks

I checked the source code at GitHub link. I want to access this $code variable.


Update inview action type to support new Svelte5 syntax

Updating the action so that new Svelte5 event handler syntax is support like "oninview_change".
Fixes https://github.com/maciekgrzybek/svelte-inview/issues/49
Relevant Docs: https://svelte.dev/docs/svelte-action#types-actionreturn

@maciekgrzybek Any updates on this?

Hey @jhubbardsf I merged the changes :) Also, left some more info on the issue thread

Closing since this work was already done in master.


Link invalid

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/en-us/exchange/clients/exchange-activesync/configure-email-access?view=exchserver-2019
in the "Note" section click on ' Set up Office apps and email on a mobile device.'
Link is invalid and has microsoft spelled incorrectly
https://support.mcrosoft.com/office/7dabb6cb-0046-40b6-81fe-767e0b1f014f

Expected behavior
https://support.microsoft.com/office/7dabb6cb-0046-40b6-81fe-767e0b1f014f
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Win7]
Browser Chrome
Version 87.0.4280.88

Additional context
Please update link text

@va3gjg Please move this issue to https://github.com/MicrosoftDocs/OfficeDocs-Exchange/issues


Predictabel Noise

Hi,
I was very happy to found an open-simplex noise for Godot and Phyton. After Implementation my highmap looks a little bit predictable. The chunks are iterative themself. I looked at the algorythm and found out that the implementation for the permutation is not correct.  For correct this you replace the
var perm = []
with
var perm = [6, 151, 160, 137, 91, 90, 15, 131, 13, 7,201, 95, 96, 53, 194, 233, 7, 225, 8,140, 36, 103, 30, 69, 142, 8, 99, 9,37, 240, 21, 10, 23, 190, 6, 148, 10,247, 120, 234, 75, 0, 26, 197, 62, 11,94, 252, 219, 203, 117, 35, 11, 32, 12,57, 177, 33, 88, 237, 149, 56, 87, 13,174, 20, 125, 136, 171, 168, 68, 175, 14,74, 165, 71, 134, 139, 48, 27, 166, 15,77, 146, 158, 231, 83, 111, 229, 122, 16,60, 211, 133, 230, 220, 105, 92, 41, 17,55, 46, 245, 40, 244, 102, 143, 54, 18,65, 25, 63, 161, 1, 216, 80, 73, 19,209, 76, 132, 187, 208, 89, 18, 169, 20,200, 196, 135, 130, 116, 188, 159, 86, 21,164, 100, 109, 198, 173, 186, 3, 64, 22,52, 217, 226, 250, 124, 123, 5, 202, 23,38, 147, 118, 126, 255, 82, 85, 212, 24,207, 206, 59, 227, 47, 16, 58, 17, 25,182, 189, 28, 42, 223, 183, 170, 213, 26,119, 248, 152, 2, 44, 154, 163, 70, 27,221, 153, 101, 155, 167, 43, 172, 9, 28,129, 22, 39, 253, 19, 98, 108, 110, 29,79, 113, 224, 232, 178, 185, 112, 104, 30,218, 246, 97, 228, 251, 34, 242, 193, 31,238, 210, 144, 12, 191, 179, 162, 241, 32,81, 51, 145, 235, 249, 14, 239, 107, 33,49, 192, 214, 31, 181, 199, 106, 157, 34,184, 84, 204, 176, 115, 121, 50, 45, 35,127, 4, 150, 254, 138, 236, 205, 93, 36,222, 114, 67, 29, 24, 72, 243, 141, 37,128, 195, 78, 66, 215, 61, 156, 180 ]

the var perm has its values initialized here: https://github.com/PerduGames/SoftNoise-GDScript-/blob/master/softnoise.gd#L144

Wath i mean is the map will then look like this. Every time it looks like some waves.

When i change the permutation, the map will look like this:

In which function? and I would need to check the algorithm you are generating.

Check this commit I just gave. https://github.com/PerduGames/SoftNoise-GDScript-/commit/f6b2788ee9515768caf9a5164ede957aefa9ed24 I think the problem has been solved.


Paloma init seems not to be called

Hi there,
I think I settled everything up correctly but Paloma is still not working.
I required Paloma in application.js and Paloma is indeed accessible in my browser from window["Paloma"]. I can also see the div['js-paloma-hook"] in my HTML and I added a controller and the corresponding hook in my javascript.
When I run in my console:
Window.Paloma.executeHook();
Window.Paloma.engine.start();

my code is indeed executed... So I added in app/assets/javascripts/paloma/main with the code of the init.js file and now everything works correctly.
Do you know what I could be doing wrong?
Thanks in advance

@OriaLogic what version of Paloma are you using?

Hi, version 4.2.0. I simply added the gem and bundled.

@OriaLogic Please read the installation instruction for 4.2.0: https://github.com/kbparagua/paloma/tree/4.2.0#install


Animate Files when opening a new instance of the program ...

What feature or improvement do you think would benefit Files?
Currently, Files does not animate when opening a new window.  It would be nice to have Files animate its opening sequence (like how File Explorer opens when window animations are enabled in Windows).  To me, this would make so much sense and should be easy to implement, especially since part of the point of Files is to have a file explorer that fits in better, aesthetically speaking, with Windows than Windows File Explorer does.  I hope this is done with the next release (whenever that will be).  Thanks.
Requirements
N/A
Files Version
3.0
Windows Version
Windows 11 23H2
Comments
N/A

Thanks for the feedback, I'm a fan of animations myself, but the overwhelming feedback from users is that startup should be as fast as possible without any animations.

Well, can you make it an option, at least?  And a big thank you for such a speedy response, too.

Great, we found another way to reduce performances...

Well, can you make it an option, at least? And a big thank you for such a speedy response, too.

If there is enough interest

Having the ability to set the opening animation as an option would be ideal but as someone who deals with files a lot during their day for work, having the speediest startup possible is a must. At a certain point, you forget that the animations are even there when you're focused on the task at hand

I don't think it will penalice performance too much, at least in my experience files' start up times are usually pretty fast and most performance problems appear when browsing folders (specially when you enter an uncached folder or one with a significant number of files). That said I'm using a Ryzen 5900X, so I understand that my performance it's probably abobe the average.

This is an unintentional side effect of showing an existing window instead of creating a new one. Should this be considered a bug?

The animation should follow the Windows 11 pop-in animation used by other applications. Try opening Microsoft store, for example, and see how it zooms in quickly. https://fluent2.microsoft.design/motion

I may have misunderstood, are you talking about animating the content in Files, or did you mean the window itself?

The window itself. Glad you asked to clarify.

My two cents: unless the loading screen actually tells me useful information, it is not needed.
Here are useful loading screens

pgadmin: shows what modules are being loaded at the time
FML: shows which step the mod initialization is in
gradle build: shows what threads are doing
that one gacha game I'm playing: tells me which stage uses data or not

For files I sometimes see slow startup, and it would be nice to see and feel what exactly prevents it from initializing faster.


Patch known libraries where possible

There are some libraries that can be made to work with pyfakefs if adding some specific patches. This includes django (file locking, described as an example in the documentation), pandas (at least from_csv can be made to work, see #528), and probably more.
It could be helpful to automatically add these patches if the libraries are installed, with the option to disable this if not wanted.

Has been implemented for Pandas and django, more may be added on demand.


eshop referencing zipkin endpoint zipkin.istio-system.svc.cluster.local

Based on TSB 1.6 updates, what will be the value to change it?
https://github.com/smarunich/tetrate-service-bridge-sandbox/blob/66d6d3e148bdb40887746ff1348be4bb26562b1e/modules/apps/eshop/manifests/apps/services.yaml#L60

No change is required. We keep the zipkin service for backwards compatibility on upgrades, but it points to OAP.
https://github.com/tetrateio/tetrate/blob/master/tsboperator/controlplane/manifests/charts/oap/templates/service-zipkin.yaml

oh nice thanks for the heads up.


Task Completion time never set

The tasks never get their completion time set when they finish so you cant calculate the latencies.

This should be added in jobDone and ioDone.  I may add a pull request with the exact fix.


Reducing Current Consumption

Hi,
I wanted to re-open an issue under a different scope. I have successfully put the iMX8M into Suspend-to-RAM and enabled a USB wakeup. The current draw of the Dev Board is .7 A when idle and .52 A when in Suspend-to-RAM.
I mentioned in the previous post that 2 LEDs are still on while the iMX8M has been suspended. Do you have any recommendations on how to disable these LEDs without completely removing them from the board? Also, do you have any other recommendations to further reduce the consumption?
Thank you!

@murreletinnovation Are you referring to the serial console LEDs here ?

Closing this due to lack of activity.


periodontal ligament necrosis

periodontal ligament necrosis (child of abnormal periodontal ligament morphology MP:0003668)
DEF: morphological changes resulting from pathological death of periodontal ligament tissue; usually due to irreversible damage
SYN: necrotic periodontal ligament

Added: periodontal ligament necrosis MP:0030515


IOS error Object {code: "ENSOSSTATUSERRORDOMAIN2003334207"

error Object {code: "ENSOSSTATUSERRORDOMAIN2003334207", message: "The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)", nativeStackIOS: Array[17], domain: "NSOSStatusErrorDomain"}
It is not work if I using mp3 file in my component folder
Music/
music.js
background1.mp3
playSound() {
var s = new Sound('background2.mp3', Sound.DOCUMENT, (e) => {
if (e) {
console.log('error', e);
} else {
console.log('duration', s.getDuration());
s.play();
}
});
}

add the file to Xcode Resources.

Hi! I have the same problem, I've followed the readme file and added the mp3 as a resource in Xcode project. Also I've added the library according to readme-file. Below is my code, the path on the file in X-code project is set to "Relative to Project" and is "../audio/soundfile.mp3"
var music = new Sound('../audio/soundfile.mp3', Sound.MAIN_BUNDLE, (error) => {

         if (error) {
             alert('error:' + error);
            console.log('failed to load the sound', error);
         }
         else { // loaded successfully
             console.log('duration in seconds: ' + music.getDuration() +
            'number of channels: ' + music.getNumberOfChannels());
         }

     });

The error I get is,
<Notice>: 'failed to load the sound', { code: 'ENSOSSTATUSERRORDOMAIN2003334207', 	  message: 'The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)', 	  nativeStackIOS: 	   [ '0   ElevatorMusic                       0x000000010be76896 RCTJSErrorFromCodeMessageAndNSError + 134', 	     '1   ElevatorMusic                       0x000000010be767c3 RCTJSErrorFromNSError + 275', 	     '2   ElevatorMusic                       0x000000010bdd151e -[RNSound prepare:withKey:withCallback:] + 958', 	     '3   CoreFoundation                      0x000000010dad705c __invoking___ + 140', 	     '4   CoreFoundation                      0x000000010dad6ee1 -[NSInvocation invoke] + 289', 	     '5   CoreFoundation                      0x000000010daeeed6 -[NSInvocation invokeWithTarget:] + 54', 	     '6   ElevatorMusic                       0x000000010bdfb1af -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1887', 	     '7   ElevatorMusic                       0x000000010be53d88 -[RCTBatchedBridge _handleRequestNumber:moduleID:methodID:params:] + 680', 	     '8   ElevatorMusic                       0x000000010be52eca __33-[RCTBatchedBridge handleBuffer:]_block_invoke.494 + 1274', 	     '9   libdispatch.dylib                   0x0000000111a2c810 _dispatch_call_block_and_release + 12', 	     '10  libdispatch.dylib                   0x0000000111a4e12e _dispatch_client_callout + 8', 	     '11  libdispatch.dylib                   0x0000000111a33523 _dispatch_queue_serial_drain + 1018', 	     '12  libdispatch.dylib                   0x0000000111a33cf3 _dispatch_queue_invoke + 1118', 	     '13  libdispatch.dylib                   0x0000000111a3409b _dispatch_queue_override_invoke + 376', 	     '14  libdispatch.dylib                   0x0000000111a35a0e _dispatch_root_queue_drain + 506', 	     '15  libdispatch.dylib                   0x0000000111a357b4 _dispatch_worker_thread3 + 113', 	     '16  libsystem_pthread.dylib             0x0000000111df44de _pthread_wqthread + 1129', 	     '17  libsystem_pthread.dylib             0x0000000111df2341 start_wqthread + 13' ], 	  domain: 'NSOSStatusErrorDomain' }

Hmm... for some reason it just started working. Not sure what I did though, but I stopped getting the error and suddenly I heard the sound.

Have you ever figured out what you did to fix this? I experience the same issue.

It sounds like the issue has been resolved, so I'm closing this.

If anyone else arrives here: we got this working after putting the file in the Xcode Resources directory, then redeploying with react-native run-ios.  Not sure if restarting the packager was necessary.

Got the same error as above, but closing xcode and opening it again made it work. Thank you lukecwilliams for leading me in the right direction

same error
I add file in the Xcode Resources and redeploy with react-native run-ios
but to no avail :(

@lossen sometimes you have to close XCode and open it again before it starts working after adding the file to the XCode resources.
A clean build will also help ;-)

Does this relate to relinking?

hello
I have the same problem with IOS when i try this
playTrack(parent){
const track = new Sound('https://www.soundjay.com/button/button-1.mp3',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
work good but when i try with the link firebase storage not working
playTrack(parent){
const track = new Sound('https://firebasestorage.googleapis.com/v0/b/prj1-aa7b3.appspot.com/o/Chat_audio%2Fbutton-1 (1).mp3?alt=media&token=39d18256-25c0-4948-b0d8-12c3f626a26a',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
The error I receive is:
[info][tid:com.facebook.react.JavaScript] { code: 'ENSOSSTATUSERRORDOMAIN-10875',
nativeStackIOS:
[ '0   MyApp                              0x00000001001ac318 RCTJSErrorFromCodeMessageAndNSError + 152',

it seems that that this issue is back again:
    "react": "16.0.0",
    "react-native": "0.50.0",

componentDidMount () {
    const url = 'http://www.soundhelix.com/examples/mp3/SoundHelix-Song-6.mp3'
    this.player = new Sound(url, Sound.MAIN_BUNDLE, (error) => {
      if (error) {
        console.log('failed to load the sound', error)
        return
      }
      console.log('duration in seconds: ' + this.player.getDuration() + 'number of channels: ' + this.player.getNumberOfChannels())
    })
  }

Native stack nativeStackIO:
0: "0   the_app                0x000000010b7f7276 RCTJSErrorFromCodeMessageAndNSError + 134"
1: "1   the_app                0x000000010b7f71a3 RCTJSErrorFromNSError + 275"
2: "2   the_app                0x000000010b98eef5 -[RNSound prepare:withKey:withOptions:withCallback:] + 1493"
3: "3   CoreFoundation                      0x000000010e0f549c __invoking___ + 140"
4: "4   CoreFoundation                      0x000000010e0f5370 -[NSInvocation invoke] + 320"
5: "5   CoreFoundation                      0x000000010e10dd56 -[NSInvocation invokeWithTarget:] + 54"
6: "6   the_app                0x000000010b7a59bc -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2796"
7: "7   the_app                0x000000010b83c332 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 786"
8: "8   the_app                0x000000010b83be5f _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 127"
9: "9   the_app                0x000000010b83bdd9 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25"
10: "10  libdispatch.dylib                   0x00000001127eb273 _dispatch_call_block_and_release + 12"
11: "11  libdispatch.dylib                   0x00000001127ec2b5 _dispatch_client_callout + 8"
12: "12  libdispatch.dylib                   0x00000001127f3e3f _dispatch_queue_serial_drain + 654"
13: "13  libdispatch.dylib                   0x00000001127f4690 _dispatch_queue_invoke + 329"
14: "14  libdispatch.dylib                   0x00000001127f0d94 _dispatch_queue_override_invoke + 477"
15: "15  libdispatch.dylib                   0x00000001127f6a72 _dispatch_root_queue_drain + 568"
16: "16  libdispatch.dylib                   0x00000001127f67dc _dispatch_worker_thread3 + 119"
17: "17  libsystem_pthread.dylib             0x0000000112ca15a2 _pthread_wqthread + 1299"
18: "18  libsystem_pthread.dylib             0x0000000112ca107d start_wqthread + 13"

@amed  Had this problem.
Solved it by adding Sound.MAIN_BUNDLE to the Sound constructor and moving the .mp3 files to the resources folder of the project in XCode.
(Note: Keeps working on Android without problems)
Constructor
var Beep = new Sound('beep_high.mp3', Sound.MAIN_BUNDLE);
Folder structure

Thanks @FRodrigues21 for response, in my example the file is uri. BUT tried also to download it with react-native-fetch-blob and then play it, it cause same issue.

Any workaround to play sound over HTTP protocol? didn't see any successful example

have the same problem in IOS simulator,
but found a workaround:
change RNSound.m line194-197 to
fileNameUrl = [NSURL URLWithString: fileName];
NSData* data = [NSData dataWithContentsOfURL:fileNameUrl] ;
player = [[AVAudioPlayer alloc]
              initWithData:data
              error:&error];

it seems that AVAudioPlayer.initWithContentsOfURL could not load directly with filename , we have to first read it into memory then it's happy to load.

I'm also unable to get this working either on simulator or on an actual device – I've downloaded an mp3 file and saved it to my app's documents directory but get the same error when I try and create a Sound.  I haven't been able to try the solution posted by @fatfatson but that would require some library changes anyway. Has anyone managed to solve this?

@fatfatson  I tried your fix but it's not working either. I'm recording some audios and then try to reproduce them but sometimes (1 out of 3) the file is not loaded.
Thanks!

Can you please @benvium reopen this issue!?
it seems like it is still not solved.

@bdrobinson - were you able to find a fix? I'm also downloading the files to the filesystem and am getting this same error, even after trying every solution listed in the repo (#334, #89, #321, #324, #89)

Just replace Sound.MAIN_BUNDLE by an empty string.
Worked for me

Just replace Sound.MAIN_BUNDLE by an empty string.
Worked for me

thanks, working for me

For iOS what worked for me is the following:

Checked that my resource file was being played in xCode

Open xCode
Select the file
Click play in the xCode player

Once it was playing sound (had issues with some files, possibly encoding),

Add the file as resource (Make sure is in Build Phases)

Compile the project in xCode and run it from there

Note: Every time you change the resources or expect new resources you need to compile your Native application either by doing it from xCode or npm run ios

This is my code:
const sound = new Sound(
    "myFile.mp3",
    Sound.MAIN_BUNDLE,
    error => {
      if (error) {
        console.log("failed to load the sound", error);
        return;
      }
      sound.play(() => sound.release());
    }
  );
// The play dispatcher
sound.play();

Just replace Sound.MAIN_BUNDLE by an empty string.
Worked for me

Worked for me too!!!

Handling both android and ios:
import { Platform } from 'react-native';
import Sound from 'react-native-sound';

const mainBundle = Platform.OS === 'ios'
  ? encodeURIComponent(Sound.MAIN_BUNDLE)
  : Sound.MAIN_BUNDLE;

export const notifAlert = new Sound('notif_alert.mp3', mainBundle, error => {
  if (error) console.error(error);
});

Handling both android and ios:
import { Platform } from 'react-native';
import Sound from 'react-native-sound';

const mainBundle = Platform.OS === 'ios'
  ? encodeURIComponent(Sound.MAIN_BUNDLE)
  : Sound.MAIN_BUNDLE;

export const notifAlert = new Sound('notif_alert.mp3', mainBundle, error => {
  if (error) console.error(error);
});

hello
I have the same problem with IOS when i try this
playTrack(parent){
const track = new Sound('https://www.soundjay.com/button/button-1.mp3',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
work good but when i try with the link firebase storage not working
playTrack(parent){
const track = new Sound('https://firebasestorage.googleapis.com/v0/b/prj1-aa7b3.appspot.com/o/Chat_audio%2Fbutton-1 (1).mp3?alt=media&token=39d18256-25c0-4948-b0d8-12c3f626a26a',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
The error I receive is:
[info][tid:com.facebook.react.JavaScript] { code: 'ENSOSSTATUSERRORDOMAIN-10875',
nativeStackIOS:
[ '0 MyApp 0x00000001001ac318 RCTJSErrorFromCodeMessageAndNSError + 152',

replace the 'MAIN_BUNDLE' with null works fine for me. Not sure about firebase though

hello
I have the same problem with IOS when i try this
playTrack(parent){
const track = new Sound('https://www.soundjay.com/button/button-1.mp3',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
work good but when i try with the link firebase storage not working
playTrack(parent){
const track = new Sound('https://firebasestorage.googleapis.com/v0/b/prj1-aa7b3.appspot.com/o/Chat_audio%2Fbutton-1 (1).mp3?alt=media&token=39d18256-25c0-4948-b0d8-12c3f626a26a',null, (e) => {
if (e) {
console.log(e)
} else {
track.play()
}
})
}
The error I receive is:
[info][tid:com.facebook.react.JavaScript] { code: 'ENSOSSTATUSERRORDOMAIN-10875',
nativeStackIOS:
[ '0 MyApp 0x00000001001ac318 RCTJSErrorFromCodeMessageAndNSError + 152',

replace the 'MAIN_BUNDLE' with null works fine for me. Not sure about firebase though

const mainBundle = Platform.OS === 'ios'
  ? encodeURIComponent(Sound.MAIN_BUNDLE)
  : Sound.MAIN_BUNDLE;

Thank you. Worked for me

Handling both android and ios:
import { Platform } from 'react-native';
import Sound from 'react-native-sound';

const mainBundle = Platform.OS === 'ios'
  ? encodeURIComponent(Sound.MAIN_BUNDLE)
  : Sound.MAIN_BUNDLE;

export const notifAlert = new Sound('notif_alert.mp3', mainBundle, error => {
  if (error) console.error(error);
});

It works for me. Thank you @aprilmintacpineda

hello I have the same problem with IOS when i try this playTrack(parent){ const track = new Sound('https://www.soundjay.com/button/button-1.mp3',null, (e) => { if (e) { console.log(e) } else { track.play() } }) } work good but when i try with the link firebase storage not working playTrack(parent){ const track = new Sound('https://firebasestorage.googleapis.com/v0/b/prj1-aa7b3.appspot.com/o/Chat_audio%2Fbutton-1 (1).mp3?alt=media&token=39d18256-25c0-4948-b0d8-12c3f626a26a',null, (e) => { if (e) { console.log(e) } else { track.play() } }) } The error I receive is:
[info][tid:com.facebook.react.JavaScript] { code: 'ENSOSSTATUSERRORDOMAIN-10875', nativeStackIOS: [ '0 MyApp 0x00000001001ac318 RCTJSErrorFromCodeMessageAndNSError + 152',

Did you make it work ? I have the same issue.

Same to me, any update?

Facing the same issue too; anyone found a solution? :/
@AnthonyLabaere @minhchienwikipedia ?
Right now I am starting to believe it is linked with NSAllowsArbitraryLoads / NSAppTransportSecurity config in info.plist, since this issue only happens on iOS with remote url.
If you guys wanna participate to the investigation...

@pierroo i have the same problem. For me it started after i upgraded react native to 0.66

Now that's unfortunate; I am also using latest react native version (0.66)
Using react-native-sound 0.11.1
I am using audio files stored in firebase storage, in an .mp4 format.
Those audio files are beforehand recorded with 'react-native-sound-recorder'
I can open those files in my browser, and they play as expected
I am also using an empty string bundle path
It works perfectly on android, but not on iOS
I tried with different remote sound (if that matters, I tried with 'https://www2.cs.uic.edu/~i101/SoundFiles/ImperialMarch60.wav') and it works there.
Do you have any similarities here?

My audio files are stored in Amazon S3
I use 'react-native-audio' to record files
I use the empty string, and it used to work before the upgrade (iOS and Android)
Now it works only on Android

I have set 'NSAllowsArbitraryLoads / NSAppTransportSecurity'  to false and even removed  it on my Info.plist. But the problem persists

Have you tried with the sampe link I sent above if the audio played on your end?
If it does: then we are on the same boat.
If it does not work, then that means your problem is elsewhere in your code, in which case copy / pasting it here would be helpful for investigating

Okay some additional information following some investigation:
Any remote link that ends with a proper audi extension ( *.mp3, *.wav, *.aac etc) will be read without issue by react native sound.
However, as soon as we start playing with firebase / amazon url, that ends with a token and no file extension in their url, then the error happens.
So clearly ios or react native sound doesn't like an audio file without a proper url / extension...
And I still can't find my way around it.
Might need to first download the file with rn fetch blob, have a local url, and play it with sound then?
Ugly workaround since it works fine on android, but for ios this might now be required?

@pierroo I had created a sound manager package, you can try it, I also have an option for download and play as a local file. I'm using it and don't get any issues, hope it's helpful!  https://github.com/minhchienwikipedia/react-native-sound-manager

Hi @minhchienwikipedia,
Is it possible to increase audio speed with your package?

Hi @pierroo, I had same issue with files from firebase storage. I solved it by a different approach:
const storageRef = '/audios/audios_test.mp3';
const filename = storageRef.split('/').pop();
const filePath = `${utils.FilePath.DOCUMENT_DIRECTORY}/${filename}`;
await storage().ref(storageRef).writeToFile(filePath);
const sound = new Sound(filePath, '', e => { if(e) console.error(e) })

Works on Android and iOS

If you recently upgraded react-native-sound to 0.11.1+, the package added filepath encoding on the native side, so if you already have the sound files correctly in the Xcode resources folder, check if you had encodeUri when defining your filepath and remove it. See info here

@amed Had this problem. Solved it by adding Sound.MAIN_BUNDLE to the Sound constructor and moving the .mp3 files to the resources folder of the project in XCode.
(Note: Keeps working on Android without problems)
Constructor var Beep = new Sound('beep_high.mp3', Sound.MAIN_BUNDLE);
Folder structure

If the folder does not exist, just create it, clean the project and then run again.

"domain":"NSOSStatusErrorDomain",
"message":"The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)",
AnyOne has any idea i have tried with openAI but getting the same errror for everything.
This is the code:
` fetch('https://api.openai.com/v1/audio/speech', {
method: 'POST',
body,
headers: options.headers,
})
.then(async response => {
const mainBundle =
Platform.OS === 'ios'
? encodeURIComponent(Sound.MAIN_BUNDLE)
: Sound.MAIN_BUNDLE;
    const blob = await response.blob();
    const mp3URL = blob?._data?.name || '';
    // console.log(mp3URL, 'blob', RNFS.DocumentDirectoryPath);

    //directPlyback
    const player = new Sound(mp3URL, mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('loaded successfully using JSON file', player);
    });

    //playing the local audio
    const player2 = new Sound('./Temporary.mp3', mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('Audio playback finished using  local audio', player2);
    });

    //using non-secure URL Sound.MAIN_BUNDLE
    const url =
      'http://www.soundhelix.com/examples/mp3/SoundHelix-Song-6.mp3';
    const player3 = new Sound(url, mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('Audio playback finished using non-secure URL ', player3);
    });

    //using the Secure URL
    const sound2 = new Sound(
      'https://samplesongs.netlify.app/Death%20Bed.mp3',
      mainBundle,
      error => {
        if (error) {
          console.log('failed to load the sound', error);
          return;
        }
        sound.play(() => {
          console.log(
            'Audio playback finished using the Secure URL',
            sound2,
          );
          sound.release();
        });
      },
    );

    //using the FS URL
    const sound = new Sound(
      RNFS.DocumentDirectoryPath + '/audio/' + mp3URL,
      mainBundle,
      error => {
        if (error) {
          console.log('failed to load the sound', error);
          return;
        }
        // if loaded successfully
        console.log('loaded successfully with FS', sound);
      },
    );
    return () => {
      sound.release();
    };
  })
  .catch(ex => {
    console.log('Error', ex);
  });`

and the error is:
`{
"code":"ENSOSSTATUSERRORDOMAIN2003334207",
"domain":"NSOSStatusErrorDomain",
"message":"The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)",
"nativeStackIOS":[
"0 0x00000001016f6f80 RCTJSErrorFromCodeMessageAndNSError + 112",
"1 0x00000001016f6ed0 RCTJSErrorFromNSError + 236",
"2 0x00000001015f0534 -[RNSound prepare:withKey:withOptions:withCallback:] + 1288",
"3 CoreFoundation 0x000000018df17c84 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 203908",
"4 CoreFoundation 0x000000018df17710 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 202512",
"5 CoreFoundation 0x000000018df17538 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 202040",
"6 0x000000010169cc8c -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1796",
"7 0x00000001016a0d28 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1688",
"8 0x00000001016a04c4 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 128",
"9 0x00000001016a0438 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28",
"10 libdispatch.dylib 0x0000000195de113c B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 8508",
"11 libdispatch.dylib 0x0000000195de2dd4 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 15828",
"12 libdispatch.dylib 0x0000000195dea400 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 46080",
"13 libdispatch.dylib 0x0000000195deaf30 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 48944",
"14 libdispatch.dylib 0x0000000195df5cb4 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 93364",
"15 libdispatch.dylib 0x0000000195df5528 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 91432",
"16 libsystem_pthread.dylib 0x00000001e9ec8f20 _pthread_wqthread + 288",
"17 libsystem_pthread.dylib 0x00000001e9ec8fc0 start_wqthread + 8"
],
"userInfo":{
}
}`

After removing the mainBundle it worked for me.

"domain":"NSOSStatusErrorDomain", "message":"The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)",
AnyOne has any idea i have tried with openAI but getting the same errror for everything.
This is the code: ` fetch('https://api.openai.com/v1/audio/speech', { method: 'POST', body, headers: options.headers, }) .then(async response => { const mainBundle = Platform.OS === 'ios' ? encodeURIComponent(Sound.MAIN_BUNDLE) : Sound.MAIN_BUNDLE;
    const blob = await response.blob();
    const mp3URL = blob?._data?.name || '';
    // console.log(mp3URL, 'blob', RNFS.DocumentDirectoryPath);

    //directPlyback
    const player = new Sound(mp3URL, mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('loaded successfully using JSON file', player);
    });

    //playing the local audio
    const player2 = new Sound('./Temporary.mp3', mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('Audio playback finished using  local audio', player2);
    });

    //using non-secure URL Sound.MAIN_BUNDLE
    const url =
      'http://www.soundhelix.com/examples/mp3/SoundHelix-Song-6.mp3';
    const player3 = new Sound(url, mainBundle, error => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      console.log('Audio playback finished using non-secure URL ', player3);
    });

    //using the Secure URL
    const sound2 = new Sound(
      'https://samplesongs.netlify.app/Death%20Bed.mp3',
      mainBundle,
      error => {
        if (error) {
          console.log('failed to load the sound', error);
          return;
        }
        sound.play(() => {
          console.log(
            'Audio playback finished using the Secure URL',
            sound2,
          );
          sound.release();
        });
      },
    );

    //using the FS URL
    const sound = new Sound(
      RNFS.DocumentDirectoryPath + '/audio/' + mp3URL,
      mainBundle,
      error => {
        if (error) {
          console.log('failed to load the sound', error);
          return;
        }
        // if loaded successfully
        console.log('loaded successfully with FS', sound);
      },
    );
    return () => {
      sound.release();
    };
  })
  .catch(ex => {
    console.log('Error', ex);
  });`

and the error is: `{ "code":"ENSOSSTATUSERRORDOMAIN2003334207", "domain":"NSOSStatusErrorDomain", "message":"The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.)", "nativeStackIOS":[ "0 0x00000001016f6f80 RCTJSErrorFromCodeMessageAndNSError + 112", "1 0x00000001016f6ed0 RCTJSErrorFromNSError + 236", "2 0x00000001015f0534 -[RNSound prepare:withKey:withOptions:withCallback:] + 1288", "3 CoreFoundation 0x000000018df17c84 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 203908", "4 CoreFoundation 0x000000018df17710 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 202512", "5 CoreFoundation 0x000000018df17538 3A5F992A-D1CD-312E-BD2E-F7C66343A417 + 202040", "6 0x000000010169cc8c -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1796", "7 0x00000001016a0d28 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1688", "8 0x00000001016a04c4 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 128",
"9 0x00000001016a0438 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28",
"10 libdispatch.dylib 0x0000000195de113c B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 8508", "11 libdispatch.dylib 0x0000000195de2dd4 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 15828", "12 libdispatch.dylib 0x0000000195dea400 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 46080", "13 libdispatch.dylib 0x0000000195deaf30 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 48944", "14 libdispatch.dylib 0x0000000195df5cb4 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 93364", "15 libdispatch.dylib 0x0000000195df5528 B7D9D0A6-2414-37F2-9D03-1A25A474E2CF + 91432", "16 libsystem_pthread.dylib 0x00000001e9ec8f20 _pthread_wqthread + 288", "17 libsystem_pthread.dylib 0x00000001e9ec8fc0 start_wqthread + 8" ], "userInfo":{ } }`

after removing the mainBundle it worked for me!.

@TajGoud  how you do that? can you give me some example code?


figure out Netlify build process

build actions on lunaria are tied to a netlify app, transfer necessary credentials if any

[ ] find some transfer docs to work on

reached out to jimmy to remove the account builder


Reintroduce Hidden component

Reintroduce the hidden component.
https://material-ui.com/components/hidden/
The removal of the hidden compatibility breaks backwards compatibility.
Currently the sx property makes it difficult to replicate the functionally of the hidden component.
I think it has been prematurely removed.
For example:
<Hidden smDown><Button display='flex' /><Hidden/>
becomes,
<Button sx={{ display: { xs: "none", sm: "none", md: "flex", lg: "flex", xl: "flex" }}} />
Having to list all the breakpoints in the example above isn't ideal. Hidden supported this use case well.

@GDownes you don't need to specify all breakpoints, see https://github.com/mui-org/material-ui/pull/26348/files Does this clarify things?
-<Hidden implementation="css" smDown><Button' /></Hidden>
+<Button sx={{ display: { xs: 'none', sm: 'flex' } }} />

See https://codesandbox.io/s/nifty-banzai-gb6co?file=/index.js

Thanks for the quick reply:
It's seems I do need to specify all breakpoints:
See:
In this example I'd expect xs to also be hidden

@GDownes it works the other way around, the object in the sx breakpoints specifies up(), that's why you need to specify the lowest breakpoint (xs to be hidden), and the next breakpoint for which you want the component to be shown. On the example you've sent, change sm with xs and it would be hidden for both xs and sm

@mnajdova Thanks for the clarification. That's makes sense.

I have stopped listening to issues for the last 3 weeks. I was planning to open the same issue when I realized it was already created. It seems that the removal of the <Hidden> component was premature. We got a lot more people complaining about this one than most of the other BCs.
My main concern is that the migration path is only fully available since v5, people on v4 don't have a smooth transition. I propose we introduce the component back but deprecated.


Surface load errors when reading .kubeconfig files

Running kubectl get pods --kubeconfig=bogus doesn't complain that the specified config file is missing. It should.
You also don't get any notice that a particular kubeconfig file couldn't be read or deserialized.

@jlowdermilk PTAL
/cc @deads2k @derekwaynecarr

LGTM


NoMethodError: undefined method relation

ActiveRecord (>=6.0.3) and AR::MultiTenant cause "NoMethodError: undefined method relation" when joining the multitenant tables and ActiveStorage tables.
The error has been occured since https://github.com/rails/rails/pull/38929 is merged.
Steps to reproduce the issue:

Save this code to app.rb:

# frozen_string_literal: true

require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  git_source(:github) { |repo| "https://github.com/#{repo}.git" }

  # Activate the gem you are reporting the issue against.
  gem "rails", ENV["RAILS_VERSION"] || "6.0.3"
  gem "sqlite3"
  gem "activerecord-multi-tenant", require: false
end

require "active_record/railtie"
require "active_storage/engine"
require "tmpdir"
require "activerecord-multi-tenant"

class TestApp < Rails::Application
  config.root = __dir__
  config.hosts << "example.org"
  config.eager_load = false
  config.session_store :cookie_store, key: "cookie_store_key"
  secrets.secret_key_base = "secret_key_base"

  config.logger = Logger.new($stdout)
  Rails.logger  = config.logger

  config.active_storage.service = :local
  config.active_storage.service_configurations = {
    local: {
      root: Dir.tmpdir,
      service: "Disk"
    }
  }
end

ENV["DATABASE_URL"] = "sqlite3::memory:"

Rails.application.initialize!

require ActiveStorage::Engine.root.join("db/migrate/20170806125915_create_active_storage_tables.rb").to_s

ActiveRecord::Schema.define do
  CreateActiveStorageTables.new.change

  create_table :tenants
  create_table :groups, force: true do |t|
    t.integer :tenant_id, null: false
  end
  create_table :users, force: true do |t|
    t.integer :tenant_id, null: false
    t.integer :group_id, null: false
  end
end

class Tenant < ActiveRecord::Base
end

class Group < ActiveRecord::Base
  multi_tenant :tenant
  has_many :users
end

class User < ActiveRecord::Base
  multi_tenant :tenant
  belongs_to :group

  has_one_attached :profile
end

require "minitest/autorun"

class BugTest < Minitest::Test
  def test_join
    tenant = Tenant.create!
    group = Group.create!(tenant: tenant)

    User.create!(
      tenant: tenant,
      group: group,
      profile: {
        content_type: "text/plain",
        filename: "dummy.txt",
        io: ::StringIO.new("dummy"),
      }
    )

    assert_equal group.id, Group.joins(users: { profile_attachment: :blob }).find(group.id).id
  end
end

Compare the results of theese two runs:

RAILS_VERSION=<IP_ADDRESS> ruby app.rb
RAILS_VERSION=6.0.3 ruby app.rb

Hi,
Thanks for raising this issue. This should fix it :) : https://github.com/citusdata/activerecord-multi-tenant/pull/88

Hi,
The PR https://github.com/citusdata/activerecord-multi-tenant/pull/98 was merged and contains fixes for this and clears warning for rails 2.7.
A new version will be released soon.


Add --cpus-per-gpu=2 as a slurm default

Add --cpus-per-gpu=2 or 4 as a default otherwise it defaults to 1 per whole task which is very tiny amount.

In slurm.conf add the following:
DefCpuPerGPU=2

@steven-basart
Added in #130


feat: have extract_goal give full context when it detects a contradiction proof

If the goal is False, extract_goal would delete all hypotheses and leave an impossible goal. Now in this case extract_goal has the behavior of extract_goal*. (Suggested by Bhavik Mehta.)
Also changes the extract_goal syntax to
"extract_goal" ("*" <|> ident*) ("using" ident)?

The "using" clause replaces the autogenerated name for the extracted theorem/def. The extract_goal tactic has the same behavior as before, extract_goal * extracts the entire local context like before, and extract_goal a b c ... removes everything from the local context except for fvars a, b, c, ... and their (and the goal's) dependencies. This last form does not automatically include prop variables that depend on preserved fvars, unlike extract_goal, which does. The thought is that including prop variables is useful in the default case, but if you are configuring which variables to take you can always take them manually.

bors merge


question about the ablation studies

Hi, I just read the "Cluster Contrast" paper on arxiv and found it a creative work. However, I am still confused on the ablation studies of Table 4, how do you fix the cluster size to a constant number since it can not be pre-defined in DBSCAN clustering method?

We sample a constant number of images from DBSCAN clustering result.

I see, thank you!


work in progress: introduce ability to preselect product attribute options via url

The idea is this:
Having a product with two attributes like "color" and "size", we can preselect some values when entering the product details page, for example:
http://my-local-bagisto/my-fancy-product?color=red&size=xs
The product detail view will be rendered with the color "red" and the size "xs" will be preselected in the  or swatch.

Hi @thyseus
I tried to select product attribute options via url using your code, but i can see that only color is getting selected, size is not.

Hi @thyseus
I tried to select product attribute options via url using your code, but i can see that only color is getting selected, size is not.

Yeah - thats one of the things in am currently working on. You can expect the next big revision in the next days, most probably this week ;)

I am still building this stuff. Since i am a newcomer to vue.js it will take some more time. I close this PR and reopen it once reviewable.


Introduce ClaimedAt operations property [async engine story]

Introduce ClaimedAt property [async engine story]
Note
This PR was created in the hopes to ease the discussion process of whether we need such a change. Until the team has agreed upon such an approach, this change only serves as a reference implementation.
Motivation
The operation maintainer currently updates operations older than job_timeout to failed. It does so by making a diff between the current time and the created_at timestamp of the operation, but this is somewhat flawed - it's possible for an operation to be in the "job queue" and may have not been claimed at.
This PR proposes an introduction of a claimed_at property to operation entities, which will be set first thing when an operation (job) execution starts running.
This way the maintainer can differentiate which operations have indeed been stuck/orphaned due to SM node crash (for example) and which are waiting to be claimed.

Coverage decreased (-0.1%) to 85.734% when pulling c80568a20adcdf665bd806c5f6ed1c8235ead847 on async-engine-claimed-at into 177e2b971c84f0e1224f82fbf4cb64c2f77bd118 on async-engine.

Team agreed to this concept. Merging.


FIX: p.cancel might be closed twice

Cancel() might be invoked several times by the woker goroutines got an error at the same time,
as a result the p.cancel will be closed more than once.
I have fixed this issue by checking the p.cancelled before closing the p.cancel.
 [recovered]
	panic: close of closed channel

goroutine 2033 [running]:
panic(0x583320, 0xc820279120)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
go.planetmeican.com/libra/util/pool.(*Pool).Cancel(0xc82008d3e0)
	/Users/zzz/go/src/go.planetmeican.com/libra/util/pool/pool.go:167 +0x25
go.planetmeican.com/libra/util/pool.(*Pool).Queue.func1.1.1(0xc82008d3e0)
	/Users/zzz/go/src/go.planetmeican.com/libra/util/pool/pool.go:117 +0x286
panic(0x670ec0, 0xc820017c80)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:443 +0x4e9
go.planetmeican.com/libra/service.BatchMigrateUser.func1(0xc82031ce80)
	/Users/zzz/go/src/go.planetmeican.com/libra/service/migrate.go:125 +0x1a0
go.planetmeican.com/libra/util/pool.(*Pool).Queue.func1.1(0xc82008d3e0)
	/Users/zzz/go/src/go.planetmeican.com/libra/util/pool/pool.go:136 +0x1b4
created by go.planetmeican.com/libra/util/pool.(*Pool).Queue.func1
	/Users/zzz/go/src/go.planetmeican.com/libra/util/pool/pool.go:142 +0x49
exit status 2

Thanks @zwh8800! can't believe I missed that


Cannot resolve platform specific dll

When importing a package like System.Device.Gpio,1.1.0-prerelease.20153.1 the packages are correctly resolved in dotnet run but dotnet interactive doesn't lookup the platform specific .nuget\packages\system.device.gpio\1.1.0-prerelease.20153.1\lib\netstandard2.0
but this is resolved
System.Device.Gpio,1.1.0-prerelease.20153.1,/home/pi/.nuget/packages/system.device.gpio/1.1.0-prerelease.20153.1/lib/netstandard2.0/System.Device.Gpio.dll,,linux-arm

merged : https://github.com/dotnet/interactive/pulls?q=is%3Apr+is%3Aclosed+sort%3Aupdated-desc


Move from io/ioutil to io and os packages

The io/ioutil package has been deprecated as of Go 1.16 ^1. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages.

@Juneezee thanks for your contribution!


context.pageContext not updated when navigating between pages

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
When navigating from one page to another (using an  link), this.context.pageContext should reflect the newly loaded page.
Observed Behavior
When navigating from one page to another, this.context.pageContext remains unchanges. This causes API calls to fail or produce faulty results.
This seems to be caused by the page not entirely refreshing when navigating between (modern) pages. Only the "main" content is updated (~ MDS).

@NickSevens , we are working on this.

@manishgarg1 any way to work around the issue in the mean time?

@NickSevens, finding out.


chore: Make s3curl ft tests self-contained

Add the required before/after steps for each describe block in the s3curl
tests. It was done this way so that we at least get a self-contained
granularity at the describe level rather than through the whole file

Remove the data removal steps from circle.yml as it is not longer necessary

Fix #358
Addresses part of #359
Note: This work is a pre-requisite to an ongoing cleanup work aimed at improving dependency patcher suport in end to end tests.

so much better :D

@LaurenSpiegel Didn't take a look yet at why the CI's failing, the only thing I see is that there is far too much log for CircleCI to show, I plan on doing that whenever I get some idle time from another task (hopefully tomorrow?)

Full error log:
 1) s3curl put delete buckets s3curl put buckets should put a valid bucket:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:186:28
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  2) s3curl put delete buckets s3curl put buckets "after all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  3) s3curl put delete buckets s3curl delete bucket "before all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:249:28
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  4) s3curl put delete buckets s3curl delete bucket "after all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  5) s3curl getService "before all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:378:24
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  6) s3curl getService "after all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  7) s3curl putObject "before all" hook: create file to put:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:422:24
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  8) s3curl getBucket "after all" hook:
     Uncaught AssertionError: [Error: Can't find line in http response code] === '204 NO CONTENT'
      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:120:24)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  9) s3curl head bucket "before all" hook: create file to put:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:626:24
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  10) s3curl head bucket "after all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  11) s3curl getObject "before all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:661:28
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  12) s3curl getObject "after all" hook: delete created file and downloaded file:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  13) s3curl head object "before all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:711:28
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  14) s3curl head object "after all" hook: delete created file and downloaded file:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  15) s3curl object ACLs "before all" hook: create file to put:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:754:28
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  16) s3curl object ACLs "after all" hook: delete created file:

      Uncaught AssertionError: '409 CONFLICT' === '204 NO CONTENT'
      + expected - actual

      -409 CONFLICT
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  17) s3curl multipart upload "before all" hook:

      Uncaught AssertionError: '409 CONFLICT' === '200 OK'
      + expected - actual

      -409 CONFLICT
      +200 OK

      at tests.js:873:24
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  18) s3curl multipart upload "after all" hook:

      Uncaught AssertionError: '404 NOT FOUND' === '204 NO CONTENT'
      + expected - actual

      -404 NOT FOUND
      +204 NO CONTENT

      at tests.js:168:20
      at ChildProcess.<anonymous> (tests.js:126:16)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

@LaurenSpiegel Re-targetted rel/6.2.1 instead and rebased. Also removed the descriptive strings for "before" and "After" steps, as this is not necessary (mocha dumps enough info to find them without it)

@ironman-machine check it

Hello @LaurenSpiegel
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "fix/SelfContainedS3curl", "DEFAULT_BRANCH": "rel/6.2.1"}
Please follow http://ci.ironmann.io/gh/scality/Integration/6121 for CI status.


Note preview in Notifications does not have a string to translate how many files a note has

💡 Summary
In the notifications view, you are shown a preview of the Note a notification is about (e.g. when someone reacts to your note or replies to it). If said Note also has a file attached to it,there will be a notice in this notification along the lines of "(1 file attached)". However, this is not translated and there is no string in Crowdin to translate it either, so it always shows up in japanese (e.g. "(1つのファイル)").
🙂 Expected Behavior
There should be a string in Crowdin to translate this file amount indicator in the preview.
☹ Actual Behavior
There is no such string in Crowdin.
📝 Steps to Reproduce

Switch to any language other than Japanese
Look at your notifications and find a note with file attachments
See that the notice about how many files are attached is still in japanese

📌 Environment
Misskey v12.35.0-io
All browsers

最新版（v12.36.1-io）では直っていますか？

No, not fixed yet.

確かに直ってないですね

Duplicate of #3100


[Bug]: Internal server error on oauth2 request

Is there an existing issue for this?

[X] I have searched the existing issues

Description
I'm building an app to generate a shipping label using the UPS API. This API uses oauth2
I configured it correctly, and it seems to authenticate the service successfully.
However, I do get this error when I press 'save & authorize' in a new browser tab with the following JSON:
{
responseMeta: {
status: 500,
success: false,
error: {
code: "AE-APP-5000",
title: "Internal server error",
message: "Internal server error while processing request",
errorType: "INTERNAL_ERROR"
}
},
errorDisplay: "AE-APP-5000: Internal server error while processing request"
}

When editing the service again, it still says 'Datasource not authorized'. However, when I execute an API call it sends a valid bearer token.
Why do I get this error?
The problem is that the bearer token expires after some time. However, when re-executing the api call it won't automatically make a new oauth requests. The app will show an unauthorized error on the api. The only way to fix this is go back to the datasource, make a change in the form so I can press 'save & authorize' again.
How can I solve this?
Steps To Reproduce

Create OAuth 2.0 API source with grant type client credentials
Press 'save & authorize'

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Appsmith v1.9.58

I use:
https://developer.ups.com/api/reference?loc=en_US#tag/OAuthClientCredentials_other
Client Credentials Grant Type

Also, when  I manually want to generate a token with a regular api request,  I am receiving the error:
"Your API failed to execute:
org.springframework.web.reactive.function.client.WebClientRequestException: Validation failed for header 'Authorization'"
So there is no way for me to resolve this problem.

Thanks @jancoow for reporting this problem. In order to understand issue further, can you please check if UPS oauth supports refresh token flow for client credentials grant type?

@jancoow please try using the authorization code grant type, I believe that will return a refresh token and ensure that it doesn't expire

@jancoow please try using the authorization code grant type, I believe that will return a refresh token and ensure that it doesn't expire. I'm closing this for now. Let us know if it still does not work

I'm unable to use the authorization code grant type because UPS keeps returning an error that the redirect uri is invalid.

Apperently I got a org.springframework.web.reactive.function.client.WebClientRequestException: Validation failed for header 'Authorization'" error when you have a newline character (enter) in a header parameter. Very clear message for such a simple error.

@jancoow sorry that error message certainly needs to be improved. It's not handled and java is just throwing up it's exception. Is this now working for you or is it still a problem?

@jancoow sorry that error message certainly needs to be improved. It's not handled and java is just throwing up it's exception. Is this now working for you or is it still a problem?

I'm doing manual the oauth request now. This works fine. I'm still unable to use the automatic oauth flow which is build in due the 500 error. There is no way for me to debug what I am doing wrong.

Seeing the same issue with a different OAuth provider. Looking forward to this fix. Thx.

Seeing the same error with a different OAuth provider (custom internal app). Looking forward to the fix. Thx.

We had a bug in our client credentials flow. This is now fixed in the next release.
#31207


[One line change] Fix order in make develop_test

Fix the order of clean_deps and mockgen in make develop_test

Does this prevent you from deleting the vendor folder?

Combined with the change that @deblasis submitted recently regarding mock generation, it should.

@andrewnguyen22 Along with Alessandro's change for mock generation, it should.


QUESTION - On Page save&publish, it publishes all elements...

Is this Expected behavior? We are having a case where we have some blocks on a page, but have them unpublished until we get all of the content. The problem was, if we save and publish the page, then all of the blocks get published.
Just wondering if this is the expected behavior? It seems like that sort of takes away from being able to do a draft block.

Yes, that’s expected behaviour. You can disable this by removing the $owns configuration with config :-)

You must unset the whole array and redefine it, since the array keys are not indexed with names you can reference


Expense - Duplicate transaction threads with RBR in LHN when sending expense to each other

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.80-9
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4601025
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:

User A and B have no chatted before.
Both accounts must be new.

[User A] Submit an expense to User B.
[User B] Submit an expense with the same amount to User A.
[User A] Go online.

Expected Result:
User A will not have two same transaction threads with RBR on LHN.
Actual Result:
User A receives two same transaction threads with RBR on LHN (not the main chat).
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/eaeca0e0-6eb6-48f0-8b0f-f8c808c7dc86

View all open jobs on GitHub

@lschurr 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.

We think this issue might be related to the #collect project.

Production
https://github.com/Expensify/App/assets/115492554/cd8227b0-c232-4a25-803f-4325318062dd

Seems like it could be caused by https://github.com/Expensify/App/pull/41507

I can confirm that reverting https://github.com/Expensify/App/pull/41507 fixes the issue. I'm gonna go ahead with the revert since that PR also caused other regressions.

Got a revert PR up

fixed by a revert, no payments due


insert not fully working.

[x] Specifications: set up directory and files as described

Features

[x] Create a Node class that has properties for the value stored in the Node, and a pointer to the next Node
[x] Within your LinkedList class, include a head property. Upon instantiation, an empty Linked List should be created.
[x] This object should be aware of a default empty value assigned to head when the linked list is instantiated.
[x] Define a method called insert which takes any value as an argument and adds a new node with that value to the head of the list with an O(1) Time performance.
[ ] Define a method called includes which takes any value as an argument and returns a boolean result depending on whether that value exists as a Node’s value somewhere within the list.
[x] Define a method called print which takes in no arguments and returns a collection all of the current Node values in the Linked List.
Structure and Testing
[ ] Utilize the Single-responsibility principle: any methods you write should be clean, reusable, abstract component parts to the whole challenge.
[ ] Write Tests

I wasn't sure if the was really due on Friday night 5/24/19 or not. I decided to turn in what I was able to accomplish and plan on finishing it up through the break


How to add key to it

How to add key to it？

Not sure what you mean? Can you give an example of code you have and how you'd like to change it?


Updated bcm to include an optional info dictionary

This will hopefully help keep track of different GA sims we run and the information behind how those simulations were parameterized.

Hey Michael,
Great point and well taken!  I will definitely make that change.
Hope all is well with you as well!
Best,
Denny
On Sun, Feb 20, 2022 at 7:41 PM Michael Cowan @.***>
wrote:

@.**** commented on this pull request.
In ce_expansion/atomgraph/bcm.py
https://github.com/mpourmpakis/ce_expansion/pull/31#discussion_r810712896
:

@@ -37,7 +37,7 @@ def recursive_update(d: dict, u: dict) -> dict:

class BCModel:
def init(self, atoms: ase.Atoms, metal_types: Optional[Iterable] = None,

            bond_list: Optional[Iterable] = None):

            bond_list: Optional[Iterable] = None, info: dict = {}):
   """

Hey, @loevlie https://github.com/loevlie - glad to see you're improving
the ce_expansion code! One recommendation regarding the info dict
initialization: I'd set the kwarg to info: Optional[dict] = None. Then in
the init method, you can add the following:
if info is None:
    info = {}

It seems like a minor change, but you have to watch out for defaulting
kwargs to mutable objects. If you init a bcm object and then change its
info attribute, you might find that the next initialized bcm object has the
same changes.
Hope all is well!
Michael
—
Reply to this email directly, view it on GitHub
https://github.com/mpourmpakis/ce_expansion/pull/31#pullrequestreview-888114051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOH3F25ELMRVXKPZXWOWXTDU4GC5JANCNFSM5OWMGPHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dennis Johan Loevlie
Graduate Student Researcher | University of Pittsburgh
Mobile:<PHONE_NUMBER> | Email: @.***
Pronouns: he/him/his
Portfolio Website http://www.loevliedl.com/ | Github
https://github.com/loevlie | LinkedIn
https://www.linkedin.com/in/dennisloevlie/

I just made the updates in the latest commit!
Best,
Denny
On Sun, Feb 20, 2022 at 8:29 PM Denny Loevlie @.***>
wrote:

Hey Michael,
Great point and well taken!  I will definitely make that change.
Hope all is well with you as well!
Best,
Denny
On Sun, Feb 20, 2022 at 7:41 PM Michael Cowan @.***>
wrote:

@.**** commented on this pull request.
In ce_expansion/atomgraph/bcm.py
https://github.com/mpourmpakis/ce_expansion/pull/31#discussion_r810712896
:

@@ -37,7 +37,7 @@ def recursive_update(d: dict, u: dict) -> dict:

class BCModel:
def init(self, atoms: ase.Atoms, metal_types: Optional[Iterable] = None,

            bond_list: Optional[Iterable] = None):

            bond_list: Optional[Iterable] = None, info: dict = {}):
   """

Hey, @loevlie https://github.com/loevlie - glad to see you're
improving the ce_expansion code! One recommendation regarding the info dict
initialization: I'd set the kwarg to info: Optional[dict] = None. Then
in the init method, you can add the following:
if info is None:
    info = {}

It seems like a minor change, but you have to watch out for defaulting
kwargs to mutable objects. If you init a bcm object and then change its
info attribute, you might find that the next initialized bcm object has the
same changes.
Hope all is well!
Michael
—
Reply to this email directly, view it on GitHub
https://github.com/mpourmpakis/ce_expansion/pull/31#pullrequestreview-888114051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOH3F25ELMRVXKPZXWOWXTDU4GC5JANCNFSM5OWMGPHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dennis Johan Loevlie
Graduate Student Researcher | University of Pittsburgh
Mobile:<PHONE_NUMBER> | Email: @.***
Pronouns: he/him/his
Portfolio Website http://www.loevliedl.com/ | Github
https://github.com/loevlie | LinkedIn
https://www.linkedin.com/in/dennisloevlie/

--
Dennis Johan Loevlie
Graduate Student Researcher | University of Pittsburgh
Mobile:<PHONE_NUMBER> | Email: @.***
Pronouns: he/him/his
Portfolio Website http://www.loevliedl.com/ | Github
https://github.com/loevlie | LinkedIn
https://www.linkedin.com/in/dennisloevlie/


Bluetooth: Mesh: Persistent storage support

Support for Mesh persistent storage. Still work in progress: not all information is getting stored and no proper testing has been done. The code is however complete enough for initial reviews & testing.
TODO list:

[x] Basic Mesh network information
[x] Replay Protection List & Local Sequence Number
[x] Network Keys
[x] Application Keys
[ ] Model publication
[ ] Model subscription
[ ] Model binding
[ ] Any other Configuration Server model states
[x] Reduce sequence number stores (e.g. store every 100th and add 100 at boot)
[x] Reduce RPL stores (e.g. have a timer to store at most once per minute)
[x] bt_mesh_reset() clears all stored values
[ ] Proper testing (also against the PTS)

Fixes #7073 once GATT CCC storage has been implemented (ping @Vudentz)

@bixivs FYI

@michal-narajowski FYI

Codecov Report

Merging #7368 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7368   +/-   ##
=======================================
  Coverage   55.11%   55.11%
=======================================
  Files         474      474
  Lines       51766    51766
  Branches     9930     9930
=======================================
  Hits        28529    28529
  Misses      19285    19285
  Partials     3952     3952

Continue to review full report at Codecov.

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

CC @oyvindronningstad @lemrey

I merged this PR in my local repository, & flashed $zephyr/samples/bluetooth/mesh eg. on nrf52840_PDK
& try to provision it using #meshctl
And got this fault, on serial terminal, after executing -> appkey-add 1 command
[bt] [DBG] bt_mesh_store_app_key: (0x200020b8) Saving AppKey bt/mesh/AppKey/1 as value AAAAKqKm3tWgeYzqtXh8o645/AAAAAAAAAAAAAAAAAAAAAA=
***** USAGE FAULT *****
Executing thread ID (thread): 0x20002120
Faulting instruction address:  0x20007608
Illegal load of EXC_RETURN into PC
Fatal fault in thread 0x20002120! Aborting.

@vikrant8051 I hit the same issue earlier today myself. The reason was an overflow of the Bluetooth receive thread stack (it was set at 2k but with the AppKeyAdd it went to 2700). I've updated the mesh sample prj.conf to use a 3k stack now, i.e. CONFIG_BT_RX_STACK_SIZE=3072

@vikrant8051 Also note that model publication/subscription and app key binding is storage is not yet implemented (as indicated by the TODO list in the beginning of this PR)

@jhedberg
Thanks for you response. I added CONFIG_BT_RX_STACK_SIZE=3072 in prj.conf  & after that everything works as expected.
But as per my observations, performance of Node degrade drastically. Initially I thought it is because of overhead of Serial debug terminal & so I commented all debug parameters in pro.conf. But that doesn't help.
When I removed,
if (IS_ENABLED(CONFIG_SETTINGS)) {
settings_load();
}
from bt_ready() &
#CONFIG_BT_SETTINGS=y
#CONFIG_FLASH=y
#CONFIG_FLASH_PAGE_LAYOUT=y
#CONFIG_FLASH_MAP=y
#CONFIG_FCB=y
#CONFIG_SETTINGS=y
#CONFIG_SETTINGS_FCB=y
from prj.conf then performance is perfect & very responsive.

Note:
Overview of my implementation,
There are 4 Models on single Node which is in my case #nRF52840_PDK,
--> Generic OnOFF server
--> Generic OnOFF client
--> Generic Level Server
--> Generic Level Client
Button 1 -> publish Generic ON to group 0xC000
Button 2 -> publish Generic OFF to group 0xC000
Button 3 -> Publish Generic Level value = 2000
Button 4 -> Publish Generic Level value = 20000
LED1 -> Generic OnOFF server
LED 3, LED4 -> for Generic Level Server
----> Led3 (On) , Led4 (Off) -> when receives value below 10000
----> Led3 (Off) , Led4 (On) -> when receives value above 10000

Let me try this with multiple Nodes.

I tried it with two nodes. Yes performance degrade surely. Without latest updates, if I press Button1/2 on any of the NODE, instantaneously LED1 on all boards turns ON/OFF resp. But now it is taking some time to react & sometimes not even receives any message from Publisher.

@vikrant8051 what value do you have for CONFIG_BT_MESH_RPL_STORE_TIMEOUT? In my PR I set it to CONFIG_BT_MESH_RPL_STORE_TIMEOUT=5 for samples/bluetooth/mesh. If it's set to the default (0) then the RPL will get written to flash for every received message. That's the only think I could think of so far that could potentially have a substantial impact on performance.

@vikrant8051 I just pushed an update to this PR to make 5 seconds the default RPL store timeout. I'm still curious to hear if this was the cause of your performance degradation however.

@jhedberg I've added CONFIG_BT_MESH_RPL_STORE_TIMEOUT=5 in my prj.conf.
Now it perform like as expected....very responsive :) :)
Note:
I execute following steps/commands to merge this PR,
cd $(zephyr_base)

git fetch origin pull/7368/head:BluetoothMesh

git checkout BluetoothMesh

But there was no such parameter is available in samples/bluetooth/mesh/prj.conf.
I've added thse two parameters manually,
CONFIG_BT_RX_STACK_SIZE=3072
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=5

For the reviewers: I've removed the "WIP" and "DNM" tags, since as far as the functionality this PR implements is concerned, it seems to be working quite well. I.e. I'm not opposed to merging this one, and then working on the remaining TODO items in a separate PR. I think this is worth considering since this PR is quite large already.

I've merged this now, and moved the remaining items to #7428

@jhedberg I was wondering, is it really required to save the rpl? What would happen if it was not saved, would it just allow one replay after reboot?

@Laczen I suppose it depends on the use case of the device. E.g. if it's a door lock, I'd be quite careful in studying the various replay attack possibilities. Even one replay could mean that an attacker can open the lock when the owner is not around.

I didn't realize the mesh security is so dependent on the rpl. For a key I wouldn't rely on one message to open a lock (even with the mesh protection), for any other device requiring two messages after reboot should restore the rpl protection.


add some content to numpy.html

@thecuriousteam please assign me this issue

Ok, you can work on it .

Can I please work on this issue

could you verify PR #106, I've added the file to the existing Numpy file


📦 update cumulusci etc

@jgerigmeyer what do I need to do to unbreak the yarn install? I wasn't intending to touch frontend stuff at all here.

@davisagli Ah, it's pulling the latest version of the Dockerfile, which we've updated. We've since used tagged versions, but that's not merged upstream yet. I'd think you could update the versions in package.json? But I'm okay just merging this and letting CI run on our master.

@davisagli Should this be based on https://github.com/oddbird/Metecho/ instead?

@jgerigmeyer I branched it from there, but submitted the PR to the wrong place. Will try again.


Commercial Plugin: Text editor adds wrong code

Description
When the commercial plugin is active, the text-editor module in the administration can add wrong HTML code when writing into an empty line in text editing mode right after it receives focus.
Steps to reproduce

add or open a text-editor CMS module (in text editing mode) in the shopping experience designer
if there isn't one already, add an empty line somewhere
remove focus by clicking next to the editor window
click in the empty line within the editor to set the cursor there
type anything in this line, one character will suffice
switch to HTML editing mode and find the line just edited

This will not work when editing a line with existing text.
Expected result

only the added text with maybe an additional div or p tag should be there

Actual result

a text container element (div / p) with its placeholder attribute set to the text from snippet 'sw-cms-generation.placeholder' will be added, e.g. in German:
asdf

via browser dev tools / Inspect Element, you can already see the placeholder added once you click in the empty line in the editor.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-34392.
[created from NEXT-34392, comment 485888]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-34392, comment 501213]


Fix: Use mode from source config

Sorry, this is a follow-up from my last PR.
I noticed that when hard-coding the mode to development, this applied to both vite and vite build commands, and applied regardless of the original user's vite.config.
This change makes the value used by vite-plugin-electron follow those. So running vite, the mode will be development; running vite build, the mode will be production; and if the user specifies one of these, that mode should be used.

In the last version, I removed the default mode option in order to simplify the design of my plugin. It seems to have caused problems. 😅
https://github.com/electron-vite/vite-plugin-electron/pull/104/commits/0b2490947d309843e11816f32aa60a8bcdac5a9b#diff-c3095d5010e65c52737a98a5d618ea24049ebe90c8470752426081d70ed6e012L17

Yeah, I'm not sure what a perfect fix for this is. When I was experimenting locally, a non-production mode was required to get react-refresh working, and adding one into any of the configs in my project didn't do the trick.


Components should snap to a grid

For neatness purposes, circuit components, including wires, should follow an orthogonal grid as opposed to a pixel-by-pixel grid.

This is most prominent in adding wires, as shown below:


MMR sometimes doesn't update

resetting steam name under 'Settings' triggers MMR update, but sometimes doesn't update on it's own.

Should be fixed in latest release.


Fixes #1206 . In this PR we allow to add new ports using the Ports ta…

…b inside the Settings section. It also allows to remove them using the same form.
We include a button with an icon to remove and add ports as needed and the GUI follows the same approach that the one to add environment variables.
Signed-off-by: Alexandre Vázquez<EMAIL_ADDRESS>

Recreate the PR because all the code has been lost!

Thanks!

I'm Always glad to help :)

Sorry to bring this back up after so many exchanges - If I click on the + without any ports, I get a warning:
Warning: bind(): You are binding a component method to the component. React does this for you automatically
Also can't seem to get new ports added to stick - is it still working for you?

Hi @FrenchBen,
It worked the last time I try it. But no problem I'm going to do a some tests to the PR so see if something is wrong.
To summarize your issues:

The warning message.
You add the port but it doesn't stick. In this case, which kind of flow are you following to be reproduced on my side?

I have to catch a flight  today but I expect to have some time to do the testing and I'm going to get back to you!
Thanks a million  :)

@FrenchBen  The issues you reported should be fixed by now. PTAL and come back to me if anything is not worked as expected. Sorry for the delay :)

@alexandrev After some QA I found one small issue.
If you have a port mapped and try to add the same port mapped to a different endpoint, the refresh fails and only 1 port gets mapped.
For example:

Container
Mac/Win

80
8080

80
8081

No problem, I'm going to try to fix it later today. Thanks for the
insights!!
On Wed, May 25, 2016, 01:51 French Ben<EMAIL_ADDRESS>wrote:

@alexandrev https://github.com/alexandrev After some QA I found one
small issue.
If you have a port mapped and try to add the same port mapped to a
different endpoint, the refresh fails and only 1 port gets mapped.
For example:
Container Mac/Win
80 8080
80 8081
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/docker/kitematic/pull/1447#issuecomment-221435899

@FrenchBen  I couldn't work on that, because I cannot build the latest version on Windows. I've opened an issue related to it. I'm going to try to avoid the problem to be able to fix this bug

Hi @FrenchBen  I've created a new PR related to this issue, you can check it: https://github.com/docker/kitematic/pull/1724


Laravel 10.x Shift

This pull request includes the changes for upgrading to Laravel 10.x. Feel free to commit any additional changes to the shift-83296 branch.
Before merging, you need to:

Checkout the shift-83296 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, add --no-scripts)
Clear any config, route, or view cache
Thoroughly test your application (no tests?, no CI?)

If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

:warning: Early versions of Laravel 9 included a lang/en.json file containing password validation messages. However, this file was quickly removed in favor of keeping this with the other validation rules within validation.php.
Shift detected your version differed from the default Laravel version. If you have customized the password validation messages, you should merge them with the password messages in validation.php and remove lang/en.json.

:x: Shift could not upgrade the following files since they differed from the default Laravel version. You will need to compare these files against the default Laravel 10 versions and merge any changes:

[ ] app/Http/Middleware/Authenticate.php

:warning: Shift upgraded your configuration files by defaulting them and merging your true customizations. These include values which are not changeable through core ENV variables.
You should review this commit for additional customizations or opportunities to use new ENV variables. If you have a lot of customizations, you may undo this commit with git revert 051f0681 and make the config file changes manually.

:information_source: Shift updated your dependencies for Laravel 10. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 10. Watch dealing with dependencies for tips on handling any Composer issues.
The following dependencies were updated by a major version and may have their own changes. You may check their changelog for any additional upgrade steps.

[ ] laravel/ui
[ ] spatie/laravel-translatable

:information_source: Laravel 9 adopted anonymous migrations. Shift automated this change to align with modern Laravel conventions and avoid naming migrations.

:information_source: Laravel renamed the password_resets table to password_reset_tokens. While an optional change, Shift detected you have a migration for this table and created a migration to rename it as well as updated the reference in your config/auth.php file. Be sure to run php artisan migrate to complete your upgrade.

:information_source: Laravel 10 added PHP type hints to all user-land code included in a new Laravel application. In an effort to modernize your code, Shift added type hints to any method which is used by Laravel, as well as any method which had types defined in its PHP DocBlock.

:information_source: Now with type hints in your code, defining types within PHP DocBlocks is redundant. Laravel has removed all of the @param and @return tags from its DocBlocks where types are defined with PHP. Similarly, Shift removed these tags from any DocBlock where the code now has equivalent type hints.

:information_source: Shift understands developers have different preferences when it comes to type hints. All of Shift's automation is done in nice, atomic commits. This makes it easier to undo any of the changes Shift makes.
If you wish to undo any of these changes, you may first revert the DocBlock changes by running git revert defb327. Then undo the added type hints by running git revert 286d73b.

:information_source: All of the underlying Symfony components used by Laravel have been upgraded to Symfony 6.2. Shift detected references to Symfony classes within your application. You should review the Symfony change log for any additional changes.

:warning: Laravel 10 requires Composer 2.2 or higher. You should verify the Composer version in your environments by running composer --version to ensure it meets this new requirement. If necessary, run composer self-update to update Composer.

:tada: Congratulations, you're now running the latest version of Laravel!
Next, you may optionally run the following Shifts to ensure your application is fully upgraded, adopts the latest Laravel conventions, and easier to maintain in the future:

Upgrade Checker ensures your application is fully upgraded by detecting any outdated code.
Laravel Fixer automatically updates your code to the latest Laravel conventions.
Tests Generator intelligently generates model factories, HTTP Tests, and configuration for your application.
CI Generator intelligently generates CI jobs to lint PHP, check code style, and run tests, including Dusk.

You may also use the Shift Workbench to automate common tasks for maintaining your Laravel and PHP applications.