Cached routes not getting loaded

Laravel Version: 7.2.0
PHP Version: 7.4.3

Description:
When caching routes they become unusable. I've tried tracking down the issue but cannot find the culprit.
I've debugged down the rabbit hole, but can't figure out why the RouteCollection isn't populated whilst being loaded from cache.
Route is listed fine in artisan route:list
a route:list | grep reports/source
 |        | GET|HEAD        | reports/source    | reports.generated::h6iLoxUpb7OSO9T1     | App\Http\Controllers\ReportController@loadSource  | web,auth,App\Http\Middleware\TransformCommaStringToArray

But once it tries to load the route by name it fails as $this->routes nameList is empty. But getRoutes() can see them fine.

The error is also misleading, telling me that POST and DELETE are valid though they aren't?

MethodNotAllowedHttpException
HTTP 405 Method Not Allowed
The GET method is not supported for this route. Supported methods: HEAD, POST, DELETE.

Without cache the match method finds the route instantly

Facing same issue

Could you post the code that define the route (the /routes/web.php file) and the cached file /bootstrap/cache/routes-v7.php, please. Want to try to replicate the bug.
Is there still the old cache file?

It has been two days since release and i have not seen any comments from Laravel team.
I am happy to provide a sample laravel repo to debug.

Found the issue, will explain it and maybe @driesvints can fix the black magic behind it.
It comes down to us setting a name on the group
Route::name('lookup.')->prefix('lookup')->group(base_path('routes/web/lookup.php'));
In the group I have 2 urls now.
Route::get('/fake-news', [LookupController::class, 'source']);
Route::get('/source/{type}', [LookupController::class, 'source']);

a route:list                                                                                +--------+----------+----------------------+---------+--------------------------------------------------+------------+
| Domain | Method   | URI                  | Name    | Action                                           | Middleware |
+--------+----------+----------------------+---------+--------------------------------------------------+------------+
|        | GET|HEAD | lookup/fake-news     | lookup. | App\Http\Controllers\Api\LookupController@source | web        |
|        | GET|HEAD | lookup/source/{type} | lookup. | App\Http\Controllers\Api\LookupController@source | web        |
+--------+----------+----------------------+---------+--------------------------------------------------+------------+

cached
a route:list
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+
| Domain | Method   | URI                  | Name                               | Action                                           | Middleware |
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+
|        | GET|HEAD | lookup/fake-news     | lookup.                            | App\Http\Controllers\Api\LookupController@source | web        |
|        | GET|HEAD | lookup/source/{type} | lookup.generated::rsfnRZ32JW2CM4gj | App\Http\Controllers\Api\LookupController@source | web        |
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+

This then gives the 405 error. But if I switch the position of the routes, it gives a 200...
Route::get('/source/{type}', [LookupController::class, 'source']);
Route::get('/fake-news', [LookupController::class, 'source']);

cached
a route:list
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+
| Domain | Method   | URI                  | Name                               | Action                                           | Middleware |
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+
|        | GET|HEAD | lookup/fake-news     | lookup.generated::KIbM69Jcmm1a7iAa | App\Http\Controllers\Api\LookupController@source | web        |
|        | GET|HEAD | lookup/source/{type} | lookup.                            | App\Http\Controllers\Api\LookupController@source | web        |
+--------+----------+----------------------+------------------------------------+--------------------------------------------------+------------+

Route names need to be unique from now on. Please see https://laravel.com/docs/7.x/upgrade#unique-route-names
@danijelk The error seems to be related to a change we made for route group prefixing. We'll check in on this.

This then gives the 405 error. But if I switch the position of the routes, it gives a 200...

WHAT gives a 405 error?

This then gives the 405 error. But if I switch the position of the routes, it gives a 200...

WHAT gives a 405 error?

Sending a GET request for route 'reports/source'

We've released a fix with this. Thanks for reporting all.

In My Case i have used a return $req->input();  which resulted to this error `
Error
Call to undefined method Closure::__set_state()
at bootstrap/cache/routes-v7.php:925
921▕       'fallback' => false,
922▕       'defaults' =>
923▕       array (
924▕         'destination' =>
➜ 925▕         Closure::__set_state(array(
926▕         )),
927▕         'status' => 302,
928▕       ),
929▕       'wheres' =>
  +7 vendor frames

8   artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))this after running thephp artisan optimizeBut i went doing some research on it the i have figure out that laravel generates the fileroutes-v7.phpafter your route been cached. Now the simple way to fix it is by Deleting this file routes-v7.php`. it will not cause any problem. if you try and do the same things again you will see that laravel will auto-generates the same file again.  I hope it helps someone

In My Case I have used return $req->input(); which resulted to this error
` Error
Call to undefined method Closure::__set_state()
at bootstrap/cache/routes-v7.php:925 921▕ 'fallback' => false, 922▕ 'defaults' => 923▕ array ( 924▕ 'destination' => ➜ 925▕ Closure::__set_state(array( 926▕ )), 927▕ 'status' => 302, 928▕ ), 929▕ 'wheres' =>
  +7 vendor frames

8 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))`
This happened after running the following cmd 👇🏾 php artisan optimize
But after some research on it, I have figured out that laravel generates the file 👇🏾 routes-v7.php
after your route has been cached. Now the simple way to fix it is by Deleting this file 👉🏾routes-v7.php.
It will not cause any problems. if you try and do the same things again you will see that laravel will auto-generate the same file again. I hope it helps someone

It helps me, Thank you. The problem happened after I ran a backup


[Autocomplete] Add ListboxProps prop

[x] I have followed (at least) the PR section of the contributing guide.

Closes #18822

@ChrisWiles It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!

Oops 🙃


Code navigation/help not working

Issue Type: Bug

Install the latest VS code containing this update
Open any TS project
Try to navigate between any functions via command & click/hover over code
The code description gets stuck loading and the bar that shows when the code is indexing does so continuously

Intermittantly, this error will also keep appearing on screen every few minutes:

VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:11:20.886Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
5, 4, 4

Memory (System)
16.00GB (2.72GB free)

Process Argv
--crash-reporter-id cc9021b9-03ce-4d7c-94dd-5e2a907466c8

Screen Reader
no

VM
0%

Extensions (51)

Extension
Author (truncated)
Version

vscode-openapi
42C
4.9.1

better-comments
aar
2.1.0

vscode-node-readme
ben
3.0.2

autofoldyeah
bob
1.0.6

better-toml
bun
0.3.2

better-phpunit
cal
1.5.3

npm-intellisense
chr
1.4.1

gitignore
cod
0.7.0

octicons
ctu
0.0.1

mustache
daw
1.1.1

vscode-eslint
dba
2.2.2

phptools-vscode
DEV
1.7.8717

xml
Dot
2.5.1

sf-pack
dub
1.1.0

gitlens
eam
12.0.1

vscode-html-css
ecm
1.11.0

prettier-vscode
esb
9.3.0

vs-code-xml-format
fab
0.1.5

file-icons
fil
1.0.29

auto-rename-tag
for
0.1.10

macros
ged
1.2.1

vscode-pull-request-github
Git
0.36.2

gitkraken-authentication
git
1.0.3

go
gol
0.31.1

vscode-test-explorer
hbe
2.21.1

rest-client
hum
0.24.6

php-cs-fixer
jun
0.2.10

git-graph
mhu
1.30.0

dotenv
mik
1.0.1

mongodb-vscode
mon
0.8.0

theme-monokai-pro-vscode
mon
1.1.20

vscode-azurefunctions
ms-
1.6.0

vscode-azureresourcegroups
ms-
0.4.0

vscode-cosmosdb
ms-
0.18.1

vscode-docker
ms-
1.20.0

remote-containers
ms-
0.224.2

azure-account
ms-
0.10.0

live-server
ms-
0.2.12

test-adapter-converter
ms-
0.1.5

vsliveshare
ms-
1.0.5418

vsliveshare-audio
ms-
0.1.91

polacode
pnp
0.3.4

vscode-yaml
red
1.4.0

rust
rus
0.7.8

fish-vscode
sky
0.2.1

vscode-fileutils
sle
3.5.0

code-spell-checker
str
2.1.7

symfony-vscode
The
1.0.2

tab-groups
usa
1.4.8

vscodeintellicode
Vis
1.2.17

vscode-icons
vsc
11.10.0

