Unable to receive email on task failure or even using EmailOperator

Hi Guys,
I am unable to receive email from my box even after adding required parameters to send one.
Below is how my  default args looks like --
default_args = {
    'owner': 'phonrao',
    'depends_on_past': False,
    #'start_date': datetime(2019, 3, 28),
    'start_date': airflow.utils.dates.days_ago(2),
    'email'<EMAIL_ADDRESS>    'email_on_failure': True,
    'email_on_retry': True,
    'retries': 1,
    'retry_delay': timedelta(minutes=5),
    #'on_failure_callback': report_failure,
    #'end_date': datetime(2020,4 ,1),
    #'schedule_interval': '@hourly',
}

I have few HttpsOperator task in between  -- those are working good and are a success, but they do not send email on error(I purposely tried to introduce an error to check if they send any email). Below is an example of my task.
t1 = SimpleHttpOperator(
				   task_id='t1',
				   http_conn_id='http_waterfall',
				   endpoint='/update_data',
				   method='POST',
				   headers={"Content-Type":"application/json"},
                                   xcom_push=True,
                                   log_response=True,
				   dag=dag,
)

and this is my EmailOperator task
t2 = EmailOperator(
			  dag=dag,
    			  task_id="send_email",
<EMAIL_ADDRESS>                          subject='Success',
    		          html_content="
Success
"
)

t2 >> t1

Below is the error from Logs:
[2019-04-02 15:28:21,305] {{base_task_runner.py:101}} INFO - Job 845: Subtask send_email [2019-04-02 15:28:21,305] {{cli.py:520}} INFO - Running <TaskInstance: schedulerDAG.send_email 2019-04-02T15:23:08.896589+00:00 [running]> on host a47cd79aa987
[2019-04-02 15:28:21,343] {{logging_mixin.py:95}} INFO - [2019-04-02 15:28:21,343] {{configuration.py:255}} WARNING - section/key [smtp/smtp_user] not found in config
[2019-04-02 15:28:21,343] {{models.py:1788}} ERROR - [Errno 99] Cannot assign requested address
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 1657, in _run_raw_task
    result = task_copy.execute(context=context)
  File "/usr/local/lib/python3.6/site-packages/airflow/operators/email_operator.py", line 78, in execute
    mime_subtype=self.mime_subtype, mime_charset=self.mime_charset)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/email.py", line 55, in send_email
    mime_subtype=mime_subtype, mime_charset=mime_charset, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/email.py", line 101, in send_email_smtp
    send_MIME_email(smtp_mail_from, recipients, msg, dryrun)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/email.py", line 121, in send_MIME_email
    s = smtplib.SMTP_SSL(SMTP_HOST, SMTP_PORT) if SMTP_SSL else smtplib.SMTP(SMTP_HOST, SMTP_PORT)
  File "/usr/local/lib/python3.6/smtplib.py", line 251, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/local/lib/python3.6/smtplib.py", line 336, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/local/lib/python3.6/smtplib.py", line 307, in _get_socket
    self.source_address)
  File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
    raise err
  File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
    sock.connect(sa)
OSError: [Errno 99] Cannot assign requested address
[2019-04-02 15:28:21,351] {{models.py:1817}} INFO - All retries failed; marking task as FAILED

Has anyone encounter this issue and any suggestions on how do I resolve this?

This is a problem of the Dockerfile, on line 74 the config/airflow.cfg is copied to ${AIRFLOW_HOME}/airflow.cfg:
COPY config/airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
And all the docker uses the other config file ./airflow.cfg, a fast solution is just to copy your airflow.cfg to the config/airflow.cfg that will make the worker have the right configs and solve the problem:
[2019-04-02 15:28:21,343] {{logging_mixin.py:95}} INFO - [2019-04-02 15:28:21,343] {{configuration.py:255}} WARNING - section/key [smtp/smtp_user] not found in config

Hi,
Any solution for this problem

when deployed locally it seems to work, but when deployed in Azure, it seems to fail. Here is the error message:
[2019-10-16 09:11:14,149] {logging_mixin.py:95} INFO - [2019-10-16 09:11:14,148] {configuration.py:293} WARNING - section/key [smtp/smtp_user] not found in config
[2019-10-16 09:11:14,149] {taskinstance.py:1047} ERROR - [Errno 99] Cannot assign requested address
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/airflow/models/taskinstance.py", line 922, in _run_raw_task
result = task_copy.execute(context=context)
File "/usr/local/lib/python3.7/site-packages/airflow/operators/email_operator.py", line 78, in execute
mime_subtype=self.mime_subtype, mime_charset=self.mime_charset)
File "/usr/local/lib/python3.7/site-packages/airflow/utils/email.py", line 55, in send_email
mime_subtype=mime_subtype, mime_charset=mime_charset, **kwargs)
File "/usr/local/lib/python3.7/site-packages/airflow/utils/email.py", line 101, in send_email_smtp
send_MIME_email(smtp_mail_from, recipients, msg, dryrun)
File "/usr/local/lib/python3.7/site-packages/airflow/utils/email.py", line 121, in send_MIME_email
s = smtplib.SMTP_SSL(SMTP_HOST, SMTP_PORT) if SMTP_SSL else smtplib.SMTP(SMTP_HOST, SMTP_PORT)
File "/usr/local/lib/python3.7/smtplib.py", line 251, in init
(code, msg) = self.connect(host, port)
File "/usr/local/lib/python3.7/smtplib.py", line 336, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/local/lib/python3.7/smtplib.py", line 307, in _get_socket
self.source_address)
File "/usr/local/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
OSError: [Errno 99] Cannot assign requested address

Hi,
Any found solution for this error..???
Please help community members to resolve this issue...

hi, any solution for this problem?
because i'm getting this error too
currently use airflow version 2.0 and docker version 3


Deploying the billing utility from the overlay layer

Describe the Issue
We want to deploy the billing utility from the terraform overlay layer to consolidate our app deployement.
This would be a new layer in the repository
Additional Context

The resources already existing we need to move the terraform state from its current place to the overlay layer repo.
This wouldn't need a file in the source repo as this is only deployed on forge ?

Acceptance Criteria

A layer has been added to the terraform overlay layer to deploy the billing utilty
The billing utility is deployed from this workspace
The CI/CD has been removed on the billing utility repo, has it would create conflicts
.
.
.
.
.
.
.
.
.
.
.

Extra Template Info
Definition of Ready
These set of conditions will need to be met in order to bring a ticket into the sprint and start work. Protects the team from unclear requirements.
Issues (Task/Story/Spike) aligned to an EPIC and linked appropriately.
Assigned to the appropriate CPF MEMBER (and is not left blank in ZenHub) at the start of sprint (1st day of the sprint)
Acceptance has been defined for the issue and has been reviewed with CPF team and approved by the necessary approver.
Has been sized and estimated by the delivery team.
Detailed breakdown of the steps required to complete the story in the additional context
Any additional specifications have been documented, reviewed with CPF and approved by the necessary approver.
Acceptance Criteria
A set of pre-defined requirement that need to be met in order to mark the user story as “done”.
It should be testable with no room for interpretation
It should be either “pass” or “fail”
It should be clear enough for business stake holders to understand
As part of the user story, it should be written from the user perspective
A well written acceptance criteria is great for

managing expectations
defining scope
reducing ambiguity
establishing testing criteria for QA
Given (Pre-condition)
When (Action)
Then (Outcome)

Definition of Done
These set of conditions are met for work to be considered as complete on an issue.
All acceptance criteria(s) have been validated.
All the necessary documentation for the issue has been uploaded to Teams.
Functionality has been tested when applicable.
Functionality has been demonstrated to the relevant stakeholders (where applicable).
Story has been scheduled for a Sprint Demo/community update and impacted teams invited to the Demo.
Stories accepted by PO and documented for potential sharing with impacted users.

Documented = Captured in Community Update (CU) deck
Release notes = aspirational goal of providing a bulleted list of features and changes that our users can touch. Was going to store them in our Cloud Pathfinder repo. Can also display to users in the CU

https://github.com/BC-Gov-PaaS-Platform-Services/aws-ecf-live-overlay-settings-stack/pull/18
https://github.com/BC-Gov-PaaS-Platform-Services/aws-ecf-forge-overlay-settings-stack/pull/17
https://github.com/BC-Gov-PaaS-Platform-Services/aws-ecf-forge-overlay-settings-stack/pull/18
https://github.com/BCDevOps/terraform-octk-aws-sea-billing-reports/pull/18


update installation for nuxt 3

Proposed Changes

Previous installation for Nuxt 3 is outdated and should be updated

@zhaolinlau Sorry for leaving your PR for a long time. Could you replace tab (\t, 0x09) characters with four regular whitespace ( , 0x20) characters? It is difficult for me to see meaningful diffs.

@zhaolinlau Sorry for leaving your PR for a long time. Could you replace tab (\t, 0x09) characters with four regular whitespace ( , 0x20) characters? It is difficult for me to see meaningful diffs.

Great catch

@kikuomax @wesdevpro Have a look


[BUG]: bl-select is not aware of attribute changes of bl-select-option

Issue description
When the selected attribute of bl-select-option is changed, bl-select is not aware of this. That's why it continues to appear as if it is still selected in the input field.
Media & Screenshots

Baklava Version
3.0.0
Operating system
No response
Priority this issue should have
Medium (should be fixed soon)
Please review the checkboxes that are applicable.

[ ] This issue is directly related to React

Could you please provide an example of the issue you're referring to? We're currently providing the option component as a slot to the select component. However, I'm unsure of how we could implement a listener for the option component in this setup.


Walletchat integration with feed

Allow users to chat with each other inside wallet after they transact with each other

@L03TJ3 Lets adda feature flag for this if  @patpedrosa approves the release

@sirpy @patpedrosa waiting for the response from the wallet-chat team


