[Bug] make sync fails locally

Search before asking

[X] I searched the issues and found no similar issues.

KubeRay Component
ray-operator
What happened + What you expected to happen
The bug: When I ran make sync locally I got an error
test -s /vagrant/kuberay/ray-operator/bin/kustomize ||  GOBIN=/vagrant/kuberay/ray-operator/bin/kustomize/.. go install<EMAIL_ADDRESS>go<EMAIL_ADDRESS>(in sigs.k8s.io/kustomize/kustomize/v3@v3.10.0):
        The go.mod file for the module providing named packages contains one or
        more exclude directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.
Makefile:117: recipe for target 'kustomize' failed
make: *** [kustomize] Error 1

Expected beahvior
make sync should work fine and synchronize the required yamls.
Useful Information
Go version : go version go1.19.12 linux/amd64
Kustomize install version<EMAIL_ADDRESS>My guess is that it is related to this issue: https://github.com/kubernetes-sigs/kustomize/issues/3618#issuecomment-781521569
I could get around this issue by simply updating the kustomize version to 4.5.2 locally in the Makefile. Supporting comment for this: https://github.com/kubernetes-sigs/kustomize/issues/3618#issuecomment-1054010950
I think the fix is just updating the version of Kustomize. However, I am not confident of what other things are dependent on this (Github CI/CD, other builds, etc). So, opening this issue for investigation.
Reproduction script
Navigate to kuberay/ray-operator
Run command : make sync
or
make helm
Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

I took a look at this issue:

kustomize is not required for helm, so you can remove it. Then, you can run make sync successfully.
Although we can execute make sync successfully after (1), the command make kustomize will still fail with the same error message that you reported. You can upgrade the version of Kustomize. For example, the latest stable release is v5.1.1 (link).

KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
	test -s $(KUSTOMIZE) ||  GOBIN=$(KUSTOMIZE)/.. go install<EMAIL_ADDRESS>

@shubhscoder would you mind opening a PR based on https://github.com/ray-project/kuberay/issues/1368#issuecomment-1696777888? Thanks!
Btw, I am interested in why does Kustomize is still under maintenance after it was integrated into kubectl. Maybe only some parts of the functionalities are integrated?

This is solved by #1371.


False Positive: Variable Shadowing reports incorrectly in for-comprehension

The following code:
for {
  c <- "Hello, world!"
  if c != ','
} println(c)

Results in the following warning (on Scala 2.13.1):
VariableShadowing
val c: Char = _
  c <- "Hello, world!"
  ^

This is clearly incorrect since there's only a single variable. The warning is only generated if the filter is present in the for-comprehension. It seems that this is caused by the code that the compiler generates under the hood. This issue might actually be the same as https://github.com/sksamuel/scapegoat/issues/342.

Fixed by #357


dark mode navbox grey not dark-grey

Hi,
you nav-box in dark mode is actually grey and not dark-grey like the rest of the theme.
Thanks,
f-s

Hello
It would be nice to look at screenshots of the problem

These blocks will be changed in the next releases))

thanks!


Fixed getting exception when filter category, attribute, customer datagrid based on status #4456

BUGS:
Link: https://github.com/bagisto/bagisto/issues/4456

@devansh-webkul
the same issue exists in almost all the Datagrid please check once.

velocity header content https://prnt.sc/wj2sam
admin-> inventory source https://prnt.sc/wj2rmp
admin-> settings-> users https://prnt.sc/wj2t0j

@devansh-webkul
the same issue exists in almost all the Datagrid please check once.

velocity header content https://prnt.sc/wj2sam
admin-> inventory source https://prnt.sc/wj2rmp
admin-> settings-> users https://prnt.sc/wj2t0j

Hi @vaishaliwebkul,
Please check if any improvement is needed.

Hi @vaishaliwebkul,
Please check if any improvement is needed.

@devansh-webkul
fix for catalog rule,cart rule, marketing-> email template

@devansh-webkul
fix for catalog rule,cart rule, marketing-> email template


Handling BackPress event [Android]

Some android library/SDK might need onBackPressed event, (e.g) Ads sdk

this makes sense to expose, if you guys find a good implementation

Please also do the corresponding PR for master.


How can I hide the Topbar and set the language type of the API document？

+1. I know that you can modify the index.html file to modify the language type, Is there any other way to modify the language type? For example, add a parameter to the swaggerUi interface?
+2. I dont know how to hide the Topbar
Who can give some advice? Thanks

That would be more of a swagger-ui question.


[UPDATE]

remove setter from Username property

I think when we create ability to set a value to properties, should not throw NotImplementedException.
I got confused when using testcontainers to create mssql database. Because following code has error,

and when i remove Username property from first initialize that was fine.

I think when we create ability to set a value to properties, should not throw NotImplementedException.

This behavior is intended. You cannot set the username in the MSSQL Docker container image that easy.
The first screenshot would be misleading if it won't throw an exception. 1) The user is not created as expected, 2) the connection string contains a wrong username, and you won't be able to connect to the database.

I will close this PR. As mentioned above, this behavior is intended. If you would like to add one of the suggestions above, please follow the main contributing guidelines.


GeoCoordinates 0,0 lead to unexpected behavior

From slack, as found by @dljcollette

is seems when I post a thing with geoCoordinates that are latitude and/or longitude of 0 seem to return an empty object. Could if be that a value 0 is seen as null and therefore doesn’t return an object with latitude and longitude?

Most likely related to https://github.com/swagger-api/swagger-codegen/issues/7391#issuecomment-373355961
I'll try this out.

Unfortunately the fix proposed there does not work for number/float32 types as demonstrated in https://github.com/swagger-api/swagger-codegen/issues/7391#issuecomment-480168013
CC @dljcollette @bobvanluijt

This issue is about a year old and was impossible to fix back then. Time to reevaluate if we can fix it today.


Add Githook for Code Formatting

Putting auto-formatting on a per commit basis would save the developer time resolving formatting issues due to failing CI.
Getting something like the following in a githook would suffice:
nix develop -c "treefmt"

I wouldn't enable it by default, but we can add documentation (linked from README.md) explaining to the user how to do it ... possibly based on:

https://github.com/cachix/pre-commit-hooks.nix
https://github.com/hercules-ci/pre-commit-hooks.nix/blob/flakeModule/flake-module.nix

Relevant: #36 (a nix check to make sure that source code was autoformatted).

Relevant: https://github.com/numtide/treefmt/issues/78

https://github.com/srid/haskell-flake/issues/136

Closing in favour of https://github.com/srid/haskell-flake/issues/136


[vc] Investigate late attestations published on mainnet

Describe the bug

