[Bug] Subgraph failed with non-deterministic error and not rewindable

Bug report
Gemma from LunaNova has reported the following behaviour on the Arbitrum One network subgraph:

<@674203219349471262> did anyone have any clues? Our network subgraph is still failed and non-rewindable...
This morning I noticed that the network subgraph was somehow attempting to index on two indexer nodes simultaneously? We've stopped all but one indexer node now, so it can only be on one, but we're still seeing the same errors/issues.
A bit more info from the graph node logs...
We see this one multiple times, the block number increases...
INFO Subgraph error is still ahead of deployment head, nothing to unfail, error_block_hash: 0xeae04e55fda6358d1bbe2d1b1485e048631696888b00b9a011f10ace92562483, error_block_range: (Included(242816197), Unbounded), block_hash: 0xc78f776271180d1414d047a72c67c0cdc63d3de9eb87a9705c02de2f1334dbd7, block_number: 242810632, subgraph_id: QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY, shard: primary, component: Store
Then after a while (not always at the same block, it's random)
ERRO Subgraph writer failed, error: internal constraint violated: expected to remove at most one offchain data source but would remove 2, causality region: 35120, sgd: 969, subgraph_id: QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY, component: SubgraphInstanceManager
ERRO Subgraph failed with non-deterministic error: Failed to transact block operations: internal constraint violated: expected to remove at most one offchain data source but would remove 2, causality region: 35120, retry_delay_s: 125, attempt: 0, sgd: 969, subgraph_id: QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY, component: SubgraphInstanceManager
Then the writer stops, waits for retry_delay, restarts and we're back to the beginning...

Original message: https://discord.com/channels/438038660412342282/737341252835737641/1273898848791822357
Rewinding the Subgraph fails:

If it helps, when we try to rewind the network subgraph, we're getting:
Pausing deployments   ... paused QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY[969]   ... paused QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY[969]
Waiting 20s to make sure pausing was processed
Rewinding deployments
thread 'main' panicked at 'called Result::unwrap() on an Err value: Fulltext search is not yet deterministic', graph/src/schema/input_schema.rs:822:85`

Original message: https://discord.com/channels/438038660412342282/737341252835737641/1273587764276891700
graph-node v0.34.1 (62e3a7211 2024-02-08)
indexer-service v0.20.22
indexer-agent v0.21.3
Relevant log output
No response
IPFS hash
QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY
Subgraph name or link to explorer
Arbitrum One Network Subgraph
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
None

We dropped and re-deployed the network subgraph using graphman. Once it had got in sync it was fine for maybe a week or so but has now failed again. This time the error is:
"level":50,
"time":1724745446932,
"pid":469204,
"hostname":"ln-graph-l2-agent-lon1",
"name":"IndexerAgent",
"component":"Network",
"indexer":"0xE13840A2E92e0Cb17A246609b432D0fA2e418774",
"protocolNetwork":"eip155:42161",
"component":"NetworkSubgraph",
"deployment":"QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY",
"err":
{
	"handler":null,
	"message":"transaction f7e11e913df26493a9145565b5714801e9d048060316fb600015ab97a21fc6e6: Mapping aborted at src/mappings/helpers/helpers.ts, line 436, column 13, with message: unexpected null\twasm backtrace:\t    0: 0x6532 - <unknown>!src/mappings/rewardsManager/handleRewardsAssigned\t in handler `handleRewardsAssigned` at block #246864575 (e320fad838929a60b9514eac44d86d3a7a59c5b1734e3822c599c7cf8ef2aac3)",
	"__typename":"SubgraphError"
},
"latestBlock":
{
	"number":"246913546",
	"hash":"a7ec3d1a2df22a940c27498baa7762c96322ff5b2173136decabd7472ab85430",
	"__typename":"EthereumBlock"
},
"msg":"Failed to index network subgraph deployment"

FYI, if the subgraph uses fulltext search, you need to prepend your rewind command with GRAPH_ALLOW_NON_DETERMINISTIC_FULLTEXT_SEARCH="true". Not sure about the actual failure problem though.


SQL injection detection using CNN

To create a Convolutional Neural Network model to detect SQL injection, which is ranked 3rd in the OWASP(Open Worldwide Application Security Project) in Top 10.

@Niketkumardheeryan please assign this issue to me under gssoc'24 with necessary labels.
I can also include an explanation file explaining CNN and its usage.


[BUG] Pressing f5 on embedded browser will delete the content

Seems like pressing F5 in any embedded browser like the changelog page will delete the content.

This should look like this

We need to either correct this behavior or disable the F5 key.

This problem seema fixed

This problem seema fixed


etcd: set default values for wal and snap files

etcd configures a default value of 5 snap files and 5 wal files.
I think is safer to have those defaults than having zero on those values and fill the disk with wal and snap files.

Fixed by https://github.com/skydive-project/skydive/pull/2340


[2022-4] Occlum PoC

Track the status of Occlum PoC.

2022/04/11:
currently, After pulling image in occlum, it needs to unpack the image by the way of mounting overlayfs, but  the occum doesn't support overlayfs, so we need use unionfs as mounting type in occlum. Still have some problems about EIO error. We are trying to figure it out.

2022/04/19:
Successfully completed pulling the image and unpacking it to bundle in the disk.  The occlum team will go on mounting rootfs encrypted.

Successfully completed pulling the image and unpacking it to bundle in the disk.

is this with an image-rs based flow?

Successfully completed pulling the image and unpacking it to bundle in the disk.

is this with an image-rs based flow?

hi Mikko, it needs some changes in image-rs. We just need pull image and mount a directory in host(outside occlum) to a target direcotry in occlum, then put the image layer files into the target directory in occlum, then umount. We can see the image layer files encrypted by occlum in host.  Application occlum can mount images layer  and execute the user application included in the rootfs

Completed and done.


foobar2000-encoders: Update to version 2019-12-23 (manually)

#2308 (Outstanding Excavator issues)

The random hash is per session, so use original download source please.

videohelp.com has updated their files. Therefore this PR is not needed.


The hot-reloading of example angular1 not working

I would like to have a project with angular1, hot-reloading and typescript. I googled a lof, but didn't found any good examples.
I tried the your example projects, angular2 works, but angular1 not.
I got typings problem with jquery.
could you plz give a working standalone example, not have dependency with your main project
Thanks a lot!

A quick patch to get the angular 1 version was to add the typings to the map in jspm.config.js
"@types/jquery": "npm<EMAIL_ADDRESS>
Despite the application running after this however the hot reloading doesn't seem to take effect. It makes the request for the module in the network, doesn't throw any errors, in the sources pain of the dev tools the code has updated. It just doesn't seem to take any effect. I got here experiencing similar issues on our own project and wanted to check the example.
Works fine for the angular 2 example. Happy to provide a bit more debugging information if anyone has a good idea where to start...

Are you working off of this example? https://github.com/capaj/NG6-starter/blob/eb988ef00685390618b5dad57635ce80c6d52680/client/app/app.js

I was working off the angular 1 example in this repo ( https://github.com/frankwallis/plugin-typescript/tree/master/examples/angular ). Thanks for pointing me towards that example however its quite helpful. Still wrapping my head round this.
I was bootstrapping the application without the directive, but I guess the missing step was to destroy and re-append the raw DOM on unloading the root module? Which may fill in the gap of my understanding which was previously filled with '' :)

Unfortunately, I haven't tested it. Angular 1 makes hot reloading difficult. Even in Angular 2 where it is actually supported, I don't find it to be a reliable workflow.


Support Component Story Format (CSF)

I'm wondering how hard it would be to leverage support for Component Story Format (CSF). If you're unfamiliar, CSF looks like this:
export default {
  title: 'Button',
  component: Button
}

export const basicButton = () => <Button />;

I'm currently prototyping my components using Storybook but documenting my design system using Docz (because of the flexibility markdown offers). I'm having to copy examples from Storybook to Docz. Ideally I could reuse stories within my docz markdown documentation:
import * as stories from './Button.stories';

<Playground>
  {stories.basicButton()}
</Playground>

This currently will render the button, but it won't render the proper source code. Ideally it could render the story inline.

Hey @bmcmahen
Thanks for raising this issue.
I'm not sure this is storybook specific. It's similar to when a user would want to show the contents of any component inside the playground e.g.
// BasicButton.js

export const BasicButton = () => {
	return (
		<button>
			Button
		</button>
	)
}

and then in your markdown you'd write something like this :
<Playground>
	<BasicButton />
	{/*
		And the user would see <button> Button </button> in the interface
	*/}
</Playground>

I can definitely see why this feature would be useful but I can't think of a straight-forward way to do this at the moment.
Let's keep this issue open and see if we can come up with a way to do it 👍

Thanks @rakannimer. I'm happy to help if you can think of some strategies which might work.
For what it's worth, storybook docspage does support this feature, as you can see here. But it's not super elegant, imo.

I just came here for a similar need and found this:
https://github.com/uber/react-view

That's a cool library ! Thanks @bugzpodder for sharing, we'll see if we can maybe integrate it in docz.
Though, I'm not sure we'd be able to solve @bmcmahen use-case with it right ?


Cherry-pick: Making operator aware of pending pod backlog on nodes for IP allocations

Cherry-picks https://github.com/cilium/cilium/pull/19007 to 1.10. Minor merge conflict with the imports in pkg/ipam/node.go that I fixed up, otherwise applied cleanly.

Looks like we have a missing import for k8s.io/client-go/tools/cache in pkg/ipam/node.go ?


Android P Support

As a developer, I want to support Android P once the APIs are stable and finalized so that I am using the latest Android version.

Hey, nice work on wiseFy. Just curious, whats your idea/strategy to implement/tackle android P support?
We are also facing same issue, till we found out your libs

Honestly I have not had time to evaluate what is necessary to support Android P.  I believe it will be much more in-depth than I would like as the documentation indicates scanning should happen in a receiver and be relayed back from the library to the client using it.
I've considered a behavior subject from within a receiver, but want to make sure there aren't any async or other memory issues that could arise.
There will also need to be documentation and a major version bump for this task.  I am more than willing to accept help and a PR for this :)

Android 9 and later:

A successful call to WifiManager.startScan() requires all of the following conditions to be met:

Your app has the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permission.
Your app has the CHANGE_WIFI_STATE permission.
Location services are enabled on the device (under Settings > Location).
To successfully call WifiManager.getScanResults() ensure all of the following conditions are met:

Your app has the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permission.
Your app has the ACCESS_WIFI_STATE permission.
Location services are enabled on the device (under Settings > Location).
If the calling app doesn't meet all of these requirements, the call fails with a SecurityException.

That's going to be important.  Permissions will need to be evaluated for 9.0+ support.  I may have done myself a disservice by testing and limiting to the 8.0 specifications of:
Android 8.0 and Android 8.1:

A successful call to WifiManager.getScanResults() requires any one of the following permissions:

ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
CHANGE_WIFI_STATE
If the calling app does not have any of these permissions, the call fails with a SecurityException.

#126 Is almost complete for adding initial Android P support.
What I've done:

Separated out WiseFyConnection into legacy and SDK23+ code
Separated out WiseFySearch into legacy and SDK23+ code
Added params to the builder's constructor to allow consumers to use the legacy code if desired
Pushed some logic that was in the main WiseFy class that was related to connection/search into more appropriate classes
Preserved tests for legacy classes
Marked legacy classes as deprecated
Added sample app directly to the repository

Yet to do:

Add tests for new SDK23+ classes
More testing
Update sample app
Update documentation


Fix "Reload Selection" (return selected text instead of parinfer map)

Makes get-selected-text return :text, instead of parinfer map.

Hey, I noticed this morning that my website's certificate just expired. My apologies if that was a problem during your clojurebridge class! It was bad luck that it just happened. I have renewed the cert so it shouldn't be an issue anymore.

Didn't notice, so not a problem :D. Actually, we falled back to Nightcode 1.2.1, since while preparing a USB stick for the class (to avoid jamming the WLAN at start of the class), couple of us ran into a problem where the repl would hang :/. Since earlier events were successfully conducted with 1.2.1, we falled back to it, since we had installfest on the same day and wanted to avoid trouble. That said, two students used 2.2.2 successfully on replacement laptops.
We didn't yet find the root cause but could ask and provide help tracking down the problem.

Anyhow, the event went really well with Nightcode, even if using older version :)

Oh darn, was it a Leiningen project? If you notice anything that might help track it down, please let me know.

Leiningen yep, few namespaces and Quil used in couple of them, repo is here: https://github.com/metosin/clojurebridge-intro. Don't know if Quil is specific to the problem though. We did actually have a thought on using http://nightcoders.net/ but it was too close to the event (night before it :)).


Present voting information to the young voter

Present data from Pollenize back to the young voter after they've submitted their survey.

I'm willing to take this on once we've got data from pollenize


Add go get dependecies before build

Also need to add notes to the docs about $GOPATH env variable be set before make

Thank @dmvolod for joining :+1:
We're using dep as dependency management mechanism, that works differently from "go get" and actually the two used together lead to compilation errors when you have the same dep in the vendor dir and in the gopath. There's a issue in Jira for writing the "how to contribute" documentation, we definitely need to takle it.
So dep ensure should be the only way to download required dependencies.
I don't know if we want to add to the standard build because it's tremendously slow. I think we should have a full-build command and a standard one that just compiles the executables in Makefile. Wdyt?

See https://github.com/golang/dep, we'll evaluate later a switch to vgo.

@nicolaferraro thanks for explanation. Undestood, why camel-k is using dep rather than 'go get' and it's realy slow. I will close this PR and will try to create a separate build versions as your suggested - with dep ensure and without it. But I think we will move to vgo as early as possible to avoid dep problems and $GOPATH project location restriction.

Yes, last time I tried vgo there was lack of support in IDE (lot of compilation errors in intellij). If this changed I'm happy to switch.

@nicolaferraro another one issue: I didn't success with dep ensure and source = "git@github.com:nicolaferraro/operator-sdk.git". When I changed to source = "https://github.com/nicolaferraro/operator-sdk.git" the dep was Ok. What do you think about this?

We can change it safely to use https. Until I port the change to the upstream repo.

Ok, I will change. Looks like we can use forked repo every time we need to change something faster than upstream.


Pager for stateless executions

I had to implement pagination for stateless connections (HTTP) and your API does not allow to pull the internal state of the pager. So, I have injected the pager state when you ask for execute a new query and obtain the same state from the pager.
PS: I am not very comfortable with Rust, if you see that I have a mistake, please let me know.
Thanks.

Hi @AlexPikalov
Thanks for the quick response and the time spent in code review.
I have followed your considerations and made the refactoring.

Quick Note:
Does Cassandra have "more flag" determined by the number of the returned rows? In other words, is not making any lookahead to check if is really have more rows for the next request.
Eg: You have 2 records and request to page 2 records, the first request will bring the data and the flag will be set to true, and you will make an extra request a check that is empty and the flag will be set to false.
However, I am not totally sure why this happens, because the internal Cassandra paging accounts for the remainder of the rows that not were displayed, my guess is that the partition is exhausted but the cluster is not.
Only lost a couple few minutes to check the source code, if anyone can explain why this occurs, please let me know.

@NunuM ,
Thanks! Could you please format the files using rustfmt?
Currently some of lines look too wide 🙂
After that we're good to go 🙂

As for your question:

Does Cassandra have "more flag" determined by the number of the returned rows? In other words, is not making any lookahead to check if is really have more rows for the next request.

Actually, it's already happening. There are flags that Cassandra returns back to a client and among these flags you may find the one that is defined as:
            0x0002    Has_more_pages: indicates whether this is not the last
                     page of results and more should be retrieved. If set, the
                     <paging_state> will be present. The <paging_state> is a
                     [bytes] value that should be used in QUERY/EXECUTE to
                     continue paging and retrieve the remainder of the result for
                     this query (See Section 8 for more details).

On CDRS side, we have RowsMetadata::flags that further can be used for figuring out if an application should continue with paging.

Eg: You have 2 records and request to page 2 records, the first request will bring the data and the flag will be set to true, and you will make an extra request a check that is empty and the flag will be set to false.

However, I am not totally sure why this happens, because the internal Cassandra paging accounts for the remainder of the rows that not were displayed, my guess is that the partition is exhausted but the cluster is not.

You rather should not need to make a second call for figuring it out. On the last page pager get's such a state that has_more should return false. If it's not actually happening this should be reported as a CDRS bug.

@AlexPikalov,
I have run rustfmt over the files that I have changed (pager.rs, paged_query.rs) and pushed the changes. However, the tool not formatted in similar way to other files. I have run inclusive with verbose option and the tool recognise the configuration file but not seems equal to me.
Eg: In cluster/session.rs it has two right spaces in method declaration.
#[cfg(feature = "ssl")]
impl<'a, L> Session<L> {
  pub fn listen_ssl<A: Authenticator + 'static + Sized>(

On  pager.rs
impl PagerState {
    pub fn new() -> Self {

Then a have adjusted rustfmt.toml and run over a untouched file cluster/session.rs, and the only diffs were the braces on empty body. Then, I run again the tool for the changed files and pushed again to the master.
@@ -76,7 +76,8 @@ impl<
     M: r2d2::ManageConnection<Connection = RefCell<T>, Error = error::Error> + Sized,
     LB: LoadBalancingStrategy<r2d2::Pool<M>> + Sized,
   > QueryExecutor<T, M> for Session<LB>
-{}
+{
+}

rustfmt.toml
indent_style = "Block"
combine_control_expr = false
tab_spaces = 2
brace_style = "SameLineWhere"
empty_item_single_line = true

Does do you use vi with already 2 spaces per tab configured, or other bash config that rustfmt reads?

I have it configured in VS Code but I don't believe rusfmt reads its configs. Anyway rustfmt.toml is a perfect way unify it.
Many thanks for this brilliant PR


About Project page Redesign ❣

The page contains information about the project, the project admin, some contributors who had made impactful contributions, and a timeline that I had already added.
Make sure to share the Figma file for your proposed design.

The above issue will require multiple PRs
So the points are based on a number of PRs and functionalities!

https://www.figma.com/file/hMnpJLjZjDlPhS1afr6f0q/Untitled?type=design&node-id=0%3A1&mode=design&t=wOH9CM2AWfaia14d-1
Check out figma design !
(I am not a Figma guy just wanted to give it a try : )

@ManishaSwain8 This looks kinda awesome.
Please make it Responsive too.
Also, use the timeline I had created!
Assigned to you!
All the best! 🤩

@Spyware007 I will open PR soon ..!

@Spyware007 I need little help,

I am getting this error now ,

@ManishaSwain8
Dm me on Discord!
We will figure it out tomorrow noon!


Added Party case.

Hello,
Why Party? Because this case can be used separately. The first part is the main body, and the second is the battery compartment. Also, the cases can be fixed under each other.

Awesome!!!

Merged to branch "Party". Love the split design 🥳


Export property_value_maximum_size

Changes needed to export the metric about maximum threadpool size. I bumped the Hystrix version to the one that added this feature.
Please, let me know what you think and if you'll be able to make a release.
Thank you very much!

Thanks, looks good to me. The checks ran fine on Travis CI; although I notice that I should probably move this repo to GitHub actions.

The change is now included into 4.0.1-SNAPSHOT.
Please see https://github.com/ahus1/prometheus-hystrix#development on how to use the snapshot repository.
Please let me know if this snapshot works for you as you expect. I'll then publish a release to Maven central.

Yes, tested and works fine.
Thank you for the fast answer!

I published version 4.1.0; it might take a while to promote to maven central.
For everyone else looking for the full metric name: hystrix_thread_pool_property_value_maximum_size


Add pretty printing of a Network and its fields

We can probably do better than this in time, but i thought i'd put up something to get us started
Tbh, i'm not the biggest fan of pretty printing things, and generally prefer seeing the data over a "helpful"/"compact"/"pretty" summary of the data... but when we've files with millions of lines of data, getting all that data dumped in the REPL isn't great either, so here an attempt at something that might be a helpful for realistic files.
julia> net = parse_network("test/testfiles/synthetic_data_v30.raw")
Network with 5 data categories:
 CaseID: (ic = 0, sbase = 100.0)
 Buses with 3 records
 Loads with 2 records
 Generators with 3 records
 Branches with 3 records

julia> net.buses
Buses with 3 records:
 i : [111, 112, 113]
Tables.Schema:
 :i       Vector{Int64} (alias for Array{Int64, 1})
 :name    Vector{WeakRefStrings.String15} (alias for Array{WeakRefStrings.String15, 1})
 :basekv  Vector{Float64} (alias for Array{Float64, 1})
 :ide     Vector{Int64} (alias for Array{Int64, 1})
 :gl      Vector{Float64} (alias for Array{Float64, 1})
 :bl      Vector{Float64} (alias for Array{Float64, 1})
 :area    Vector{Int64} (alias for Array{Int64, 1})
 :zone    Vector{Int64} (alias for Array{Int64, 1})
 :vm      Vector{Float64} (alias for Array{Float64, 1})
 :va      Vector{Float64} (alias for Array{Float64, 1})
 :owner   Vector{Int64} (alias for Array{Int64, 1})

julia> net.branches
Branches with 3 records:
 i => j : [111 => 112, 111 => -113, 112 => 113]
Tables.Schema:
 :i       Vector{Int64} (alias for Array{Int64, 1})
 :j       Vector{Int64} (alias for Array{Int64, 1})
 :ckt     Vector{WeakRefStrings.String3} (alias for Array{WeakRefStrings.String3, 1})
 :r       Vector{Float64} (alias for Array{Float64, 1})
 :x       Vector{Float64} (alias for Array{Float64, 1})
 :b       Vector{Float64} (alias for Array{Float64, 1})
 :rate_a  Vector{Float64} (alias for Array{Float64, 1})
 :rate_b  Vector{Float64} (alias for Array{Float64, 1})
 :rate_c  Vector{Float64} (alias for Array{Float64, 1})
 :gi      Vector{Float64} (alias for Array{Float64, 1})
 :bi      Vector{Float64} (alias for Array{Float64, 1})
 :gj      Vector{Float64} (alias for Array{Float64, 1})
 :bj      Vector{Float64} (alias for Array{Float64, 1})
 :st      Vector{Bool} (alias for Array{Bool, 1})
 :len     Vector{Float64} (alias for Array{Float64, 1})
 :oi      Vector{Int64} (alias for Array{Int64, 1})
 :fi      Vector{Float64} (alias for Array{Float64, 1})

And we still always have show(x) / show(io, x) / repr(x) for when we do want to just see the data (as we often will when developing the package)
julia> show(net)
Network(CaseID(ic = 0, sbase = 100.0), Buses([111, 112, 113], WeakRefStrings.String15["STBC      ", "D2JK  ", "7HJG#  "], [161.0, 69.0, 69.0], [1, 1, 1], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [227, 117, 127], [1, 1, 1], [1.09814, 1.04896, 1.02894], [-8.327, -7.247, -4.139], [1, 2, 2]), Loads([111, 113], WeakRefStrings.String3["G1", " G2"], Bool[1, 1], [227, 227], [1.0, 1.0], [-0.004, 0.345], [-0.0, 0.024], [-0.003, 0.711], [-0.0, 0.076], [0.0, -0.028], [-0.0, 0.003], [1, 2]), Generators([111, -112, 113], WeakRefStrings.String3["ST", "PV ", "1"], [0.0, 3.1, 313.01], [0.0, -91.0, 82.29], [110.0, 91.0, 147.0], [0.0, -31.0, -72.0], [1.01375, 1.14634, 1.1233], [334153, 0, 0], [161.0, 175.0, 380.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0], Bool[1, 1, 1], [200.0, 300.0, 55.1], [90.0, 91.0, 229.0], [0.0, 0.0, 0.0], [1, 2, 2], [1.0, 1.0, 1.0]), Branches([111, 111, 112], [112, -113, 113], WeakRefStrings.String3["3 ", "B ", "C "], [0.00187, 0.02938, 0.024915], [0.00442, 0.04547, 0.01926], [0.00227, 0.00094, 0.01019], [322.0, 67.0, 546.0], [322.0, 67.0, 546.0], [322.0, 67.0, 546.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], Bool[1, 1, 1], [0.0, 0.0, 0.0], [1, 1, 1], [1.0, 1.0, 1.0]))
julia> show(net.buses)
Buses([111, 112, 113], WeakRefStrings.String15["STBC      ", "D2JK  ", "7HJG#  "], [161.0, 69.0, 69.0], [1, 1, 1], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [227, 117, 127], [1, 1, 1], [1.09814, 1.04896, 1.02894], [-8.327, -7.247, -4.139], [1, 2, 2])

This PR actually also fixes 2-arg show for CaseID so that the output is valid Julia code, i.e. so the show output can be copy-pasted to re-create a similar object.

Codecov Report

Merging #18 (bb349df) into main (a6efefc) will increase coverage by 2.46%.
The diff coverage is 100.00%.

:exclamation: Current head bb349df differs from pull request most recent head b59eeff. Consider uploading reports for the commit b59eeff to get more accurate results

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   92.66%   95.12%   +2.46%
==========================================
  Files           2        2
  Lines         109      123      +14
==========================================
+ Hits          101      117      +16
+ Misses          8        6       -2

Impacted Files
Coverage Δ

src/types.jl
97.22% <100.00%> (+14.86%)
:arrow_up:

src/parsing.jl
94.25% <0.00%> (-0.32%)
:arrow_down:

Continue to review full report at Codecov.

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


Error loading workspace in vscode

VS Code Version:latest
OS Version: Ubuntu virtual box
Error loading workspace: err: exit status 1: stderr: unexpected directory layout: import path: github.com/ root:  expand root:  expand dir:  separator: / : packages.Load error
Source :Go(Extension)

Due to this error i cant jump between files in the repo and vscode doesnt show any errors in code

Does this issue occur when all extensions are disabled?: Yes/No
No it doesnt show any error but i need those extensions for the code to work

/extGo

It looks like an issue of the extension. Please file an issue in the extension's issue tracker.


Typo in ThemeScheduler.py

Line 610 in ThemeScheduler.py should be:
log("Loading...")

instead of
log("ThemeScheduler: Loading...")

because compare Line 50 in ThemeScheduler.py

same goes for Line 624 in ThemeScheduler.py

Yup.  I'll try and get to that when I get a chance.  Pull requests are also good :wink:.


Autocomplete ClearButton doesn't clear StringValue if Value not populated

When ClearButton on MatAutocomplete is clicked, only the Value is being reverted to default. Therefore, if we type some text without selecting a specific item from the list and we try to clear it, nothing happens - Value is not changed yet so additional steps in Value's setter are short-circuited.

Created a pull request for that: #216

Fixed by #216


Improve input scripts

fixes issue with not finding some input .tif files due to two different ways the file search paths were built up.

Looks good to me.


chore(deps): update dependency typescript to v4.4.3

Codecov Report

Merging #134 (73d4651) into trunk (4a5e95c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            trunk     #134   +/-   ##
=======================================
  Coverage   97.38%   97.38%
=======================================
  Files           5        5
  Lines         191      191
  Branches       55       55
=======================================
  Hits          186      186
  Misses          5        5

Continue to review full report at Codecov.

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


videos available for subscribers only

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi,
I would like to get informations about videos which are available only for subscribers.
Is there a way to fix this ?
Thanks
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -F video_url

[twitch:vod] 65801448: Downloading stream metadata GraphQL
[twitch:vod] 65801448: Downloading video access token GraphQL
[twitch:vod] 65801448: Downloading m3u8 information
ERROR: [twitch:vod] video_id: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q
= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

#2856 ?

Here is an example: https://www.twitch.tv/videos/583697761

Especially that at the level of the Twitch API, it is not possible to recognize the videos which are reserved for only subscribers

Here is an example: https://www.twitch.tv/videos/583697761

This URL plays in browser and downloads just fine without logging in
[twitch:vod] Extracting URL: https://www.twitch.tv/videos/583697761
[twitch:vod] 583697761: Downloading stream metadata GraphQL
[twitch:vod] 583697761: Downloading video access token GraphQL
[twitch:vod] 583697761: Downloading m3u8 information
[twitch:vod] 583697761: Downloading storyboard metadata JSON
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] v583697761: Downloading 1 format(s): 1080p
[debug] Invoking hlsnative downloader on "https://dqrpb9wgowsf5.cloudfront.net/39e19a63a6836b30fa13_benzaie_15891157055_7835344528/chunked/highlight-583697761.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 344
[download] Destination: 20200405_Sun_02_43_51_benzaie_v583697761_Nems_Moisis_ResidentEvil3_decouverte_Benzaie_Live.mp4
[download]   0.3% of ~ 755.78MiB at    4.32MiB/s ETA 02:53 (frag 1/344)

@bashonly Sorry for the mistake, I made the wrong video :(
Here the video that only works for subscribers:
https://www.twitch.tv/videos/633485216

Do you want to download the video? If so, pass cookies with access to the content.
If what you want is to access other metadata without having access, this patch should work:
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py
index c59d1cf17..eaf418789 100644
--- a/yt_dlp/extractor/twitch.py
+++ b/yt_dlp/extractor/twitch.py
@@ -529,7 +529,7 @@ def _real_extract(self, url):
                     'nauth': access_token['value'],
                     'nauthsig': access_token['signature'],
                 })),
-            vod_id, 'mp4', entry_protocol='m3u8_native')
+            vod_id, 'mp4', entry_protocol='m3u8_native', fatal=False)

         formats.extend(self._extract_storyboard(vod_id, video.get('storyboard'), info.get('duration')))

❯ yt-dlp --ignore-no-formats https://www.twitch.tv/videos/633485216 -vj
[debug] Command-line config: ['--ignore-config', '--ignore-no-formats', 'https://www.twitch.tv/videos/633485216', '-vj']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b644025b] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: c73355510
[debug] Python 3.11.0 (CPython AMD64 64bit) - Windows-10-10.0.22000-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg n5.1.2-8-g5746987bad-20221204 (fdk,setts), ffprobe N-109332-g45ab5307a6-20221201, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1736 extractors
[twitch:vod] Extracting URL: https://www.twitch.tv/videos/633485216
[twitch:vod] 633485216: Downloading stream metadata GraphQL
[twitch:vod] 633485216: Downloading video access token GraphQL
[twitch:vod] 633485216: Downloading m3u8 information
WARNING: [twitch:vod] Failed to download m3u8 information: HTTP Error 403: Forbidden
[twitch:vod] 633485216: Downloading storyboard metadata JSON
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
WARNING: Only images are available for download. use --list-formats to see them
[debug] Default format spec: bestvideo*+bestaudio/best
WARNING: Requested format is not available
{"id": "v633485216", "title": "UNDERDOGS - SEMAINE 2 - JOUR 2", "description": null, "duration": 23402, "thumbnail": "https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883//thumb/thumb0-0x0.jpg", "uploader": "OgamingLoL", "uploader_id": "ogaminglol", "timestamp":<PHONE_NUMBER>, "view_count": 1095, "chapters": [{"title": "League of Legends", "start_time": 0, "end_time": 23402}], "is_live": false, "was_live": true, "formats": [{"format_id": "sb1", "format_note": "storyboard", "ext": "mhtml", "protocol": "mhtml", "acodec": "none", "vcodec": "none", "url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-low-0.jpg", "width": 110, "height": 62, "fps": 0.00854627809588924, "rows": 40, "columns": 5, "fragments": [{"url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-low-0.jpg", "duration": 23402.0}], "audio_ext": "none", "video_ext": "none", "format": "sb1 - 110x62 (storyboard)", "resolution": "110x62", "aspect_ratio": 1.77, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language": "en-us,en;q=0.5", "Sec-Fetch-Mode": "navigate"}}, {"format_id": "sb0", "format_note": "storyboard", "ext": "mhtml", "protocol": "mhtml", "acodec": "none", "vcodec": "none", "url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-high-0.jpg", "width": 220, "height": 124, "fps": 0.00854627809588924, "rows": 10, "columns": 5, "fragments": [{"url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-high-0.jpg", "duration": 5850.5}, {"url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-high-1.jpg", "duration": 5850.5}, {"url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-high-2.jpg", "duration": 5850.5}, {"url": "https://d2nvs31859zcd8.cloudfront.net/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883/storyboards/633485216-high-3.jpg", "duration": 5850.5}], "audio_ext": "none", "video_ext": "none", "format": "sb0 - 220x124 (storyboard)", "resolution": "220x124", "aspect_ratio": 1.77, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language": "en-us,en;q=0.5", "Sec-Fetch-Mode": "navigate"}}], "subtitles": {"rechat": [{"url": "https://api.twitch.tv/v5/videos/633485216/comments?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko", "ext": "json"}]}, "webpage_url": "https://www.twitch.tv/videos/633485216", "original_url": "https://www.twitch.tv/videos/633485216", "webpage_url_basename": "633485216", "webpage_url_domain": "twitch.tv", "extractor": "twitch:vod", "extractor_key": "TwitchVod", "playlist": null, "playlist_index": null, "thumbnails": [{"url": "https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/b9a15a96059a0851d3d0_ogaminglol_1742845441_108989883//thumb/thumb0-0x0.jpg", "id": "0"}], "display_id": "v633485216", "fulltitle": "UNDERDOGS - SEMAINE 2 - JOUR 2", "duration_string": "6:30:02", "upload_date": "20200527", "live_status": "was_live", "requested_subtitles": null, "_has_drm": null, "epoch":<PHONE_NUMBER>, "_filename": "UNDERDOGS - SEMAINE 2 - JOUR 2 [v633485216].NA", "filename": "UNDERDOGS - SEMAINE 2 - JOUR 2 [v633485216].NA", "_type": "video", "_version": {"version": "2022.11.11", "current_git_head": "c73355510", "release_git_head": "8b644025b", "repository": "yt-dlp/yt-dlp"}}

I would like to have some information such as the formats available for a video reserved for subscribers only.
Your answer in the issue that @bashonly tagged seems satisfactory, it is not possible to have this kind of information when the video is only for subscribers.


BadImageFormatException

Hi, I have a large number of dependant files, x86 and AnyCpu - a mix of custom and third-party libraries. I get this error trying to run:
Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'file:///c:\ExcelDna.dll' or
one of its dependencies. An attempt was made to load a program with an incorrec
t format.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Runtim
eAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntro
spection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, Ru
ntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIn
trospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValu
e, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at ExcelDnaDoc.Utility.ModelHelper.<>c__DisplayClass3_0.<CreateAddInModel>b__0(ExternalLibrary library) in C:\Users\d
ave\Documents\GitHub\ExcelDnaDoc\src\ExcelDnaDoc\Utility\ModelHelper.cs:line 119
   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityCo
mparer`1 comparer)
   at System.Linq.GroupedEnumerable`3.GetEnumerator()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at ExcelDna.Documentation.Models.AddInModel.<get_Functions>d__13.MoveNext() in C:\Users\dave\Documents\GitHub\ExcelDn
aDoc\src\ExcelDna.Documentation\Models\AddInModel.cs:line 19
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at CompiledRazorTemplates.Dynamic.debbecfff.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context) in c:\_git\RazorE
ngine\src\Core\RazorEngine.Core\Templating\TemplateBase.cs:line 127
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model) in c:\_git\RazorEngine\src\Core\RazorEngine.Core\Razor.c
s:line 263
   at ExcelDnaDoc.Templates.ViewBase`1.Publish() in C:\Users\dave\Documents\GitHub\ExcelDnaDoc\src\ExcelDnaDoc\Views\Vie