Fix user dropup menu width inconsistency

The width of the user dropup menu was not matching the sidebar with. This fixes that.
As an aside, the way we are setting the width of the sidebar for mobile devices is really strange to me (the negative margin value which matches the positive padding feels very hacky) and I'd like to simplify it. I created a tech-debt task for that.

Reviewer: @mlunoe


this cap instantiated incorrectly for trn receivers calling box methods

When calling a box method on a trn expression, automatic receiver recovery seems to occur without proper checks, and the result is ref. I suspect this occurs because the return type cannot be correctly checked until after we've decided whether the method should be called as ref or box. No such issue appears to occur with iso.
class Bar
class Foo
  let bar: Bar = Bar
  fun get(): this->Bar =>
    this.bar

actor Main
  new create(env: Env) =>
    let foo = recover trn Foo end
    let bar_ref: Bar ref = foo.get() // Notice this returns `Bar ref`
    let bar_val: Bar val = (consume val foo).bar
    env.out.print((bar_ref is bar_val).string())

This is independent of the subtype changes. This ambiguity also occurs with ref or val but there is no issue without receiver recovery being allowed.

Most probable explanation: this was latent until the change to allow returning box for trn recovery. TK_THISTYPE likely gets instantiated as box and then the trn receiver sees the result as safe to recover, and becomes ref.

Proposed solution from Jason during the sync call: when doing receiver recovery on a box call, we should reify this as ref instead of box inside the call.

@jemc where does the receiver recovery code live in the codebase?

I think it's roughly around here: https://github.com/ponylang/ponyc/blob/065d70a9b7116195fbfda37f761fdd1ca4231cd7/src/libponyc/expr/call.c#L272-L273


Integration throws you out of interface for Archer c7

Describe the bug
When the integration is active the Archer C7 router logs me out after around 30 seconds.  When I disable the integration I can remain logged into the web interface of the router.
Logs
Add also all relevant logs from Settings->System->Logs. I could not find anything relevant here
Additional Information (please complete the following information)

Router Hardware Version: V5.0
Router Firmware Version: 1.21 (latest)
Home Assistant Version: 2024.9.1
TP-Link Router Integration Component Version: 1.15.2

I've been blaming my router for this for ages,  but a chance finding on a forum post lead me to test this and there is no issue when the integration is disabled.  The theory is that the integration makes the router "think" that someone is logged on so it throws you out if you are logged into the router's web interface.

Yes, most TP-Link routers allow only one admin access at a time.
P.S. Dont forget please to give a star to the repo :)

Thanks Alexandr
I've done so.
Phil Mulley
On Mon, 9 Sept 2024 at 15:22, AlexandrErohin @.***>
wrote:

Yes, most TP-Link routers allow only one admin access at a time.
P.S. Dont forget please to give a star to the repo :)
—
Reply to this email directly, view it on GitHub
https://github.com/AlexandrErohin/home-assistant-tplink-router/issues/78#issuecomment-2338264658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFZ6DMLY22QYHYDKNIGYROTZVWVKDAVCNFSM6AAAAABN4QIRBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGI3DINRVHA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Feedback for author/s of Lumen app

Many thanks guys for an excellent application. I've been looking around for a solid platform for building a Zettelkasten and this meets almost all of my criteria. It is the best candidate I've seen including free, open source and proprietary solutions. The UI/UX is clean, easy and fluent; nice typography, uncluttered layouts. It has many thoughtful features such as the fullwidth layouts allowing comparison of notes and real clean approach to tags which are key to an effective Zettelkasten. The storage solution is robust and about as future-proof as it gets. I was so excited to see how bare the repository for my Lumen instance was. It might survive an apocalypse! Overall a smooth, distraction-free experience that just works and as a software engineer the codebase is a joy to sniff around.
Again, many thanks for really awesome work. Cheers!!!

Thank you, @leonardreidy 🥰
Don't hesitate to open more GitHub issues if you have any questions, feature requests, or bug reports.


feat: Enhance Query Parameters

Add the new filtering functionalities from KituraContracts 1.0.0, such as:
GreaterThan
LowerThan
GreaterThanOrEqual
LowerThanOrEqual
InclusiveRange
ExclusiveRange
Ordering
Pagination

And prevent SQL Injections with QueryParameters in Select and Delete Queries

@EnriqueL8 ^^^ test failures


Button Control Label doesn't update if Label is bound to table control

Hi
I'm facing a problem that the button label is not refreshed when I change the bound control value.
Is there a way to force a refresh of the button?
Kind regards
Beat

Thanks for writing to me. I just fixed the issue. You may download the latest solution and install it.
Please do a hard refresh of the page and let me know if that worked.

Marking this ticket as closed. Feel free to create new ticket if needed.


download data w/o auth!

Posted something long ago, here.
Shortly, we can do following without hassle. These are public resources. Can we do the same with kagglehub?
images = keras.utils.get_file(
    origin="https://huggingface.co/datasets/images.tar.gz",
    untar=True,
)

or
hf_dataset_identifier = "{user_id}/data_id"
filename = "dataset.zip"
file_path = hf_hub_download(
    repo_id=hf_dataset_identifier,
    filename=filename,
    repo_type="dataset"
)

Models will need users to be signed in, and in some cases, accept the terms of use agreement.
Datasets can be downloaded publicly, without being signed in.


Upgrade dnspython vulnerable dependendency

@secynic - I do hope you can look into this, because the repository seems to be dead for a while.
I even tried to create a PR, but looks like it is disabled for non-collaborators.
dnspython < 2.6.1 is prone to CVE-2023-29483. Remedy for that is to update the requirement and align with a new version of dnspython.
It got sorted out in the @putsi fork. How about pulling these changes into the main branch here?

Updated in dev branch. Working on some other issues before pushing to pypi.

Released 1.3.0


[ci skip] adding user @junpenglao

Hi! This is the friendly automated conda-forge-webservice.
I've added user @junpenglao as instructed in #3.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #3

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Using nuget restore from .NET 5.0 no longer requires first updating ca-certificates

Quantum/Build/images/samples/Dockerfile lines 29-38 update ca-certificates package:
    # As per https://github.com/NuGet/Announcements/issues/49,
    # we also need to update the ca-certificates package
    # to use nuget restore from .NET 5.0.
    # This requries enabling debian-unstable, so we do so as a
    # separate command.
    cp /etc/apt/sources.list /etc/apt/sources.list.backup && \
    echo "deb https://deb.debian.org/debian unstable main" >> /etc/apt/sources.list && \
    apt-get -y update && \
    apt-get -y install ca-certificates=20211016 && \
    mv /etc/apt/sources.list.backup /etc/apt/sources.list && \

However, after looking through the updates of the above-linked NuGet issue, it seems that the Debian Family Linux distros that were originally impacted have since resolved the issues. Are lines 29-38 in the samples Dockerfile still necessary? Or am I wrong, and have these later Debian releases still not resolved all lingering issues?

Ah, thanks for flagging! We'll go on and remove that mitigation, then. @ricardo-espinoza, should we land this with the rest of .NET 6 support, do you think?


Set the list of error codes to retry

Currently we don't retry.

keep open

see https://github.com/huggingface/datasets-server/pull/1948

Done.


JST pin 43 not useable with Dallas DS18B20 sensor

I am trying to connect a Dallas Semiconductor  DS18B20 temperature sensor to either the GPIO43 or the JST pin 43, which are probably the same circuit.
Using Arduino v2.1.0.
There is no response from the sensor at all, the oscilloscope shows 3.3v steady.
The sensor works on GPIO 1 (or  GPIO 18, e.g.).
The pin 43 can be programmed as an input or an output successfully, but not the serial serial I/O of the DS18B20.
Further another user says that the JST pin 43 works in ESPHome, but I cannot get it to work on Arduino. His application of the LilyGO T-Display S3 is to use DS18B20 on pin 43 of the JST for compact packaging, I suppose. He may have to resort to ESPHome, but would rather use Arduino! I cannot understand why it works in only one software.
My question therefore is:
"Is there a configuration setup for the LilyGO T-Display S3 that configures GPIO43 for I2C only? How can we free it up?"
Thanks, Terry

T-Display-S3 43, 44, complete direct connection core, no other original equipment, I used a different plate before, and it's the same problem, I didn't have it, I got it. [arduino-esp32]（https://github.com/espressif/arduino-esp32）

@lewisxhe Apologies but not sure I understand your response. Did you get it to work?.


Issue installing provisioning profile on macOS agent

I am running this command: sudo cp <myProfile> ~/Library/MobileDevice/Provisioning\ Profiles/<myProfileUUID>.mobileprovision and get the following error
cp: /Users/vsts/Library/MobileDevice/Provisioning\ Profiles/<myProfileUUID>.mobileprovision: No such file or directory
Is anyone else getting the same issue?

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

ID: 3e66a70d-e359-9d0a-0143-a9e43b263795
Version Independent ID: 7b320a02-0a63-947a-3017-4826ab461112
Content: Sign Your Mobile App During CI - Azure Pipelines
Content Source: docs/pipelines/apps/mobile/app-signing.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