(11 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710:30416614
dsvsc008:30440022
pythonvsnew555cf:30442237
vsbas813:30436447
vscscmwlcmc:30438804
vscgsvidc:30447482
helix:30440343

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

Hi @mjbvz, I've checked this morning and I get the same issue with the latest VS code insiders build with all extensions disabled.

@mjbvz I was able to resolve the issue by manually setting the Typescript Language mode to use the workspace setting rather than using the 'Use VS Code version' option. I did not consciously change this - so either this was accidental or it may still be related to the update. Hope this helps if anyone experiences a similar issue, and thanks again @mjbvz for taking a look 👍🏻

What workspace version of TypeScript did you switch to? Unless you're on a really old TS version, using the workspace version should not be required

4.0.3

Thanks. Yeah that's an older TS build but not ancient. If you can narrow down what causes this, I can take a look because new TS versions really should support running against old TS code and you will likely want to update someday
For now though I'm closing this since it seems like this issue is no longer blocking you


Allow Authorization for browser preflight

I think this should fix the problem I'm having:

Looks good, please add to the http section as well for consistency.

Should be all set now. Thanks.


confirmPayment hook works different than confirm payment url from stripe api

Describe the bug
I am working on a mobile app and I am trying to make a payment with a saved card. For that I am using the confirmPayment hook, provided by this sdk, following this example https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/CVCReCollectionScreen.tsx#L74-L80
The type from confirmPayment hooks makes mandatory to send the paymentMethodId ( which is the saved card id in the end ) and if I don't send it the confirmation will fail telling that the information of the card is not complete.
But in web, using the following curl it works just fine.
curl --location --request POST 'https://api.stripe.com//v1/payment_intents/pi_YYY/confirm' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer pk_test_XXX' \
--data-urlencode 'client_secret=pi_YYY_secret_TTT'

Both mobile and web follow the same approach so my question is why is necessary to send the saved card id on the hooks but not on web. This id is already included in the payment intent.
Expected behavior
confirmPayment hooks works as https://api.stripe.com//v1/payment_intents/pi_YYY/confirm url
Desktop (please complete the following information):

OS: any OS
Browser: any Browser
Version: any version

Smartphone (please complete the following information):

Device: any device
OS: any OS
Browser : any browser
Version any version

hi! thanks for the issue. I believe this was fixed here, released in v0.9.0


Docs: workaround for typedoc issue #2802

TypeDoc 0.26 introduced a defect which caused modifier tags (@alpha, @beta, etc...) to be absent in certain type reflections - causing various issues with linking. While the bug has been identified and fixed, we need to update our docs build system to ESM (in progress) to consume the new version of TypeDoc. In the meantime, a workaround for the issue is to override the default cascadedModifierTags.

@mergifyio backport release/4.11.x

https://github.com/Mergifyio backport release/4.10.x


Panan 01

Added net_melt to the list of the sea ice diagnostics

You already updated the panan-01 branch @willaguiar, so all good. This master branch is not actually up to date or used at all. Can we delete it actually?


Is it possible to make replaceRange not triggering change event?

In some cases I may want to programmatically change the texts by invoking replaceRange but do not want to trigger a change event, is that possible?

Nope. Many uses of the "change" event rely on getting every single change (so that they can keep a consistent view on the document) so this would not be a good idea.

Thanks for the reply and that makes sense, I've found a way to workaround the issue.

@coodoo  how did you work around this?

replaceRange has an API like this:
doc.replaceRange(replacement: string, from: {line, ch}, to: {line, ch}, ?origin: string)

I passed in the origin argument with a value @ignore and made sure all event listeners check for that argument then act accordingly, worked like a champ for me, hth.


NavCogtool：config file could not be loaded

when I try to run it in terminal I receive the below message
Config file could not be loaded Process exited with status 5
Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
[Process completed]
how can I load the config file ?

I found this error also
Could not launch “NavCogTool”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: Xcode has killed the LLDB RPC server to allow the debugger to detach from your process. You may need to manually terminate your process.

hi , thank you for your feedback
I facing a problem in running the tool . the above messages appear when I try to open the tool In the terminal

Looks like the previous process is still running.  Or you can just reboot your Mac.

hi
still facing the same error .

Sorry, I don't have experience with the error.
How about trying these?
https://developer.apple.com/forums/thread/120282
https://www.jessesquires.com/blog/2021/11/03/xcode-13-framework-test-fail/
Anyway, this key file is an optional thing for showing developer menus on the app, so you can just skip it at this moment.


Migrate from CircleCI to Github Actions

Summary
The PR build (CI) is a reusable required workflow
Ticket Link
Ticket: https://mattermost.atlassian.net/browse/CLD-4816

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2970cc9). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage          ?   10.00%
=========================================
  Files             ?        4
  Lines             ?       40
  Branches          ?        0
=========================================
  Hits              ?        4
  Misses            ?       36
  Partials          ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Adopt MIT license

During docs development I have neglected to assign a license to this repository. If all contributors to date consent, we will release the existing and future content under the MIT license.

I agree to licensing my prior (and future) contributions under the MIT license.

With the consent of all who have assisted with my contributions, I agree to licensing my prior (and future) contributions under the MIT license.


Site, Region -> Location: Ensure Objects that have Site or Region set have a Location set

Probably should be done in the same PR/work with the migrations of Site&Region to Location
Docs update

Circuits:
CircuitTermination
DCIM:
Device
PowerPanel
RackGroup
Rack
IPAM:
Prefix site not required
VLANGroup site not required
VLAN site not required
Virtualization:
Cluster site not required
All of the above models have a site ForeginKey and a location ForeginKey. This is the same as doing:
>>> ContentType.objects.filter(FeatureQuery("locations").get_query())
<QuerySet [<ContentType: circuits | circuit termination>, <ContentType: dcim | device>, <ContentType: dcim | power panel>, <ContentType: dcim | rack group>, <ContentType: dcim | rack>, <ContentType: ipam | prefix>, <ContentType: ipam | VLAN group>, <ContentType: ipam | VLAN>, <ContentType: virtualization | cluster>]>


Fixed #33518 -- Added RemovedAfterNextVersionWarning.

@saeedblanchette Thanks :+1: I added a small test to ensure it's PendingDeprecationWarning.

@felixxm  Thank you


Pass through the title attribute for tooltips

I have a use case where I need to pass through the title attribute to show tooltips against the dropdown list, however the title attribute seems to get lost. I've had a dig in the code and came up with a very simple patch (attached) that will take the title from the original <option> element and apply it to the containing <li> element of the tag list.
I'm using the <li> instead of the underlying <a> because the tooltips don't work on the <a> tag if the option has been disabled. I'm using the tooltip to explain why the option has been disabled so this is important.
title.patch.txt

oh i see
never thought of that
i did this:
https://github.com/lekoala/bootstrap5-tags/commit/a668ad26d174d896d32301cb2ca8a482b186d27c
it basically means the tooltip will appear on the tag and while hovering in the menu
seems good to me :)
what do you think ?

closing :)


Update to ocaml 4.10

The ocaml/opam was actually no longer working. ocaml/opam2 must
be used instead.
Fixes https://github.com/WillSewell/gc-latency-experiment/issues/21

@metalim does that work for you?

That works. Thank you.


sanity checks for epsilon/delta

Within the validator's mechanism traits, sanity checks are needed for valid values of epsilon and delta.

Beyond the standard sanity checks (e.g. \epsilon \geq 0, \delta \in [0,1]), our current instantiation of the Gaussian Mechanism (from Dwork & Roth 14) requires that \epsilon \in (0,1).

PR merged


feat: password authentication

Is your feature request related to a problem? Please describe:

You can use Firebase Authentication to let your users authenticate with Firebase using their email addresses and passwords (password-auth). This is currently not possible with this plugin.
Describe the solution you'd like:

Add support for password authentication.

createUserWithEmailAndPassword
signInWithEmailAndPassword
updateEmail
sendEmailVerification
sendPasswordResetEmail
updatePassword

Describe alternatives you've considered:

No alternative solutions.

I'd like this too.


Switch theme base on file type

Can vscode automatically switch workbench.colorTheme based on file type?  I am using monokai-chacoral(HC) when I am coding,  but monokai-chacoral(HC) is not support markdown, so I need to switch to another theme.

duplicate of #20652


Fullscreen not using fullscreen

Hi, when I call setFullscreenMode(Gdx.graphics.getDisplayMode()), the entire viewport ends up taking up only a small portion of the screen.

I notice that Gdx.graphics.getWidth() and Gdx.graphics.getHeight() also do not return the actual width and height of the screen but a far smaller value.

Hey @siauderman! If you are not already using the LWJGL 3 backend, could you try, whether the issue occurs with it as well? Instructions to switch can be found here. And what OS are you using?

@siauderman can you please check what values Gdx.graphics.getBackBufferWidth() and Gdx.graphics.getBackBufferHeight() return?

@crykn @yuripourre It works after I switched to LWJGL3, thanks!


Additional production column for S3 data

Presently the ITR data template uses a single production metric to cover all S1, S2, and S3 emissions.  This creates a problem when the principle downstream "product" is very different than the product that nominally creates S1+S2 emissions.
In automobiles, the production of vehicles (measured as vehicles produced) produce S1+S2 emissions, whereas the driving of the vehicles (measured as passenger miles/kms) produce the S3 emissions.
In oil and gas, the production of a barrel of oil (boe) produces S1+S2 emissions, but the burning of that oil for some other purpose produce the S3 emissions.
Integrated energy utilities (that supply both electricity and gas) could be much more naturally represented by having a production metric in MWh (or PJ) and an S3 production metric in MBtu/therms/etc representing gas deliveries.
In concrete, S3 emissions are defined by convention as the S2 emissions related to the buildings built with that concrete.
I propose that we add a column to the data template "S3_production_metric" or "downstream_metric" or some such that allows us to describe S3 metrics in a natural way, and not as something that is itself unnatural or that forces us to label the S1+S2 production metric unnaturally.
Comments?

Totally agree, I would go with the S3_production_metric version. Thanks for bringing this up.

Would you prefer the name "S3_production_metric" or "production_metric_S3"?

Lokking at our other columns, I would probably say production_metric_s3 - should we then also call the former production_metric now production_metric_s1s2?


[WIP] Add fast beam search emformer

This PR adds fast_beam_search_one_best to the following models :

[X] pruned_stateless_emformer_rnnt2

[x] conv_emformer_transducer_stateless

Could you also update GitHub CI for https://github.com/k2-fsa/sherpa/blob/master/.github/workflows/run-streaming-conv-emformer-test.yaml#L36
to include
https://github.com/k2-fsa/sherpa/blob/fb0ee4adfdd5e490111ada244e0713410561d2dd/.github/workflows/run-streaming-conformer-test.yaml#L37
https://github.com/k2-fsa/sherpa/blob/fb0ee4adfdd5e490111ada244e0713410561d2dd/.github/workflows/run-streaming-conformer-test.yaml#L127
You can apply a label to this PR with the name ready to trigger GitHub actions.

Should be all good @csukuangfj !

Should be all good @csukuangfj !

Thanks! Let us wait for the CI.  Will merge after all tests pass.
Thanks again!


feat: ✅ [Issue 3] Add Category bar

🛠 Fixes Issue
Closes #3

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[✔] My code follows the coding standards of this project.
[✔] This PR does not contain plagiarized content.
[✔] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

changes done. Please check it again.

Thank you


Unity to Flutter Messages not coming through

