Cannot build with ffmpeg 4.0+

On rolling release distributions ffmepg 4.0+ is distributed. The function avcodec_decode_video2 is deprecated therefore we are unable to build/use the program.

Hi Gnuille,
I have made a pull request that should fix issues with ffmpeg 4.0

Thank you @spikanor11 !!! note that I have to remove the const to make it work on older versions. Do you mind to confirm if this still works for you? Other wise I think we could use LIBAVFORMAT_VERSION_MAJOR from libavformat/version.h to fork the behavior on newer versions

glad to be of help


Jinja helpers

Note: consider using Discussions to open a conversation about new features…
🚀 Feature Request
Hello! It would be great to see global jinja helpers (like request).
Adding the same method to each request is not rational. Perhaps there is another already implemented method?
Regards!

Hi @madgagarin
Sorry for replying late, in the last couple of days I dedicated time to another open source thing (always related to my projects).
BlackSheep uses Jinja2 internally and supports adding Jinja helpers. But thanks for asking because I see the feature is not well documented right now, and is not typing friendly, so it can be improved.
An example to configure a custom Jinja helper, for example using globals:
.
├── app
│   ├── __init__.py
│   └── views
│       └── index.html
└── server.py

# server.py
from blacksheep import Application
from blacksheep.server.templating import use_templates
from jinja2 import PackageLoader, Environment

app = Application(show_error_details=True)

view = use_templates(app, PackageLoader("app", "views"))

def example():
    return "This is an example"

app.templates_environment.globals.update({"my_function": example})

@app.route("/")
async def home():
    return view("index.html", {})

# index.html

Hello, World!

{{ my_function() }}

Result:

Hello, World!

This is an example

In the same way, it's possible to configure filters.


Validation and Verification Data

Validation and Verification data required from reliable source (numerical modelling software?) to check nuclide outputs.

https://nbviewer.jupyter.org/github/pyne/sandbox/blob/master/origen-cmp.ipynb
Above seems like a gold standard.


python311Packages.pyrfc3339: rename from pyRFC3339

Description of changes
part of #245383
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages failed to build:

simp_le
simp_le.dist

41 packages built:

certbot (python311Packages.certbot)
certbot-full
certbot.dist (python311Packages.certbot.dist)
python310Packages.acme
python310Packages.acme.dist
python310Packages.certbot
python310Packages.certbot-dns-cloudflare
python310Packages.certbot-dns-cloudflare.dist
python310Packages.certbot-dns-google
python310Packages.certbot-dns-google.dist
python310Packages.certbot-dns-inwx
python310Packages.certbot-dns-inwx.dist
python310Packages.certbot-dns-ovh
python310Packages.certbot-dns-ovh.dist
python310Packages.certbot-dns-rfc2136
python310Packages.certbot-dns-rfc2136.dist
python310Packages.certbot-dns-route53
python310Packages.certbot-dns-route53.dist
python310Packages.certbot.dist
python310Packages.hass-nabucasa
python310Packages.hass-nabucasa.dist
python310Packages.pyrfc3339
python310Packages.pyrfc3339.dist
python311Packages.acme
python311Packages.acme.dist
python311Packages.certbot-dns-cloudflare
python311Packages.certbot-dns-cloudflare.dist
python311Packages.certbot-dns-google
python311Packages.certbot-dns-google.dist
python311Packages.certbot-dns-inwx
python311Packages.certbot-dns-inwx.dist
python311Packages.certbot-dns-ovh
python311Packages.certbot-dns-ovh.dist
python311Packages.certbot-dns-rfc2136
python311Packages.certbot-dns-rfc2136.dist
python311Packages.certbot-dns-route53
python311Packages.certbot-dns-route53.dist
python311Packages.hass-nabucasa
python311Packages.hass-nabucasa.dist
python311Packages.pyrfc3339
python311Packages.pyrfc3339.dist

Please send this to staging branch.
https://github.com/NixOS/nixpkgs/pull/276943#issuecomment-1871817445

Furthermore, if the change causes a mass rebuild, use the appropriate staging branch instead
As a rule of thumb, if the number of rebuilds is over 500, it can be considered a mass rebuild.


How to install FFMPEG-php in VPS to generate thumbnail from video?

I am using godaddy virtual private server. i wanna generate thumbnail from video files using PHP. For that i have to install FFMPEG, Please suggest me how can i install FFMPEG in VPS.

Sorry, I'm not sure how to accomplish this task. Since this issue isn't related to ionic I'm going to close this.


Support for .NET Standard 2.0

Is it possible to add .NET Standard 2.0 support for version 2?
New package release contains Jobs API 2.1 but now it is targetting only to net6.0

@dbartek unfortunately adding support for .NET Standard 2.0 would involve rewriting a whole bunch of code for version 2. In v2, I started using features from newer C# language versions, which do not support .NET Standard 2.0.


How to use the website

Hi, I am done with downloading and setting up the code and Database. Can we create appointment with a doctor? Can we show available doctors list. Request you to give more details on how the application works.

@LakshmiKinnera could you assist me in setting up the project

@LakshmiKinnera I have done everything, but when I go to create an admin I get an error saying "The role Administrator does not exist" even tho I have added them. Any help?


we have two 1.2 readme update branches

https://github.com/weaveworks/weave/tree/weave_1.2_readme_updates (@paulbellamy)
https://github.com/weaveworks/weave/tree/weave-1.2-readme-updates (@awh)

Fixed in 4839ed1.


Improve documentation

Description
We're very much aware that the documentation is lacking in certain areas. Most notably:

Clarifying the getting started path.
Improving the "easy path". (E.g. making advanced topics less "in your face" for users that use vike-{react,vue,solid} and, in general, for users that want to get started quickly and that are less interested in discovering Vike's full power.)
Graph showing when hooks are called.

That said, improving the documentation for advanced topics isn't the highest priority at the moment, such as custom render mode implementations and "build your own framework". We very much want to improve in that regard as well, but the aforementioned points are much higher priority.
In general, we'll be focusing a lot more on the documentation after we release the v1.0.0.

Hi there,
I suggest adding npm install vike as the first step on the documentation page Add to existing app.
This will help clarify the initial setup process for users.
Thanks!

Clarifying the getting started path

I've just made changes, it's now mostly resolved. Although there is still a lot of potential to polish things.

Improving the "easy path". (E.g. making advanced topics less "in your face" for users that use vike-{react,vue,solid} and, in general, for users that want to get started quickly and that are less interested in discovering Vike's full power.)

This has improved a lot in last couple of weeks.


Joi 15 support, package updates

Support for Joi 15
Updated vulnerable packages.

@ta6ish Thanks for the reminder, I will update with the new joi version.


Add Dropdown Component Footer

Is your feature request related to a problem? Please describe.
Add a footer template to the dropdown list.
Describe the solution you'd like
A render fragment template for a footer
Describe alternatives you've considered
I tried to extend Radzen's DropDown component myself, but many of the methods and properties used are internal to the package.
Additional context
Examples
Syncfusion
Telerik

You can use DropDownDataGrid with single column where you can define, Template, HeaderTemplate and FooterTemplate:


[FEATURE] It would be nice to support column positioning with "after" keyword

When adding a column in mysql (not sure about other databases) we can specify after which column we want to position the new one or use the keyword 'first' if it should be the first column.
It would be great if we could define this positioning when adding new columns to existing tables.
Cheers,

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3203036-feature-it-would-be-nice-to-support-column-positioning-with-after-keyword?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).

Marked as nice to have, has a very low priority and might be implemented in some far future. Feel free to open a pull request to directly contribute this feature

Any update on this issue?
AFTER is important. It can make sure the database is actually as the same as designed.
* is relied on the order of the columns.

@Diluka No, it is not important for the scope as it is really just cosmetic without any real world benefits, if you really want this, feel free to submit a pr to the driver though,


Unclear/misleading error when missing type parameter in type definitions

SSCCE
https://ellie-app.com/4bwZVb3bnPGa1/2
type Test a b c
    = A a
    | B b
    | C c

testAsString : Test String Int -> String
testAsString test =
    case test of
        A str ->
            str

        B int ->
            toString int

        C str ->
            str

Actual error
Tag **Main.A** is causing problems in this pattern match.
The pattern matches things of type:

Test a b c

But the values it will actually be trying to match are:

Test String Int

Expected error
The error is actually not in pattern match but in type definition. One forgot to specify extra type parameter.
I would expect to see something along the lines:
Type Test String Int is causing problems in this type definition.

42| testAsString : Test String Int -> String
                   ^^^^^^^^^^^^^^^
Type Test a b c was given 2 parameters:

testAsString : Test String Int -> String

But it expects 3:

testAsString : Test String Int c? -> String

I prefer to keep my lists of issues and PRs clean of non-actionable items, so closing this.
Feel free to open on your own by copypasting the content.


Add a proj/geometry task for generating proj info, updating footprint

Add a task to populate fields in the projection extension - specifically, proj:epsg, proj:shape, proj:transform and proj:centroid. Additional fields providing the projection in native coordinates are not as useful.
This task would use rasterio to pull out these values from the file, which means it has to be downloaded or accessed remotely. Remote access should be much faster as it's just pulling header info. Check both.
As part of this task, or perhaps another task (?) add an option for regenerating the data footprint, see this issue:
https://github.com/stac-utils/stactools/issues/85

This is OBE because we are no longer adding built-in tasks.


Can't fetch tweets from restricted account, even if logged in to an account with access!

The response in such a case is:
No tweets matching the given criteria found

Okay so I figured out why it happens.
What I have been doing till now is, even if the user gives a cookie, while fetching Tweets (since it uses an unrestricted endpoint), I didn't use the provided cookies and fetched tweets using guest authorization. This resulted in Tweets from restricted account not being fetched :P.
The immediate fix is making that endpoint use cookies, depending on whether user has provided cookies or not, and not implicitly use guest authorization.


End of night not working with Bullseye

As noted on the Allsky Facebook group, when using the Bullseye OS, Images are not moved to the Images folder from the tmp folder and therefore no time-lapse is created and the images do not appear in the Web GUI. Work around is to revert to Buster, but it would be nice if Allsky worked in Bullseye. Also have  had reports of the RPi HQ camera having issues under Bullseye.

Same issues, with bullseye, so swapped to buster and it worked for 1 night and then the same issues from then in with buster too…☹☹

@CleverJay   When did you last update the scripts/saveImage.sh file?  We fixed the issue you described 2 days ago.  It should have nothing to do with Bullseye versus Buster, but if you (or whoever had the problem) installed Bullseye and Allsky a few days ago they would have seen the problem.  If they gave up and restored Buster and re-installed Allsky they likely would have gotten the saveImage.sh update.
I have not heard of any issues with the RPi HQ camera under Bullseye.  Can you be more specific about "have had reports"?  Have those people let us know in GitHub about their issues?
@ShedAstro   Does your comment relate to the Issue @CleverJay just reported?

@EricClaeys  replaced saveImage.sh and Allsky is now writing files to the images folder. Thank you. I'll give it 24hours to see if it creates a timelapse and then close this issue.

@CleverJay That's good to hear.

The new saveImage.sh script now writes the files to the images folder. I'm not sure that it is deleting the images from the tmp folder though. Allsky did generate both a keogram and a startrail image, however it did not generate a time-lapse. Also running timelapse.sh 20220121  manually did not create a time-lapse. I am closing this Issue and will pursue the time-lapse problem in a separate issue. Thanks again to @EricClaeys .


SyncSolutionToTeams Error 500 Unknown Error

Category

[x] Bug

Describe the bug
@VesaJuvonen  When trying to sync the spfx solution with teams, the SyncSolutionToTeams request returns a 500 error.
The spfx version is 1.10.0 with a default hello world webpart and with the following information changed in the manifest: "supportedHosts": ["TeamsPersonalApp"].
Related issue: https://github.com/SharePoint/sp-dev-docs/issues/5425#issuecomment-596960575

Being that PersonalApps are in dev preview, have you tried manually deploying your Teams app package => your Teams tenant?

Hi, @andrewconnell , is it possible to upload a spfx solution directly to Teams? I think the only way to deploy a spfx TeamsPersonalApp is to upload it to the app catalog and click on the sync button.

@sortegamartin said:

is it possible to upload a spfx solution directly to Teams?

No... the SPFx components should be deployed & installed to SharePoint Online.
You can then upload the Microsoft Teams app package that includes the two image files & Teams app manifest directly to Teams.


Images streched on landscape orientation

Description
Images on Risikoermittlung page are streched when in landscape orientation.

Expected behaviour
Images should not be streched. I didn't find any other location where this happens.
Steps to reproduce the issue

Click on Risikoermittlung gestoppt
turn Device to landcape
--> images streched
--> circle doesn't fit into elemet

Technical details
Device:

iPhone SE (2nd gen.)

OS:

iOS 13.5

SW version

ENACommunity
development branch at 98a7c119e039217e72ac6ab9fee77b5a95a0d001

@SushiTee thanks for the bug report :)
If you like just open a PR for it to be solved.