I am potentially getting a similar issue where my xcode task (xcodeversion=10) fails to find the ProvisioningProfile that my InstallAppleCertificate@2 task is supposed to install:
error: "Register" requires a provisioning profile with the Wireless Accessory Configuration feature. Select a provisioning profile for the "Release" build configuration in the project editor. (in target 'Register')
2019-02-08T01:35:10.6560090Z ** BUILD FAILED **
My pipeline is using yaml. The build logs show that the 'Pre-job: InstallAppleProvisioningProfile' and 'InstallAppleProvisioningProfile' tasks are successful, however they do not show any command being executed. I saw this thread (https://github.com/Microsoft/azure-pipelines-tasks/issues/8387) and have tried provisioning files with both extensions:  'mobileprovision' and 'provisionprofile'.

@frankyang289 You can run mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles ahead of the copy. However if you're using a Microsoft-hosted macOS pool, you should follow the "Install during the build" instructions, not the "Preinstall on the build agent" instructions.

@nacient You should see the pre-jobs running commands (openssl, security, etc). I've added a sample yaml with Xcode signing here. Build here.

Hi @hashtagchris thanks for updating the documentation and providing a sample! That helped me. Ultimately my problem was a silly misspelling of the provisioningProfileLocation value ('Secure Files' instead of 'secureFiles'.) Was following the UI documentation (https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/mobile/app-signing?view=azure-devops&tabs=apple-install-during-build) and that is how the UI spells which is different from the yaml task.
I am getting a different error now related to my pod schemes not supporting provisioning but one was specified manually. I found this thread and will attempt this solution: https://github.com/fastlane/fastlane/issues/10543#issuecomment-336759615
If I set the signingOption to default like you have it in the sample, my xcode build fails with:
No profiles for 'com..' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com..register'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Register'). Do you know how I can pass this option in the yaml build?

@nacient You can pass additional arguments to xcodebuild using the args task input. (There's also an exportArgs input, used for the export phase of packaging if packageApp is true.) See https://github.com/Microsoft/azure-pipelines-tasks/blob/master/Tasks/XcodeV5/task.json for a list of all inputs.
To use -allowProvisioningUpdates, I think you have to be signed into your Apple Developer account within Xcode (Xcode > Preferences ... > Accounts > Apple IDs). You can do this for self-hosted agents, but it's not an option for the Microsoft-hosted macOS pool. BTW, I see something about a "Register" target in your error message. I'm not familiar with this target, but if your build registers new development devices with Apple, you'll probably need to use a self-hosted agent and the -allowProvisioningDeviceRegistration option.
A couple of suggestions for diagnosing Xcode build failures:

Try running the same xcodebuild command-lines the Xcode task runs on the Mac you use for development, tweaking file paths as necessary. Something like:

# Switch to the root directory of the Xcode project.
cd ~/Documents/XcodeProjects/XcodeHelloWorld

# Optionally target a specific version of Xcode.
# This is equivalent to running xcode-select --switch, but only affects the current session.
export DEVELOPER_DIR=/Applications/Xcode_10.app/Contents/Developer/

# Confirm the version of Xcode is close to the version used on the build agent.
xcodebuild -version

# Run the "build" target, using the XcodeHelloWorld scheme.
xcodebuild -sdk iphoneos -configuration Release -workspace ./XcodeHelloWorld.xcodeproj/project.xcworkspace -scheme XcodeHelloWorld build

In general, if the command-line works locally, it should work on the agent, assuming you're installing the right certificate and provisioning profile, and using the same version of Xcode.

If you get xcodebuild working locally, look at the output from CodeSign to see what provision profiles you need to install. Example from my build:

Signing Identity:     "iPhone Developer: Chris Sidi (7RZ3N927YF)"
Provisioning Profile: "iOS Team Provisioning Profile: com.hashtagchris.*"
                      (6ffac825-ed27-47d0-8134-95fcf37a666c)

On the Mac you use for development, start with a clean slate by committing all your changes to your git repository, closing Xcode and renaming the Provisioning Profiles directory (mv ~/Library/MobileDevice/Provisioning\ Profiles ~/Library/MobileDevice/Old\ Provisioning\ Profiles). Then launch Xcode and get your project building. The provisioning profile(s) under ~/Library/MobileDevice/Provisioning\ Profiles are the ones you need to install as part of your build.

Thanks @hashtagchris! Will try this out.

Closing since it appears this was resolved.  Otherwise, please feel free to re-open.


UWP (uap) WASAPI exclusive mode works great in debug build, but crashes in release build

Incorporated NAudio 2.1 in a UWP project with Visual Studio 2017 on Window 10 22H1. It works great with WASAPI exclusive mode in debug build. But it crashes in release build, the same problem with a side-loading package (which is code-signed).
The specific exception is: "Can't find supported format to use".
Also tried with NAudio 2.2.2 with Visual Studio 2022 on Window 11 22H2, the same result.
It seems that the AudioClient.IsFormatSupported(...) used in the WasapiOutRT.cs always failed with any given formats in release build, although it worked perfectly in debug build with the exact same input.
Update:
This problem only happens when the WasapiOutRT object is initialized with a IOutputProvider with 32bit format, and the "Compile with .NET Native tool chain" option is enabled.

Update:
The problem has been temporarily fixed by changing the type of the variable "bestToWorstFormats" from WaveFormatExtensible[] to WaveFormat[] in the method body of WasapiOutRT:Init(), along with the correponding changes of  the array member instantiations as needed. Not sure about any side-effects implied, though. This is just working in my specific project.

thanks for sharing your solution


Is the "title" attribute binding needed?

https://github.com/softlayer/sl-ember-components/blob/develop/addon/mixins/sl-tooltip-enabled.js#L18

This issue can be closed. I investigated the need of the "title" attribute binding and determined that it is necessary for popover.


Clones are not torn down in Ember 2.3.2

When using either the mixin or the component version, the teardown removes the component but not the DOM clone, leaving a copy behind each time something like a toggle happens.

👍 Facing the same issue.

I released now 0.1.5.
The strategy has changed and we shouldn't have these kind of problems anymore. See #15

@miguelcobain This is still happening I am using ember-paper with the last alpha version and it still happening with the paper-dialog component, I have tried to find where/how the problem originates but I haven't yet, do you have any idea where it could be? If you give me a hint maybe I could help you solve that!

I think I found the problem, ember-wormhole uses two text nodes to identify what elements to delete, but the cloned element is inserted outside those elements created by the wormhole addon and that might be why they are not being deleted, just an hypothesis I need to prove it now! 🤓

This is what happens now, the last element is the cloned one, but it should not be! The last element should be the text node in position 7 which was created by the wormhole, and that is the problem (I hope)

@fedekau does this happen in all browsers?

@miguelcobain It happens on Chrome and Firefox, in Safari I couldn't reproduce the problem. I am using the last stable version of each browser.

@fedekau Very strange. This test is passing on Chrome for me: https://github.com/peec/ember-css-transitions/blob/master/tests/integration/components/transition-group-test.js#L48
Do you see that bug in latest ember-paper's docs?

@miguelcobain It don't see the bug there, I will try to update an example where it fails so you can see it! Thanks for the time :)

A failing test or some way of reproducing the bug would help immensely.

@miguelcobain I took a look at the problem again and I am not sure if what I previously said is valid (about the clone not being deleted), anyway here is an example app ember-css-transitions-bug
To reproduce it:

Click the more_vert icon ( three dots)
Click the link Route 1
Navigate back with the browser back arrow (this should not reload the app, if it does you will not see the error)
If you navigate forward with the browser arrow
Repeat from 3

This will add an element to the document every time you do the steps 3 & 4
Let me know if you can see the problem, and if you need help to fix it!

@fedekau The problem isn't in ember-css-transitions.
Ember-paper has it's own mixin for 3d translation on dialogs.
In that mixin we do our own cloning and destruction logic, like in ember-css-transitions.
ember-css-transitions once had this problem, but then I fixed it in https://github.com/peec/ember-css-transitions/pull/15.
We need to do the same thing in ember-paper's translate3d mixin.
In fact, I kept note that this bug might happen in https://github.com/miguelcobain/ember-paper/issues/249:

don't use transitionend events for animation. Figure out a way to reuse ember-css-transitions "wait for animations" logic.

tl;dr transitionend events are useless and buggy.

Thanks for taking the time to explain that @miguelcobain!


Add Identity-Aware Proxy in front of Jenkins web UI

The Jenkins web UI is currently exposed to the world over plain HTTP. There are regular vulnerabilities that involve working around the application-level permissions checks in the service.
It should be possible to use IAP as a proxy that enforces authentication (using people's Google accounts). Can we use that, and also avoid dual authentication?

https://www.opcito.com/blogs/securing-jenkins-on-gke-with-iap looks like a useful reference.


Marcos aurelio - fiz uma coreção no scc

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[x] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[x] Yes
[ ] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] It's submitted to the main branch for v2.x (or to a previous version branch)
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Super legal isso

Por favor não entendi, estava errado na contribuição????


about css

Hello, how to modify CSS, dev and prov should modify which one, the other can be deleted or not?

Since this project is old, it uses Gulp to parse and compress SCSS files. When you edit files inside of the /assets/css/dev/ folder, Gulp will export the minified versions of them to the /assets/css/prod/ folder. And /_layouts/default.html uses the minified versions.


Missing colors in icons for suggestions, breadcrumbs, etc

I think these used to be blue:

vs

Version: 1.75.0-insider
Commit: d957d2ca58ded0ab70ed7fadc8a1f6a36fcf2d1e
Date: 2022-12-20T10:01:06.990Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: Yes

Ran into the same issue with my theme. After a recent vscode update the coloring of the icons is gone. I'm using the Afterglow Remastered theme.

I also cannot reproduce from source, but it still reproduces in latest Insiders using "workbench.colorTheme": "Default Light+":
Version: 1.75.0-insider
Commit: c437ec2497ccd6b5ff5b2f6da86a8042e1ed951a
Date: 2022-12-21T05:43:03.162Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.2.0
Sandboxed: Yes

Today's insiders also doesn't have colors for me, so this might be a packaging issue or something specific to my setup. @jrieken Are you able to reproduce with Insiders?

Version: 1.75.0-insider
Commit: 42814d18a7d46adfb1c24e1349b7ab18833ec6ac
Date: 2022-12-22T05:24:06.357Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.2.0
Sandboxed: Yes

Yeah, I can repro in insiders with an empty profile

This also happens in other places that show symbol icons and is only happening because of how things are ordered in the packages CSS. @alexdima what's the procedure to fix this?

While the CSS rules in a single file will remain in order when being loaded or packaged, there are unfortunately no guarantees to the CSS rules order of multiple files. That is because CSS files can't express dependencies on other CSS files, so they will be loaded or packaged in any order. The exact order depends on the internals of the AMD loader/bundler, but it isn't guaranteed to be consistent, as it can depend on fs read times, etc.
I think it is a coincidence that this works every time when running from source. The correct way to fix this is to use CSS specificity to ensure the desired rule wins.


[SPARK-50498][PYTHON] Avoid unnecessary py4j call in listFunctions

What changes were proposed in this pull request?
Avoid unnecessary py4j call in listFunctions
Why are the changes needed?
        iter = self._jcatalog.listFunctions(dbName).toLocalIterator()
        if pattern is None:
            iter = self._jcatalog.listFunctions(dbName).toLocalIterator()
        else:
            iter = self._jcatalog.listFunctions(dbName, pattern).toLocalIterator()

the first self._jcatalog.listFunctions is unnecessary
Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master/3.5.


nixos/mautrix-telegram: add new required config option

Description of changes
See #198525 for context.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Also updated the link to the example config, as it was moved into the mautrix_telegram subdirectory in 2020.


P1** Error while creating microApp

Describe the bug
Creation of micro app crashing
To Reproduce
Steps to reproduce the behaviour:

Create new turbo repo app at root folder
Choose Micro-App option
GO with default name
Error i terminal

Expected behaviour
A clear and concise description of what you expected to happen.
terminal output
What type of app you need? Micro-App
? Enter your app name? header
[02/19/2022 15:09:06PM GMT+0530] - Start creating microApp.
[02/19/2022 15:09:06PM GMT+0530] - Project Created Successfully
(node:22715) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'apps' of undefined
at getNextPort (/Users/khukumar/Documents/projects/universal-react-v2/index.js:77:56)
at initializeNewProject (/Users/khukumar/Documents/projects/universal-react-v2/index.js:631:56)
at /Users/khukumar/Documents/projects/universal-react-v2/index.js:1013:9
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:22715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:22715) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