Hey,
I‘m trying to send a message from unity to flutter using the same command as in the default rotate.cs. I‘m also using the same assets as in the example because for some reason my unity export fails with the newer version of that scripts. Also, the ‚Last Changed Date‘ of the unity-classes.jar file is tied to the 07.12.2019 for some reason although all the visible changes in the scene get applied. Can someone please help me with this, because the onUnityMessage() class never gets triggered...

Add the IEventSystemHandler to the .cs file?

Apparently, the problem was caused by Flutter. I moved my Unity project in a clean version of the example project and the message went through without any issues... 🤔

So apparently, my setup is not too far off.
After testing every possible scenario of merging different parts of my project and the example, it turns out that if I just replace all the .dart files with the one main.dart from the example, the messages go through.
I've set up everything in the same way as the example, even checking if the order of the different voids is the same in the dart file, but it still won't work with my application setup.
Could this be fixed by changing the position of the UnityWidget in the widget tree, or is this malfunction may caused by running it inside multiple StatefulWidgets, which are placed in each other?


Security Info Page Sometimes Requires MFA Challenge

When trying to access the Security Info page to reset their MFA Authenicator app, the user gets prompted with an MFA challenge. What is causing the MFA challenge? We need to ensure users whose Auth app is broken can access this page without MFA.

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

ID: bf9ff347-e8ff-e3e5-b053-fe269ed19858
Version Independent ID: 469e35b5-d852-d5ca-d2f7-d480eb3e1305
Content: My Profile (preview) portal overview - Azure Active Directory
Content Source: articles/active-directory/user-help/myprofile-portal-overview.md
Service: active-directory
GitHub Login: @eross-msft
Microsoft Alias: lizross

@charles-steinmetz Thank you for your feedback . We will investigate and update further.

@charles-steinmetz Have you earlier enabled multi factor authentication from Azure AD blade for the user ?

@charles-steinmetz We will now proceed to close this thread as we haven't heard back. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Replace data pictures with real charts

Now we use CachedNetworkImage to load data picture from erddap server, to display a profile. We should replace that with a FutureBuilder that uses real vectorial charting.
See https://pub.dev/packages/charts_flutter

--> PR7


Must clear "cloneRequest" annotation on restore of PVC

BugId:  2070366
Signed-off-by: Michael Henriksen<EMAIL_ADDRESS>
What this PR does / why we need it:
If a VM disk is originally created by network clone, then snapshotted, the "cloneRequest" annotation must be cleared from the new PVC.  Otherwise, CDI network cloning will be initiated.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
BugId: https://bugzilla.redhat.com/show_bug.cgi?id=2070366
Special notes for your reviewer:
Release note:

NONE

/retest

/approve

/retest

/retest

/retest-required

/retest-required

/lgtm
peace and love

/hold
Holding merge queue PRs due to flake introduced to the sig-operator lanes.

/unhold

/cherry-pick release-0.53


panic: runtime error: index out of range [0] with length 0

Hello, some recorings does not converted with error:
# docker run -v /mnt/scalelite-recordings/var/bigbluebutton/published/presentation/e16dd371710acce71110d2315120a819f3de818f-1166245343158:/recdir bbb-converter -i /recdir -o video.mp4 -t 6
2022/10/26 03:23:13 Starting the conversion
2022/10/26 03:23:13 ========================================================
2022/10/26 03:23:13 Recording:  /recdir
2022/10/26 03:23:13 Output:     /recdir/video.mp4
2022/10/26 03:23:13 ========================================================
panic: runtime error: index out of range [0] with length 0

goroutine 33 [running]:
bbb-video-converter/converter/modules/presentation.renderFrames({0x93a350?, 0xc000020600}, {{0x7ffd5faaaf50, 0x7}, {0xc0001701c8, 0x11}, {0xc000162180, 0x1e}, {0x7ffd5faaaf68, 0x1}}, ...)
        /srv/bbb-convert/converter/modules/presentation/browserinteraction.go:106 +0x4bf
bbb-video-converter/converter/modules/presentation.captureFrames({{0x7ffd5faaaf50, 0x7}, {0xc0001701c8, 0x11}, {0xc000162180, 0x1e}, {0x7ffd5faaaf68, 0x1}}, {0xc0003181b0?, 0x0?, ...})
        /srv/bbb-convert/converter/modules/presentation/browserinteraction.go:69 +0xafe
bbb-video-converter/converter/modules/presentation.renderSlides({{0x7ffd5faaaf50, 0x7}, {0xc0001701c8, 0x11}, {0xc000162180, 0x1e}, {0x7ffd5faaaf68, 0x1}}, 0xa41?)
        /srv/bbb-convert/converter/modules/presentation/slides.go:49 +0x15d
bbb-video-converter/converter/modules/presentation.CreatePresentationVideo.func1()
        /srv/bbb-convert/converter/modules/presentation/presentation.go:22 +0x99
created by bbb-video-converter/converter/modules/presentation.CreatePresentationVideo
        /srv/bbb-convert/converter/modules/presentation/presentation.go:20 +0x1b8

Could you share the Recording so i can further test this issue? It seems like the there is a issue with the timestamps.
If the Recording is confidential you could also just upload the shapes.svg, this would help me alot :)

I can't share Recording - its private. With tilmanmoser/bbb-video-download this Recording converted successfully.

Content of shapes.svg
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svgfile" style="position:absolute;height:600px;width:800px" version="1.1" viewBox="0 0 800 600">
  <image id="image1" class="slide" in="0.0" out="7.5" xlink:href="presentation/logo.png" width="1600" height="1200" x="0" y="0" style="visibility:hidden"/>
  <image id="image2" class="slide" in="7.5" out="4314.8" xlink:href="presentation/e16dd371710acce71110d2315120a819f3de818f-1166245343158/slide-1.png" width="1600" height="1131" x="0" y="0" style="visibility:hidden" text="presentation/e16dd371710acce71110d2315120a819f3de818f-1166245343158/textfiles/slide-1.txt"/>
</svg>

Thanks, i will take a look at it as soon as possible.

Solved in Commit https://github.com/cli-ish/bbb-video-converter/commit/c8b892a12c65593ee0cdca64b48e4bd5d668b057, note that a Docker rebuild is required:
docker build -t bbb-converter .

The error was in the distribution of the work on the given threads. In this case 6 although there is not enough work for this number of threads. Therefore the division resulted in a value below 0 which could not be used.
Now in such a case a rule was introduced which regulates the threads in this case down so that it equals the effort. This may not be performant but solves the problem in this case.
Maybe I have to implement an automatic finding of the best thread number, because with an automated conversion not the perfect thread selection can be made.

Thanks a lot! I'll post the results in a couple of days!

This fix is really helpful!


compiler: Introduce linearization pass

I also took the opportunity of rewriting bits of the IET layer for a simpler future

Approved by @mloubout on Slack, merging


Do not probe GPU interfaced with PoCL

Changelog: prevent crash at init when loading silx with PortableCL + Cuda devices. Work-around

Good to know. Thanks


Minor: increase Mocha timeout as we test against real servers.

Minor change: increases mocha timeout from 2000ms to 5000ms because we run tests agains real servers.

👍


Reporting Script

I think it would be super nice to be able to do a quick "report" on a lab-calibration based on a template. This would mean we could easily (with one command) run a report on a given calibration observation, producing both a Jupyter notebook and a PDF report.
This would make it much easier to compare and contrast different observations over time.
Some features I think should be included:
In the report:

Full print-out of metadata (chosen parameters, eg, wterms and cterms, as well as set parameters)
S11 measurements
Spectrum measurements
Calibration Coefficients
Any antenna simulators that are available.
Automatic detection of strangeness in any of the input data (including auxiliary data)

Other features:

Ability to turn on/off production of the PDF
Automatic report naming
Ability to automatically publish to the memo series.
Ability to run it in "diff" mode, in which two observations are calibrated and contrasted in the report (maybe even more than two...). In this case, metadata that is different between the two should be highlighted.

Most of the infrastructure for this is already in place. After discussions today in which it was difficult to locate memos and info on different historical calibrations, I think this will be incredibly helpful. Looking for other feature suggestions from @nmahesh1412 , @jdbowman etc.

Hi Steven,
That is a brilliant idea. And would save a lot of time. The template I
have been using so far is similar to the one I sent out today or any of the
"Receiverxx_calubration" reports you see on the loco page. If we cover the
stuff that is there in those, the report should be good and complete.
Nivedita Mahesh
PhD Candidate, Astrophysics,
Low Frequency Cosmology Group,
School of Earth and Space Exploration,
VP of Professional Development, GPSA,
Arizona State University, Tempe.
EDGES: http://loco.lab.asu.edu/
On Thu, Nov 5, 2020 at 11:13 AM Steven Murray<EMAIL_ADDRESS>wrote:

I think it would be super nice to be able to do a quick "report" on a
lab-calibration based on a template. This would mean we could easily (with
one command) run a report on a given calibration observation, producing
both a Jupyter notebook and a PDF report.
This would make it much easier to compare and contrast different
observations over time.
Some features I think should be included:
In the report:

Full print-out of metadata (chosen parameters, eg, wterms and
cterms, as well as set parameters)
S11 measurements
Spectrum measurements
Calibration Coefficients
Any antenna simulators that are available.
Automatic detection of strangeness in any of the input data
(including auxiliary data)

Other features:

Ability to turn on/off production of the PDF
Automatic report naming
Ability to automatically publish to the memo series.
Ability to run it in "diff" mode, in which two observations are
calibrated and contrasted in the report (maybe even more than two...). In
this case, metadata that is different between the two should be highlighted.

Most of the infrastructure for this is already in place. After discussions
today in which it was difficult to locate memos and info on different
historical calibrations, I think this will be incredibly helpful. Looking
for other feature suggestions from @nmahesh1412
https://github.com/nmahesh1412 , @jdbowman https://github.com/jdbowman
etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/edges-collab/edges-cal/issues/48, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7XSNI2NKWFWZH2V3QIGCDSOLTMRANCNFSM4TLWMEFQ
.


Lightning Terminal connection issue