Hi @SushiTee @steins-code ,
I need to clarify with Ux, if the app supports landscape.
Please don't work on it.

@haosap well then I'll wait before I report the 2nd landscape bug I found.
Then the bug would be that landscape is not disabled.
@steins-code I guess I would likely break more things than fix as I'm not usually working on iOS Software.

HI @SushiTee ,
We confirmed that, the first version doesn't support the landscape.
Next PR will disable it.
Thanks! I'll close this issue.

It is still there btw...
Bug should only be closed after it's fixed. Best with a ref to the commit which is supposed to fix the bug.


Merge amqp091-go and Stream Client

Is your feature request related to a problem? Please describe.
Hello! I am a great fan of RabbitMQ and I have been using it rather much lately.
I would like to propose a rather big change, (woah my bad)
It is quite confusing right now, we have the https://github.com/rabbitmq/amqp091-go repository that you guys maintain that is frequently used.
Then we have this streaming Library which focuses on using RabbitMQ Streams,
Now, to use rabbitMQ streams is really trivial, and having an extra repository for this makes it rather confusing as a user, and also not a very nice experience to now have 2 different imports.
May I suggest, that the streaming Client is rather implemented into the AMQP Library that people are used to using?
I've been using AMQP lib for Streaming (it really only adds one or two headers to the amqp.Table to make it a stream)
I think that it would be less confusing for users if we have one library to refer to.
Describe the solution you'd like
Merge any features that are needed from the Streaming Client into https://github.com/rabbitmq/amqp091-go.
This also reduces overlapping/duplicate code. Right now we have one way to use TLS in amqp091 and another way here.
Describe alternatives you've considered
No response
Additional context
This is only a request to make a more uniformed solution for the Go community to use rabbitmq.
From my knowledge of streams It feels overkill having a whole separate lib for that purpose.

t is quite confusing right now, we have the https://github.com/rabbitmq/amqp091-go repository that you guys maintain that is frequently used.

Then we have this streaming Library which focuses on using RabbitMQ Streams,

Stream clients use the RabbitMQ stream Protocol (using the stream plugin)
AMQP Clients use the AMQP091 protocol  (by default)
Stream and AMQP Clients use two protocols and two TCP ports.
You can use stream queues with AMQP clients and Stream clients.

See here https://www.rabbitmq.com/stream-core-plugin-comparison.html for more details and to see the difference between stream core  and stream plugin
A framework or library could include the two clients to abstract the behaviour, but it is out of scope for this client.

Thank you very much for clarifying this! Makes a lot of sense


Some major refactorings

Normally I would just push my nitpicks branch at some point because it should only contain trivial changes, but somehow this spiraled out of control this time and includes some large refactorings that came out of trying to get the player into GoldenLayout.
This PR should not change the behavior of the tool fundamentally, but the changes are significant enough so that I want a second pair of eyes looking out for any obvious breakage I might have caused. :wink:

I cannot edit public categories anymore as an admin

I cannot change the color of an category anymore

@rrolf can you confirm that the second problem only happens once? That is, after having changed the color once unsuccessfully once, trying it again actually works?
And also that even after the first try, a refresh shows that it actually did work in the backend, so to speak; it just wasn't correctly updated in-place?

Alright, both issues should be fixed now.


Add a config to stop mod from affecting mobs

Mod Loader (Optional)
⸺
Minecraft Version(s) (Optional)
No response
Mod Version(s) (Optional)
No response
Suggestion (Required)
I'm playing with other mods and villagers and other mobs spawn in higher places in structures but they die due to lack of oxygen so I would appreciate a config to prevent mobs from dying from lack of oxygen

https://github.com/Fuzss/thinair?tab=readme-ov-file#affected-entities


#533 Add module level logger

Fixes the logging issue in deployed environments by using the module level loggers.
resolves #533

@asynchroza Amazing job on this one! I am approving it but for some reason, the error with the v2/logs route persists.

Let's see if this still persists when we use the container's name as the host. Check this in your PR.

@asynchroza Amazing job on this one! I am approving it but for some reason, the error with the v2/logs route persists.

Let's see if this still persists when we use the container's name as the host. Check this in your PR.


SyN registration  eats up memory

I used Affine +SyN registration method to deal with my data,and I found ANTs eats up lots of memory.
fixedImage=9MB,movingImage=3MB,8bit/pixel.in the affine process ,ANTs takes 600MB,while in the SyN process, it takes 1600MB.
and I tried more data,fixedImage=1.1GB,movingImage=450MB,it takes almost 230GB.
I read the source code, found that ANTs support foat and double precision for computations , but even float, it also consumes too much memory.I tried to change the TComputeType to unsigned char, ,Or data type to be unsigned char, precision for computations to be float,but Error occurred.
Any suggestions for  reducing memory consumption,would be greatly appreciated.

a few options

downsample your images beforehand (e.g. using ResampleImage)

do not use full resolution SyN ( see the -f option )

crop your images to remove extraneous image content ( background, etc )

you will not be able to compile syn with u/char types
brian
On Tue, Apr 12, 2016 at 5:29 AM, tanchaozhen<EMAIL_ADDRESS>wrote:

I used Affine +SyN registration method to deal with my data,and I found
ANTs eats up lots of memory.
fixedImage=9MB,movingImage=3MB,8bit/pixel.in the affine process ,ANTs
takes 600MB,while in the SyN process, it takes 1600MB.
and I tried more data,fixedImage=1.1GB,movingImage=450MB,it takes almost
230GB.
I read the source code, found that ANTs support foat and double precision
for computations , but even float, it also consumes too much memory.I tried
to change the TComputeType to unsigned char, ,Or data type to be unsigned
char, precision for computations to be float,but Error occurred.
Any suggestions for reducing memory consumption,would be greatly
appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTs/issues/302

