Compatibility with SqlBrite broken with 0.7.0?

While using sqldelight-0.6.1 I had this code
val statement: SqlDelightCompiledStatement.Insert = MyModel.Insert_One(db)
statement.bind(...)
briteDatabase.executeInsert(statement.table, statement.program)

Now, sqldelight 0.7.0 along with sqlibrite 3.1.1 switched to SupportSQLiteStatement (namely SqlDelightStatement in this case) and it made statement.program private, so I have no access to it and no means to trigger execution of sqldelight query through briteDatabase with notifications.
This breaks the scenario of using these libraries together.
Should I stay on 0.6.1 until shiny new sqldelight arrives or am I missing something?

briteDatabase.executeInsert(statement.table, statement) works.

Oh wow, how could I miss this. I really should've brewed some coffee half an hour ago as I originally intended.
Sorry, it works indeed.

No worries. We don't really have a migration guide so it can be challenging.
On Mon, Mar 5, 2018 at 10:54 AM dimsuz<EMAIL_ADDRESS>wrote:

Oh wow, how could I miss this. I really should've brewed some coffee half
an hour ago as I originally intended.
Sorry, it works indeed.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/square/sqldelight/issues/754#issuecomment-370464897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEESbIBToA7hZIbhYGguLdPGM4Nvd-ks5tbV-8gaJpZM4Scg8_
.


Move surefire extension to parent

/azp run java - appconfiguration - ci

/azp run java - storage - ci

/azp run java - eventhubs- ci

/azp run java - eventhubs - ci

/azp run java - search - ci

Also cleanup the KeyVault POMs that are using this configuration.

KeyVault has rurunOnFailure configuration. @g2vinay can rerunFailingTestsCount remove from surefire configuration?


New Pattern: lambda-comprehend

Based on which feature and service of comprehend you plan to use, comprehend requires permission policy setup so that lambda functions can access them. Some of the API endpoints in Comprehend also require an S3 bucket to be setup for input and ouput. Specifically in case of topic modeling, the outputs are written to the S3 bucket after about 25-30 mins. Which would mean that we need a lambda function bound to an S3 notification to be notified once the data becomes available. Hence the need for a higher level construct to provide the plumbing required to integrate lambda with comprehend services.
Use Case

Comprehend is one of key NLP services for AWS AI/ML services. For my use-case, I ingest text data and subject that to various comprehend services to derives inferences. This helps understand public perception and our customers have a better understanding of customer feedback
Proposed Solution

The proposed solution is that

Provide the flexibility to the user to specify which Amazon Comprehend services does he plan to integrate with
Build the service role permissions required to access lambda
If the service selected requires S3 bucket, create the bucket too and update the bucket permissions as required by comprehend to access it
If the NLP output from comprehend is to be put in an S3 bucket (non-realtime inference), build the plumbing required to generate an S3 notification to a lambda function.

Other

I currently use this pattern in https://aws.amazon.com/solutions/implementations/discovering-hot-topics-using-machine-learning/

[x] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

Overall the pattern seems like a good candidate, the only feedback is #4 can make use of the existing aws-s3-lambda pattern under the hood

In general I believe yest we should be able to use existing patterns, there would be some additional setup on top of that construct to allow comprehend to write data to the S3 bucket.


keyCdn integration

needs cloud front integration --- invalid cache when new version

investigate later

keyCdn works better with EV (lets encrypt) ceritificated

do this in ploy


StlPlotter now saves a png instead of displaying to screen.

StlPlotter now saves the file instead of displaying it to the screen for travisCI. Also enabled the test for the plotter and added some new tests to make sure the plot is generated. This should fix #4 , better late than never right? :zzz: :zzz:

No worries, thanks for your contribution! Just a minor comment w/ the test framework usage

Bah okay @brandtg why don't we just turn this off? I think jfreechart does an X11 call no matter what. I suppose these tools should just exist as user tools and not something we can throw in the CI loop.

@hntd187 Fair enough, SGTM. Regarding testing though, I do think we could benefit from something that generates some series with known trend + seasonal and noise / anomalies, then see if we can decompose and get something similar w/in error bounds. Something similar to this but maybe less simplistic: https://github.com/brandtg/stl-java/blob/master/src/test/java/com/github/brandtg/TestStlDecomposition.java#L42

@brandtg ballin out of control, that should let us continue to test this and keep travis happy. Let's open a new issue for the other suggestion you made.

SGTM


Use JDK 21 in workflows

Summary
This makes action runners use JDK 21 instead of 17, to support 1.20.6 building automatically.
Information

[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed).
[x] This PR is not a code change (e.g. documentation, README, examples, ...).

Checklist

[x] I have searched the open pull requests for duplicates.
[ ] If code changes were made then they have been tested.

Nice, thanks.
I am gonna be honest, I was too lazy to update the workflows 😅

Although it still seems to fail due to the fact that build jars are now in versions/<version>/build/libs


fix lint warnings

Codecov Report

Merging #231 into master will not change coverage.
The diff coverage is n/a.

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

Codecov Report

Merging #231 into master will not change coverage.
The diff coverage is n/a.

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


Map making

What is your question?
What if i make images for a map every single one of them 1260 x 1300 (or bigger/smaller) like floor on the bottom, roof on the top and the BG and i set the location of it all to 0.0 what will happend?

They will be aligned but you don't want images to be bigger than you need them to be

All of Hotline 024's stages are done pretty much exactly how you described here so that should give you a pretty good idea of what'll happen


Merge from vscode c83bd023b19700765f2ebad5efb8336c7f92599e