Hello,
I recently updated some of the apps I run on my node (with Umbrel) and realised that the LiT no longer works. I constantly get errors while trying to fetch data, specifically of the form:

Unable to fetch "Accounts/Orders/Lease Duration/etc..."
The macaroon service has not yet started
macaroon store is locked
pool is not yet ready for requests, ...

My wish is to retrieve the money I sent to Pool by closing my account, given that the app GUI does not work, I tried logging into the container to execute the commands manually. When trying to run the following command:
pool --tlscertpath=data/.lit/tls.cert --rpcserver=localhost:8443 --macaroonpath=/data/.pool/mainnet/pool.macaroon accounts list

It returns the following:
[pool] rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid: current time 2022-09-07T15:19:57Z is after 2022-05-03T18:56:10Z"

Meaning that the certificate is expired? Is this issue specific to Umbrel? How to recover the funds I have sent to Pool?
Thank you for your time

From what you're describing, it seems like litd is running into some issues starting or accessing data. In order to get more information and help you debug this, we need you to turn on the debug logs for litd and post those in this issue.
Check out this comment in this issue for step by step instructions on how to add additional config parameters to the Lightning Terminal app on Umbrel so you can run the debug logs: https://github.com/lightninglabs/lightning-terminal/issues/414#issuecomment-1238570147

