Dependabot@2 "unknown package manager: npm" and "update_not_possible" errors

Describe the bug
I've tested swapping Dependabot@1 with Dependabot@2, but I encounter errors that prevent PR's from being created.
I've tested on two different projects/configs, and they gave two different errors. First one seems to fail because of
cli | 2024/10/01 07:08:55 updater failure: unknown package manager: npm
Second project fails because of:
2024-10-01T07:15:34.8621268Z updater | | coverlet.collector | update_not_possible |
I've confirmed that the same projects/configs successfully create PR's with Dependabot@1
Categorization

[x] This is not a permissions issue (Seek help at https://github.com/tinglesoftware/dependabot-azure-devops/discussions/1245)

Repository
private company repo
To Reproduce
Steps to reproduce the behavior:

Trigger the pipeline
Dependabot throws error and doesn't create PR

Expected behavior
PR's are created
Extension (please complete the following information):

Host: [Azure DevOps]
Version [<IP_ADDRESS>7]

Logs
Project 1
Starting: Update dependencies - Project Automation
==============================================================================
Task         : Dependabot
Description  : Automatically update dependencies and vulnerabilities in your code using [Dependabot CLI](https://github.com/dependabot/cli)
Version      : 2.35.947
Author       : Tingle Software
Help         : https://github.com/tinglesoftware/dependabot-azure-devops/issues
==============================================================================
Dependabot CLI install was not found, installing now with `go install dependabot`...
/usr/bin/go install github.com/dependabot/cli/cmd/dependabot@latest
go: downloading github.com/dependabot/cli v1.54.0
go<EMAIL_ADDRESS>requires go >= 1.22.3; switching to go1.22.7
go: downloading go1.22.7 (linux/amd64)
go: downloading github.com/MakeNowJust/heredoc v1.0.0
go: downloading github.com/spf13/cobra v1.8.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/docker/cli v26.1.4+incompatible
go: downloading github.com/docker/docker v26.1.4+incompatible
go: downloading github.com/goware/prefixer v0.0.0-20160118172347-395022866408
go: downloading github.com/hexops/gotextdiff v1.0.3
go: downloading github.com/moby/moby v26.1.4+incompatible
go: downloading github.com/moby/sys/signal v0.7.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/moby/term v0.5.0
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/docker/go-connections v0.5.0
go: downloading github.com/docker/go-units v0.5.0
go: downloading github.com/moby/docker-image-spec v1.3.1
go: downloading github.com/containerd/containerd v1.7.18
go: downloading github.com/containerd/log v0.1.0
go: downloading github.com/klauspost/compress v1.17.9
go: downloading github.com/moby/patternmatcher v0.6.0
go: downloading github.com/moby/sys/sequential v0.5.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/sys v0.21.0
go: downloading github.com/opencontainers/image-spec v1.1.0
go: downloading github.com/distribution/reference v0.6.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0
go: downloading go.opentelemetry.io/otel/trace v1.27.0
go: downloading go.opentelemetry.io/otel v1.27.0
go: downloading github.com/moby/sys/user v0.1.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.27.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/go-logr/logr v1.4.2
go: downloading github.com/go-logr/stdr v1.2.2

Running Dependabot update job '/tmp/dependabot-jobs/update-0-npm-all/job.yaml'...
/home/vsts/go/bin/dependabot update --file /tmp/dependabot-jobs/update-0-npm-all/job.yaml --output /tmp/dependabot-jobs/update-0-npm-all/scenario.yaml
    cli | 2024/10/01 07:08:54 Skipping Azure Artifacts credentials for npm package manager.
    cli | 2024/10/01 07:08:54 updater failure: unknown package manager: npm

##[error]Dependabot failed with exit code 1
Running Dependabot update job '/tmp/dependabot-jobs/update-1-npm-all/job.yaml'...
/home/vsts/go/bin/dependabot update --file /tmp/dependabot-jobs/update-1-npm-all/job.yaml --output /tmp/dependabot-jobs/update-1-npm-all/scenario.yaml
    cli | 2024/10/01 07:08:54 Skipping Azure Artifacts credentials for npm package manager.
    cli | 2024/10/01 07:08:55 updater failure: unknown package manager: npm

##[error]Dependabot failed with exit code 1

Project 2
2024-10-01T07:15:17.5674120Z updater | 2024/10/01 07:15:17 INFO <job_update_0_nuget_all> Checking if coverlet.collector 6.0.0 needs updating
2024-10-01T07:15:17.5675182Z updater | 2024/10/01 07:15:17 INFO <job_update_0_nuget_all> Ignored versions:
2024-10-01T07:15:17.5676115Z updater | 2024/10/01 07:15:17 INFO <job_update_0_nuget_all>   version-update:semver-major - from
2024-10-01T07:15:17.7109017Z   proxy | 2024/10/01 07:15:17 [598] GET https://api.nuget.org:443/v3/registration5-gz-semver2/coverlet.collector/index.json
2024-10-01T07:15:17.7392069Z   proxy | 2024/10/01 07:15:17 [598] 200 https://api.nuget.org:443/v3/registration5-gz-semver2/coverlet.collector/index.json
2024-10-01T07:15:17.8888641Z   proxy | 2024/10/01 07:15:17 [600] GET https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.0/coverlet.collector.nuspec
2024-10-01T07:15:17.8915472Z   proxy | 2024/10/01 07:15:17 [600] 200 https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.0/coverlet.collector.nuspec
2024-10-01T07:15:18.0379202Z   proxy | 2024/10/01 07:15:18 [602] GET https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.2/coverlet.collector.nuspec
2024-10-01T07:15:18.0417981Z   proxy | 2024/10/01 07:15:18 [602] 200 https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.2/coverlet.collector.nuspec
2024-10-01T07:15:18.0483783Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Latest version is 6.0.2
2024-10-01T07:15:18.0489742Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Requirements to unlock all
2024-10-01T07:15:18.0491358Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Requirements update strategy
2024-10-01T07:15:18.0497935Z updater | Finding updated dependencies for coverlet.collector.
2024-10-01T07:15:18.1931136Z   proxy | 2024/10/01 07:15:18 [604] GET https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.2/coverlet.collector.nuspec
2024-10-01T07:15:18.1932329Z   proxy | 2024/10/01 07:15:18 [604] 200 https://api.nuget.org:443/v3-flatcontainer/coverlet.collector/6.0.2/coverlet.collector.nuspec
2024-10-01T07:15:18.1989947Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Updating coverlet.collector from 6.0.0 to 6.0.2
2024-10-01T07:15:18.2069725Z   proxy | 2024/10/01 07:15:18 [605] POST http://host.docker.internal:36499/update_jobs/update_0_nuget_all/record_update_job_error
2024-10-01T07:15:18.2079118Z {"data":{"error-type":"update_not_possible","error-details":{"dependencies":["coverlet.collector"]}},"type":"record_update_job_error"}
2024-10-01T07:15:18.2102228Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Handled error whilst updating coverlet.collector: update_not_possible {:dependencies=>["coverlet.collector"]}
2024-10-01T07:15:18.2103630Z   proxy | 2024/10/01 07:15:18 [605] 200 http://host.docker.internal:36499/update_jobs/update_0_nuget_all/record_update_job_error
2024-10-01T07:15:18.2621684Z updater | 2024/10/01 07:15:18 INFO <job_update_0_nuget_all> Creating a pull request for 'Project-dependencies'

2024-10-01T07:15:34.8617054Z updater | +------------------------------------------------------------------------------------------------------------------------------------+
2024-10-01T07:15:34.8618219Z updater | |                                                Changes to Dependabot Pull Requests                                                 |
2024-10-01T07:15:34.8618687Z updater | +---------+--------------------------------------------------------------------------------------------------------------------------+
2024-10-01T07:15:34.8619081Z updater | | created | Azure.Identity ( from 1.11.4 to 1.12.1 ), xunit ( from 2.9.1 to 2.9.2 ), Microsoft.Azure.Functions.Worker.Extensions.... |
2024-10-01T07:15:34.8619586Z updater | +---------+--------------------------------------------------------------------------------------------------------------------------+
2024-10-01T07:15:34.8620054Z updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
2024-10-01T07:15:34.8620391Z updater | +------------------------------------------+
2024-10-01T07:15:34.8620731Z updater | |      Dependencies failed to update       |
2024-10-01T07:15:34.8621047Z updater | +--------------------+---------------------+
2024-10-01T07:15:34.8621268Z updater | | coverlet.collector | update_not_possible |
2024-10-01T07:15:34.8621556Z updater | +--------------------+---------------------+
2024-10-01T07:15:35.7247151Z   proxy | 2024/10/01 07:15:35 Skipping sending metrics because api endpoint is empty
2024-10-01T07:15:35.7254015Z   proxy | 2024/10/01 07:15:35 54/888 calls cached (6%)
2024-10-01T07:15:36.2147821Z     cli | 2024/10/01 07:15:36 updater failure: updater exited with code 1
2024-10-01T07:15:36.2156346Z
2024-10-01T07:15:36.2200385Z ##[error]Dependabot failed with exit code 1
2024-10-01T07:15:36.2208452Z ##[error]1 update job(s) failed, check logs for more information
2024-10-01T07:15:36.2258031Z ##[section]Finishing: Update dependencies - Project

@Ossiam thanks for the report.

Project 1 will be fixed by https://github.com/tinglesoftware/dependabot-azure-devops/pull/1377; This will be in the next release.
Project 2 might be a dependabot-core issue; I don't see anything obvious in the logs to suggest why the update is not possible, unless the logs from the native NuGet updater have been omitted? Would you be able to try again with the following experiments configured: nuget_native_analysis=true,nuget_dependency_solver=true; In my own testing, enabling these have given me much more accurate updates for NuGet projects.

If this doesn't fix your issue, would you be able to provide the minimum amount of your dependabot.yaml and *.csproj/*.props file that would allow me to reproduce the update?

@rhyskoedijk Thanks for the quick reply!

I'll eagerly await this PR before I switch then
It actually worked wonderfully, thank you!

Just want to ask:
Is useUpdateScriptvNext flag still needed for groups to work?

Just want to ask: Is useUpdateScriptvNext flag still needed for groups to work?

When using dependabot@2, no.
Unsupported features and configurations details what is supported in each version of the task.


pyglet.window.Window : is it possible to change style ?

Hello there,
I am trying to create a window with pyglet that can altern between borderless-maximized window and regularly-maximized window.
By reading the documentation (and pyglet/window/win32/__init__.py) I found that we can not easily altern between these styles.
I am using for now the window.set_fullscreen() method but I have a problem with this method : while being fullscreen the window takes all the focus of the screen, even when the program is not captioned anymore (example : when I alt-tab i can't see my others running progams, ide or else, the pyglet window is freezed on the screen).
In comparison, a pyglet borderless-maximized is exactly what i'm looking for because of this non-focus parameter.
Is there any way I can achieve this ?
What are exactly the differences between a borderless-maximised and fullscreen window ?
I found nothing on the docs but maybe it's explained somewhere soo forgive me please 🙏 😄
I am using pyglet 1.5.8 with python 3.6.4
PS: I am french so sorry for the potential language mistakes ^^*

Hi deltasfer,
I don't think most platforms support changing the Window style after creation.
For many games/applications, the Window is re-created instead.

Window.close() the old window.
Create a new Window, with the new style.

What are exactly the differences between a borderless-maximised and fullscreen window ?

Generally speaking, "fullscreen" will change the monitor resolution. "borderless maximized" does not change the resolution. It just makes a borderless window, that is the same size as the desktop resolution.

Hmm i see..
The problem is that I defined my application as a child class of pyglet.window.Window.. soo I can't close the window and re-create it with the style without re-creating an instance of my App class isn't it?
My main.py is made pretty much like that :
import pyglet

class App(pyglet.window.Window):

    def __init__(self):

        style = None
        super(App,self).__init__(style=style)

        pyglet.clock.schedule_interval(self.gameloop,0.0000000000001)
        pyglet.app.run()

    def myothersfunctionsoftheclass():
        #...

    def on_key_press(self,symbol,modifiers):

    def gameloop(self,dt):

        # events
        # clear
        # draw
        # refresh

def main():
    app = App()

if __name__ == '__main__':
    main()

Yes, you wouldn't be able to do that if you're subclassing. Subclassing Window is simple and fine for most cases, but not something like this. You could just define Window as an attribute of App, and just push your event handlers. Something like this:
class App:

    def __init__(self):
        self.window = pyglet.window.Window()
        self.window.push_handlers(self)

        pyglet.clock.schedule_interval(self.gameloop, 1/120)
        pyglet.app.run()

    def myothersfunctionsoftheclass(self):
        pass

    def on_key_press(self, symbol, modifiers):
        if symbol == pyglet.window.key.SPACE:
            new_window = pyglet.window.Window(style=pyglet.window.Window.WINDOW_STYLE_BORDERLESS)
            new_window.push_handlers(self)
            self.window.close()
            self.window = new_window

    def gameloop(self, dt):
        self.window.clear()

def main():
    app = App()

if __name__ == '__main__':
    main()

All right then I will try this !
Thank you for your help <3


Improve tests

The pr will be merge now, the last commits were just to improve test coverage. Instead of doing that this way, I prefer to implement new features and improve coverage in same time (in same commit)


ProgressBar percentage visibility in editor parameters

Currently there is no option to change the visibility of the percentage from the editor. The only way to do that is via code. It would be nice to have that option in the inspector

After a quick check, I can confirm this property is already accessible from the Inspector:

Fixed for 2.0 then it seems.


Dilato: Core: The code for the URL baidu.com can't be loaded

Steps:

Launch Brackets 1.13
Press ctrl+shift+O for win and cmd+shift+O for mac
Input the URL: https://www.baidu.com/

Result: The whole code can't be loaded
Expected: The whole code could be loaded

Build: 1.13.17668-1023

@Zhanxin It seems the whole code is loaded. Brackets show 749 lines in your screenshot (the same as source of that website). Can you scroll down and see?

@boopeshmahendran Thanks a lot for the explanation. Yes, we could see the code after scroll down the panel. But in fact, there is no such spaces on website. Shall we remove the extra spaces? So much spaces is not good user experiences.

@Zhanxin Actullay the source of the mentioned website does contains spaces. Right click -> View Page source. You are seeing the DOM Explorer which removes the extra spaces.

Thanks a lot for the explanation. Close this issue.


ci: change routing format

Change routing format to work better with FAM.  This is intended to fix anything that involves FAM in our PR deployments.

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend
Frontend
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

Wrong idea for working with FAM.  Closing.

This idea is being shot down again!  Closing.


Repeated execution of callonce when combined with Scenario Outline and CSV file

Hi !
First of all, great work with Karate! We're using it for all of our functional tests and little by little testing more complex stuff with it.
I think I could've found a bug. Some of our tests were inserting test data before starting and we noticed they were failing at the start stage because duplicated data was found in the test DB  (is an isolated DB just for test, and each of our tests is in charge of inserting the data it needs and then cleaning the house when it ends).
We realized that the failing tests were those using the combination of Scenario Outline + reading those elements from a CSV + using callonce to do that only once for the whole Feature, and that the issue comes by the test calling what it's inside callonce 3 times instead of 1 expected.
As what we do in "callonce" is to insert the test data in DB and this is called 3 times in a row, the test fails at that point because the tables expect unique ids, so the second batch of insertions make the process to stop and thus the test to fail.
Also, I noticed that when I use Gradle "test" task it is much harder to reproduce, but when I use instead my IDE (IntelliJ) or just the command line (with org.junit.runner.JUnitCore) I can reproduce it 100% of the time.
I created a project with the minimal possible example and attach it here, as well as the logs of the execution of that project using Gradle (execution of callonce only happens once) and using JUnitCore (callonce called 3 times).
I also tried to debug myself the lib's code and see that it could be related with the JUnit runner gathering the description of the features and thus calling the init() method in the Feature constructor, but this is just a guess after taking a very quick look, so don't really have any idea if it's related, just tell in case it could help.
Thanks again !
Miguel
karatetest.zip
JUnitCore.log
Gradle.log

@charro thanks for the details. yes there was a bug with the combination of JUnit4 and the "dynamic" scenario outline, BTW you shouldn't see this in JUnit5 or when using the parallel runner, which is what all teams should be using for CI - so do consider that.
anyway should be fixed in develop it would help if you can test locally, instructions here: https://github.com/intuit/karate/wiki/Developer-Guide

Cool, thanks! I will update to the 0.9.6 then. And about your comment, yes, you are right, and actually we've started already the migration to all of our tests to JUnit 5 recently.

@charro great ! I will keep this ticket open until we release 0.9.6 final, just F Y I - we plan a 0.9.6.RC2 within a day or two

0.9.6 released


OCM-10712 | tests: fix id:75210

OCM-10712 | tests: fix id:75210
$ ginkgo --focus 75210 tests/e2e/
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.11.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: ROSA CLI e2e tests suite - /home/akanni/OCP-Repository/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 191 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSS
Ran 1 of 191 Specs in 13.370 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 190 Skipped
PASS
Ginkgo ran 1 suite in 20.99510188s
Test Suite Passed

/test e2e-presubmits-pr-rosa-hcp-advanced

/retest


Tasks stats dont tally

In the krakatoa task there are a total of 11,687 issues.
And while totaling the counts from every contributor:

Edited: 13,138
Fixed: 11,728
Skipped 1,049
Not an error: 558

The numbers don't seem to add up in any way to the total. The number of issues not fixed would be total - fixed which comes out to be negative. @tristen @aaronlidman some other way to compute this?

Yeah I'm aware of this. It doesn't line up for a number of reasons, the main one being that when we update the data the old counts for each action is preserved but the total is reset. Which makes sense but I'm not sure how else to convey that.
This will require work around swapping out data: https://github.com/osmlab/to-fix-backend/issues/6

https://github.com/mapbox/data/issues/1053#issuecomment-123134117


Fix #4520

Fix #4520

Sorry this fell off the radar. If you rebase this real quick I'll be able to merge it in no time. Right now our internal tool is complaining cause it hasn't been rebased in a while so @facebook-github-bot can't import it.

Fixed it in https://github.com/facebook/flow/commit/40b01b0f309be46ae4f73941339e272c9d58307e


Fix pre-commit checks

Address all the feedback that is given when running:
$ pre-commit run --all-files

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

Project coverage is 87.24%. Comparing base (a825c3f) to head (f49df6c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
- Coverage   87.58%   87.24%   -0.35%
==========================================
  Files           6        6
  Lines         580      580
==========================================
- Hits          508      506       -2
- Misses         72       74       +2

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


Update the documentation to include "ctc-decoding"

This PR is a response for #59.
I mainly modify the decoding part in conformer_ctc.rst and add 'ctc-decoding' to the decoding part.
I wonder if it is necessary to modify the pretrained.py to support ctc decoding and make tdnn_lstm_ctc to support ctc decoding. If do this, it seems many changes are needed.

Thank all of your suggestions. It has been modified. I think this docs can be merge first. I will build a PR when pretrained.py and tdnn_lstm_ctc support ctc decoding.


"|" causes syntax error

i am trying to use the pipe operator similarly to: https://neo4j.com/docs/cypher-manual/current/clauses/match/#match-on-multiple-rel-types
MATCH (wallstreet {title: 'Wall Street'})<-[:ACTED_IN|DIRECTED]-(person)
RETURN person.name
but it gives me syntax error.
is this operation supported? and if not:

what are alternatives?

if so:

is it supported for traversal as well, i.e. [:ACTED_IN*|DIRECTED*]

and more in general: the documentation does not make reference to the cypher specification the AGE adheres to. i am going through neo4j doc in order to figure that out, but i am not sure why there is no real doc about it on the AGE official website.

Hey, this is a duplicate of https://github.com/apache/age/issues/1714 , there's a workaround there but no resolution.
More broadly AGE should support OpenCypher, which does have some differences from Neo4J's Cypher implementation.

Alright, thanks for the info. If this is a duplicate it could be closed I guess?


Pass Node-RED message to Python script

Allow something like print(msg['payload'])
fix https://github.com/404background/node-red-contrib-python-venv/issues/4

Thank you @Alkarex !
I read your code. I think it is a good idea to use python exec to read the msg.payload value.
I installed the repository you Forked into Node-RED and got some errors.
The first error was a missing python file error, which was caused by the missing tmp folder.
This was my mistake, I have fixed this with a .gitignore.

The second error was a syntax error when executing the command.
Have you encountered this error?

I will try to solve this error and write the Python code that was written in the command in the new file.

Ah, this is probably due to running on Windows.
Let me try something

Thank you @Alkarex !
I had the same error after that, but it was solved.
I tried it with a short command.
It seems that the error occurs depending on the type of quotation:

I fixed it for line 19 in the node/venv.js file.:
const command = `${pythonPath} -c 'import base64;import json;msg=json.loads(base64.b64decode(r"${message}"));exec(open(r"${filePath}").read())'`

↓
const command = `${pythonPath} -c "import base64;import json;msg=json.loads(base64.b64decode(r'${message}'));exec(open(r'${filePath}').read())"`

I can run it in my environment.
Could you try it?

Could you show the error message you get in Node-RED when running with the original quotes?

@Alkarex
It was the same as the second error message when running with the original quotes.

After fixing the quotations, I was able to run it!

Your suggestion also works for me, so fine

Thank you @Alkarex !
I will merge this pull request, and release as a new version.


Finish Release for Hedera-The-Graph 0.1.0

Problem
we need to close 0.1.0 release and start 0.2.0
Solution
Define a process for the release, since is the first release ever for this repo.
Alternatives
No response

Release 0.1.1 is Ready, and main has 0.2.0-SNAPSHOT
Whole process was documented here:
https://www.notion.so/swirldslabs/Release-Process-dbfb2a059ba2423b80de4a52e5d6370c


die: Add version 2.05

Project: https://github.com/horsicq/Detect-It-Easy

/verify

Was there meant to be a question with that screenshot?

Sorry if I missed it, but are you waiting on anything else from me?

What are these folders? Why there are not persisted? Why there are not configured into one folder which is then persisted?

I don't know what all of them are for, but they are all provided by the app and until https://github.com/lukesampson/scoop/pull/3212 or some sort of merge support is added persisting them would miss out on updates. There is a comment in the manifest stating as much, but it's towards the bottom since I didn't know where best to put it.
db and scripts, and maybe editor, are the main ones that may contain user entries, qss has themes, the others are static information/help content that probably don't need persisted.

Closing in favour of #5487


Update link in README to contain branch in the URL

Hi @mattmattox, we have a number of links using the master branch so it might be best to keep it consistent, any thoughts?

Oops, just noticed this link had already been updated in the current README https://github.com/rancherlabs/support-tools/pull/69


Fix reference in DefaultRunAsPolicy

You had a reference in the DefaultRunAsPolicy to run as MyDefaultUser, but didn't define that user in the Principals.  Not sure if that'll work or not.

Hi @chrisbardon, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@msfussell Hey Mark, can you please review this contribution? If it's appropriate, merge conflicts will need to be resolved.

This change is correct and should be merged into the document.

@chrisbardon - Thanks for the update/correction!


[HUDI-2297] Estimate available memory size  accurately for spillable map.

What is the purpose of the pull request
Estimate available memory size for spillable map accurately to avoid OOM.
For spark engine, there is always more than one task running on the executor and each task maintains a spillable map. The old way doesn't consider this situation and results in OOM.
Brief change log

Modify the way to estimate spillable map available memory in IOUtils

Verify this pull request
unit test cannot cover
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@rmahindra123 could you review this quickly?

@rmahindra123 : a gentle reminder to review the PR.


fn put_8tap_c: Deduplicate w/ generics and cleanup/re-translate, including macros used

src is left as a raw ptr due to the negative offset.  It's easier to wait to fix it once the pointers become slices top-down than to figure out exactly how to adjust the indices and calculate the length here.

Did you make changes to the C code in order to convert the macros to functions? If so could you also include those changes in this PR?

Did you make changes to the C code in order to convert the macros to functions? If so could you also include those changes in this PR?

No, by re-translate I meant human translation.  I just ported these by hand and figured out the types from the call sites.


Handle iOS status bar changes properly

This fixes an issue where the "in call" statusbar would not correctly resize the window. It only resolves the issue if the user uses a ClientPanel - normal panels or raw elements do not scale accordingly, as they lack the TopFrame handlers.
Test
There are two cases for testing, both only apply to iOS apps that have ClientPanel

Start an application with a ClientPanel without being in-call

toggle in-call on and off

Start an application with ClientPanel with being in-call

toggle in-call on and off

This PR contains:

[x] Changelog
[x] Documentation
[x] Tests

Closing as abandoned.  Other status changes have come since then, so I can't isolate the issue this PR may still address.


Update toc.yml

Hi @Juliako - This PR was opened in the public repo. Do you want to move it to the private repo? Or we can merge it as a one-off. Thanks.


Recreate detect.py from YOLOv5 repo for YOLOv5 package

In the YOLOv5 repo, there is a file which is used to run the detections (detect.py). We need to recreate this file with a function that can extract the information about each detection so that we can pass it to deep sort to run the tracker.
I'll update this with more info as it becomes available.

In this file: https://github.com/ultralytics/yolov5/blob/master/detect.py lines 102 to 107 return the detections of the current image.

For this story, we should

Throw a friendly exception if the inference folder is not found. Create the inference folder and ask for images to be populated inside.
Allow selecting which model to download.
Create a models folder where models will be stored instead of the base directory.
See if the hack from lines 15-19 are required.
Remove model file from yolov5 directory.

For this story, we should

Throw a friendly exception if the inference folder is not found. Create the inference folder and ask for images to be populated inside.
Allow selecting which model to download.
Create a models folder where models will be stored instead of the base directory.
See if the hack from lines 15-19 are required.
Remove model file from yolov5 directory.


(under development) Draft docstring spec

The spec may not be formatted properly and may not be in the right place.
Here is a draft spec that we could improve and consider including.

@nicholasloveday @rob-taggart @Steph-Chong @durgals please all feel free to comment on this one. If you can focus on the content of the spec, I'll worry about where to file it and link it in later.

Partly motivated by #619

I'll do a thorough review later, but it looks like "Parameters:" needs to be added.

Sometimes people like to add a "Notes" section - I think "Notes" has to be in the right place (so to speak) to not break the readthedocs rendering. So it might be worth noting where to add an optional "Notes" section if it is wanted.

I would also add a comment about backtick rendering in API docstrings (with a note that this only applies to API docstrings)

I am also going back and forth on the merits of a comment about dot point rendering in API docstrings in readthedocs. Rendering of dot points in the API docstrings in readthedocs are particularly finicky. So, from that point of view, guidance might be helpful.
However, I am not sure we actually understand all the dot point rendering rules. Our usual approach to non-rendering dot points in the API docstrings is to (a) add an empty line above the dot points, and (b) if that doesn't work, just keep trying things until it does work. So if we did include a note, I am not sure what we should actually say about dot point rendering in the API docstrings...
But I wanted to raise it, in case anyone has thoughts on whether this is worth specifically mentioning (and if so, what we should actually say).

This might be too complicated for this document - but should the spec include a comment about not indenting items underneath already indented items? (When the API docstrings are rendered in readthedocs, indenting an item underneath an already indented item frequently causes it to be rendered in a large grey box).
This is another frequent rendering issue in the API docstrings. However, I think this is another case where we don't actually understand all the rendering logic. Sometimes it is actually okay to indent something underneath something that is already indented. So while it would be nice to provide guidance, I am not sure we can easily provide guidance that would be clear to someone not already familiar with the problem.
Nonetheless I wanted to raise this issue, in case anyone has a good idea about how we could clearly (and succinctly) address this. If not, perhaps we can continue to deal with this each time it comes up.

@nicholasloveday , I have gone through this in detail with @Steph-Chong . We may take another look after a bit of a break, but it's ready for you to take a look at and let us know what you think. If all seems well to you, I'm happy to merge it and then do any further work in subsequent issues, so long as it's good enough. Once it's in, we can also add a link to it in the PR checklist/template/thing.


Using graphic-walker in angular application

Hi
I want to use this library in an angular application. But I am unable to find any helpful implementation. I am also trying to use react component in angular but am still unable to use it properly, it gives errors for the library
Does anyone have any idea regarding this how can i implement this library in an angular application and start using this for different feature development purposes?

You can wrap the Graphic Walker component in a pure js function to specify a root dom element to it to render GW react app.
or using an iframe

I think it is easy to support it directly in Graphic Walker, but requires a lot of testing


Only restart rendering server when components change

I wonder if there's a way to restart only the API server when API code changes and only restart the "front end" rendering server when components change.
Just an idea. It would maintain your session across UI updates.

One of the very first things I did when I started customizing this project was enable a filesystem store for sessions. Are you interested in a PR for that?

Not really, I use a MongoStore in my real project. I just thought it might be nice to restart only the necessary parts.
—
Erik Rasmussen
On Sun, Aug 2, 2015 at 6:03 AM, acgourley<EMAIL_ADDRESS>wrote:

One of the very first things I did when I started customizing this project was enable a filesystem store for sessions. Are you interested in a PR for that?
Reply to this email directly or view it on GitHub:
https://github.com/erikras/react-redux-universal-hot-example/issues/85#issuecomment-126986343

Not really, I use a MongoStore in my real project. I just thought it might be nice to restart only the necessary parts.

Oops. Didn't mean to close.

Hey @erikras nice project, I use nodemon https://github.com/remy/nodemon to restart the server if need be, you can give nodemon a set of folder to watch and it will restart the server for you.

Thanks, @andreimc. This project is already using something similar. This issue is just a suggestion for anyone feeling generous to figure out how to configure it for the third server (API). It will probably require splitting it out into its own process.

This wasn't that great of an idea, I think.


Query using Expression is failing for 'Contains()' == 'false'

The integration test below is failing at v1.8.4.
[TestMethod]
public void TestSqlConnectionQueryViaExpressionWithArrayContainsAsBooleanFalse()
{
	// Setup
	var tables = CreateSimpleTables(10);
	var values = new[] { "NVARCHAR1", "NVARCHAR2" };

	using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb))
	{
		// Act
		tables.ForEach(item => item.Id = Convert.ToInt32(connection.Insert(item)));

		// Act
		var result = connection.Query<SimpleTable>(c => values.Contains(c.ColumnNVarChar) == false);

		// Assert
		Assert.AreEqual(8, result.Count());
		result.ToList().ForEach(table => AssertPropertiesEquality(tables.First(t => t.Id == table.Id), table));
	}
}

This is now fixed in 'master' with version greater than v1.8.4.
Set this to fix once the new version is deployed.
Found when I am adding more Integration Tests.

This is very seldom scenario, it only happens as I executed multiple Integration Tests where the cache for QueryGroup where not updated. The generated 'hashCode' is not enough for comparison. So I added the 'QueryGroup.IsNot' property as part of the 'hashCode' generation.

Setting this to fix. Will be available on the next version > v1.8.4


⚠ Cioos National CKAN has degraded performance

In 3a38961, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 8738 ms

Resolved: Cioos National CKAN performance has improved in 931f757 after 5 minutes.


SQLite error messages display incorrect associated query

Bug Description
Sometimes, SQLite will display the incorrect query associated with the error encountered. Here's an example, incomplete input was an error for another query executed and not the PRAMA one.
2023-04-25T15:10:06.765653Z  INFO sqlx::query: PRAGMA foreign_keys = ON; …; rows affected: 0, rows returned: 0, elapsed: 10.416µs

PRAGMA foreign_keys = ON;

Error: error returned from database: (code: 1) incomplete input

Caused by:
    (code: 1) incomplete input

Minimal Reproduction
Haven't been able to reproduce successfully yet.
Info

SQLx version: 0.6.3
SQLx features enabled: "runtime-tokio-native-tls" , "sqlite", "mysql", "chrono", "uuid"
Database server and version: sqlite-sys embedded
Operating system: Mac OS X Ventura 13.2
rustc --version: rustc 1.69.0 (84c898d65 2023-04-16)

This is not a bug. SQLx does not print the query associated with an error; that's the normal query logging getting mixed in, which might be coming from another task if you're using a multithreaded runtime.
I'd recommend using a library like anyhow to capture additional context with your database errors that will help you narrow down where they're coming from: https://docs.rs/anyhow/latest/anyhow/

We're also migrating to tracing which gives a lot more context when logging via spans, that will be part of the 0.7.0 release.


SAK-41709 Assignments disable group changes if there are submission for

that group

Looks good to me @ern, thanks for the good work.


Copy in constant space

Currently copy doesn't run in constant memory. This may not necessarily be a problem for now, but some notes if we do decide to tackle this.

Discard the results immediately. Currently this is a lazy list of units. Instead we should introduce something (like) the following, which can either stop on a monad bind, or return unit:
waitForNResults_ :: Int -> Chan (m a) -> m ()

Put back pressure on the conduit listing, with something like:
spin :: m Bool -> Conduit i m o
Which would then require keeping track of the list elements processed. A data structure like the following may help:
(MVar Int, Chan x)

Some related perf results:
https://github.com/ambiata/mismi/issues/150

Can we close this now @charleso

:+1:


Temporary route to support countersigning framework agreement script

To support temporary API route from this pull request. Can be removed after one off framework agreement countersigning script has been run.

Good stuff as long as Travis agrees :+1:


Update aws.s3.Bucket notes to point to aws.s3.BucketV2

Add a note for the aws.s3.Bucket page to direct users to aws.s3.BucketV2.
Fixes https://github.com/pulumi/home/issues/3629
Fix an issue with documentation override: due to a bug docs/resource/aws_s3_bucket_legacy.md was not being picked up and the aws.s3.Bucket page was incorrectly serving docs for the aws.s3.BucketV2 resource. This is fixed here.
This PR should not merge until https://github.com/pulumi/registry/pull/5444 gets published.

The registry PR has published.


Week Start Day

Hi
Very pretty plugin for ionic2 apps, Thank you.
Is there any way to establish the first day of the week?
By default the calendar starts the weeks on Sunday, but in Europe (Spain) it is usual to present the calendars beginning on Monday.
It would be possible to include a configuration variable "weekFirstDay" with values 0 for Sunday, 1 for Monday, which allows us to set the starting day of the rendered calendar.
Even an option to set a Locale would be perfect, allowing to set an array of options with the format of the date, or the weekFirstDay that I proposed earlier.
Thank you!

@pedrocortizo is ok now.

@HsuanXyz , Week start day is keep adding one day if the history is turned on.

@sckumar try #53


ascii data not being sent via write method

Description
ascii data not being sent via write method.
My code:
    const client = TcpSocket.createConnection(options, () => {
        client.write([56, 48, 48, 53, 48, 53], 'ascii', (error) => console.log('error', error));

        client.destroy();
    });
    client.on('data', function (data) {
        console.log('message was received', JSON.stringify(data));
    });
    client.on('error', function (error) {
        console.log(error);
    });
    client.on('close', function () {
        console.log('Connection closed!');
    });

Current behavior
error on console.log is coming null
and then Connection closed!
Expected behavior
ascii data must be sent and then message was received and received data logs must be come.
Screenshot

Relevant information
OS: android
react-native: 0.64.2
react-native-tcp-socket: ^5.2.1

@Antakarana, I am sorry for your issue. Have you tested your code using Node's net API?

I am sorry too, there is no any error about this. The ascii data should have been sent with \n for our server.
Thank you.


ZeroDivisionError: division by zero

Hi, I'm following your tutorial
https://keras-ocr.readthedocs.io/en/latest/examples/end_to_end_training.html
and my step is training the recognizer with no Pre-trained weight.
Also I changed recognizer alphabet to non latin characters
However, In the recognizer train step, I got a ZeroDivisionError: division by zero.
I think... Train image generator? has no label or no image?
If you please, for other non-latin trainers of the future, can you explain what is this error??
Thanks in advance.
104/104 [==============================] - 461s 4s/step - loss: 22.7555 - val_loss: 20.7057
Epoch 2/1000
104/104 [==============================] - 451s 4s/step - loss: 20.3573 - val_loss: 21.4699
Epoch 3/1000
104/104 [==============================] - 373s 4s/step - loss: 16.7728 - val_loss: 16.2160
Epoch 4/1000
104/104 [==============================] - 350s 3s/step - loss: 14.6223 - val_loss: 16.1058
Epoch 5/1000
104/104 [==============================] - 369s 4s/step - loss: 13.7717 - val_loss: 13.6269
Epoch 6/1000
104/104 [==============================] - 360s 3s/step - loss: 13.0744 - val_loss: 11.9901
Epoch 7/1000
104/104 [==============================] - 372s 4s/step - loss: 11.6895 - val_loss: 11.6947
Epoch 8/1000
 14/104 [===>..........................] - ETA: 4:01 - loss: 12.2752
---------------------------------------------------------------------------
UnknownError                              Traceback (most recent call last)
<ipython-input-43-1c9e2d89d135> in <module>()
     20     validation_data=recognition_val_generator,
     21     validation_steps=math.ceil(len(background_splits[1])*1 / recognition_batch_size),
---> 22     workers=0
     23 )

10 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     58     ctx.ensure_initialized()
     59     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 60                                         inputs, attrs, num_outputs)
     61   except core._NotOkStatusException as e:
     62     if name is not None:

UnknownError: 2 root error(s) found.
  (0) Unknown:  ZeroDivisionError: division by zero
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/script_ops.py", line 244, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py", line 302, in wrapper
    return func(*args, **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 827, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py", line 814, in wrapped_generator
    for data in generator_fn():

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/recognition.py", line 359, in get_batch_generator
    batch = [sample for sample, _ in zip(image_generator, range(batch_size))]

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/recognition.py", line 359, in <listcomp>
    batch = [sample for sample, _ in zip(image_generator, range(batch_size))]

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/data_generation.py", line 272, in convert_image_generator_to_recognizer_input
    skip_rotate=True)

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/tools.py", line 88, in warpBox
    scale = min(target_width / w, target_height / h)

ZeroDivisionError: division by zero

	 [[{{node PyFunc}}]]
	 [[IteratorGetNext]]
	 [[Shape/_10]]
  (1) Unknown:  ZeroDivisionError: division by zero
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/script_ops.py", line 244, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py", line 302, in wrapper
    return func(*args, **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 827, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py", line 814, in wrapped_generator
    for data in generator_fn():

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/recognition.py", line 359, in get_batch_generator
    batch = [sample for sample, _ in zip(image_generator, range(batch_size))]

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/recognition.py", line 359, in <listcomp>
    batch = [sample for sample, _ in zip(image_generator, range(batch_size))]

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/data_generation.py", line 272, in convert_image_generator_to_recognizer_input
    skip_rotate=True)

  File "/usr/local/lib/python3.6/dist-packages/keras_ocr/tools.py", line 88, in warpBox
    scale = min(target_width / w, target_height / h)