wBase.cs:line 53
   at ExcelDnaDoc.HtmlHelp.Create(String dnaPath, String helpSubfolder) in C:\Users\dave\Documents\GitHub\ExcelDnaDoc\sr
c\ExcelDnaDoc\HtmlHelp.cs:line 33
   at ExcelDnaDoc.Program.Main(String[] args) in C:\Users\dave\Documents\GitHub\ExcelDnaDoc\src\ExcelDnaDoc\Program.cs:l
ine 55

Fuslogvw isn't very helpful:
*** Assembly Binder Log Entry  (21/08/2017 @ 17:02:50) ***

The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an incorrect format.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  D:\Temp\mndrake-ExcelDnaDoc-d897649\ExcelDnaDoc.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: Where-ref bind. Location = c:\ExcelDna.dll
LOG: Appbase = file:///D:/Temp/mndrake-ExcelDnaDoc-d897649/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = ExcelDnaDoc.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: D:\Temp\mndrake-ExcelDnaDoc-d897649\ExcelDnaDoc.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///c:/ExcelDna.dll.
LOG: Assembly download was successful. Attempting setup of file: c:\ExcelDna.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: GLGPartners.Analytics.ExcelDna, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).
ERR: Run-from-source setup phase failed with hr = 0x8007000b.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