Thans for the quick response! Here are the logs I get from the container :
2022-09-08 09:16:46.426 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-08 09:16:46.433 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-08 09:16:46.434 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
2022-09-08 09:16:46.434 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:46.435 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:46.435 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{<IP_ADDRESS>:10009  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:46.435 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:46.435 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:46.435 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:46.435 [DBG] GRPC: [core] Subchannel picks a new address "<IP_ADDRESS>:10009" to connect
2022-09-08 09:16:46.436 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000556520, {CONNECTING <nil>}
2022-09-08 09:16:46.439 [INF] LITD: Listening for http on: [::]:3004
2022-09-08 09:16:46.439 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:46.439 [INF] LITD: Listening for http_tls on: <IP_ADDRESS>:8443
2022-09-08 09:16:46.440 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:46.440 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:46.440 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{<IP_ADDRESS>:10009  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:46.440 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:46.440 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:46.440 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:46.441 [DBG] GRPC: [core] Subchannel picks a new address "<IP_ADDRESS>:10009" to connect
2022-09-08 09:16:46.441 [DBG] GRPC: [core] blockingPicker: the picked transport is not ready, loop back to repick
2022-09-08 09:16:46.441 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000632450, {CONNECTING <nil>}
2022-09-08 09:16:46.441 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:46.448 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:46.448 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000556520, {READY <nil>}
2022-09-08 09:16:46.448 [DBG] GRPC: [core] Channel Connectivity change to READY
2022-09-08 09:16:46.451 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:46.451 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000632450, {READY <nil>}
2022-09-08 09:16:46.452 [DBG] GRPC: [core] Channel Connectivity change to READY
----------------------------------------------------------
 Lightning Terminal (LiT) by Lightning Labs

 LND Operating mode      remote
 LND Node status         online
 LND Alias               swissKnife
 LND Version             0.15.1-beta commit=v0.15.1-beta
 LiT Version             0.7.1-alpha commit=v0.7.1-alpha
 Web interface           <IP_ADDRESS>:8443, <IP_ADDRESS>:3004 (open https://<IP_ADDRESS>:8443 or http://localhost:3004 in your browser)
----------------------------------------------------------
2022-09-08 09:16:46.700 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:46.701 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:46.701 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{<IP_ADDRESS>:10009  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:46.701 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:46.701 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:46.701 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:46.701 [INF] LNDC: Creating lnd connection to <IP_ADDRESS>:10009
2022-09-08 09:16:46.701 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x40006fe180, {CONNECTING <nil>}
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:46.702 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:46.702 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:46.702 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{<IP_ADDRESS>:10009  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:46.702 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:46.702 [INF] LNDC: Connected to lnd
2022-09-08 09:16:46.702 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x40006fe4f0, {CONNECTING <nil>}
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Subchannel picks a new address "<IP_ADDRESS>:10009" to connect
2022-09-08 09:16:46.702 [DBG] GRPC: [core] blockingPicker: the picked transport is not ready, loop back to repick
2022-09-08 09:16:46.702 [DBG] GRPC: [core] Subchannel picks a new address "<IP_ADDRESS>:10009" to connect
2022-09-08 09:16:46.712 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:46.712 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x40006fe180, {READY <nil>}
2022-09-08 09:16:46.712 [DBG] GRPC: [core] Channel Connectivity change to READY
2022-09-08 09:16:46.713 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:46.713 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x40006fe4f0, {READY <nil>}
2022-09-08 09:16:46.713 [DBG] GRPC: [core] Channel Connectivity change to READY
2022-09-08 09:16:46.714 [INF] LNDC: Waiting for lnd to unlock
2022-09-08 09:16:46.715 [INF] LNDC: Wallet state of lnd is now: Lnd main server is ready for requests
2022-09-08 09:16:46.761 [INF] LNDC: lnd version: v0.15.1-beta, build tags 'autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,monitoring,peersrpc,kvdb_postgres,kvdb_etcd'
2022-09-08 09:16:46.761 [INF] LNDC: Using network mainnet
2022-09-08 09:16:46.761 [INF] LNDC: Waiting for lnd to be fully synced to its chain backend, this might take a while
2022-09-08 09:16:46.805 [INF] LNDC: lnd is now fully synced to its chain backend
2022-09-08 09:16:47.010 [INF] LOOPD: Swap server address: swap.lightning.today:11010
2022-09-08 09:16:47.017 [INF] STORE: Checking for schema update: latest_version=4, db_version=4
2022-09-08 09:16:47.017 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:47.017 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:47.017 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{swap.lightning.today:11010  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:47.018 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:47.018 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:47.018 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:47.019 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000556530, {CONNECTING <nil>}
2022-09-08 09:16:47.019 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:47.019 [DBG] GRPC: [core] Subchannel picks a new address "swap.lightning.today:11010" to connect
2022-09-08 09:16:47.243 [INF] LOOPD: Waiting for updates
2022-09-08 09:16:47.243 [INF] LOOPD: Starting swap client
2022-09-08 09:16:47.243 [INF] POOL: Version: 0.5.7-alpha commit=v0.5.7-alpha
2022-09-08 09:16:47.243 [INF] LOOPD: Starting liquidity manager
2022-09-08 09:16:47.244 [INF] LOOP: Connected to lnd node 'swissKnife' with pubkey 033323c3b00f142cff4fd2e20e125112d0c58ae4a3cc135f4e57512652050a4c05 (version v0.15.1-beta, build tags 'autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,monitoring,peersrpc,kvdb_postgres,kvdb_etcd')
2022-09-08 09:16:47.246 [INF] LOOP: Wait for first block ntfn
2022-09-08 09:16:47.248 [INF] LOOP: Starting event loop at height 753141
2022-09-08 09:16:47.455 [INF] POOL: Auction server address: pool.lightning.finance:12010
2022-09-08 09:16:47.463 [INF] CLDB: Checking for schema update: latest_version=1, db_version=1
2022-09-08 09:16:47.464 [DBG] GRPC: [core] parsed scheme: ""
2022-09-08 09:16:47.464 [DBG] GRPC: [core] scheme "" not registered, fallback to default scheme
2022-09-08 09:16:47.464 [DBG] GRPC: [core] ccResolverWrapper: sending update to cc: {[{pool.lightning.finance:12010  <nil> 0 <nil>}] <nil> <nil>}
2022-09-08 09:16:47.464 [DBG] GRPC: [core] ClientConn switching balancer to "pick_first"
2022-09-08 09:16:47.464 [DBG] GRPC: [core] Channel switches to new LB policy "pick_first"
2022-09-08 09:16:47.465 [DBG] GRPC: [core] Subchannel Connectivity change to CONNECTING
2022-09-08 09:16:47.465 [DBG] GRPC: [core] Subchannel picks a new address "pool.lightning.finance:12010" to connect
2022-09-08 09:16:47.465 [INF] RPCS: Starting trader server
2022-09-08 09:16:47.465 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4001818100, {CONNECTING <nil>}
2022-09-08 09:16:47.468 [DBG] GRPC: [core] Channel Connectivity change to CONNECTING
2022-09-08 09:16:47.513 [INF] RPCS: Connected to lnd node swissKnife with pubkey 033323c3b00f142cff4fd2e20e125112d0c58ae4a3cc135f4e57512652050a4c05
2022-09-08 09:16:47.589 [INF] ACCT: Watching spend of b045d8a0f41ac3fa93f8ed5e25534a2cc8dafdf4bc1a86c9e3879296549e3814:5 for account 02a56670c8cf616a9f931dce63347eb663ac4610231b9212477ede411f114fa1e2
2022-09-08 09:16:47.839 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:47.839 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4000556530, {READY <nil>}
2022-09-08 09:16:47.840 [DBG] GRPC: [core] Channel Connectivity change to READY
2022-09-08 09:16:48.235 [DBG] GRPC: [core] Subchannel Connectivity change to READY
2022-09-08 09:16:48.235 [DBG] GRPC: [core] pickfirstBalancer: UpdateSubConnState: 0x4001818100, {READY <nil>}
2022-09-08 09:16:48.235 [DBG] GRPC: [core] Channel Connectivity change to READY
2022-09-08 09:16:48.428 [DBG] AUCT: Connected successfully to server after 1 tries
2022-09-08 09:16:48.428 [INF] AUCT: Successfully connected to auction server
2022-09-08 09:16:48.626 [INF] AUCT: Shutting down auctioneer client
2022-09-08 09:16:48.626 [DBG] AUCT: Closing server stream
2022-09-08 09:16:48.627 [DBG] GRPC: [core] Channel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.627 [DBG] GRPC: [core] Subchannel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.627 [ERR] LITD: Could not start subservers: unable to start account manager: unable to resume account 02a56670c8cf616a9f931dce63347eb663ac4610231b9212477ede411f114fa1e2: unable to subscribe for account updates: checking pending batch failed: error removing pending batch artifacts: error abandoning channels from previous pending batch: error locating channel outpoint: no channel output found in batch tx for matched order d1d39416ace943ed0b7e2bc036d3212c144b561082679c9ca2e749644b809815
2022-09-08 09:16:48.627 [INF] LOOPD: Stopping gRPC server
2022-09-08 09:16:48.627 [INF] LOOPD: Stopping REST server
2022-09-08 09:16:48.627 [INF] LOOP: Swap client terminating
2022-09-08 09:16:48.627 [DBG] LOOP: Wait for executor to finish
2022-09-08 09:16:48.627 [INF] LOOPD: Liquidity manager stopped
2022-09-08 09:16:48.627 [DBG] LOOP: Wait for goroutines to finish
2022-09-08 09:16:48.627 [INF] LOOP: Swap client terminated
2022-09-08 09:16:48.628 [INF] LOOPD: Swap client stopped
2022-09-08 09:16:48.627 [DBG] LNDC: Closing lnd connection
2022-09-08 09:16:48.628 [DBG] GRPC: [core] Channel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.628 [DBG] GRPC: [core] Subchannel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.628 [DBG] LNDC: Wait for client to finish
2022-09-08 09:16:48.628 [DBG] LNDC: Wait for chain notifier to finish
2022-09-08 09:16:48.628 [DBG] GRPC: [transport] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
2022-09-08 09:16:48.628 [DBG] LNDC: Wait for invoices to finish
2022-09-08 09:16:48.628 [DBG] LNDC: Wait for router to finish
2022-09-08 09:16:48.628 [DBG] LNDC: Lnd services finished
2022-09-08 09:16:48.628 [DBG] GRPC: [transport] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
2022-09-08 09:16:48.628 [ERR] ACCT: Unable to receive block notification: rpc error: code = Canceled desc = grpc: the client connection is closing
2022-09-08 09:16:48.628 [DBG] LNDC: Lnd services finished
2022-09-08 09:16:48.629 [DBG] GRPC: [core] Channel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.629 [DBG] GRPC: [core] Subchannel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.629 [DBG] GRPC: [transport] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
2022-09-08 09:16:48.629 [INF] LOOPD: Daemon exited
2022-09-08 09:16:48.630 [DBG] LNDC: Closing lnd connection
2022-09-08 09:16:48.630 [ERR] LNDC: Error closing lnd connection: rpc error: code = Canceled desc = grpc: the client connection is closing
2022-09-08 09:16:48.631 [DBG] LNDC: Wait for client to finish
2022-09-08 09:16:48.631 [DBG] LNDC: Wait for chain notifier to finish
2022-09-08 09:16:48.631 [DBG] LNDC: Wait for invoices to finish
2022-09-08 09:16:48.631 [DBG] LNDC: Wait for router to finish
2022-09-08 09:16:48.631 [DBG] LNDC: Lnd services finished
2022-09-08 09:16:48.631 [DBG] LNDC: Lnd services finished
2022-09-08 09:16:48.632 [DBG] GRPC: [core] Channel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.632 [DBG] GRPC: [core] Subchannel Connectivity change to SHUTDOWN
2022-09-08 09:16:48.632 [DBG] GRPC: [transport] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
2022-09-08 09:16:48.632 [INF] SGNL: Received shutdown request.
2022-09-08 09:16:48.632 [INF] SGNL: Shutting down...
unable to start account manager: unable to resume account 02a56670c8cf616a9f931dce63347eb663ac4610231b9212477ede411f114fa1e2: unable to subscribe for account updates: checking pending batch failed: error removing pending batch artifacts: error abandoning channels from previous pending batch: error locating channel outpoint: no channel output found in batch tx for matched order d1d39416ace943ed0b7e2bc036d3212c144b561082679c9ca2e749644b809815
2022-09-08 09:16:48.632 [INF] SGNL: Gracefully shutting down.

Hello @darioAnongba it looks like your pool client ended up in a inconsistent state with the server and it does not allow you to start up the deamon. There is already a fix on its way but it will take a while until it gets released with lit v0.7.2-alpha.
A) The easiest way to get unblock right now is to rm the pool.db file, restart the deamon and go through the account recovery process. You will be able to use your account without any problem but all the open orders will get cancelled + your client will lose information about old matches (rates, units, etc)
B) The other way would be, before lit v0.7.2-alpha is released, you compile from source a version of pool with the fix, start up the deamon (will do some clean up), turn it off and then restart litd v0.7.1-alpha which would be able to proceed as usual.
If option A is acceptable, I would follow that route.

Hi @positiveblue, thanks for the help! The app is not working but I seem to have missed how to do this:

go through the account recovery process
Any link?

Cheers

Hey @darioAnongba I posted some steps on how to recover an account on Umbrel in https://github.com/lightninglabs/lightning-terminal/issues/372#issuecomment-1138017907.

HI @jamaljsr, sadly that doesn't work for me... As mentioned in the issue description, I get this:
umbrel@umbrel:~/umbrel $ docker exec -it lightning-terminal_web_1 bash
bash-5.1$ pool --rpcserver=localhost:8443 accounts recover
[pool] open /data/.pool/mainnet/tls.cert: no such file or directory
bash-5.1$ pool --tlscertpath=~/.l --rpcserver=localhost:8443 accounts recover
.lit/  .loop/
bash-5.1$ pool --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.pool/mainnet/pool.macaroon --rpcserver=localhost:8443 accounts recover
[pool] rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid: current time 2022-09-14T15:20:31Z is after 2022-05-03T18:56:10Z"

Can you try deleting the ~/.lit/tls.cert file then restarting the lightning-terminal app. That should generate a new certificate that won't be expired.

Sadly the certificate is not recreated:
umbrel@umbrel:~ $ docker logs lightning-terminal_web_1
2022-09-14 15:37:11.921 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:11.948 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:11.950 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
2022-09-14 15:37:25.344 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:25.471 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:25.473 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
2022-09-14 15:37:25.507 [WRN] GRPC: [core] grpc: addrConn.createTransport failed to connect to {<IP_ADDRESS>:10009 <IP_ADDRESS>:10009 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:10009: connect: connection refused". Reconnecting...
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:32.216 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:32.320 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:32.331 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:38.315 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:38.344 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:38.345 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:42.199 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:42.210 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:42.213 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:46.801 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:46.867 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:46.868 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:37:53.067 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:37:53.090 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:37:53.091 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:38:01.704 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:38:01.715 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:38:01.716 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory
2022-09-14 15:38:16.109 [INF] LITD: LiT version: 0.7.1-alpha commit=v0.7.1-alpha
2022-09-14 15:38:16.128 [INF] SESS: Checking for schema update: latest_version=0, db_version=0
2022-09-14 15:38:16.129 [INF] LITD: Dialing lnd gRPC server at <IP_ADDRESS>:10009
error starting UI HTTP server: unable to create TLS config: failed reading TLS server keys: open /data/.lit/tls.cert: no such file or directory

I also tried restarting Umbrel completely

Ah sorry, you need to delete the ~/.lit/tls.key file as well.

It worked! I recovered the account! Thank you!


Error getting Application Gateway Certificate info

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network application-gateway auth-cert show
Errors:
'NoneType' object is not iterable
Traceback (most recent call last):
Temp\pip-install-yh2ypeu1\knack\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 654, in execute
azure\cli\core\commands\__init__.py, ln 718, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 711, in _run_job
Local\Temp\pip-install-yh2ypeu1\six\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 688, in _run_job
azure\cli\core\commands\__init__.py, ln 325, in __call__
azure\cli\core\commands\arm.py, ln 752, in handler
azure\cli\core\commands\arm.py, ln 764, in show_exception_handler
azure\cli\core\commands\arm.py, ln 750, in handler
azure\cli\command_modules\network\_util.py, ln 31, in get_func
TypeError: 'NoneType' object is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az network application-gateway auth-cert show -g {} --gateway-name {} --name {}

Expected Behavior
Environment Summary
Windows-10-10.0.16299-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.9.1

Additional Context

add to S174

@Dicolla Hi. I'm investigating this issue right now and will keep you posted.

@Dicolla The root cause should be your application gateway doesn't have any auth-cert. Please double check the value and I would improve the error message.


[Bug] log improvement

Description
https://github.com/ThexXTURBOXx/catcher_2/blob/e1314bb2ea503cbe96a61f4726f6dada4d415273/lib/core/catcher_2.dart#L662-L672
_logger.info('${report.runtimeType} result: $result');

here should print reportHandler rather report. Report has no subclass, so always printing Report result: true/false.
Solution

Add toString overwrite to ReportHandler base class.abstract class ReportHandler {
  String toString()=>runtimeType.toString();
}

This is added to support subclass to custom handler print their own info.
use "$reportHandler result: $result" in above context (line 666 & 668)

Minimal Reproduction

Exception or Error

Expected Behaviour

Screenshots
No response
Additional context
No response
Device

OS

Flutter version

catcher_2 version
1.2.6
Checklist

[X] I have read and followed the entire README and it has not provided the solution I need.
[X] I have provided all the information I can.

Good catch - thank you very much for the report!


'charmap' codec can't encode character '\u0101'

DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.
To Reproduce
Steps to reproduce the behavior:
run CLI with list of YT clips
What code / cli command are you executing?
For example: I am running
youtube_transcript_api "BwyZIWeBpRw" --format text  >>"temp.txt"
youtube_transcript_api "at37Y8rKDlA" --format text  >>"temp.txt"

all those
17O5mgXZ9ZU
4b6bwcWK6GE
6ZrlsVx85ek
at37Y8rKDlA
BwyZIWeBpRw
ErrorCOde
FFwA0QFmpQ4
gMRph_BvHB4
H-XfCl-HpRM
hcuMLQVAgEg
hx3U64IXFOY
J7SrAEacyf8
JPX8g8ibKFc
LG53Vxum0as
LVxL_p_kToc
mcPSRWUYCv0
NAATB55oxeQ
qJXKhu5UZwk
ufsIA5NARIo
uuP-1ioh4LY
vA50EK70whE
x7qbJeRxWGw
XfURDjegrAw
Which Python version are you using?
Python 3.12
Which version of youtube-transcript-api are you using?
youtube-transcript-api 2023.7.22
Expected behavior
Describe what you expected to happen.
For example: I expected to receive the english transcript
Actual behaviour
Describe what is happening instead of the Expected behavior. Add error messages if there are any.
empty file and error
ine 88, in _run_code
  File "\Python312\Scripts\youtube_transcript_api.exe\__main__.py", line 7, in <module>
  File "\Python312\Lib\site-packages\youtube_transcript_api\__main__.py", line 11, in main
    print(YouTubeTranscriptCli(sys.argv[1:]).run())
  File "\Python312\Lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\u0101' in position 1891: character maps to <undefined>
        1 file(s) moved.

Hi @BillionShields,
I tried a few of the IDs in your list. It seems that none of them have a transcript available in en (some of them in en-US however). I would assume that your error is linked to the error message returned by youtube-trancript-api in those cases.

Closed due to inactivity


Oops something went wrong; could not persist document. (OS X)

When attempting to run CouchDBSample like so:
.build/debug/CouchDBSample localhost kiturauser 6SZ-X4Q-Hyv-pBb
I get the following error:
Starting sample program...
connPropertiesStr:
	hostName -> localhost
	port -> 80
	secured -> false
	userName -> Optional("kiturauser")
	password -> Optional("6SZ-X4Q-Hyv-pBb")
Hostname is: localhost
ClientRequest Error. CURL Return code=CURLcode(rawValue: 7)
>> Oops something went wrong; could not persist document.
0
CouchDBDomain
[NSLocalizedDescription: Internal Error]
Sample program completed its execution.

I've manually changed the database name that it tries to connect to:
// Create database instance to perform any document operations
let database = couchDBClient.database("kitura_test_db")

I also have a CouchDB database set up with the same name.
I get this error with both master and develop branches.

Problem solved by changing port to default port of CouchDB in: https://github.com/IBM-Swift/Kitura-CouchDB/pull/5


Added user data stream (Binance)

Added user data functionality
https://github.com/binance-exchange/binance-official-api-docs/blob/master/user-data-stream.md
UserData:
The stream is used to get notifications on changed, whether it's orders you make or account changes that are happening, this is a good way to monitor your trade status on new event.
You must first get your ListenKey and then send it in order to open a new UserData websocket.
I'm sorry for the mass indentation, it's automatic.
Check it carefully however, I'm here for rejects.
Thanks for the hardwork you put into this project, jjxtra and vslee.
The first commit name has nothing to do with Kraken however, it's from an old PR I made.

Is the new exchange interface method for the key a Binance only thing?

I think it is actually. So it could be better just to make it a public method inside the Binance API, or another way is to just create a method that generates the listenkey when the user tries to create userdata stream and just define a property that holds it for further interaction
Thoughts?

Yea let's make it a public Binance method for now. Can revisit if another exchange adds similar functions.

Needs rebase but otherwise looks okay to me.


Add Process Hacker 2

Microsoft Reviewers: Open in CodeFlow

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: occune sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Zoommtg protocol links do not work in Announcement field

My Setup

Operating System: macOS 11.2.3
App Version: 3.1.1
Installation type: .pkg file

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description

We are attempting to add Hyperlinks using the zoommtg protocol to a channel's Announcement field.
Current Behavior

For example, we added IT Zoom Room to the announcement - and it does not redirect to the Zoom app, which is installed. Instead a pop up within Rocket Chat appears that just says "IT Zoom Room." HTTPS links do work as expected. These zoommtg links do work from direct messages in Rocket Chat, though.
Expected Behavior

This link should open in the Zoom app.

This seems to be a link redirection issue on the Rocket.chat and not a problem in the Electron.
Please test if the problem persists and if it happens on the web browser too.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


fix(nav): fixed tertiary nav

Although providing the possibility to use a tertiary nav, it is not working at the moment. Fixed it by copying the pathSuffix functionality from _primary.
By the way: This documentation tool is really great. We adopted it for our own docs, where we need the tertiary nav ;)

@wardbell can you take a look?

I'm not going to merge this because we've explicitly decided not to provide a tertiary nav for angular.io. But I'm curious to see it on your site.


Quantum Algorithm Zoo: Quantum Counterfeit Coins

In this issue, we will create an implementation of the following paper: Quantum Counterfeit Coin Problems. The algorithm is interesting as it shows a quartic speedup in comparison to the classical case.
This tutorial should follow the structure of the Deutsch Jozsa algorithm implementationl.
Once finished, the implementation will be added to the Quantum Algorithm Zoo, and of course credit will be given to the implementor.
To complete this issue, follow these steps:

Read the following paper: Quantum Counterfeit Coin Problems.
Create a new jupyter notebook (.ipynb file). Use any jupyter editor (e.g. jupyter lab, google colab, etc).
Use Classiq's SDK to create a simple implementation of the paper, and showcase the results. If you have any implementation questions or challenges, the Classiq team will assist you, either on Github or in our slack community. Follow the  Deutsch Jozsa algorithm implementation example for the structure of the notebook.
Create a short mathematical explanation of the work. Jupyter notebooks support markdown cells, which can contain LaTeX. You can view the source or the superposition notebook to see how this is done. Chat GPT is an excellent LaTeX assistant.
After creating the notebook, make sure you insert the write_qmod(model, "bell_state.qmod") line. Run the notebook, and you will automatically generate the .qmod file for this example.
Make sure the notebook looks well, does not have any typos / mistakes, and is running properly.
Follow the contribution guidelines to open a pull request. Submit the tutorial to the directory: classiq-library/community/advanced_examples/counterfeit_coins

If you have any questions or comments, you can ask them here in the issue, or in our slack community, and the Classiq team will be happy to assist.
Happy quantum coding!

@orsa-classiq Can you kindly assign me this issue under the hacktoberfest label


Make assets unique

[x] Make all CSS and JavaScript assets uniquely named.
[x] Move the login page to /login.
[x] Manually include all desired assets. This prevents caching / and /login itself which made it so you had to refresh or log in twice in some cases.

Pretty neat. I like it :confetti_ball:


Support for Azure App Settings

We have first class support for connection strings defined in Azure Web Apps (formerly Azure Web Sites) which translates env vars with name like
SQLAZURECONNSTR_DefaultConnection
SQLCONNSTR_sqlservercs
CUSTOMCONNSTR_customcs
MYSQLCONNSTR_mysqlhere

To be compatible with the Configuration object. The code which does this is here.
We should have the same for app settings. In Azure Web Apps when you create an app setting two env vars are created, in the form <env-var-name> = <value> and APPSETTING_<env-var-name>=<value>. When a user defines a new env var in the portal they should be able to use the AppSettings class in the project that VS creates or Configuration.Get("AppSettings:SettingName") to get the value.
Today users can get to the value but they cannot use the AppSettings class, but instead something like Configuration.Get("SettingName").

In #376 we are proposing to move to a model in which we don't prepend prefixes to names of keys for connection strings for Azure Web Apps. If we do that, we shouldn't do what this item describes either.


Windows Server 2016 blocks RTMP packets after 30s killing connection

I am attempting to stream RTMP data to an nginx-rtmp server running on Windows, but the built-in, unable to be disabled Port Scanning Prevention Filter (part of Windows Advanced Firewall) blocks my stream after ~30s killing the connection.  This is when a 7500kbps stream is being published. I noticed that this happens even faster with higher bitrate streams, but with lower bitrate streams it takes longer, or sometimes doesn't cut off at all. I have explicit rules both to allow 1935 TCP as well as the nginx.exe app specifically, yet this still happens.  This is a Windows Server 2016 server running in a virtualized environment.
Windows Security Event Viewer entry:
The Windows Filtering Platform has blocked a packet.

Application Information:
	Process ID:		0
	Application Name:	-

Network Information:
	Direction:		Inbound
	Source Address:		x.x.x.x
	Source Port:		50881
	Destination Address:	<IP_ADDRESS>
	Destination Port:		1935
	Protocol:		6

Filter Information:
	Filter Run-Time ID:	70322
	Layer Name:		Transport
	Layer Run-Time ID:	13

What specs (cpu, ram) you approve for your virtual machine ?

Can you give me your conf nginx-rtmp file. Because i push 5000kbps with 2vcores and 4gb ram without stuck.

It's a pretty simple one
worker_processes  1;

error_log  logs/error.log debug;

events {
    worker_connections  1024;
}

rtmp {
    server {
        listen 1935;

        application live {
            live on;
            publish_notify on;
            play_restart on;
            idle_streams on;
            drop_idle_publisher 10s;
        }
    }
}

http {
    server {
        listen      8080;

        location / {
            root html;
        }

        location /stat {
            rtmp_stat all;
            rtmp_stat_stylesheet stat.xsl;
        }

        location /stat.xsl {
            root html;
        }
    }
}


IPROTO-208 Primitive types in proto files should not be case insensitive

Type.valueOf(typeName.toUpperCase()) was a huge mistake

https://issues.redhat.com/browse/IPROTO-208

merged in master and 4.3.x


Switch to gofrs/uuid

This is to fix WS-2018-0594.
Satori/go.uuid doesn't seem to be maintained. However, there is a fork repo, gofrs/uuid which is being well-maintained. Aks-engine folks have done this as well.
Fix https://github.com/microsoft/ApplicationInsights-Go/issues/51 .
For significant contributions please make sure you have completed the following items:

[ ] Design discussion issue #
[ ] Changes in public surface reviewed
[ ] CHANGELOG.md updated

@jjjordanmsft Can you review this when you have time?

https://github.com/microsoft/ApplicationInsights-Go/issues/51

Can you address a few things now that we have a sane generator?  (This is not your doing but imo, necessary to complete the change):

Call the standard generator here instead - and use the fallback code in case err is set. (With the way this is written, this function can not fail).
Set variant and version only in the case of fallback. Also fix the typo where it should be SetVariant.
I don't think we need to keep the reader in the uuidGenerator struct anymore, but it's still needed to seed the fallback.

Thanks!

@jjjordanmsft
I wasn't sure what you meant by calling the standard generator, but I assumed you meant calling the provided uuid.NewV4() function instead of using the Contract directly.
I was wondering if I could actually move the
u.SetVersion(uuid.V4)
u.SetVariant(uuid.VariantRFC4122)

to inside the function fallback(u *uuid.UUID){...} after the gen.fallbackRand.Read(u[:])

@kwontae Sorry I wasn't clear, but yes this is exactly what I meant.  And yes, it probably makes sense to factor the Set* into fallback, if you'd like.  Thanks!

@jjjordanmsft  no worries :) Glad I didn't make an incorrect assumption. Factored the Set* into fallback as I think it makes more sense to be there.

Thanks!


Bot becomes stuck with error "Error handling sync Error: Expect value to be String, but received Undefined"

Describe the bug
After upgrading to v0.6.1 the bot becomes unresponsive after few time (days). The very same code, using previous v0.6.0-beta.8 seems to be unaffected.
Note the time (days) to get the problem is not always the same, we have reproduced it here after 2 days, after 5 days, after 7 days... the exact moment when it starts happening can be detected in logs because they start logging the Error handling sync Error: Expect value to be String, but received Undefined message every few seconds (each sync attempt, maybe?).
Once that happens the bot doesn't work anymore, though the node process continues running apparently.
To Reproduce
Steps to reproduce the behavior:

Start a v0.6.1 based bot.
Ensure it's a member of a varietè of rooms (normal and e2e).
Wait an undefined amount of time (I've not been able to find any cause/action causing the problem to heppen).
The bot stops working (with the logs details added below).

Expected behavior
The bot should continue working, behaving better when that situation is found.
Log snippet
...
Mon, 22 Aug 2022 14:25:26 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Mon, 22 Aug 2022 14:25:26 GMT [INFO] [MatrixClientLite] Backing off for 5162.254702188716ms

Mon, 22 Aug 2022 14:25:31 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Mon, 22 Aug 2022 14:25:31 GMT [INFO] [MatrixClientLite] Backing off for 6853.857301967255ms

Mon, 22 Aug 2022 14:25:39 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Mon, 22 Aug 2022 14:25:39 GMT [INFO] [MatrixClientLite] Backing off for 12180.066837999479ms

Mon, 22 Aug 2022 14:25:51 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Mon, 22 Aug 2022 14:25:51 GMT [INFO] [MatrixClientLite] Backing off for 6209.698348785948ms
...

Additional context
Server we are using is synapse:v1.57.1, right now.

A little update on this, I've had v0.6.2 here in out staging environment up and running ok perfectly. All unencrypted rooms.
But then, I opened my 1:1 chat with the bot (that is encrypted) and sent to it a simple !ping and then the log entries shared above started immediately and the bot has stopped working everywhere.
Also, not sure if that's relevant, in my 1:1: chat I got from Element a (sorry this is not exact, it went away before copying it) message saying "message could not be decrypted, click to ask for the keys of all your sessions" (aprox!).
But the point is that, as soon as I accessed to an encrypted (the 1:1) room, has stopped working and the logs are, all the time, showing the messages above.
I'm going to restart it again to see if can reproduce it consistently...
Ciao :-)

Yeah, confirmed. New instance created, I send a couple of !ping in the 1:1 encrypted room and in a few seconds, the logging started and it's not responsive anymore. Here there are the complete logs since startup (note that some are own implementation).
Already up to date.
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Sleeping for 60 seconds]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Using './config-dev.yml' for configuration (context: 'dev')]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Using './storage-dev' for storage (context: 'dev')]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Using already existing token]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Starting HTTP server]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Starting database pool]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Starting profiles cache]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Setting Jenkins webhook]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Checking chat logs database structures]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Server started at http://localhost:80]
Fri, 30 Sep 2022 14:54:49 GMT [INFO] [Setting chat logs webhook]
Fri, 30 Sep 2022 14:54:49 GMT [ERROR] [MatrixHttpClient] (REQ-4) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
Fri, 30 Sep 2022 14:54:49 GMT [ERROR] [MatrixHttpClient] (REQ-5) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
Fri, 30 Sep 2022 14:54:50 GMT [ERROR] [MatrixHttpClient] (REQ-6) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
Fri, 30 Sep 2022 14:54:50 GMT [INFO] [MatrixClientLite] End-to-end encryption enabled
Fri, 30 Sep 2022 14:54:50 GMT [INFO] [Bot started!]
Fri, 30 Sep 2022 14:55:17 GMT [ERROR] [MatrixHttpClient] (REQ-13) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
Fri, 30 Sep 2022 14:55:17 GMT [INFO] [Jira linking: Ignored user @ !VlyOdAIoWKBBMwwrMU:moodle.com: @nextmoodlebot:moodle.com said 'Hey @stronk7:moodle.com!']
Fri, 30 Sep 2022 14:55:31 GMT [ERROR] [MatrixHttpClient] (REQ-21) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
Fri, 30 Sep 2022 14:55:32 GMT [INFO] [Jira linking: Ignored user @ !VlyOdAIoWKBBMwwrMU:moodle.com: @nextmoodlebot:moodle.com said 'Hey @stronk7:moodle.com!']
Fri, 30 Sep 2022 14:56:44 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:56:44 GMT [INFO] [MatrixClientLite] Backing off for 10187.448193052402ms
Fri, 30 Sep 2022 14:56:55 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:56:55 GMT [INFO] [MatrixClientLite] Backing off for 5569.095947478458ms
Fri, 30 Sep 2022 14:57:01 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:57:01 GMT [INFO] [MatrixClientLite] Backing off for 9813.54110596994ms
Fri, 30 Sep 2022 14:57:11 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:57:11 GMT [INFO] [MatrixClientLite] Backing off for 11588.864163629183ms
Fri, 30 Sep 2022 14:57:52 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:57:52 GMT [INFO] [MatrixClientLite] Backing off for 11163.263685616239ms
Fri, 30 Sep 2022 14:58:04 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:58:04 GMT [INFO] [MatrixClientLite] Backing off for 14792.47189950429ms
Fri, 30 Sep 2022 14:58:49 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
Fri, 30 Sep 2022 14:58:49 GMT [INFO] [MatrixClientLite] Backing off for 10313.26882274437ms
Fri, 30 Sep 2022 14:58:59 GMT [ERROR] [MatrixClientLite] Error handling sync Error: Expect value to be String, but received Undefined
...