This is about the time we publish attestations compared to 1/3 of slot (so -2 means 1s after slot, +2 means 6s after slot
On goerli it rarely happens

However some mainnet nodes (v1.2.x) experienced this issue more

Expected behavior
Attestations should be published not later than 1/3 of slots

This is because produceAttestationData being called after 4s (when vc hasn't received new chain head on time)

and produceAttestationData request time sometimes take >1s or even 5s

root cause is the I/O lag issue

We could try http 1.1 keep-alive (or http 2, that's a longer plan) to reuse http connection

This is because produceAttestationData being called after 4s (when vc hasn't received new chain head on time)

and produceAttestationData request time sometimes take >1s or even 5s

root cause is the I/O lag issue

Referencing #4002

I've tried http 1.1 keep-alive, it does not help while v1.3.0 shows some improvement, see https://github.com/ChainSafe/lodestar/pull/4915#issuecomment-1363582744

Closing issues for specific incidents on old versions of Lodestar, please re-open if it happens with latest stable


Permission Issue with fastlane through Jenkins (/ is not writable.)

New Issue Checklist
My fastlane setup is in a docker container, open jdk8 image.
Fastlane version is 2.134.0
When i run fastlane command from jenkins pipeline, it projects an error '/' is not writable. When i run fastlane command without jenkins pipeline it workis fine.
i run my container with the command
docker run -dit -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/jenkins/workspace:/application --privileged :latest
Issue Description

Command executed

Complete output when running fastlane, including the stack trace and command used

 fastlane env
bundle exec fastlane env
[Pipeline] sh

bundle exec fastlane env
/ is not writable.
Bundler will use /tmp/bundler20200213-107-1x5tjfb107' as your home directory temporarily. bundler: failed to load command: fastlane (/usr/local/bin/fastlane) Gem::Exception: can't find executable fastlane for gem fastlane. fastlane is not currently included in the bundle, perhaps you meant to add it to your Gemfile? /var/lib/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:374:in block in replace_bin_path'
/var/lib/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:402:in block in replace_bin_path' /usr/local/bin/fastlane:23:in <top (required)>'
[Pipeline] }
[Pipeline] // script

Environment

My jenkins Pipeline out is below:
[Pipeline] sh

bundle exec fastlane env
/ is not writable.
Bundler will use /tmp/bundler20200213-107-1x5tjfb107' as your home directory temporarily. bundler: failed to load command: fastlane (/usr/local/bin/fastlane) Gem::Exception: can't find executable fastlane for gem fastlane. fastlane is not currently included in the bundle, perhaps you meant to add it to your Gemfile? /var/lib/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:374:in block in replace_bin_path'
/var/lib/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:402:in block in replace_bin_path' /usr/local/bin/fastlane:23:in <top (required)>'
[Pipeline] }
[Pipeline] // script

My command line output of fastlane env is below
[05:02:45]: fastlane detected a Gemfile in the current directory
[05:02:45]: however it seems like you don't use bundle exec
[05:02:45]: to launch fastlane faster, please use
[05:02:45]:
[05:02:45]: $ bundle exec fastlane env
[05:02:45]:
[05:02:45]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[05:02:46]: Sending anonymous analytics information
[05:02:46]: Learn more at https://docs.fastlane.tools/#metrics
[05:02:46]: No personal or sensitive data is sent.
[05:02:46]: You can disable this by adding opt_out_usage at the top of your Fastfile
[05:02:46]: Generating fastlane environment output, this might take a few seconds...
🚫 fastlane environment 🚫
Stack

Key
Value

OS
debian_based 10.2

Ruby
2.5.5

Bundler?
false

Git
git version 2.20.1

Installation Source
/usr/local/bin/fastlane

Host
Debian GNU/Linux 10 debian_based 10.2 (4.15.0-74-generic)

Ruby Lib Dir
/usr/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Variable
Value

LANG
C.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.134.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.1

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.15.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.1

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.72.0

faraday
0.17.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
2.1.4

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.1009

mime-types
3.3.1

multi_json
1.14.1

signet
0.12.0

memoist
0.16.2

os
1.0.1

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.3.0

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

stringio
0.0.1

openssl
2.1.2

strscan
1.0.0

date
1.0.0

fileutils
1.0.2

etc
1.0.0

io-console
0.4.6

zlib
1.0.0

ipaddr
1.2.0

psych
3.0.2

generated on: 2020-02-13

[05:02:47]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
[05:02:47]: Open https://github.com/fastlane/fastlane/issues/new to submit a new issue ✅

In both cases, i.e. when it works and when it doesn't, are you running the Fastlane command inside the docker container? what command are you trying to run?
The error you are making reference to is a bundler error and not a Fastlane error though (see this)

Looking for related GitHub issues on fastlane/fastlane...
➡  Permission denied @ dir_s_mkdir - /var/empty/.fastlane (Errno::EACCES)
https://github.com/fastlane/fastlane/issues/15989 [open] 2 💬
2 days ago
➡  `mkdir': [!] Permission denied @ dir_s_mkdir - fastlane/metadata (Errno::EACCES)
https://github.com/fastlane/fastlane/issues/12180 [closed] 3 💬
03 Jul 2018
➡  Fails to generate snapshots
https://github.com/fastlane/fastlane/issues/13031 [closed] 2 💬
05 Oct 2018
and 9 more at: https://github.com/fastlane/fastlane/search?q=Permission denied %40 dir_s_mkdir - %2F.fastlane&type=Issues&utf8=✓
/usr/lib/ruby/2.5.0/fileutils.rb:232:in mkdir': [!] Permission denied @ dir_s_mkdir - /.fastlane (Errno::EACCES) 	from /usr/lib/ruby/2.5.0/fileutils.rb:232:in fu_mkdir'
from /usr/lib/ruby/2.5.0/fileutils.rb:210:in block (2 levels) in mkdir_p' 	from /usr/lib/ruby/2.5.0/fileutils.rb:208:in reverse_each'
from /usr/lib/ruby/2.5.0/fileutils.rb:208:in block in mkdir_p' 	from /usr/lib/ruby/2.5.0/fileutils.rb:193:in each'
from /usr/lib/ruby/2.5.0/fileutils.rb:193:in mkdir_p' 	from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/module.rb:28:in fastlane_user_dir'
from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb:58:in did_show_message?' 	from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb:22:in action_launched'
from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:74:in run!' 	from /var/lib/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/commands_generator.rb:349:in run' 	from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'
from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off' 	from /var/lib/gems/2.5.0/gems/fastlane-2.141.0/bin/fastlane:23:in <top (required)>'
from /usr/local/bin/fastlane:23:in load' 	from /usr/local/bin/fastlane:23:in '
[Pipeline] }
[Pipeline] // script
[Pipeline] }
I got this output. Fastlane is working fine locally. If i run fastlane deploy it gives  correct result without any error. If i run through jenkins pipeline it reflects to the above mentioned permission issue . Is this bundler error??


config: Fix “procfs_2” → “proc_2” link label

Catching up with #905, because it's strange to change one link label from procfs → proc but leave the other.  This will also make it marginally easier to collapse these to a single link label once we convert the spec to a single Markdown file.

LGTM

LGTM


Futurerestore fail：Unable to restore device

Target ：IOS 13.3
Running Environment:

Real machine Ubuntu 22.04
iPhone se IOS 15.8.3

Detail Message：
The first run error instruction：./downr1n.sh --downgrade 13.3
Press ENTER to continue with futurerestore, your device will start to restoring <-
Version: v2.0.0(22a5d89bdec6e1c441012d63822184c93530b7e5-321)
img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f-RELEASE
libipatcher version: 0.91-cb10d973d0af78cc55020d4cf1187c28fad0f2a0-RELEASE
Odysseus for 32-bit support: yes
Odysseus for 64-bit support: yes
futurerestore: failed with exception:
[exception]:
what=did not init

code=16252982
line=248
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
if futurerestore failed you can try execute the command below
if futurerestore didn't finish succesfully please try to run (with sudo or without) this command: /home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfbaseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
if futurerestore restore sucess, you can boot using  --boot

The second run error instruction：/home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfu --skip-blob --rdsk work/rdsk.im4p --rkrn work/krnl.im4p --latest-sep --latest-baseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
ERROR: Unable to successfully restore device
Checkpoint 1608 complete with code 0
ReverseProxy[Conn]: (status=6) Disconnected (out: 10893 / in: 150690)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 1497 / in: 2781)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 10930 / in: 154618)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Ctrl]: (status=2) Terminated
Cleaning up...
[exception]:
what=ERROR: Unable to restore device

code=98238518
line=1499
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
Done: restoring failed!

Current iPhone is DFU Mode！

I don't know if this information is useful：
root@ubuntu-R425D-R525D:/home/ubuntu/py/downr1n# python3 wikiproxy.py
INFO:     Started server process [14752]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
    msg = self.format(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 927, in format
    return fmt.format(record)
  File "/usr/lib/python3.9/logging/__init__.py", line 663, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.9/logging/__init__.py", line 367, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not str
Call stack:
  File "/home/ubuntu/py/downr1n/wikiproxy.py", line 181, in <module>
    uvicorn.run(app='__main__:app', host='<IP_ADDRESS>', port='8888')
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/usr/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 69, in serve
    await self._serve(sockets)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 84, in _serve
    await self.startup(sockets=sockets)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 179, in startup
    self._log_started_message(listeners)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 214, in _log_started_message
    logger.info(
Message: 'Uvicorn running on %s://%s:%d (Press CTRL+C to quit)'
Arguments: ('http', '<IP_ADDRESS>', '8888')

Target ：IOS 13.3
Running Environment:

Real machine Ubuntu 22.04
iPhone se IOS 15.8.3

Detail Message： The first run error instruction：./downr1n.sh --downgrade 13.3
Press ENTER to continue with futurerestore, your device will start to restoring <-
Version: v2.0.0(22a5d89bdec6e1c441012d63822184c93530b7e5-321)
img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f-RELEASE
libipatcher version: 0.91-cb10d973d0af78cc55020d4cf1187c28fad0f2a0-RELEASE
Odysseus for 32-bit support: yes
Odysseus for 64-bit support: yes
futurerestore: failed with exception:
[exception]:
what=did not init

code=16252982
line=248
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
if futurerestore failed you can try execute the command below
if futurerestore didn't finish succesfully please try to run (with sudo or without) this command: /home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfbaseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
if futurerestore restore sucess, you can boot using  --boot

The second run error instruction：/home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfu --skip-blob --rdsk work/rdsk.im4p --rkrn work/krnl.im4p --latest-sep --latest-baseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
ERROR: Unable to successfully restore device
Checkpoint 1608 complete with code 0
ReverseProxy[Conn]: (status=6) Disconnected (out: 10893 / in: 150690)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 1497 / in: 2781)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 10930 / in: 154618)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Ctrl]: (status=2) Terminated
Cleaning up...
[exception]:
what=ERROR: Unable to restore device

code=98238518
line=1499
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
Done: restoring failed!

you only can downgrade from 15 to 13.4 upper

Target ：IOS 13.3
Running Environment:

Real machine Ubuntu 22.04
iPhone se IOS 15.8.3

Detail Message： The first run error instruction：./downr1n.sh --downgrade 13.3
Press ENTER to continue with futurerestore, your device will start to restoring <-
Version: v2.0.0(22a5d89bdec6e1c441012d63822184c93530b7e5-321)
img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f-RELEASE
libipatcher version: 0.91-cb10d973d0af78cc55020d4cf1187c28fad0f2a0-RELEASE
Odysseus for 32-bit support: yes
Odysseus for 64-bit support: yes
futurerestore: failed with exception:
[exception]:
what=did not init

code=16252982
line=248
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
if futurerestore failed you can try execute the command below
if futurerestore didn't finish succesfully please try to run (with sudo or without) this command: /home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfbaseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
if futurerestore restore sucess, you can boot using  --boot

The second run error instruction：/home/ubuntu/py/downr1n/binaries/Linux/futurerestore -t blobs/iPhone8,4-13.3.shsh2 --use-pwndfu --skip-blob --rdsk work/rdsk.im4p --rkrn work/krnl.im4p --latest-sep --latest-baseband ipsw/iPhone_4.0_64bit_13.3_17C54_Restore.ipsw
ERROR: Unable to successfully restore device
Checkpoint 1608 complete with code 0
ReverseProxy[Conn]: (status=6) Disconnected (out: 10893 / in: 150690)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 1497 / in: 2781)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Conn]: (status=6) Disconnected (out: 10930 / in: 154618)
ReverseProxy[Conn]: (status=2) Terminated
ReverseProxy[Ctrl]: (status=2) Terminated
Cleaning up...
[exception]:
what=ERROR: Unable to restore device

code=98238518
line=1499
file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
commit count=321
commit sha  =22a5d89bdec6e1c441012d63822184c93530b7e5
Done: restoring failed!

you only can downgrade from 15 to 13.4 upper

IOS 13.4 is OK！
Thank you！
Status: Restore Finished
ReverseProxy[Ctrl]: (status=2) Terminated
Cleaning up...
Done: restoring succeeded!


Add one-liner WARN log for "X migrations were detected but were not run."

Hi Flyway Team,
This feature request is created in response to https://github.com/flyway/flyway/pull/3401, as requested.
The issue
When you run flyway migrate, if specific migrations in a folder don't follow the naming convention, those migrations do not get run. I was debugging why specific migrations were not running in our CI environment. The reason was that the files in question were named like this:
V1234_some_migration.sql

instead of the correct
V1234__some_migration.sql
     ^

I happened to notice that these files lacked an underscore by chance. My knowledge of Flyway before this moment was "it runs DB migrations," and I had no idea that it had any filename conventions or rules. I assumed the structure in our team's migrations folder was because they thought it kept it orderly/neat. We're 300+ migrations in, so this system has been there for a lot longer than me 😅.
The request
Please see my above PR for further intricate details, but I'd love to add a single WARN log line that says something like the following, directly after migrations run:
[WARN] X migrations were detected but were not run because they did not follow the filename convention.

It could also include something like:
Please see https://www.red-gate.com/blog/database-devops/flyway-naming-patterns-matter for more details.

If this is in error, use the -X flag to enable debug logging to see which files were not run.

If this is in error, use the `validateMigrationNaming` flag to fail when invalid file names are detected.

The point of a change like this is to make the issue discoverable by only running flyway migrate. It's a helpful nudge in the right direction to people who may have limited knowledge or understanding of the intricacies of Flyway.

Thanks for raising this issue!
This is definitely something we're keen on adding
We're interested in what the need is for this as a warn-level log. By default, flyway puts a .txt file in the default migrations location, and people often put non-migration files in these locations on purpose, and a warning seems a bit extreme to force upon people in this scenario. Would an info-level log suffice?


[Controller] Implement block version of before_action

Currently, before_action only allows method names as a handler. Amend the current implementation to also allow the following form:
before_action do
  Photo.first
end

You can use the current implementation of rescue_from as a reference.
Make sure to thoroughly cover the change with tests and add documentation using YARD. Also, please document the differences between this implementation and the Rails implementation.
💡 The change should be made in rage/controller/api.rb.
💡 Use yard server --reload to verify your documentation changes.
❗ Do not hesitate to use benchmark-ips whenever there are different implementation options. When working on gems, performance is much more important than readability.

Hey @rsamoilov. I would like to pickup this issue

I need help to push the publish the branch. Getting this error
remote: Permission to rage-rb/rage.git denied to heysyam99.
fatal: unable to access 'https://github.com/rage-rb/rage.git/': The requested URL returned error: 403

Hey @heysyam99
Go for it!
You will need to create a fork in order to make the changes.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

Thanks @rsamoilov. Will give it a try later

This is the PR for this issue. @rsamoilov


Ecf reports

Related to: https://github.com/cbitstech/think_feel_do_engine/pull/57

Is this ready for merge?

If you are both okay with it, I'll merge it when I merge the related tfd engine pull request. At that point, both host apps need updating as well.


Added Azure.Storage.DefenderCloud

PR Summary
Fixes #2225
Added Azure.Storage.DefenderCloud rule.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Hi @BernieWhite! It's not ready yet, I need some help from you. I am currently struggling with the configuration object as an pre-condition. Do you have any idea, is this due to some distinct parsing modes? I would expect it to return boolean as is, but I might be off?
$result = invoke-psrule -m 'PSRule.Rules.Azure' -f .\tests\PSRule.Rules.Azure.Tests\Resources.storage.json -Baseline Azure.All -Outcome All -Option .\tests\PSRule. -Outcome All -Option .\tests\PSRule.Rules.Azure.Tests\ps-rule-options.yaml
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.
Invoke-PSRule: An invalid rule result was returned for PSRule.Rules.Azure\Azure.Storage.DefenderCloud. Conditions must return boolean $True or $False.

@BernieWhite Ready for review btw.

@BernieWhite Thanks for all the great input, it really took the documentation to a further level. Adjusted now :)


Check for disallowed features

@joshspicer Thanks, addressed your feedback. Please re-review and reapprove.


[Doc Issue][This page recommends calling getAuthToken "from inside microsoftTeams.initialize()" which is not possible][2691774]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
94
7
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 20a3292:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
93
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
93
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 41d980f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/authentication/tab-sso-code.md
:white_check_mark:Succeeded
View

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


Should we use queryFormat: "or" for multiselect categories?

If an image has multiple values for some field, we might want "and" otherwise it's useless. Users will certainly want to be able to express "or" across values for a field. So if we don't use queryFormat: "or", we will need to provide some kind of advanced search interface to combine queries by disjunction. OTOH, queryFormat: "and" behaves more intuitively.

Would a UI element for toggling between "and" / "or" be useful/feasible?  So far from limited googling I can't find any clear solutions for that.
Or should we just decide that there are some fields where we only want "and" and others where we would only want "or".

Most of the fields we're dealing with are single-valued, so "or" makes sense. I just couldn't make sense of the numbers when I did that. As in we want users to be able to express "I want all images with segmentation annotation, of species x or y"

I'm having a hard time imagining where "and" would be useful.
Interestingly, when just swapping to quertFormat: "or" , it doesn't behave like I expected.  You aren't able to select multiple options.

Ok, we also need to change the "and" in react: { and: [things to react to] } to "or". This now behaves how we would like.


Find stable solution to Error: use of unstable library feature 'udp_extras'

See the following for details of finding a more permanent / stable solution, assigning to @mmoadeli
https://github.com/maidsafe/crust/issues/223
https://github.com/maidsafe/crust/pull/224#issuecomment-126651635

Wasn't this issue solved in b83d29b9653ece9e134797570e945a88d9767aa6 ?

Partly resolved with that commit, but still using unstable features. I suspect the switch to channels and rid ourselves of weak references will allow us complete stability.

but still using unstable features

Should I change the name of the issue to reflect that it should track the use of all unstable features?

Or perhaps close this and have an issue for each feature? then we can knock them off one at a time.

Well, the way I see, this is a duplicate of #235. Closing.


Faster and simpler pool.

With recent pool changes we reintroduced pool.Remove which has flaw described in https://github.com/go-redis/redis/pull/89. So this PR fixes that flaw and also makes sure that Dial and Conn.Close is called without holding the lock.
Before
BenchmarkPoolGetPut10Conns-4      	 3000000	       439 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetPut100Conns-4     	 3000000	       409 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetPut1000Conns-4    	 5000000	       399 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetReplace10Conns-4  	  500000	      2925 ns/op	    8432 B/op	       7 allocs/op
BenchmarkPoolGetReplace100Conns-4 	  500000	      2918 ns/op	    8432 B/op	       7 allocs/op
BenchmarkPoolGetReplace1000Conns-4	  500000	      2938 ns/op	    8432 B/op	       7 allocs/op

After
BenchmarkPoolGetPut10Conns-4      	 5000000	       376 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetPut100Conns-4     	 5000000	       367 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetPut1000Conns-4    	 5000000	       377 ns/op	       0 B/op	       0 allocs/op
BenchmarkPoolGetReplace10Conns-4  	  300000	      4650 ns/op	    8419 B/op	       7 allocs/op
BenchmarkPoolGetReplace100Conns-4 	  300000	      4945 ns/op	    8419 B/op	       7 allocs/op
BenchmarkPoolGetReplace1000Conns-4	  300000	      4887 ns/op	    8419 B/op	       7 allocs/op

So it is slightly slower on remove, but I hope to make it faster in next PR.
PS Also I need to rewrite cluster reaper...
/cc @dim

Will review it later today

Cluster reaper fixed.


installation error: bcbio_nextgen 1.1.4

Tried to install using the latest stable version of bcbio-nextgen but it exists with an error. See further down below for complete error message.
System is Centos 7.6.1810
Installation of bioconductor-genomeinfodbdata-1.2.0 exits with the following error:
ERROR conda.core.link:_execute_post_link_actions(658): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0'.
LinkError: post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0
running your command again with `-v` will provide additional information
location of failed script: /home/pela09/bcbio/anaconda/bin/.bioconductor-genomeinfodbdata-post-link.sh

Have tried to install this package from a different bioconda label but the same error persists. Have also downgraded Python to 3.6.7 but that did not solve anything.
Complete error msg:
Downloading and Extracting Packages
bioconductor-genomei | 6 KB      | ############################################################################################################################# | 100%
r-nlme-3.1_138       | 2.3 MB    | ############################################################################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: / b'To use this package you will need to use the included training sets.\nThese can be found at /home/pela09/bcbio/anaconda/share/genesplicer-1.0-1\n\nExample for human samples:  genesplicer <fasta-file> /home/pela09/bcbio/anaconda/share/genesplicer-1.0-1/human\n\nFor more information, see https://ccb.jhu.edu/software/genesplicer/\n'
| b'\n========================= Novoalign information ===========================================\nNovoalign is installed. Documentation installed in\n/home/pela09/bcbio/anaconda/share/doc/novoalign\n\nCommercial use requires a license; contact<EMAIL_ADDRESS>also adds multi-threading and other features.\nOnce you have a license file, run novoalign-license-register to install it.\n\nLicensing information from Novocraft website:\n--------------------------------------------------------------------------------------------\nNovoalign with some limitations is free for use by non-profit organisations. \nCommercial users should contact<EMAIL_ADDRESS>to purchase a license.\nA license enables \n* Multi-threading\n* Gzipped input files\n* Amplicon mode\nand much more.\nYou must include a copy of this license if you share any Novocraft programs.\n======================== End of novoalign information ======================================\n'
| ERROR conda.core.link:_execute_post_link_actions(658): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0'.
LinkError: post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0
running your command again with `-v` will provide additional information
location of failed script: /home/pela09/bcbio/anaconda/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==
<None>

Attempting to roll back.

failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0'.
LinkError: post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.0-r351_0
running your command again with `-v` will provide additional information
location of failed script: /home/pela09/bcbio/anaconda/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==
<None>

Attempting to roll back.

 Certificate issue?

Pär;
Thanks for the report and sorry about the issues. My suggestion for debugging is to try running the problem script outside of conda:
/home/pela09/bcbio/anaconda/bin/.bioconductor-genomeinfodbdata-post-link.sh

This is a shell script that actually does the install download. Since the data files for R in this case are large, it isn't directly in the bioconda package but rather part of this downstream step. It sounds like there is something in your network environment blocking this but it's hard to know what from just the error message. Hopefully running it separately will reveal some clues to help debug and avoid. Thanks much for the report and help debugging.

I should give an update on this:
The error is due to that ca-certificates are incorrectly set. Even if I set ca-certificates explicitly in conda it fails. I have entered an issue here: https://github.com/conda/conda/issues/8653 . Anyways it has nothing todo with bioconductor or bcbio, but I thought I should make an entry here if anyone else encounters this issue.
Just now the bioconductor-genomeinfodbdata package has been modified to use curl (instead of wget) but the problem remains since it's due to conda not seeing certificates. But by setting export SSL_CERT_FILE=/path/to/ca.pem, however, the package can be installed and then everything works.

Another update:
mingwandroid wrote (https://github.com/conda/conda/issues/8653) "Conda's ssl settings pertain only to conda itself and not to and other packages you can install via conda."
This means that the installation will always fail if you're inside a corporate network that depends on a correctly set ca-cert. I have proposed here https://github.com/bioconda/bioconda-recipes/issues/13846 that the conda package installation is modified to set ca-cert for curl if it's set in conda. Don't know if this is the right way of fixing it?

Pär;
Thanks for investigating this. It sounds like the export SSL_CERT approach to point at the valid certification for your environment is a work around, is that right? If so, it seems like the best approach to avoid these and we could add a note to the documentation so folks know to look at that as an option if they're in a restricted environment.

If the SSL_CERT_FILE env variable is still visible from within the conda env I guess it must work. I can double check on Monday.

Thanks, let us know if that ends up working so we can add in the documentation. Nice one finding a possible workaround.


Bazel: ensure tests use TEST_TMPDIR [phab:D344]

Created by schroederc at 2015-06-16 20:18:15:
This affects all Go tests and all tests that use mktemp.

shahms accepted this revision at 2015-06-16 20:19:16

schroederc closed via commit 14f20d6ff362f5fe12ac9adc8f5e8fdd00d7de54 at 2015-06-16 20:44:03


KAKFA-17173: move quota config params from KafkaConfig to QuotaConfig

This PR renamed QuotaConfigs to QuotaConfig, and
moved quota config related variable from KafkaConfig to QuotaConfig.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712 Would you like to review this PR ?


GMYLE iMac 2011

Hello I have bought GMULE BT 4.0 Dual-mode but the tool will not recognize it when inserted in the USB Slot. Does anybody have exact procedure?
Thank you

I think the problem is that I have Atheros based Wifi, is that true?

Hello,
Open CAT and run the system diagnostic. If you see a "NOT OK", then it will tell you what's wrong (e.g Atheros Wi-Fi cards don't work with Continuity).
The homepage also contains important compatibility/troubleshooting info, please make sure you read it.
Sent from my iPhone

On 13 janv. 2015, at 17:50, ageorgios<EMAIL_ADDRESS>wrote:
I think the problem is that I have Atheros based Wifi, is that true?
—
Reply to this email directly or view it on GitHub.


TBI - To support the exclusion of middleware from ui5 yaml for cap projects

To support the exclusion of middleware from ui5 yaml for cap projects
Giving an option as part of ui5 application writter to exclude the writing of middlewares into ui5 yaml files.
excludeMiddleware option is set to true for cap projects.
Architecture Elaboration
Does it requires architecture elaboration?
Notes
Tasks

[ ] Add excludeMiddleware to interface AppOptions in ui5 application writer
[ ] Add logic to exclude the writing of middlewares when excludeMiddleware is true
[ ] Add unit tests to ui5 application writer

Closing this issue. Decision was made to leave proxy middleware and app reloads for cap project.


fix custom op error when using auxiliary states

Fixes https://github.com/apache/incubator-mxnet/issues/8312

I manually incorporated the fix to 0.12.0, the code compiled but got another issue in runtime

Error in operator custom0: [22:11:28] src/operator/custom/custom.cc:127: Check failed: reinterpret_cast( params.info->callbacks[kCustomOpPropInferShape])( shapes.size(), ndims.data(), shapes.data(), params.info->contexts[kCustomOpPropInferShape])


Cannot Paste into vscode

Issue Type: Bug
Go to github, view raw version of a file, copy it, go to vscode, paste - nothing happens
Intermittent
Smaller items can be copied
But something is preventing pasting consistantly
I can copy and paste into Google Docs - so I know the paste is working.
This is a new recent issue. Intermittant but pretty consistant. Past few months. I rebuilt both my Chromebook and linux and then the linux again.
I can paste little stuff but not predictibly.
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T16:45:26.313Z)
OS version: Linux x64 5.4.99-12983-g8b7876ab9f5e
Remote OS version: Linux x64 5.4.99-12983-g8b7876ab9f5e

System Info

Item
Value

CPUs
06/7a (2 x 1094)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 0, 0

Memory (System)
2.71GB (2.69GB free)

Process Argv
--no-sandbox --crash-reporter-id ddbdc287-00c7-478c-9633-4f50358415d7

Screen Reader
no

VM
50%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

Item
Value

Remote
Dev Container: Python 3

OS
Linux x64 5.4.99-12983-g8b7876ab9f5e

CPUs
06/7a (2 x 1094)

Memory (System)
2.71GB (0.23GB free)

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

remote-containers
ms-
0.177.2

vscode-remote-extensionpack
ms-
0.21.0

python
ms-
2021.5.842923320

vscode-pylance
ms-
2021.5.3

jupyter
ms-
2021.6.832593372

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30301612
vscorehovct:30302760
bridgeflightcf:30302070
vscod805:30301674

Pasting with a keyboard shortcut? Can you look at this page? https://github.com/microsoft/vscode/wiki/Keybinding-Issues

I encounter this issue also when running VSCode in a Chromebook container. Smaller amounts of text can copy-paste. Larger amounts fail.
It can't even copy long text between different panes of the same VSCode editor, using the right-click drop-down menu on selected text in the editor pane for Cut and then Copy which I presume definitely triggers the VSCode copy-paste behaviour.
See the screen recording at https://user-images.githubusercontent.com/159819/119269024-7df84d00-bbed-11eb-9dcb-f88b6a4c58bd.mp4 to see the failure in action.
That's the result of using the now inbuilt screen capture tool in the Chromebook to make a webm and then ffmpeg -i Screen\ recording\ 2021-05-23\ 17.29.24.webm -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" paste-failure.mp4 to make an MP4 that I can paste to github.
The version report from my Debian Buster is as follows...
$ code --version
1.56.2
054a9295330880ed74ceaedda236253b4f39a335
x64

I just copy-pasted the problematic text I was trying to paste below from that VSCode editor, suggesting that the copy part isn't the problem...
    /* Visit https://aka.ms/tsconfig.json to read more about this file */

    /* Basic Options */
    // "incremental": true,                         /* Enable incremental compilation */
    "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
    "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
    // "lib": [],                                   /* Specify library files to be included in the compilation. */
    "allowJs": false /* Allow javascript files to be compiled. */,
    // "checkJs": true,                             /* Report errors in .js files. */
    "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,
    // "declaration": true,                         /* Generates corresponding '.d.ts' file. */
    // "declarationMap": true,                      /* Generates a sourcemap for each corresponding '.d.ts' file. */
    "sourceMap": true /* Generates corresponding '.map' file. */,
    // "outFile": "./",                             /* Concatenate and emit output to single file. */
    // "outDir": "./",                              /* Redirect output structure to the directory. */
    // "rootDir": "./",                             /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
    // "composite": true,                           /* Enable project compilation */
    // "tsBuildInfoFile": "./",                     /* Specify file to store incremental compilation information */
    // "removeComments": true,                      /* Do not emit comments to output. */
    "noEmit": true /* Do not emit outputs. */,
    // "importHelpers": true,                       /* Import emit helpers from 'tslib'. */
    "downlevelIteration": true /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */,
    // "isolatedModules": true,                     /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */

    /* Strict Type-Checking Options */
    "strict": true /* Enable all strict type-checking options. */,
    // "noImplicitAny": true,                       /* Raise error on expressions and declarations with an implied 'any' type. */
    // "strictNullChecks": true,                    /* Enable strict null checks. */
    // "strictFunctionTypes": true,                 /* Enable strict checking of function types. */
    // "strictBindCallApply": true,                 /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
    // "strictPropertyInitialization": true,        /* Enable strict checking of property initialization in classes. */
    // "noImplicitThis": true,                      /* Raise error on 'this' expressions with an implied 'any' type. */
    "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,

    /* Additional Checks */
    // "noUnusedLocals": true,                      /* Report errors on unused locals. */
    // "noUnusedParameters": true,                  /* Report errors on unused parameters. */
    // "noImplicitReturns": true,                   /* Report error when not all code paths in function return a value. */
    // "noFallthroughCasesInSwitch": true,          /* Report errors for fallthrough cases in switch statement. */
    "noUncheckedIndexedAccess": true /* Include 'undefined' in index signature results */,
    // "noPropertyAccessFromIndexSignature": true,  /* Require undeclared properties from index signatures to use element accesses. */

    /* Module Resolution Options */
    // "moduleResolution": "node",                  /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
    // "baseUrl": "./",                             /* Base directory to resolve non-absolute module names. */
    // "paths": {},                                 /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
    // "rootDirs": [],                              /* List of root folders whose combined content represents the structure of the project at runtime. */
    // "typeRoots": [],                             /* List of folders to include type definitions from. */
    // "types": [],                                 /* Type declaration files to be included in compilation. */
    // "allowSyntheticDefaultImports": true,        /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
    "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
    // "preserveSymlinks": true,                    /* Do not resolve the real path of symlinks. */
    // "allowUmdGlobalAccess": true,                /* Allow accessing UMD globals from modules. */

    /* Source Map Options */
    // "sourceRoot": "",                            /* Specify the location where debugger should locate TypeScript files instead of source locations. */
    // "mapRoot": "",                               /* Specify the location where debugger should locate map files instead of generated locations. */
    // "inlineSourceMap": true,                     /* Emit a single file with source maps instead of having a separate file. */
    // "inlineSources": true,                       /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */

    /* Experimental Options */
    // "experimentalDecorators": true,              /* Enables experimental support for ES7 decorators. */
    // "emitDecoratorMetadata": true,               /* Enables experimental support for emitting type metadata for decorators. */

    /* Advanced Options */
    "skipLibCheck": true /* Skip type checking of declaration files. */,
    "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */

I would copy-paste an example of the problematic selected text, but then...

In this screen recording you can see how large chunks are ignored. But you can eventually copy paste everything if you use small-enough chunks with the same content.
https://user-images.githubusercontent.com/159819/119269400-6fab3080-bbef-11eb-9e38-182e8fcf8324.mp4

In this screen recording you can see how large chunks are ignored. But you can eventually copy paste everything if you use small-enough chunks with the same content. In the last step I used CTRL+V but it seems to make no difference whether drop-down-menu or keyboard shortcut.
paste-failure-2.mp4

This is exactly what I am seeing. I have to copy little chunks one at a time. Old school, brings me back to when we used floppy disks and sneaker net and punch cards lol. But seriously, your video and content well describe the issue.

@rebornix is anything known about this? I'm finding it hard to work at all without being able to copy-paste. If there are any known workarounds it would make a huge difference.

This is an issue also after installing code-insiders
code-insiders --version
1.57.0-insider
1082913dd012e21cc5f35a06f15c480ca447f67f
x64

@cefn can you please try run command Toggle Keyboard Shortcut Troubleshooting and then reproduce this issue and share the log with us?

Below comes from a session where I copied text from an editor pane using CTRL+A CTRL+C, used CTRL+N to create a new empty Editor Pane then pasted with CTRL+V and nothing appeared in the new pane.
[2021-06-29 19:15:01.368] [renderer1] [error] Git error
[2021-07-01 21:06:32.279] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
[2021-07-01 21:06:32.280] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
[2021-07-01 21:06:32.281] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[2021-07-01 21:06:32.700] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyA, keyCode: 65, key: a
[2021-07-01 21:06:32.702] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyA, keyCode: 31 ('A')
[2021-07-01 21:06:32.704] [renderer1] [info] [KeybindingService]: | Resolving ctrl+[KeyA]
[2021-07-01 21:06:32.706] [renderer1] [info] [KeybindingService]: \ From 2 keybinding entries, matched editor.action.selectAll, when: no when condition, source: built-in.
[2021-07-01 21:06:34.155] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyC, keyCode: 67, key: c
[2021-07-01 21:06:34.156] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyC, keyCode: 33 ('C')
[2021-07-01 21:06:34.158] [renderer1] [info] [KeybindingService]: | Resolving ctrl+[KeyC]
[2021-07-01 21:06:34.159] [renderer1] [info] [KeybindingService]: \ From 6 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
[2021-07-01 21:06:34.315] [renderer1] [info] [KeybindingService]: + Storing single modifier for possible chord ctrl.
[2021-07-01 21:06:34.616] [renderer1] [info] [KeybindingService]: + Clearing single modifier due to 300ms elapsed.
[2021-07-01 21:06:35.898] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
[2021-07-01 21:06:35.899] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
[2021-07-01 21:06:35.900] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[2021-07-01 21:06:36.538] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyN, keyCode: 78, key: n
[2021-07-01 21:06:36.539] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyN, keyCode: 44 ('N')
[2021-07-01 21:06:36.541] [renderer1] [info] [KeybindingService]: | Resolving ctrl+[KeyN]
[2021-07-01 21:06:36.542] [renderer1] [info] [KeybindingService]: \ From 1 keybinding entries, matched workbench.action.files.newUntitledFile, when: no when condition, source: built-in.
[2021-07-01 21:06:36.833] [renderer1] [info] [KeybindingService]: + Storing single modifier for possible chord ctrl.
[2021-07-01 21:06:37.134] [renderer1] [info] [KeybindingService]: + Clearing single modifier due to 300ms elapsed.
[2021-07-01 21:06:37.304] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
[2021-07-01 21:06:37.305] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
[2021-07-01 21:06:37.306] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[2021-07-01 21:06:40.087] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyV, keyCode: 86, key: v
[2021-07-01 21:06:40.089] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyV, keyCode: 52 ('V')
[2021-07-01 21:06:40.090] [renderer1] [info] [KeybindingService]: | Resolving ctrl+[KeyV]
[2021-07-01 21:06:40.091] [renderer1] [info] [KeybindingService]: \ From 2 keybinding entries, matched editor.action.clipboardPasteAction, when: no when condition, source: built-in.
[2021-07-01 21:06:40.263] [renderer1] [info] [KeybindingService]: + Storing single modifier for possible chord ctrl.
[2021-07-01 21:06:40.568] [renderer1] [info] [KeybindingService]: + Clearing single modifier due to 300ms elapsed.

Same problem here. Need to restart the PC in order to do copy/paste again from an external source.
I can copy paste within the editor, that means copy an existing text in the editor and paste it again. But cannot copy from internet/websites and paste into the editor. Nothing happens.
OS - fedora 34
VSCode info:
Version: 1.57.1
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:26:56.255Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.12.12-300.fc34.x86_64 snap

Same issue -- can't copy from firefox (demo hello world example from react-hook-form website).
Version: 1.59.1
Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
Date: 2021-08-19T11:54:37.513Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Linux x64 5.11.0-31-generic

Same problem here. Need to restart the PC in order to do copy/paste again from an external source.
I can copy paste within the editor, that means copy an existing text in the editor and paste it again. But cannot copy from internet/websites and paste into the editor. Nothing happens.
OS - fedora 34
VSCode info:
Version: 1.57.1
Commit: 507ce72
Date: 2021-06-17T13:26:56.255Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.12.12-300.fc34.x86_64 snap

I no longer have this issue, perhaps it resolved itself in a subsequent release or there was some interference in my local computer. Thank you for your attention for me this issue is closed, Thanks


Design System Table Styles

Feature
Have a suggestion for a feature?

[X] Describe the feature
DCC needs an HTML table for rendering content.

The Design System needs a table component for rendering tables
Here is a brainstorm of features that have come up for different kinds of tables so far:

good UX on mobile & tablet devices
accessible
translatable
appropriate for different volumes of content
sticky headers (side and top)
easy to use
easy to integrate - works in Design System WordPress stacks  - static sites (a.k.a. headless), current State Template themes, WordPress 5.9+, Design System Publishing, Classic editor, React UIs and many other editors currently & planned to be in use at the State
A single class addition will enable valid, accessible HTML markup to render
attributable - easy to
downloadable as CSV
printer-friendly
convertible to PDF (if you print it out - need to confirm accessibility of Save as PDF on multiple devices & hardware)
header colors
header layouts - subtle, legible
table style guide for the design system
programmable

We use a data table in the DCC Cannabis Local Ordinances data viz.
Would like a base table style + ability to provide custom code "underneath it"

Main table styles = design system table styles (versioned)
Custom styles = special modifications to the table that will not cause scope competition when users are applying CSS on a variety of systems - where the markup for the entire project may be available on every page due to system & resource limitations.

Team

[ ] Scope out how much effort it will take to build

We need something up and working today that has at least decent mobile behavior & some QA testing.
Then: need a design review
Inquire with the Design System governance group on asking various Design System teams if they have created a table yet & aggregate those examples here or in the Design System github.
Confirm if the name and class are going to be ds-table
Make the CSS includable and versionable in npm if not already
Document this & include how to access or alter the header or styles using the accessible color system of the CA Design System.

Update:
We need this now for the campaign toolkit.
The plan:

take latest version of DS table component code: https://github.com/cagov/design-system/tree/main/components/table
align with table work from 514-table work: https://github.com/cagov/cannabis.ca.gov/tree/514-table/src/css/table
put component in this new dist structure - (see  https://github.com/cagov/design-system/issues/324#issuecomment-1205808177)
adjust for client needs
after launching v1 of feature ... document it
this will likely include refinement on the component with a site update or two
if DS knows that there are others making tables, hope that they connect us - (if we had a contrib airtable or coda doc from a coda form, this could be DIY - hopefully this is going to come from CDT/Yesenia this or next quarter)
submit PR to design system repo, possibly collide with another contribution
require facilitation to negotiate the feature - request some sort of thread, discussion or working group on just one component: tables.
hope the PM will help facilitate documentation to publish the feature

See also https://github.com/cagov/design-system/issues/923

Did some more work on this in 514-table branch.
Still no code instances that really want this table, we are releasing a grid layout instead for the campaign toolkit.


feat: Export Element and utility types from react-strict-dom

Resolves #88
Creates a new file called StrictTypes that re-exports all the element types, DOM Props and Strict Props.
The index.js for both dom and native are then able to re-export this one common file.
After this PR, all the various Element or other types that might be need can be imported directly from 'react-strict-dom'.

Thanks, LGTM!


Failed to load resource: net::ERR_FILE_NOT_FOUND Glitch

Domain
https://filedm.com/GpvWg
Link
https://fastforward.team/
Version
Newest
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
Anything else?
So for some reason, fastforward won't work entirely and there was this problem that said Failed to load resource: net::ERR_FILE_NOT_FOUND

Works on my end, try uninstalling and reinstalling FastForward.

It wont work.


Main window Scrollbar does not work when clicking to scroll.

Could you please elaborate on this little bit more? I tried scrollbar on Chrome and all works fine. Thanks.


Bad responses: Json, Plaintext

Some scenarios return errors:

Scenario
Environment
Last Run
Errors

Json
Windows, Physical, https, HttpSys
10/1/19 8:50:52 PM +00:00
2301638

Plaintext
Windows, Physical, https, HttpSys
10/1/19 8:49:40 PM +00:00
2334748

Logs

@sebastienros ?

@sebastienros something that would be helpful here would be the run number for each environment.
[03:25:52.780] System.OperationCanceledException: The operation was canceled.
   at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at BenchmarksDriver.Program.Run(Uri serverUri, Uri[] clientUris, String sqlConnectionString, ServerJob serverJob, String session, String description, Int32 iterations, Int32 exclude, String shutdownEndpoint, TimeSpan span, List`1 downloadFiles, Boolean fetch, String fetchDestination, Boolean collectR2RLog, String traceDestination, CommandOption outputFileOption, CommandOption sourceOption, CommandOption scriptFileOption, CommandOption markdownOption, CommandOption writeToFileOption, Nullable`1 requiredOperatingSystem, CommandOption saveOption, CommandOption diffOption) in /var/jenkins_home/workspace/trend_citrine_windows/src/BenchmarksDriver/Program.cs:line 1217
New job  on 'http://<redacted>': -n Plaintext --webHost KestrelSockets --description Trend/Latest -j /var/jenkins_home/workspace/trend_citrine_windows/build/../src/Benchmarks/benchmarks.plaintext.json -i 3
The specified server url 'http://<redacted>' is invalid or not responsive.

This scenario doesn't work at all, and it's been months apparently. We might not have fixed it as the same time @jkotalik worked on IIS. We need to investigate if we still care about these scenarios.

@davidfowl 's error isn't the correct one. It's getting 404s.

Fixed with guidance from @Tratcher, the windows IP had changed and the certs config needed to reflect that.


Set n_workers for dask LocalCluster

Explicitly set n_workers for LocalCluster creation (through Client). If this is not set, for machines with a high CPU count, the number of workers will be much larger than 7. In client.scatter with broadcast=True, this can cause hangs due to how dask distributed works. It's presumed that this bug is only apparent in more recent runs on machines with high CPU counts, although that is not confirmed. But, this fix does allow the example to run to completion on a machine with CPU_COUNT=128.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c0802c6) 73.76% compared to head (6843966) 73.71%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
- Coverage   73.76%   73.71%   -0.05%
==========================================
  Files          24       24
  Lines        1616     1613       -3
==========================================
- Hits         1192     1189       -3
  Misses        424      424

Flag
Coverage Δ

unittests
73.71% <ø> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Error on npm run dev with Laravel Project

Hi,
I get following error when i am try to run npm run dev command on windows power-shell

@ development C:\Users\Praneeth Gamage\Desktop\Laravel_Projects\posty
mix

[webpack-cli] Running multiple commands at the same time is not possible
[webpack-cli] Found commands: 'bundle', 'Gamage\Desktop\Laravel_Projects\posty\node_modules\laravel-mix\setup\webpack.config.js'
[webpack-cli] Run 'webpack --help' to see available commands and options
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ development: mix
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Praneeth Gamage\AppData\Roaming\npm-cache_logs\2021-01-10T12_30_36_179Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ dev: npm run development
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Praneeth Gamage\AppData\Roaming\npm-cache_logs\2021-01-10T12_30_36_230Z-debug.log

I have the same problem right now. Even npx mix doesn't work and the command cannot be found. I'm using it on windows.

I have the same problem right now. Even npx mix doesn't work and the command cannot be found. I'm using it on windows.

I have the same problem.
NPM v6.14.11
Mix v6.0.9
Also on Windows.

I have the same problem.
NPM v6.14.11
Mix v6.0.9
Also on Windows.

Guess they have only tested it on linux and mac. 😃

Guess they have only tested it on linux and mac. 😃

The tests run on Node 12, 13, and 14 on Linux and Windows. I'm gonna take a look at this at some point soon. We're quoting the path to the webpack config file in the CLI to fix this very problem on Windows. It seems like something is causing the quotes to be removed.

The tests run on Node 12, 13, and 14 on Linux and Windows. I'm gonna take a look at this at some point soon. We're quoting the path to the webpack config file in the CLI to fix this very problem on Windows. It seems like something is causing the quotes to be removed.

I have the same problem, is there a solution?

I have the same problem, is there a solution?

i have the same problem

i have the same problem

I already solved it, in my case, it was the blank spaces in the path to the project

I already solved it, in my case, it was the blank spaces in the path to the project

@fikrisuheri   verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

@fikrisuheri   verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

thanks, i will try it

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

thanks, i will try it

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

Thank you adrian! this solved my issue!
i also have the same problem for the last 3 days and can't solved it, but now it's solved thanks to you

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

Thank you adrian! this solved my issue!
i also have the same problem for the last 3 days and can't solved it, but now it's solved thanks to you

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.

Thanks a lot ! Amazing it solve my problem.. Cheers !

Thanks a lot ! Amazing it solve my problem.. Cheers !

What commands have to be run in order to make it work?
I ran npm upgrade and also npm update and then npm run dev.
🚀❯ npm run dev

> @ dev D:\code\dnw\hannibal\src

> @ development D:\code\dnw\hannibal\src
> mix

Der Befehl "mix" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_485Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_511Z-debug.log

The content of my package.json:
{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "mix",
        "watch": "mix watch",
        "watch-poll": "mix watch -- --watch-options-poll=1000",
        "hot": "mix watch --hot",
        "prod": "npm run production",
        "production": "mix --production"
    },
    "devDependencies": {
        "@tailwindcss/forms": "^0.2.1",
        "@tailwindcss/typography": "^0.3.0",
        "alpinejs": "^2.7.3",
        "autoprefixer": "^10.2.1",
        "axios": "^0.21",
        "chokidar": "^3.5.0",
        "chokidar-cli": "^2.1.0",
        "cross-env": "^7.0.3",
        "esbuild": "^0.8.31",
        "laravel-mix": "^6.0.6",
        "lodash": "^4.17.19",
        "postcss": "^8.2.4",
        "postcss-custom-properties": "^10.0.0",
        "postcss-import": "^12.0.1",
        "postcss-nested": "^5.0.3",
        "precss": "^4.0.0",
        "tailwindcss": "^2.0.2"
    }
}

What commands have to be run in order to make it work?
I ran npm upgrade and also npm update and then npm run dev.
🚀❯ npm run dev

> @ dev D:\code\dnw\hannibal\src

> @ development D:\code\dnw\hannibal\src
> mix

Der Befehl "mix" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_485Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_511Z-debug.log

The content of my package.json:
{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "mix",
        "watch": "mix watch",
        "watch-poll": "mix watch -- --watch-options-poll=1000",
        "hot": "mix watch --hot",
        "prod": "npm run production",
        "production": "mix --production"
    },
    "devDependencies": {
        "@tailwindcss/forms": "^0.2.1",
        "@tailwindcss/typography": "^0.3.0",
        "alpinejs": "^2.7.3",
        "autoprefixer": "^10.2.1",
        "axios": "^0.21",
        "chokidar": "^3.5.0",
        "chokidar-cli": "^2.1.0",
        "cross-env": "^7.0.3",
        "esbuild": "^0.8.31",
        "laravel-mix": "^6.0.6",
        "lodash": "^4.17.19",
        "postcss": "^8.2.4",
        "postcss-custom-properties": "^10.0.0",
        "postcss-import": "^12.0.1",
        "postcss-nested": "^5.0.3",
        "precss": "^4.0.0",
        "tailwindcss": "^2.0.2"
    }
}

@emineinnovations I'd keep this issue open, as the bug that causes Laravel Mix to fail on Windows when there's a space in the path is not resolved yet.

@emineinnovations I'd keep this issue open, as the bug that causes Laravel Mix to fail on Windows when there's a space in the path is not resolved yet.

@wickex Sure..

@wickex Sure..

Same issue, new project. Old ones still work.

Same issue, new project. Old ones still work.

I'm having the same issue since version 6. Older versions work fine.

I'm having the same issue since version 6. Older versions work fine.

I can't reproduce this issue on Windows 10. Can you all post which versions of Windows and Node you are using?

I can't reproduce this issue on Windows 10. Can you all post which versions of Windows and Node you are using?

Node: 12.19.0
NPM: 6.14.8
Windows: 10 / 2004

Node: 12.19.0
NPM: 6.14.8
Windows: 10 / 2004

I've reproduced the issue but I'm not sure what's wrong yet.
Two things I've discovered:

The generated command is quoted correctly (you can check this by running  .\node_modules\.bin\cross-env TESTING=1 npm run dev)
This does not happen if you install dependencies via yarn. Regardless if you run them via yarn, npm, or npx afterwards.

I've reproduced the issue but I'm not sure what's wrong yet.
Two things I've discovered:

The generated command is quoted correctly (you can check this by running  .\node_modules\.bin\cross-env TESTING=1 npm run dev)
This does not happen if you install dependencies via yarn. Regardless if you run them via yarn, npm, or npx afterwards.

NPM: 6.14.11
Node: 12.18.3
Windows: 10 20H2 19042.685
Laravel: 8.5.7

NPM: 6.14.11
Node: 12.18.3
Windows: 10 20H2 19042.685
Laravel: 8.5.7

Best I can tell this has nothing to do with Mix. Our CLI script just triggers the error in node/npm and apparently npm run scripts bypass this somehow. I'm trying to see if there's a workaround we can implement.
It appears that the scripts written by yarn in node_modules/.bin pass arguments with spaces correctly to node but the scripts written by npm do not.

Best I can tell this has nothing to do with Mix. Our CLI script just triggers the error in node/npm and apparently npm run scripts bypass this somehow. I'm trying to see if there's a workaround we can implement.
It appears that the scripts written by yarn in node_modules/.bin pass arguments with spaces correctly to node but the scripts written by npm do not.

I already solved it, in my case, it was the blank spaces in the path to the project

really really ty bro u saved me <3 @adrian250997

I already solved it, in my case, it was the blank spaces in the path to the project

really really ty bro u saved me <3 @adrian250997

To anyone who's still not able to run the "npm run dev" command. Make sure to run the command through the debugger a few times, and it should fix the problem.

Yup this error still exists, however I was able to minimize it by doing the following:

npm i webpack (it seems webpack was NOT installed and missing in package.json)
removing '--hide-modules' from "Scripts":"development" in package.json eliminated another error

After doing those two things I got all the way through 98% compilation and then it fails on this:
× Mix
  Compiled with some errors in 26.16s

ERROR in ./resources/js/components/ExampleComponent.vue 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <template>
|

|

webpack compiled with 1 error

I'm running down this last error now.  Hopefully this can be easily resolved.

This issue is solved for me.
@drsavant-pub from the code you posted, I see you are using Vue.js. Webpack does not automatically load Vue, so you need to install its loader: https://vue-loader.vuejs.org/

@scajal Thank for your help, but I've decided to let Laravel sort out their own issues.  (If I require Laravel I'll install an earlier version.  One that I know works.) For now I'm using CodeIgniter 4 and it works great!

npm upgrade
is fix my problem.

you can checkout my youtube channel.
https://www.youtube.com/c/EasyITsolutions

npm upgrade
works for me :)

delete package-lock.json and clear npm cache with npm cache clear --force and delete whole node_modules directory
Finally install or update packages again with npm install / npm update You can also add any new packages with npm install
This fixed for me.
Thanks and happy coding.

npm upgrade
works for me.


Why this code needs recovering?

import io.github.robwin.failsafe.FailSafe;
import io.github.robwin.retry.Retry;
import javaslang.control.Try;

public class Foobar {

    public static void main(String[] args) {

        Try.run(FailSafe.ofCheckedRunnable(() -> {
            System.out.println("Success");
        }).withRetry(Retry.ofDefaults())
                .decorate())
                .recover((throwable -> {
                    System.out.println("Recover me!");
                    return null;
                }));
        System.out.println("Finish");

    }
}

Execution result:
Success
Success
Success
Recover me!
Finish

Hallo,
Thx. I have a look at it.

Its a bug :) that happens if you have many negative test cases to test the retry functionality but forgot to write a positive test cases :)

Yes, there is a break missing in
https://github.com/RobWin/javaslang-circuitbreaker/blob/master/src/main/java/io/github/robwin/retry/Retry.java#L63
Supplier should work.

I also update Javaslang to v2.0 as soon AS it is released

Thanks, good job!

Should be fixed now. I added tests.
I will release v0.2.0 as soon as Javaslang v2.0 has been released.

Btw I love your catch-exception lib :)

I've released v0.1.7 which fixes this issue.


Define a second priority State for analysis of current state

Already completed as part of other stories

Already completed as part of other stories

Already completed as part of other stories


Update unxip code to v2.1

Motivation
See https://github.com/saagarjha/unxip/compare/v1.1.3...v2.1

Context: https://github.com/XcodesOrg/XcodesApp/pull/371

Test
Test it locally with
swift build -c release && cd .build/release & ./xcodes install 15.0 Beta --experimental-unxip

Result ❌:
Downloading with aria2 (/opt/homebrew/bin/aria2c)
(1/6) Downloading Xcode 15.0.0-Beta+15A5160n: 99%
(2/6) Unarchiving Xcode (This can take a while)
Using experimental unxip. If you encounter any issues, remove the flag and try again
The file “Xcode-15.0.0-Beta+15A5160n.xip” doesn’t exist.

Revert the UnxipOption from String back to URL. (Upstream implementation of 2.1 change Option's type to be String. However this will cause a issue here. So we still use the URL type here)
Add https://github.com/XcodesOrg/xcodes/pull/301/commits/55bed3e882d6c4f058cf8cfd9ac51bd87ea5efe3
Result ✅:
Downloading with aria2 (/opt/homebrew/bin/aria2c)
(1/6) Downloading Xcode 15.0.0-Beta+15A5160n: 99%
(2/6) Unarchiving Xcode (This can take a while)
Using experimental unxip. If you encounter any issues, remove the flag and try again
(3/6) Moving Xcode to /Applications/Xcode-15.0.0-Beta.app
(4/6) Moving Xcode archive Xcode-15.0.0-Beta+15A5160n.xip to the Trash
(5/6) Checking security assessment and code signing
(6/6) Finishing installation
xcodes requires superuser privileges in order to finish installation.
macOS User Password:
Xcode 15.0.0-Beta has been installed to /Applications/Xcode-15.0.0-Beta.app

@Kyle-Ye thanks for taking time to do this a long time ago. I always felt it was weird how we used it, so therefore I would like to make xcodes support unxip 3 which has it's own library now we can use without having to create our own binary or our own code.
I'm going to close this PR because of that - Thanks!


Workaround for a bug in the Visual Studio 2013 compiler [vs2013-workaround]

This PR resolves #620.

Thanks for adding this fix.


"malloc(): memory corruption (fast)" when using ISendSocket.SendMsg(IMessage)

I encountered an issue where I get "malloc(): memory corruption (fast)" or other similar errors (using .NET Core 3.1 on Linux) when using ISendSocket.SendMsg(IMessage). Here's the minimal program that will reproduce the issue:
using System.Threading.Tasks;

using nng;
using System.IO;

namespace NngBug
{
    class Program
    {
        static void Main(string[] args)
        {
            var path = Path.GetDirectoryName(typeof(Program).Assembly.Location);
            var ctx = new nng.NngLoadContext(path);
            var factory = nng.NngLoadContext.Init(ctx);
            var addr = "tcp://<IP_ADDRESS>:5000";
            using (var repSocket = factory.ReplierOpen().ThenListen(addr).Unwrap())
            using (var reqSocket = factory.RequesterOpen().ThenDial(addr).Unwrap())
            {
                Task.Run(() =>
                {
                    while (true)
                    {
                        // the code block causing the issue
                        using (var msg = factory.CreateMessage())
                        {
                            msg.Append(new byte[100]);
                            reqSocket.SendMsg(msg).Unwrap();
                        }
                        // if I use this instead it works without errors:
                        // reqSocket.Send(new byte[100]).Unwrap();
                        using (var resp = reqSocket.RecvMsg().Unwrap())
                        {
                        }
                    }
                });
                while (true)
                {
                    using (var msg = repSocket.RecvMsg().Unwrap())
                    {
                        repSocket.Send(new byte[100]);
                    }
                }
            }
        }
    }
}

This with a particular version, or HEAD.

It's possibly related to nng_sendmsg semantics where on success NNG takes ownership of the message.  But using will mean it is Dispose'd by the caller- which calls free().
The behaviour of ISocket::SendMsg likely needs to be changed to release ownership of IMessage::NngMsg if the calls succeeds.

That seems to be it.  In Socket.cs change SendMsg to:
public NngResult<Unit> SendMsg(IMessage message, Defines.NngFlag flags = default)
        {
            var res = Unit.OkIfZero(nng_sendmsg(NngSocket, message.NngMsg, flags));
            if (res.IsOk())
            {
                var _ = message.Take();
            }
            return res;
        }

Let me know if that works for you.  I'll need to check if this is needed elsewhere.

I'm using the (then) latest release version through NuGet (1.2.4-rc0).
When I replace this line reqSocket.SendMsg(msg).Unwrap(); with the code below the application doesn't crash anymore.
var r = reqSocket.SendMsg(msg);
if (r.IsOk()) _ = msg.Take();
r.Unwrap();

So yes, your suggested fix does the job :)

Great I'll go ahead and apply this fix.
Sorry about the nuget package. My code signing cert expired in January and I finally got a new one.


Getting an error

Hi,
When I ask "Alexa, ask sonos"
I get "There was a problem with the requested skills response"
In the Lambda logs, I see:
"errorMessage": "onLaunch should be overriden by subclass"
Can someone help me to understand what the problem is?
Also if I ask
Alexa, ask sonos to play ARTIST NAME in the ROOM
Echo responds:
"this command does not work unless you set default line in"
The logs for that are:
2017-01-31T15:40:15.017Z	8ec41070-e7cb-11e6-91de-bb47b0a2912d	{ [AccessDeniedException: User: arn:aws:sts::566400517143:assumed-role/lambda_basic_execution/sonosmainEU is not authorized to perform: dynamodb:ListTables on resource: *]
message: 'User: arn:aws:sts::566400517143:assumed-role/lambda_basic_execution/sonosmainEU is not authorized to perform: dynamodb:ListTables on resource: *',
code: 'AccessDeniedException',
time: Tue Jan 31 2017 15:40:15 GMT+0000 (UTC),
requestId: 'VVTPTL273LN18U8Q5I5POJCPHBVV4KQNSO5AEMVJF66Q9ASUAAJG',
statusCode: 400,
retryable: false,
retryDelay: 0 } 'AccessDeniedException: User: arn:aws:sts::566400517143:assumed-role/lambda_basic_execution/sonosmainEU is not authorized to perform: dynamodb:ListTables on resource: *\n at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:43:27)\n at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20)\n at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\n at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:668:14)\n at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)\n at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)\n at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10\n at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)\n at Request. (/var/runtime/node_modules/aws-sdk/lib/request.js:670:12)\n at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:115:18)'
Thanks in advance.

These are too separate things.
This skill does not currently have an open state, so you can say "Alexa open Sonos" or  "Alexa ask sonos"
"Alexa ask sonos" works if you say the rest of the utterance.
The second issue is it is picking up the PlayInRoomIntent by mistake see other issue
Your log also shows you are not able to connect to dynamoDb which is what the advanced mode uses. I would start by tracking that down or turning advanced mode off.

Thanks.
So I have removed the advanced mode.  Understood that.
I don't understand where I remove the playinroomintent from.  Accoridng to https://github.com/rgraciano/echo-sonos/issues/105, I need to remoive the lineinintent.  I tried this, but then the json was invalid, so I copied and pasted the json again for the intents from ascratch and pasted this back to how it was and now the interaction model errors while saving.
This I don't understand as it is exactly the same as I left it in the first place, why won't it save ?
Bit more confused than when I started on this one.

and now I am trying to revert back to how it was exactly with the utterances and the intents and I get this error
Error: Failed building the interaction model.
I don't understand this as this is exactly the same as it was before any changes.

Ok.
I have sorted out the interaction model problem.
I have removed the LineInIntent and PlayInRoomIntent from the intents schema and the utterances.
When I say:
"Alexa, ask sonos play Glasto 2014 in the Kitchen"
I get an "OK" from Alexa
Nothing plays.
In the logs:
10:45:55
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	session applicationId: amzn1.ask.skill.b3bcec14-ed4c-435c-a297-2171d16127c5
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	session applicationId: amzn1.ask.skill.b3bcec14-ed4c-435c-a297-2171d16127c5

10:45:55
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	dispatch intent = ArtistIntent
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	dispatch intent = ArtistIntent

10:45:55
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	MusicIntent received for room kitchen
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	MusicIntent received for room kitchen

10:45:55
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	Advanced Mode = false
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	Advanced Mode = false

10:45:55
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	Sending HTTP request to: /preset/artist%3Aglasto%202014
2017-02-01T10:45:55.699Z	9bf10f75-e86b-11e6-a1ef-c388d71a867e	Sending HTTP request to: /preset/artist%3Aglasto%202014

10:45:55
END RequestId: 9bf10f75-e86b-11e6-a1ef-c388d71a867e
END RequestId: 9bf10f75-e86b-11e6-a1ef-c388d71a867e

10:45:55
REPORT RequestId: 9bf10f75-e86b-11e6-a1ef-c388d71a867e	Duration: 274.66 ms	Billed Duration: 300 ms Memory Size: 128 MB	Max Memory Used: 27 MB
REPORT RequestId: 9bf10f75-e86b-11e6-a1ef-c388d71a867e	Duration: 274.66 ms	Billed Duration: 300 ms Memory Size: 128 MB	Max Memory Used: 27 MB
Any idea why nothing plays ?

SO it seems like I can control and play controls, which is a step in the right direction.  But asking sonos to play an artist in a room does not work.

I have a feeling this is something to do with it, on the requests when i try and initiate playback the HTTP request is:
Sending HTTP request to: /preset/artist%3AMichael%20Jackson
but on the times when i am trying to do volume up, or in my last try to join the kitchen to the livingroom, the HTTP request is different:
Sending HTTP request to: /kitchen/join/living%20room
I am guessing, the preset part of the top HTTP request is the issue?  Just not sure how to resolve it.

Ok finally got it working, needed to change the default music service with advanced mode set to true and then change it to spotify.  Managed to get it working in the main now.
@pheintzelman thanks so much for your help.  Really appreciate it.

Hey! What are the guide to turn on the advance mode? I think are these:

On echo-sonos-master/lambda/src/options/options.js:28 change the word false to true
repack the 3 files to a zip
upload the new zip

it is ok? and where I have to put to use my spotify account?? I dont find that...
Thanks.

I don't think you need to change the options.js file at all. I would leave that as it is.
If you look at the readme you need to add the advanced mode variable to the lambda function config and follow the steps (again in the readme) for configuring dynamodb.
Once you have done this you'll then be able to change the default music service to Spotify.