*** Assembly Binder Log Entry  (21/08/2017 @ 17:02:50) ***

The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an incorrect format.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  D:\Temp\mndrake-ExcelDnaDoc-d897649\ExcelDnaDoc.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: Where-ref bind. Location = c:\ExcelDna.dll
LOG: Appbase = file:///D:/Temp/mndrake-ExcelDnaDoc-d897649/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = ExcelDnaDoc.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: D:\Temp\mndrake-ExcelDnaDoc-d897649\ExcelDnaDoc.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///c:/ExcelDna.dll.
LOG: Assembly download was successful. Attempting setup of file: c:\ExcelDna.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: GLGPartners.Analytics.ExcelDna, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).
ERR: Run-from-source setup phase failed with hr = 0x8007000b.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

ExcelDna.dll is the assembly that contains my attributed functions

Fixed by adding x86 platform - some of my dependencies are x86 COM dlls.

Re-opening this so that I can fix it for everyone with new build platform options


Feature alerting mail support html format #586

Description
Feature alerting mail support html format #586
Issues Resolved
To make the MessageContent class support HTML format for email notifications,I  modified the buildMessageWithTitle method to take into account the htmlDescription property.
With this change, the method will return the htmlDescription property if it is not null, otherwise it will return the concatenation of the title and text description as before.
Furthermore , I modified the init block to check if the htmlDescription property is not null, since it's no longer required.
Check List