closed with new version 0.4.0


Added N Queen Backtracking Problem in CPP

Added the code for the famous N Queen Backtracking Problem in the most optimized way using C++!

Review it please!


BUG: cannot setup local stops if > 15, no option to reduce radius

Limit set to avoid overload in case of realtime setup.
Process bliocked with statement to reduce the radius but this cannot be done for the initial setup.

Fixed with commit 20240421, reduced default range to 200 and only apply stop-count when options are set


Configure the CI to run E2E tests on Azure

What does this PR do?

Configure the CI to run E2E tests on Azure.
I created the secrets

Motivation

We are adding support for E2E tests on Azure and we will need to run them in the CI
Additional Notes

The client secret is in our 1password vault (Agent Platform)
The test framework will automatically handle the environment variable, there's nothing else to do
Similar PR in test-infra-defintions: https://github.com/DataDog/test-infra-definitions/pull/962

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Accessing data in root template + inertia_vue issue!!

laravel router
Route::get('/contact', function () {
  Khead::setTitle('acontact');
  $event = "ok this is event";
  return Inertia::render('Contact', ['eventi' => $event])
                ->with(['meta_description' => $event]);
});

inertia vue
<inertia-link href="/contact">contact</inertia-link>

when I click contact route that time return an error
BadMethodCallException
Method Illuminate\Http\JsonResponse::with does not exist.

but normal anchor tag works properly.

@mostafa6765 Do you have a reproduction repo to checkout please? 🤔

Yeah, I don't think we have enough to go on here. If you could reproduce this and share it as a repo, that would great.

github rep
production on heroku

inertia link return error. @reinink , @MichaelDeBoey

Ahh yes, this makes perfect sense. 🤦🏻♂
Chaining the ->with() method works when it's a view response (full page load), but obviously won't work on Inertia responses, since those return a JSON response, not a view response.
I think this only solution is to update the Inertia::render() function to take a second set of optional template variables.
Leave this with me.


Unrecognized React JSX component declaration

I have this type definition file (principle extracted from https://www.nuget.org/packages/material-ui.TypeScript.DefinitelyTyped/):
declare module TestMod {
  type TTestStyles = 'x' | 'y' | 'z';
  interface TestProps extends React.Props<TestClass> {
    myStyle: TTestStyles;
  }
  interface TestClass extends React.ComponentClass<TestProps> { }
  var Test: TestClass;
}

Using this definition in JSX does not work as expected:
var Test: TestMod.TestClass;

var test = <div>
  <Test myStyle='yy'/> //Display error as expected (Type '"yy"' is not assignable to type '"x" | "y" | "z")
  <TestMod.Test myStyle='yy'/> //Does not display any error
</div>

See https://github.com/Microsoft/TypeScript/wiki/FAQ#i-wrote-declare-var-mycomponent-reactcomponent-why-cant-i-write-mycomponent--

Fix pending at #7030

Fixed; you should see this in the next typescript@next build.
Thanks for the great repro!


Crash when running runtime tests with -asan or -msan.
traceback: unexpected SPWRITE function msancall
fatal error: traceback

What did you expect to see?
Either src/runtime/debug_test.go tests to pass, or skip these  with && linux && !race && !msan && !asan)

I just confirmed the same issue happens with -race, if the !race tag is removed from src/runtime/debug_test.go.
So the solution is pretty simple, add !msan and !asan to this file.

@mknyszek do you know if debugcall is intended to work with msan/asan enabled?

The debug call tests do some really weird things. I'm not really sure anyone who worked on that code thought about msan/asan when writing those tests, so I wouldn't be surprised if there are issues lurking there.


Computation of checkbits could be cleaned up

The lines that compute checkbits (the curve order or bits per dimension) currently use floating-point math, including floor(), which is not a trivial function, depending perhaps on the floating point handling, i.e. /fp:strict.
Here's an example: https://github.com/Forceflow/libmorton/blob/6d22725504388864751603424060ab1eef1ab8a4/include/libmorton/morton3D.h#L129
This code can be replaced with the following:
unsigned int checkbits = (sizeof(morton) * 8) / 3;
This uses integer division, includes no function call, and gives the same results in all cases.
The key to this working is the order of operations - doing the multiply first gives an intermediate result of 64 or 32. Dividing this by three yields 21 or 10, as desired.

Fixed in e01292d3b953e79afae80e39f059a519ba691541
The for-loop path is purely there for educational purposes (since it is the most transparent but slowest method to compute morton codes), but this is a nice improvement anyway.


Add ability to dump and load kernel implementations

Added a binary in kernels that allows to generate a dump of an implementation and a function that takes a dump, execute it and check the results. This allows more flexibility in testing new backends - reruns of candidate that failed before.

(Also, please change the title of the PR -- which is used as commit shortname by bors -- to something more explicit, e.g. "Add ability to dump and load kernel implementations")

bors r=elarnon r=ulysseB

bors retry

bors retry


ccs not loading chemistry list in pitchfork build

ccs 2.0.0 (commit 259e387)
ConsensusCore2 0.10.0 (commit ad508c2)
Copyright (c) 2014-2015 Pacific Biosciences, Inc.
License: 3-BSD

built with
$ gcc --version
gcc (GCC) 4.9.1
$ uname -a
Linux hgs4a 3.8.0-44-generic #66~precise1-Ubuntu SMP Tue Jul 15 04:01:04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

For some reason when I build ccs with pitchfork it doesn't seem to recognise the P6-C4 chemistry. I tweaked the error message with PR #144 and got the following.
>|> 20160516 11:17:38.078 -|- DEBUG      -|- main -|- 0x7f3dccc66740|| -|- Found consensus models for: ()
>|> 20160516 11:17:38.082 -|- FATAL      -|- main -|- 0x7f3dccc66740|| -|- Unsupported chemistries found: "P6-C4" Supported chemistries are: ""

Curiously I could not reproduce this error when I built this manually rather than using pitchfork.

Curiously I could not reproduce this error when I built this manually rather than using pitchfork.

This is bizarre.

This is because of the absence of various flags needed to have the compiler/linker not optimize the models away as dead code. I have no idea why the pitchfork build would break this.

I'll have another go from a clean checkout, see if I can reproduce reliably. I take it that putting attribute((used)) on the pertainant functions doesn't work?

Built from clean pitchfork checkout, reproduced the error.

https://github.com/PacificBiosciences/pitchfork/blob/master/ports/pacbio/pbccs/Makefile#L29 This is the offending line

can @mp15 give it a test?

Will give it a test tomorrow

@mhsieh Retested and this works now.
Might be worth considering making ConsensusCore2 a shared library on all platforms if you want to continue using this design pattern. I looked into alternatives and the only other proper way to deal with it (without the full archive ld command) would be with a __attribute__((section())) with a linker script and KEEP sections but that's not very portable.

Yes, that's exactly what I modified.


Add isClass for class-validator models

Is your feature request related to a problem? Please describe.
Need a way to validate JSON values against a class-validator decorated class
Describe the solution you'd like
Add isClass for class-validator models
Describe alternatives you've considered
Using class-transformer + class-validator methods is verbose and could be combined into a single function
Additional context
Need a few things:

isInstanceOf function
isType function using Object.prototype.toString.call
getType function to be used by isType
Export types from other isX spec files so we can do thorough testing

Implemented getType, isType and isInstanceOf but not isClass because validating class-validator models is outside the scope of this library


Use newlines where applicable

Makes stuff easier to review
@jospoortvliet As discussed. Please merge so I can push new changes. I wanted to keep these separate. It's not perfect but "good enough".

:+1:

Follow-up: https://github.com/owncloud/owncloud.org/pull/734


Push rejected due to database lock