Note that if I do exactly the same with the prod instance that is using the latest beta release, it's not exposed to the same problem.
Ciao :-)

unfortunately for this issue we'd need to see the whole /sync request and response: Raising the log level to trace should do that, at risk of making the logs extremely noisy. LogService is the thing to call on that.

Aha, oki, will give to it a try soon, thanks!

Hi, here it's the log file with level set to TRACE. Basically what I did is:

Start the bot
Wait ~30 minutes
Send !ping message, the bot replied Pong and became stuck.

Hope it helps, ciao :-)
Attached: trace.log

circumstantially, it looks like the error is caused by sending a toDevice message from the bot (which happens internally). I suppose the OlmMachine is expecting a return value that we're not giving it or something.
Will look into it.

For the records, and to discard factors, we have recently upgraded from synapse v1.57.1 to v1.68.0 and the same problem continues happening.
Ciao :-)

I've opened an upstream issue on this as it does not appear like a bug in the bot-sdk: https://github.com/matrix-org/matrix-rust-sdk/issues/1093
I have however updated the rust-sdk bindings in hopes of magically fixing the issue (https://github.com/turt2live/matrix-bot-sdk/pull/266) - this should be available in the next release.

Thanks for the update!
I've tried to bump here my dependencies to use:
 "matrix-bot-sdk": "turt2live/matrix-bot-sdk#main",

But for some reason (unknown to a npm/yarn newbie like me) that leads to all sort of errors here when tsc tries to compile it. So, surely, I'll wait till 0.6.3 comes out and will try then.
Ciao :-)