https://www.github.com/Microsoft/vscode/commit/c83bd023b19700765f2ebad5efb8336c7f92599e Update locker.yml
https://www.github.com/Microsoft/vscode/commit/5f1a7a55d7a1fa3f3ff364ede029bf9351fc5184 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/f7d3f93f3b46a53d61d0419999a0ac1f75e23429 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/5990f3388aa56c92ae3adf7ac715e7cb05230aa4 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/aee7d90a275edada7b68ecc59a22f19486693687 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/4e09961de81eeac0fbe8b5633206da59e49faa60 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/d2378c9c43f9ee23535bdf5ff8fd40fb5cc65851 Temporarily make locker run faster to clear backlog
https://www.github.com/Microsoft/vscode/commit/4486892a5f60e377e1758b41ddd4bcae796dee61 Fix https://www.github.com/microsoft/vscode/issues/93538. remove output in webview first before removing a cell
https://www.github.com/Microsoft/vscode/commit/612b40075eb347544f24912d93bdbdfd7aeed32e pass in initial notebook layoutInfo for cellviewmodel.
https://www.github.com/Microsoft/vscode/commit/c8244db058368391b5acb07cf2fac7275afe7098 Update locker.yml
https://www.github.com/Microsoft/vscode/commit/41206ec5730f77b7a5ebd4026b27810505b11ed5 Add locker as an Action
https://www.github.com/Microsoft/vscode/commit/204bf79929f9c1c8415804169803427eed2a06b1 Show account activity bar icon only when user data sync configuration is set
https://www.github.com/Microsoft/vscode/commit/48d4d3237453fdcfcf1ca84727760a1ba6ceb331 redundant model insertion
https://www.github.com/Microsoft/vscode/commit/d2ae19e76ff98c26348aad654db10b17e898b250 Fix https://www.github.com/microsoft/vscode/issues/93475. Restrict list view styler to itself.
https://www.github.com/Microsoft/vscode/commit/8932a57a10b9c97eb0d83b5801c8cf9fe3b35a4a destory notebook document only when the editor input is destoried.
https://www.github.com/Microsoft/vscode/commit/b2770856a41fcf6d2d3633de8004c4f3264038a0 Fix https://www.github.com/microsoft/vscode/issues/93000.
https://www.github.com/Microsoft/vscode/commit/56a33c4198937092426dac5be064e8dc9c71ecfd https://www.github.com/microsoft/vscode/issues/93469 delay loading user tasks after initialization
https://www.github.com/Microsoft/vscode/commit/76c11b3087f924859975e788ce1a37e2885c0772 Edit template tags
https://www.github.com/Microsoft/vscode/commit/76f615fc9f64acbafb52e38787df6635f8be260e Fix https://www.github.com/microsoft/vscode/issues/93469
https://www.github.com/Microsoft/vscode/commit/2281a3f65d27a322dcd2da06cf9b3aacfc2b9289 padding for output inside webview.
https://www.github.com/Microsoft/vscode/commit/1d6e149853ecc7994527cf9435f03c28e7e585e5 Output Offset API is offset in the whole cell.
https://www.github.com/Microsoft/vscode/commit/3b8c6c6519189639a0f1694ac19fc24d05d8970c padding adjustment for output in webview
https://www.github.com/Microsoft/vscode/commit/3b64f22932936f94ebf1267db9f0165f19b12a48 show semantic highlight notification only once
https://www.github.com/Microsoft/vscode/commit/dd478ddad6f3b585b90f870323176dba4ee7fcc5 add link to semantic highlighting notification
https://www.github.com/Microsoft/vscode/commit/6d03c07a752d508ec1a9ec0a500f75c5be673e73 Semantic highlighting notification is not helpful. Fixes https://www.github.com/microsoft/vscode/issues/93058
https://www.github.com/Microsoft/vscode/commit/ce8d9ee4aae7b18d0e70d3fb14e3a5e4b6bd5057 Shared more properties between TextDocument and CustomDocument (https://www.github.com/microsoft/vscode/issues/93342)
https://www.github.com/Microsoft/vscode/commit/65003808bdaf075d25982477376e62892bfe34e5 update output mimtype icon
https://www.github.com/Microsoft/vscode/commit/965c8150bc3aee18b9579b577aff85736fbe37e1 Merge pull request https://www.github.com/microsoft/vscode/issues/93515 from microsoft/notebook/editAPI
https://www.github.com/Microsoft/vscode/commit/5c1fcd9a2d1a20982adbf9c59c9750f38f6997e8 Remove margin between notebook cell output and code
https://www.github.com/Microsoft/vscode/commit/29a008a340915831574d0d5b2c1d02efefb8349a fixes https://www.github.com/microsoft/vscode/issues/93418
https://www.github.com/Microsoft/vscode/commit/408061bf42c7798087d28fcbd45312e7627c10c4 Re https://www.github.com/microsoft/vscode/issues/93412. Fix the width after setting left.
https://www.github.com/Microsoft/vscode/commit/d9cb41953f3417287696e61bba3e3b02ddf3f95a Update no non double-posting needs-version-info bot
https://www.github.com/Microsoft/vscode/commit/bf9f1de1b047813cdcbaf67b25c5c0c93538de29 :lipstick:
https://www.github.com/Microsoft/vscode/commit/202ae94536d3d2b11676fbc1396063200e98e40c quick access - delete unused file
https://www.github.com/Microsoft/vscode/commit/1212ba1f5fa83e881ba3411810e643c72839ea23 notebooks = use #cell- pattern for cell paths
https://www.github.com/Microsoft/vscode/commit/a4207f7759b378d4adc4cf0aac17d1c038122973 web - allow to contribute navigation entries (https://www.github.com/microsoft/vscode/issues/93467)
https://www.github.com/Microsoft/vscode/commit/12bdf225f1b12c705363a89b21eaaeb3c1df9be7 add semanticTokenColors to themes
https://www.github.com/Microsoft/vscode/commit/9ae996bd4ac6eb1a2eb39bd6fb4986c72b9c28f4 https://www.github.com/microsoft/vscode/issues/93366 use file not directory result
https://www.github.com/Microsoft/vscode/commit/9cf403aabf1a4d1a51b61a5a8646060f6767197e fix https://www.github.com/microsoft/vscode/issues/93189
https://www.github.com/Microsoft/vscode/commit/89f7752f07b95f7f7ac8acd913a7fb4ee4554ece fix tests
https://www.github.com/Microsoft/vscode/commit/ce621081d8ec76eaa80724c257eb3f7e5c209b95 Task quick pick improvement (https://www.github.com/microsoft/vscode/issues/93479)
https://www.github.com/Microsoft/vscode/commit/106c2056dfa873d7229011e88d4f4b00c8198096 tree - also remove monaco-tree CSS references
https://www.github.com/Microsoft/vscode/commit/b88aa861986c5548d6ddc8077bc8407d211258f2 quick access - fix action registration for commands
https://www.github.com/Microsoft/vscode/commit/55646f7cbae782fd6937ae132d3c7f079f0e63bc Merge pull request https://www.github.com/microsoft/vscode/issues/93378 from microsoft/aeschli/tokenLanguage
https://www.github.com/Microsoft/vscode/commit/2c4c755bc4c469fb646aa4b2d419c3082d041315 fs - add error code for ENOTDIR
https://www.github.com/Microsoft/vscode/commit/f28dbf7cfc24c876dae2b006d3b3b381b7b722f9 old tree - off with it's head
https://www.github.com/Microsoft/vscode/commit/e80f8a5da98e9856a605c474b17145d7a41f5653 quick access - more cleanup
https://www.github.com/Microsoft/vscode/commit/7eee4d02e7e7b5251d226da41ad21efa50bd616c quick open - rename file to reflect what it does
https://www.github.com/Microsoft/vscode/commit/88d189b4791a199137bb9da0b0c36b8c544b9683 quick access - more renames towards less quick open usage
https://www.github.com/Microsoft/vscode/commit/1cce616475c3064811f16ccc8f9445a81efd7433 Update commands.json
https://www.github.com/Microsoft/vscode/commit/51c5f904990a651cc859014971f29ecbb214ed84 fixes https://www.github.com/microsoft/vscode/issues/93481
https://www.github.com/Microsoft/vscode/commit/b6765e34cbfad77230568726ca42945a77985687 prevent commands from being added to shell history; fixes https://www.github.com/microsoft/vscode/issues/91689
https://www.github.com/Microsoft/vscode/commit/0ae77053a7d0b08222ff9dc5e1fa7c92c2c3f42b Fix https://www.github.com/microsoft/vscode/issues/93481
https://www.github.com/Microsoft/vscode/commit/85d2077f1924625bd2a89aa3ef5af26108c4c27d smoke - quickopen => quickaccess
https://www.github.com/Microsoft/vscode/commit/4cfc630dc193a00f6940c3a263c127da7bee0405 https://www.github.com/microsoft/vscode/issues/93366 Fix tests
https://www.github.com/Microsoft/vscode/commit/928e3e0188b90ab26799786dd6ca123ec644f131 Fix https://www.github.com/microsoft/vscode/issues/93366
https://www.github.com/Microsoft/vscode/commit/3364686d79aff0d7fc63f400b0e211390538413a quick access - remove actionbar contributor that is no longer needed
https://www.github.com/Microsoft/vscode/commit/b83e97120ea469b858ffdda2b41a4e393275fa36 escape ';' when passing arguments; fixes https://www.github.com/microsoft/vscode/issues/93166
https://www.github.com/Microsoft/vscode/commit/572d9c6a87eeada2afc6bf695278fe9074283f8f quick access - remove parts/quickopen
https://www.github.com/Microsoft/vscode/commit/04b2d52822edfc656d4b10ff5e6d28ea38662edc fixes https://www.github.com/microsoft/vscode/issues/93346
https://www.github.com/Microsoft/vscode/commit/4d93f2f4b0ca464b3328e0edb1bba6bf74593e75 quick access - drop quick open action
https://www.github.com/Microsoft/vscode/commit/f6fba38e9a43df3a1b90f26cad89da19562db13c quick access - first cut old quick open removal
https://www.github.com/Microsoft/vscode/commit/65e5a37f14ba7eb1ae9f30798177a8b8a9fad7e1 enable serialized notebook inputs, implement equality check for inputs, https://github.com/microsoft/vscode/issues/93000
https://www.github.com/Microsoft/vscode/commit/e385a773879b312c1b6530a52ff73f6e8f316c46 quick access - use fuzzy matching consistently also for tasks
https://www.github.com/Microsoft/vscode/commit/b418b9cd59f6585aa25542f2686e7cd268569761 Comment out debugger tests
https://www.github.com/Microsoft/vscode/commit/7ca1a3577815bffd6de4c3c700d97e6d53b41531 https://www.github.com/microsoft/vscode/issues/92990 rename
https://www.github.com/Microsoft/vscode/commit/e24eedace5af192e9f76ef0c5ec2c0dce7ae1ef5 codicons - speed up stripCodicons
https://www.github.com/Microsoft/vscode/commit/d2ae8880c45fd847ee17d2cbe9b9f4f1821f485d storage :lipstick:

I'll deal with this tomorrow and do a 2 day merge tomorrow.


Summarization failed when using t5

Dear ohmeow, thanks for your convenient framework. It helps me a lot.
However, a problem occurs when I try to apply the t5-base model to summarization task using seq2seq settings in the training procedure of https://ohmeow.github.io/blurr/text-modeling-seq2seq-summarization.html. I changed the Tokenizer and config to
T5TokenizerFast | T5ForConditionalGeneration and the model was trained smoothly. However, when I tried to evaluate after first epoch, an exception occured as TypeError: Exception occured in ``Seq2SeqMetricsCallback`` when calling event ``after_batch``: 	forward() got an unexpected keyword argument 'prefix'. I wonder why this exception happened and still cannot find solution although I checked my code and core clearly. It would be a great pleasure if U could give me some helps.

Could you put your code in a gist that I could look at?


Bugfixes: line numbering

Fixes two bugs:

the line numbers where shown bold if they ocurred within bold text
when a new inline element started near the end of a line and the length of the first word exceeds the remaining space of the line, the first word was broken into two parts. The better solution would be to break the line before the inline element starts.

Ok.

Ok.


Use [chunkhash] instead of [hash]?

https://github.com/preboot/angular2-webpack/blob/master/webpack.config.js#L63-L64
For long term caching of vendor and polyfill?
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/153#issuecomment-225017219

I know there was a reason for not doing that but I forgot.
IIRC it was related with webpack not correctly hashing and changing only say css would change the hash of everything else. I need to recheck.


Update data-factory-copy-activity-tutorial-using-dotnet-api.md

Same as in #1167

@abatishchev,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@abatishchev,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

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

@abatishchev : Thanks for your contribution to the Azure documentation! The author, @spelluru, has been notified to review your proposed change.

@abatishchev - Thanks for the feedback on the article. I followed the steps from walkthrough in the article (after your updates) and I had to make the following changes to get rid of a couple of compiler errors:

Add "using System.Threading" at the top to get rid of an error

Then, I got the following error:
Cannot implicitly convert type 'System.Threading.Tasks.Task<Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult>' to 'Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult'
To fix it, I added ".Result" at the end of this statement in the GetAuthorizationHeader method:
        AuthenticationResult result = context.AcquireTokenAsync(
        resource: ConfigurationManager.AppSettings["WindowsManagementUri"],
        clientCredential: credential)**.Result**;

I don't get errors now, but I do see a warning:
warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Could you make these fixes and submit the PR again? I will use an include file for the .NET walkthroughs in Data Factory content once I have this working fine.
Thanks & Regards,
Sreedhar

I removed the .Result and added await to the AcquireTokenAsync call.
        AuthenticationResult result = await context.AcquireTokenAsync(
        resource: ConfigurationManager.AppSettings["WindowsManagementUri"],
        clientCredential: credential);

Compiles fine with no errors now. I ran the application and it works fine too.
Could you make these changes and push the branch up? Thanks!!!

I added missing await before context.AcquireTokenAsync. Should be enough and work fine now, correct? Don't know how it got missed.

Thanks @abatishchev. I had to add "using system.threading". Did you have do that? Thanks!

Right! It's used by Thread.Sleep(). Added it back.

Thanks again @abatishchev
#sign-off


[Bug] No error message when access to KeyVault is not possible

Bug is maybe a bit harsh, maybe it is just not working as I would expect ;-)
Today we had issues running the "UpdateALGoSystemFiles" Action, failing at the Step "Update AL-Go system files" with the message:
Error: CheckForUpdates action failed. Error: A personal access token with permissions to modify Workflows is needed. You must add a secret called GhTokenWorkflow containing a personal access token.
Earlier in the step "Read secrets" we spotted this:
AzureRm.KeyVault Module is available in version 2.1.0 AzureRm.Profile Module is available in version 2.1.0 Using AzureRM version 2.1.0 Masking value for clientSecret Successfully connected to Azure Key Vault. Could not find secret ghTokenWorkflow in Github secrets or Azure Key Vault. The following secrets was not found: ghTokenWorkflow (Secret ghTokenWorkflow) Removing BcContainerHelper
The KeyVault in question contains also other Secrets used by other AL-Go Actions like CI/CD or TestNextMajor etc. and they worked fine.
To make it short:
The Issue was that I earlier restricted access to this particular KeyVault from a specific IP Address / Subnet because I saw no reason that this one is accessible from all over the Internet since we use Self-Hosted runners only. Also the KeyVault includes information for Code Signing, so I do not feel very good having it accessible from everywhere.
In the end the UpdateALGoSystemFiles Action failed beause it is not running on a Self-Hosted runner by default and because of the IP restriction it was not able to access the KeyVault. It took a while to figure that out, because as you can see above, in the Logs it said "Successfully connected to Azure Key Vault" which was just not possible ;-)
It would have helped having a clearer error message here (if this is even possible for you to find out at this step) and it would be great to have this action running on a Self-hosted runner too (if possible), so we can lock down our KeyVaults and make everything a bit safer.