ZeroDivisionError: division by zero

	 [[{{node PyFunc}}]]
	 [[IteratorGetNext]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_17688]

Function call stack:
train_function -> train_function

Hello. Did you find the solution? I am having the same problem with COCO-text dataset

try this
if tf.config.list_physical_devices('GPU'):
    physical_devices = tf.config.list_physical_devices('GPU')
    tf.config.experimental.set_memory_growth(physical_devices[0], enable=True)
    tf.config.experimental.set_virtual_device_configuration(physical_devices[0], [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=3072)])


CB: Emit unimplemented terms as PlannerError

Current coverage is 65.15% (diff: 2.22%)

Merging #1644 into master will increase coverage by 1.24%

@@             master      #1644   diff @@
==========================================
  Files           340        340
  Lines         16488      16171   -317
  Methods       15880      15885     +5
  Messages          0          0
  Branches        142        140     -2
==========================================
- Hits          10537      10536     -1
+ Misses         5951       5635   -316
  Partials          0          0

Powered by Codecov. Last update e1bb6f1...c475e45

LGTM, let me know if you want to update the plan for Sample, otherwise I'll merge.

@wemrysi decided to leave Sample as is so should be ready for merge.


Prevent mentors from editing the application after MENTOR_APPLICATION state

Is your feature request related to a problem? Please describe.
Currently, mentors can use the edit application endpoint to change the mentor application (responses) even after the MENTOR_APPLICATION state. It should be prevented
Describe the solution you'd like
Check the api/programs/{id}/responses/mentor endpoint and the respective service method. It should throw a Bad Request Exception if the program if not in the MENTOR_APPLICATION state.
You can add an error message like this:
"Error, Unable to apply as a mentor. Program with id: {programId} is not in the applicable state."
Describe alternatives you've considered
N/A
Additional context
You can refer the other methods in the backend