Ah, I've just cleaned the lock file and, after npm install I can see in the new lock file that now I'm using
...
"node_modules/@matrix-org/matrix-sdk-crypto-nodejs": {
        "version": "0.1.0-beta.2",
...

(that is the new one, if I'm not wrong, so the beta1 => beta2 has happened, it seems.
Unfortunately, I've tried the usual routine:

Start the bot.
Wait some minutes.
Try some basic commands in unencrypted room, all ok.
Try !hi command in encrypted (1:1) room, I got the reply but also the Expect value to be String, but received Undefined and, from that point, 100% unresponsive.

Ciao :-)

Ah, I've just cleaned the lock file and, after npm install I can see in the new lock file that now I'm using
...
"node_modules/@matrix-org/matrix-sdk-crypto-nodejs": {
        "version": "0.1.0-beta.2",
...

(that is the new one, if I'm not wrong, so the beta1 => beta2 has happened, it seems.
Unfortunately, I've tried the usual routine:

Start the bot.
Wait some minutes.
Try some basic commands in unencrypted room, all ok.
Try !hi command in encrypted (1:1) room, I got the reply but also the Expect value to be String, but received Undefined and, from that point, 100% unresponsive.

Ciao :-)

I'm going to try with matrix-bot-sdk v0.6.3 that comes with matrix-sdk-crypto-nodejs 0.1.0-beta.3 in out staging infra... 🤞

No luck! After upgrading from 0.6.2 to 0.6.3 I got a lot (one by encrypted room the bot is, i imagine) of:
Decryption error on !xxxxxxxxxx:xxxxx.com xxxxxxxxx[Error: decryption failed because the room key is missing] {
  code: 'GenericFailure'
}

So I went the brave key, discarded the session from element-web, stopped the bot, removed the crypto-storage completely and started again.
And exactly the very same behaviour reported here continues: immediately after getting the 1st response from the bot in an encrypted room, the Expect value to be String, but received Undefined begin, and it doesn't replie again ever.
Ciao :-)

Hi,
sorry, forgot to comment earlier (Xmas and so on)... I've been running 0.6.3 since Xmas and have not got the error anymore. Last week I also updated the prod bot, that is in some dozens of rooms, plain and encrypted, and all right too.
So maybe this can be closed as fixed by 0.6.3 (not really sure which PR fixed it, heh).
Many thanks and ciao :-)