thanks for your help.I've been read "Symmetric diffeomorphic image registration with
cross-correlation".But I don't understand the detailed  of registration process and the code, is there any detailed technical documents for code implementation？

this might give you some insight: http://www.cplusplus.com/doc/tutorial/templates/
or maybe the ITK software guide


[CMP-1349] Updating README.md for new role creation steps

Adding changes to service account for new role creation and assignment.

Looks good


Understand common scams

Hey @jorge-campo, thanks again for your review!
All done. As for "Such tokens are not visible in your Status Wallet." Are we sure about this? Honest, non-rhetorical question., Pedro thinks they won't be visible too. I'll double-check with John on our next meeting and edit this sentence if it turns out to be wrong.


[BUG] om.azure.core.exception.HttpResponseException: Deserialization Failed.

Describe the bug
I am using azure-storage-blob v12.16.0 dependency to get storage blobs data. It was working fine until last month, but now I am getting following exception:
com.azure.core.exception.HttpResponseException: Deserialization Failed.
Exception or Stack Trace
com.azure.core.exception.HttpResponseException: Deserialization Failed.
	at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.decodeByteArray(HttpResponseBodyDecoder.java:99) ~[azure-core-1.49.0.jar:1.49.0]
	at com.azure.core.implementation.serializer.HttpResponseDecoder$HttpDecodedResponse.getDecodedBody(HttpResponseDecoder.java:93) ~[azure-core-1.49.0.jar:1.49.0]
	at com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$decodeBytes$8(AsyncRestProxy.java:169) ~[azure-core-1.49.0.jar:1.49.0]
	at reactor.core.publisher.MonoCallable.call(MonoCallable.java:92) ~[reactor-core-3.4.29.jar:3.4.29]
	at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:227) ~[reactor-core-3.4.29.jar:3.4.29]
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68) ~[reactor-core-3.4.29.jar:3.4.29]
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28) ~[reactor-core-3.4.29.jar:3.4.29]
	at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264) ~[na:na]
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:na]
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
	at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99) ~[reactor-core-3.4.29.jar:3.4.29]
		at reactor.core.publisher.Flux.blockLast(Flux.java:2761) ~[reactor-core-3.4.29.jar:3.4.29]
		at com.azure.core.util.paging.ContinuablePagedByIteratorBase.requestPage(ContinuablePagedByIteratorBase.java:102) ~[azure-core-1.49.0.jar:1.49.0]
		at com.azure.core.util.paging.ContinuablePagedByItemIterable$ContinuablePagedByItemIterator.<init>(ContinuablePagedByItemIterable.java:75) ~[azure-core-1.49.0.jar:1.49.0]
		at com.azure.core.util.paging.ContinuablePagedByItemIterable.iterator(ContinuablePagedByItemIterable.java:55) ~[azure-core-1.49.0.jar:1.49.0]
		at java.base/java.lang.Iterable.spliterator(Iterable.java:101) ~[na:na]
		at com.azure.core.util.paging.ContinuablePagedIterable.stream(ContinuablePagedIterable.java:85) ~[azure-core-1.49.0.jar:1.49.0]
		at com.sams.cash.DLQProcessor.reprocessor.util.BlobUtil.getBlobCsv(BlobUtil.java:31) ~[classes/:na]
		at com.sams.cash.DLQProcessor.reprocessor.handler.PayoutMissedEventsHandler.process(PayoutMissedEventsHandler.java:31) ~[classes/:na]
		at com.sams.cash.DLQProcessor.reprocessor.client.QueueClientListener.onMessageAsync(QueueClientListener.java:68) ~[classes/:na]
		at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$0(MessageAndSessionPump.java:176) ~[azure-servicebus-3.6.6.jar:na]
		at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ~[na:na]
		at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[na:na]
		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
		... 6 common frames omitted

To Reproduce
Steps to reproduce the behavior:
Code Snippet
public String getBlobCsv(String fileName) {
    String directory = getDirectoryName(fileName);
    String csvString = "";
    BlobContainerClient blobContainerClient = blobClient.getContainerClient();
    PagedIterable<BlobItem> blobs;
    blobs = blobContainerClient.listBlobsByHierarchy(directory);
    log.info("Total Count of blobs  : {}",
        blobContainerClient.listBlobsByHierarchy(directory).stream().count());

    BlobItem blobItem = blobs.stream().filter(blob -> blob.getName().contains(fileName)).findFirst()
        .orElse(null);
    if (blobItem != null) {
      com.azure.storage.blob.BlobClient blobClient = blobContainerClient
          .getBlobClient(blobItem.getName());

      if (blobClient != null) {
        try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
          blobClient.download(outputStream);
          csvString = new String(outputStream.toByteArray());
        } catch (IOException e) {
          log.info("Exception occurred while downloading blob : {}", e.getMessage());
        }
      }
    }
    return csvString;
  }

Expected behavior
I should be able to list blobs without any error , as before. There has been no functional change in code in past 1.5 years. Also
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

IDE: [e.g. IntelliJ]
Library/Libraries: com.azure:azure-storage-blob:12.16.0 (groupId:artifactId:version)]
Java version: 11
App Server/Environment:
Frameworks: Spring Boot

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

verbose dependency tree (mvn dependency:tree -Dverbose)
exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

Thank you for reporting this issue @shweta5595!
Looking at the stack trace you've included, I notice that azure-core 1.49.0 is being used alongside azure-storage-blob 12.16.0.  This could be a possible issue with dependency skew, possibly resulting in this issue happening due to dependency conflicts. If possible, could you include the output of mvn dependency:tree on your application. This would help determine if the root issue is in dependency skew.
Additionally, if this is happening consistently, could you include the cause of the HttpResponseException? When this is thrown HttpResponseBodyDecoder should include the causal exception in HttpResponseException which should give a strong indication on what is failing during deserialization.

Hi , we can close this ticket , this was due to jackson version incompatibility .


State corruption in swapper when multiple trades are in flight

Overview
The swapper is getting state updates from other trades when there is more than 1 trade currently in flight, resulting in corrupted state and incorrect states in the UI, as well as incorrect tx links.
References and additional details
Performing RUNE -> BTC trade immediately followed by BTC -> RUNE trade results in the execution polling both txs and shoving state from both into the same UI - note state flip-flopping between inbound and outbound and incorrect tx links:
https://github.com/shapeshift/web/assets/125113430/c04e9075-69c9-4827-83db-ca3096997da0
On completion the status corrects itself and the bogus tx link is removed:

the correct tx link:
https://viewblock.io/thorchain/tx/6c99c929485f1fc19494319fabccdc89eee841f0c8c682a0bf6f04a5395352fb
the bogus one:
https://viewblock.io/thorchain/tx/73D82DFCBB714CF911C321D51582D7517368E26EC80D5117184D2A158346B73C
See src/components/MultiHopTrade/components/MultiHopTradeConfirm/hooks/useTradeExecution.tsx - polling is supposed to be canceled on unmont, so that is either broken or the component isn't actually unmounted when going back to tradeinput page:

Acceptance Criteria
A given trade should only receive status updates for itself. Other trade polling should be unmounted or cancelled.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

I did try to reproduce but it's super hard and cost really much, I'm not even sure that this is a cancelPolling issue as both are called and defined, it might be linked to something else
Also I couldn't reproduce using an EVM tx as well as a thorchain Native to Native swap at the same time, might be only scoped to thorchain swaps

Note for grooming: we may want to use this as an opportunity to discuss handling pending Txs in the app, e.g initiating a THOR Tx but leaving the swapper, or quitting the app/leaving the swapper mid multi-hop Txs - somehow related to https://github.com/shapeshift/web/issues/7255

Note for assignee taking this task:
TRade execution state is stored flat in redux, i.e is not stored by trade ID meaning state from previous trades will overwrite the current one.
The solution will be to:

Store trade execution state in redux by trade ID to eliminate the possibility of other trades interfering with the current state
a. This also opens up the possibility to "resume" a multi-hop trade to sign the second tx after closing the page
Be sure to unmount any components/polling likely to persist state updates after leaving that page


Add configuration option for SSH retry

This will simply the process of using the project in continuous integration systems.

This is already provided by the SSH transport: connection_retries and connection_retry_sleep.


[Upload / Import refactoring] Make the Upload to store FILES through the StorageManager

[ ] Initialize the StorageManager at __init time
[ ] Adapt the UploadFile class accordingly by storing the name/path of the files only
[ ] Make the UploadFile class being able to rely on the StorageManager
[ ] Make the Upload class being able to store the files through the StorageManager

Task
Status

Initialize the StorageManager at __init time
in progress

Adapt the UploadFile class accordingly by storing the name/path of the files only

Make the UploadFile class being able to rely on the StorageManager

Make the Upload class being able to store the files through the StorageManager

QA

Task
Status

Test coverage
in progress


More descriptive commit message

This is opinionated, but I think the commit message should be more descriptive rather than just including the image name and version.
I would like to see something along the lines of
Bump image:version

Automated commit by image-automation-controller
Bump image old_version -> new_version

Optionally, follow the same format as dependabot.

The commit message is configurable.


[backport] Round-up pooled memory allocation size with clp2

Backport of #1372

