Txt file not found

Hello, sorry i dont know very well what happend but i was using stability matrix and the version 1.8.0-RC of Stable difussion Web-UI and got this error.
Can it be that i have to creat a .txt for every lora that i have before launching ?
Thanks for your work!
The log:
Traceback (most recent call last):
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\scripts\helpers\registration_override.py", line 187, in list_items
with open(os.path.join(self.descriptions_path,
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\network_descriptions/Lora/1713909428413834009.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 694, in pages_html
create_html()
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 690, in create_html
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 690, in
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 510, in create_html
self.items = {x["name"]: x for x in self.list_items()}
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 510, in
self.items = {x["name"]: x for x in self.list_items()}
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\scripts\helpers\registration_override.py", line 192, in list_items
with open(os.path.join(self.descriptions_path,
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\network_descriptions/Lora/1713909428413834009.txt'
Traceback (most recent call last):
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\scripts\helpers\registration_override.py", line 187, in list_items
with open(os.path.join(self.descriptions_path,
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\network_descriptions/Lora/1713909428413834009.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 694, in pages_html
create_html()
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 690, in create_html
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 690, in
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 510, in create_html
self.items = {x["name"]: x for x in self.list_items()}
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\modules\ui_extra_networks.py", line 510, in
self.items = {x["name"]: x for x in self.list_items()}
File "D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\scripts\helpers\registration_override.py", line 192, in list_items
with open(os.path.join(self.descriptions_path,
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Prueba\Data\Packages\Stable Diffusion WebUI\extensions\SD-Lora-Tagger\network_descriptions/Lora/1713909428413834009.txt'
Applying attention optimization: xformers... done.
Model loaded in 26.0s (load weights from disk: 4.1s, create model: 0.9s, apply weights to model: 19.1s, load textual inversion embeddings: 0.3s, calculate empty prompt: 1.4s).

Thanks for the report!  Currently, .txt files should be automatically generated for every network you have downloaded so you don't have to manually create them.  I'll take a look at the issue and figure out why this occurred,  For this specific Lora though, do you have it in a sdubdirectory of your "models/Lora" folder?

@dthmax It looks like you're using an old version of the extension, as I remember this issue and we created a patch for it a day or two ago.  I would suggest updating your extension and if this problem persists, please create a new issue with the new error log.  Hopefully this helps!


No qualifying bean of type 'org.springframework.cloud.sleuth.instrument.web.servlet.TracingFilter' available

Describe the bug
After upgrading from spring 2.4.9 to 2.5.4 I started to get No qualifying bean of type 'org.springframework.cloud.sleuth.instrument.web.servlet.TracingFilter' available
It seems that TracingFilter can not be injected anymore.
Sample
@ExtendWith(SpringExtension.class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
class YourControllerIT {

	@Autowired
	private WebApplicationContext context;
	private MockMvc mockMvc;

	@Autowired
	private TracingFilter traceFilter;

	@BeforeAll
	void init() throws IOException, URISyntaxException {
		this.mockMvc = MockMvcBuilders.webAppContextSetup(this.context).apply(springSecurity())
				.addFilters(this.traceFilter)
				.build();
	}
}

Yes, we can't register as a bean anymore because we would register it twice. We're registering it here - https://github.com/spring-cloud/spring-cloud-sleuth/blob/main/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/web/TraceWebServletConfiguration.java#L75-L82 via a FilterRegistrationBean. You can use the factory method to create it yourself https://github.com/spring-cloud/spring-cloud-sleuth/blob/main/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/web/servlet/TracingFilter.java#L46-L48


Drop support for Python 3.6

Codecov Report

Merging #103 (218639e) into master (a11e477) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   98.66%   98.66%
=======================================
  Files           3        3
  Lines          75       75
=======================================
  Hits           74       74
  Misses          1        1

Continue to review full report at Codecov.

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


Training tutorial

Hi, congratulations on the very nice work. I would like to start playing a bit with Clifford layers but I am a bit lost on the training side. Do you think it would be possible to add a small training tutorial that covers one experiment of the first paper for instance ?
Best regards,
Louis

Hi, thanks for your interest. Currently, we have implemented a lot of tests which should be self-explaining, especially those tests which check model forwards. But we are in the process of porting the models into PDEArena (https://microsoft.github.io/pdearena/ ) I hope this helps?

Thank you, I have looked at the tests myself to check how the models and layers work from a coding perspective.
My main blocker for now has been the choice of the correct Clifford Algebra, and its correct use to embed the input channels to the right blades and get the output channels on also the right blades.
To give you a bit of context, I am working on a RANS equation problem, where I have the velocity vector field $(v_x, v_y)$, the pressure field $p$, and the turbulent viscosity $\nu_t$, and I would like to take into account the correlation between these channels, hence the idea of using the Clifford layers.
Thanks for your help !

@LouisSerrano this is a fantastic question - we have thought about similar problems in detail (please look at fluid dynamics experiments in this paper: https://arxiv.org/abs/2302.06594) The layers are already added to this repo, but we are in the middle of updating them and also put the full-scale architectures here: https://microsoft.github.io/pdearena/
I ping you as soon as this is done.

@LouisSerrano   Thank you very much for raising this issue. I have similar concerns. Can we connect? If yes, could you write to me<EMAIL_ADDRESS>

@LouisSerrano @JunaidAkhter Hi, guys. I have the exact same question. Any luck in figuring out how to formulate the input and output data for the usage of clifford layers?

@LouisSerrano this is a fantastic question - we have thought about similar problems in detail (please look at fluid dynamics experiments in this paper: https://arxiv.org/abs/2302.06594) The layers are already added to this repo, but we are in the middle of updating them and also put the full-scale architectures here: https://microsoft.github.io/pdearena/
I ping you as soon as this is done.

Hi @brandstetter-johannes. Big fan of this work and I am interested in using it in my next research project involving CFD surrogate models. However, I didn't find any information about how you feed in the data to the clifford network for the 2D NS equation, or the shallow water equation, or the MaxwellNet3d. The input and output data shape for 2D NS equation described in the test function are: (8,4,128,128,3) and (8,1,128,128,3). I am just guessing you put your 2D NS equation solutions (p,u,v) as the last dimension, which is 3. And the second dimension represents number of timesteps. You used previous 4 timesteps to predict the next 1 step. Other dimensions 8,128,128 are batch, spatial x axis and spatial y axis respectively.  Did i get it right?
Thanks in advance.


[BUG] leave the httpevent outputServers as it is

Describe the bug
hostname will be automatically converted to ip addr in setup() api:
`            self.discovered_servers = []
for host in hosts:
try:
formatted_hostname = socket.gethostbyname(host)
if new_key:
key = create_new_hec_key(formatted_hostname)
except (socket.gaierror, requests.ConnectionError):
self.logger.warning('failed to reach %s, skip...' % host)
continue
except (ValueError, KeyError):
self.logger.warning('failed to setup hec token for %s, skip...' % host)
continue
            self.discovered_servers.append({"protocol": str(protocol), "address": str(formatted_hostname), "port": str(hec_port), "key": str(key)})

`
if i have a dynamic provisioned splunk behind a fixed FQDN, i don't have any workarounds to make it work. Is it possible to leave the host as it is in setup stage?

I am seeing issues reported in this forum discussions: https://forums.aws.amazon.com/message.jspa?messageID=714343. This means in-flight events could be sending to a wrong destination IF the IPs change. I have already experienced this in our labs.


M3-5794: Security Questions component

Description
Adds the security questions component for creating and updating account security questions
Known Bugs

Refreshing the page causes the questions the user has defined on their account to not be shown in the form.
Submitting causes a page crash but successfully sends out the correct PUT request.

How to test

Navigate to the Login and Authentication section of the account page
Enable MSW
Ensure the Security Questions show up as plain text with an Edit button next to them
Ensure the submit button reads 'Update Security Questions' and is disabled
Click on one of the Edit buttons
Ensure that the question text is replaced by a Select and TextField component
Ensure that the previous question text is the default value in the question Select
Ensure that the default value of the answer TextField is the answer from the MSW
Ensure the submit button is still disabled
Click the dropdown for the question Select
Ensure the options for the question Select do not contain the question texts of the other questions
Click an option
Ensure the submit button is now enabled

We need to fix these weird characters

We need to filter each select's options so questions are unique
https://user-images.githubusercontent.com/6440455/174143213-92fbdfda-4f99-4340-9804-82f4817b885f.mov

I don't think this should block the merge, but the text field / button positioning can look kind of strange in some situations:

I'm going to update some logic that changes how we write to the React Query store. Currently when we write, the order changes unexpectedly upon updating the questions


ci: disable concurrency checks to avoid false cancellations

Current dependencies on/for this PR:

main

PR #760   👈

This stack of pull requests is managed by Graphite.


Add ability to trigger Github Test Action Manually

Adds the workflow_dispatch trigger to the Github test action.

This is a nice to have for #40


Support for .clang-format-ignore

I stumbled upon 2 projects using a .clang-format-ignore file.
I'm not sure if there are many tools supporting that, but it could be appropriate for run-clang-format.
Mozilla / gecko-dev:
Pass the file to hg diff --exclude, or parses it manually when using git.

example: https://github.com/mozilla/gecko-dev/blob/15a188107012c425e674aff3a4fbee79fd1bf5f5/.clang-format-ignore
code: https://github.com/mozilla/gecko-dev/blob/2eae45b21475d741879a2a20bb6aff72742356a8/python/mozbuild/mozbuild/code-analysis/mach_commands.py#L1731-L1762

Facebook / yoga
Used by ???

example: https://github.com/facebook/yoga/blob/cc27d851101b962518fac1dfbe0fc82dd893866c/.clang-format-ignore

Closed by #15.


Fix sliders UI

Pull request
Justification
This is for fixing issues on MJ:
https://github.com/chairemobilite/od_mj_2023/issues/275
https://github.com/chairemobilite/od_mj_2023/issues/281
Description
Add space between question and slider
Remove max value and min value
Update cursor
Center current value
Update slider height for something bigger
Screenshots
Before:

After:

Not sure, why I had commit b41ffe3 and commit 3463c70 in this pull request...

You merged instead of rebase on the main branch. Just pull the main branch, then rebase this one on it and you should have only the last commit

C'est bon en ce qui me concerne! svp attendre l'approbation de @kaligrafy avant de merger

nvm il a déjà approuvé...

Okay, I was able to have only the commit that I need (with some help from @tahini).
I will open a new issue on MJ to test the InputRange on many platforms, but there should not be much problems.


Non-/32 IP addresses take up only one IP

In the /ip-addresses view of a prefix, an IP address that isn't /32 occupies one position only.
On the other hand, replacing it with a child prefix (both "container" and "reserved") is worse, since these take up zero slots in the ip-addresses view.
Either non-/32 IP-address objects should not be allowed, or their occupation should be equal to their size. Also, child prefixes optionally occupying space in their parent's /ip-addresses view ("mark as full") would be nice.

You seem to be confusing prefixes and IP addresses. The two are different models in NetBox. An IP address only ever represents a single IP (with its mask), and a prefix only ever represents a network. See the docs for more info.

The difference between them is indeed very clear to me, I've simply defined
some prefixes as container subnets and now I'm filling them with single IP
addresses. My point is another: currently, there is no way to fill the IP
addresses space inside a prefix other than creating many single IPs.
For instance, I have created a /24 container prefix for some LB VIPs. Most
tenants only need a couple /32 vips, but one needs 30 of them: so I
reserved a /27 subnet for it, for the sake of readable routing.
In order to keep things tidy, I'm not very happy to create 30 ip address
objects, I just want to fill that /27 space inside the /24.
At first, I created a 'reserved' /27 child prefix inside the /24. But all
of the ip addresses of the /24 still showed up as available.
Then I created a /27 IP address object belonging to the /24 prefix, but
that occupied 1 IP only, not 32.
This was because I thought that the mask you write down when creating the
IP object represented the size of the object itself, not the mask of the
subnet it belongs to!
What I don't understand, then, is the purpose of the mask for the ip
address object: either it has the same meaning of the mask of its related
prefix, making it somewhat redundant, or maybe it has some other purpose?
The subnet mask of my devices is always the same across the whole L2
segment, why can I choose to assign different masks to IPs belonging to the
same subnet with the same mask? I shouldn't be given that possibility!
I know addresses and prefixes are separate objects but since netbox
correlates the two,
the mask should be a property of the prefix, not of the IP address.
Sorry for the long post, to sum it up:

there should be a way to occupy more space than one IP at a time in the
IP addresses tables, preferably with the creation of "full" prefixes.
there is some redundancy between the masks of the prefix objects and the
masks of the IP address objects.

Il ven 12 ago 2016 21:03 Jeremy Stretch<EMAIL_ADDRESS>ha
scritto:

Closed #465 https://github.com/digitalocean/netbox/issues/465.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/465#event-754397730, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEMcD1SQgCnblZ67SruUTWUJW8ErzWFcks5qfMN8gaJpZM4JjWZT
.

Each IP is an independent object. It wouldn't make sense for one object to represent multiple IPs. It's trivial to import IPs in bulk, and there's another feature request open to allow bulk creation of IPs using range expansion (similar to interfaces).
IP addresses include their prefix length because it's part of the address. You can't configure an IP on an interface without also specifying it's mask, so we make sure to track that data in NetBox as well. You also can't assume that an IP will inherit the prefix length of its parent prefix. For example, you might create a /24 container full of /32 IPs for loopback interfaces.


Failed DNS after rancher update to 2.3.3

question:
Updated rancher from 2.8 to 2.3.3.
Subsequently updated K8S from 1.13.5 to 1.16.3:
Local cluster is still at version 1.13.5.
The original cluster was using kube-dns/external-dns
DNS seems to be broken now. Initially, I had the problem described here and I followed the procedure to remove the error. However, all DNS A records changed to a single IP instead of 5 for the nodes. However, cert-manager within the cluster was unable to update as it was complaining that the node does not exist. Also, pipeline finished but fails to update pods as I think it's still due to DNS:
**Other details that may be helpful:
Some error messages are as follows:
cert-manager:
E0103 14:30:38.894898 1 sync.go:183] cert-manager/controller/challenges "msg"="propagation check failed" "error"="failed to perform self check GET request 'xxxxxxxxxxxxxxxxx/.well-known/acme-challenge/0Q91_n5UZWt_PGr0l4MlO-4u3h-mUZtMT5p4uHnVlnQ': Get http://xxxxxxxxxxxxx/.well-known/acme-challenge/0Q91_n5UZWt_PGr0l4MlO-4u3h-mUZtMT5p4uHnVlnQ: dial tcp: lookup xxxxxxxxxxxxxxxx on <IP_ADDRESS>:53: no such host" "dnsName"="corgis.review-dynamic-styling.apps.wsp-lattice.io" "resource_kind"="Challenge" "resource_name"="corgis-review-dynamic-styling-cert-2844899431-0" "resource_namespace"="p-7lkct-pipeline" "type"="http-01"
I0103 14:30:38.894950 1 base_controller.go:193] cert-manager/controller/challenges "level"=0 "msg"="finished processing work item" "key"="p-7lkct-pipeline/corgis-review-dynamic-styling-cert-2844899431-0"
rancher-external-dns:
time="2020-01-03T14:32:11Z" level=error msg="RequestError: send request failed\ncaused by: Get https://route53.amazonaws.com/2013-04-01/hostedzone: dial tcp: i/o timeout"**
Environment information

Rancher version (rancher/rancher/rancher/server 2.3.3 image tag or shown bottom left in the UI):
Installation option (/HA):

Cluster information

Cluster type (Custom):
Machine type (cloud) and specifications (CPU/memory): aws t3a.large
Kubernetes version (use kubectl version):e.g. kubectl get all

kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.9", GitCommit:"3e4f6a92de5f259ef313ad876bb008897f6a98f0", GitTreeState:"clean", BuildDate:"2019-08-05T09:22:00Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

(paste the output here)

Docker version (use docker version):18.9.6

(paste the output here)

I have snapshots before the updates, which I tried to recover using this to some three new nodes as I didn't want to loose all my configmaps, secrets and PVCs. However, it seems to have only created local cluster and I was not able to access the ui at a new url I defined on the ALB.

I have had to rebuild the whole cluster.


Suggest add shortcuts in quickfix/location window

After search something with \vv, I may want to open one item in quickfix into a new tab.
Could shortcut like t which will open the file in quickfix into a new tab just like what vim-ag does?
Thanks!

@dkprice  Is this project still be maintained? It would be really cool to have the shortcut


docs: add dApp browser migration doc [LIVE-9720]

First pass introducing the dApp browser migration steps and changes
A second rework of this part of the documentation is needed to either remove, change or add to it for the new dApp support in LL

The latest updates on your projects. Learn more about Vercel for Git ↗

Name
Status
Preview
Comments
Updated (UTC)

developer-portal-v2
✅ Ready (Inspect)
Visit Preview
💬 Add feedback
Apr 16, 2024 8:34am

@


Add deltaUrl default setting

This setting will then be used by resin-device-config to set the
deltaEndpoint config.json property.

LGTM :+1:


Gitlab merge labels and parameters

gitopscli creates merge requests in Gitlab without labels and parameters
https://github.com/baloise/gitopscli/blob/master/gitopscli/git_api/gitlab_git_repo_api_adapter.py#L57
I would like to add new parameter for gitopscli  for Gitlab --gitlab-labels
labels in merge request
In documentation Gitlab it looks like
mr = project.mergerequests.create({'source_branch': 'cool_feature',
'target_branch': 'main',
'title': 'merge cool feature',
'labels': ['label1', 'label2']})
and also I can't configure merge  parameters https://github.com/baloise/gitopscli/blob/master/gitopscli/git_api/gitlab_git_repo_api_adapter.py#L62
I would like to add parameter --gitlab-merge-parameters
It can be

"merge_commit_message"
"should_remove_source_branch"
"merge_when_pipeline_succeeds"

for example:
mr.merge(merge_when_pipeline_succeeds=True)
If community is ok with this suggestion, I am ready to create the PR to add this functionality (however I can create and test it only for GItlab)
Links:
[python-gitlab]: https://python-gitlab.readthedocs.io/en/stable/gl_objects/merge_requests.html

@christiansiegel @niiku
What do you guys think?
When I understand it correctly, each of these single params can be activated, is that correct? Otherwise a literal could be an option.
Testing from your side would be great, as we only have test instances for bitbucket and github.

pull request labels
I don't think bitbucket has those, but github does. Maybe make it more generic then: --pr-labels?
PyGithub: https://github.com/PyGithub/PyGithub/blob/master/github/PullRequest.py#L824 (info: All PRs are also issues in the Github API, hence the issue API path)
We could then throw a "not supported" error in the bitbucket adapter if anyone tries to use the labels with it.
merge parameters
This seems gitlab specific enough to add an extra CLI param. Did I understand you correctly that you want to support passing a full json object containing all additional parameters to this single --gitlab-merge-parameters parameter? If yes, this could be done similar to the --values param: https://github.com/baloise/gitopscli/blob/master/gitopscli/cliparser.py#L70


Forecast Timeseries DTOs

CDA implementation of forecast data objects
CWMS-1527

I think it is worth adding the JSON representation of these objects at this point so that we can review the shape (and you can start unit testing the serialization).

Need to figure out why TimeSeriesIdentifierDescriptors fails to deserialize with JsonV2

Need to figure out why TimeSeriesIdentifierDescriptors fails to deserialize with JsonV2, maybe merging latest from master would help, currently I'm 106 commits behind

cwms.cda.data.dto.TimeSeriesIdentifierDescriptors probably isn't the class you want  - that class is a class to do pagination for one of the Controllers.   You probably want to use your own List or Collection of cwms.cda.data.dto.TimeSeriesIdentifierDescriptor.
You'll serialize the cda version, heads-up there is a similar class here:  usace.cwms.db.dao.ifc.ts.TimeSeriesIdentifierDescriptor
Somewhere there is a toDto method if you find yourself needed to convert between the two

I think this is good to squash up commits and merge. Controllers/DAO's can follow in separate PR's.
The controllers can be added without putting in the API Servlet given the DAO's won't be implemented until the schema is a little more ready.

I'm good with that. It's not like we wrote it in stone either. Well, and even if we did we know what water does to stone over time.


APEXCORE-462 Cache the invalid web services info so that yarn requests won't be repeated unnecessarily

@PramodSSImmaneni please review

@davidyan74 is this PR still relevant?


AWS Shared VPC

I would like to know if is possible launch the cluster using a shared VPC as rosa cluster command can do, for example:
rosa create cluster XXXXXX
--shared-vpc-role-arn  XXX
So in theory only I need to send the subnets id and the role that give access to create the resources
Thanks!

Hi @zenobiozz ,
Thank you for reaching out for this
Yes, rosa classic cluster can be created with shared VPC
Make sure to create the shared VPC role with the pre-created DNS base domain, very similar to the way it done in the CLI.
We are working on adding examples and documentation for this scenario, I will update here once we have something ready.
Best regards,
Nir

This feature was released in the last TF version v1.5.0
Closing that issue


Memory Error for large audio files

22 minute audio file
mfcc(signal, samplerate=16000, numcep=26, lowfreq=300, highfreq=4000, appendEnergy=True)
File "/vagrant/dossier/gsapi/memo/features/base.py", line 54, in mfcc
feat,energy = fbank(signal,samplerate,winlen,winstep,nfilt,nfft,lowfreq,highfreq,preemph)
File "/vagrant/dossier/gsapi/memo/features/base.py", line 80, in fbank
frames = sigproc.framesig(signal, winlen_samplerate, winstep_samplerate)
File "/vagrant/dossier/gsapi/memo/features/sigproc.py", line 55, in framesig
return frames*win
MemoryError
I am just calling it in batches for now to avoid this problem but might be something the library should better handle.

Currently handling a memory issue, but how big was the audio file, and how much memory can your computer handle.

Are there any strong reasons why you cannot split this file into smaller files?
How big is your 22 minutes in MB?
Thanks

You can replace the line that ate your RAM:
return frames*win
with
return frames
This multiplication does nothing, just a wast of RAM. No one seems to use this window function. It is called once with only one argument - frame_len which is a parameter to the calling function. So there is no need for this to be a function.

It would be best to make the default value winfunc=lambda frame_len, numframes: 1 and the last lines:
   win = winfunc(frame_len, numframes)
    return frames*win

To use window function in old way you pass winfunc=lambda frame_len, numframes: numpy.tile(numpy.ones(frame_len),(numframes,1))


Add pre-push hook to run RSpec test suite

Add an opt-in hook to run rspec before push.
It would be great to enable live terminal output during the hook run to show progress, but I'm not sure how we would go about that with the current framework.
Also, if individual tests write to stderr, then simply concatenating stdout with stderr doesn't preserve the interleaving and isn't an accurate portrayal of the actual output. Again, not sure how to fix this.

Live streaming of terminal output would be quite the undertaking, especially since we want to move towards parallelized hook runs at some point. The complexity it would introduce would also be something I'd rather not introduce if we don't have to.

True, probably not worth the effort or complexity. And I guess there's really no other way to preserve the order of messages printed to stdout and stderr.
With that in mind, do you think it would be better to show only one or the other, rather than concatenating the two? E.g. if stdout is non-empty, ignore stderr.

I think it depends on the tool. I'm not familiar with when RSpec outputs to stdout versus stderr. I think we should output whatever information is most informative in helping the developer fix the problem.
Thanks for the feature!


istioctl: 1.22.1 -> 1.22.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/istio/istio/releases.
meta.description for istioctl is: Istio configuration command line utility for service operators to debug and diagnose their Istio mesh
meta.homepage for istioctl is: https://istio.io/latest/docs/reference/commands/istioctl
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.22.2 with grep in /nix/store/2dzpjp4n0k8hcrqhxm9x3ygk2c1qym57-istioctl-1.22.2
found 1.22.2 in filename of file in /nix/store/2dzpjp4n0k8hcrqhxm9x3ygk2c1qym57-istioctl-1.22.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

istioctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2dzpjp4n0k8hcrqhxm9x3ygk2c1qym57-istioctl-1.22.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A istioctl https://github.com/r-ryantm/nixpkgs/archive/744b94dc437a011f9589e26a2ccc4cdcf95e6312.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/744b94dc437a011f9589e26a2ccc4cdcf95e6312#istioctl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2dzpjp4n0k8hcrqhxm9x3ygk2c1qym57-istioctl-1.22.2
ls -la /nix/store/2dzpjp4n0k8hcrqhxm9x3ygk2c1qym57-istioctl-1.22.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

istioctl

Maintainer pings
cc @bryanasdev000 @veehaitch for testing.

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

1 package built:

istioctl


❓ How to create frame for scanning QR code?

Question

React native Version: 0.72.7
What I tried
I tried using frame processor but it didn't work
And I tried to calculate the coordinates of the frame to receive the correct QR code but failed!!!
const codeScanner = useCodeScanner({
codeTypes: ['qr', 'ean-13'],
onCodeScanned: (codes: Code[]) => {
const pxDiff = Math.max(PixelRatio.get() - 1, 1);
  const qrCodeX = codes[0]?.frame?.x ?? 0;
  const qrCodeY = codes[0]?.frame?.y ?? 0;

  const qrCodeWidth = codes[0]?.frame?.width ?? 0;
  const qrCodeHeight = codes[0]?.frame?.height ?? 0;

  const isQRCodeInsideOverlay =
    qrCodeX >= PosX &&
    qrCodeY >= PosY &&
    qrCodeX + qrCodeWidth <= widthHole + PosX &&
    qrCodeY + qrCodeHeight <= heightHole + PosY;
  setIsFrame(isQRCodeInsideOverlay);
  if (isScannerActive) {
    scannerQRRef.current = codes.map(itemQR => itemQR.value).toString();
    console.log(`Scanned ${codes.length} codes!\n Data Scanned: ${codes}`);
    console.log(`Scanned ${scannerQRRef.current}`);
    setScannerActive(false);
    if (scannerQRRef.current) {
      makeQRScannerRequest(scannerQRRef.current);
    }
    scannerQRRef.current = null;
  } else {
    setScannerActive(false);
    console.log('Scanner can only be started within the frame area.');
    if (isScannerActive && !isQRCodeInsideOverlay) {
      Alert.alert(
        'ERROR',
        'Scanner can only be started within the frame area.',
      );
    }
  }
},

});

VisionCamera Version
3.6.8
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I use react-native-svg to draw the overlay and pass a scan region argument to the frame processor to crop the image before processing. You can find an example here: https://github.com/tony-xlh/react-native-mrz-scanner/blob/main/src/screens/Scanner.tsx

I tried using regionOfInterest with coordinates taken from frame but it seems regionOfInterest doesn't work

@xulihang @mrousavy After investigating the Android codebase, I couldn't find any part where you handle the regionOfInterest for the CodeScanner

I documented this wrong - regionOfInterest in the built-in CodeScanner only works on iOS. On Android, this is not available. https://github.com/mrousavy/react-native-vision-camera/commit/9ecc09cfe46033aca410891e51058e82ee081b1f
If you want this behaviour on Android, use Frame Processors instead with a custom Frame Processor Plugin for QR code scanning, then crop the Frame before using some Frame Processor Plugin to resize/crop it.

Btw., if you use Frame Processors and need to resize the Frame, I just now released vision-camera-resize-plugin - a plugin to resize Frames to any size and convert them to any RGB layout (RGB, BGR, ARGB, BGRA, ...)! 🥳

Btw., if you use Frame Processors and need to resize the Frame, I just now released vision-camera-resize-plugin - a plugin to resize Frames to any size and convert them to any RGB layout (RGB, BGR, ARGB, BGRA, ...)! 🥳

Which is type of resized? is it frame?


Small issues with the project

First of all, thank you for the project.
I wanted to test it out, but i had to install swiftformat since you use it, but you did not mention that.
Second, meshWithClassification works only on iPhones and iPads that have LiDAR. It will crash on unsupported devices.
A simple
guard ARWorldTrackingConfiguration.supportsSceneReconstruction(.meshWithClassification)             else {                 print("meshWithClassification isn't supported here.")                 return             }
in viewWillAppear would do the trick and prevent the app from crashing on unsupported devices :)

Thanks for trying this gizmo. 😄

I didn't use swiftformat, not sure why it is required for you.
Advice taken and added the code 3d6dc00

Have a look here :)

I don't even have that section 🤔

very weird. i don't know what to say


Background color doesn't print in some browsers

Setting the background color seems to set the generated SVG's CSS style to a specific background color, but CSS backgrounds do not print by default in a lot of browsers. Can a rect element be created instead with a fill of the specified background color?

If this is the case I will absolutely change it. Could you please list some browsers where this is the case?

I can confirm this is an issue with the latest Firefox, Chrome and Edge on Windows 10. It can be fixed in Chrome (and presumably Safari) with the -webkit-print-color-adjust:exact style, which will print everything as it appears on screen.
Attached are some screenshots of this behaviour.

Oh, when you wrote "print" you meant actually printing it to paper (not printing (drawing) to screen). I can see the same problem and will fix it tomorrow.

Release v3.5.6 should fix the problem.

Thanks Lindell, it's a great project!


Coin tests fail when input files have Windows CR/LF line endings

Three of the tests fail, when input files have Windows CR/LF line endings. This happened to me because I inadvertently used the git config option autocrlf = true.

Fixed with pr #381


Unable to deploy K8s Service and Endpoints with same name with Helm 3 Chart

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Create a Helm 3 chart with a K8s YAML file name external-services.yml with following code:
`apiVersion: v1
kind: Service
metadata:
name: external-service
spec:
ports:

port: 80
targetPort: 8080

kind: Endpoints
apiVersion: v1
metadata:
name: external-service
subsets:

addresses:

ip: <IP_ADDRESS>
ports:
port: 8080
`

Result:
Error message "Failed to install app novas. Error: endpoints "external-service" already exists"
Other details that may be helpful:
All K8s examples tie the Service and Endpoints using same name.  I'm able to deploy without issue using kubctl:
kubectl apply -f external-service.yml
Environment information

Rancher 2.4.5 in single install
k3s Cluster

I noticed I didn't add these details in my ticket #27039 (mostly about the error returned), but these seems to be the same error that we got with our services without selectors :/. Hopefully we'll have some feedback in this ticket..

Right now. If you create a service, Rancher will automatically create an endpoint. This is fine a vast majority of the time, but it breaks the use case of creating an endpoint to point to an external service.
To recreate, create a chart with the following template. If you pass endpoint: true and service: true (to create both), you'll be greeted with an error stating that the endpoint already exists.
It will also add it's own io.cattle.field/appId label/selector which may be part of the problem.
{{ if .Values.endpoint }}
---
kind: Endpoints
apiVersion: v1
metadata:
  name: external-service
  labels:
    some: label
subsets:
- addresses:
  - ip: <IP_ADDRESS>
  ports:
  - port: 8080
{{ end }}
{{ if .Values.service }}
---
apiVersion: v1
kind: Service
metadata:
  name: external-service
spec:
  selector:
    some: label
  ports:
  - port: 80
    targetPort: 8080
{{ end }}


Battery Status

Hi there!
is there a way to get the current battery capacity (in %)?

The list of values can be found here : https://github.com/jgriss/FusionSolarPy . I don't see it there, so I suppose not.
Given you have the source code available, you can consider looking into how difficult it may be.
If this answers the question please close the issue, thank you.

@markuspirke In case you haven't figured it out yet, FusionSolarPy now also supports battery metrics with v0.0.15


Array where value is null

Issue type
I'm submitting a (check one):
[x] Bug report
[ ] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[x] Support request
[ ] Documentation issue or request
Prerequisites
Before posting, make sure you do the following (check all):
[x] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
[x] Search GitHub for a similar issue or PR
[ ] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues
Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.
Current behavior
I have a array of objects in my schema ... and when it loads with null i get the following error:
Cannot read property 'forEach' of null
Expected behavior
Should not error and fully load.
IMPORTANT: How can we reproduce your problem?
I cant quite get the demo site to produce the same error (but could but that it is not loading with the null).  But here is am example of what i think should cause the error.
{
  "schema": {
    "type": "object",
    "properties": {
      "first_name": { "type": "string" },
      "phone_numbers": {
        "type": "array",
        "items": {
          "type": "object",
          "title": "phone",
          "properties": {
            "number": { "type": "number" }
          }
        }
      }
    }
  },
  "data": {
    "first_name": "Jane",
    "phone_numbers": null
  }
}

Any other relevant information
If this is not a bug is there any advice on how to not get it to error?

I have modified @tmburnell 's solution a bit. In case array contains null or undefined value eg.
phone_numbers: [null, {....some_properties}]
Here's modified solution:

function nullDrop(obj) {

  if (Array.isArray(obj)) {
    obj = obj.filter((item) => !isNull(item) && !isUndefined(item))
      .map(nullDrop);
  } else if (isObject(obj)) {
    Object.keys(obj).forEach(key => {
      const val = nullDrop(obj[key]);

      if (isNull(val)) {
        delete obj[key];
      } else {
        obj[key] = val;
      }
    });
  }

  return obj;
}

function isObject(value) {
  return !!(value && typeof(value) === 'object');
}

function isNull(value) {
  return value == null;
}

function isUndefined(value) {
  return value === undefined;
}

problem is here:
    FormGroup.prototype.patchValue = function (value, options) {
        var _this = this;
        if (options === void 0) { options = {}; }
        Object.keys(value).forEach(function (name) {
            if (_this.controls[name]) {
                _this.controls[name].patchValue(value[name], { onlySelf: true, emitEvent: options.emitEvent });
            }
        });
        this.updateValueAndValidity(options);
    };

because this function assumes that value is object, not null. There isn't any typecheck before Object.keys(value) is called.


Open dropdown programmatically

I'm building a shopping-cart with the foundation dropdown so i need a way to open the dropdown programmatically.
Is there any way?
I tried this:
$(document).foundation('dropdown', 'open', ($('#top-bar-cart'), $('.top-bar-cart-link'));
And this:
Foundation.libs.dropdown.open($('#top-bar-cart'), $('.top-bar-cart-link'));
But i think the second parameter should be something else,
Could someone help me?
Thanks!

After some looking i found that my problem was somewhere else.
This works fine:
Foundation.libs.dropdown.open($('#top-bar-cart'), $('.top-bar-cart-link'));
check here for more info: https://stackoverflow.com/questions/29153050/open-foundation-zurb-dropdown-programmatically

Strange that there isn't a better way.


Feature/core plugins

We need access to plugins that ship with punchcard as well as ones used locally.

Resolves #96
DCO 1.1 Signed-off-by: Scott Nath<EMAIL_ADDRESS>

This PR as it stands doesn't resolve the underlying issue in #96, which is being able to have 2 tiers of config both touch the content.plugins.directory config. There is a way to set up sub-module configuration which would resolve the particular issue for Punchcard, but would make Punchcard potentially brittle.
Options:

Use Sub Module Configuration for the config module, and treat this PR as a just cleanup PR for loading in directories
Use this PR (or close this/open a new one) that changes how Content Types gets configured, adding in a local config option on top of the config option, or removing the global alltogether

@Snugug made changes to https://github.com/punchcard-cms/content-types/issues/96 to match this PR. Basically a cleanup/functional change for content types.

FWIW stories shouldn't be updated to match a PR

Waiting on #96 being rewritten in a way that is user-centric

#96 was re-written. This PR may not be needed. After https://github.com/punchcard-cms/content-types/pull/99 is merged, we may be able to just close this.

Is this now deprecated?

@Snugug yeah...lets let this go


file_get_contents(): SSL operation failed with code 5. OpenSSL Error - Laravel octane

What happened?
While using file_get_contents() to fetch an https url, I'm getting the following error
file_get_contents(): SSL operation failed with code 5. OpenSSL Error messages: error:80000002:system library::No such file or directory error:80000002:system library::No such file or directory error:80000002:system library::No such file or directory error:0A000086:SSL routines::certificate verify failed
I'm using Laravel Octane and I'm able to fetch https URL using file_get_contents() using PHP cli
Build Type
Standalone binary
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Interesting thing phpinfo() doesn't return anything on the server.

Relevant log output
file_get_contents(): SSL operation failed with code 5. OpenSSL Error messages:
error:80000002:system library::No such file or directory
error:80000002:system library::No such file or directory
error:80000002:system library::No such file or directory
error:0A000086:SSL routines::certificate verify failed

Duplicate of https://github.com/dunglas/frankenphp/issues/582.


copy images results in ePerm error for build.dev

adding *.jpg, *.png to /app causes build to fail.
in reading through tickets, tried to include images in various folders as indicated; build fails with a message about unable to open.
Expected/desired behavior
image files are copied to same relative location in dist/dev|prod folder

How does the build fail?

npm start
copy using windows explorer to move the files to /apps/img

initially everything appears to work.

stop and run npm start again
observe error:
occurs on different files when run regardless of type (jpg|png)

npm-debug.log.txt
console:

<EMAIL_ADDRESS>start d:\data\dev\angular2-seed\client
gulp serve.dev --color --config-env dev

[09:09:59] Requiring external module ts-node/register
[09:10:00] Loading tasks folder d:\data\dev\angular2-seed\client\tools\tasks\seed
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.assets.dev
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.assets.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.bundles.app
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.bundles
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.docs
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.html_css
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.index.dev
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.index.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.js.dev
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.js.e2e
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.js.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.js.test
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\build.js.tools
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\check.versions
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\clean.all
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\clean.coverage
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\clean.dev
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\clean.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\clean.tools
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\copy.js.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\css-lint
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\e2e
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\generate.manifest
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\karma.start
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\serve.coverage
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\serve.docs
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\server.prod
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\server.start
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\tslint
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\watch.dev
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\watch.e2e
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\watch.test
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\seed\webdriver
[09:10:00] Loading tasks folder d:\data\dev\angular2-seed\client\tools\tasks\project
[09:10:00] Registering task d:\data\dev\angular2-seed\client\tools\tasks\project\sample.task
[09:10:00] Using gulpfile d:\data\dev\angular2-seed\client\gulpfile.ts
[09:10:00] Starting 'serve.dev'...
[09:10:00] Starting 'build.dev'...
[09:10:00] Starting 'build.assets.dev'...
[09:10:00] 'build.assets.dev' errored after 111 ms
[09:10:00] Error: EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
at Error (native)
[09:10:00] 'serve.dev' errored after 118 ms
[09:10:00] Error in plugin 'run-sequence(build.assets.dev)'
Message:
EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
Details:
errno: -4048
code: EPERM
syscall: open
path: d:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png
Stack:
Error: EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
at Error (native)
[09:10:00] 'build.dev' errored after 121 ms
[09:10:00] Error in plugin 'run-sequence(serve.dev)'
Message:
EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
Details:
errno: -4048
code: EPERM
syscall: open
path: d:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png
Stack:
Error: EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
at Error (native)
[09:10:00] 'build.dev' errored after 124 ms
[09:10:00] Error in plugin 'run-sequence(build.assets.dev)'
Message:
EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
Details:
errno: -4048
code: EPERM
syscall: open
path: d:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png
Stack:
Error: EPERM: operation not permitted, open 'd:\data\dev\angular2-seed\client\dist\dev\assets\img\colorHigh.png'
at Error (native)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "sta
rt"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: gulp serve.dev --color --config-env dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'gulp serve.dev --color --config-env dev'.
npm ERR! This is most likely a problem with the angular2-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp serve.dev --color --config-env dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls angular2-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     d:\data\dev\angular2-seed\client\npm-debug.log

root cause:
1. clean.dev is commented initially in build.dev
2. coder was up too late and needed rest .then(coffee)
perhaps clean.dev should not be commented initially, or a more friendly error message somehow?  This seems like it will become a common issue that would be perceived as an error as the seed is adopted.
// --------------
// Build dev.
gulp.task('build.dev', (done: any) =>
runSequence(//'clean.dev',
//              'tslint',
//              'css-lint',
'build.assets.dev',
'build.html_css',
'build.js.dev',
'build.index.dev',
done));
tslint, css-lint makes potential sense to have commented; maybe clean.dev should be uncommented by default.
that resolves my issue, though it could be a problem in a different or larger project than mine. I'll let you determine whether to close.
Thanks!

Yes, the dist/dev directory gets cleaned each time you change any of the watched fines in app. You need to add a gulp task which copies the resources you need.

um, negative.  currently, by default, it does NOT get cleaned.  I had to uncomment the clean statement. As is, the build correctly copied the files once the clean statement was uncommented.


Skip TDBuild artifact upload

Description
Skipping the artifact upload step when using the TDBuild client.
Motivation and Context
Touchdown team is removing support for artifact upload via TDBuild client. Disabling this step as per their instructions to keep the pipeline running. Moving to a different method of artifact upload is upcoming in a second PR.

/azp run


yq: command not found

Describe the bug
yq: command not found.  Did not see this as a pre-req. Install the yq libraries, and re-ran ./setupInfrastructure.sh.
To Reproduce
Steps to reproduce the behavior:

run ./setupInfrastructure.sh
It's the last few lines that execute yq commands

Expected behavior
Finishes normally.
Environment
1.11.7-gke.4

Hi Colin,
do you recall which revision of the keptn repo you checked out before encountering this issue? Did you check out the 0.1 release, or the master branch?

Master branch at the time. Deployed it on a fresh Kubernetes cluster.

Ok, thanks for clarifying. The prerequisites will be extended in the documentation for the 0.2 release, since 0.1 does not require yq to be installed

Closing this for now, since it will be delivered in the 0.2 release


boards: st: st25dv_mb1283_disco: add mb1283 board

ST25DV discovery kit, including an LCD color screen. ST25DV support not included.

Hi @everedero, can you please test samples/modules/lvgl/demos & samples/drivers/display as well, if you haven't already, & confirm that they work correctly? Thanks!

samples/drivers/display work out of the box without any overlay, should I add a configuration file or something?

I added overlay and conf files to lvgl samples, music player works despite being very slow.

Also, I will open a ticket because the "zephyr,lvgl-keypad-input" driver makes the lvgl sample compilation fail. In the meantime, I will leave it out of the overlay file in lvgl samples, if that's OK with you - afaik these samples do not use lvgl-keypad-input.

should I add a configuration file or something?

No.

I added overlay and conf files to lvgl samples, music player works despite being very slow.

Great, thanks!

will leave it out of the overlay file in lvgl samples, if that's OK with you

Yes no problem


Make DecodedJWT serializable

Description
I was about to pass the DecodedJWT to a subclass of the Serializable Spring Authentication (via AbstractAuthenticationToken), but then noticed it is not serializable.
Making DecodedJWT implement serializable would be helpful.
Reproduction
The storage field must be marked as transient to pass code quality checks.
Environment
Latest version.

Hi @skjolber, I think this is a reasonable request and use case; we will look into adding serialization support to DecodedJWT.

@skjolber Serialization added in PR #370. I verified it is able to serialize it as a field in a Spring Authentication subclass, but if you'd like to try and verify as well please feel free to. We'll target getting this merged next week unless you have feedback sooner. Thanks!

@jimmyjames thanks, the PR looks good to me.

Fixed by #370, available in version 3.9.0.

Hi all,
Thanks a lot for this fix @jimmyjames!
I was wondering if it's possible to mark the DecodedJWT itself as serializable as such:
public interface DecodedJWT extends Payload, Header, Serializable
This would be nice as the DecodedJWT is the public facing entity being scanned by code quality systems (SonarQube in our case). I still get the following warning on version 3.10.1: "Make "jwt" transient or serializable." Other than that, I feel a DecodedJWT should always be serializable, even if more classes implement the interface.
Thanks in advance!


#4307 intro

SwapReads.webm
Related Issue
added an intro video feature before homepage loads
Fixes:  #4307
Description
made changes in index.html and added intro.mp4 file
Type of PR

[ x] Feature enhancement

Checklist:

[x ] I have made this change from my own.

[x ] My code follows the style guidelines of this project.

[ x] I have performed a self-review of my own code.

[ x] I have commented my code, particularly in hard-to-understand areas.

[x ] My changes generate no new warnings.

[ x] I have tested the changes thoroughly before submitting this pull request.

[x ] I have provided relevant issue numbers and screenshots after making the changes.

i have reverted ur changes .
there was horizontal overflow in the website , due to ur changes .
fi the bug and again raise pr .

chk once deploy preview .

@abhi03ruchi  circling back  through all the changes ive made...none of them have changed anything from the main homepage...ive not added the horizontal overlay scrollbar ...my issue and pull request relates only to intro before the main homepage...so my code doesnt affect it i think..its a bug perhaps by sm other contributer ...which i did tried to solve....although im a first time contributor if so kindly tell me which part of code raises the issue  thankyou


tre: add MATESA support

Implement MATESA TRE, per STDI-0002 Appendix K.
See https://nsgreg.nga.mil/doc/view?i=5516 for a sample of this.

Closing in favour of #497 which on the integration branch


CC-16937: Fixed config marketplace payment endpoint

Developer(s): @michbeck

Ticket: https://spryker.atlassian.net/browse/CC-16937

Release Group: https://release.spryker.com/release-groups/view/4294

PR Overview: https://release.spryker.com/release/pull-request-eco/UnzerApi/17

merge: squash

Release Table

Module
Release Type
Constraint Updates

UnzerApi
patch {skip}

The change in the composer.json looks like a patch release type since external tests will rely on requiring the concrete version of spryker-eco/unzer-api.

Change in composer.json was reverted. Please check again.


I can't communicate with alexa through the home assistant

Hi, I'm desperate..
one of the things I like the most about HA is the integration of the alexa media player to be able to communicate and send text messages, to then be produced on my echo dot and unfortunately I never managed to do it and I've done a little bit of everything... from uninstalling hacs , the integration of the alexa media player..I even deleted some accounts I had from amazon and made a new one at amazon.es and configured my " alexa " with that same account, hoping to solve it...but nothing and I don't understand why , even because I'm very new in this world of HA!
can anyone help me??
thanks in advance.
the error is this: This error originated from a custom integration.
Logger: alexapy.alexlogin
Source: custom_components/alexa_media/init.py:322
Integration: Alexa Media Player (documentation, issues)
First occurred: 11:42:37 (1 occurrences)
Last logged: 11:42:37
Domain amazon.es does not match reported account domain https://www.amazon.com; functionality is not likely to work, please fix

Login to amazon.es instead of amazon.com

Faça login em amazon.es em vez de amazon.com

yes that was enough...thanks a lot, which for some is basic, for those who have been in this world for a short time is difficult!


Invalid C# code created for patch endpoint

Describe the issue or request
Rest client generated for patch endpoint generates code with few issues in case is 'payload-flattening-threshold' is set to 3
Rest client generated will contain code below:
internal HttpMessage CreatePatchCallingConfigurationRequest(/* reducted */ IEnumerable<TrunkConfig> onlinePstnGateways, /* reducted */)
        {
            /* reducted */
            AcsResourceCallingConfiguration acsResourceCallingConfiguration = new AcsResourceCallingConfiguration();
            foreach (var value in onlinePstnGateways)
            {
                acsResourceCallingConfiguration.OnlinePstnGateways.Add(value);
            }
            /* reducted */
        }

        public async Task<Response> PatchCallingConfigurationAsync(/* reducted */IEnumerable<TrunkConfig> onlinePstnGateways = null,/* reducted */)
        {
            using var message = CreatePatchCallingConfigurationRequest(defaultCallerIdNumber, onlinePstnGateways, onlinePstnRoutingSettings);
            /* reducted */
        }

There are few issues with this code:

Message creation method does not contain null validations while public method has null as a default value for each field;
Message creation method instantiating model with default constructor and then fills collection values. In that cats collection values which are of type ChangeTrackingList will never generate empty or null valued properties for those collections. So that, having PATCH behavior, it is not possible to reset/clear value for such a field in model;
Same issue applies to non-collection types, for example string node which represents a phone number. Empty string is not a valid input as it is invalid phone number, but null will result with missing property in result json

swagger.json
{
  "swagger": "2.0",
  "info": {
    "title": "Calling Configuration Service",
    "description": "Calling Configuration Service",
    "contact": {
      "email"<EMAIL_ADDRESS>    },
    "version": "2021-05-01-preview1"
  },
  "paths": {
    "/administration/callingconfiguration": {
      "get": {
        "tags": [
          "CallingConfiguration"
        ],
        "summary": "Get current calling configuration for resource.",
        "operationId": "GetCallingConfiguration",
        "produces": [
          "text/plain",
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/ApiVersionParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Ok.",
            "schema": {
              "$ref": "#/definitions/AcsResourceCallingConfiguration"
            }
          },
          "default": {
            "description": "Failure",
            "schema": {
              "$ref": "#/definitions/ErrorResponse"
            }
          }
        },
        "x-ms-examples": {
          "Get calling configuration for resource": {
            "$ref": "./examples/GetCallingConfigurationAsync.json"
          }
        }
      },
      "patch": {
        "tags": [
          "CallingConfiguration"
        ],
        "summary": "Patch calling configuration for resource.",
        "operationId": "PatchCallingConfiguration",
        "consumes": [
          "application/json-patch+json",
          "application/json",
          "text/json",
          "application/*+json"
        ],
        "produces": [
          "text/plain",
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "in": "body",
            "name": "body",
            "description": "Configuration patch.",
            "schema": {
              "$ref": "#/definitions/AcsResourceCallingConfiguration"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok."
          },
          "default": {
            "description": "Failure",
            "schema": {
              "$ref": "#/definitions/ErrorResponse"
            }
          },
          "400": {
            "description": "If the request is null, or if route's gateway list refers to an unexisting gateway."
          },
          "500": {
            "description": "All other api errors."
          }
        },
        "x-ms-examples": {
          "Patch calling configuration for resource": {
            "$ref": "./examples/PatchCallingConfigurationAsync.json"
          }
        }
      }
    }
  },
  "definitions": {
    "TrunkConfig": {
      "description": "Represents a PSTN gateway config for a SIP trunk interface.",
      "type": "object",
      "properties": {
        "fqdn": {
          "description": "Gets or sets Fully Qualified Domain Name of the gateway used as an identifier in online route settings.",
          "type": "string"
        },
        "sipSignalingPort": {
          "format": "int32",
          "description": "Gets or sets SIP signaling port for the gateway.",
          "type": "integer"
        }
      }
    },
    "OnlineRoute": {
      "description": "Represents an online route for calls routing into PSTN gateways.",
      "type": "object",
      "properties": {
        "description": {
          "description": "Gets or sets description of the route.",
          "type": "string"
        },
        "name": {
          "description": "Gets or sets name of the route.",
          "type": "string"
        },
        "numberPattern": {
          "description": "Gets or sets regex number pattern for calls filtering. I.e. ^\\\\+?\\\\d+$.",
          "type": "string"
        },
        "onlinePstnGatewayList": {
          "description": "Gets or sets list of online PSTN gateways for trafic routing. Gateways are represented as their fqdn.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AcsResourceCallingConfiguration": {
      "description": "Represents an ACS calling configuration. Calling configuration describes how to route calls via online routes into SIP trunk gateways.",
      "type": "object",
      "properties": {
        "defaultCallerIdNumber": {
          "description": "The default caller number displayed to the callee.",
          "type": "string"
        },
        "onlinePstnGateways": {
          "description": "The PSTN gateways config for SIP trunk interface.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/TrunkConfig"
          }
        },
        "onlinePstnRoutingSettings": {
          "description": "The online routes settings for call routing into the PSTN gateways.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/OnlineRoute"
          }
        }
      }
    },
    "ErrorBody": {
      "description": "Represents a service error response body.",
      "type": "object",
      "properties": {
        "code": {
          "description": "The error code in the error response.",
          "type": "string"
        },
        "message": {
          "description": "The error message in the error response.",
          "type": "string"
        }
      }
    },
    "ErrorResponse": {
      "description": "Represents a service error response.",
      "type": "object",
      "properties": {
        "error": {
          "$ref": "#/definitions/ErrorBody"
        }
      }
    }
  },
  "parameters": {
    "ApiVersionParameter": {
      "in": "query",
      "name": "api-version",
      "description": "Version of API to invoke",
      "required": true,
      "type": "string"
    },
    "Endpoint": {
      "in": "path",
      "name": "endpoint",
      "description": "The communication resource, for example https://resourcename.communication.azure.com",
      "required": true,
      "type": "string",
      "x-ms-skip-url-encoding": true,
      "x-ms-parameter-location": "client"
    }
  },
  "securityDefinitions": {
    "azure_auth": {
      "type": "oauth2",
      "flow": "implicit",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
      "scopes": {
        "user_impersonation": "impersonate your user account"
      },
      "description": "Azure Active Directory OAuth2 Flow"
    }
  },
  "x-ms-parameterized-host": {
    "hostTemplate": "{endpoint}",
    "useSchemePrefix": false,
    "parameters": [
      {
        "$ref": "#/parameters/Endpoint"
      }
    ]
  }
}

Describe your ideas for solutions
Possible solutions:

model be generated with nullable (or other wrapper) around each field in patch endpoint which is flattened;
each field should have sibling property (e.g. c# bool Is<propertyName>Set{get;set;})
Those changes should be respected during serialization/creation of the model.

** Workaround **
Workaround right now is to not use flattening

It seems that when a model with an array property is flattened, if the array is empty it will not get serialized (instead of an empty array in the json request, it would be treated as null, aka. not be present).
I see the same problem here as well:
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/communication/Azure.Communication.Identity/src/Generated/CommunicationIdentityRestClient.cs#L62
For json merge patch it becomes critical like the example that @vamoskal showed as we cannot empty an array member.
@pakrym do you know if there is a better way to mitigate instead of stop flattening?

@christothes @ShivangiReja

I'm going to redefine this as just the incorrect generated code (null check), and https://github.com/Azure/autorest.csharp/issues/1202 as the start of actual patch support.


No Events Show Up When Running Server

Environment

Elixir version (elixir -v): 1.5.1
Erlang/OTP version (erl): Erlang/OTP 20 [erts-9.0.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Sentry version (mix deps): 6.0.3
Operating system: macOS 10.13.1

Description
Full diff of changes to add sentry to my project:
diff --git a/config/config.exs b/config/config.exs
index ac0d6bf..3250b5c 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -32,6 +32,13 @@ config :api_tournament, :sendgrid,
   signup_template: "2b592f2e-7928-41eb-b0c3-a7ca76bcddee",
   changed_template: "e683d87d-0e7e-437b-bad5-ab9913c9676d"

+config :sentry, dsn<EMAIL_ADDRESS>+   included_environments: [:prod, :dev],
+   enable_source_code_context: true,
+   root_source_code_path: File.cwd!,
+   in_app_module_whitelist: [APITournament],
+   environment_name: Mix.env
+
 # Import environment specific config. This must remain at the bottom
 # of this file so it overrides the configuration defined above.
 import_config "#{Mix.env}.exs"
diff --git a/lib/application.ex b/lib/application.ex
index 8076c3d..7117978 100644
--- a/lib/application.ex
+++ b/lib/application.ex
@@ -37,6 +37,7 @@ defmodule APITournament.Application do
     # See https://hexdocs.pm/elixir/Supervisor.html
     # for other strategies and supported options
     opts = [strategy: :one_for_one, name: APITournament.Supervisor]
+    :ok = :error_logger.add_report_handler(Sentry.Logger)
     Supervisor.start_link(children, opts)
   end

diff --git a/lib/endpoint.ex b/lib/endpoint.ex
index 765d93d..4db57e4 100644
--- a/lib/endpoint.ex
+++ b/lib/endpoint.ex
@@ -8,6 +8,8 @@ defmodule APITournament.Endpoint do
   """
   use Phoenix.Endpoint, otp_app: :api_tournament
   use Absinthe.Phoenix.Endpoint
+  use Plug.ErrorHandler
+  use Sentry.Plug

   socket "/sock", APITournament.MainSocket

diff --git a/mix.exs b/mix.exs
index 8c2e04c..05fca95 100644
--- a/mix.exs
+++ b/mix.exs
@@ -28,7 +28,11 @@ defmodule APITournament.Mixfile do
   def application do
     [
       mod: {APITournament.Application, []},
-      extra_applications: [:logger, :runtime_tools, :cloud_watch, :ex_aws],
+      extra_applications: [:sentry,
+                           :logger,
+                           :runtime_tools,
+                           :cloud_watch,
+                           :ex_aws],
       included_applications: [:qrcode],
     ]
   end
@@ -80,6 +84,7 @@ defmodule APITournament.Mixfile do
       {:nimble_csv,       "~> 0.3"},
       {:math,             "~> 0.3"},
       {:cors_plug,        "~> 1.2"},
+      {:sentry,           "~> 6.0.0"},
     ]
   end

diff --git a/mix.lock b/mix.lock
index 23d0bbb..24f2d2c 100644
--- a/mix.lock
+++ b/mix.lock
@@ -54,6 +54,7 @@
   "qrcode": {:git, "https://github.com/numerai/qrcode", "55192958b08692fdb9444c47e66a6985f3217fb1", [ref: "5519295"]},
   "ranch": {:hex, :ranch, "1.3.2", "e4965a144dc9fbe70e5c077c65e73c57165416a901bd02ea899cfd95aa890986", [:rebar3], [], "hexpm"},
   "sendgrid": {:hex, :sendgrid, "1.7.0", "a1c31fed719483b202d91ec7c8a5db79e1104dae04cb40e0c5dfe0bc53a0abeb", [], [{:httpoison, ">= 0.11.0", [hex: :httpoison, repo: "hexpm", optional: false]}, {:poison, ">= 2.0.0 or >= 3.0.0", [hex: :poison, repo: "hexpm", optional: false]}], "hexpm"},
+  "sentry": {:hex, :sentry, "6.0.3", "e83f21901008a6c76ff81cc696a053fbd1d6a12600050d3e61928c7945b3621e", [], [{:hackney, "~> 1.8 or 1.6.5", [hex: :hackney, repo: "hexpm", optional: false]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}, {:poison, "~> 1.5 or ~> 2.0 or ~> 3.0", [hex: :poison, repo: "hexpm", optional: false]}, {:uuid, "~> 1.0", [hex: :uuid, repo: "hexpm", optional: false]}], "hexpm"},
   "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], [], "hexpm"},
   "sweet_xml": {:hex, :sweet_xml, "0.6.5", "dd9cde443212b505d1b5f9758feb2000e66a14d3c449f04c572f3048c66e6697", [], [], "hexpm"},
   "timex": {:hex, :timex, "3.1.24", "d198ae9783ac807721cca0c5535384ebdf99da4976be8cefb9665a9262a1e9e3", [:mix], [{:combine, "~> 0.7", [hex: :combine, repo: "hexpm", optional: false]}, {:gettext, "~> 0.10", [hex: :gettext, repo: "hexpm", optional: false]}, {:tzdata, "~> 0.1.8 or ~> 0.5", [hex: :tzdata, repo: "hexpm", optional: false]}], "hexpm"},

PUBLIC, SECRET, and PORT are filled in with the correct values on my end and running MIX_ENV=dev mix sentry.send_test_event successfully causes an issue to show up in sentry.io.  However, when I run my server with mix phx.server and cause an error with raise "Sentry Test Error 12345" in one of my endpoints, nothing appears on sentry.io.  I'm doing all of this testing locally on my Mac in the dev environment.

Thanks for opening this!
Everything does look correct.  Can you gist the endpoint or route?

We don't have a router.  We have a single / GraphQL endpoint that receives all requests.  I've created a secret gist with our full endpoint.ex and sent the link to Kelly.  Let me know where to contact you directly if that will be easier.

@xanderdunn I'm not able to reproduce it locally from the gist. The config and code where you cause the error could help narrow it down as well. A full repo where I can test myself would be ideal, but I understand if that is difficult.
I can be contacted directly in the Elixir Slack (@mitchellhenke) if that is easier 🙂

Hi @mitchellhenke, I'm having issues getting the Sentry error logger to send too.
I've put together a repo reproducing our scenario: https://github.com/amencarini/sentry-test
You can reproduce by doing:
curl -X "OPTIONS" "http://localhost:4000/" \
     -H 'Access-Control-Request-Method: POST' \
     -H 'Origin: any'

Happens on elixir 1.5.1 and 1.6.0-dev. The mix sentry.send_test_event reports correctly.

If that helps, I tried to debug the situation a bit and it seems that this function head (lib/sentry/logger.ex:49) is never hit
def handle_event({:error_report, _gl, {_pid, _type, [message | _]}}, state) when is_list(message) do

@amencarini thank you for the repo! I will take a look.

Got a bit delayed, but planning on looking into this tomorrow.

Thanks for the update 😃

@amencarini apologies ahead of time as this is a part of Phoenix I'm not super knowledgable on.
The Corsica plug being in the Endpoint instead of the Router means the error gets caught here: https://github.com/phoenixframework/phoenix/blob/8b8e11305079413fa8b3ace36d9871c0e4e63f7c/lib/phoenix/endpoint.ex#L691-L702
      def call(conn, opts) do
        conn = put_in conn.secret_key_base, config(:secret_key_base)
        conn = put_in conn.script_name, script_name()
        conn = Plug.Conn.put_private(conn, :phoenix_endpoint, __MODULE__)

        try do
          super(conn, opts)
        catch
          kind, reason ->
            Phoenix.Endpoint.RenderErrors.__catch__(conn, kind, reason, @phoenix_render_errors)
        end
      end

I will have to do some research on how we can handle this.

I see. Thanks for trying that out! We'll see if we can handle the situation differently.

It's definitely solvable, but may require some heavier configuration when adding Sentry.
Sentry.Plug relies on Plug.ErrorHandler, but Phoenix.Endpoint doesn't work directly with that.  The call/2 in the Endpoint is overridable, so you could add a similar Sentry.capture_exception in the catch, which may be what we have to do in Sentry.
I'll be exploring other options too, but hopefully your use case is solvable with that information for now. If you run into anything that could be helpful, I'd be happy to hear it 🙂

any solutions on this?  I'm using corsica as well, I think it should be mentioned in the README

To follow up on this, I've opened https://github.com/phoenixframework/phoenix/issues/2791 with things I've tried and a suggested solution if none exists currently.


Bump LLVM to 5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372

Combined PR #2654 and #2657 and fixed the remaining lit tests.

@gongsu832 thanks for looking at this. It seems there is a patch to fix this in LLVM (just merged 20 hours ago): https://github.com/llvm/llvm-project/pull/74002. Do you think it can solve the warning here?

So should we process with disabling the warning as a temporary solution? and reenable it once we bump to a newer LLVM. I think the warning is about SparseTensor that we haven't used in onnx-mlir.

As long as you remember to reenable it once we update past the commit including the fix. :-)

So do we need to patch LLVM?

So do we need to patch LLVM?

I think No, we just suppress it so that Windows will not treat it as an error.

@gongsu832 the place I inserted code to suppress C4293 did not work. Do you have any suggestion where should I put the code to suppress a warning?

Unfortunately, no. I don't know much about developing on Windows. We probably need to ask the Microsoft folks.

Jenkins Linux amd64 Build #13662 [push] Bump LLVM to 5e5a22caf88... started at 09:37

Jenkins Linux ppc64le Build #12686 [push] Bump LLVM to 5e5a22caf88... started at 10:44

Jenkins Linux amd64 Build #13662 [push] Bump LLVM to 5e5a22caf88... failed after 1 hr 50 min

Jenkins Linux ppc64le Build #12686 [push] Bump LLVM to 5e5a22caf88... passed after 2 hr 57 min


Track DocumentState information for fallback projects.

Today our default project host consumes Razor SDK information (only present in 2.1) to identify Razor files and their if they've been added or remove to the world. This way our project system can track document information despite being >= 2.1

56d69db0faf67aff4663e21b8adfa47f7733a693


CB-7626. Update Azure storage plugin version for VM nodes (support write only mode)

added write_only option for azure plugin
use upload timestamp instead of index in the filename (format: 'HHSSmmff')
set buffer chunk size to 4MB (as you need to upload in multiple parts per abfs blocks, the block size is 4MB, and as during upload knowing the position is required we cannot continue the uploading if for some reason the app is stopped and we cannot gather the blob properties through a head operation)

edit: also add an update to s3 path to use hms_slice instead of hex random

Still LGTM


Add configuration to comply with Sonatype's requirements.

Review by @nicolasstucki, but I very hope it LGTY, because that's what was used to stage on Sonatype ^^

LGTM

Released. Will appear on Maven Central at some point in the near future ;)


Less contrast on pure style

Hi, nice colorscheme!
I was looking for a colorscheme with very dark background and the pure style of this theme looks great. One issue though, the contrast is too high and may make one eyes bleed. What about keeping the background tone but making foreground less bright?

Emmm...  Good idea...
I shall create a new style pure_less.

It seems that ever the darker variant suffer from this, specially regarding the white text.

It seems that even the darker variant suffers from this, specially regarding the white text.

New option: g:equinusocio_material_less
" less bright
" which means some foreground color will be modified by this formula:
" (r, g, b) -> (r - less, g - less, b - less)
let g:equinusocio_material_less = 50

Nice!


Unable to create a project using the cli command "https://github.com/infinitered/ignite/issues/new?template=bug_report.yml&labels=bug"

Describe the bug
3D-printing a new React Native app
🎨 Getting those last few details perfect
❌ Installing yarn dependencies (wow these are heavy)

Gathering system and project details   Unable to gather system and project details.

Ignite version
npx ignite-cli@latest new PizzaApp
Additional info
System
platform           win32
arch               x64
cpu                4 cores       Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
directory          play_ground   C:\Users\USER\Documents\Personal\play_ground
C:\Users\USER\AppData\Local\npm-cache_npx\e31027f3785124a8\node_modules\gluegun\build\index.js:15
throw up;
^
Error: Command failed: pnpm --version
C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22373
throw new UsageError(This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field);
^
UsageError: This project is configured to use yarn because C:\Users\USER\package.json has a "packageManager" field
at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22373:21)
at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22404:24)
at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23096:5) {
clipanion: { type: 'usage' }
}
Node.js v20.18.0
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {

code: 1,
killed: false,
signal: null,
cmd: 'pnpm --version',
stdout: '',
stderr: 'C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22373\r\n' +
'              throw new UsageError(This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field);\r\n' +
'                    ^\r\n' +
'\r\n' +
'UsageError: This project is configured to use yarn because C:\Users\USER\package.json has a "packageManager" field\r\n' +
'    at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22373:21)\r\n' +
'    at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22404:24)\r\n' +
'    at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23096:5) {\r\n' +
"  clipanion: { type: 'usage' }\r\n" +
'}\r\n' +
'\r\n' +
'Node.js v20.18.0\r\n'
}
Node.js v20.18.0

@ogunwolejo can you give us some more details about your options you've selected so we can try to reproduce it on Windows? Specifically the packager manager you are trying to utilize as it looks like something is the issue there

There was a fix published for Windows users via  #2817 in 10.0.2, you can try with that version. npx ignite-cli@latest


Output doesn't scroll with new print messages and hides them sometimes

Godot version
v4.1.rc2.official
System information
Win10
Issue description
The output stops scrolling to new messages resulting in it being useless:

See video below as well.
This was confirmed by someone on discord too.
Steps to reproduce
Print a lot, in my case 1 - 2 times per _process() call.
https://github.com/godotengine/godot/assets/102416174/39391f0f-c300-4c3b-bb27-afa7df69c776
Minimal reproduction project
Any

Thanks for your report, this seems to be a duplicate of https://github.com/godotengine/godot/issues/78899 (which covers two problems, one of which is yours).


Rogers ga

Changes to the python code samples for Rogers GA.   Uses V2 for InVPC clusters and V3 for Hosted.

Updated for review comments and linted using flake8


Add support for StreetViewPanorama

Hey, it would be awesome if this package supported not only Maps but StreetViewPanoramas as well!
https://developers.google.com/photo-sphere/web/

Done. Just load like so:
{{> googleMap type="StreetViewPanorama" name="..." options=...}}

The rest works the same as a normal map.


Please support GCC10

Hi, I maintain catimg in Debian, where we're planning to migrate to gcc10.
According to this bug report, catimg doesn't currently build in gcc10:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957066
Please support compilation under gcc10 as well.

Apparently https://github.com/posva/catimg/commit/5e096faa751b8f4eef04ccae923c9aa344dd2e9d fixed the issue. I will tag a new version


Fixed unwanted column resizing in vertical layout

Problem seen with macOS 11 : when article has an enclosure file, the
width of article view resizes abruptly to accomodate the enclosure bar
at the bottom of the article pane to length of the enclosure filename.
Fixed by modifying some constraints priority
Issue #1370

Can you try my changes?

Thanks for the hint. But I'd prefer more flexibility in width of article view : your changes does not allow the filename to be compressed.

@Eitot, I took your approach but slightly modified it. Can you have another look ?

@barijaona: There is still a problem. I think you can reproduce it like this:

Go to a feed that does not have an attachment.
Switch to a feed with an attachment.
Resize the article view horizontally (even just a little is enough)
Switch to a feed that does not have an attachment.
Switch to a feed with an attachment. The article view should not constrict to the label width.

@barijaona: I made a small fix to my PR and uploaded it to this branch: https://github.com/Eitot/Vienna/tree/pr-1751. This stops the file name from narrowing the article view. I have not been able to reproduce the ‘jumping’ issue with this.

I am OK with your last changes. Same behavior than Vienna 3.5.10


0.62 iOS TextInput font is shaking with chinese

Description
ios TextInput font is shaking when inputing with chinese.

React Native version:
info Fetching system and libraries information...
System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Memory: 20.15 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.2.0 - ~/.nvm/versions/node/v13.2.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.13.1 - ~/.nvm/versions/node/v13.2.0/bin/npm
    Watchman: 4.7.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 19, 22, 23, 24, 25, 26, 27, 28, 29
      Build Tools: 23.0.1, 23.0.2, 24.0.0, 24.0.1, 24.0.2, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.1, 28.0.3, 29.0.0, 29.0.2
      System Images: android-19 | Google APIs Intel x86 Atom, android-23 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-24 | Google APIs Intel x86 Atom, android-25 | Google APIs ARM 64 v8a, android-25 | Google APIs ARM EABI v7a, android-25 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom_64, android-25 | Google Play Intel x86 Atom
      Android NDK: 19.1.5304403
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Maybe try adding fontWeight: "normal" to the text style

@romanakash fontWeight is not work.

I am also facing that issue with Japanese.

same issue with Korean

I got same issue with Korean. But it's work OK with multiLine mode. Only singleLine mode is the problem.

Yeah exactly!

I resolved the issue by downgrading the version of react native to 0.61.5😭

same issue!

Facing this issue in arabic too, rn 0.60+, enabling multi line fixes the issue

same issue! rn 0.62.2

When entering Korean, there is no shake at fontSize 17, but shake occurs at other sizes.

same issue!

@alloy @TheSavior anybody cannot reply this issue?

这个是个大问题，很影响使用啊

When entering Korean, there is no shake at fontSize 17, but shake occurs at other sizes.
same for Chinese

i meet the same issue

I have the same issue.

I got same issue under react native 0.62.8.

same issue! react native 0.62.1

It does not happen when ascii char is at the very first of the string.
but when if korean comes first and then ascii comes, it have the problem.
hope helps.

@musicode Did you solve it?

@Liqiankun not yet

Has anybody verified this in v0.63-rc.0 or master yet? If it happens to already be fixed there, then the fix can be identified and perhaps cherry-picked for a new v0.62.x release.

Has anybody verified this in v0.63-rc.0 or master yet? If it happens to already be fixed there, then the fix can be identified and perhaps cherry-picked for a new v0.62.x release.

I entered Korean, but this issue has the same in v0.63-rc0.

I guess https://github.com/facebook/react-native/commit/e271fa190d16e7d5d3bc8971c68e4797649d0057 occured this issue.
I reverted this commit, and seems to resolved.

Ace, good sleuthing, @edoko 👌
cc @shergin

@edoko Did you test it ? It works?

@Liqiankun I don’t know, I’m just an outside spectator. Perhaps you could verify @edoko’s findings by reverting that change in your app and let us know that it works?

@alloy? You mean roll back?

I afraid, I have no idea how e271fa1 could break it, it just reshuffle stuff a bit without actually changing things much. :(

in 0.62.2 same issue occurs!

@zhongwuzw Would you like to take a look at this issue?

@alloy? You mean roll back?

Yeah, for instance by reverting those changes in your node_modules/react-native installation?

@zhongwuzw Would you like to take a look at this issue?

Hey, https://github.com/facebook/react-native/pull/28805 should fix this issue, can you check it?

@zhongwuzw Nice on 🙌

@zhongwuzw I know you can make it! That’s why I mention you! I also helped!😂

Thank you @zhongwuzw!!1

@zhongwuzw I tested it, It worked. Thank you.

There seems to be a lot of people who are faced on this problem. So, I made this patch(#28805) available for RN 0.62.
Please try it once.
https://github.com/ifsnow/react-native-cjk-textinput-patch

I am using Expo SDK 38 which is still using RN 0.62 https://www.npmjs.com/package/expo
As its Expo ,i cant use above patch to fix the issue.
Any suggestions to fix this issue in this situation?

I'm also using Expo so this fix hasn't been released.
I could implement a workaround from this comment https://github.com/facebook/react-native/issues/28488#issuecomment-609009993
Use multiline: true and set numberOfLines: 1 will stop shaking the font.
<TextInput multiline={true} numberOfLines={1} />

Happens with arabic 2


Can I use the TraceListener and AppSettings together ?

Is something like this supposed to work ?
<add key="serilog:write-to:Trace" value="" />
Can I confirm the app.config values for adding the tracelistener, is this correct ?
<add name="Serilog" type="SerilogTraceListener.SerilogTraceListener, SerilogTraceListener" />

https://github.com/serilog/serilog/wiki/AppSettings
I think the first part of what you proposed is aimed at configuring a Sink, rather than the Listener.  If it's anything like adding a global trace listener for NLog, then it would be just the second part you mentioned:
  <system.diagnostics>
    <!-- add global listener: http://msdn.microsoft.com/en-us/library/b0ectfxd(v=vs.100).aspx -->
    <trace>
      <listeners>
        <add name="serilog"/>
      </listeners>
    </trace>
    <sharedListeners>
      <add name="serilog" type="SerilogTraceListener.SerilogTraceListener, SerilogTraceListener"/>
    </sharedListeners>
  </system.diagnostics>

I actually have no idea if you can set up the listener via app.settings -- in the project unit test you instantiate a global listener that attaches the current logger:
https://github.com/serilog-trace-listener/SerilogTraceListener/blob/master/test/SerilogTraceListener.Tests/SerilogTraceListenerTests.cs#L30
I tried the diagnostics way above with no luck.

Hi @johnkattenhorn (picking up the thread here to help out),
No, those two options won't work together - specifying them both means Serilog would write to the trace, and the trace would write back to Serilog....
If you still need a hand with anything here let me know; thanks @zaus for the input also.