awesome :)
We'll consider it fixed for now then - thanks!


Lazy store init for CombinedServiceStoreFactory

Need to call-by-name and lazy init of ClientStore for the stores to be properly initialized on remote nodes.

Merge when green

reopened in #582


Problems with using ARM64EC

I'm attempting to use ARM64EC with VCPKG and CMake. I'm using the arm64ec-windows community triplet, and have run into a number of problems.

When using VCPKG_DEFAULT_TRIPLET=arm64ec-windows  on a x64_arm64 command prompt, it's emitting a false warning

warning: vcpkg appears to be in a Visual Studio prompt targeting arm64 but installing for arm64ec-windows. Consider using --triplet arm64-windows or --triplet arm64-uwp.

The VCPKG_DEFAULT_TRIPLET environment variable seems to be ignored or overwritten in the vcpkg.cmake toolchain file and I have to explicitly use VCPKG_TARGET_TRIPLET=arm64ec-windows to make it work at all.

When using 'manifest mode', it still insists on trying to use vcpkg_installed\arm64-windows instead of vcpkg_installed\arm64ec-windows even with VCPKG_DEFAULT_TRIPLET=arm64ec-windows and VCPKG_TARGET_TRIPET=arm64ec-windows  set. It only works with an explicit -DVCPKG_TARGET_TRIPLET=arm64ec-windows. Are the environment variables ignored for manifest mode?

Triplet initialization in manifest mode? https://github.com/microsoft/vcpkg/issues/23607, #25529.

Triplet initialization in manifest mode? #23607, #25529.

That does seem to be the issue I was hitting with setting the triplet. I worked around it, but it was a bit frustrating to do in a GitHub Actions YAML pipeline.


API call format [question]

I am trying to call a node.get_value function with the websocket, but despite trying many formats cannot get a success result.
Note sure if I am miles off here, but can't really see how to specify the node_id.
I am sending:
{
"messageId": "test",
"command": "node.get_value",
"valueId": {
"commandClass": 49,
"endpoint?": 0,
"property": "humidity",
"propertyKey?": "xxx"
}
}
and the response is:
{"type":"result","success":false,"messageId":"test","errorCode":"node_not_found"}
Any pointers gratefully received.

You didn't specify a node

You didn't specify a node

are you able to give an example input? I can't see how to specify the node and have not been able to find any examples.
Thanks

are you able to give an example input? I can't see how to specify the node and have not been able to find any examples.
Thanks


Fixes and clarifications to Association Mapping document

- Globally change 'Shipping' to 'Shipment' - shipment is a noun and thus a clearer name for an object.
- Add definition of unidirectional to the top of the document.
- Explain inversedBy and mappedBy the first time they are used.
- Clarify some ownership and bidirectionality text.
- Minor English and punctuation fixes.

Thanks @bitwombat!


Use stable links

Currently the links seem to be changing here. We need to pick something that is static
https://github.com/conda-forge/nsis-feedstock/pull/20#discussion_r1085400238
https://github.com/conda-forge/nsis-feedstock/pull/20#discussion_r1085400395
cc @isuruf

No worries. Thanks for following up 🙏

We could just upload those on a (date-based?) tag on this repo

@jezdez , appears Anaconda has the same issue with this recipe. Maybe we can coordinate on the solution here?

In the past we've just attached this sort of thing to the feedstock directly. We can always add maintainers. It's a pretty lightweight solution
That said, don't have strong feelings. @isuruf , what do you think?

@jezdez , appears Anaconda has the same issue with this recipe. Maybe we can coordinate on the solution here?

Yeah, that's a good idea, I've filed an internal ticket about this so that @skupr-anaconda and others can take a look.

For the record, the recipe for nsis lives in (IIUC) here: https://github.com/AnacondaRecipes/aggregate/blob/master/nsis-feedstock/recipe/meta.yaml

why not use a repo in one of the Github orgs (conda-forge/conda/conda-incubator/AnacondaRecipes), uploads and changes can then be done via PRs... I am not aware of an internal Anaconda WebService that allows binary uploads via PR so that uploads and its operation are transparent to everybody.

I added some logic in a fork of that repo. We can transfer it to conda-incubator or similar once we are happy with it.

The mirror is now ready, and a PR is ready for review: https://github.com/conda-forge/nsis-feedstock/pull/24
Thanks!


Fixed typos and linting errors in Readme.md

Found copy an paste errors from other learning paths in this path as well.

Awesome Thanks @DarqueWarrior !


FIX: Docs test using old integration/keygen parameters

@lluiscampos I missed a spot, this should also fix the broken integration pipeline as well.

Easy to miss... this test runs only on master


Can not connect to AWS EC2 instance

Hi team,
I was trying to connect to my AWS machine using a pem key. And I can never connect.
Just wondering if you have support for sftp.
{
"protocol": "sftp",
"host": "<IP_ADDRESS>",
"port": 22,
"user": "ec2-user",
"pass": "",
"remote": "/home/ec2-user/",
"agent": "",
"privatekey": "/Users/sanketmishra/mykey.pem",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": false
}
The error message I keep getting is :
/Users/sanketmishra/Documents/performance_test/.ftpconfig to USERNAME@HOSTNAME:REMOTE_DIR ... Error in rsync protocol data stream, plese review your config file. Syncing from /Users/sanketmishra/Documents/performance_test/.ftpconfig to USERNAME@HOSTNAME:REMOTE_DIR ... Error in rsync protocol data stream, plese review your config file. Syncing from USERNAME@HOSTNAME:REMOTE_DIR/.ftpconfig to /Users/sanketmishra/Documents/performance_test/ ... Error in rsync protocol data stream, plese review your config file. Syncing from /Users/sanketmishra/Documents/performance_test/.ftpconfig to USERNAME@HOSTNAME:REMOTE_DIR ... Error in rsync protocol data stream, plese review your config file. Syncing from /Users/sanketmishra/Documents/performance_test/.ftpconfig to USERNAME@HOSTNAME:REMOTE_DIR ... SSH connection failed, plese review your config file. Syncing from /Users/sanketmishra/Documents/performance_test/.ftpconfig to USERNAME@HOSTNAME:REMOTE_DIR ... Error in rsync protocol data stream, plese review your config file.
Thanks,
Sanket

Closing this bug as I found it there was a network issue that did not allow SFTP


CI: Enable interoperability tests to be triggered by age commits

This enables the age developers to proactively detect when they make changes that cause an interoperability failure, rather than relying on the rage developers to notify them manually.

cc @FiloSottile.

I believe that on the https://github.com/FiloSottile/age side, the following workflow should be sufficient:
name: Interoperability tests

on: push

jobs:
  ping-pong:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger interoperability test in str4d/rage
        run: |
          curl -X POST https://api.github.com/repos/str4d/rage/dispatches \
          -H 'Accept: application/vnd.github.everest-preview+json' \
          -u ${{ secrets.RAGE_INTEROP_ACCESS_TOKEN }} \
          --data '{"event_type": "age-interop-request", "client_payload": { "sha": "'"$GITHUB_SHA"'" }}'


Old v0.2.0 shown as latest release on Github

See
https://github.com/robinparisi/tingle/releases
and the right side of the project.
Something seems to be wrong as 0.15.3 is the latest version? This is a bit confusing and would be nice if you could fix it :)
Thanks a lot in advance!

Hi,
Good catch, I don't use the release system, I just removed it.


Add 1-buffer for error channels

This will prevent leaking goroutines when these operations timeout:

join
ping
ping_req

Related: #63

LGTM

There is a fourth one, no?

@CorgiMan I can't see it at least. Grepping for all make chan(... in ringpop-go:
motiejus ~/.gopath/src/github.com/uber/ringpop-go $ git grep "make(chan" -- . ':!Godeps/_workspace' ':!*test*'
forward/request_sender.go:      done := make(chan bool, 1)
ringpop.go:     rp.tickers = make(chan *clock.Ticker, 32) // 32 == max number of tickers
swim/disseminator.go:           reverseFullSyncJobs: make(chan struct{}, n.maxReverseFullSyncJobs),
swim/heal_via_discover_provider.go:             started:          make(chan struct{}, 1),
swim/heal_via_discover_provider.go:             quit:             make(chan struct{}),
swim/join_sender.go:    errC := make(chan error, 1)
swim/ping_request_sender.go:    errC := make(chan error, 1)
swim/ping_request_sender.go:    resC := make(chan interface{}, size)
swim/ping_sender.go:    errC := make(chan error, 1)

So looks like we're covered.

LGT💰

Oh nevermind it's in  swim/node_bootstrap_test.go

Looks good!


Windows phone support

¯\(ツ)/¯

Windows Phones are a little outdated so I doubt @kelseyhightower is going to add support. Try this though:


Jax rs as rest api

@akanto and @keyki pls review.
This pull request expose our api into an artifact with all model classes. Also merge the cloudbreak shell and periscope into the core cloudbreak project.
Cloudbreak-shell name will be shell and the periscope project will be the autoscale modul. The artifact name which is generated under the build process does not changing.
Integration test, periscope and shell get the :api-core as compile dependency.
This pr is quite big:

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1937/

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1938/

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1940/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1941/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1942/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1943/

Update in cloudbreak-deployer needed, the shell currently available in cbd master will not connect to this new cloudbreak.

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1945/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1946/