Jenkins CI test (for commit d982c92e8a26287ca3b0b768fb20f2e8641c3b00) succeeded without errors!

LGTM!


ImportError: No module named tensorflow

ImportError                               Traceback (most recent call last)
 in ()
1 import numpy
----> 2 from keras.datasets import mnist
3 from keras.models import Sequential
4 from keras.layers import Dense
5 from keras.layers import Dropout
C:\Users\Dilip\Anaconda2\lib\site-packages\keras_init_.py in ()
1 from future import absolute_import
2
----> 3 from . import activations
4 from . import applications
5 from . import backend
C:\Users\Dilip\Anaconda2\lib\site-packages\keras\activations.py in ()
2 import six
3 import warnings
----> 4 from . import backend as K
5 from .utils.generic_utils import deserialize_keras_object
6 from .engine import Layer
C:\Users\Dilip\Anaconda2\lib\site-packages\keras\backend_init_.py in ()
71 elif _BACKEND == 'tensorflow':
72     sys.stderr.write('Using TensorFlow backend.\n')
---> 73     from .tensorflow_backend import *
74 else:
75     raise ValueError('Unknown backend: ' + str(_BACKEND))
C:\Users\Dilip\Anaconda2\lib\site-packages\keras\backend\tensorflow_backend.py in ()
----> 1 import tensorflow as tf
2 from tensorflow.python.training import moving_averages
3 from tensorflow.python.ops import tensor_array_ops
4 from tensorflow.python.ops import control_flow_ops
5 from tensorflow.python.ops import functional_ops
ImportError: No module named tensorflow

can anyone help me step by step process to fix the errors

Did u install tensorflow in root directory of anaconda or created a virtual environment ? If you created a virtual environment then you need to activate it.
source activate <environment name>

Have you paid attention to which version of Python (and Pip) you used during setup?

Looks like you have a broken installation of tensorflow. Please try to re-install, and as @SrivastavaKshitij suggest, active.

Closing due to inactivity.


[TODO]  Update gitpod Yaml

With the new all-in-one script from @Dnouv  -  the gitpod deployment is badly outdated and no longer works.
Need to get it updated to support volta based nodeJS/npm version declaration as well as flauna as superprofile in a docker container.

Hey @Sing-Li , I'd like to look into this.. could you please assign me this?

Thanks again @Palanikannan1437      This one is long overdue'd and will benefit almost all new explorers of our codebase  (Gitpod makes it so easy and non-committal )   🙏

Note that you'll likely want to leverage prepared docker images in the workflow to enhance the developer experience.

Thanks again @Palanikannan1437 This one is long overdue'd and will benefit almost all new explorers of our codebase (Gitpod makes it so easy and non-committal ) 🙏

Thanks a ton for assigning and guiding me constantly @Sing-Li, I've been going through the gitpod documentation and all existing scripts to get a better understanding!

Are you talking about something else in context of gitpod here?😅

Exactly 🙂
Ideally, the Gitpod user should be able to just paste in  our repository URL, then ....

bam boom boom kapow !!
a VSCode windows pops up, a web browser with the site pops up,  with all our servers running on Gitpod, and they can modif y the code immediately

That'll be the dream and ideal developer experience.

Are you talking about something else in context of gitpod here?😅

Exactly 🙂
Ideally, the Gitpod user should be able to just paste in  our repository URL, then ....

bam boom boom kapow !!
a VSCode window pops up, a web browser with the site pops up,  with all our servers running on Gitpod, and they can modify the code immediately

That'll be the dream and ideal developer experience.

This definitely is gonna be a super fun thing to work on...I love playing around with automation and scripts to automate my dev workflows!! (with alfred workflows and applescript for now🙃)
https://twitter.com/Palanikannan_M/status/1560511839536001024?t=LZHRKiDDHgTLx7TQVGgYQg&s=19
This is one of the dev scripts I made for opening Rocket.Chat.Electron's dev environment using a single command 😄


Resource consumption

Thanks for sharing this nice tool, @greole !
An important thing I've just noticed on my workstation and that I'd strongly suggest you to pay attention on is the huge resource consumption. See below:
me@work:~$ top
Tasks: 324 total,   3 running, 321 sleeping,   0 stopped,   0 zombie
%Cpu(s): 23.7 us,  2.6 sy,  0.0 ni, 73.5 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 24670288 total,  6028568 free,  7764416 used, 10877304 buff/cache
KiB Swap:        0 total,        0 free,        0 used. 16067068 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
23484 me        20   0  139352  23464   7516 R 110.3  0.1   0:12.56 foamMon
22850 me        20   0<PHONE_NUMBER>72  66328 R 100.0  2.0  19:49.82 pimpleFoam
15590 me        20   0  859396  32380  21004 S   1.3  0.1   4:08.52 mate-terminal
17925 me        20   0 1556228 305664  20744 S   1.0  1.2 166:25.82 paraview
 1417 root      20   0<PHONE_NUMBER>84 175152 S   0.3  2.1 590:32.77 Xorg
...

I don't know if this issue manifest in another platforms too. I am reporting this from an Ubuntu-16.04.

Thanks for reporting @dolphguin,
I'll have a look into this. It is probably caused by the file discovery process, which is running continuously. One potential fix would be to scan the folder only once for logfiles instead continuously. This would mean that new cases are not discovered when created after the start of foamMon.
However, one thing to note is that on nfs (maybe samba too) mounts resource consumption is much higher compared to a local filesystem.

In Linux, this should be something unnoticeable. What I reported above is from the local filesystem, which is ext3 or ext4.
Did you think about restricting the refresh rate e.g. with sleep 1 between successive checks?
This should reduce the frequency in many orders of magnitude

I just merge 0.2.4 to master and uploaded it to Pypi. Could you try it out and see if it reduces the load?

It reduced indeed the load.
Now it takes about 20% of the max. processor load (just tested for one running simulation case). I'd say that it remains being high for a monitor without special graphics... but it is a good advance!

#9 cuts it down to < 5% on my machine in overview mode. But I'll test a bit more and add further bigfixes before merging it.


User profile won't stay signed in when vscode is closed and reopened.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.85.1
OS Version: Ubuntu 22.04.3 LTS

Steps to Reproduce:

Installed Ubuntu 22.04.3.
Turned on Automatic Login.
Added Ubuntu Single Sign-On account, which gave me prompt to create default keyring which I made the same as system password.
3.1. Removed Ubuntu Single Sign-On after restart.
3.2. Re-added Ubuntu Single Sign-On after another restart.
Used unsnap to replace snap (incl. code) with flatpak.
Opened vscode and signed in to sync settings using device code.
Success on GitHub.com, and then I got a notification on vscode:

You're running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or another libsecret compatible implementation installed and running.

Restarted system, and I have to repeat sign in to sync settings using device code.
Closed vscode, and reopened it and I have to repeat sign in to sync settings using device code.

I have gnome-keyring installed and running as it outputs "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh" when I run gnome-keyring-daemon --start.
I tried a few solutions:
export $(dbus-launch)
"password-store":"gnome-keyring" in argv.json
gnome-keyring-daemon --replace --unlock
Installing and running seahorse
Asking ChatGPT

It seems the problem was related to flatpak's sandboxing. I decided to install vscode via apt and everything is now working as expected.


Compared with semi-supervision

I would like to ask what is the difference between active learning and semi-supervision.
I am doing semi-supervised, I read the paper and the code and didn't find difference,
Is active learning and semi-supervised the same thing？ Or What is the main difference between the two, and can I directly use active learning for semi-supervision？

So after active learning to select those informative samples, you still need to humanly annotate it before next cycle?

So after active learning to select those informative samples, you still need to humanly annotate it before next cycle?

In actual industrial applications, the human labeling after each cycle is required. But in the experiment, we only need to enable the label and annotation of the "unlabeled" samples, because the annotations of all samples in the datasets are available.

got it. Thanks for your patient reply!


⚠ Contemporanea B2B has degraded performance

In 3c15eb4, Contemporanea B2B ($SITE_CNTMB) experienced degraded performance:

HTTP code: 200
Response time: 8709 ms

Resolved: Contemporanea B2B performance has improved in 5a36233.


First time call is disconnected

When I do sign up and initiate the first call at that time the call is getting disconnected from the user side. While same configuration is working when I do the call second time. Can anybody help me to sort out this problem?
I had integrated using 'zego_uikit_prebuilt_call' & 'zego_uikit_signaling_plugin'.

Could you please provide more specific example code and error messages?

the issue has been too long without a reply, so it is closed.


[WFLY-19395] Upgrade WildFly Arquillian to 5.1.0.Beta3. This allows o…

…ne test to be enabled and a change to two different tests that check the contents of a deployment.
https://issues.redhat.com/browse/WFLY-19395

Thanks @jamezp!
@tadamski FYI -- your test is re-enabled :)


add more test coverage for unit tests

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.
If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version,

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Do you want to remove the enable from the project in a follow up PR @glorialimicrosoft ?
Either way works. Thanks for adding coverage !

Thanks for adding coverage @glorialimicrosoft
We should probably add some tests for each of the message content types as well (topicUpdated, participantAdded etc..)
And also we can now remove the enable from the project, and update the required code.

add some tests for each of the message content types


Add GasPrice to BackupCodes

Before:

After:

Before:

After:

Before:

After:

Before:

After:

Mobile:

New version (I got rid of text 'Generate new codes and keep them safe'. I think it isn't much informative and the button is self-explanatory):

Mobile:


Kamelet with id aws-s3-source not found in locations: file:/etc/camel/kamelets/kamelets-bundle-aws-s3-source-pipe-001,classpath:/kamelets

Now trying the aws-s3-source Kamelet, it looks like:
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
  name: aws-s3-source-pipe
spec:
  integration:
    dependencies:
    - "camel:cloudevents"
  source:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1
      name: aws-s3-source
    properties:
      bucketNameOrArn: "soomebucket"
      accessKey: "the access key"
      secretKey: "the secret"
    dataTypes:
      out:
        format: aws2-s3:application-cloudevents
  sink:
    dataTypes:
      in:
        format: http:application-cloudevents
    ref:
      kind: Broker
      apiVersion: eventing.knative.dev/v1
      name: kamelet

However, in the pod for that "aws source" I get the following
2023-12-07 09:39:30,593 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.RuntimeCamelException: org.apache.camel.VetoCamelContextStartException: Failure creating route from template: aws-s3-source
	at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:66)
	at org.apache.camel.support.service.BaseService.doFail(BaseService.java:407)
	at org.apache.camel.impl.engine.AbstractCamelContext.doFail(AbstractCamelContext.java:2996)
	at org.apache.camel.support.service.BaseService.fail(BaseService.java:336)
	at org.apache.camel.impl.engine.AbstractCamelContext.failOnStartup(AbstractCamelContext.java:3949)
	at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2075)
	at org.apache.camel.support.service.BaseService.start(BaseService.java:105)
	at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2081)
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:313)
	at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94)
	at org.apache.camel.support.service.BaseService.start(BaseService.java:113)
	at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:140)
	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown Source)
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:111)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
	at io.quarkus.runner.GeneratedMain.main(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:61)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
Caused by: org.apache.camel.VetoCamelContextStartException: Failure creating route from template: aws-s3-source
	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.onContextInitialized(KameletComponent.java:433)
	at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2406)
	at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:171)
	at org.apache.camel.support.service.BaseService.init(BaseService.java:78)
	at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2062)
	... 23 more
Caused by: org.apache.camel.component.kamelet.KameletNotFoundException: Kamelet with id aws-s3-source not found in locations: file:/etc/camel/kamelets/kamelets-bundle-aws-s3-source-pipe-001,classpath:/kamelets
	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.createRouteForEndpoint(KameletComponent.java:421)
	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.onContextInitialized(KameletComponent.java:430)
	... 27 more
Caused by: java.lang.IllegalArgumentException: Route template aws-s3-source the following mandatory parameters must be provided: region

But the kamelet is there:
k get kamelets.camel.apache.org aws-s3-source
NAME            PHASE
aws-s3-source   Ready

I install Camel-K on Minikube, via https://github.com/matzew/eventing-cloud-integration/tree/main/system

You need to set the region too, if you set accessKey and secretKey
  source:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1
      name: aws-s3-source
    properties:
      bucketNameOrArn: "soomebucket"
      accessKey: "the access key"
      secretKey: "the secret"
      region: "whatever"

It's reported in the error:
Caused by: java.lang.IllegalArgumentException: Route template aws-s3-source the following mandatory parameters must be provided: region

yeah, I just realized that too. Thanks!
After adding the region, I am getting:
aws-s3-source-pipe-7f5bb847b4-hspfx integration 2023-12-07 09:50:54,623 WARN  [org.apa.cam.com.aws.s3.AWS2S3Consumer] (Camel (camel-1) thread #1 - aws2-s3://arn:aws:s3:::SOMETHIG) Error processing exchange. Exchange[XXXXXXXXXXXX-XXXXXX]. Caused by: [org.apache.camel.CamelExecutionException - Missing data type transformer from null to type camel:aws2-s3:application-cloudevents on the exchange: Exchange[]]: org.apache.camel.CamelExecutionException: Missing data type transformer from null to type camel:aws2-s3:application-cloudevents on the exchange: Exchange[]
aws-s3-source-pipe-7f5bb847b4-hspfx integration 	at org.apache.camel.processor.tran

which

yes, it's the same situation.

OK, than I am blocked.
Anyways, thanks for the help on both tickets.

I hope we are able to release camel-k 2.2.0 soon @squakez

What I also do not fully like, is that the Pipe still returns it is ready:
k get pipes.camel.apache.org
NAME                 PHASE   REPLICAS
aws-s3-source-pipe   Ready   1

While in the pod has an exception and it could be set to ready:false, with a reason for that, like other kube resources do

This should go in the camel-k repository as issue I guess.

ok! will do

@matzew here is one thing that you can try to unblock this until the new release is available.

This points to the Kamelet utils library version 4.1.0 which should have the data type available.
Please let me know if this works.

They both run in default namespace, and applying that resource there, does not fix it

Turns out this is related to #5047 because service discovery mechanism for data types has been broken. Fixed with #5055


[QUESTION]  Failed prop type: Invalid prop form

How can i do  fix ? form prop i get this error ,

The form object should not be an array, so not sure why it is saying that it is expected, but it would help to know what the value of your "form" is here. Is it an object or an array?

I write the data to the console, you can find it in the appendix @travist

Thank You.

Why are you closing the ticket? I did not get the answer. @wag110894

@fdurna you set form to items state. And initial value of items is [], that's why it fails. Set initial value to something like this
const [items, setItems] = useState({ display: 'form', components: [] });

thank you very much, it worked @alexandraRamanenka


Add mustExist argument to unwrapSymbol

Motivation

Pre-work for #4340
Test plan

No functional changes.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_JqCUK7EXJtnDax
→ https://go/builds/bui_JqCUCVusEMfCiG


Manage dtypes and memory usage in SQLiteIOManager

SQLite only supports simple data types internally, so when we round-trip a dataframe to the DB we lose precious typing information. At least within Dagster, we may be able to work around this by managing types in the SQLiteIOManager.
Some issues this can address:
Different string representations of the same datetime64 objects being stored in the DB due to different precision on the seconds. We can fix this by formatting any datetime columns as strings equivalent to datetime64[s] before writing out to the database.
When reading a table out of the database, we can use pudl.helpers.apply_pudl_dtypes()  to ensure that we get the correct data types for use in pandas. E.g. 0, 1, and NULL in a boolean column read from SQLite would become False, True, and pd.NA in pandas. We'd get nullable integers rather than floatified integers, nullable strings instead of objects.
We could also go one step further and use pudl.metadata.classes.Resource.enforce_schema(), which would convert memory intensive string columns that are actually categoricals into pd.CategoricalDtype().
To reduce peak memory use, and not just the size of the finished dataframe when converting strings to categoricals, we can read tables with chunksize=100_000 or something similar, and convert the individual chunks one by one before concatenating the whole table into a single dataframe.
For example in the case of demand_hourly_pa_ferc714, the following reduced peak memory usage by ~10x, and the final size of the dataframe in memory by ~3x without adding a noticeable amount of time to the operation.
    def demand_hourly_pa_ferc714(self) -> pd.DataFrame:
        """An interim FERC 714 output function."""
        dhpa_res = Package.from_resource_ids().get_resource("demand_hourly_pa_ferc714")
        # Concatenating a bunch of smaller chunks reduces peak memory usage drastically
        # and doesn't seem to take any longer.
        return pd.concat(
            [
                # enforce_schema() cuts memory use by ~70% b/c of categorical tzones
                dhpa_res.enforce_schema(df)
                for df in pd.read_sql(
                    "demand_hourly_pa_ferc714",
                    self.pudl_engine,
                    chunksize=100_000,
                )
            ]
        )

It looks like we can specify a formatting string in the SQLite-specific DATETIME class with SQLAlchemy
from sqlalchemy.dialects.sqlite import DATETIME

dt = DATETIME(storage_format="%(year)04d/%(month)02d/%(day)02d %(hour)02d:%(minute)02d:%(second)02d")


typescript error using library

Hi, firs of all thanks for writing a fantastic lib.
When importing the lib I keep getting the following typescript error:
Could not find a declaration file for module 'use-broadcast-channel'. '.../node_modules/use-broadcast-channel/dist/index.cjs' implicitly has an 'any' type.
  Try `npm i --save-dev @types/use-broadcast-channel` if it exists or add a new declaration (.d.ts) file containing `declare module 'use-broadcast-channel';`ts(7016)

I saw in the build script that there is a tsc command to generate a d.ts but I'm unable to find it in the ./dist folder.
I think the issue is that the file is indeed generated but output to ./dist/src/index.d.ts and thereby not resolved.
manually moving the file worked for me so I guess it's a minor tweak to the tsconfig.json file needed.
Will try to fix and submit a PR

PR opened: https://github.com/GuptaSiddhant/react-broadcast-channel/pull/2

tried to fix this in PR (now closed) but ran in to other issue:

dynamic react import error

I've temporarily patched package.json with...
  "types": "./dist/src/index.d.ts",


Fig config option

Adda config option to install fig on the docker host

Fig has been superceded by Compose. - just a note.

this should probably be done as an action.


Issues with CFLAGS and LDFLAGS

Hey @AlbanSeurat
This https://github.com/openairplay/goplay2/blob/main/codec/aac.go#L27-L30 is problematic.

on linux, the use of a static version of libfdk is forced
on mac & linux, the path information (-I, -L) may or may not work / make sense, override proper system values to something undesirable

Both points are problematic for cross-compilation and for systems that do not ship a static version of libfdk - typically Debian Buster in the Dockerfile already requires live-patching the source (https://github.com/openairplay/goplay2/pull/19/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R9)
Suggestion would be to leave the responsibility of picking these to the build system / command (eg: "-extldflags -static(-pie)") for people who would really want to be specific about these.
For most normal people, things will just continue building by default, and this should make life easier for advanced users (looking for cross-compilation, or more control over static vs. dynamic).
Let me know your thoughts and if you agree I can send a small PR to change that.

I saw your patch on your docker file and I do understand why you would like to get rid of it.
However, I had link issue at startup with the dynamic lib on Ubuntu ( or raspbian) with missing symbols.
I do not want to have “-static” as it static link the libc as well and it does not work with cgo.
If you can find a simple cross platform solution (ubuntu, raspian, debian, macOS), I am happy to let you do it.
Just for Info, I had remove the makefile to keep thing simple at build time with just “go build”.

Ok. I'll have a deeper look into this and see if there is a good way to accommodate all use cases.

Static linking against glibc with CGO should still work fine (Would require the same version of glibc dyn lib to be there at runtime because NSS), but then if you do not require NSS, building with netgo should fix that. Musl static should work fine as well.
More later if I can get something nice in.

Exactly it was related to dns and how libc handle it.
Again, I have a simple “go build” solution to help me focus on audio features. And again, happy to receive help to improve the rest :)


Assitance with plugin and OTP

KeyCloak: 6.0.1
Nexus3: OSS 3.17.0-01
Plugin: 0.3.4
When I enable OTP for a user associated with my nexus client, and try to authenticate to nexus I get:
 #033[0m#033[33m15:34:38,397 WARN  [org.keycloak.events] (default task-20) type=LOGIN_ERROR, realmId=Test, clientId=nexus3, userId=531c6fe4-0644-4f86-9909-dff8b713cb02, ipAddress=<IP_ADDRESS>, error=invalid_user_credentials, auth_method=openid-connect, grant_type=password, client_auth_method=client-secret, username=test-user

@IMbiea Yes, it is already achieved in the version 0.3.4+. But you need to setup a reverse proxy before the Nexus3 server for enabling Single Sign On (SSO).

Close the inactive issue, if there still are some problems, please just make a comment or create a new issue :)