[X ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please provide screen shots of the html support working.

Repeated PR, close this.


TypeError: 'NoneType' object is not subscriptable

Describe the bug
Getting these in logs, one for gas and one for electric.
Not sure if it's because the end times all show null ?

Reproduction steps
na
Expected behaviour
na
Tariff Code
E-1R-FLUX-IMPORT-23-02-14-M
Integration Version
13.1.0
Home Assistant Version
2024.11.0
Fresh Install?
Not specified
Home Assistant Logs
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/octopus_energy/gas/current_accumulative_consumption_kwh.py:93
integration: Octopus Energy (documentation, issues)
First occurred: 10:21:41 am (10 occurrences)
Last logged: 10:25:32 am
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 266, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 481, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 176, in async_update_listeners
update_callback()
File "/config/custom_components/octopus_energy/gas/current_accumulative_consumption_kwh.py", line 93, in _handle_coordinator_update
standing_charge = self._standing_charge_coordinator.data.standing_charge["value_inc_vat"] if self._standing_charge_coordinator is not None and self._standing_charge_coordinator.data is not None else None
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/octopus_energy/electricity/current_accumulative_consumption.py:113
integration: Octopus Energy (documentation, issues)
First occurred: 10:21:41 am (10 occurrences)
Last logged: 10:25:32 am
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 266, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 481, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 176, in async_update_listeners
update_callback()
File "/config/custom_components/octopus_energy/electricity/current_accumulative_consumption.py", line 113, in _handle_coordinator_update
standing_charge = self._standing_charge_coordinator.data.standing_charge["value_inc_vat"] if self._standing_charge_coordinator is not None and self._standing_charge_coordinator.data is not None else None
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Hello and sorry you're seeing this issue. I'll try and get a fix out for this in the next release.

This should now be resolved in v13.1.1

Thanks I'll give it a try


Update README.md

Activeworlds using bgfx

I can't find any info about bgfx on www.activeworlds.com site. Is there anything mentioning bgfx?!

How do you want us to mention/link to bgfx on the activeworlds.com site ?
Best Regards,
Chris
@.***
On 03/10/2022 06:08, Бранимир Караџић wrote:

I can't find any info about bgfx on www.activeworlds.com
http://www.activeworlds.com site. Is there anything mentioning bgfx?!
—
Reply to this email directly, view it on GitHub
https://github.com/bkaradzic/bgfx/pull/2939#issuecomment-1264903698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3MSHU62CQBLREMOAFPW6Q3WBJL4TANCNFSM6AAAAAAQ3GZI74.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, otherwise I have no way to validate the claim.

You can just use LICENSE text for it: https://github.com/bkaradzic/bgfx/blob/master/LICENSE

Btw, the license comes with the software in the  Default/Licenses
sub-folder.
On 03/10/2022 06:13, @.*** wrote:

How do you want us to mention/link to bgfx on the activeworlds.com site ?
Best Regards,
Chris
@.***
On 03/10/2022 06:08, Бранимир Караџић wrote:

I can't find any info about bgfx on www.activeworlds.com
http://www.activeworlds.com site. Is there anything mentioning bgfx?!
—
Reply to this email directly, view it on GitHub
https://github.com/bkaradzic/bgfx/pull/2939#issuecomment-1264903698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3MSHU62CQBLREMOAFPW6Q3WBJL4TANCNFSM6AAAAAAQ3GZI74.
You are receiving this because you authored the thread.Message ID:
@.***>

Btw, the license comes with the software in the  Default/Licenses sub-folder.

It would be great if directory is accessible online (you probably have legal pages where you can add all of that)...

Sure, sorry, I added an explicit link and the license to
http://wiki.activeworlds.com/index.php?title=BGFX
http://wiki.activeworlds.com/index.php?title=8.1
Have you got a logo we could put on the download page as we??
On 03/10/2022 06:17, Бранимир Караџић wrote:

You can just use LICENSE text for it:
https://github.com/bkaradzic/bgfx/blob/master/LICENSE
—
Reply to this email directly, view it on GitHub
https://github.com/bkaradzic/bgfx/pull/2939#issuecomment-1264910181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3MSHU4QNYQCYEXF5JUU6QLWBJM5JANCNFSM6AAAAAAQ3GZI74.
You are receiving this because you authored the thread.Message ID:
@.***>

Have you got a logo we could put on the download page as we??

Nope. That's not really necessary. Wiki info is totally fine.

Thank you Branimir!
Chris
On 03/10/2022 06:34, Бранимир Караџић wrote:

Merged #2939 https://github.com/bkaradzic/bgfx/pull/2939 into master.
—
Reply to this email directly, view it on GitHub
https://github.com/bkaradzic/bgfx/pull/2939#event-7503667735, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A3MSHU47GFWHITNSFDDW64DWBJO5XANCNFSM6AAAAAAQ3GZI74.
You are receiving this because you authored the thread.Message ID:
@.***>


Orbit can't size correctly when the largest image is wrapped in an anchor

As seen here: http://erer2037.staging-zeus.netregistry.net/foundation/
The image is wrapped in an anchor, so Orbit is putting the placeholder-image class on the anchor and not the image. This the placeholder has no height, so neither does Orbit.

Fixed in master. Will be part of next Foundation release.
4f767a0a202e6a2570c9ff30ad7d2b2a3ec230d8


Setup fail on 1.1.2 update using HACS

Used update button, then restarted home assistant with Developer tools. After seeing the error, also restarted HA with system menu with same result.
Logger: homeassistant.setup
Source: setup.py:213
First occurred: 9:56:19 PM (1 occurrences)
Last logged: 9:56:19 PM
Setup failed for custom integration sensi: Unable to import component: cannot import name 'StrEnum' from 'enum' (/usr/local/lib/python3.10/enum.py)

What is your HomeAssistant version?

I think you are on an older HomeAssistant version, HomeAssistant  updated to Python 3.11 a few releases ago. The error message refers to 3.10.

Home Assistant 2023.2.5, Frontend 20230202.0
I'm running the Docker core version. I'll look at updating my system and update here with my results.
I had a hunch it was something like this, however things were running fine up until I pressed the update. I had previously 1.1.1, but did't have that error. Now upon trying to revert, I couldn't install 1.1.1 either.

All fixed by updating to latest release of HA 2023.9.2.  Just a warning for others, you'll need to recreate the entities as they changed format. Thanks iprak for the maintenance.

Sorry about id change , it did in 1.1.1. I mentioned it in the Readme. Unfortunately I got it wrong and might change again.


Add a "defaultPortMapping" option which exposes all Mesos provided ports

Our apps generally ask for 1 or 2 ports.  It's a pain to repeatedly write
      "portMappings": [
        {"hostPort": 0, "hostPortType": "FROM_OFFER", "containerPort": 0, "containerPortType": "FROM_OFFER"},
        {"hostPort": 1, "hostPortType": "FROM_OFFER", "containerPort": 1, "containerPortType": "FROM_OFFER"}
      ]

so why not just let Singularity fill it in for you?

Tested this in our staging infra and looks good 👍

Test failure looks transient, timed out on the openjdk7 build.

LGTM


Second Japanese l10n work for release-1.17

Second Japanese l10n work for release-1.17.

Change List

Fix typo (#19878)
replace http helm link with https (#19889)
fix typo (#20028)
update link to /ja/docs/concepts/services-networking/dns-pod-service/ (#20095)
update link to /ja/docs/concepts/workloads/pods/pod-lifecycle/ (#20100)
update link to /ja/docs/concepts/overview/working-with-objects/labels/ (#20124)
update link to /ja/docs/concepts/overview/kubernetes-api/ (#20237)
update link to /ja/docs/tutorials/stateless-application/expose-external-ip-address/ (#20263)
Update Outdated Japanese Translation (#20559)
update link to /ja/docs/concepts/overview/working-with-objects/kubernetes-objects/ (#20746)
update link to /ja/docs/concepts/extend-kubernetes/api-extension/custom-resources/ (#20771)
Translate tasks/configure-pod-container/configure-pod-configmap/ into… (#20773)
Fix typo: rollinUpdate → rollingUpdate in statefulset.md (#20776)
update link to /ja/docs/tasks/run-application/force-delete-stateful-set-pod/ (#20794)
update link to /ja/docs/tasks/run-application/run-stateless-application-deployment/ (#20795)
update link to /ja/docs/tasks/configure-pod-container/assign-memory-resource/ (#20796)
Translate setup/production-environment/tools/kubeadm/create-cluster-kubeadm into Japanese (#20880)
Translate setup/production-environment/tools/kubeadm/ha-topology.md i… (#20882)
Fix typo (#20884)
Fix note shortcodes in Deployment concept (ja) (#21015)
update /ja/docs/concepts/overview/working-with-objects/names/ (#21038)
update /ja/docs/concepts/overview/working-with-objects/annotations/ (#21077)
update /ja/docs/concepts/overview/working-with-objects/common-labels/ (#21099)
update /ja/docs/concepts/overview/working-with-objects/namespaces/ (#21120)
Translate tasks/access-application-cluster/web-ui-dashboard/ into Japanese (#21141)
update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html (#21169)
Fix typos (#21179)
rename container-environment-variable to container-environment (#21191)
Fix translation "廃止されました" (#21192)
Translate /docs/concepts/containers/overview/ into Japanese (#21195)
update /ja/docs/concepts/storage/dynamic-provisioning/ (#21201)
update /ja/docs/concepts/workloads/controllers/garbage-collection/ (#21219)
update /ja/docs/concepts/storage/volume-snapshot-classes/ (#21221)
update /ja/docs/tasks/debug-application-cluster/get-shell-running-container/ (#21224)
Translate /docs/tasks/inject-data-application/define-environment-variable-container/ into Japanese (#21229)
Translate concepts/policy/resource-quotas.md into Japanese #19282 (#21242)
update /ja/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/ (#21280)
update /ja/docs/concepts/storage/volume-pvc-datasource/ (#21282)
update /ja/docs/home/ (#21288)
update /ja/docs/setup/best-practices/multiple-zones/ (#21316)
issue #21304 "add glossary_tooltip and change word" (#21317)
issue #21302 Update ja: glossary/kubelet.md (#21319)
update /ja/docs/setup/best-practices/node-conformance/ (#21324)
update content/ja/docs/reference/glossary/selector.md (#21332)
update 'sig' text (Japanese) (#21335)
Make glossary/kube-scheduler.md follow v1.17 of the original text (#21340)
update content/ja/docs/reference/glossary/kube-apiserver.md (#21341)
Transrate glossary/cluster.md to Japanese (#21342)
Make glossary/kube-proxy.md follow v1.17 of the original text (#21344)
update volume docs(Ja) (#21349)
Make glossary/kube-controller-manager.md follow v1.17 of the original text (#21356)
Translate /docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ into Japanese  (#21370)
update the outdated ja tutorials/_index.md based on the v1.17 en page (#21385)
ja: Make tutorials/hello-minikube.md follow v1.17 of the original text (#21386)
use English for hash flagment #termination-of-pods (#21403)
ja: Make /docs/tasks/tools/install-kubectl/ follow v1.17 of the original text (#21405)
ja: Make docs/concepts/workloads/pods/pod-overview.md follow v1.17 of… (#21425)
ja: Make docs/reference/_index.md follow v1.17 of the original text (#21427)
ja: Make /docs/tasks/access-application-cluster/connecting-frontend-backend/ follow v1.17 of the original text (#21430)
Markdown code blocks described in Shell (#21431)
ja: Make tutorials/kubernetes-basics/expose/expose-intro.html follow v1.17 of the original text (#21433)
Update tutorials/configuration/configure-redis-using-configmap.md to … (#21434)
Follow upstream/release-1.16 to upstream/release-1.17 in Japanese (#21455)
ja: Make docs/concepts/workloads/controllers/replicaset.md follow v1.17 of the original text (#21468)
ja: Make docs/concepts/workloads/controllers/ttlafterfinished.md follow v1.17 of the original text (#21471)
Update content/ja/docs/tasks/tools/install-minikube.md (#21472)
Change the way the RegisterCloudProvider function references the defi… (#21475)
ja: Make docs/concepts/workloads/pods/pod-lifecycle.md follow v1.17 of the original text (#21476)
ja: Make docs/concepts/workloads/pods/pod.md follow v1.17 of the original text (#21482)
ja: Need to fix typo in docs/concepts/workloads/pods/pod-lifecycle.md (#21483)
ja: Make docs/concepts/storage/persistent-volumes.md follow v1.17 of the original text (#21485)
ja: Make docs/concepts/workloads/controllers/cron-jobs.md follow v1.17 of the original text (#21486)
ja: Make docs/concepts/workloads/controllers/daemonset.md follow v1.17 of the original text (#21487)
ja: Make /docs/tasks/debug-application-cluster/debug-pod-replication-controller/ follow v1.17 of the original text (#21488)
ja: Make docs/concepts/overview/working-with-objects/labels.md follow v1.17 of the original text (#21504)
ja: Make docs/concepts/scheduling/kube-scheduler.md follow v1.17 of the original text (#21507)
ja: Make /docs/tasks/access-application-cluster/configure-access-multiple-clusters/ follow v1.17 of the original text (#21510)
ja: Make /docs/tasks/access-application-cluster/service-access-application-cluster/ follow v1.17 of the original text (#21511)
ja: Make tutorials/kubernetes-basics/update/update-intro.html follow v1.17 of the original text (#21512)
ja: Make docs/concepts/overview/working-with-objects/field-selectors.md follow v1.17 of the original text (#21521)
Add hello-application.yaml file under ja directory (#21524)
ja: Make docs/concepts/services-networking/dns-pod-service.md follow v1.17 of the original text (#21525)
ja: Make docs/setup/_index.md follow v1.17 of the original text (#21526)
Update statefulset.md for v1.17 (#21530)
Update /docs/tasks/configure-pod-container/quality-service-pod/ follo… (#21532)
ja: Make docs/concepts/services-networking/service.md follow v1.17 of the original text (#21541)
Make docs/contribute/_index.md follow v1.17 of the original text (#21544)
ja: Make docs/concepts/workloads/pods/init-containers.md follow v1.17 of the original text (#21557)
Follow "Update references to the patch release process" in Japanese (#21561)
follow ja:glossary/controller.md v1.17 (#21579)
ja: Make docs/concepts/services-networking/ingress.md follow v1.17 of the original text (#21608)
Remove announcement and deprecationwarning shortcodes (#21620)
Follow tutorials/kubernetes-basics/create-cluster/cluster-intro in Ja… (#21639)
ja: Translate /partners/ into Japanese (#21647)
ja: Translate /training/ into Japanese (#21648)
Update content/ja/docs/concepts/services-networking/connect-applications-service.md (#21653)
ja: fix typo in /training/ (#21668)
Update ja/docs/tutorials/stateless-application/expose-external-ip-add… (#21691)
ja: Make docs/concepts/overview/working-with-objects/kubernetes-objects.md follow v1.17 of the original text (#21693)
ja: fix inconsistent translation of "init container" (#21694)
Translate /docs/tasks/debug-application-cluster/debug-service.md into Japanese / #21399 (#21700)
Update certificates.md for v1.17 (#21710)
Translate /docs/reference/kubectl/overview/ into Japanese (#21711)
ja: Improve translation of docs/concepts/services-networking/ingress.md (#21716)
Replace アーキテクチャー to アーキテクチャ (#21726)
Update deploy-intro.html (#21736)
Make docs/concepts/workloads/controllers/deployment.md follow v1.17 o… (#21743)

Co-authored-by: @taknakamura
Co-authored-by: @arisgi
Co-authored-by: @makochu
Co-authored-by: @ryokotmng
Co-authored-by: @Pick1a1username
Co-authored-by: @jlandowner
Co-authored-by: @chaspy
Co-authored-by: @mochizuki-pg
Co-authored-by: @yu-kasuya
Co-authored-by: @iaoiui
Co-authored-by: @ryok-0319
Co-authored-by: @Bo0km4n
Co-authored-by: @onsd
Co-authored-by: @esakat
Co-authored-by: @akitok
Co-authored-by: @nishipy
Co-authored-by: @tomoyamachi
Co-authored-by: @kenseitogari
Co-authored-by: @makotow
Co-authored-by: @hiyokotaisa
Co-authored-by: @Yoshiki0705
Co-authored-by: @Anorlondo448
Co-authored-by: @ytakaya
Co-authored-by: @inductor
Co-authored-by: @kakts
Co-authored-by: @Climber22
Co-authored-by: @oke-py
Co-authored-by: @y-taka-23
Co-authored-by: @isheik
Co-authored-by: @shuuji3
Co-authored-by: @translucens
Co-authored-by: @chez-shanpu
Co-authored-by: @hikkie3110
Co-authored-by: @k-srkw
Co-authored-by: @tkms0106

https://deploy-preview-21746--kubernetes-io-master-staging.netlify.app/

/assign @nasa9084

/lgtm
ざっと全体を確認してページ崩れとか無いこと確認

/lgtm
ざっと全体を確認してページ崩れとか無いこと確認

LGTM

/approve


Fully log test scenario

Test failures: https://github.com/grpc/grpc/issues/18142 https://github.com/grpc/grpc/issues/18520


chore(publish) only 'publish' when triggered by a tag to not avoid overriding existing tags

This PR is a proposal to only publish the image (in the private controller trusted.ci.jenkins.io) when a tag is created in the repository, to limit the possibility of overriding an existing image.
It comes from the cases where a new platform is added for this image (new CPU architecture as in #1586 new OS version as in #1629, change in jdk defaults as in #1178 etc.).
Side tasks list:

Release documentation process update: https://github.com/jenkins-infra/release/pull/375
Update the Multibranch job "Containers -> Controller" in trusted.ci.jenkins.io with the same setting as the agents ones, with only tags checking, no build of a tag older than 7 days, no branch tracking and scan every 5 minutes for new tags

What is changed

Pipeline updated to:

Only trigger the "Publish" steps , on both Windows and Linux parallel branches, on tags
Set the environment variable JENKINS_VERSION from the 1st element of the tag (with - as separator) to make it available to the publication script AND allow suffix in tags.

Publication script for Linux updated to:

Only build the Jenkins version $JENKINS_VERSION (remove the loop and factorized code)
Removed dead or unused code including the infamous is-published code
Avoid using intermediate variables when dealing with environment variables to be set
Simplify latest LTS and weekly retrieval

Testing done
As it might be hard to test, let's use the 2.405 weekly release as a "match".
However, the following were done locally:

The script passes shellcheck analysis without any warn or error
Calling with dry run and no $JENKINS_VERSION set fails as expected with an error message:

$ ./.ci/publish.sh -n
./.ci/publish.sh: line 8: JENKINS_VERSION: Variable $JENKINS_VERSION not set or empty.

Calling with dry run and the latest weekly version builds the version in my local Docker buildx worker:

$ JENKINS_VERSION=2.404 ./.ci/publish.sh -n
Dry run, will not publish images
Using the following settings:
* JENKINS_REPO: jenkins/jenkins
* JENKINS_VERSION: 2.404
* JENKINS_SHA: c11e0391a46708680b35ed2abb47a6b513d0a1541bba1549779abbcdb313f996
* COMMIT_SHA: d23ea1a235881b54c37d5368f17a7f7799dfe1ca
* LATEST_WEEKLY: true
* LATEST_LTS: false
[+] Building 1.4s (20/48)
# ...

Calling with dry run and the latest LTS version builds the version in my local Docker buildx worker:

$ JENKINS_VERSION=2.387.2 ./.ci/publish.sh -n
Dry run, will not publish images
Using the following settings:
* JENKINS_REPO: jenkins/jenkins
* JENKINS_VERSION: 2.387.3
* JENKINS_SHA: f40374910de94c9c1aafbd0fd190156e7f6afad6dc1534e1b55d20e125156be5
* COMMIT_SHA: d23ea1a235881b54c37d5368f17a7f7799dfe1ca
* LATEST_WEEKLY: false
* LATEST_LTS: true
[+] Building 506.0s (137/298)
# ...

Not covered by this PR but worth doing after it's merged

Update the Windows publication process (only Linux is covered here) because https://github.com/jenkinsci/docker/issues/1490
Split into lts and weekly branches instead of master to allow fixing the Jenkins version in the code
Utilizes an automated process such as Dependabot/Renovabot/Updatecli to keep Jenkins version up to date
Use declarative pipeline syntax which is easier to read and maintaing in simple cases like this one

LGTM.
Can we add the release team to this repository then to cut tags during the LTS process, to prevent delays, please?

@NotMyFault do you mind if we wait to validate the new process first? I don't mind taking care of tagging for the weeklies.
The reason I'm asking is because the discussion about adding the release team as writer or maintainer (to allow creating tags) should be separated from this PR to validate the permission pattern.
=> Keep in mind that ideally, we should have automation of this (e.g. the tag would be created by the automated release process) to avoid further human operation.

Ping @timja @MarkEWaite WDYT?

Since I got 2 maintainers approval + a board member approval, I'm proceeding to merge this PR.
I'll report here once the trusted.ci.job will be updated (as soon as possible)

Job updated in trusted.ci.jenkins.io:

Disabled the old one (no need to remove it immediatly, better keeping it if a rollback is needed and for comparing courses).
Only current tags (~10) were found and no build triggered as expected.

For info, I won't start working on the Windows release until we've validated the current Linux publication (one step after the other) but that would be the next step.


Run type-generation at runtime

Description
Currently, both the library generation and the types generation are done at the same time (when running prisma2 generate).
To enable further customization of the generated schema and the typings, we're thinking about moving the type-generation at runtime (just like) nexus, to prevent from having all the config inputted in the generator config.
The nexus-prisma generator should generate types only if none exists yet. Otherwise, it should be handled by the nexusPrismaPlugin itself.
Use-cases
One use-case could be, for instance, the customization of CRUD field names:

Note: The API design below is purely made up.

import { nexusPrismaPlugin } from '@generated/nexus-prisma'

const nexusPrisma = nexusPrismaPlugin({
  photon: ctx => ctx.photon,
  fieldNames: {
    Query: {
      findMany: (typeName) => `${typeName.toLowerCase()}s`,
      findOne:  (typeName) => `${typeName.toLowerCase()}`
    }
  },
})

The fieldNames property could then be both used to modify the runtime behavior but also the type-generation so that the typings reflect the configuration:
(Given a User prisma model)
objectType({
  name: 'Query',
  definition(t) {
    t.crud.users() // findMany
	t.crud.user()  // findOne
  }
})

@Weakky I think we can consider this shipped thanks to #405.

Agreed, let's close it!


User Login

Create User Login - associating user with chat, agent preset, and agent context entities.

Add default auth flow to UI.

Make auth for chat, agent preset and agent context optional.  If user ID is not provided, pull all chat sessions for instance.


Prepared statement helper functions

Background:  A few of my applications are very "prepared statement" heavy.  This streamlines some of the code that I was writing over and over again.  May help others.
Please feel free to change function names if you feel appropriate

Pull Request Test Coverage Report for Build 96

0 of 15 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 71.592%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sqlx.go
0
15
0.0%

Totals

Change from base Build 94:
-0.7%

Covered Lines:
1124

Relevant Lines:
1570

💛  - Coveralls

Pull Request Test Coverage Report for Build 96

0 of 15 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 71.592%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sqlx.go
0
15
0.0%

Totals

Change from base Build 94:
-0.7%

Covered Lines:
1124

Relevant Lines:
1570

💛  - Coveralls

Pull Request Test Coverage Report for Build 96

0 of 15 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 71.592%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sqlx.go
0
15
0.0%

Totals

Change from base Build 94:
-0.7%

Covered Lines:
1124

Relevant Lines:
1570

💛  - Coveralls


How to reload at runtime?

HUATUO don't support reload assembly at runtime. but you can load multi assemblies or load new modified assembly.


Upgrade esbuild devDependency as it clashes with a dependency version

Asset builds failed for me as a peer dependency was referring to version ^0.19.4. Upgrading to this fixed the issue.

Closed, as #3477 upgraded node to 20


No docs generated for vger package

Builds are ok but no docs are uploaded (despite manual re-trigger).
https://swiftpackageindex.com/audulus/vger

This is a config issue: https://github.com/audulus/vger/pull/14


How to scale out without CRITICAL ERROR message?

We have 3 nodes in Crate Cluster with 0.55.2, and We want to scale out with 1 node.
The full configuration file of new nodes as follows:
bootstrap.mlockall: true
node.name: "crate172"
gateway.expected_nodes: 4
gateway.recover_after_nodes: 2
discovery.zen.minimum_master_nodes: 3
discovery.zen.ping:
  multicast.enabled: false
  unicast.hosts:
    - crate124:4300
    - crate172:4300
    - crate175:4300
    - crate176:4300
es.api.enabled: true
cluster.name: bi_crate
cluster.graceful_stop.min_availability: full
cluster.graceful_stop.reallocate: true
cluster.graceful_stop.timeout: 10s
cluster.graceful_stop.force: true
node.master: true
node.data: true
stats.enabled: yes
indices.store.throttle.type: all
indices.store.throttle.max_bytes_per_sec: 100mb
indices.memory.index_buffer_size: 30%
indices.memory.min_index_buffer_size: 256m
indices.memory.min_shard_index_buffer_size: 128m
threadpool.index.type: fixed
threadpool.search.type: fixed
threadpool.get.type: fixed
threadpool.bulk.type: fixed
threadpool.refresh.type: scaling
cluster.info.update.interval: 10s
bulk.request_timeout: 10m
udc.enabled: true
udc.initial_delay: 1m
udc.interval: 30m

Yet, the existed nodes don't need to restart, and the configuration of existed nodes have no changes.

gateway.expected_nodes: 3
discovery.zen.minimum_master_nodes: 2

And the web pages of crate-admin prompt following message:
CRITICAL
The setting 'discovery.zen.minimum_master_nodes' must not be less than \
half + 1 of eligible master nodes in the cluster. It should be set to \
(number_master_nodes / 2) + 1. https://cr8.is/d-check-1

CRITICAL
The value of the cluster setting 'gateway.expected_nodes' must be equal to \
the maximum/expected number of master and data nodes in the cluster. https://cr8.is/d-check-2

The discovery.zen.minimum_master_nodes could be updated online via following command:

SET GLOBAL PERSISTENT discovery.zen.minimum_master_nodes = 3;

Yet the gateway.expected_nodes parameter work after restart according the official documention.
How can I update gateway.expected_nodes parameter without restart the whole nodes of Crate?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36943651-how-to-scale-out-without-critical-error-message?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

Hi Robin, so the settings gateway.expected_nodes and gateway.expected_nodes are both settings the cluster has to be restarted for in order to properly apply them, since they determine whether the cluster state should be recovered from disk or taken from the current cluster - nothing that ever occurs at runtime. Consequently the settings don't have to be updated until the cluster can be safely restarted. For new nodes the setting can be updated and they also should not show the warning.
These messages are warnings that should show sub-optimal configuration and, depending on the warning/what you did, can be ignored fairly safely, which is also a feature that is upcoming, so that these checks can be acknowledged.
As a course of action, I would recommend to update the yml files of the old nodes and leave them as they are until there's a time where a rolling restart can easily take place without harming your availability.
All the best, Claus

Thanks.
Sincerely, Robin


Target temperature jumping to high values without input

Version of the custom_component
6.3.0
Configuration
I don't know where this can be retrieved frim the UI without trying to find the actual files?
It's a thermostat on top of an existing climate (moes 002)
The issue is simple, for whatever reason, the target temperature is modified by something. I've seen the same with 006 thermostats from moes as well.
The temperature could have come from the appliance itself, but some values are gigantic (several millions) and switch in the middle of the night, which doesn't make sense me (the appliance doesn't have something switching in the middle of the night and not with these values, and there is no schedule active on the thermostat at that time.

+1  facing the same issue with the Moes BHT-002 thermostats.
I installed them just few days ago, on version 6.3.0, so I don´t have a way to know if this worked before.
On this same setup I have some ESPhome based thermostats too, and those are not exhibiting this issue.
I'm using the scheduler component to change the preset during the day, but these jumps have happened at times when there was no scheduled settings change.
For the time being, as a workaround, I'm using an automation to reset the status when the set point goes outside a given range (4-30 degrees Celsius).
I'm going to check the HA and Zigbee2MQTT logs this weekend.. I'll report if I find something.

Oh thank you for confirming!
Can you share the automations you created to reset the status?
I think it's a bug in the MOES side, they do report target temp jumping, I think I rememeber seeing a graph that was very off.


Jenkins todo

split pipeline https://github.com/PX4/Firmware/pull/9692
add hardware testing https://github.com/PX4/Firmware/pull/8321
upload master/beta/stable binaries directly in pipeline
from successful master build upload all metadata (s3 & gitbooks)

param
airframe
modules
uorb?

doxygen generate and upload
better visibility for all output

table of mission test results (explanation and links to successful run)
static analysis output (clang, cppcheck)
binaries for testing

CI testing

optical flow
avoidance
wind
sensor failures

nightly profiling

Good list for me - excellent to centralise. If by UORB you mean the graph here, then yes please.

I can pick the multi pipeline back up next week. Can you comment over there on its current state when you get a chance to look. The other tasks will take some discussion, but I like the summary you've made.

Idea - make the existing test pipelines re-usable in different modes.

regular
codecoverage (+ upload to codecov.io)
address sanitizer
thread sanitizer
etc

The coverage and sanitizer variants could be limited to master only.


Need to use underlying HTTPS service - how configure JKS file

Hi,
I need to configure hoverfly in proxy mode to capture requests. I want to actually proxy some HTTPS services, for which I have JKS file and associated password. How to configure that in hoverctl commnd. Currently I am getting below expeption when I am routing through hoverfly. I did not found suitable documentation for the same. Please help.
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)

This doesn't appear to be a Hoverfly problem. I suggest asking your question on stack overflow, here for example.

You are outputting a Java stacktrace but Hoverfly is a GoLang project. Are you getting mixed up with Hoverfly Java?
I'm also not sure what you are trying to do here. Do you mean your HTTPS service uses a self-signed certificate and you need the Hoverfly proxy to trust it?

Closing issue as it does not appear to be a Hoverfly issue.


Cleaned up readme

Rewrite a few bits for clarity and conciseness - nothing major, just a quick proofread. Good stuff, just wanted to contribute a bit!

Many thanks !!
I glad to your feedback. :smile_cat:


Navigation to Edit Package

Right now, the navigation to Edit package (Paket bearbeiten) ist missing. It should be navigable in the list view Packages (8.3 Pakete) by clicking on the package name. Additionally, in other package list views (Regarding Providers, 8.9, 8.10) the navigation should be the same.

Please do not add multiple tasks into one ticket, otherwise this ticket will be open a long time, since all tasks are solved.
The first step is done, we have a navigation possibility to edit a package without the dialog.


Added change app icon feature

Based on #47 I have added the stated feature in this PR.
Previously, the AboutViewController contained static UIViews and UIButtons.
I have converted it into a Table View Controller which contains several view and table view controllers.
Screenshots for the stated featured:

Click on Change App Icon
Select an App Icon
Icon is Changed

Waiting for feedback and review!

Closing and resubmitting due to merge conflicts


Error: use of undeclared identifier 'jpeg_mem_src'

HI,
I am having an issue running this package. I keep getting:
jpeg_mem_loader.cc:45:2: error: use of undeclared identifier 'jpeg_mem_src'
I am building on macOS.
Thanks

@Kagami , please can you help out here? I notice this issue comes up when using Go module.

I was able to resolve the error by upgrading Libjpeg and Dlib (on macOS).


Extension not available for VS Codium

I am on arch, so code from the official package repository is actually vs codium.
I cannot find this extension in the package store and running the ext install line fails as well.
Would be great if you would also support installing the extension in VS Codium

I am not sure if publishing on open-vsx.org is on the books for the time being. Until then you can use this solution
https://github.com/VSCodium/vscodium/blob/master/DOCS.md#how-to-use-the-vs-code-marketplace

Duplicate of #190


python311Packages.dissect: 3.8 -> 3.8.1

Diff: https://github.com/fox-it/dissect/compare/refs/tags/3.8...3.8.1
Changelog: https://github.com/fox-it/dissect/releases/tag/3.8.1
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

Hmm, I guess nothing is built because dissect is a "meta-module".

@ofborg build python311Packages.dissect python311Packages.dissect-target python311Packages.dissect-xfs


Unable to build Fedora Server 22

Hi, this is what I get when I try to build Fedora-Server-armhfp-22-3-sda.raw
Using settings.conf
BOOTSIZE is 100 MB
ROOTSIZE is 2000 MB
IMAGEFILE is Fedora-Server-armhfp-22-3-sda.raw
Extracting image...
Extracting rootfs...
Creating boot partition...
Mounting boot filesystem...
Calling boot scripts...
scripts/boot/10_firmware.sh
Cloning firmware repo...
Cloning into 'firmware'...
remote: Counting objects: 3890, done.
remote: Compressing objects: 100% (2070/2070), done.
remote: Total 3890 (delta 1640), reused 2371 (delta 1537), pack-reused 0
Receiving objects: 100% (3890/3890), 73.60 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (1640/1640), done.
Checking connectivity... done.
Copying boot files...
scripts/boot/20_config.sh
Unmounting boot filesystem...
Preparing root partition...
e2fsck: Bad magic number in super-block while trying to open root.img

Aww man.  They changed even the ARM images to XFS for the root filesystem in Fedora 22.  XFS has their own tools for everything.  I'll work on it.

Thanks! I'm still having some issues tho:
Copying boot files...
scripts/boot/20_config.sh
Unmounting boot filesystem...
Preparing root partition...
root.img: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
Root filesystem is XFS, resize is not supported
ROOTSIZE changed to  MB
Mounting root filesystem...
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

Hmm... do you have the xfs kernel module loaded (lsmod | grep xfs)?
There are some bugs in my XFS commit.  Obviously "ROOTSIZE changed to  MB" isn't correct :-/
But you should be able to mount the root.img file if xfs is supported on your build system.

You are right - it was a problem with my build system. Thanks!


Node.js unit testing

Are you requesting a feature or reporting a bug?
feature
What is the current behavior?
TestCafe supports e2e testing only
What is the expected behavior?
TestCafe could support node.js unit testing as well. "One tool to rule them all"

I'm looking at adding unit and end-to-end tests to a large, mature web app... and if I could go with a single solution I would.

I'm interested in having TestCafe being able to run unit tests, but I'd see more value if it could run them on real browsers, as for e2e, otherwise there are many solutions for running tests on node.js. Afaik only karma support unit tests on real-browsers.
Unit tests on node.js are supported by many but that way your tests run on the only engine that nobody uses among your users. TestCafe may strive for more.

@riquito Thanks for you idea. It requires careful consideration (because it should be new API, new approach..). I'm not sure we're ready to do it right now but we can consider it in the future.

I think your team should focus more on http testing. Like postman or supertest.

@devdelpiero
TestCafe already has some functionality for intercepting HTTP Requests. Please refer to the following article: https://devexpress.github.io/testcafe/documentation/test-api/intercepting-http-requests/
At the moment we think that implemented functionality is sufficient to satisfy needs of most users, so at this moment we don't have plans of moving in this way.

Yes, that would be a nice addition. Something like what Cypress advertises - Unit, Integration and End-End tests

If you could just add some configuration option to fixture and/or test so that I can prevent the browser from starting it would be really easy to use testcafe for both api and end-to-end tests in the same suite. Starting the browser can be very slow so would be great if that could be stopped.

@cattermo Thank you for your suggestion. You can run TestCafe without specifying the testing page and in headless browser mode. In this case, the test would be launched much faster.
For example:
fixture ('Fixture');
test('test', async => {
 //test API
});

@cattermo There is still no way to avoid opening a browser when TestCafe test execution starts. However, in 1.20.0+, TestCafe offers the t.request method designed for API testing.

@cattermo There is still no way to avoid opening a browser when TestCafe test execution starts. However, in 1.20.0+, TestCafe offers the t.request method designed for API testing.

I agree, is there any way just running API tests using TestCafe and without opening browser at all?

@jiteshsojitra You can use headless mode. Unit testing isn't supported.

@jiteshsojitra You can use headless mode. Unit testing isn't supported.

Agree, already using it that way. Will it not take any browser resources if headless mode used?

Yes, that is true. It behaves as described.

Hi folks,
We decided not to introduce the all-in-one tool. We want to focus on implementing E2E-specific features. Please use mocha, ava, and other tools to run Node.js unit tests. Also, you can use the built-in Node.js test runner.


Show spinner while loading more issues/repos in search

Version 1.10.0 (1698)
Device: iPhone 7 Plus (iOS 10.3.3)
Now, especially on slow networks, there is no indication something is actually happening

Killed the load more on search

Why? And some goes for loading next notifications.

Scrolling beyond 100 search results seems a little silly to me, needless complexity. Agree on notifications tho, lets track that separately.

Was looking for a specific issue earlier, think it might be nice to search for a specific issue/PR then maybe?

Ya I'd like to extend with issue and user results (doable via gql) with a scoped seg control on the search bar.


[Doc Improvement][Manage multiple environments]

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

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
90
29
link
:white_check_mark:

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

Docs Build status updates of commit 96be6a7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

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

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

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
91
28
link
:white_check_mark:

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

Docs Build status updates of commit 833a19d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 8630398:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/TeamsFx-multi-env.md
:white_check_mark:Succeeded
View

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

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

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-multi-env.md
91
28
link
:white_check_mark:

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

Closing this as outdated


Merged image and tag for controller, ui, velero and registry

For each of the following check the box when you have verified either:

the changes have been made for each applicable version
no changes are required for the item

Affected versions:

[x] Latest
[x] 1.1
[x] 1.0

The CSV is responsible in OLM installs for

[ ] Operator permissions
[x] Operator deployment
[ ] Operand permissions
[x] CRDs

The operator.yml is responsible in non-OLM installs for

[ ] Operator permissions
[x] Operator deployment

The ansible role is responsible in non-OLM installs for:

[ ] Operand permissions
[x] CRDs

The ansible role is always responsible for:

[x] Operand deployment

If this PR updates a release or replaces channel

[ ] I created a new z release directory in deploy/olm-catalog/konveyor-operator
[ ] I updated channels in the konveyor-operator.package.yaml
[ ] I created a new release directory in deploy/non-olm
[ ] I created or updated the major.minor link in deploy/non-olm
[ ] Updated the .github/pull_request_template.md Affected versions list

It will require changed in CI (cc @fbladilo) too, but allows to develop mig-controller and test in production, with correct RBAC settings with PR: https://github.com/konveyor/mig-controller/pull/466 which is depends on it.

Maybe we can come up with a different name instead of swapping mig_ prefixes on and off everywhere they do or don't exist. It looks really inconsistent.

Can you please go through, read the template instructions, and check the boxes for the PR template? It wasn't created out of boredom. People keep missing changes. I'm going to stop accepting PR's that don't have them checked.

Maybe we can come up with a different name instead of swapping mig_ prefixes on and off everywhere they do or don't exist. It looks really inconsistent.

Did that, but had to change to some worse naming for velero_image to velero_image_no_tag, as others are just not containing enough info, or are already used. This will affect CI.