The reason for having Update AL-Go System files always running on GitHub hosted agents is to avoid a dead-lock situation, where the self-hosted runner isn't working and you cannot run Update AL-Go System Files to change the runner.
We are looking at ways to run Update AL-Go System Files locally and create a PR from there instead to make additional ways and after that - we could change the workflow to also be able to run on self-hosted runners (as there would be a workaround).


Use github issue templates

This PR:

Adds issue templates
Moves  CONTRIBUTING.md to the .github folder and fixes the link.

This should help users provide the needed info to fix their issues

@MESLewis @Adam- I applied your feedback, could you give this another look?

Looks good to me, we usually squash fix-up commits.

Commits have been squashed together

Thank ou @Adam-, @MESLewis, @deathbeam


Invalid language-code – pandoc-citeproc v0.17 hangs

Using pandoc-citeproc v0.17 on macOS v10.14.6, when using an invalid language code that contains a hyphen, pandoc-citeproc never returns.
pandoc -F pandoc-citeproc <<EOF
---
lang: something-invalid
---
EOF

It does return if the language code does not contain a hyphen.

I can't reproduce this. I get
pandoc-citeproc: Could not find locale data for something-invalid
Error running filter pandoc-citeproc:
Filter returned error status 1

Is there anything odd about your setup that could explain this?

Presumably, there is. But I have no idea what it could be. I've installed pandoc and pandoc-citebrow via Homebrew. The error persists after re-installing them and without a ~/.pandoc directory, too.
$ pandoc --version
pandoc <IP_ADDRESS>
Compiled with pandoc-types 1.20, texmath <IP_ADDRESS>, skylighting <IP_ADDRESS>
Default user data directory: /Users/odin/.local/share/pandoc or /Users/odin/.pandoc

Do you have any idea what I should look into?

I just had an idea. I presume pandoc-citeproc looks up languages in its locales directory? There may be a filesystem error that prevents a readdir from returning. Then it would make sense that pandoc-citeproc returns if the locale name is syntactically incorrect (no dash) or if it can find it (readdir never reaches the filesystem error).
A failure to return from a readdir may also explain this:
$ ps -o args,pid,stat,pcpu 20983
ARGS                   PID STAT  %CPU
pandoc-citeproc html 20983 R+    97.5
                                 ^^^^

Though, to the best of my understanding of Unix I/O, scheduling, and process management, the status that ps should show in this case should be D, not R.
At any rate, a filesystem check also gets me:
error: btn: invalid btn_btree.bt_key_count (expected 10447210, actual 10447276)
fsroot tree is invalid.

I’ll see if I can get those fixed and whether the error persists thereafter.

Weirdly though, this returns on my system, without throwing an error message.
$ pandoc -F pandoc-citeproc <<EOF
> ---
> lang: nosuchlang
> ---
> EOF
$ echo $?
0

Okay, (a) after thinking this through, my explanation makes no sense, that pandoc-citeproc eats up almost 100% of the CPU time indicates that whatever is happening, is happening within the process, so it cannot be an IO operation. (b) I’ve also fixed the filesystem and the error persists.

Can you use lsof to see what files pandoc-citeproc is trying to open?
Maybe that would be a clue.
Also, how did you install pandoc and pandoc-citeproc?  (Note that both can be compiled in a way that bakes their data files into the binary, or a way that keeps the data files on the file system.)

It does appear to be connected to the locale files after all!
I've just installed pandoc and pandoc-citeproc from source and cabal configure-ed pandoc-citeproc with -f embed_data_files. Now
pandoc -F pandoc-citeproc -M lang=xx-xx </dev/null

outputs
pandoc-citeproc: Could not find locale data for xx-xx
Error running filter pandoc-citeproc:
Filter returned error status 1

as expected. (Without -f embed_data_files it behaves in the same way as the Homebrew version.)
I also checked which files the Homebrew version opens.
This
{ lsof -r 1 -c pandoc-citeproc & LSOF=$!
  for ITER in $(seq 1 5); do
      pandoc -F pandoc-citeproc -M lang=xx-xx </dev/null & PANDOC=$!
      sleep 15
      kill $PANDOC
  done
  kill $LSOF; } | awk '!/^COMMAND/ && !/^=+$/ {print $5, $9}' | sort -u

outputs
CHR /dev/ttys005
DIR /Users/odin
KQUEUE
PIPE
REG /usr/lib/dyld
REG /usr/local/Cellar/pandoc-citeproc/0.17/bin/pandoc-citeproc
REG /usr/local/Cellar/pandoc-citeproc/0.17/share/x86_64-osx-ghc-8.8.3/pandoc-citeproc-0.17/chicago-author-date.csl

Not helpful. I presume, pandoc-citeproc checks whether a locale is available by simply trying to open it. But then, since there is no locale file for the "xx-xx" locale, there's nothing that lsof could show us.
However, it does appear to be that pandoc-citeproc waits for some I/O op to complete after all. I thought that ps reports the CPU utilisation of a process in the user and system states only. But the output of top -pid "$(pgrep pandoc-citeproc)" strongly suggests otherwise:
Processes: 367 total, 3 running, 364 sleeping, 1524 threads            23:01:25
Load Avg: 4.06, 7.71, 28.51  CPU usage: 22.79% user, 13.75% sys, 63.44% idle
SharedLibs: 140M resident, 47M data, 34M linkedit.
MemRegions: 92435 total, 2315M resident, 70M private, 571M shared.
PhysMem: 7928M used (1535M wired), 263M unused.
VM: 4734G vsize, 1370M framework vsize, 89557(0) swapins, 222231(0) swapouts.
Networks: packets: 2362736/1141M in, 2620704/2041M out.
Disks: 2664145/24G read, 620905/9815M written.

PID    COMMAND      %CPU TIME     #TH  #WQ  #POR MEM    PURG CMPR PGRP  PPID
97027  pandoc-citep 97.1 04:11.24 5/1  0    14   8304K  0B   0B   97026 97026

But what could pandoc-citeproc be waiting for?

I’ll try and see what dtrace and dtruss tell me. But not today.

Since I always use embed_data_files, it's quite possible the configuration with data files is undertested.  Maybe there's just a bug in the code there.

I think I do see an issue just looking at the code.

Hmm, I ran dtruss, and it very much looks like that:
[...]
stat64("/Users/odin/.pandoc/default.csl\0", 0x420000A330, 0x0)           = -1 Err#2
open("/Users/odin/.pandoc/default.csl\0", 0x20004, 0x1B6)                = -1 Err#2
stat64("/Users/odin/.csl/chicago-author-date.csl\0", 0x420000A6E0, 0x0)          = -1 Err#2
open("/Users/odin/.csl/chicago-author-date.csl\0", 0x20004, 0x1B6)               = -1 Err#2
open("/usr/local/Cellar/pandoc-citeproc/0.17/share/x86_64-osx-ghc-8.8.3/pandoc-citeproc-0.17/chicago-author-date.csl\0", 0x20004, 0x1B6)                 = 0 0
fstat64(0x0, 0x420000AC80, 0x0)          = 0 0
ioctl(0x0, 0x4004667A, 0x7FFEE081F444)           = -1 Err#25
ioctl(0x0, 0x40487413, 0x7FFEE081F448)           = -1 Err#25
stat64("/usr/local/Cellar/pandoc-citeproc/0.17/share/x86_64-osx-ghc-8.8.3/pandoc-citeproc-0.17/locales/locales-xx-xx.xml\0", 0x420000ADE0, 0x0)          = -1 Err#2

Thereafter, pandoc-citeproc repeats the last call to stat64 indefinitely.
In between it sometimes calls:
sigprocmask(0x1, 0x10E6237A8, 0x10E6237FC)               = 0x0 0
getrusage(0x0, 0x7FFEE3C87258, 0x0)              = 0 0
sigprocmask(0x3, 0x10E6237FC, 0x0)               = 0x0 0
[...]
__semwait_signal(0xA03, 0x0, 0x1)                = -1 Err#60

But the frequency varies.

Fixed.  Thanks for bringing it to my attention!


product_version_id is not nullable in the OrderLineItem definition, but is null after deleting a product

PHP Version
8.1
Shopware Version
<IP_ADDRESS>
Expected behaviour
The ProductVersionId of an OrderLineItem should be nullable, so when editing an OrderLineItem of a deleted product, the order can be saved.
Actual behaviour
When deleting a Product, both product_id and product_version_id are set to null.
But the ReferenceVersionField field of the ProductDefinition in the OrderLineItemDefinition its flagged as required.
(new ReferenceVersionField(ProductDefinition::class))->addFlags(new ApiAware(), new Required()),

The OrderLineItemEntity::getProductVersionId also states is always returns a string. But when a product is deleted it returns null;
public function getProductVersionId(): string
{
    return $this->productVersionId;
}

When editing a OrderLineItem of a deleted product, it also gives an error:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`order_line_item`, CONSTRAINT `order_line_item_ibfk_1` FOREIGN KEY (`product_id`, `product_version_id`) REFERENCES `product` (`id`, `version_id`) ON DELETE SET NULL ON UPDATE CAS)

How to reproduce

Create a product
Create an order with that product
Delete the product
The product_version_id column in the DB for te created OrderLineItem is now null.
Edit the created order, by changing the quantity of the product
Save the lineItem, now an error occures

Hi,
thx for your issue we will put it into our new evaluation process and have a look at it again.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37896.
[created from NEXT-37896, comment 488735]


Error: Cannot match any routes.

I'm submitting a...

[X] Bug report
[ ] Feature request
[ ] Documentation issue or request

In package

[X] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal

Current behavior