Update Analysis Services Autorest config (ReadMe.md) to include version 2017-08-01-beta

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@michael-falk,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

The CI build fails for a file I did not change...

@michael-falk,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

covered https://github.com/Azure/azure-rest-api-specs/pull/1526

Closing per conversation with @taiwu , who indicated this change is included in the linked PR. thanks!


🌱 Debug dns e2e test failures

Summary
Dummy PR to test / debug failures of the new Syncer DNS e2e test on main
Related issue(s)
Related to the fact that these e2e tests fail on PR https://github.com/kcp-dev/kcp/pull/2452.
Need to know if it is also the case on top of main.

Not needed anymore. The e2e test works correctly.


Switching Gtk themes deadlocks UI

Description:
Switching themes on Ubuntu 18.04 using Gnome Tweak Utility deadlocks the Swing UI if the Gtk theme is being used.
Platform:
Linux (Ubuntu 18.04)
AdoptOpenJDK 11.0.3
Architecture:
x86_64
Steps:

Install the gnome-tweak-tool
sudo add-apt-repository universe
sudo apt install gnome-tweak-tool

Run the following code snippet
import javax.swing.*;

public class ThemeCrash {
    public static void main(String ... args) {
        SwingUtilities.invokeLater(() -> {
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                JOptionPane.showMessageDialog(null, "test");
            } catch (Throwable ignore) { }
        });
    }
}

Observe that the "Ok" button can be clicked.

Launch Gnome Tweak Tool.  From the "Appearance" tab, change the theme from "Adwaita (default)" to "Adwaita-dark"

Observe that the "Ok" button can no longer be clicked.

Cross-linking a JDK7 bug report which reads very similar in description:
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7123957
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7166433 (duplicate)

Is this also the case with Adopt 11.0.4?  Is the end-user also able to try Azul's Zulu?  That should help us understand if this needs to get reported upstream.

Is this also the case with Adopt 11.0.4?

Yes.

Does not occur with ubuntu provided OpenJDK
openjdk 11.0.4 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

When I swap the 2 lines of code around in your example the OK button can be clicked on the fly after a theme change.  Is that a possible workaround for you?

Swapping them around constructs the dialog with a non-Gtk theme, essentially calling the UIManager.getCrossPlatfomLookAndFeelClassName().  The bug isn't reproducible when they're swapped because it's not using the correct theme.
The correct theme for a Gnome3 desktop is the Gtk theme, so order is an important component in our use-case so that we can leverage this theme.

Swapping them around constructs the dialog with a non-Gtk theme, essentially calling the UIManager.getCrossPlatfomLookAndFeelClassName(). The bug isn't reproducible when they're swapped because it's not using the correct theme.
The correct theme for a Gnome3 desktop is the Gtk theme, so order is an important component in our use-case so that we can leverage this theme.

Gotcha - will keep digging.


Validate ClangWorkspaceSettings before preferring it over unknown WorkspaceSettingsChanges

Basically everything will be decoded as ClangWorkspaceSettings, even if it has nothing to do wit hit, yielding for example:
clangd(LanguageServerProtocol.ClangWorkspaceSettings(compilationDatabasePath: nil, compilationDatabaseChanges: nil))

This breaks at least my case of using WorkspaceSettingsChange. This patch adds a - maybe bandaid - fix for that.
Furthermore I removed one test, as it - AFAIU - broke the invariant that none of the attributes of ClangWorkspaceSettings may be nil.
I'm not sure whether there would be a better solution, but this patch works for my use.

@swift-ci Please test

@swift-ci Please test

Oh, sorry, thanks for the ping. I forgot to set myself a reminder to check again after CI passed. There’s nothing use from merging it.

@swift-ci Please test

@swift-ci Please test Windows

@swift-ci Please test Windows

Yes, the failure seems unrelated. Let’s try again.
@swift-ci Please test Linux

Sorry about missing the PR testing a few times and that it took a while to get this change in.


Comment thread button actions appear twice

Run the comment thread sample
Create a note
Click "Edit" on the note
See the Cancel and Save buttons twice

What is the "comment thread sample" ?

This sample extension https://github.com/microsoft/vscode-extension-samples/tree/master/comment-sample


added ByteStream protocol

Adds ByteStream protocol to circuitpython_typing. Partially addresses #6050 by defining a suitable type for annotating in msgpack.pack and msgpack.unpack.

If there's a use case for it, it would be useful to have Readable- and WriteableByteStream. I'll go ahead and make another commit for that.
My only concern is whether we still need the combo ByteStream as a single type annotation; I'm not familiar with other places byte streams are use in CircPy. The obvious thing to do is have a class ByteStream(ReadableByteSteam, WriteableByteStream) definition. But sometimes it seems that readthedocs isn't good about showing either superclasses or inherited methods; I know I've had to guess where to find a description of a method that I know an object has.


Support for Windows and OSX [FEATURE]

Is your feature request related to a problem? Please describe.
It would be cool if this worked cross-platform.
Describe the solution you'd like
Figure out how to package this for Windows and OSX
Additional context
Some sub-tasks

Github Action to run tests on Windows
Github Action to run tests on OSX
Github Action to test install on Windows, OSX, and Linux
Add Windows executable to releases

I think it would be best to switch to pip and virtualenv to do this, I don't think any of the packages require conda anymore.

Wxpython does not work so good with pip

There is now a github actions workflow that uses pyinstaller to attach the necessary binaries to new releases.


manimgl example_scenes.py OpeningManimExample

Description of bug / unexpected behavior

After installing manim. I execute the basic example. And it crashes. manimgl example_scenes.py OpeningManimExample
Expected behavior

How to reproduce the issue