Gogs version (or commit ref): <IP_ADDRESS>9
Git version: 2.7.4
Operating system: Ubuntu 16.04
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[x] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
When trying to push my latest changes to the gogs hosted repository, the update was declined due to a locked database. The push command show following errors:
$ git push
Zähle Objekte: 367, Fertig.
Delta compression using up to 8 threads.
Komprimiere Objekte: 100% (70/70), Fertig.
Schreibe Objekte: 100% (367/367), 313.59 KiB | 0 bytes/s, Fertig.
Total 367 (delta 178), reused 347 (delta 165)
remote: error: hook declined to update refs/heads/master
Gogs: Internal error
UpdatePublicKey: database is locked
To ssh://host/user/repository.git
 ! [remote rejected] master -> master (hook declined)
error: Fehler beim Versenden einiger Referenzen nach<EMAIL_ADDRESS>
On server-side the update.log showed following entry
2016/08/19 13:28:38 [...s/gogs/cmd/update.go:54 runUpdate()] [F] AddUpdateTask: database is locked

After a restart of the gogs server, I could do the push.

How do you confirm you're running which version?

I copied the version string from the bottom of admin page.

Cool.

It's just happend again. I think, I was the only user at the time of error.
On client-side I did:
$ git status
Auf Branch master
Ihr Branch und 'origin/master' sind divergiert,
und haben jeweils 1 und 2 unterschiedliche Commits.
  (benutzen Sie "git pull", um Ihren Branch mit dem Remote-Branch zusammenzuführen)
nothing to commit, working tree clean
$ git pull --no-rebase
Gogs: Internal error
UpdatePublicKey: database is locked
automatischer Merge von internal/gittest/file
KONFLIKT (Inhalt): Merge-Konflikt in internal/gittest/file
Automatischer Merge fehlgeschlagen; beheben Sie die Konflikte und committen Sie dann das Ergebnis.

On server-side following items are logged in serv.log:
2016/08/23 16:03:22 [T] Trigger task: http://<IP_ADDRESS>:3000/user/repository/tasks/trigger?branch=master&secret=8db47cbde342e87f5c41d0202b2defa0
2016/08/23 16:09:10 [...ts/gogs/cmd/serve.go:290 runServ()] [F] UpdatePublicKey: database is locked
2016/08/23 16:11:06 [...ts/gogs/cmd/serve.go:290 runServ()] [F] UpdatePublicKey: database is locked
2016/08/23 16:11:06 [...ts/gogs/cmd/serve.go:175 runServ()] [F] Failed to get repository owner (org): database is locked
2016/08/23 16:11:06 [...ts/gogs/cmd/serve.go:175 runServ()] [F] Failed to get repository owner (org): database is locked
2016/08/23 16:11:11 [...ts/gogs/cmd/serve.go:290 runServ()] [F] UpdatePublicKey: database is locked
2016/08/23 16:11:16 [T] No update task is presented: 4e27e850-f506-443a-ac20-1062b30be282
2016/08/23 16:11:21 [...ts/gogs/cmd/serve.go:290 runServ()] [F] UpdatePublicKey: database is locked

I'm not sure how to reproduce the locked database.
Sorry for German language in client-side logs.

This issue some kind of show stopper. When the database gets locked no further respository actions are possible. The only remedy is to restart the gogs server. Since there's no reproducable scenario, the emergency solution is to migrate the sqlite3 database to MySQL.
With the help of the pythom dump conversion script an sqlite3 dump can be converted to a MySQL dump.
Since my gogs database has some TEXT fields where MySQL would have VARCHAR additional conversion is necessary. However the whole conversion can be done within one bash line:
$ sqlite3 gogs.db .dump | ./sqlite3-to-mysql.py -u gogs -p newdbpassword -d gogs | sed 's/UUID/TEXT/g' | sed 's/TEXT/VARCHAR(255)/g' | sed 's/`avatar` VARCHAR(255)/`avatar` VARCHAR(2048)/g' | sed 's/`content` VARCHAR(255)/`content` TEXT/g' | sed 's/`url` VARCHAR(255)/`url` TEXT/g' | sed 's/`cfg` VARCHAR(255)/`cfg` TEXT/g' | sed 's/`description` VARCHAR(255)/`description` TEXT/g' | sed 's/`note` VARCHAR(255)/`note` TEXT/g' | sed 's/`secret` VARCHAR(255)/`secret` TEXT/g' | sed 's/`events` VARCHAR(255)/`events` TEXT/g' | sed 's/`meta` VARCHAR(255)/`meta` TEXT/g' | mysql --user=root --password=rootpassword --default-character-set=utf8

Maybe this helps others with the same problem.

SQLite is good during development but is not suited for production or multi-threaded environment. You can read more information about lock at https://www.sqlite.org/lockingv3.html and https://www.sqlite.org/threadsafe.html

From the log, I suspect ./gogs web is doing something long running task while you're pushing, that's the kind of case cause SQLite3 to report database is locked..

Currently the server serves nine repositories. The machine has a decent cpu and good network connection. So there shouldn't be any issue.
I also tried reproducing the database lock by a adding long running server side hook, but with no success.

Like what @0xbaadf00d has mentioned, SQLite is really not good for production, mainly used for miniature setups and developmental phases for it's easy of setup/installs. Can you try migrating to a proper daemonized database setup like MySQL?

Is this still an issue?

The server having the original problem has been migrated to MySQL.
I only have one instance of gogs left using a SQLite database. There I haven't seen a database lock in quite some time. However it's only me using this server. So this might not be a representative example.

Thanks for the info! ... please notify here when issue happened again with latest version.

Thanks for your DB-migration tool!

Migration between different databases and database types can be done using gogs' backup and restore function. See https://github.com/gogits/gogs/issues/2924#issuecomment-287216941 and How to backup, restore and migrate.

It seems I've got the same issue.
I'm using gogs <IP_ADDRESS>3 with sqlite database. My build system uses yocto (https://www.yoctoproject.org/), spawning 'git ls-remote' for a set of repos in parallel at startup. So I have the following errors:

...
git -c core.fsyncobjectfiles=0 ls-remote ssh://git@server/2.2:repo.git failed with exit code 128, output:
Gogs: Internal error
fatal: Could not read from remote repository.

Gogs serv.log has the following:

[FATAL] [...ogs/gogs/cmd/serv.go:160 runServ()] Fail to get repository owner '2.2': database is locked

Is it possible to fix the issue?


Wiki links broken

Wiki links are to docs rather than doc
& in doc the md files have broken links to html files (at least on main home.md)

I fixed the wiki links, but the html links will stay like this. Those markdown docs are meant to be read from the online documentation: http://rust.unhandledexpression.com/nom/home.html


Allow invoke to preserve call & context errors for retry until timeout

Currently if Invoke is called and the request is retried until a timeout, it will return a context error only. The underlying error from the service will be lost.
We can use error wrapping to preserve both errors. See googleapis/google-cloud-go#4797 for an example.

Closing as a dupe of https://github.com/googleapis/gax-go/issues/235


Remove Out-of-Date JAR file

can't delete the out of date non-1.8 one for some reason
bb41627

This PR removes UML Diagram Generator.jar.

Side note: I personally think that UML Diagram Generator 1.8.jar should also be removed from the repository and be published in the Releases page instead (like many other open-source projects on GitHub do).


Add new audio task

Add new audio task (combined scripted excerpts but without the unscripted task)

LGTM, the only consideration I'd perhaps make is to separate out the text so it is in paragraphs for each verse?

Hmm, actually very good point @afolarin. @mpgxvii can we keep the questions separate like they were but in a single questionnaire (so will have 3 audio questions instead of 1)? This also gives us samples that closely resemble the ones from CNS and other studies.


Security issue: XSS via HTTP User-Agent

Hi there !
I would like to report a security issue. The main focus of this project is to parse HTTP User-Agent and return a structured JSON containning usefull information about the client user agent.
However there is no security check when parsing User-Agent, an attacker could use this to inject javascript code to harm users or for any bad reasons. As you can see on the attached video I showed how a bad guy can exploit this by XSS and I suggested a fix to it.
PS: is it possible to send a pull request ?
Sincerely,
Taha Ibrahim DRAIDIA
express_useragent_xss.zip

I'm not sure if it's an issue. Why would anyone change their UA to ""? And why would a website make a request to server to see what browser does client use? You can do it client-side!

I'm not sure if it's an issue. Why would anyone change their UA to ""? And why would a website make a request to server to see what browser does client use? You can do it client-side!

Your first point makes no sense. People put false information in header to try to hack a system. So its normal.
Your second point is valid. If you just display that header information on your page than you are injecting the XSS. As long as you just display it in logs you are safe right?


Try BuildJet

@bestbeforetoday this is a test. They're fast and I'd like to help split repos out one by one to see if we can reduce the logjam.


Observable.throw doesn't throw the error when used inside Observable.fromPromise().catch()

RxJS version: 5.2.0
Code to reproduce:
Refer to the following two fiddles:
RxJS 5.2.0
RxJS 5.0.1
Expected behavior:
In both examples I expect there to be an unhandled error.
Actual behavior:
There is only an unhandled error if version 5.0.1 is used, subsequent versions do not seem to behave this way, including the latest version.
Additional information:
I have global error handlers in my javascript code
If I have code inside a promise, inside an observable, then perform some error handling using .catch and throw any errors I don't want to handle using Observable.throw, then the errors I throw again do not reach my global error handlers. It's as if an error wasn't thrown at all.
Actually throwing the error instead of using Observable.throw actually works, however this is not ideal, as I think Observable.throw is supposed to throw the error again. It certainly does when fromPromise isn't used, as show in this fiddle.

Closing via #2552.


scanner doesn't respect android's back button

tively I'd expect the back button to work on the scanner, even if it is a navbar page. Alternatively, the navbar should still show

not an issue anymore in 1.8.0


Setting host in Configuration causes credentials to be sent in the clear