Running npm run build:prod && npm run server
Navigating to http://localhost:8080
Get following mesage in terminal 👍
Cannot match any routes. URL Segment: 'ngsw_worker.es6.js.map'
Expected behavior
The application should serve pre rendered HTML before the Angular application kicks in.
Minimal reproduction of the problem with instructions
STEPS TO REPRODUCE
mkdir newProject && cd newProject
ng new --collection @ng-toolkit/init newProject
'npm run build:prod && npm run server'
Open an incognito tab, go to http://localhost:8080
Right-click -> View Page Source
Error appears in terminal.
What is the motivation / use case for changing the behavior?
This error occurs when adding Angular Universal to existing app as well as beginning a new project with ng-toolkit
Environment

Angular version: 6.0.3 (same error in another project running 6.0.0)

Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: `v8.11.2`
- Platform:  Mac

Hello, thank you for reporting this bug. Take a look at this one: https://github.com/maciejtreder/ng-toolkit/issues/307
You shouldn't check app 'universality' by using 'view source' option in the browser. Try to use curl command i.e.:
curl -i http://localhost:8080

You can ignore the error message thrown by nodeJS, it doesn't have impact on server-side rendering functionality.


qemu-system-x86_64: command not found

Not working, what should i do?

I had the same problem can some please

, need help.

Not working, what should i do?

Did you already got a response from this? Or did it even with yours?

pkg update && pkg upgrade
pkg install x11-repo -y
pkg install qemu-system-x86_64 -y
working fine.


corrected statement about packages and linked

That is, the PyPI & conda-forge packages for 0.0.9.
(Also a little grammatical thing near the end.)

Coverage increased (+0.2%) to 99.284% when pulling d828db424913a4e7806a0507c62f4ec4717fce29 on gdmcbain:patch-1 into 3031d3b3d1a5e212975480021474886abd2ca7c1 on benbovy:master.

Yes indeed. I didn't want to mention it explicitly in the docs as 0.0.9 is rather a development and unstable release (I created it mostly for proper release configuration), but your corrected statement is better. Merging this, thanks!


Gradle compiling cannot resolve dependencies on latest build

Hi, when I use the instructions on using gradle as said in the readme file and change the version to the latest release, i get the following output...
PS C:\Users\Ryan\Documents\Visual Studios Code\5431MecanumTestDrive-VSCode> .\gradlew build

> Configure project :
NOTE: You are using an ALPHA version of GradleRIO, designed for the 2019 Season!
This release uses the 2018 Core Libraries, however all tooling (GradleRIO + IDE support) is incubating for 2019
If you encounter any issues and/or bugs, please report them to https://github.com/wpilibsuite/GradleRIO

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Ryan\Documents\Visual Studios Code\5431MecanumTestDrive-VSCode\build.gradle' line: 46

* What went wrong:
A problem occurred evaluating root project '5431MecanumTestDrive-VSCode'.
> Could not resolve all files for configuration ':compile'.
   > Could not find org.apache.commons:commons-lang3:3.7.
     Searched in the following locations:
       - http://first.wpi.edu/FRC/roborio/maven/release/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.pom
       - http://first.wpi.edu/FRC/roborio/maven/release/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar
       - http://dev.imjac.in/maven/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.pom
       - http://dev.imjac.in/maven/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar
       - https://raw.githubusercontent.com/Open-RIO/Maven-Mirror/master/m2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.pom
       - https://raw.githubusercontent.com/Open-RIO/Maven-Mirror/master/m2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar
       - https://jitpack.io/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.pom
       - https://jitpack.io/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar
     Required by:
         project : > com.github.frc5431:TitanUtil:1.1.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

my build.gradle file contains the following...
plugins {
    id "java"
    id "edu.wpi.first.GradleRIO" version "2019.0.0-alpha-3"
}
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
def ROBOT_CLASS = "org.usfirst.frc.team5431.robot.Robot"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project EmbeddedTools.
deploy {
    targets {
        target("roborio", edu.wpi.first.gradlerio.frc.RoboRIO) {
            // Team number is loaded either from the .wpilib/wpilib_preferences.json
            // or from command line. If not found an exception will be thrown.
            // You can use getTeamOrDefault(team) instead of getTeamNumber if you
            // want to store a team number in this file.
            team = getTeamNumber()
        }
    }
    artifacts {
        artifact('frcJava', edu.wpi.first.gradlerio.frc.FRCJavaArtifact) {
            targets << "roborio"
            // Debug can be overridden by command line, for use with VSCode
            debug = getDebugOrDefault(false)
        }
    }
}

// Defining my dependencies. In this case, WPILib (+ friends), CTRE Toolsuite (Talon SRX)
// and NavX.
dependencies {
    compile wpilib()
    compile ctre()
    compile navx()
    compile 'com.github.frc5431:TitanUtil:1.1.2' //Replace 1.0.5 with the latest release
}

// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')
// in order to make them all available at runtime. Also adding the manifest so WPILib
// knows where to look for our Robot Class.
jar {
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    manifest edu.wpi.first.gradlerio.GradleRIOPlugin.javaManifest(ROBOT_CLASS)
}

// Force Java 8 Compatibility mode for deployed code, in case the develoment
// system is using Java 10.
compileJava {
    sourceCompatibility = 1.8
    targetCompatibility = 1.8
}

wrapper {
    gradleVersion = '4.9'
}

but when i change
compile 'com.github.frc5431:TitanUtil:1.1.2' to compile 'com.github.frc5431:TitanUtil:1.0.5' the build is successful with the following...
PS C:\Users\Ryan\Documents\Visual Studios Code\5431MecanumTestDrive-VSCode> .\gradlew build

> Configure project :
NOTE: You are using an ALPHA version of GradleRIO, designed for the 2019 Season!
This release uses the 2018 Core Libraries, however all tooling (GradleRIO + IDE support) is incubating for 2019
If you encounter any issues and/or bugs, please report them to https://github.com/wpilibsuite/GradleRIO

BUILD SUCCESSFUL in 2s
3 actionable tasks: 1 executed, 2 up-to-date

I resolved and seperated the examples in v1.1.3. The error above states that gradle couldn't find apache commons in its listed repositories. I forgot that I included mavenCentral() in my personal build, I assumed the project would inherit its own list. We need to figure out if allprojects repositories overrides or why the TitanUtil list isn't being exported. Please update your build.gradle:
Old:
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