Warning: Using the default configuration file, which you can modify in /Users/parfait/manim/manimlib/default_config.yml
If you want to create a local configuration file, you can create a file named custom_config.yml, or run manimgl --config
Animation 0: WriteText:   0%|                            | 0/60 [00:00<?, ?it/s]2021-04-14 07:29:44.415 python[85247:2209940] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fbec8ab2530>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-04-14 07:29:44.416 python[85247:2209940] Warning: Expected min height of view: (<NSButton: 0x7fbed0536d50>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-04-14 07:29:44.418 python[85247:2209940] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fbed0539910>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-04-14 07:29:44.420 python[85247:2209940] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fbed0543c80>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
ERROR:root:"
LaTeX Error!  Not a worry, it happens to the best of us.
Missing $ inserted.

Hello! It seems you are mixing different, incompatible versions of manim. This repository is for the community maintained version of manim (render command: manim), while you seem to be running manimgl, which is the version maintained by 3b1b over at https://github.com/3b1b/manim

Many thanks!
On Wed, 14 Apr 2021 at 13:40, Benjamin Hackl @.***>
wrote:

Hello! It seems you are mixing different, incompatible versions of manim.
This repository is for the community maintained version of manim (render
command: manim), while you seem to be running manimgl, which is the
version maintained by 3b1b over at https://github.com/3b1b/manim
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManimCommunity/manim/issues/1330#issuecomment-819452305,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKQN3YCGJM7KBIGHPLEOX3TIV5JJANCNFSM425G2KQQ
.

--
Parfait Atchadé
Tel Spain:<PHONE_NUMBER>543
Tel Deutsch:<PHONE_NUMBER>9017


Pass key as string?

From what I can see in docs, it seems only possible to pass a file path in the constructor. It would be helpful if I could pass the key directly as a string without having to create a file first (in my case it's coming from a database). Is there maybe a trick using the resource method somehow?

i think you can directly set the resource as key.
$key = openssl_pkey_get_private('your rsa key as string from database');
$jwt = new JWT($key, 'RS256');

// ...

closing for now


US 73: HTTP / HTTPS code refactoring

This PR contains:

Support for HTTPS in disabled state. Once the HR monitor changes are changed to https and other devs able to work with https it can be enabled.

On cancelling, unsubscribe event handled which aborts current request and prevents further requests from initiating.

Loader support added by @vishwasanavatti as there is flickering issue happens in real device in applicants and upload pages because of delay in promise resolving.

Pipe added for translation of degree type and employment type.

Code refactor and error message refactor in applicants upload page.

Issue fix of https://github.com/Nasser-Eddin-Nasser/Digitact/issues/73

Procedure to trust self signed SSL:
https://www.thomasvitale.com/https-spring-boot-ssl-certificate/
SSL certificate is already created. So based on OS import the certificate and trust and make the Google chrome to trust it.
@vishwasanavatti can you review it?
@denoribi Can you review the translation keys added  in German
@dalex135 Please check the above comments and the link and do the needful for enabling https in HR monitor.

Then I will merge it. Still the i18n keys are not reviewed. Anyways can merge it from my view. If any change are suggested , I will do that.


Support single message transformers

Fixes #217

I just deployed the docker image and it is complaining ModuleNotFoundError: No module named 'cfgv'

I just deployed the docker image and it is complaining ModuleNotFoundError: No module named 'cfgv'

Yes, there was a wrong import.


Add TimeStep#pauseDuration, pass in Phaser.Core.Events#RESUME

This PR

Adds a new feature

Some people want to use the time interval, and you would have to calculate it yourself, even though TimeStep knows what it is. So I added.
this.game.events.on('resume', (pauseDuration) => {
  console.log('%s ms have passed', pauseDuration);
});

👍


Merge upstream

This PR consists of a merge with upstream/main including reformating and linting using new pre-comits. I suggest to review this PR by doing the following (instead of checking each line change):

Create env with pip
Create env with conda
Run slurm_train.sh
Run slurm_eval.sh

If all runs through smoothly without errors, we can merge. I am handling this a bit like an initial commit.

@joeloskarsson Just wanted to let you know that I have prepared myself for our co-coding session in May :computer:. Our main-branch is up-to-date with yours :handshake:  Thanks again for implementing the pre-commits!


Keep default ECP up to date in infra-deployments

https://issues.redhat.com/browse/HACBS-1652
Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Codecov Report

Merging #319 (1f9d1a2) into main (fbd3501) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #319   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           62        62
  Lines         1668      1668
=========================================
  Hits          1668      1668


LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!

Hello,
trying to compile a test project in a 64bit environment with the  addition of -m32 flag, which compiles and runs and it should.
cmake -E make_directory build_mut
cmake -H. -Bbuild_mut -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -Dwith_test=ON  -DCMAKE_C_FLAGS="-m32 -fembed-bitcode" -DCMAKE_CXX_FLAGS="-m32 -fembed-bitcode" -DOPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/libcrypto.so -DOPENSSL_INCLUDE_DIR:PATH=/usr/include -DOPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib/libssl.so -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_C_COMPILER=/opt/clang70/bin/clang -DCMAKE_CXX_COMPILER=/opt/clang70/bin/clang++ -DCMAKE_POSITION_INDEPENDENT_CODE=ON

But when trying to run the mull-cxx:
mull-cxx -test-framework=GoogleTest -compdb-path=./ -ld_search_path=/usr/lib  -mutators=math_add_mutator ./testBin/my_check

Extracting bitcode from executable (threads: 1): 1/1. Finished in 21ms.
Loading bitcode files (threads: 7): 7/7. Finished in 162ms.
Compiling instrumented code (threads: 7): 0/7LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!

The compilation flags contains the -m32 flag.
Any tip on how to overcome this issue?

Hi @apmanol, you need to also compile Mull for x32 then.
Mull uses JIT to run the tests and the JIT engine cannot run x32 programs when it's compiled in x64 mode.
I'm actually doing exactly this right now, I will add instructions on how to do this during the next 30 minutes or so.

@AlexDenisov Thanks a lot for the prompt answer!

Here is the instruction:
git clone https://github.com/mull-project/mull.git -b x32 --recursive
git clone https://github.com/llvm/llvm-project.git -b release/8.x
mkdir build.dir
cd build.dir
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DMULL_BUILD_32_BITS=On -DPATH_TO_LLVM=../llvm-project/llvm ../mull
ninja mull-cxx

That should work, let me know if you get any other issues.

Here is the instruction:
git clone https://github.com/mull-project/mull.git -b x32 --recursive
git clone https://github.com/llvm/llvm-project.git -b release/8.x
mkdir build.dir
cd build.dir
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DMULL_BUILD_32_BITS=On -DPATH_TO_LLVM=../llvm-project/llvm ../mull
ninja mull-cxx

It can't find the correct type(32bit) of libsqlite3 if there are both (64bit && 32bit) in the system.

@apmanol which distro are you on? I'm using macOS and haven't seen this issue before.

FC 29, but this is the general case because it is based on pkg_check_modules and for some reason prefers the 64bit version.

Unfortunately, I could not find a solution to this issue. The best I can do is to try providing prebuilt packages for i386. Would that help @apmanol?

No worries, it's a classic issue with those cmake magics, I will modify the cmakelist.txt to find the appropriate lib.

No plans to support 32bits unless anyone volunteers to take care of it.

No worries, thanks for the nice software you support!


error reported while using TensorForestEstimator. tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'FertileStatsResourceHandleOp' in binary running on...

Have I written custom code - Yes, but provided code in link also has same problem
OS Platform and Distribution - Windows 7
TensorFlow installed from - PIP install
TensorFlow version - 1.4 and 1.5 both on CPU
Bazel version - No bazel version used
CUDA/cuDNN version - N/A
GPU model and memory - N/A
Exact command to reproduce - provided a link to python script below to reproduce this issue
I am trying to use "TensorForestEstimator" defined in "tensorflow.contrib.tensor_forest.client.random_forest". I get following error.
Same error is reported when I run this script
https://www.kaggle.com/biscuitlickz/iris-predictions-using-tensorflow/code
Traceback (most recent call last):
File "titanic_random_forest.py", line 201, in
app.run(main=main)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run
_sys.exit(main(argv))
File "titanic_random_forest.py", line 136, in main
est.fit(input_fn=train_input_fn, steps=TRAIN_STEPS)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\util\deprecation.py", line 316, in new_func
return func(*args, **kwargs)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 480, in fit
loss = self._train_model(input_fn=input_fn, hooks=hooks)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 985, in _train_model
model_fn_ops = self._get_train_ops(features, labels)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 1201, in _get_train_ops
return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 1165, in _call_model_fn
model_fn_results = self._model_fn(features, labels, **kwargs)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\client\random_forest.py", line 168, in _model_fn
device_assigner=dev_assn)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\python\tensor_forest.py", line 376, in init
tree_variables_class=tree_variables_class)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\python\tensor_forest.py", line 350, in init
self.variables.append(tree_variables_class(params, i, training))
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\python\tensor_forest.py", line 318, in init
params, '', self.get_tree_name('stats', tree_num))
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\python\ops\stats_ops.py", line 102, in fertile_stats_variable
container, shared_name=name, name=name)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\contrib\tensor_forest\python\ops\gen_stats_ops.py", line 141, in fertile_stats_resource_handle_op
shared_name=shared_name, name=name)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 3162, in create_op
compute_device=compute_device)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 3208, in _create_op_helper
set_shapes_for_outputs(op)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 2427, in set_shapes_for_outputs
return _set_shapes_for_outputs(op)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 2400, in _set_shapes_for_outputs
shapes = shape_func(op)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 2330, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 627, in call_cpp_shape_fn
require_shape_fn)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 686, in _call_cpp_shape_fn_impl
input_tensors_as_shapes, status)
File "F:\programs-all\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'FertileStatsResourceHandleOp' in binary running on ATWOOD_SRAO. Make sure the Op and Kernel are registered in the binary running in this process.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

required details updated above.

The same is happening for me on windows 10, same version installed from pip CPU only

@caisq can you please take a look?

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Hi, any updates on this issue? I am facing the same issue when trying to import a saved model using Python as well as Java bindings.

@gilberthendry, @thomascolthurst could you also take a look into this?

@nataliaponomareva

any update on this? I am getting same error.
File "load_grph.py", line 20, in load_graph
tf.import_graph_def(graph_def, name="prefix")
File "/home/neva/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 285, in import_graph_def
raise ValueError('No op named %s in defined operations.' % node.op)

I ran into the same issue.

I am getting same error.

I am getting the same issue

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

+@yupbank