PS: This is the backend part of https://github.com/sef-global/scholarx-frontend/issues/204


Added Awesome Salesforce

Add few more child pages to Awesome Salesforce

Awesome Lighting
Awesome Articles
Awesome Browser Extensions
Awesome Heroku

:+1: Looks good :)


unable to add code to PATH

Type: Bug
no matter what I do I am not able to add code the my mac ventura PATH i followed all turoials and command pallete.
VS Code version: Code 1.78.0 (Universal) (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:11:00.813Z)
OS version: Darwin arm64 22.4.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.96GB free)

Process Argv
--crash-reporter-id e2b1ae26-b321-4359-84d1-358c7a709a0e

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2023.8.0

vscode-pylance
ms-
2023.5.10

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

I lunch VS code and the lunch the command palette then I type shell and chose the option for shell install code to path. that did not work, I then did the shell uninstall and re install many times that I lost count. also, followed many restarts and shutdown uninstalled vs code and re installed and tried several time the same steps above and finally it worked.
Not a pleasant experience for a first time user imho.

I think yours truly @joaomoreno wrote the script to add VS Code to the path on macOS, so I defer to him.

Press F1, choose Developer: Toggle Developer Tools and try to install to the PATH again. Is there any interesting errors in the devtools Console? Can you share a screenshot of that?