Describe the bug
Setting host in the Configuration ctor causes credentials to be sent in the clear.
To Reproduce
Take this example:
import os

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.monitors_api import MonitorsApi

configuration = Configuration(
    host=os.environ['DATADOG_HOST'],
)
configuration.api_key["apiKeyAuth"] = os.environ['DATADOG_API_KEY']
configuration.api_key["appKeyAuth"] = os.environ['DATADOG_APP_KEY']
configuration.debug = True
with ApiClient(configuration) as api_client:
    monitors_api = MonitorsApi(api_client)
    monitors = monitors_api.list_monitors()

print('{} monitors'.format(len(monitors)))

You can tell from the debug output that we're not doing TLS:
send: b'GET /api/v1/monitor HTTP/1.1\r\nHost: <subdomain>.datadoghq.com\r\nAccept: application/json\r\n<snip>\r\n\r\n'
reply: 'HTTP/1.1 308 Permanent Redirect\r\n'
header: Date: Fri, 08 Dec 2023 23:22:03 GMT
header: Content-Length: 0
header: Connection: keep-alive
header: location: https://<subdomain>.datadoghq.com/api/v1/monitor
header: x-content-type-options: nosniff
header: strict-transport-security: max-age=31536000; includeSubDomains; preload
send: b'GET /api/v1/monitor HTTP/1.1\r\nHost: <subdomain>.datadoghq.com\r\nAccept: application/json\r\n<snip>\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Fri, 08 Dec 2023 23:22:03 GMT
header: Content-Type: application/json
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: etag: W/"721e351f3b20293a0d2bc1301301df83"
header: x-frame-options: SAMEORIGIN
header: content-security-policy: frame-ancestors 'self'; report-uri https://logs.browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pube4f163c23bbf91c16b8f57f56af9fc58&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=site%3Adatadoghq.com
header: vary: Accept-Encoding
header: content-encoding: gzip
header: x-ratelimit-limit: 1000
header: x-ratelimit-period: 10
header: x-ratelimit-remaining: 999
header: x-ratelimit-reset: 7
header: x-ratelimit-name: get_all_monitors
header: x-content-type-options: nosniff
header: strict-transport-security: max-age=31536000; includeSubDomains; preload
240 monitors

That double request is pretty clearly an HTTP→HTTPS redirect. Wireshark confirms as much. Oddly, whatever the default for host is doesn't do this, but I didn't realize until much later that setting host isn't required, see the Additional Context section. Initially, I was under the impression that configuration of what DD tenant I was was required.
Expected behavior
TLS is enabled by default … and ideally only switch off very explicitly. Certainly overriding things like hostname don't then also remove TLS, in addition…
Environment and Versions (please complete the following information):
A clear and precise description of your setup:

version for this project in use: 2.19.0
services, libraries, languages and tools list and versions: the minimal example above

Additional context
I ended up setting host almost by accident. Initially, I was getting 403 Forbidden from the API, and wasn't sure why; I was using the "Getting Started" example, and setting an API key. It turns out DD requires both an API key and an "app" key (the README does note this, but I missed that in my first pass), which is somewhat unusual. So, AFAICT, I wasn't authenticated, but since the wrong HTTP status was getting returned, that never clicked, and I tried other things (such as configuring my host) prior to returning to the what-if of "perhaps it is, indeed, authn?"
I'm not clear on why one can construct a DD client without (full) credentials without error in the first place.

Hi,
I think the confusion is that host is supposed to be a base path. Maybe we can enforce that, as the name is fairly confusing, but you don't really have any reason to use this and not the regular server name for API usage?

Something like "https://api.datadoghq.com/".


Error read/writing plugin config

Whenever I try to execute any cf command, I get the following error message:
FAILED
Error read/writing plugin config: mkdir N:.cf: Access is denied.,
My N: drive is mapped to my organizations shared Home folder. I have my own personal folder under Home to which I can write. But only the network admin has rights to the Home root.
Why is cf using N:?
How can I change it?

As a workaround, I temporarily remapped my N: drive to a local folder. But my N: drive is mapped to the network share during boot up, and I'd like to not have to remap it every time I want to use the cf cli. Where can I set the default location that cf uses away from N: to somewhere else?

@littlepd Look at $CF_PLUGIN_HOME.  When you get that error, $CF_PLUGIN_HOME is probably not set.  If you set that variable to a directory where you have write permissions, you should be OK.
If this isn't the case, repoen the issue and let us know.

Is that some sort of environment variable or something? Is it created
during installation?
Michael Daly
Senior Consultant/Developer
[image: KS2 site-logo]
KS2 Technologies, Inc.
1020 Mustang Drive | Grapevine, Texas 76051
(o)<PHONE_NUMBER> | (m)<PHONE_NUMBER> | (f)<PHONE_NUMBER>
<EMAIL_ADDRESS>| http://www.ks2inc.com
From: greg oehmen<EMAIL_ADDRESS>Sent: Monday, July 27, 2015 5:56 PM
To: cloudfoundry/cli
Cc: littlepd
Subject: Re: [cli] Error read/writing plugin config (#522)
@littlepd https://github.com/littlepd Look at $CF_PLUGIN_HOME. When you
get that error, $CF_PLUGIN_HOME is probably not set. If you set that
variable to a directory where you have write permissions, you should be OK.
If this isn't the case, repoen the issue and let us know.
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry/cli/issues/522#issuecomment-125373548.

I just encountered this issue after a fresh install of the CF CLI on Windows 7. I was able to fix it by editing the environment variables in control panel (Control Panel - System and Security - System - Advanced System Settings). Then go to "Environment Variables". Add a "New" variable under the user variables. The variable name should be CF_HOME. Make the value a directory that you can write to. e.g. the one I used (which I had created) was C:\CF. Once you press OK, you may need to close any CMD console you have and re-open it for CF to work.

I happens in cli 6.23.0 but works fine with 6.19.0 (https://github.com/cloudfoundry/cli/releases/tag/v6.19.0)

How do I report it to pivotal?

It works fine with 6.19.0 but doesn't work with 6.23.0
https://github.com/cloudfoundry/cli/releases/tag/v6.19.0


Feature/android support

Android projects are based on Java. However, the Android Gradle plugin has its own way of defining its source sets and the corresponding class paths. In an Android project it is possible to have "build flavors". This enables Android developers to build different kinds of the same Android app using the same code base. For instance a free version and a paid version of the same app.
This pull request enables Android projects to build a class diagram using this plugin. Currently, only Android projects with Kotlin are supported.

Hi,
Thanks a lot for contributing to this project! It feeds my motivation because is a proof the concept is relevant. 😊🔋
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?

Hi,
Thanks a lot for contributing to this project! It feeds my motivation because is a proof the concept is relevant. 😊🔋
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?

Hi,
Thanks a lot for contributing to this project! It feeds my motivation because is a proof the concept is relevant. 😊🔋
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?

Hi,
Thanks a lot for contributing to this project! It feeds my motivation because is a proof the concept is relevant. 😊🔋
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?

Hi,
Thanks a lot for contributing to this project! It feeds my motivation because is a proof the concept is relevant :)
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?

Hi,
I love it when documentation can be generated instead of statically
created. So thank you for setting up the project.
I just checked and locally the tests are succeeding. Later this evening I
will try to locate the issue. First I thought it was due to different JDK
versions, but it's not.
Kind regards,
Coen
On Thu, 10 Sep 2020 at 14:57, Romain Rochegude<EMAIL_ADDRESS>wrote:

Hi,
Thanks a lot for contributing to this project! It feeds my motivation
because is a proof the concept is relevant :)
I see that the Travis CI build failed and it reveals failing tests.
Did it run correctly locally?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RoRoche/plantuml-gradle-plugin/pull/17#issuecomment-690267385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA326UVOG3XT37JRUQSVPY3SFDELRANCNFSM4REQQV2A
.

Codecov Report

Merging #17 into master will increase coverage by 3.28%.
The diff coverage is 48.71%.

@@             Coverage Diff              @@
##             master      #17      +/-   ##
============================================
+ Coverage     63.21%   66.50%   +3.28%
- Complexity       31       43      +12
============================================
  Files            18       21       +3
  Lines           174      209      +35
  Branches          8       13       +5
============================================
+ Hits            110      139      +29
  Misses           64       64
- Partials          0        6       +6

Impacted Files
Coverage Δ
Complexity Δ

.../roroche/plantuml/urls/CompileClasspathUrls.groovy
33.33% <0.00%> (+33.33%)
1.00 <0.00> (+1.00)

...oroche/plantuml/tasks/BuildClassDiagramTask.groovy
62.06% <16.66%> (-7.17%)
2.00 <0.00> (ø)

...roroche/plantuml/android/AndroidProjectType.groovy
42.85% <42.85%> (ø)
5.00 <5.00> (?)

...roroche/plantuml/urls/MainOutputUrlsFactory.groovy
55.55% <55.55%> (ø)
1.00 <1.00> (?)

...e/plantuml/urls/CompileClasspathUrlsFactory.groovy
62.50% <62.50%> (ø)
2.00 <2.00> (?)

...github/roroche/plantuml/urls/MainOutputUrls.groovy
22.22% <0.00%> (+22.22%)
1.00% <0.00%> (+1.00%)

... and 3 more

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 918e50c...bf1b6e3. Read the comment docs.

Oh nice you made the build passes. Well done!
I'll perform the review within a few days.
FYI I strongly follow Elegant Objects principles: https://www.elegantobjects.org/
Some rules I can't transgress are: no null, no static, no public method without a declaration in an interface. 😉
Here are some hints about feedbacks I'm gonna make.
Happy refactor 😄

Thanks for the review. As you may have noticed I did not have the time yet to make any changes. I'll try to get around it soon.


[BUG?] VSCode Intellisense Fails To Complete Python's PyQt API Properties

Issue Type: Bug