hi... sorry for not the late reply, the  Op type not registered '*' in binary is a know issue in java land, since by default  tf.contrib project .so didn't get package within the java distribution can be addessed by TensorFlow.loadLibrary() https://github.com/tensorflow/tensorflow/issues/10454#issuecomment-344139462
Meanwhile, for the tensorflow in python having this kind of error could be soemthing to do with misconfiguration with bazel? i'll have to spend more time into reproduce the error to achieve a conclusion

Hello @yupbank, I'm also having the same problem, I wrote a minimum script that reproduces the error:
import pandas as pd
import tensorflow as tf
from tensorflow.contrib.tensor_forest.python import tensor_forest
from tensorflow.contrib.tensor_forest.client import random_forest

def main():
    model_dir = './model'

    params = tensor_forest.ForestHParams(
        num_features=1,
        num_classes=2,
        num_trees=100,
        max_nodes=1000,
    ).fill()

    classifier = random_forest.TensorForestEstimator(
        params,
        model_dir=model_dir
    )

    data = pd.DataFrame(data={'x':[2, 3], 'y': [0, 1]})

    x_train, y_train = data, data.pop('y')

    input_fn_train = tf.estimator.inputs.pandas_input_fn(
        x=x_train,
        y=y_train,
        batch_size=1,
        num_epochs=100,
        shuffle=True,
        target_column='y'
    )

    classifier.fit(input_fn=input_fn_train)

if __name__ == '__main__':
    main()

Thank you @lanahra  !! can you have do this
You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Unfortunately I'm running on a Windows machine, so I cannot run the environment capture script.
Here is the second one:
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

C:\Users\%USER%\AppData\Local\Programs\Python\Python36\lib\site-packages\h5py\__init__.py:36:
FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is
deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
b'v1.8.0-0-g93bc2e2072' 1.8.0

sorry guys... according to the latest changes to tensor_forest BUILD file.
https://github.com/tensorflow/tensorflow/commit/38e0139329482d8e44629dea2e87853808eacd0d#diff-894ca5f2ae1e390cc3eba58d9e4052ed
windows support is not being added for now i guess...
tf.contrib projects are not officially supported, and may change or be removed at any time without notice.
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib#tensorflow-contrib

dll missing from the folder

i'll close this issue for now, and will try to make more priority to add windows support for tensor_forest

@yupbank I found the same issue on ubuntu18.04 while trying to read the node info from .pb model file in TF 1.14.0, and this error is caused by compilation with Bazel(I tried to fix it, and I found in tensorflow\contrib\tensor_forest\python\ops\_stats_ops.so the so-called FertileStatsResourceHandleOp is already existed), so I guess that your team has fixed that problem on Ubuntu whereas .dll problem is still in suspensory status and to make the error messages sync among platforms, however, the same error reported on Ubuntu has solutions. Thus, I worked it out with
import tensorflow as tf
from tensorflow.contrib.tensor_forest.python import tensor_forest
from tensorflow.python.ops import resources

and this solution is inspired by https://github.com/aymericdamien/TensorFlow-Examples/issues/212#issuecomment-743026970
In brief words, if anybody has the same problem (in TF 1) on Win10, they can avoid these errors by using Ubuntu and import proper modules in tf.contrib.


Attach Receipt to Paid Charge Expenses

Resolves https://github.com/opencollective/opencollective/issues/4067

@kewitz no emergency since the feature is not public yet, but I just realized we will need to update the code for tax forms to make sure charges are not counted in the calculation:

https://github.com/opencollective/opencollective-api/blob/f9fc75b1e1885767e836a7259cc1c6dfb69503e8/server/lib/queries.js#L895
https://github.com/opencollective/opencollective-api/blob/f9fc75b1e1885767e836a7259cc1c6dfb69503e8/server/lib/queries.js#L936

@Betree could you take a quick look at the tax query refact? https://github.com/opencollective/opencollective-api/pull/5720/commits/ef727d8245b88d946d75ae5943d4b96f43e650d4?


Use import with columns and records

This is the most performant method of bulk insertion of records and it will use the least memory.
Trello Card

With a quick comparison locally of inserting 10,000 emails (I tested it a few times and got the same sorts of results each time):
Hash method
puts Benchmark.measure { Email.import!(hash_records) }
1.340000   0.000000   1.340000 (  1.507943)

Array method
puts Benchmark.measure { Email.import!(columns, array_records) }
1.240000   0.020000   1.260000 (  1.447746)

I agree it's not an enormous difference, but it helps to keep all our imports using the same method and I don't think there's a reason not to.


Open File with Alt-F and one-letter shortcuts.

From #113:

I can't hit Alt-F to bring up the File menu anymore, and none of the menu entries have one-letter shortcuts (e.g. "Alt-F, Q" should quit as it used to).

Should probably use Mnemonics for this.

Verified on Win 10 and KDE.


Running powershell cmd requires TLS 1.2 (which is not enabled by default)

Describe the issue
When running the powershell command to install Dapr CLI, you get an error "iwr : The request was aborted: Could not create SSL/TLS secure channel."
URL of the docs
https://v1-rc1.docs.dapr.io/getting-started/install-dapr-cli/
Expected content
Need to run powershell, the run: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
followed by breaking up the powershell command
Screenshots
See error message above in Describe the issue
Additional context

solution found here: https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel

docs are correct for now - closing


package:flutter/src/widgets/framework.dart': Failed assertion: line 5026 pos 12: 'child == _child': is not true.

I am using riverpod and  a consumerWidget and this is the sample code offending:
I am trying to provide an ImageProvider to my consumer widget but end up with the error 'child == _child': is not true.
This is the provider:
final path = Provider<ImageProvider<Object>?>((ref) {
  final box = Hive.box('onboarding');
  final path = box.get('photo');
  if (path == null) {
    return const AssetImage("assets/images/user7.jpg");
  }
  return FileImage(File(path));
});

And this is the consumer widget that:
class Home extends ConsumerWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final image = ref.watch(path);

    return account.when(
        loading: () => const CircularProgressIndicator(),
        error: (error, stackTrace) => Text(error.toString()),
        data: (instance) {
          return Scaffold(
          ...
          child: CircleAvatar(
                            backgroundImage: image, // <- this is the offending line,
                            maxRadius: 20,
                          ),)

This is part of the stack trace:
The relevant error-causing widget was
MaterialApp
main.dart:30
When the exception was thrown, this was the stack
....
════════ Exception caught by widgets library ═══════════════════════════════════
Duplicate GlobalKey detected in widget tree.
════════════════════════════════════════════════════════════════════════════════

what i am doing wrong here?

Hi, I'm unable to reproduce the problem with the given information. Can you write a simple sample app that reproduces this error? Also please provide your flutter doctor -v output.
Thanks, this will help narrow down the issue. I also recommend researching causes of a Duplicate GlobalKey detected in Widget tree.  error to see if any of these circumstances apply to your code.

@margach
In order to properly address the issue, we need a complete minimal reproducible code sample without any third party package code implementation so that we can analyze further related to framework code.


@mzikherman => Separate form and fix redirect mg url

Instead of using the already existing editorial-signup/form, just create a custom one to handle the source attribution (could not get this working regularly). Also update the redirect links.

Going to merge this for now since I need to get this out. Feel free to comment and I'll definitely revise after. Actually this is going to be dead code in 2 weeks anyway

LGTM!


feature(statements support): Added also locals for eval

This yet doesn't seem to do what you intended.
Test it
(indeed it's better that you replaced the eval with locals lookup btw)

Wdym?

Okay, fixing it rn so that it will work on lambda statements

add some tests while you're at it

Done, here's the test code:
from defer import defers

@defers
def test(x):
    defers(lambda: print('first', x))
    defers(lambda: print('second', x))
    defers(lambda: print('third', x))
    return x

for i in range(5):
  print(test(4))
  defer: print(5)

Please lmk and send your code here if something bad occurs 🙂

Done, here's the test code:
from defer import defers

@defers
def test(x):
    defers(lambda: print('first', x))
    defers(lambda: print('second', x))
    defers(lambda: print('third', x))
    return x

for i in range(5):
  print(test(4))
  defer: print(5)

Please lmk and send your code here if something bad occurs slightly_smiling_face

ok so couple of things:

you mean defer in your code? as in allowing passage by function call (as matches by your function implementation), right?
why do you think this approach is necessary? are there any other needs for this specialization?
I personally want to stick with this syntax for as much as possible (as this was the point of the repo to begin with).
i've created https://github.com/dankeyy/defer.py/pull/5/ as a way to acccept lambda, is there something im not considering that makes it not good enough?

btw for future questionings im i'll probably add a couple more node types, if you don't see one that makes sense to have support to, i probably just haven't got around to it, unless it's something weird like an assert node.


Activity closes after few scans without any crash logs

Hi,
I have used your library and I am scanning QR codes. It scans perfectly for few and then suddenly the activity is killed without any crash logs or anything. It doesn't have any particular pattern sometimes it closes after 1000+ or sometimes it closes at 40.

I am having a similar issue but my app only crashes after you tap the screen once. Your problem might be similar to mine.


Migrate to new configuration asciidoc macro and build plugin 5.4.5

closes #165

@wetted please address @melix request changes


KAFKA-5365: Fix regression in compressed message iteration affecting magic v0 and v1

retest this please

@ijuma Thanks. The suggested improves look good to me.