OCPBUGS-11592: increase etcd memory limit floor

The memory limit floor of 50mb was too low and was causing issues in testing, this PR raises this minimum valid value to 128mb to resolve this issue.

/jira refresh

/cherry-pick release-4.13


⚠ Thumbnails API Endpoint has degraded performance

In 4b026ba, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1693 ms

Resolved: Thumbnails API Endpoint performance has improved in 884f2ab.


Issue migrating N3 to Artifactory

Hello!
Currently I`m facing am issue when try to migrate Nexus3 to Artifactory.
2018-05-30 09:52:02,983 [MainThread] [INFO] (nex2art.core.Nexus3:167) - Successfully fetched Nexus data.
2018-05-30 09:52:02,983 [MainThread] [INFO] (nex2art.core.Nexus3:58) - Successfully read repository config.
2018-05-30 09:52:02,983 [MainThread] [INFO] (nex2art.core.Ldap3:12) - Reading LDAP config from Nexus.
2018-05-30 09:52:02,983 [MainThread] [INFO] (nex2art.core.Ldap3:16) - Successfully read LDAP config.
2018-05-30 09:52:02,983 [MainThread] [INFO] (nex2art.core.Security3:60) - Reading security config from Nexus.
2018-05-30 09:52:02,986 [MainThread] [ERROR] (nex2art.core.Security3:95) - Error reading security config:
Traceback (most recent call last):
File "/home/ykochubey/nexus2artifactory-master/nex2art/core/Security3.py", line 73, in refresh
roledata = self.getrole(role, privmap)
File "/home/ykochubey/nexus2artifactory-master/nex2art/core/Security3.py", line 135, in getrole
for priv in role['privileges']: privs.append(privmap[priv])
Here is the short trace.

I think you might have a role that contains a privilege which doesn't exist. I'm a little surprised at this, since I feel like Nexus would prevent this kind of thing on the database level. So there might be something else going on.
Now that I think about it, this exact issue was submitted by someone else a while back. I gave him some steps to follow in order to help debug:

You're right, Nexus 3 stores all of this data in the database. I use a simple groovy script to extract all the data for the migrator to use, and I'm pretty certain it shouldn't be missing or forgetting anything, so the output from that should reflect what you would find in the database. I expect if you ran the script, you'd find a group with a permission nx-repository-view-maven2-central-browse, but no permission entry of that name (and probably no maven2-central repository).

He never got back to me, but if you can take a look at the output of that script, we can at least figure out if the migrator is doing something wrong here, or if there's a bad reference in the Nexus database itself. From there, we can get a better idea of how to fix the problem. Thanks!

Just found a lame thing, that our Nexus ver doesn`t have Script API and a bit outdated(for 1.5 yrs lol). Will share you my results after updating.

I'm fairly certain the script API is available on all Nexus 3 versions. It certainly works on yours, since that's how the migrator extracts data in the first place, and your migration got at least that far before encountering your error. I believe it's not working for you because they recently changed the API path. /service/rest/v1/ is the newer path, but on older versions you should be able to reach the same services through /service/siesta/rest/v1/.