Behaviour
Expected vs. Actual
https://github.com/microsoft/vscode/issues/142682
Steps to reproduce:

XXX

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.10.2
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
Value of the python.languageServer setting: Default

User Settings

defaultLS: {"defaultLSType":"Pylance"}

downloadLanguageServer: true

envFile: "<placeholder>"

venvPath: "<placeholder>"

venvFolders: "<placeholder>"

condaPath: "<placeholder>"

pipenvPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

linting
• enabled: false
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: true
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: false
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"

sortImports
• args: "<placeholder>"
• path: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "autopep8"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"

testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true

terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"

experiments
• enabled: true
• optInto: []
• optOutFrom: []

insidersChannel: "off"

tensorBoard
• logDirectory: "<placeholder>"

Extension version: 2022.0.1814523869
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.77GB (0.73GB free)

Process Argv
--crash-reporter-id 5c822d2e-943b-4729-a493-100d3d0ccab1

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30433059
pythonvs932:30410667
wslgetstarted:30433507
vs360cf:30404996
vsclayoutctrc:30425945
vsrem710cf:30416617
vscscmwlcmc:30433760

PyQt6 comes with its own type stubs, but they are riddled with issues. RiverbankComputing has a mailing list https://www.riverbankcomputing.com/support/pyqt but I never got any answer from them.
Personally I'd recommend just switching over to PySide6, it's the official bindings by the Qt team, they have an open source tracker, answer to and solve issues pretty quickly, and release the bindings faster after a new Qt release.

PyQt6 comes with its own type stubs, but they are riddled with issues. RiverbankComputing has a mailing list https://www.riverbankcomputing.com/support/pyqt but I never got any answer from them.
Personally I'd recommend just switching over to PySide6, it's the official bindings by the Qt team, they have an open source tracker, answer to and solve issues pretty quickly, and release the bindings faster after a new Qt release.

Amazing response! Appreciate it a lot. Thanks for yout time, information and effort. Wishing you health peace and success.


fix(pf6):  Rebase to the latest main

Rebased to the latest main and added the new ServiceCard component

Preview: https://react-component-groups-pr-component-groups-259.surge.sh


Unhandled Exception while creating JWT access token

How can I make sure that the DefultTokenService has the X509Certificate2 to sign the token with?
I am getting the following exception in the identity server log.

2015-09-24 11:29:03.072 -04:00 [Error] Unhandled exception
System.ArgumentNullException: Value cannot be null.
Parameter name: certificate
at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate, String id, Boolean clone, Boolean disposable)
at System.IdentityModel.Tokens.X509SigningCredentials..ctor(X509Certificate2 certificate)
at IdentityServer3.Core.Services.Default.DefaultTokenSigningService.SignTokenAsync(Token token) in c:\ballen\github\identity\IdSrv3\IdentityServer3\source\Core\Services\Default\DefaultTokenSigningService.cs:line 55
at IdentityServer3.Core.Services.Default.DefaultTokenService.d__c.MoveNext() in c:\ballen\github\identity\IdSrv3\IdentityServer3\source\Core\Services\Default\DefaultTokenService.cs:line 193
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at IdentityServer3.Core.ResponseHandling.TokenResponseGenerator.d__26.MoveNext() in c:\ballen\github\identity\IdSrv3\IdentityServer3\source\Core\ResponseHandling\TokenResponseGenerator.cs:line 206
--- End of stack trace from previous location where exception was thrown ---

I am following the MvcCodeFlowClientManual Client Sample. I am using in memory clients, scopes and users like the gist below.
https://gist.github.com/ryanvgates/56236be70249339c64c5
This happens after the user has gotten the authorization code and is requesting the access token with it. That code can be found in the same gist above. Please let me know if you need any additional information.

You need to set the SigningCertificate - check the walkthrough.

@leastprivilege That did the trick. Thank you for that pointer.
For anyone else that stumbles upon this issue, refer to the code in the Certificate.cs file of the AspNetIdentity_2fa project. You will need to include the idsrv3test.pfx or another .pfx file. If you do use this code, make sure that you set the Build Action to Embedded Resource for your .pfx file.

@ryanvgates or @leastprivilege Which walkthrough explains this signing certificate configuration? I'm getting this same error even though my certificate appears to be set up correctly.


Hoping to release next version

I'm waiting for next version where you have fixed the MaterialListPreference not saving the data.
The issue can be found here https://github.com/afollestad/material-dialogs/issues/852.
Thank you.

Why did you open an issue for this?

@afollestad I'm sorry but I'm eager for new version. And I replied quite a few times on previous issue page.

https://github.com/afollestad/material-dialogs/releases/tag/<IP_ADDRESS>


Windows Magnifier doesn't follow text cursor

The Windows Magnifier application does not follow the text cursor in the Windows Terminal when the text cursor follow option is enabled in Windows Magnifier. This also affects the ZoomText third party screen magnification software.

I could have sworn we had another copy of this in our issue tracker. Thanks for the report!

I suspect this was also fixed by #12210, which should be in 1.13


when i add ios is .init it is not working at all neither in android

when I add IOS in .init code is not working at all neither in android
my code is uploaded.
phonegap.zip

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


running on Mac OSX

Hi,
first of all: thanks for the effort you guys put in all of this!
Then: is this supposed to work for Godot 3.2 on Mac OSX?
I can export the VR Starter Tutorial successfully to the Oculus Quest and it starts, I hear the sound but I only see three dots in the headset.
Although it compiles and gets executed on the the Quest, there is an error in the output that says:
 core/math/quick_hull.cpp:401 - Condition "O == E" is true. Continuing.
 Can't open dynamic library: /Applications/Godot.app/Contents/MacOS/../Frameworks/libgodot_openvr.dylib, error: dlopen(/Applications/Godot.app/Contents/MacOS/../Frameworks/libgodot_openvr.dylib, 2): Library not loaded: @loader_path/OpenVR.framework/Versions/A/OpenVR
  Referenced from: /Applications/Godot.app/Contents/Frameworks/libgodot_openvr.dylib
  Reason: image not found.
 modules/gdnative/gdnative.cpp:483 - No valid library handle, can't get symbol from GDNative object
 modules/gdnative/nativescript/nativescript.cpp:1506 - No nativescript_init in "res://addons/godot-openvr/bin/osx/libgodot_openvr.dylib" found

Manually moving libgodot_openvr.dylib to /Applications/Godot.app/Contents/Frameworks/ didn't help either.
What am I missing?
For the record - my machine is still on High Sierra.
Thanks for looking into this.
Best regards,
Dirk

Hi Dirk, based on the error message you're using the openvr plugin instead of using the Quest plugin.
Here's the one you should be using: https://godotengine.org/asset-library/asset/500

oh, I see, thank you!
This was probably because I downloaded the
https://github.com/GodotVR/godot_openvr_fps project.
Is there an Oculus Starter project for Godot?
On Thu, Feb 27, 2020 at 8:18 PM Fredia Huya-Kouadio <
<EMAIL_ADDRESS>wrote:

Hi Dirk, based on the error message you're using the openvr plugin instead
of using the Quest plugin.
Here's the one you should be using:
https://godotengine.org/asset-library/asset/500
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GodotVR/godot_oculus_mobile/issues/91?email_source=notifications&email_token=AAEYV4XJBL4XIRB5UTN7XNDRFAGWXA5CNFSM4K5BHTZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFTF5I#issuecomment-592130805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYV4VD54YBS4CMRIJHK2DRFAGWXANCNFSM4K5BHTZQ
.

This repo has a demo project which can be used as a starter project under https://github.com/GodotVR/godot_oculus_mobile/tree/master/demo.
I'll close this issue since it seems to be resolved but feel free to re-open if you run into other issues.
For quick tips & advices the Godot XR discord is the recommended resource!

... worked like a charm, thank you!


Cleanup tests.

Removed excessive step from appium tests.
Changed test output dir for generate uitest command.

Just checking out why the build failed before I merge.


OTL-3190 Move operator CRD installation to the crds/ folder via a subchart to resolve Helm install ordering issues

Description:
Helm install failures occur in rare cases due to deployment order issues:

Instrumentation Object: May fail because the Operator and its webhook are not ready.
Cert-Manager Certificate: May fail because Cert-Manager is not yet initialized.

Proposed Solution

We move needed (Instrumentation) CRD installation into a new local subchart opentelemetry-operator-subchart which is only used for Helm chart installation.

Then we can stop using a post-install Helm hook to install the instrumentation.yaml.
Other OpenTelemetry charts (opentelemetry-kube-stack chart) have also taken this approach.

Testing:
TBD
Related Alernative solution: https://github.com/signalfx/splunk-otel-collector-chart/pull/1559

I have tried this fix, but the CI doesn't pass ; same problem with the operator CRDs not being installed early enough.


API Delegates might need a different attribute

I have the same motivation as you for creating a more complete managed AllJoyn API than that of Windows.Devices.AllJoyn. I started with having a look at the AllJoyn 14.06.00 C# Unity implementation and , of course, your implementation. As a test case, I do not use a sample like you do, but I started implementing the unit tests in the AllJoyn 15.09.00 core (C++) implementation. I have not tested the AboutListener  part yet, but start with the BusListener. I really got stuck! Luckily,  In the C# Unity stuff I found that (the structure containing) callbacks need pinning to make sure the garbage collector does not move them around. Apart from that I had to define the delegates with the UnmanagedFunctionPointer with parameter CallingConvention.StdCall!!! I saw your API uses CallingConvention.CDecl., so you might run in the same problems. I am no expert in P/Invoke, but thought this might help you in your efforts! By the way, I am writing my API in VB, since this is my 'native' language.

AFAIK the callbacks are being pinned, and event fires fine with either calling convention.
I've hit a different snag
I did receive this tip recently, hinting at that we need to recompile the library with the cdecl convention.