New:
allprojects {
    repositories {
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}


Master next

Description
Merge back to  master all the staking work being done while waiting for v1.0.0

Best to just rebase the commits @AlanVerbner, so the master-next branch doesn't reflect in the commit log . I'll do that ASAP after the release is made

@rhyslbw yes ... we have creted this PR to track the progress, we can just close it.


Cannot connect to localhost via port 9050

This command:
curl --socks5 localhost:9050 --socks5-hostname localhost:9050 https://check.torproject.org/api/ip
gives this error:
curl: (7) Failed to connect to <IP_ADDRESS> port 9050 after 0 ms: Couldn't connect to server
The compose.yaml file I used is:

services:
  relay:
    image: leplusorg/tor
    container_name: tor
    restart: always
    ports:
      - "9050:9050"
    expose: 9050
    networks:
      - caddy-net
    environment:
      TOR_NICKNAME: tor4irc
      CONTACT_EMAIL<EMAIL_ADDRESS>    volumes:
      - ~/confs/tor_conf/:/etc/tor/torrc.d/

networks:
  caddy-net:
    driver: bridge

How do I fix this?

Hi @wiligl,
If you can share your torrc config file(s), that might shed some light. Just make sure that there's nothing sensitive in them.
I typically set SocksPort to <IP_ADDRESS>:9050 and have no issue. But there is a security warning from Tor when doing this (see #139). I believe that it is safe for me to do this because I use the bridge network mode (the default) for my docker container so it is only accessible from my local host anyway. I think that the warning applies only when you run Tor on a bsre host but I could be wrong and your mileage may vary depending on the networking mode that you use in your docker network (I can see for example how usimg <IP_ADDRESS> in host mode could be risky).

Hi @wiligl,
If you can share your torrc config file(s), that might shed some light. Just make sure that there's nothing sensitive in them.
I typically set SocksPort to <IP_ADDRESS>:9050 and have no issue. But there is a security warning from Tor when doing this (see #139). I believe that it is safe for me to do this because I use the bridge network mode (the default) for my docker container so it is only accessible from my local host anyway. I think that the warning applies only when you run Tor on a bsre host but I could be wrong and your mileage may vary depending on the networking mode that you use in your docker network (I can see for example how usimg <IP_ADDRESS> in host mode could be risky).
Cheers,
Tom

Hi @thomasleplus,
thanks, the current compose.yaml is (removed "expose" line);
services:
  relay:
    image: leplusorg/tor
    container_name: tor
    restart: always
    ports:
      - "9050:9050"
    networks:
      - caddy-net
    environment:
      TOR_NICKNAME: tor4irc
      CONTACT_EMAIL<EMAIL_ADDRESS>    volumes:
      - ~/confs/tor_conf/:/etc/tor/torrc.d/

networks:
  caddy-net:
    driver: bridge

I use the default torrc but I have copied it into the volume mapped to ./conf.d/ which is read automatically with the following additional lines:
SOCKSPort 9050
SOCKSPort localhost:9050
SOCKSPort <IP_ADDRESS>:9050
SOCKSPort <IP_ADDRESS>:9050

The full torrc.conf is attached (added .txt to be able to uploade file to Github).
torrc.conf.txt
The current error (still) is:
curl: (7) Failed to connect to localhost port 9050 after 0 ms: Couldn't connect to server
Thanks for sharing your advice!
Kr, Wilmar


Manual approval required for workflow run<PHONE_NUMBER>: Release t0rn refs/tags/v1.9.2-rc.0

Please approve runtime upgrade with github release t0rn v1.9.2-rc.0
Runtime upgrade dry run output:
💈 Script started at 1736853 block in t0rn chain

🐡 Running with dryrun flag!

🐙 checking out v1.9.2-rc.0...
✅ tag checked out

🔎 making sure runtime version got updated...
✅ runtime versions updated

🫧 check WASM artifact...
🔢 WASM blake2_256 hash: 0x6e652d29e33c44bfad81e4c3d84d8d04d7cdae795ef7773b43d8f81912005641
🔢 WASM blake2_256 hash fetched from release: 0x6e652d29e33c44bfad81e4c3d84d8d04d7cdae795ef7773b43d8f81912005641
✅ WASM blake2_256 hash is matching
⚙ set_code runtime upgrade... dry
✅ runtime upgrade executed... dry

Workflow is pending manual review.
URL: https://github.com/t3rn/t3rn/actions/runs/4677752842
Required approvers: [AwesomeIbex MaciejBaj]
Respond "approved", "approve", "lgtm", "yes" to continue workflow or "denied", "deny", "no" to cancel.

lgtm

All approvers have approved, continuing workflow and closing this issue.


Reorganize Metadata Endpoints

One of the reasons for not having separated metadata was due to previous account restrictions endpoint structure.

Taking into consideration similar features that depend on others (restrictions, multisig), we are creating endpoints under each main independent concept (e.g. /account/<:accountId>/restrictons).

#28 changes the /restrictions endpoints and opens the door to reorganize metadata endpoints.
Proposal
The does not change the number of endpoints or responses, but how they are called. Repeat changing /account/{accountId} for mosaic and namespaces endpoints.

Previous Endpoint
New endpoint

/account/{accountId}/metadata/
/metadata/account/{accountId}

/account/{accountId}/metadata/{key}
/metadata/account/{accountId}/key/{key}

/account/{accountId}/metadata/{key}/sender/{publicKey}
/metadata/account/{accountId}/key/{key}/sender/{publicKey}

@Vektrat @rg911 @fboucquez Let me know if do you have any objection/improvements.

Hi @dgarcia360, I have no problem with the endpoint change. Because the change is just the URLs, not where the methods are located (there is a metadata route already), I just need to regenerate my java clients. I don't need any code change. :)

makes sense to me

new endpoints look spot on


invalid markdown

https://github.com/microsoft/jacdac-docs/runs/7012736962?check_suite_focus=true#step:6:71

fixed: https://github.com/microsoft/jacdac-docs/commit/f8fe891240f11026e3619fe2bd1f267420b3a1af


How to OnClick the Pin to read the label and then open a new page?

I'm loading up multiple pins so the user can read each label then I want them to click on the label or pin one more time which would navigate them to a new page using the Location ID that I set in "Pin.Tag".
Any ideas? I looked at the samples and couldn't find a way to do this but I'll keep plugging away.

see #134 as i explained it better there


WIP: release prep

This PR is doing a bunch of the preparation for releasing the next minor of all the crates, as a lot has been touched and we need to cut new versions to get it out there.
List of things to do:

[x] ensure crate consistency (deny missing docs, Cargo.toml fully filled out, etc)
[x] ensure code formatting
[x] ensure every crate has a changelog
[ ] ensure every crate has good module-level documentation (ideally has example code)
[ ] rewrite the workspace-level README to properly reflect what metrics-rs encompasses
[ ] make sure all renamed crates have accurate Cargo.toml data and docs (dangling old names, etc)

@tobz ping me when this is ready :)


fix(utils): GetId - Check idField first - Fix #463

Try to get the item's id with the idField first.
Fix #463

Thanks!

Released to npm as<EMAIL_ADDRESS>


#38 #34 Upgrade for working with rails 4.2 and slim 3

Update some dependency gems, fix some tests and deprecation issues.
But there are still some failing tests(6 of 129) that are need to be fixed.

Thanks!


adding keras/tf and Spark support

This adds Tensorflow/Keras support and Spark support

Now by default we shall take in the first <_jupyterlab_variableinspector_maxrows> instead of everything
_jupyterlab_variableinspector_maxrows = 10**6 # None for view all

Setting it to 10**6 might be too high based on me testing it - but its a strawman we can work with initially.
Address #18

@lckr Hope these changes were what you're after...

Thanks for making the changes. I think this PR is ready to merge.


Not working: az webapp -h

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp
Errors:
The command failed with an unexpected error. Here is the traceback:
No module named 'vsts_cd_manager'
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 583, in execute
    parsed_args = self.parser.parse_args(args)
  File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 261, in parse_args
    return super().parse_args(args)
  File "/opt/az/lib/python3.8/argparse.py", line 1768, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 1988, in _parse_known_args
    positionals_end_index = consume_positionals(start_index)
  File "/opt/az/lib/python3.8/argparse.py", line 1965, in consume_positionals
    take_action(action, args)
  File "/opt/az/lib/python3.8/argparse.py", line 1874, in take_action
    action(self, namespace, argument_values, option_string)
  File "/opt/az/lib/python3.8/argparse.py", line 1159, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 2006, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/opt/az/lib/python3.8/argparse.py", line 1946, in consume_optional
    take_action(action, args, option_string)
  File "/opt/az/lib/python3.8/argparse.py", line 1874, in take_action
    action(self, namespace, argument_values, option_string)
  File "/opt/az/lib/python3.8/argparse.py", line 1044, in __call__
    parser.print_help()
  File "/opt/az/lib/python3.8/argparse.py", line 2494, in print_help
    self._print_message(self.format_help(), file)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 195, in format_help
    super(AzCliCommandParser, self).format_help()
  File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 248, in format_help
    self.cli_help.show_help(self.prog.split()[0],
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 165, in show_help
    else self.group_help_cls(self, delimiters, parser)
  File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 253, in __init__
    child.load(options)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 303, in load
    loader.versioned_load(self, options)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help_loaders.py", line 154, in versioned_load
    super(CliHelpFile, help_obj).load(parser)  # pylint:disable=bad-super-call
  File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 198, in load
    description = getattr(options, 'description', None)
  File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 241, in __getattribute__
    self.description = self._description() \
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 133, in description_loader
    op = self.get_op_handler(self.op_path)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
    handler = import_module(mod_to_import)
  File "/opt/az/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/custom.py", line 90, in <module>
    from .vsts_cd_provider import VstsContinuousDeliveryProvider
  File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/vsts_cd_provider.py", line 8, in <module>
    from vsts_cd_manager.continuous_delivery_manager import ContinuousDeliveryManager
ModuleNotFoundError: No module named 'vsts_cd_manager'

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

Open Cloud Shell on https://docs.microsoft.com/ja-jp/azure/app-service/tutorial-connect-msi-sql-database?tabs=windowsclient%2Cefcore%2Cdotnet#code-try-9 .
Type and Run az webapp -h .

Expected Behavior
Show az webapp help.
Environment Summary
Linux-5.4.0-1077-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.8.13
Installer: DEB

azure-cli 2.36.0

Extensions:
aks-preview 0.5.31
spring-cloud 2.8.0
customlocation 0.1.2
connectedk8s 1.1.10
appservice-kube 0.1.20
k8s-extension 0.7.0
ai-examples 0.2.5
ssh 1.1.0

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

@tsubakimoto Thank you for reaching out, we are looking into it.

@tsubakimoto I am able to get it work without any issue, can you please try again and share the debug log?

@RakeshMohanMSFT Thank you for confirmation. However, the error is occuring now.
I tried same page and steps. The result is below.
$ date
Mon 09 May 2022 11:54:38 PM UTC
$ az webapp
The command failed with an unexpected error. Here is the traceback:
No module named 'vsts_cd_manager'
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 583, in execute
    parsed_args = self.parser.parse_args(args)
  File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 261, in parse_args
    return super().parse_args(args)
  File "/opt/az/lib/python3.8/argparse.py", line 1768, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 2009, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/opt/az/lib/python3.8/argparse.py", line 1965, in consume_positionals
    take_action(action, args)
  File "/opt/az/lib/python3.8/argparse.py", line 1874, in take_action
    action(self, namespace, argument_values, option_string)
  File "/opt/az/lib/python3.8/argparse.py", line 1159, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.8/argparse.py", line 2034, in _parse_known_args
    self.error(_('the following arguments are required: %s') %
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 160, in error
    recommender.set_help_examples(self.get_examples(self.prog))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 201, in get_examples
    return self.cli_help.get_examples(command,
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 192, in get_examples
    else self.group_help_cls(self, delimiters, parser)
  File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 253, in __init__
    child.load(options)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 303, in load
    loader.versioned_load(self, options)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help_loaders.py", line 154, in versioned_load
    super(CliHelpFile, help_obj).load(parser)  # pylint:disable=bad-super-call
  File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 198, in load
    description = getattr(options, 'description', None)
  File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 241, in __getattribute__
    self.description = self._description() \
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 133, in description_loader
    op = self.get_op_handler(self.op_path)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
    handler = import_module(mod_to_import)
  File "/opt/az/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/custom.py", line 90, in <module>
    from .vsts_cd_provider import VstsContinuousDeliveryProvider
  File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/vsts_cd_provider.py", line 8, in <module>
    from vsts_cd_manager.continuous_delivery_manager import ContinuousDeliveryManager
ModuleNotFoundError: No module named 'vsts_cd_manager'
To open an issue, please run: 'az feedback'

Azure CLI's version is below.
$ az -v
azure-cli                         2.36.0

core                              2.36.0
telemetry                          1.0.6

Extensions:
aks-preview                       0.5.31
spring-cloud                       2.8.0
customlocation                     0.1.2
connectedk8s                      1.1.10
appservice-kube                   0.1.20
k8s-extension                      0.7.0
ai-examples                        0.2.5
ssh                                1.1.0

Dependencies:
msal                              1.17.0
azure-mgmt-resource               20.0.0

Python location '/opt/az/bin/python3'
Extensions directory '/home/tkmbmbr/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.8/site-packages/azure-cli-extensions'

Python (Linux) 3.8.13 (default, Apr 22 2022, 04:53:00)
[GCC 8.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

@tsubakimoto I am really not sure what is causing the issue, I have seen similar issue in the past due to appservice-kube extension   can you please upgrade it once and check if that helps?

Before upgrade
$ az -v
azure-cli                         2.36.0

core                              2.36.0
telemetry                          1.0.6

Extensions:
aks-preview                       0.5.31
spring-cloud                       2.8.0
customlocation                     0.1.2
connectedk8s                      1.1.10
appservice-kube                   0.1.20
k8s-extension                      0.7.0
ai-examples                        0.2.5
ssh                                1.1.0

Dependencies:
msal                              1.17.0
azure-mgmt-resource               20.0.0

Python location '/opt/az/bin/python3'
Extensions directory '/home/tkmbmbr/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.8/site-packages/azure-cli-extensions'

Python (Linux) 3.8.13 (default, Apr 22 2022, 04:53:00)
[GCC 8.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

Upgrade
$ az upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
You already have the latest azure-cli version: 2.36.0
Upgrading extensions
Checking update for aks-preview
Checking update for spring-cloud
Checking update for customlocation
Checking update for connectedk8s
Checking update for appservice-kube
No updates available for 'appservice-kube'. Use --debug for more information.
Checking update for k8s-extension
Checking update for ai-examples
No updates available for 'ai-examples'. Use --debug for more information.
Checking update for ssh
Failed to delete '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh': [Errno 13] Permission denied: '__init__.py'. Retrying ...
Failed to delete '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh': [Errno 13] Permission denied: '__init__.py'. Retrying ...
Failed to delete '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh': [Errno 13] Permission denied: '__init__.py'. Retrying ...
Failed to delete '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh': [Errno 13] Permission denied: '__init__.py'. You may try to delete it manually.
An error occurred whilst updating.
The extension ssh already exists.
The command failed with an unexpected error. Here is the traceback:
[Errno 17] File exists: '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh'
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/extension/operations.py", line 412, in update_extension
    _add_whl_ext(cli_ctx=cmd_cli_ctx, source=download_url, ext_sha256=ext_sha256,
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/extension/operations.py", line 113, in _add_whl_ext
    raise CLIError('The extension {} already exists.'.format(extension_name))
knack.util.CLIError: The extension ssh already exists.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/command_modules/extension/custom.py", line 34, in update_extension_cmd
    return update_extension(cli_ctx=cmd.cli_ctx, extension_name=extension_name, index_url=index_url,
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/extension/operations.py", line 420, in update_extension
    shutil.copytree(backup_dir, extension_path)
  File "/opt/az/lib/python3.8/shutil.py", line 557, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
  File "/opt/az/lib/python3.8/shutil.py", line 458, in _copytree
    os.makedirs(dst, exist_ok=dirs_exist_ok)
  File "/usr/bin/../../opt/az/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/opt/az/lib/python3.8/site-packages/azure-cli-extensions/ssh'
To open an issue, please run: 'az feedback'
Upgrade finished.You can enable auto-upgrade with 'az config set auto-upgrade.enable=yes'. More details in https://docs.microsoft.com/cli/azure/update-azure-cli#automatic-update

@RakeshMohanMSFT I could not upgrade Azure CLI. Shoud I help to Azure Support?

@tsubakimoto Apologies for not being clear earlier, I meant appservice-kube extension upgrade.
You can use these commands
az extension remove -n appservice-kube
az extension add -n appservice-kube

@RakeshMohanMSFT Thank you so much. I upgraded appservice-kube and this error is fixed!
$ az extension remove -n appservice-kube
$ az extension add -n appservice-kube
The installed extension 'appservice-kube' is in preview.

$ az webapp
the following arguments are required: _subcommand

Examples from AI knowledge base:
az webapp list --query "[].{hostName: defaultHostName, state: state}"
List default host name and state for all web apps.

https://docs.microsoft.com/en-US/cli/azure/webapp#az_webapp_list
Read more about the command in reference docs

Azure CLI version is below.
$ az -v
azure-cli                         2.36.0

core                              2.36.0
telemetry                          1.0.6

Extensions:
aks-preview                       0.5.66
spring-cloud                       3.1.4
customlocation                     0.1.3
connectedk8s                       1.2.8
appservice-kube                    0.1.6
k8s-extension                      1.2.1
ai-examples                        0.2.5
ssh                                1.1.0

Dependencies:
msal                              1.17.0
azure-mgmt-resource               20.0.0

Python location '/opt/az/bin/python3'
Extensions directory '/home/tkmbmbr/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.8/site-packages/azure-cli-extensions'

Python (Linux) 3.8.13 (default, Apr 22 2022, 04:53:00)
[GCC 8.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

@tsubakimoto Glad to hear that the issue is resolved. Closing the issue.


Any specific settings for multicast IPTV?

I have DFP-34X-2C2 SFP module. My ISP provides me at least two VLANs: one for the Internet (VLAN 30) and the second for IPTV (VLAN 20). SFP module is connected into L2 managed switch (port 9) and operates in "Manual Transparent Mode" in terms of VLAN settings of SFP module.

The switch is set up with two additional VLANs (20 and 30). The uplink SFP port 9 is set up as tagged port for both VLAN 20 and 30. Also I have a downstream router which is connected to port 8 of the switch and this port is set up as tagged port for VLAN 30 (Internet). I have a subinterface on a router for Internet traffic and it is working fine.

My goal is to have ISP provided IPTV box working in a separate switch port (port 1 for example). In order to achieve this I set up port 1 as untagged port for VLAN 20 and assign PVID 20 for port 1.

After connecting IPTV box into port 1 it successfully gets an IP address from ISP IPTV subnet and gets access to on-demand services such as movies, tv shows and so on. The only issue occurs with multicast IPTV, it shows just a black screen. I played around with IGMP snooping settings on a switch (turned on and off globally, enabled for specific ports), it detects IGMP queries, but there is no picture on a screen.

In my opinion that should work like a charm, but there is an issue somewhere. I tried to use different firmwares for SFP stick (M114_sfp_ODI_hybrid_221209, M110_sfp_ODI_220304, M114_sfp_ODI_Vlan_220414), I tried Auto mode in VLAN settings, but that doesn't help. Maybe I'm missing something and there are some hidden settings for multicast or IGMP? The counters for multicast packets increase and that frustrates me.

Hope this diag info could help.
# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x03
FilterTbl[0]: PRI 0,CFI 0, VID 10
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x04
FilterTbl[0]: PRI 0,CFI 0, VID 20
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x05
FilterTbl[0]: PRI 0,CFI 0, VID 30
FilterTbl[2]: PRI 0,CFI 0, VID 32
FwdOp:  0x10
NumOfEntries: 2
=================================
=================================
EntityID: 0x06
FilterTbl[0]: PRI 0,CFI 0, VID 40
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x07
FilterTbl[0]: PRI 0,CFI 0, VID 50
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x08
FilterTbl[0]: PRI 0,CFI 0, VID 60
FwdOp:  0x10
NumOfEntries: 1
=================================
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x01
AssociationType: 2
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
INDEX 0
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 15,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 4096, TPID 0, RemoveTags 0
Treatment Inner   : PRI 0,VID 30, TPID 4
INDEX 1
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 60, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 60, TPID 0
INDEX 2
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 32, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 32, TPID 0
INDEX 3
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 30, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 30, TPID 0
INDEX 4
Filter Outer   : PRI 14,VID 4096, TPID 0
Filter Inner   : PRI 14,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 0, TPID 0
INDEX 5
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 14,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 0, TPID 0
AssociatedMePoint: 0x101
DscpToPbitMapping:
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
=================================
=================================
EntityId: 0x02
AssociationType: 10
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
INDEX 0
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 15,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 4096, TPID 0, RemoveTags 0
Treatment Inner   : PRI 5,VID 10, TPID 4
INDEX 1
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 10, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 10, TPID 0
INDEX 2
Filter Outer   : PRI 14,VID 4096, TPID 0
Filter Inner   : PRI 14,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 0, TPID 0
INDEX 3
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 14,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 0, TPID 0
AssociatedMePoint: 0x601
DscpToPbitMapping:
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
	0x000000
=================================

Hi,
This is how I have managed to make IPTV work. I use the M110_sfp_ODI_220923 firmware. The OLT is Huawei, the IPTV system is Mediaroom.
IPTV multicast packets use a different GEM port than the rest of the IPTV traffic. I have GEM ports for Internet, VoIP, TR-069, bidirectional IPTV and downstream IPTV multicast.
# diag gpon show ds-flow
gpon show ds-flow
============================================================
     GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
      0 |     4095 |  ETH |         * |
      1 |     1124 |  ETH |           |   *
      2 |     1121 |  ETH |           |   *
      3 |     1122 |  ETH |           |   *
      4 |     1123 |  ETH |           |   *
     64 |       12 | OMCI |           |
============================================================

First, you should make sure that the ONU forward the multicast stream. I suggest you turn off IGMP snooping on the ONU and connect it directly to a PC to check the forwarded packets with Wireshark. Do you see a substantial amount (~150 Mb/s in my case) of multicast packets arriving? If not, you should tweak the settings. The combination I use is VLAN_CFG_TYPE=1, DIRECT_BRIDGE_MODE=1, DUAL_MGMT_MODE=1. If I change any of these, the multicast packets stop coming.
You should also check if the multicast packets have the same vlan tag as the rest of the iptv traffic. If so, you may skip ahead. If the multicast packets arrive without a tag, you may try VLAN_MANU_MODE=1, VLAN_MANU_TAG_VID=<a random vid that is not used anywhere else>.
If the multicast packets have a different tag (let's use VLAN900 from now on), you have to merge them with VLAN20. I do not yet know how to do that with the ONU. Possible solutions: a switch that can rewrite incoming VLAN tags; a switch with Multicast VLAN Registration support.
Third option is to untag both VLAN20 and VLAN900 on port 1, and set its PVID to 20. A problem with this setup was that my IPTV STB has only a 100 Mb/s port that cannot handle the full unfiltered multicast downstream. I could not do IGMP snooping since VLAN900 was to be filtered but IGMP queries and reports existed on VLAN20. What I did was to use a loopback cable and create a VLAN for the merged traffic that I could successfully filter.
However that was not enough for IPTV to work. My Tatung STB ignores IGMP queries unless they come from the default gateway so connecting it directly to my ISP's IPTV vlan is not an option. I had to put it into a separate subnet and run IGMP proxy on my router.
If anybody knows how to do the IGMP snooping on the ONU, I would love to hear that. I have a 1G/1G internet subscription that I cannot fully utilize because I only have a gigabit switch and the full IPTV broadcast reaches 200 Mb/s during peak hours.

Hi @labuwx, thank you for sharing your experience.
I have the following output for gpon show ds-flow:
gpon show ds-flow
============================================================
     GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
      0 |     4095 |  ETH |         * |
      1 |      260 |  ETH |           |
      2 |      388 |  ETH |           |
      3 |      516 |  ETH |           |
      4 |      644 |  ETH |           |
      5 |      772 |  ETH |           |
      6 |      900 |  ETH |           |
     64 |        4 | OMCI |           |
============================================================

and gpon show us-flow:
gpon show us-flow
============================================================
    GPON ONU MAC U/S Flow Status
Flow ID | GEM Port | Type | TCont
      0 |      260 |  ETH |     0
      1 |      388 |  ETH |     1
      2 |      516 |  ETH |     2
      3 |      644 |  ETH |     2
      4 |      772 |  ETH |     2
      5 |      900 |  ETH |     2
     64 |        4 | OMCI |    16
============================================================

I'll try using M110_sfp_ODI_220923 firmware with your config envs.

Hi @labuwx
I have almost similar problem.
The OLT is Huawei, the IPTV system is ZTE.
I have GEM ports for Internet (vlan11), TR-069 (vlan4000), IPTV (vlan12) and multicast (vlan9).
When I use Hisense sfp everything works perfectly.
When I use sfp ODI with M110_sfp_ODI_220923 firmware (internet ok_vlan11) but whenever I use IPTV the internet is lost (seems sfp freezes) so I need to unplug sfp and then reload it. I also tried with many different firmware versions (and still the same error).
This is a photo taken when using sfp Hisense

And this is from sfp ODI

Got it working via dedicated switch port. The main issue was the fact that multicast traffic is passing through a different VLAN 9. And VLAN 20 is used only for STB registration and on-demand services.

My firmware is M110_sfp_ODI_220923, VLAN_CFG_TYPE=1, DIRECT_BRIDGE_MODE=1, DUAL_MGMT_MODE=1;
IGMP Snooping on the switch is OFF;
Port 9 (SFP ONU stick) on the switch is configured as tagged for VLANs 9, 20, 30;
Port 1 (STB) is configured as untagged for VLANs 9, 20;
Port 1 (STB) is configured as PVID 20.

This is applicable for ISPs MTS and MGTS (Moscow region).
The next step for me is to get it working via router and igmp-proxy.

@Eyeless77

This is applicable for ISPs MTS and MGTS (Moscow region).

vlan 3 - Internet (for ZTE OLT)
vlan 5 - SIP (for ZTE OLT)
vlan 8 - Multicast and IPTV subscription management (for ZTE OLT)
vlan 9 - IPTV multicast
vlan 10 - SIP (for Huawei OLT)
vlan 20 - IPTV set-top box authorization server (for Huawei OLT)
vlan 30 - Internet (for Huawei OLT)
Multicast subnet 5 - encrypted by Verimatrix, used by Ericsson IPTV set-top boxes
Multicast subnet 4 - encrypted by Securmedia, used by Smartlabs IPTV set-top boxes.
Huawei OLT - vlan 9, 10, 20, 30, 40, 50, 60 are formed in GEM ports
ZTE OLT - vlan 3, 5, 8, 9

@skon77 Thank you for sharing your experience. VLAN assignment seems true for my case with Huawei OLT. One more step that I've made is turning off "anyservice" via ISP tech support. With "anyservice" turned on multicast traffic comes untagged. With "anyservice" turned off multicast traffic comes tagged with VLAN9.
There is one more caveat I'm struggling with. It seems that IGMP join requests are forwarded within routed VLAN20 and the actual TV stream returns via VLAN9 and multicast.

Every time I change TV channel, I can see IGMP queries and later then a new source of multicast traffic in VLAN9. I use OPNsense as a router and now the challenge is to forward IGMP queries via VLAN20. I cannot make a bridge of 3 interfaces (STB port, VLAN9, VLAN20), DHCP stops working, it's a known limitation.

One more step that I've made is turning off "anyservice" via ISP tech support. With "anyservice" turned on multicast traffic comes untagged. With "anyservice" turned off multicast traffic comes tagged with VLAN9.

When I first set up the DFP-34X-2C2 my ISP did not push the Multicast operations profile (MIB 309). Then I upgraded my internet subscription, and without me changing anything on the ONU, the multicast frames started to come untagged.
My workaround is to specify a nonexistent vid in VLAN_MANU_TAG_VID, which I guess the ONU would untag if it existed, but this way the ONU keeps the multicast frames tagged in spite of the Multicast operations profile.

@Eyeless77

For your case, I think you just need to create a bridge between STB port and vlan20 (remember to turn off IGMP snooping option)
Have you tried: when using stb, does the router lose internet connection? (while using option VLAN_CFG_TYPE=1 (vlan transparent mode) with M110_sfp_ODI_220923 firmware)

Finally got it working in a routed environment with OPNsense. Described some details in OPNsense community: https://forum.opnsense.org/index.php?topic=35933.msg175397#msg175397


TileMap rendering error after Android export.

Godot version
4.0 Beta 10
System information
Window10
Issue description
As shown in the figure, there is always a problem with TileMap rendering after Android is exported. Does anyone know what the problem is?

If it is exported on PC, there is no problem.

Steps to reproduce
略
Minimal reproduction project
略

Most likely related to low precision on Android

Most likely related to low precision on Android

@Zireael07 This question is very strange. I didn't remember it at first, but it has appeared since I used "Scenes collection" in TileMap; I'm not sure if it has anything to do with this. I want to do some more tests and then have a look.

@Zireael07

I think I found the problem, mainly the rendering problem caused by using "Scenes collection", but I don't know how to solve it. Please, everyone.

@Zireael07
I found a solution, probably because "Scenes collection" can't be placed in the same "TileSet" resource as the common mapping resource. If it is hierarc

hically separated as shown in the figure, there seems to be no error.

I encountered the same problem while making my game.
Version: Godot 4.0
System: Windows 10
Issue Description:
Tilemap renderer breaks in scenes with multiple TileMaps afters Exporting to Android

Poco X4 GT

Samsung A30s

Samsung Galaxy S20 FE
Steps to Reproduce:
1 - Create new project
2 - Configure Exportation for Android following: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_android.html
3 - Set Project Setting Display/Window/Stretch to:
3.1 - Mode : Viewport
3.2 - Aspect : Expand
4 - Create 2D scene
5 - Add Tilemap
6 - Add second Tilemap with transparency in the sprite
7 - Overlap the tiles of the two TileMaps
8 - Export to Android
Minimal Project
Android Tile Rendering Test.zip

The TileSet editor creates a new texture with one-pixel padding around each tile to avoid issues with filtering being enabled. Can you reproduce this if you disable Use Texture Padding in the TileSet atlas properties then export to Android again?

This seems to fix it. Test project now:

Game without fix:

Game with fix:

Thank you! That fixs!
------------------ 原始邮件 ------------------
发件人:                                                                                "godotengine/godot"                                                                                @.>;
发送时间: 2023年3月26日(星期天) 凌晨2:14
@.>;
<EMAIL_ADDRESS>主题: Re: [godotengine/godot] 【Android Tilemap Rendering Bug】TileMap rendering error after Android export. (Issue #71020)
The TileSet editor creates a new texture with one-pixel padding around each tile to avoid issues with filtering being enabled. Can you reproduce this if you disable Use Texture Padding in the TileSet atlas properties then export to Android again?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks @Calinou!
Disabling Use Texture Padding also fixes the rendering issue for me.

This error has also happened to me in one of my games. In my case I also solved it by deactivating "Texture padding", but I also noticed that the first tileset had no glitches, but the tilesets after that were damaged.
It also seems that the second tileset picks up part of the pixels of the first tileset.
The error probably occurs near here:
https://github.com/godotengine/godot/blob/dce1aab174369e9124507f4614fc007301df52e7/scene/resources/tile_set.cpp#L4761

than "Use Texture Padding" should be turned off by default

Then "Use Texture Padding" should be turned off by default

Texture Padding helps a lot avoiding graphical artifacts when scaling tilemaps.
Disabling "Use Texture Padding" can be a temporary patch to avoid having more intense graphical artifacts, but it is not the solution.

Thank you. Now the problem has been solved.
------------------ 原始邮件 ------------------
发件人:                                                                                "godotengine/godot"                                                                                @.>;
发送时间: 2023年10月23日(星期一) 上午6:20
@.>;
<EMAIL_ADDRESS>主题: Re: [godotengine/godot] TileMap rendering error after Android export. (Issue #71020)
Then "Use Texture Padding" should be turned off by default
Texture Padding helps a lot avoiding graphical artifacts when scaling tilemaps.
Disabling "Use Texture Padding" can be a temporary patch to avoid having more intense graphical artifacts, but it is not the solution.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


feat(checkbox): Add support for classModifier in items option

Related issue
Reference to the issue
https://github.com/AxaGuilDEv/react-toolkit/issues/529
Description of the issue
I suggest adding support for the classModifier attribute in property options of the CheckboxInput/RadioInput like this :
<CheckboxInput
        id="TheId"
        label="TheLabel"
        name="TheName"
        mode="classic"
        options={[{
             id: "id1",
             label: "Item 1",
             value: "value 1",
             disabled: false,
             classModifier: condition && "MY_STYLE"
        },
        {
             id: "id2,
             label: "Item 2",
             value: "value 2",
             disabled: false,
             classModifier: condition && "MY_STYLE"
        }]}
        values={value}
        onChange={onChange}
/>

Awesome,
A story update would be webcome in order to test the case and to add a small documentation

I renamed the PR title to correspond with good commit message

@LotfiMEZIANI, do you need help to continue this pullrequest ?

What about this PR ?

@LotfiMEZIANI are you still working on this? Can you fix the issues, rebase with master an push again?


New header UI

I would go to mobile sooner or we can hide ACME STORE and keep the icon on smaller screens.


Confusing assortment of llama cpp python binding packages..

python3 -m pip show llamacpp
Name: llamacpp
Version: 0.1.14
Summary: Python bindings for @ggerganov's llama.cpp
Home-page: https://github.com/thomasantony/llamacpp-python
Author:
Author-email: Thomas Antony<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.10/dist-packages
Requires:
Required-by:

python3 -m pip show llama_cpp_python
Name: llama-cpp-python
Version: 0.1.68
Summary: A Python wrapper for llama.cpp
Home-page:
Author: Andrei Betlen
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.10/dist-packages
Requires: diskcache, numpy, typing-extensions
Required-by:

Both projects trying to do the same thing? Maybe since they aren't working as actively on llamacpp-python, could be a time to unify?

Hey @linuxmagic-mp there's actually even more than just those two bindings yes.
I have a short section in the README on what my goals are and how this project is different from some of the other bindings but the long and short of it is:

At a low-level this project is based on python's built-in ctypes module while most other's I've seen use pybind11. The main benefit of ctypes is that it's quite a bit easier to maintain so this project is fairly up-to-date with llama.cpp. The other benefit is that if you're familiar with the c api for llama.cpp and how to use ctypes you can use the low-level bindings and build you're own systems that don't need to use the "high-level" Llama class so it's a little more hacker friendly in that regard.
The other big feature of this project is the drop-in openai server compatibility, this has made it fairly easy to drop this project into existing apps like LangChain, Microsoft Guidance, etc.

Hope that answers your question!
Cheers.


Use getMimeType instead of getClientMimeType.

Possibly fixes #3979 and #4084.
As stated in the PHPDoc, getClientMimeType is not trustable. As File->getMimeType() defaults to the same value that getClientMimeType instantly returns if fileinfo is not available, we can use this method to more reliably guess extensions.
I feel that this is also related to most of the octet-stream related issues that keep popping up recently, as the mime type provided by the client (browser) often defaults to that (e.g. #3921).
Checklist:

[x] Securely signed commits
[x] Conforms to style guide

Tests are passing locally. Not really sure why fileA.txt gets guessed as csv.

Tests are passing locally. Not really sure why fileA.txt gets guessed as csv.

Are the tests are really passing locally for you? From what I see calling $file->getExtension() is the same as calling $file->guessExtension().

Are the tests are really passing locally for you? From what I see calling $file->getExtension() is the same as calling $file->guessExtension().

:-D I will go through the test steps and see where this happens. I feel the guessing enters the reverse search loop for some reason and thus returns csv as it always does.
Is fileinfo enabled in the Github tests?

:-D I will go through the test steps and see where this happens. I feel the guessing enters the reverse search loop for some reason and thus returns csv as it always does.
Is fileinfo enabled in the Github tests?

I just sat down at my computer to check it and tests are failing for me also. The mime type returned by the OS for this file is application/octet-stream. But... when I added some content to this file, it started to be recognized correctly.

I just sat down at my computer to check it and tests are failing for me also. The mime type returned by the OS for this file is application/octet-stream. But... when I added some content to this file, it started to be recognized correctly.

Interesting, but would match the failing test upstream. What OS are you on? I'm on Win10.

Interesting, but would match the failing test upstream. What OS are you on? I'm on Win10.

macOS and a virtual machine with Ubuntu, so the environment is similar to GitHub actions.
I got the same results on both.

macOS and a virtual machine with Ubuntu, so the environment is similar to GitHub actions.
I got the same results on both.

Okay. I will try to add some content to it.
Originally, fileA and fileB only contain a single line break. I found that in Windows if I remove the line break, they are detected as application/empty.
So maybe this is some issues with special character only files or such?

Okay. I will try to add some content to it.
Originally, fileA and fileB only contain a single line break. I found that in Windows if I remove the line break, they are detected as application/empty.
So maybe this is some issues with special character only files or such?

Originally, fileA and fileB only contain a single line break. I found that in Windows if I remove the line break, they are detected as application/empty.

Yes, here it acts similar, I get inode/x-empty. But I'm not gonna pretend I have an idea why it is happening 😅 I guess empty files just fallback to the default mime type automatically?

Originally, fileA and fileB only contain a single line break. I found that in Windows if I remove the line break, they are detected as application/empty.

Yes, here it acts similar, I get inode/x-empty. But I'm not gonna pretend I have an idea why it is happening 😅 I guess empty files just fallback to the default mime type automatically?

Seems like that. O would think the same for the original files. Maybe on Mac/Ubuntu a file with only line break is not detected as text because it does not consider special characters as text characters. If we aplly the other MIME type PR (or similar), these would return null as guessed extension, which I feel to be the most right, as no content type can be deduced from empty/special char only files.
How do you feel about this?

Seems like that. O would think the same for the original files. Maybe on Mac/Ubuntu a file with only line break is not detected as text because it does not consider special characters as text characters. If we aplly the other MIME type PR (or similar), these would return null as guessed extension, which I feel to be the most right, as no content type can be deduced from empty/special char only files.
How do you feel about this?

Yes, I think it's correct and the null value would be desired in that case. Following what OS returns is the best thing we can do here.

Yes, I think it's correct and the null value would be desired in that case. Following what OS returns is the best thing we can do here.

Oh.. and as for this PR I think we should modify those files (add content to them), so they can be recognized correctly.

Oh.. and as for this PR I think we should modify those files (add content to them), so they can be recognized correctly.

Alright.
Can I add a rar file to the files also or is this considered unsafe?
Would be nice to also text with non-text mime types.

Alright.
Can I add a rar file to the files also or is this considered unsafe?
Would be nice to also text with non-text mime types.

I don't see a problem. Just keep the size really small, and the number of files you want to test sane 😄

I don't see a problem. Just keep the size really small, and the number of files you want to test sane 😄

Seems to work. Thanks @michalsn!

Seems to work. Thanks @michalsn!

Alright, feel free to add to the draft or redraft :-)

Alright, feel free to add to the draft or redraft :-)

Thank you @sfadschm!

Thank you @sfadschm!


Django CMS with MariaDB throws errors on manage.py migrate

Summary
When setting up Django CMS on a site using MariaDB, you can't get past the 0008_auto_20150121_0059 migration file.  Django throws the error:
ValueError: Found wrong number (0) of constraints for cms_page(publisher_is_draft, application_namespace)
If you hack the migration file (i.e., make the constraint match the table) you can get past this, but you IMMEDIATELY run into similar issues with cms-filer, cms-picture, etc.
I've tried this on other vagrant boxes with both MySQL 5.7.18 and Postgres 9.2(?) and the install works flawlessly.  However, I've also tested with MariaDB v5.5, and it fails in exactly the same place.   AFAICT MariaDB is simply not compatible with Django CMS - but I can't for the life of me figure out why.
Environment

Python version:  2.7.5
Django version:  1.8.18
django CMS version: 3.4.5
MariaDB version:  mysql  Ver 15.1 Distrib 10.2.10-MariaDB, for Linux (x86_64) using readline 5.1
OS: CentOS 7.4 (on a vagrant box bento/centos-7.4)

Expected behaviour
Migrating the database from a cold install should work.
Actual behaviour
% manage.py migrate crashes as described above.

Thanks for reporting this.
Closing as duplicate of https://github.com/divio/django-cms/issues/5716


Optifine shaders compatibility for 1.20.1

Suggestion Type
Train visual/audio effects
Suggestion
Hi, when using shaders, the textures are bugged and not visible correctly.

Assets
No response
Implementation Details and References
I'm using Sildur's Vibrant shaders

Optifine is not supported as of MTR 4.0.
If you are on Forge, please switch to mods like Rubidium and Oculus to achieve performance boost and shaders.
For fabric, switch to Sodium and Iris


Shader per-instance uniform error spam if more than 1 mesh with that material is used in the editor

Godot version
4.0.dev.mono (1e71cab79775137beade1d9f78c709a1a4f97cfc)
System information
Arch Linux, AMDGPU, Vulkan Mobile (Project Renderer)
Issue description
When you add shader material to a mesh, you are able to use instance uniform, so every instance can be with different value.
It works fine, until you add more than 1 of that mesh to a scene. Or something like that, I can't debug it exactly.
Now when you reload the editor and open that scene, I get somewhere like 3000 errors per second and you don't see the meshes. You can stop it by going to the original mesh scene and open it. Once opened you no longer get errors, even in the main scene.
This doesn't really affect the game, but it's really annoying since I have to open that scene every time I open my editor, or I get flooded by errors, and Godot crashes.

Error messages follow this pattern:
Uniforms supplied for set (3):
  Set: 3 Binding: 0 Type: UniformBuffer Length: 112
  Set: 3 Binding: 1 Type: Texture Length: 1
  Set: 3 Binding: 2 Type: Texture Length: 1
  Set: 3 Binding: 3 Type: Texture Length: 1
  are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  Set: 0 Binding: 1 Type: Sampler Length: 12
  Set: 0 Binding: 2 Type: Sampler Length: 1
  Set: 0 Binding: 3 Type: Sampler Length: 1
  Set: 0 Binding: 4 Type: Sampler Length: 1
  Set: 0 Binding: 5 Type: StorageBuffer Length: 0
  Set: 0 Binding: 6 Type: StorageBuffer Length: 0
  Set: 0 Binding: 7 Type: StorageBuffer Length: 0
  Set: 0 Binding: 8 Type: UniformBuffer Length: 4224
  Set: 0 Binding: 9 Type: StorageBuffer Length: 0
  Set: 0 Binding: 10 Type: StorageBuffer Length: 0
  Set: 0 Binding: 11 Type: Texture Length: 1
  Set: 0 Binding: 12 Type: Texture Length: 1
  Set: 0 Binding: 13 Type: StorageBuffer Length: 0
  Set: 0 Binding: 14 Type: StorageBuffer Length: 0
  Set: 1 Binding: 0 Type: UniformBuffer Length: 2784
  Set: 1 Binding: 2 Type: Texture Length: 1
  Set: 1 Binding: 3 Type: Texture Length: 1
  Set: 1 Binding: 4 Type: Texture Length: 1
  Set: 1 Binding: 5 Type: Texture Length: 1
  Set: 1 Binding: 6 Type: Texture Length: 2
  Set: 1 Binding: 9 Type: Texture Length: 1
  Set: 1 Binding: 10 Type: Texture Length: 1
  Set: 2 Binding: 0 Type: StorageBuffer Length: 0
  Set: 3 Binding: 0 Type: UniformBuffer Length: 16
  Set: 3 Binding: 1 Type: Texture Length: 1

Steps to reproduce

Open minimal reproduction project
When you open Scene.tscn, you should get many errors, and you shouldn't be able to see the Spheres.
Open Sphere.tscn
Open Scene.tscn and the Spheres should display properly, without errors.

This only affects the Editor, no errors are shown in the actual game.
Minimal reproduction project
ShaderInstanceError.zip

Update: Happens only on Vulkan Forward Mobile renderer

Maybe related to this issue. When opening multiple scenes with the same mesh inside, sometimes this mesh can only be seen in one scene only, in the others you get a bunch of error messages.

Okay, tried with newer version of Godot. Maybe it's a caching problem.
Now, you don't have to open every problematic file to fix the errors, you have to just open the main scene, close it, and open it again.
Now I see that the Godot editor remembers my last opened tabs of the project, and when I reload it, it's as if I haven't closed it. Without being aware of this feature, it led me to make a wrong assumption and though the issue was because of the Vulkan Mobile backend, but it happens on Vulkan Clustered too.
This new feature seems to cache the scene or something like that, and most of the times, if I close the project with this scene opened, and open the project again, there aren't any errors; but's it's really inconsistent and doesn't work every time.

Seems like it's fixed in the latest alpha. Amazing!