Version Nexus 3.2.1-01 doesnt have this API =) Found an issue its the same youve told to those guys.
If you`re had a repo BLAH-BLAH with some privs on it and roles contains that privs and deleted this repo, it will make privs "disappear" but not delete them from another elements.

Yeah, you're right. If it's a user-created privilege, it works fine, but if it's one of the privileges that Nexus creates automatically when the repository is created, this happens.
I pushed a fix. Let me know if it works for you.

Closing this issue due to age


Improvements

About neonAnimation's logic simplification, I guess there's nothing wrong in losing half a second. In this case, we can work that around of course.

thanks @scorphus 👍


Bubble Sort | OCaml

Bubble Sort implemented in OCaml -
Implementing the Bubble Sort algorithm in the OCaml programming language.
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Other language

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding!

I would like to be assigned to this issue!


⚠ Bofrost.at has degraded performance

In ac3c3c8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1693 ms

Resolved: Bofrost.at performance has improved in 9ea2732.


global: run release checklist

One example of the leading picture:
$ # start your workflow run:
$ reana-client start -p myparameter=myvalue
$ # open a notebook while your workflow is running:
$ reana-client open jupyter

[insert a mini-screenshot of a running notebook]

Another example:
[top-left: picture of a running DAG]

[center: produced files]

[bottom-right: mini-screenshot of a notebook exploring those files]

More at the whiteboard...

The tagline could go like:
Allows to explore workflow results by running interactive Jupyter notebook sessions on the runtime workspace files. Adds support for declaring CVMFS computing resources. Enhances ``reana-client`` with many new workflows and workspace commands.

See full release notes.

Several new "latest news" items:

pointer to the Nature paper
pointer to the CERN Courier article
pointer to CHEP2018 proceedings paper


Add to powershell scripts and SP

[x] Powershell http://tracyboggiano.com/archive/2017/04/query-multipleservers/
[x] SP https://sqlundercover.com/2017/08/18/undercover-toolbox-sp_changedatabaseownership-producing-statements-to-alter-authorisation/
[x] Powershell https://www.petri.com/adding-script-to-your-powershell-html-reports
[x] Powershell https://www.sqlshack.com/multi-server-script-find-orphaned-data-files-using-powershell/
[x] Powershell http://www.sqlservercentral.com/articles/PowerShell/160582/

Closed via https://github.com/ktaranov/sqlserver-kit/pull/85


Switching between camera light and screen should not switch off

Thanks for this. It's the best!
I noticed that whenever I switch between the camera light and the screen, the light turns off. Is this by design? Personally I would expect to keep the light on ...

Thank you so much for your kind words.
We will think about it, I am still unsure what works best.
Maybe a menu in the upper right with such a setting would make sense. 🤔

Well, a configurable option is always an option! It is not an easy decision, because some like it that way and some the other way.
I did not want to burden you with implementing a configuration item, but a tiny three-dots-menu does not take much space...

May you work on this too, @unbiaseduser?

Many, many thanks!


[BUG]

Library name and version
azure-ai-formrecognizer 3.3.3
Describe the bug
We are experiencing sporadic InvalidContent errors with custom model. Upon a re-upload of the PDFs the extraction is successfully done. This has already been discussed by someone in this thread:   but there are no proper solutions. Can you please tell what can be the root cause of the issue?
Expected behavior
The documents should be extracted successfully by form recognizer in the first call to the API
Actual behavior
Sporadic InvalidContent errrors but getting succeeded on retry
Reproduction Steps
The issue is sporadic, We are uploading multiple documents everyday to form recognizer but we see this error only few times.
Environment
No response

Hi @Akhila441.   Thank you for reaching out and we regret that you're experiencing difficulties.  The behavior that you're seeing is from the Form Recognizer service itself.   The Azure SDK client does not have insight nor influence over how the service processes the documents that you've uploaded nor why it returned a specific result.
This is not an inquiry that the maintainers of the Azure SDK can assist with.  The Form Recognizer service team does not monitor our repository, does provide support from it.  Unfortunately, there is also no path for us to transfer your inquiry to them directly.  To ensure that the right team has visibility and can help, your best path forward for would be to open an Azure support request or inquire on the Microsoft Q&A site.
I'm going to close this out; if I've misunderstood what you're describing, please let us know in a comment and we'd be happy to assist as we're able.


body overflow-x: hidden

Greetings, if i'm adding to body overflow-x: hidden, the sticky box stop working. Without it's working like a charm.
The Sticky box is in a deep nested Flex Layout.
Any ideas?

Hm. This is a bit hard to debug but maybe this one could work:
body {
  overflow-x: hidden;
  overflow-y: auto;
}

Thanks for the response, but sadly no. The only way it works is with:
{      overflow-x: inherit;      overflow-y: inherit; }
Tested with newest Safari/Chrome on Mac and Chrome on Windows.

Ah I see! Thanks for the example.
Unfortunately there's no way to automatically do the "right" thing if there are fixed elements on the screen.
I see two options:

either you specify an offsetTop prop to the stickyBox with an appropriate value
or you create a sticky header like this: https://codesandbox.io/s/k05lp4n427

We already using offsetTop because of the fixed header. But the issue is the same. But if we add overflow-x: hidden after it got rendered with chrome developer console it's working.
So maybe, before rendering the the sticky box, remove all overflows in body first and after it's rendering is completed, add overflow-x again to the body. May this could work?

Okay I just had a closer look and I think I understood the problem. Your code sample actually exposes some interesting bugs in react-sticky-box I haven't seen yet.
As a work-around can you maybe see if you can apply the overflow property not to body but a child element e.g. #root?

It's not working on #root as well. But the the error behaviour is difference.
On body it's sticks fixed and on #root it sticks relative.

Alright, I'm now trying to set up a test case containing your code. Let's see what I'll get out of it 🙂

Cool, I think I found it!
If you update to version 0.7.6 the issue should be gone:
https://codesandbox.io/s/l5yn4o8o8q

Great! I've updated it and added overflow-x: hidden again to body. Now it's working! Great Job. Solved 👍

Hi there!
Here just to help others with my same problem.
I had:
html, body {
 ...
  overflow-x: hidden;
  overflow-y: auto;
}

And it wasn't working, so I ended up here by searching in the issues.
The problem was the html style; removing the overflow part from there, and leaving only to the body element made it working.
Maybe it could be useful to add it to the docs.
Hoping it helps 👋🏻


Eg. Mi scale exporter reads value 12 %,
in openScale app I see value 11,52 % for the same bodymetric measurement.
All other values in Mi scale exporter are in decimal format.

That's because Garmin also rounds up visceral fat to integer numbers. So In the Garmin Connect you will see 12 no difference if you send 11.52 or 12.

I fixed this in 2.0.3 and now the MiScale Exporter get the correct decimal value. But Garmin still rounds it up


encoding/csv: add column level introspection capabilities

As briefly mentioned inside certain csv.Writer comments, there are frequent use cases, particularly with Postgres bulk copy to / from, where it is useful to differentiate between unquoted and quoted empty strings.
In particular, for csv.Reader, by the time Read() returns a slice of strings, it is too late to know whether a certain empty string is a quoted empty string or an unquoted one.
My particular use case deals with determining the nullability of an empty unquoted string, but - more generally - I just wanted to see if there is any appetite towards adding such column level introspection capabilities to the standard library csv.Reader and csv.Writer, without breaking compatibility.
For Reader, this would expose an additional surface perhaps similar to:
  type CsvValue interface {
	Quoted() bool 	// returns true if the value is quoted, false otherwise
	String() string
	// ... whatever else comes to mind
   }

   func (r *Reader) ReadValues() (record []CsvValue, err error) {
		...
   }

Regards,
silviu

I think there is very little appetite for adding any new API to encoding/csv.

The problem seems to be differentiating between a NULL value vs. an empty string for string database types. RFC4180 doesn't seem to have any rules regarding this. How about this proposal instead:

Any fields that have quoted empty strings in a record will be considered empty strings when read in csv.Reader. For example the record:
a,"",b returns ["a", "", "b"]

Any fields that are unquoted empty strings in a record will be considered nil when read in csv.Reader. For example, the record:
a,,b returns ["a", nil, "b"]

And vice versa for csv.Writer.

sounds like it's out of scope for encoding/csv.


chore: removed unexpected properties from openapi spec

Signed-off-by: Tomer Figenblat<EMAIL_ADDRESS>We generate types from the openapi spec in this repo. While generating for crda-java-api, I bumped into the following message:
org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
 | Error count: 2, Warning count: 0
Errors:
        -attribute paths.'/dependency-analysis/{pkgManager}'(post).responses.200.content.'multipart/mixed'.encoding.report is unexpected
        -attribute paths.'/dependency-analysis/{pkgManager}'(post).responses.200.content.'multipart/mixed'.encoding.summary is unexpected

These properties removal doesn't seem to affect the types generation.

The seconds commit, is based on this error:
[ERROR] Illegal schema found with $ref combined with other properties, no properties should be defined alongside a $ref


Chrome 70 stopped including ontouchstart on elements

> 'ontouchstart' in document.documentElement
false

(╯°□°）╯︵ ┻━┻

Intent to ship: https://www.chromestatus.com/feature/4764225348042752

Site should use navigator.maxTouchPoints for touchscreen detection, and Windows.TouchEvent for TouchEvent feature detection.


Fix: Ansible Worflow

Added homebrew set up action to install ansible via homebrew

Need to fix SSH network connectivity between GitHub runner and azure virtual machines.

[ ] Self hosted Runners ?


Update shipyard version in go.mod

Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

The 2 job failures are caused by "manifest for registry.fedoraproject.org/fedora-minimal:32 not found: manifest unknown: manifest unknown" - seems random, intermittent.


use canonical_hostname not inventory hostname for certs

the tls certs are indexed by the node.HostName
when generating the invetory the inventory_hostname is
computed via strings.Split(node.HostName, ".")[0]
node.HostName is stored in the canonical_hostname field
of the host vars.
This change updates edpm_install_certs to align
to the go code by using canonical_hostname instead.

/hold
this needs to be fixed in go
the canonical hostname is not the same as node.hostname
canonical_hostname appears to be the the control plane network fqdn.
where this breaks down is if you have a node in the nodeset that looks like this
    nodes:
      edpm-compute-0:
        ansible:
          ansibleHost: <IP_ADDRESS>
          ansibleUser: ""
        hostName: edpm-compute-0
        networks:
        - defaultRoute: true
          fixedIP: <IP_ADDRESS>
          name: CtlPlane
          subnetName: subnet1
        - name: InternalApi
          subnetName: subnet1
        - name: Storage
          subnetName: subnet1
        - name: Tenant
          subnetName: subnet1

which result in this in the inventory
   "hosts": {
      "edpm-compute-0": {
        "ansible_host": "<IP_ADDRESS>",
        "canonical_hostname": "edpm-compute-0.ctlplane.example.com",
        "ctlplane_cidr": 24,
        "ctlplane_dns_nameservers": [
          "<IP_ADDRESS>"
        ],

so before we can use the canonical_hostname or inventory hostname we need to change the key in the secrete to not be node.hostname directly as that does not map to either the inventory_hostname or canonical_hostname

+2

since i needed to rerun the ci anyway i just did a rebase in the UI to get updated results. the code is unchanged form the last version


Full Webpack example including local server

Hey @asny! Thanks for building this crate, it's been a pleasure to use so far :)
I'm using it for WASM things™, and in the beginning it wasn't completely obvious to me how to get the examples running the browser. I saw in #277 that this may be made easier by tooling in the future. In the meantime, I was wondering whether you'd want to add something like what I'm proposing here, to help people get started with your crate and WASM.
Usage

Run npm install in the web/ directory
Run ./build_and_serve.sh (optionally with the name of the example you want to build)
Open http://localhost:8080, where you should see the example

TODO
I haven't polised this yet, since I wasn't sure whether or not this would be accepted.

[ ] Script: Detect whether npm is installed, and display a nice error if its not
[ ] Script: Run npm install automatically
[x] Add README to web/ directory
[x] Reference web/ directory in main repository README
[ ] Figure out why mouse interaction isn't working

Hi @x3ro .
Thank you for your kind words 🙏 And thanks for the suggestion, I think it's a great idea! Anything that makes it easier to get started is worth the effort IMO 👍
The only thing I think is missing is updating the README. Maybe add a new README in the web folder which describes how to build for web? Basically what is in this README at the moment, so move and update that. Maybe a link from the main README would be good as well?
About the bash script, I would actually rather avoid it than expand on it. Could it be replaced by a step-by-step guide in the README instead? My worry is that I have to maintain the script, so a guide is less work for me.

About the bash script, I would actually rather avoid it than expand on it. Could it be replaced by a step-by-step guide in the README instead? My worry is that I have to maintain the script, so a guide is less work for me.

Makes sense. I like the bash script approach because it eliminates some easy errors, such as "I'm executing the commands from the wrong directory", but I get that maintaining bash scripts isn't fun 😅 I'll incorporate the steps in the README 👍🏼

It sounds perfect, thank you 🙏
And just for the record, if this was work related code, I would prefer a bash script as well. I just really don't want to maintain bash scripts in my free time 😄

Okay, finally have gotten around to updating this 😅 There is a README now that explains the steps. One thing I noticed is that mouse interaction isn't working for some reason 🤔 I'll investigate, but perhaps you have an idea why that is :D


Add support for Bazel-built Swift index-while-building

Now Bazel Build will produce index store data for Swift targets similar to Xcode-built target. This speeds up Xcode getting to a state where it returns proper indexing data.
This is necessary, but not sufficient, to fix indexing of unfocused targets.

@erikkerber Are you on rules_swift 1.1.1? It needs changes in there. I'll look at that error though, it shouldn't have gotten that far.

@brentleyjones Ah, yes we are on 1.1.0. I noted the .1 but nothing stuck out to me that we needed.

Add additional outputs to the swift module in SwiftInfo

We leverage that.

Waiting for an index-import 5.7 release with a fix we need.


Related Link - Intune Infrastructure - 404

The link to "Network infrastructure requirements for Microsoft Intune" is outdated and returns a 404 error.

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

ID: 84727d31-ea2d-7437-68cc-2d0b7d5a4ff9
Version Independent ID: 502dcdcd-87a6-c050-c957-a476cb22afc7
Content: Connection endpoints for Windows 10, version 1809 - Windows Privacy
Content Source: windows/privacy/manage-windows-1809-endpoints.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Thank you for the report. That is yet another link in need of correcting, a remnant from before Intune was moved to the /mem/ subdirectory.
Going to check if I can dig up the new location and write a PR to have it resolved.

First of all, there is the overarching page(s):

https://docs.microsoft.com/en-us/mem/intune/
https://docs.microsoft.com/en-us/mem/intune/fundamentals/
https://docs.microsoft.com/en-us/mem/intune/fundamentals/whats-new

Then, there are some pages that sort of get close to the topic, but not 100% exactly what the descriptive link text says:

https://docs.microsoft.com/en-us/mem/intune/fundamentals/network-bandwidth-use
https://docs.microsoft.com/en-us/mem/intune/fundamentals/supported-devices-browsers
https://docs.microsoft.com/en-us/mem/intune/fundamentals/deployment-guide-intune-setup
https://docs.microsoft.com/en-us/mem/intune/fundamentals/intune-planning-guide
https://docs.microsoft.com/en-us/mem/intune/fundamentals/intune-endpoints

I am not familiar enough with this topic to know exactly which page or linkable section to look for here, so any help with locating a suitable page link would be very useful for resolving this issue.

Maybe the solution will be to find the closest matching page while also rephrasing the URL link text description.

Maybe the solution will be to find the closest matching page while also rephrasing the URL link text description.

I think the closest is
https://docs.microsoft.com/en-us/mem/intune/fundamentals/intune-endpoints so it could be changed to
Network endpoints for Microsoft Intune
based on the fact that the linking article is regarding endpoints.

Thank you very much for the feedback. I will go ahead and make a PR to suggest the changes for the referenced page.

There you go. PR #8745 is ready for browsing, review, comments, and suggestions.


Correct max number of gateways per cluster

The maximum number of gateways per cluster is 5, not 3 as per the UI.

#sign-off


Fresh pub install with unittest yields 'Package "unittest" does not have a "lib" directory.'  Never installs.

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

setup a pubspec.yaml with a dependency to unittest
run pub install
unittest/ will not be linked to packages/

What is the expected output? What do you see instead?
I'm assuming this is due to the recent changes to the pub layout, but I would expect unittest/ to be linked over.
What version of the product are you using? On what operating system?
Win 7, 64-bit.  build 12258.
Please provide any additional information below.

This issue has been moved to dart-lang/pub#107.


On completion callback when rendered

Is there a way I could call a function once icon has rendered?
Right now I'm setting it like this:
func setIconWithSize(icon: String, font: Fonts, size: CGFloat) {
        self.setTitle(String.fontIonIcon(icon), for: .normal)
        self.titleLabel?.font = UIFont.icon(from: font, ofSize: size)
    }

The problem is, initially I have my button hidden, and I unhide it right after I call this function:
shuffleButton.setIconWithSize(icon: shuffleIcon, font: .Ionicon, size: 24)
shuffleButton.isHidden = false

But it unhides button right at a millisecond before icon gets rendered.
So, I see old icon changing to a new one.
It be cool, to have some callback completion method

?


Incorrect skeleton and uv when using gl_compatibility renderer.

Godot version
master, 4.0.beta3
System information
Win11, gl_compatibility
Issue description
Incorrect skeleton and uv when using gl_compatibility renderer.
rendering_method = forward_plus (vulkan):

rendering_method = gl_compatibility:

Steps to reproduce
Download the reproduction project and open in editor.
Switch Rendering Method from forward_plus to gl_compatibility and restart the editor.
Minimal reproduction project
gl_bug.zip
Using a .glb model from tps-demo.

@clayjohn mentioned that this might not be in the first release of Godot Engine 4.0.
Nudge!


updating the RADIUSS schedule

crossed out a couple more days/times

Also @hauten - if we render the site nightly (which we do) we can actually automate this entire process so you don't need to manually do it. It would require, however, each event having it's own data about the date/time when it's invalid, and then the template would essentially ask "is today later than the expiration date?"
I do similar for a few sites I made, e.g., the USRSE calendar/events https://github.com/USRSE/usrse.github.io/blob/39d90f63c8e21ccb4708a6fa75cf3cd81e1a09e9/_layouts/events.html#L48-L51


Update readme sdk url

As it says on the tin.

At present we don't mention the fact that a minified version is available. Is that something we want to do?

I was ignoring it for the time being as on the offchance someone finds an error and wants us to look into it, I'd much rather have the line number from the full version. That OK?

@nbrl :+1:

Would be worth considering use of gulp-sourcemaps at some point soon.

Yep - I have a feeling gulp-uglify has this built-in as well.

#60 raised to capture this.

Do you think we want to always provide the SSL address? Will it ever cause issues with older browsers when the parent page is loading over HTTP? Would //d22stxronnwc65.cloudfront.net/sdk-latest.js be better?

Don't mind - as long as assets are more secure than the parent it should be fine, but I can switch it.

@nbrl :+1: CloudFront seems to redirect to SSL anyway:
~ ➜  curl http://d22stxronnwc65.cloudfront.net/sdk-latest.js --head
HTTP/1.1 301 Moved Permanently
Server: CloudFront
Date: Mon, 29 Jun 2015 14:23:51 GMT
Content-Type: text/html
Content-Length: 183
Connection: keep-alive
Location: https://d22stxronnwc65.cloudfront.net/sdk-latest.js
X-Cache: Redirect from cloudfront
Via: 1.1 7de51069c6a64edc13f9b9fcad8a6c98.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 5BWncnaWsG-Nd6jS0Zf7ZiJ9PhgYmZhRus15n8s4yfyx06fQydcU5w==


Estimated reward bug in game details

The Chore
Couple of bugs
Issue 1: Lottery estimated rewards
For lottery reward type we cannot attept to estimate the reward so we shouldnt try

[x] Show ? or "Lottery" or show the dice icon on each row would be nice

Issue 2: Estimated rewards going negative
We are seeing negative values for estimated rewards as seen in screenshot.  It is possible to have a negative live score (in fact in PNL game it is inevitable) and it looks like in these cases when in a pro rata game we're falling over.  In some cases where overal gains <> overall losses we generate a negative estimated reward, and in the worst case where game participants have only traded with each other overall gains = overall losses eg. [-20, -10, 10, 20] which means when trying to get the pro rata reward we'll end up dividing by zero and nuking the page which is currently the case here.

[x] Before trying to generate the pro rata expected score, first offset all scores by the LOWEST score at that time to ensure all are positive, ie. If scores were [-20, -10, 10, 20] these become [0, 10, 30, 40] and then [0/80, 10/80, 30/80, 40/80] is the share of the rewards (see spec extract below for further details)

Additional details / background info

Core implementation

Pro rata game in testnet no longer has negative estimates, and the estimates and the historic scores seem to agree.
https://vegafairground.eth.limo/#/competitions/games/1e61f3435725d235c6c2fd932afd710f54a5f592e8c6790246b5ef7416c11f97


Comments: put notes on elements before screenshotting

could be a whole new sidebar feature or optional addition to metatips

Would love to see "zeplin-like" comments/notes on VisBug!
Will be the first step toward team collaboration on live sites IMO.

Activate VisBug.
Write comments.
Open a "team workspace" on the wanted site.
Invite team members to reply and see the comments.
Make visual suggestion?

looks like it can all be done with this https://www.usebubbles.com/
a whole separate extension devoted to making this a great experience 👍🏻


Cannot install PHP 5.3.10

running phpbrew install 5.3.10 +default gives me  Exception: Version 5.3.10 not found. But I see this command in your documentation.  Did you stop supporting this php version?  If so, is there a way for me to still install it?

Hi, if you can't install a specific minor version try another minor one: phpbrew install 5.3.29 or simply phpbrew install 5.3.
This happens because sometimes minor versions are moved around to the museum on php.net side.


vue devtool: 'eval-source-map',  cannot debug breakpoint

vue devtool: 'eval-source-map',  cannot debug breakpoint

devtool: 'cheap-module-eval-source-map' it also not work

@lh8725473 Can you please be more specific on what is happening and what are you expecting?

this config with devtool: '#cheap-module-eval-source-map',

Please, spend a bit more time explaining what you're trying to achieve, how, what isn't meeting your expectations, what is the issue, which template, etc

And I believe this issue should be opened in relative template.

@egoist yep, I wanted to make sure it's a real issue first 😆


Boolean error on Rasa Learning Center

Rasa Open Source version
3.0.4
Rasa SDK version
No response
Rasa X version
No response
Python version
3.7
What operating system are you using?
OSX
What happened?
This is not a bug but an error on the Rasa learning center website
https://learning.rasa.com/conversational-ai-with-rasa/slots/

The correct way to create a boolean slot is in this way type: bool I think it is important to correct this mistake to avoid confusion on new learners.
slots:
  authenticated:
    type: bool
    influence_conversation: true

Command / Request
No response
Relevant log output
No response

Thanks for raising this issue, @s-elsharkawy will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Well spotted! Just pushed a PR with a fix. Should be live in a few minutes.


What is the purpose of the Subscription Deactivation Notification Message

Section Number Identify the most specific section number the issue occurs (e.g. 4.1.2)
2:3.112.8
Issue Describe your issue. Don't write a book, but do include enough to indicate what you see as a problem.
The Subscription Deactivation Notification Message does not seem to be aligned with the Subscriptions Framework, and it is not clear why we need this message.
If the concern is that the client does not know when a subscription is deactivated due to an error state, well it seems unlikely the client will be in a position to receive the deactivation message in that case anyway.
Proposed Change Propose a resolution to your issue (e.g., suggested new wording or description of a way to address the issue). The committee might simply accept your suggested text. Even if they don't, it gives a good sense of what you are looking for. Leaving this blank means you can't imagine how to resolve the issue, which makes it easier for the committee to admit they can't imagine how to resolve it either and leave it unresolved.
Remove the Subscription Deactivation Notification Message.
Priority:

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

Discussed during F2F.
This interaction extends the Subscription framework. It does not concern errors.
The purpose of this message is to notify about the deactivation of the subscription when a Subscription deactivation occurs:

performed by the Resource Notification Broker at the termination time of the subscription or,
performed with the [ITI-110] Resource Subscription transaction, by the same Resource Notification Subscriber that made the subscription
performed with the [ITI-110] Resource Subscription transaction, by another Resource Notification Subscriber (tipical use case is when subscriptions management is performed in order to clean subscription)

In the first and third case the deactivation is not performed by the Resource Notification Subscriber that made the Subsription; in this way it could promptly manages the deactivation.
In the second case it could be sure that the deactivation has been correctly done.

In the first case, I think the Resource Notification Subscriber should remember the expiration date it set on the subscription, so its termination does not need to be communicated.
The Resource Notification Subscriber also isn't the Actor that receives notification messages, so I don't see how requiring the server to send a deactivation message helps it. I think in the FHIR Subscriptions framework it should be the responsibility of the subscriber to monitor its subscriptions (with ITI-113), which it must do anyway because it is always possible a connectivity failure could cause it to stop receiving notifications.

Usually the Resource Notification Subscriber and the Resource Notification Recipient are implemented within the same application but they are related to different functionality of the application. Tipically a notification is a trigger for other event that could be performed punctually.
In the first case, the notification should be an adding value to notify the Resource Notification Recipient that it will not receive notification anymore. In that case the appliaction portion related to the Resource Notification Recipient can be able to tempestive manage it.
Also, if we consider an infrastructure where there is a management application that implement only the Subscriber capable of cleaning the Subscription, when this application perform the deactivation, promptly notify that the Subscription goes off should grant a tempestive management if needed.
The Resource Notification Subscriber usually could monitor its subscription in a configured interval of time.
Sure, the it is always possible a connectivity failure. But so why in this case a Resource Notification Broker should send the Hearthbeat notification with status = error ? Because it may be useful to give early warning that an error occurs instead of just relying on subscription monitoring with ITI-113. And this is the same in the case of deactivation.
If the concer is about to require that the Resource Notification Broker SHALL support this type of notification, maybe it could be address as a SHOULD. @slagesse-epic

I am fine with making it a SHOULD.

made it a SHOULD an text, also explicit in capabilityStatement for Broker


pdfjs How to display the digital signature?

Discussed in https://github.com/mozilla/pdf.js/discussions/18556

Originally posted by zengjingxw August  5, 2024
Unable to display signature field information in pdfjs.

In the pdf viewer tool can show.

demonstration Files

You must fill out all fields of the issue template properly when reporting a bug; please see https://github.com/mozilla/pdf.js/issues/new?assignees=&labels=&projects=&template=bug.yml&title=[Bug]%3A+


Exception: Cannot find VBoxPython module (tried: VBoxPython3_6, VBoxPython3, VBoxPython)

ENVIRONMENT

Operating System: macOS High Sierra 10.13.6
Python version: Python 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin- VirtualBox version:
VirtualBox SDK version: /Applications/VirtualBox.app/Contents/MacOS/sdk/- Location where VirtualBox SDK is installed:/Applications/VirtualBox.app/Contents/MacOS/sdk/installer

pyvbox version:1.3.2
[Not Sure] Happens in latest master branch?

SUMMARY

It doesn't work even after setting up paths.
STEPS TO REPRODUCE

import virtualbox
vbox = virtualbox.VirtualBox()

EXPECTED RESULTS

ACTUAL RESULTS
m=VBoxPython3_6 x=No module named 'VBoxPython3_6'
m=VBoxPython3 x=No module named 'VBoxPython3'
m=VBoxPython x=No module named 'VBoxPython'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/anaconda3/lib/python3.6/site-packages/virtualbox/library_ext/vbox.py", line 22, in __init__
    manager = virtualbox.Manager()
  File "/anaconda3/lib/python3.6/site-packages/virtualbox/__init__.py", line 143, in __init__
    self.manager = vboxapi.VirtualBoxManager(mtype, mparams)
  File "/anaconda3/lib/python3.6/site-packages/vboxapi/__init__.py", line 989, in __init__
    self.platform = PlatformXPCOM(dPlatformParams)
  File "/anaconda3/lib/python3.6/site-packages/vboxapi/__init__.py", line 750, in __init__
    import xpcom.vboxxpcom
  File "/Applications/VirtualBox.app/Contents/MacOS/sdk/bindings/xpcom/python/xpcom/vboxxpcom.py", line 78, in <module>
    raise Exception('Cannot find VBoxPython module (tried: %s)' % (', '.join(_asVBoxPythons),))
Exception: Cannot find VBoxPython module (tried: VBoxPython3_6, VBoxPython3, VBoxPython)

This might be a good place to start as this issue seems related: https://github.com/SethMichaelLarson/virtualbox-python/issues/102

So, what's the resolution there? You are working on that !
I tired that dirty hack but still doesn't help.
Would you like to suggest some other hack to solve this issue?

Could you provide the output of: nm -D [Wherever VirtualBox.so files are installed] | grep PyInit to help me understand why the dynamic library isn't loading? I don't own a macOS system to try this on, unfortunately.

Hi, I have the same problem using Ubuntu18.04 and Python3.6
When I try:
import virtualbox
vbox = virtualbox.VirtualBox()

The error:
Cannot find VBoxPython module (tried: VBoxPython3_6m, VBoxPython3m, VBoxPython)
  File "/home/u234/<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/u234/<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "/home/u234/<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "/home/u234/<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "/home/u234/<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "/home/u234/vbox_test.py", line 2, in <module>
    vbox = virtualbox.VirtualBox()

My installation folder is: /usr/lib/virtualbox, where I can find the file VBoxPython.so.
Where are these searched?
Thank you.

@SethMichaelLarson I think it's not loading because VirtualBox.app on macOS is shipped only with VBoxPython2_6.so and VBoxPython2_7.so.

Can you guy develop something automatic way? This thing is pain. Why don't you can go for something which finds / install things itself vs we have to do it?

@printdhruv Above I asked for information from you to better understand your case but you didn't reply. Could you response to my question so I can attempt to fix your case as well?

@printdhruv I suppose it should be possible to develop a plugin that uses C-API over XPCOM instead of VBoxPython. That it will be a pain to maintain as well.
If you have control over the deployment (what version of VirtualBox with what version of Python), you can compile VirtualBox yourself with bindings for you Python.

I'm experiencing the same thing, and I'm all but certain this is a duplicate of #102, just with python 3.6 instead of 3.5.
cd /usr/lib/virtualbox/
sudo cp VBoxPython3_6m.so VBoxPython3_6.so

'fixes' the problem.
How can I poke the virtualbox devs about this? https://www.virtualbox.org/ticket/17448 looks to have no activity.

@nixjdm I'm wondering the same thing. I haven't heard anything on the issue or otherwise.

Not for Mac though:
VBoxPython3_7m.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03

Hm, maybe that's something to raise on the VirtualBox forums?

You need to somehow compile VBoxPython for your Python first before you can use the bindings.

Any idea how to do this?
@Kentzo  is right, the MacOS package comes only with the VBoxPython2_6.so and VBoxPython2_7.so versions...

@sethmlarson how are you installing VirtualBox? As far as I can see all the latest ppa/deb install methods only install with Python 2.7 bindings incl buster (which I thought dropped python2?)
So ATM a official PPA install of VirtualBox 6.0.12 on Ubuntu 18.04 will not work with Python 3+

I tried dropping VBoxPython3_6m.so from the EL8 rpm beside VBoxPython2_7.so but I still get the same error Cannot find VBoxPython module (tried: VBoxPython3_6m, VBoxPython3m, VBoxPython), even when removing the m
FYI
$ nm -D VBoxPython3_6m.so | grep PyInit
000000000001268f T PyInit_VBoxPython3_6m

FYI As a workaround I created a Dockerfile to build a minimal VirtualBox from source on bionic, then you can copy the two required files to your local install.
sudo docker cp vbox-build:/VirtualBox/out/linux.amd64/release/obj/VBoxPython/VBoxPython.so /usr/lib/virtualbox/
sudo docker cp vbox-build:/VirtualBox/out/linux.amd64/release/obj/VBoxPython3_6m/VBoxPython3_6m.so /usr/lib/virtualbox/

Not for Mac though:
VBoxPython3_7m.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03

did you solve this problem?

what about you, do you solve this? @Ryuchen

what about you, do you solve this? @Ryuchen

No, It seems we have to compiler  it by ourself

I'm getting the same error

Has anyone been able to get it to run on MacOs?
I still get the error described here.

Facing the same issue on Ubuntu 20.04. Tried

cd /usr/lib/virtualbox/
sudo cp VBoxPython3_6m.so VBoxPython3_6.so

In my case it was VBoxPython3_7m, but still, that was unable to solve the issue for me. Can anyone please help?

Has there been any fix to this issue on macos? No matter what, virtualbox only has 2_7 .sos in Virtualbox.app/Contents/MacOS/, and cannot use virtualbox-python in python3 :(

The fix isn't in this library, needs to be implemented upstream. See the link to the virtualbox forums.

Which link are you talking about? Is it this one?

darn. so looks like i wont be able to use virtualbox-python until they decide to implement py3? :/ looks like ill have to look into running a vm to dev with it then, thanks for the help!

@vidhanio It's not a Python 3 issue, it's about the binaries Virtualbox ships not being aware of ABI flags. If your Python version doesn't have ABI flags it'll work fine.

This seems to be way over my head, is it possible to have a step-by-step instruction to this?

For those who still have the problem., I manage to solve it by scavenging the VBoxPython3_8.so from the Ubuntu 6.26 package.
It is not in the Oracle PPA package, but somehow, you can find it in the slower ubuntu package.
Then:
sudo cp VBoxPython3_8.so /usr/lib/virtualbox/

I have this issue on MacOS Monterey:
Exception: Cannot find VBoxPython module (tried: VBoxPython3_9, VBoxPython3, VBoxPython)
I installed VirtualBox from the Oracle site, not with homebrew.
Any hints?

Wondering 🙂
Does anyone have any insight into building the VirtualBox COM Python module on the mac? Using Python 3 this time? This seems to be the recurring issue mentioned over and over here.
I have had this line from the source code bookmarked for many years now: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/darwin/Makefile.kmk#L481
The maintainers do not seem interested in making the changes we all want here. So maybe with enough knowledge we can start a community supported module.

Hello, I'm having the same issue. I edited the vboxxpcom.py file to see what the error was (I have the modules mentioned in the exception), and I figured out that it is searching the module in the same directory I'm working on.
So I copied the VBoxPython3.so module to the same dir as my script and the error was gone.
I guess I did something wrong (maybe my path is incomplete), cause I don't think this is the way it has to be done.
If it's useful I'm working on Arch in a venv.

I no longer have time to maintain this library, so am closing this issue.