the public 15.09a sources they have the calling convention set as stdcall just as they do in msajapi.dll If you don't change that to cdecl, you can expect random problems particularly with x64 if you call any of the variadic functions like alljoyn_msgarg_get.

Currently I'm mostly struggling with getting some of the string parameters out, like this one: alljoyn_msgarg_signature which supposedly is supposed to be done with a string builder:
        [DllImport(Constants.DLL_IMPORT_TARGET, CharSet = CharSet.Ansi)]
        internal static extern UIntPtr alljoyn_msgarg_signature(IntPtr arg,
             [MarshalAs(UnmanagedType.LPStr)][Out] System.Text.StringBuilder str, UIntPtr buf);

Note: This isn't currently what is in the generated code - working on this still.

Btw shouldn't matter if the library is written in C# or VB - you can still consume it from either language. However C# definitely has the best documentation and examples to go from, and the most experts to draw knowledge from, so if you're up for some C#, I would love to get some help making this library "work". For the most part right not it's just making the interop work as I go along and wrap the classes in "nicer" .NET classes. The nice thing about the code generator for the interop is "fix once, fix everywhere", and when a new AllJoyn version comes out, I just rerun the generator against the latest source code.

I really liked your API code generator, so I just the analyze part in my code. I changed to code generation part to the codedom generator! Your generator took a lot of tedious work out of my hands, and I completely agree with your fix once, fix everywhere principle. Good job!
I am not too convinced about my C# skills, so any code I would write in C# has to be thoroughly code-inspected. But if I can contribute, I gladly will. If this will lead to a more complete  Alljoyn API, C# or not, I will surely use it!. After all, I want to use this in Home Automation  software I am trying to create.
I am esp. interested in the security features of Alljoyn, something that is lacking or rudimentary in most Home Automation solutions I have seen so far (I had a thorough look at OpenHAB).
About the pinning: as I said I have focused on the BusListener functionality The callbacks are passed to Alljoyn using a structure. . Pinning was applied to that structure.
As mentioned earlier having a look at the Alljoyn 14.06.00 C# Unity implementation can also help.
In there the marshalling is done in code (so no attributes). I included MsgArg.cs, so you can have a look at how the alljoyn_msgarg_signature function is implemented/used
MsgArg.zip

Done a lot of work on msgarg and now have a working producer and consumer. I've also moved up to AllJoyn 16.04. The cdecl issue mentioned above turned out to be a non-issue


fix: Improve transaction stats loading

Description
resolve #646
Demo
https://github.com/aeternity/aescan/assets/15363559/6730339e-d756-49c2-8275-76c5ad9b8d7e
Checklist:

[x] I have read and followed the Contributing Guide
[x] fix transaction loading
[x] fix content jumping of footer

Works now @Liubov-crypto

LGTM


YII2 Cookies are using unsecure method

Cookie “_identity-backend” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Maybe in File:
./backend/config/main.php:26:            'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true],

Fixed with Commit


Rework tooling

Review-note: this (again) reformats our JSONs ... we should decide on how much we want to re-work (or just accept as is)

[ ] Fixed unreachable LOGGER line in test_init (from pylon)
[ ] Ignored a few lints (see connected issue, not fixing in this PR)
[ ] Generating fixtures is optional (as to not regenerate and infinite-loop (again))
[ ] p1v4 data apparently was not regenerated (started with a fresh fixtures environment
[ ] we should double-check with #663 but they might run the same circle (couldn't commit without it obviously)
[ ] leveraging ruff action flow from https://github.com/astral-sh/ruff-pre-commit (using the 'with-fix' approach)

We might need to add another issue for fixing JSON (i.e. maybe not fix it in this already big PR)

Summary by CodeRabbit

New Features

Introduced a new device configuration for a "heater_central_plug" in the JSON structure.

Bug Fixes

Enhanced error handling in various test cases to ensure proper exception management for connection failures.

Documentation

Updated comments and formatting for improved readability across various files.

Refactor

Improved code formatting and readability in multiple test files and JSON configurations.
Streamlined JSON structures by consolidating multi-line arrays into single-line formats for better readability.

Chores

Adjusted configuration settings in pyproject.toml for linting and formatting tools.

Note: pre-commit.ci disabled for this repo as well

Added additional checks for review in checklist form at the top ^^^


build: don't install include/BUILD.bazel

closes #1104

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

Comparison is base (fedcb92) 100.00% compared to head (9c7136e) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1107   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          152       152
  Lines        25341     25341
=========================================
  Hits         25341     25341

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


Better Handling Of Missing Configuration Files

Closes #83. This PR attempts to load all available room and level generators defined by both internal themes and any installed mods. It displays them in the Generate Room and Generate Level menu. So no hard-coded entries anymore.
Note: We do not check if the room generators are valid or perform any other checks.

This doesn't seem to be pulling in themes from mods, had the base game data in a folder in a mod and it didn't list anything in either dropdown.

@Interrupt I changed Game.getFile to Game.getInternal. My tests worked with that as well. Would be interesting to know how it behaves for you now.


feat(usability): Attempt for easier usability

Motivation
Improve usability for InternEvo framework to facilitate integration of third-party or user-defined models.
Modification

Optimize checkpoint load/save logic

provide unified logic and interface for loading (via load_hf_weights) and saving (via convert_internevo2hf_weights) huggingface checkpoint format
provide unified configuration for load/save hf ckpt
provide base abstract model class (via BaseModel) for all modeling_xxx.py

Optimized trainer_builder.py

more readable and self-documented

Added model checker (via check_model)

check whether nn.Linear and nn.Embedding are replaced with the parallel modules ParallelLinearWithCommExt and Embedding1D.
automatic hack will be enabled if you define hack_mode in model config. The hack is automatic by default, but it can also be interactive if hack_mode=interactive.

Refined streaming dataloader

BC-breaking (Optional)
None
Use cases (Optional)
None
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Done.

Done and ready for merge.

Done and ready for merge.

Done.

Done.

Done.

Done.


[BUG] Hiding an objective doesn't hide it

Module Version: v0.5.3
Describe the bug
This is a copy of https://github.com/Forien/foundryvtt-forien-quest-log/issues/113. There was zero acknowledgement of this bug over there (perhaps the Leauge doesn't have permission?) so I wanted to copy it over here to see if this could get some attention.
Hiding an objective by pressing the "eye-con" doesn't actually hide it from players. I have all my players configured as "trusted players" and they can still see the hidden objectives.
To Reproduce
Steps to reproduce the behavior:

Go to 'quest log"
Click on 'new quest' & fill in some info
click on new objective. Fill in info and make it hidden.
The quest should be "active"
log in as a trusted player and view the quest. You can see the objective

Expected behavior
Hidden objectives should be visible only to the GM and assistant GMs until such a time as the objective is made visible.
Screenshots

Browser:

Chrome

Foundry Version:
0.7.8
Game System:
HarnMaster
Additional context
Add any other context (like other modules installed) about the problem here.

I found out that it works as expected when you have "Allow Players to edit Quest Details" disabled (as in my screenshot below).
So, if you don't really need it, it may be an work around for a time being to hide hidden quests.

Agreed. I've updated my quests and they work as I want.


sea-orm-cli: does not recognize SQL Date on Postgres

sea-orm = {
  version = "^0.2.4",
  features = ["sqlx-postgres", "macros", "runtime-async-std-native-tls", ],
  default-features = false
}

sea-orm-cli: 0.2.4

Creating a Postgres tables with:
Postgres sql:
create table stores
(
	...
	opening_date date not null,
	...
);

Generating entities by sea-orm-cli
sea-orm-cli generate entity
-u postgres://user:password@host:port/postgres
-o src/entity

results in:

#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
#[sea_orm(table_name = "stores")]
pub struct Model {
    ...
    pub opening_date: String,
    ...
}

executing:
let orm = entity::stores::ActiveModel {
	    ...
            opening_date: Set(input.open_date.to_owned()),
            ...
        };

🚨 leads to:
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `NaiveDate`

As expected, manually replacing String with Chrono:NaiveDate fixes the error. But the CLI produces every time again String as type for SQL Date.

Hey @shi-rudo, thanks for the feedback! Just found the faulty lines. I will create a PR fixing it ASAP.
https://github.com/SeaQL/sea-orm/blob/632290469b649d40b45760ff00f687a1467c5508/sea-orm-codegen/src/entity/column.rs#L30-L31

Please change... for now
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
#[sea_orm(table_name = "stores")]
pub struct Model {
    ...
    pub opening_date: Date, // Change `String` to `Date`
    ...
}

thanks for the fast response!
By the way, the same thing happens with SQL Time pub opening_time: String should be Time resp. NaiveTime Just a note in case you didn't notice this type in the next PR.

Yes, I will fix both NaiveDate & NaiveTime mappings. Thanks!!


Teradici: Added functionality to query and delete inactive collectors

Teradici: Added functionality to query and delete inactive collectors

Added in https://github.com/SumoLogic/collector-management-client/pull/16


test: bump grpcproxy pass timeout to 15m

integration tests have a 15m timeout elsewhere. The lease stress tests
seem to have pushed the running time over 10m on proxy CI, causing
failures from timeout.

lgtm

lgtm


Please run pip check on the "conda" based tests

I noticed in https://github.com/conda-forge/pandas-gbq-feedstock/pull/47 that we don't have the necessary version of google-cloud-bigquery-storage on conda-forge, but our conda-based tests were still passing. We should catch when our dependencies need to be updated in conda-forge here.

python -m pip check [options]


listener: fix tls inspector's maxReadBytes() return type

Signed-off-by: He Jie Xu<EMAIL_ADDRESS>Commit Message: listener: fix tls inspector's maxReadBytes() return type
Additional Description:
Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: no

cc @moderation

Fix the issue mentioned here https://github.com/envoyproxy/envoy/pull/17395#issuecomment-1082618478