What causes a "converter seems to be shut down" error?

Hi,
I'm running the standalone server on a machine with Windows Server 2008 R2 Standard and Microsoft Office 2010 32 bit.
It produces a "The converter seems to be shut down" error on a DOCX to PDFA conversion.
The server successfully starts a WINWORD.EXE and an EXCEL.EXE process at startup.
Any idea what the issue could be?
Thanks
Attached below is the entire server log.

18:31:41.651 [main] INFO com.documents4j.ws.application.StandaloneWebConverterConfiguration - Standalone conversion server is starting: starting up local converter
18:31:41.705 [main] DEBUG org.zeroturnaround.exec.ProcessExecutor - Executing [cmd, /S, /C, ""C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\word_start986382467.vbs""] in C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0.
18:31:41.710 [main] DEBUG org.zeroturnaround.exec.ProcessExecutor - Started java.lang.ProcessImpl@363a52f
18:31:42.142 [WaitForProcess-java.lang.ProcessImpl@363a52f] DEBUG org.zeroturnaround.exec.WaitForProcess - java.lang.ProcessImpl@363a52f stopped with exit code 3
18:31:42.150 [main] INFO com.documents4j.conversion.msoffice.MicrosoftWordBridge - From-Microsoft-Word-Converter was started successfully
18:31:42.161 [main] DEBUG org.zeroturnaround.exec.ProcessExecutor - Executing [cmd, /S, /C, ""C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\excel_start1903292155.vbs""] in C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0.
18:31:42.162 [main] DEBUG org.zeroturnaround.exec.ProcessExecutor - Started java.lang.ProcessImpl@4c1f22f3
18:31:42.444 [WaitForProcess-java.lang.ProcessImpl@4c1f22f3] DEBUG org.zeroturnaround.exec.WaitForProcess - java.lang.ProcessImpl@4c1f22f3 stopped with exit code 3
18:31:42.447 [main] INFO com.documents4j.conversion.msoffice.MicrosoftExcelBridge - From-Microsoft-Excel-Converter was started successfully
18:31:42.455 [main] INFO com.documents4j.job.LocalConverter - The documents4j local converter has started successfully
18:31:42.455 [main] INFO com.documents4j.ws.application.StandaloneWebConverterConfiguration - Standalone conversion server is starting: local converter is started
18:31:53.087 [Grizzly-worker(1)] INFO com.documents4j.ws.endpoint.AsynchronousConversionResponse - Registered conversion request for org.glassfish.jersey.server.ServerRuntime$AsyncResponder@124544
18:31:53.233 [pool-2-thread-1] INFO com.documents4j.conversion.msoffice.MicrosoftWordBridge - Requested conversion from C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0776d8cdb->4094-4006-a77d-2c84805fc6d0\temp1 (application/vnd.openxmlformats-officedocument.wordprocessingml.document) to C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\776d8cdb-4094-4006-a77d-2c84805fc6d0\temp2 (application/vnd.com.documents4j.pdf-a)
18:31:53.236 [pool-2-thread-1] DEBUG org.zeroturnaround.exec.ProcessExecutor - Executing [cmd, /S, /C, ""C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\word_convert290731350.vbs" "C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\776d8cdb-4094-4006-a77d-2c84805fc6d0\temp1" "C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0\776d8cdb-4094-4006-a77d-2c84805fc6d0\temp2" "999""] in C:\Users\ADMINI~1\AppData\Local\Temp\1494347501663-0.
18:31:53.238 [pool-2-thread-1] DEBUG org.zeroturnaround.exec.ProcessExecutor - Started java.lang.ProcessImpl@5f67048f
18:31:53.328 [WaitForProcess-java.lang.ProcessImpl@5f67048f] DEBUG org.zeroturnaround.exec.WaitForProcess - java.lang.ProcessImpl@5f67048f stopped with exit code -6
18:31:53.333 [pool-2-thread-1] INFO com.documents4j.ws.endpoint.AsynchronousConversionResponse - Sending exceptional response for org.glassfish.jersey.server.ServerRuntime$AsyncResponder@124544
com.documents4j.throwables.ConverterAccessException: The converter seems to be shut down
at com.documents4j.util.Reaction$ConverterAccessExceptionBuilder.make(Reaction.java:117)
at com.documents4j.util.Reaction$ExceptionalReaction.apply(Reaction.java:75)
at com.documents4j.conversion.ExternalConverterScriptResult.resolve(ExternalConverterScriptResult.java:70)
at com.documents4j.conversion.ProcessFutureWrapper.evaluateExitValue(ProcessFutureWrapper.java:48)
at com.documents4j.conversion.ProcessFutureWrapper.get(ProcessFutureWrapper.java:36)
at com.documents4j.conversion.ProcessFutureWrapper.get(ProcessFutureWrapper.java:11)
at com.documents4j.job.AbstractFutureWrappingPriorityFuture.run(AbstractFutureWrappingPriorityFuture.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Did you start Word manually and see if some form of Wizard is running? There is a script in the MS Word Bridge that you can run manually. If this message is shown, it indicates that the .NET script did not successfully get an instance of MS Word. To debug, you can take the script and run it manually, trying to tweak it. This VBS script is really just a few lines long.

Thanks for your reply.
Word 2010 loads fine when started manually.
I ran word_start.vbs manually and it seems to be starting a new instance of Word for every execution - even if an existing WINWORD.exe is up (for the same user). So there's an issue with the script's connecting to an existing Word instance.
I suspect this is related to various changes we did on the environment (DCOM) to support a previous conversion implementation..

This means that the started instance is not accessible for the second run as the script checks if an instance is already running. This also explains why the conversion fails as the instance from the first run is not accessible to the second.

By changing the Word DCOM application identity to "Launching User" the problem has been resolved.

identity

How to change  the Word DCOM application identity to "Launching User"


Improve before/after event API

[ ] remove requirement to return args/kwargs
[ ] include automatic argument matching (if argument list is inclomplete)

Closed in favor of better/more complete proposal #73.


feat: update to support laravel-mix@^6

I've been trying to get this working with Laravel Mix 6, however as Mix 6 now uses Webpack 5, it doesn't support extending the compiler.hooks object that was added in #14 (hooks have been frozen as per v5).
I'm not entirely sure how the new WeakMap format works, so I haven't been able to implement it. 🤔 Without this, everything appears to work, although obviously the Minify Jigsaw plugin won't work. @thelevicole, do you have any idea on how this can be implemented? 🤔

EDIT: I've re-added support for the hook in Webpack 4, but trying to work out how to add it for Webpack 5. 🤔

@owenvoke thanks a ton for getting this started! I've added a hook using the new WeakMap approach based on how https://github.com/jantimon/html-webpack-plugin does it. The build works, but I'm not done testing that Webpack 4 still works or that other plugins like the HTML minification one can actually use the new hook 😅

Ah, thank you! I just realised how I'd done the isWebpack4 variable was pretty bad so thanks for updating that too. 👍🏻 This looks great and I'll give it a test too. 😁

I hope you two don't mind me chiming in to drop an extremely grateful thank you for working on this. It's been very helpful for a project I've been trying to get done over break!

@tpavlek glad to hear it!
@owenvoke no worries I copied it from html-webpack-plugin 😅
This will definitely need more testing, but I think the new 'right' way for other plugins to access the hook, like the minification one, is this:
const { getJigsawHooks } = require('laravel-mix-jigsaw/hooks');

class MinifyJigsawOutput {
    apply(compiler) {
        compiler.hooks.compilation.tap('MinifyJigsawOutput', (compilation) => {
            getJigsawHooks(compilation).done.tap('MinifyJigsawOutput', () => {
                // plugin stuff
                console.log('Done');
            });
        });
    }
}

This seems to be working for me locally.

Not sure if changing from done to afterEmit will affect anyone... it's necessary to use a WeakMap though because we need the compilation object.

I'm here for this 🙌
Thanks for working on this guys!

I'm here for this 🙌
Thanks for working on this guys!

Well, from my (not so thorough) testing on my site in development, this seems like it works. 🤷🏻 However, I don't use the Minify plugin so haven't tested the hook. I'm going to mark this as ready for review so more people can test. 👍🏻

Well, from my (not so thorough) testing on my site in development, this seems like it works. 🤷🏻 However, I don't use the Minify plugin so haven't tested the hook. I'm going to mark this as ready for review so more people can test. 👍🏻

I've now tested this with the HTML Minify plugin, and that seems to work as expected with Laravel Mix 6 as well after these changes. 👍🏻

I've now tested this with the HTML Minify plugin, and that seems to work as expected with Laravel Mix 6 as well after these changes. 👍🏻

Thanks again @owenvoke! Will tag a release shortly.

Thanks again @owenvoke! Will tag a release shortly.


Outdated NuGet package

https://www.nuget.org/packages/Microsoft.ApplicationInsights.NLogTarget/
Dependencies
Microsoft.ApplicationInsights (>= 1.2.3)
NLog (>= 2.1.0)
It references 1.2.3 version but when installed with 2.0.1 it simply fails

That you for reporting the issue. We will update logging adapters soon.

@wgebczyk Could you please provide the information on what failure you see? I'm updating reference now but I do not see compatibility issues. I also tried a sample from our readme page and it works fine after the update.

We've just released updated nugets. Though as I said before you should not have had any compatibility issues when updating just AI from 1.2.3 to 2.0.0. So if you still see issues please post it separately with information on what failures you get.


Describe the TR link as the "latest published version".

Since usually the ED will be more "latest" than the TR. This matches
ReSpec's wording.

I'd have thought this would rub afoul of pubrules, but if ReSpec did it, I guess we're ok.

I haven't checked pubrules, but https://www.w3.org/TR/permissions/ uses exactly this wording.

hum, so 'specberus' doesn't like this :-/

actually, disregard that, specberus seems to be fine


Add OTDR file parser to README

Nice and easy one (much like writing my first parser with nom - thanks for this!) - adding a OTDR SOR file parser to the README list of parsers.

Coverage remained the same at 87.592% when pulling 763f737811e7cd3a2f109dae4d4210c09c7018d6 on JamesHarrison:patch-1 into 47fdc2dd94bd113f4a95dd0c29188616ab83e182 on Geal:master.


[v0.1] Use more DIY friendly packages

All of the components on the board are available in larger/coarser packages than the v0.1 design. Switching to 0603 min passives and replacing BGA/CSP packages with QFN/DFN would make the board easier to assemble and examine while not making it much larger.

Aye... I wanted to build this but PCBway barfed it back out saying the clearance is too small (minimum 0.1mm, but wider is much cheaper). Board seems to have 0.08mm. Would much prefer a larger board that omits USB/Thunderbolt passthrough, something simple that just lets me intercept USB-PD data, something just in my personal toolkit to help observe the invisible (and sometimes problematic) things that devices do...


Add support for windows

I don't currently have a windows computer, but implementing support for windows should not be an insurmountable task. Would be nice to have both msvc and gnu targets enabled on the CI.

libuvc itself does not really support Windows well.
https://github.com/pupil-labs/libuvc
You will have better lucks with the above libuvc fork for Windows.

I plan on making a uvc-src-win crate with the pupil-labs fork instead for windows support.

As for CI, I plan on to move to a privately hosted Jenkins Blue Ocean instance with win,mac,linux runners.


Inline symlinked when outside of root

Currently Up supports symlinks, however these will fail your files are outside of the root dir as they're not in the zip at all. We could just readlink and pull the file in.

Hey @tj I just want to bump this. Would you consider giving this a go or is this not high up on your priority list. Thanks. 🙇♂

I'll try and check it out soon, I don't think too many people are hitting it but it should be pretty quick to add! I should have written down the use-case hahah, it was for Yarn workspaces or something like that right?

This would be awesome! Yes, this was for monorepos — yarn, lerna, etc.

I am sure you are not doing anything wrong. Yarn seems to use nodes module resolution, lerna though uses symlinks.

ahhh darn, we might be out of luck there unless Up becomes Node-aware to resolve the same way. It would be cool if they had a mode to symlink everything

There is also bolt for mono repos which symlinks everything — https://github.com/boltpkg/bolt

We are running into the exact same issue with Lerna and Yarn workspaces. We hacked our way around this issue in CI by not using workspaces there and running yarn install again within our package folder but it's far from ideal.

@tj & I talked on slack. yarn has a nohoist configuration option, that can be used on the package that uses up.
nohoist will cause yarn to download external dependencies into the package node_modules directory & symlink to the dependency packages in the monorepo. It would be sufficient if up were to zip the files contained in each of the symlinks.
A temporary fix would be to reference internal monorepo packages using file:../../packages/my-internal-package to reference the dependency in package.json.


Fix typo in function name IMG_LoadSizedSVG_RW.

Building the master branch results in the following error:
go-sdl2/img/sdl_image.go:436:14: could not determine kind of name for C.IMG_LoadSizedSVG_RW
In sdl_image.go:14, instead of SDL_ it should be IMG_.
Github issue: https://github.com/veandco/go-sdl2/issues/602

Thank you @jabolopes for the fix!


bug(mat-table): *matNoDataRow not displayed when data is empty

Reproduction
https://stackblitz.com/edit/components-issue-uj7g1k
Steps to reproduce:

Notice that no message is displayed when array is empty.

Uncomment the data in ELEMENT_DATA array, and apply "abc" to the filter, now a message from matNoDataRow is displayed

Expected Behavior
What behavior were you expecting to see?
When data is an empty array, it should display the matNoDataRow
Actual Behavior
It only shows matNoDataRow if the data has at least one value before applying the filter.
Environment

Angular: 10.0.3
CDK/Material: 10.0.2
Browser(s):  Chrome
Operating System Windows

Just updated my project from version 9 to version 10 and still not working
My versions:
"@angular/material": "^10.1.0",
"@angular/core": "~10.0.5",

It's merged, but it's not on npm yet.
Probably in next version (~in a couple of days) it will be available.


Deploy new version of orbit-web

Hey there! This is an automated message asking if you could deploy QmPAtuDVkVEXktJrwML37RrhFj6c5TyX85yBKJDbsRLobP to orbit.chat. Thanks!
Let us know if there's any more information you need to deploy it. Thank you! :)
<3

Making a new build, closing this.


Flag domain users

Identifying domain users will allow us to establish relationships. It will also allow us to identify possible kernel keyrings as needed for #19. We'll continue to track the wider re-engineering under #6.

Identifying domain users will allow us to establish relationships. It will also allow us to identify possible kernel keyrings as needed for #19. We'll continue to track the wider re-engineering under #6.


[CT-53] [Bug] Possible regression - dbt 1.0 doesn't work properly if alias has quotes in them

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
With dbt 1.0, a model that has quotes in it's alias config ('"my_Model_1"') will run into an approximate match error on the next run of the model. dbt 0.21 will happily recreate that model on each run.
Note that project level quoting is unspecified in the dbt_project.yml for either case and this happens with both core and cloud.
Expected Behavior
dbt 1.0 should follow 0.21 behaviour and recreate the model on each run - maybe? Unless we're saying 1.0 is the well behaved pattern. Fyi, the use-case here is that some users have model/alias/table names that they want to only quote some of the time and not all of the time (such as setting the quoting config on the project level) and they have been using this pattern pre-1.0.
Steps To Reproduce
Create a simple model:
-- models/my_model_1.sql
{{ config(alias = '"my_Model_1"') }}

select 1 as user

And a simple dbt_project.yml file:
name: "snowflake"
version: "1.0.0"
config-version: 2
profile: "snowflake"
model-paths: ["models"]
target-path: "target"
clean-targets:
  - "target"
  - "dbt_modules"
  - "dbt_packages"

models:
  snowflake:
    +materialized: view

Then run twice:
dbt clean && dbt run
dbt clean && dbt run

Relevant log output
01:46:51.418915 [debug] [Thread-1  ]: Began running node model.snowflake.my_model_1
01:46:51.420406 [info ] [Thread-1  ]: 1 of 1 START view model dbt_jyeo."my_Model_1"................................... [RUN]
01:46:51.422083 [debug] [Thread-1  ]: Acquiring new snowflake connection "model.snowflake.my_model_1"
01:46:51.422523 [debug] [Thread-1  ]: Began compiling node model.snowflake.my_model_1
01:46:51.422864 [debug] [Thread-1  ]: Compiling model.snowflake.my_model_1
01:46:51.426938 [debug] [Thread-1  ]: Writing injected SQL for node "model.snowflake.my_model_1"
01:46:51.428018 [debug] [Thread-1  ]: finished collecting timing info
01:46:51.428321 [debug] [Thread-1  ]: Began executing node model.snowflake.my_model_1
01:46:51.448521 [debug] [Thread-1  ]: finished collecting timing info
01:46:51.449002 [debug] [Thread-1  ]: Compilation Error in model my_model_1 (models/my_model_1.sql)
  When searching for a relation, dbt found an approximate match. Instead of guessing
  which relation to use, dbt will move on. Please delete "DEVELOPMENT"."DBT_JYEO"."my_Model_1", or rename it to be less ambiguous.
  Searched for: DEVELOPMENT.DBT_JYEO."MY_MODEL_1"
  Found: "DEVELOPMENT"."DBT_JYEO"."my_Model_1"

  > in macro create_or_replace_view (macros/materializations/models/view/create_or_replace_view.sql)
  > called by macro materialization_view_snowflake (macros/materializations/view.sql)
  > called by model my_model_1 (models/my_model_1.sql)
01:46:51.449359 [debug] [Thread-1  ]: Sending event: {'category': 'dbt', 'action': 'run_model', 'label': 'adce82d8-4d73-487c-8b9f-f9c1ca6c8e48', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x107ae59d0>]}
01:46:51.449707 [error] [Thread-1  ]: 1 of 1 ERROR creating view model dbt_jyeo."my_Model_1".......................... [ERROR in 0.03s]
01:46:51.450058 [debug] [Thread-1  ]: Finished running node model.snowflake.my_model_1
01:46:51.451409 [debug] [MainThread]: Acquiring new snowflake connection "master"
01:46:51.451882 [info ] [MainThread]:
01:46:51.452267 [info ] [MainThread]: Finished running 1 view model in 5.60s.
01:46:51.452577 [debug] [MainThread]: Connection 'master' was properly closed.
01:46:51.452795 [debug] [MainThread]: Connection 'model.snowflake.my_model_1' was properly closed.
01:46:51.458308 [info ] [MainThread]:
01:46:51.458703 [info ] [MainThread]: Completed with 1 error and 0 warnings:
01:46:51.459107 [info ] [MainThread]:
01:46:51.459646 [error] [MainThread]: Compilation Error in model my_model_1 (models/my_model_1.sql)
01:46:51.460105 [error] [MainThread]:   When searching for a relation, dbt found an approximate match. Instead of guessing
01:46:51.460545 [error] [MainThread]:   which relation to use, dbt will move on. Please delete "DEVELOPMENT"."DBT_JYEO"."my_Model_1", or rename it to be less ambiguous.
01:46:51.461050 [error] [MainThread]:   Searched for: DEVELOPMENT.DBT_JYEO."MY_MODEL_1"
01:46:51.461377 [error] [MainThread]:   Found: "DEVELOPMENT"."DBT_JYEO"."my_Model_1"
01:46:51.461813 [error] [MainThread]:
01:46:51.462496 [error] [MainThread]:   > in macro create_or_replace_view (macros/materializations/models/view/create_or_replace_view.sql)
01:46:51.462891 [error] [MainThread]:   > called by macro materialization_view_snowflake (macros/materializations/view.sql)
01:46:51.463398 [error] [MainThread]:   > called by model my_model_1 (models/my_model_1.sql)
01:46:51.464069 [info ] [MainThread]:
01:46:51.464997 [info ] [MainThread]: Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1
01:46:51.465708 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x1079bd190>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x107134490>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x107a9faf0>]}

Environment
- OS: macOS 12.1 (also tested in dbt Cloud)
- Python: 3.9.7
- dbt: 1.0.1

What database are you using dbt with?
snowflake
Additional Context
dbt 1.0.1

dbt 0.21.0

Seems relevant: https://github.com/dbt-labs/dbt-core/issues/3835#issuecomment-911477835

Hi @jeremyyeo , thanks for submitting the issue and steps to reproduce! And sorry for the delayed response! I talked with @jtcohen6 this morning about this. With the information we currently gathered, we think we are not going to fix this, but rather prefer users set all quoting config to False as recommended here. This is because a design choice Snowflake made to uppercase unquoted identifiers.
The quoting for the project can't be set for an individual model. However, the quote for sources is more configurable. Since we do understand sometimes the naming convention for those tables is out of the analyst's hand.
Let me know if you believe we definitely need to keep supporting the exact behavior in 0.21 for this case and we can reopen the issue.

Hey @ChenyuLInx, keen to kick this back open again. There are some customers who have legacy reason that their tables have special characters, and thus they have been doing something like this on Snowflake all this while (pre-1.0) without errors:
-- my_table_model.sql
{{ config(alias='"FOO_/BAR123"') }}
select 1 as user_id

Now as soon as they upgrade to dbt 1.0, they are hit with the approximate match error on a subsequent dbt run. Cool so now what's our path forward from here?
We can try removing the quotes from the alias and set the project level quoting.identifier to true:
-- my_table_model.sql
{{ config(alias='FOO_/BAR123') }}
select 1 as user_id

# dbt_project.yml

quoting:
  identifier: true

Looks like this works:

Now what happens if they had previously been using a package like our logging package in their project (and so some of those audit logging tables already exists)?
Let's give it a shot:
# packages.yml
packages:
  - package: dbt-labs/logging
    version: 0.6.0

dbt deps
dbt run

We run into our good friend approximate match:

This means that now they have to do some tweaking (maybe drop the previous logging table or rename it in Snowflake, or change some of the code in the logging package, etc).
Now, I only tested this toy example (+ 1 package) but I imagine that if we get into incremental materializations and what not it is only going to become more tedious to upgrade.
So for users who cannot escape using special characters in their table names[^1], I propose we revert the behaviour or it is going to be difficult to figure out a happy path of migration from a pre-1.0 to a post-1.0 world for these users.
[^1]: Certainly the world will be a better place if everyone just used snake_case erywhere in dbt land - sql file names, alias names, etc and be done with casing :wink:

@jeremyyeo I'm very sympathetic to users who need to handle special characters in sources, over which they have no control. But is there really no choice for users who have special characters in model table names, over which they should have full control? It really leads to such a worse experience all around, both for the dbt developers, and for us trying to debug these issues.
I appreciate the complexity of the v1.0 migration, given that we're asking folks to upgrade pretty soon. I could see supporting an optional config (flag / env var) that optionally undoes the change made in https://github.com/dbt-labs/dbt-core/pull/4076, only as a temporary salve while folks work on switching to snake-case model identifiers. Something like:
dbt --unsafe-cache-quote-behavior run
DBT_UNSAFE_CACHE_QUOTE_BEHAVIOR=True dbt run


lxd group error when turning on developer mode

usermod: group 'lxd' does not exist when turn on devmode. User ends up in wheel, incus-admin, and libvirt group anyway. This is probably a packaging thing from wherever we're sourcing lxd from?

We don't ship LXD anymore

Looks like we do on 40 still?

Ah. Let me check if LXD is even being updated by ganto.


Panic documentation for int_in_range is wrong

Panics if range.start >= range.end. That is, the given range must be non-empty.

Actually, start == end will not panic.

Thanks 👍


Add the ability to schedule campaigns

I think that scheduling campaigns to be sent at a specific time (or even repeatedly) is very necessary for a project such as this one; in my opinion, this is one of the most important features of a marketing email service.
I seriously appreciate all the work that has gone in to making this project.

Thanks for the suggestion :) We will consider it for the upcoming project
goals!

Glad to hear!
I personally use ConstantContact to send a daily email to 1000+ subscribers, and almost never send an email right away; I tend to schedule campaigns from about a week before. Also, as a developer, I use the CC API to manage my subscribers and schedule emails, making my life a lot easier. (Hence the two feature addition suggestions :) )

@joepin This is a feature that would be a very valuable addition, no question. I think we have a few other tasks prior to its implementation, but it's the next on the list and I envisage that it would be part of the implementation of an API for the app that could be used to securely use it as a remote service. Thanks for the suggestion, will close this after we add it to our project management approach following a discussion with @karuppiah7890 & @zhakkarn


Fix for nps issue #1514

Regression test plus fix for https://github.com/pagespeed/ngx_pagespeed/issues/1514
(@morlovich: your comments from before this PR have been addressed)

@morlovich Thanks -- updated the doc comment to mention the reference count cycle & merged


agentEnvVars are being applied outside of the cluster they were added to

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

rancher on v2.5-head (b4be2b2)
provision downstream cluster behind proxy (follow instructions here for full downstream proxy instructions.  instructions for adding agentEnvVars through v3 api is also included there)
delete downstream proxied cluster
provision normal downstream cluster (not behind proxy)
add a new git repo (example here for fleet)

Result:
fleet-agent has the error level=error msg="Current credential failed, failing back to reregistering: Get \"https://<rancher_server_ip>/apis/fleet.cattle.io/v1alpha1/namespaces/cluster-fleet-default-<cluster_id>-<bundle_id>/bundledeployments\": proxyconnect tcp: dial tcp <proxy_private_ip>:<proxy_port>: i/o timeout"
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5-head (b4be2b2)
Installation option (single install/HA): single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): proxied cluster -> imported, normal cluster -> linode provisioned

Machine type (cloud/VM/metal) and specifications (CPU/memory): proxied cluster -> 2vCPU, normal cluster -> 4vCPU

Kubernetes version (use kubectl version): v1.20.4

Docker version (use docker version): v20.10.3

Should be fixed with https://github.com/rancher/rancher/issues/29993

rancher/rancher:v2.5-head 31f00c1
rancher/fleet:v0.3.5-rc5

Create a proxy server
Create a Rancher server that is not behind a proxy (public IP only)
Create a node with no public IP, configured to use a proxy, and install k3s on this node
Import the proxied k3s cluster and include the proxy information in the Agent Environment variables section
The k3s cluster registers successfully to the Rancher server
Deploy a GitRepo to the imported & proxied k3s cluster
The bundle deploys successfully
Create a non-proxied Digital Ocean cluster
The cluster creates successfully and the fleet agent does not try to connect to the proxy
Create a GitRepo and see it deployed to the non-proxied downstream cluster successfully

Forwardport for master: https://github.com/rancher/rancher/issues/32244


KAFKA-16710:Continuously makeFollower may cause the replica fetcher thread to encounter an offset mismatch exception

Activation
As described from kafka-16710:
The scenario where this case occurs is during a reassignment of a partition: 110879, 110880 (original leader, original follower) ---> 110879, 110880, 110881, 113915 (the latter two replicas are new leader and new follower) ---> 110881, 113915 (new leader, new follower). The "Offset mismatch" exception occurs on the new follower 113915.
Through analysis, the exception occurs in the reassignment process:

After the new replicas 110881, 113915 are fully enqueued into the ISR, the controller will switch the leader from 110879 to 110881, and then send a new leaderAndIsr (leader is 110881, ISR is 110879, 110880, 110881, 113915) to 110881, 113915.
This time, 110881 executes makeLeader, and 113915 executes makeFollower. After the new follower 113915 completes removeFetcherForPartitions and addFetcherForPartitions, it starts fetching data from the new leader 110881, but because the log end offset of the new leader 110881<PHONE_NUMBER>5) is smaller than the log end offset of the new follower 113915<PHONE_NUMBER>9), the new follower 113915 adds the partition to divergingEndOffsets during processFetchRequest and then executes truncateOnFetchResponse to truncate the local log to<PHONE_NUMBER>5.
However, unfortunately, truncateOnFetchResponse needs to acquire the partitionMapLock lock, and at the same time, the new leader 110881 and the new follower 113915 also receive another leaderAndIsr request from the controller (to remove the old replicas 110879, 110880 from the ISR), and the ReplicaFetcherManager thread of the new follower 113915 executes the second makeFollower to acquire the partitionMapLock lock firstly and execute removeFetcherForPartitions, and then gets the local log end offset<PHONE_NUMBER>9) as the fetch offset, ready to execute addFetcherForPartitions again to update the fetch offset<PHONE_NUMBER>9) to the partitionStates.
But unfortunately, the follower fetcher thread that was ready to truncate the local log to<PHONE_NUMBER>5 firstly obtained the partitionMapLock lock and completed the truncation, and the log end offset is now<PHONE_NUMBER>5.
Then, the thread that executed the second makeFollower obtained the partitionMapLock lock and executed addFetcherForPartitions to update the outdated fetch offset<PHONE_NUMBER>9) to the partitionStates.
Finally, it leads to: the follower thread throws the following exception during processPartitionData: "java.lang.IllegalStateException: Offset mismatch for partition aiops-adplatform-interfacelog-191: fetched offset =<PHONE_NUMBER>9, log end offset =<PHONE_NUMBER>5."

Solution
Move truncateOnFetchResponse to the range of partitionMapLock in replica fetcher thread.

If this change is reasonable, I will add the unit test.

Hi @dajac , could you help to review this issue?

PTAL, thanks! @showuon


MGMT-7734: Integration tests for the image-service

Description
Verify that we can grab a few versions (and architectures) of RHCOS from
the openshift mirror and:

Create full-iso, minimal-iso template
Stream an RHCOS image with ignition + initrd customizations embedded
properly

Since this test could take a long time (and longer in the future as we
support more versions and architectures), we'll skip this when run using
go test -short. So this change also includes a new make target
test-integration to run this test.
How was this code tested?
By running the tests (make test-integration)
Assignees
/cc @carbonin
/cc @
Checklist

[x] Title and description added to both, commit and PR
[x] Relevant issues have been associated
[x] Reviewers have been listed
[x] This change does not require a documentation update (docstring, docs, README, etc)
[x] Does this change include unit tests (note that code changes require unit tests)

Made some, admittedly junk request for an image and verified metrics endpoint was working:
$ curl -O --cacert certs/tls.crt "https://localhost:8080/images/${CLUSTER_ID}?version=4.8&type=full"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    19  100    19    0     0   1000      0 --:--:-- --:--:-- --:--:--  1055

$ curl --cacert certs/tls.crt "https://localhost:8080/metrics"
# HELP assisted_image_service_http_request_duration_seconds The latency of the HTTP requests.
# TYPE assisted_image_service_http_request_duration_seconds histogram
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="0.1"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="1"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="10"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="50"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="100"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="300"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="600"} 1
assisted_image_service_http_request_duration_seconds_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="+Inf"} 1
assisted_image_service_http_request_duration_seconds_sum{code="404",handler="/images/:imageID",method="GET",service=""} 0.000277106
assisted_image_service_http_request_duration_seconds_count{code="404",handler="/images/:imageID",method="GET",service=""} 1
# HELP assisted_image_service_http_requests_inflight The number of inflight requests being handled at the same time.
# TYPE assisted_image_service_http_requests_inflight gauge
assisted_image_service_http_requests_inflight{handler="/images/:imageID",service=""} 0
# HELP assisted_image_service_http_response_size_bytes The size of the HTTP responses.
# TYPE assisted_image_service_http_response_size_bytes histogram
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="100"} 1
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="1e+06"} 1
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="5e+08"} 1
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="1e+09"} 1
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="1e+10"} 1
assisted_image_service_http_response_size_bytes_bucket{code="404",handler="/images/:imageID",method="GET",service="",le="+Inf"} 1
assisted_image_service_http_response_size_bytes_sum{code="404",handler="/images/:imageID",method="GET",service=""} 19
assisted_image_service_http_response_size_bytes_count{code="404",handler="/images/:imageID",method="GET",service=""} 1


avoid errors if shipment is already in shipped state

This other solidus PR needs to go first: https://github.com/solidusio/solidus/pull/424

Why is this a good thing?

It allows the shipment state machine to declare which transitions are legal. This code is now dumber and more loosely coupled because it doesn't even need to have the knowledge that shipment has a ready state. Only that it accepts a ready event.

So... solidusio/solidus#424 would allow a ready -> ready transition, and then this would allow us to re-trigger that transition. I still don't see why that's a good thing. If the shipment is already ready, what's the point of re-triggering the transition?

It's a good thing because we don't control the signifyd code. They might try to approve the same order twice with us. We can choose to either raise when that happens, or gracefully let it be a no-op. I can also imagine a case in which we have a partial failure and we need signifyd to re-approve an order. This also allows the partial success from the first time to be a no-op, while the remaining shipments to progress.

@jhawthorn Curious your thoughts on this -- I've thought before that this particular logic should live in Solidus core. Shouldn't approving an order always ready its shipments? Or is that not a common way to use pending / ready on shipments?

Greg -- thanks for the explanation. Also chatted with @athal7 a bit. The specs in https://github.com/solidusio/solidus/pull/424 made it more clear to me what this achieves for us. Another way of saying what we're after here is that we want to make order approval idempotent, right? I'm a fan of that approach.

Yes. I am a HUGE fan of idempotency (which Andrew can attest to :-) I'm not sure if this achieves it by itself, but it definitely moves us closer to it.

@gvaughn this wouldn't fix the problem we saw the other day would it?  I thought the problem there was that the shipment was already shipped, and there is no transition from shipped -> ready.  In that case the solidus update above wouldn't help us would it?

@jordan-brough I could definitely be missing some subtlety in the state machine (like the distinction between the ready and shipped states), but my understanding is that one shipment was already in a shipped state. It raised because it was not allowed to receive a ready event and that meant that the other shipment on the order could not progress.
My biggest uncertainty in this is not whether it would fix the immediate problem, but whether that would cascade downstream and QL would receive order/shipments in an unexpected collection of states.

one shipment was already in a shipped state. It raised because it was not allowed to receive a ready event and that meant that the other shipment on the order could not progress.

Yeah that's what I had thought was the case.  So calling ready! on the shipment would blow up, because there is no transition defined from shipped to ready (and it seems like there probably shouldn't be).  Even with the changes in this PR I believe we still can't transition from shipped->ready and we'll still blow up if we hit another case like that.

whether that would cascade downstream and QL would receive order/shipments in an unexpected collection of states.

Hm, are you talking about if we did allow transitioning from shipped->ready, would that get sent to QL and confuse them?  Yeah I would be worried about something weird happening if we allowed going backward from shipped. Is that what you're talking about though?

I chatted with Greg and I was mixed up.  I misread the solidus change.  I thought the solidus change was allowing shipment.ship! to be a no-op.  Actually it is allowing shipment.ready! to be a no-op if the shipment is already shipped. (And likewise if it is already ready). Ignore my doubts about this solving our problem.
Along those lines, we chatted about renaming the ready event to something less confusing, like ready_to_ship. I believe Greg is going to make that suggesting in the Solidus PR?

New commit will fail tests until/if https://github.com/solidusio/solidus/pull/424 is merged

:+1: assuming the Solidus PR is merged. I think it'd be great to reconsider who calls this code & etc but I think we should fix this bug first.

Let's change direction and go with plan B here in the new commit.

Cool, should we add a spec?

@jordan-brough Sure. I'll circle back to that later this afternoon.

I hope I can get another review on this. I'm eager for some thumbs-up and getting this off my plate.

:+1:

This is ready to merge, but I don't have commit rights. Can someone help with that today?


#1053 solved

As per the mention issue and correction needed I have made changes in the services page

@khushi-joshi-05 will check this PR.

@khushi-joshi-05  please review the PR

Mention Issue ID?

#1053

i have solved the conflicts please check it


[FEATURE] Evaluate switching build systems

Maven causes us a fair bit of pain (from the slow, non-incremental builds, to the noisy output, to the verbose and unchecked XML config files). We might consider switching to a more advanced build system. Options to evaluate:

SBT: standard in scala community, highly configurable, incremental builds
Gradel: noted for being fast, support native compilation, incremental builds, build caches
Bazel: multi-language, blazingly fast, incremental and cloud builds, could replace all of our use of make (including the benchmarks)

Each has tradeoffs, so in evaluating whether we should switch we should also evaluate which to switch to.

One point to take into account. We should evaluate how much bootstrapping these tools require, if a new user wants to use them to build apalache.

In our standup today yesterday and today we decided it was worth attempting a switch to SBT.
While Gradle and Bazel both have some notable benefits, they were much more appealing when we were still building a custom Z3. Now that our only dependencies are JVM based, the simplicity and ubiquity off SBT (for Scala projects) seems to recommend it.
I am going to spend up to 1 day of work on this to get a sense for how involved it will be to make the switch.
I'll do the timeboxed work on SBT under this ticket, as it is technically part of evaluation.


Allow Paremeter to specify the config Path

Allows the auth url generator and refresk token generator to receive the PATH where the application-creds.json files are.
More info on the README, this will allow to add to spanishdict/example-dfp-line-item-generator the following npm scripts:
"authUrl": "node node_modules/node-google-dfp-wrapper/generate-authentication-url.js --config $(pwd)'/local/application-creds'",
    "refreshToken": "node node_modules/node-google-dfp-wrapper/generate-refresh-token.js --config $(pwd)'/local/application-creds'"

that we could be able to execute:
npm run authUrl
npm run refreshToken -- --authCode <auth code>

Sorry to miss this! I'll review now

I'm going to build a new PR off this to close it out. Thanks for your work @ialex !


AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params'

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
c:\Users\MICHAEL>conda list
packages in environment at C:\Users\MICHAEL\Anaconda3\envs\env_zipline:

Name                    Version                   Build  Channel
alembic                   0.7.7                    py35_0    Quantopian
asn1crypto                0.24.0                   py35_0
bcolz                     0.12.1              np114py35_0    Quantopian
blas                      1.0                         mkl
blosc                     1.16.3               h7bd577a_0
bottleneck                1.2.1            py35h452e1ab_1
bzip2                     1.0.6                hfa6e2cd_5
ca-certificates           2019.5.15                     0
certifi                   2018.8.24                py35_1
cffi                      1.11.5           py35h74b6da3_1
chardet                   3.0.4                    py35_1
click                     6.7              py35h10df73f_0
contextlib2               0.5.5            py35h0a97e54_0
cryptography              2.3.1            py35h74b6da3_0
cyordereddict             0.2.2                    py35_0    Quantopian
cython                    0.28.5           py35h6538335_0
decorator                 4.4.0                      py_0
empyrical                 0.5.0                    py35_0    Quantopian
hdf5                      1.10.2               hac2f561_1
icc_rt                    2019.0.0             h0cc432a_1
idna                      2.7                      py35_0
intel-openmp              2019.4                      245
intervaltree              2.1.0                    py35_0    Quantopian
libiconv                  1.15                 h1df5818_7
libxml2                   2.9.9                h464c3ec_0
libxslt                   1.1.33               h579f668_0
logbook                   0.12.5                   py35_0    Quantopian
lru-dict                  1.1.4                    py35_0    Quantopian
lxml                      4.2.5            py35hef2cd61_0
lz4-c                     <IP_ADDRESS>              h2fa13f4_0
lzo                       2.10                 h6df0209_2
mako                      1.0.10                     py_0
markupsafe                1.0              py35hfa6e2cd_1
mkl                       2018.0.3                      1
mkl_fft                   1.0.6            py35hdbbee80_0
mkl_random                1.0.1            py35h77b88f5_1
multipledispatch          0.6.0                    py35_0
networkx                  1.11                     py35_1
numexpr                   2.6.1               np114py35_0    Quantopian
numpy                     1.14.6           py35hc27ee41_4
numpy-base                1.14.6           py35h8128ebf_4
openssl                   1.0.2s               he774522_0
pandas                    0.22.0           py35h6538335_0
pandas-datareader         0.6.0                    py35_0
patsy                     0.5.0                    py35_0
pip                       10.0.1                   py35_0
pycparser                 2.19                     py35_0
pyopenssl                 18.0.0                   py35_0
pysocks                   1.6.8                    py35_0
pytables                  3.4.4            py35he6f6034_0
python                    3.5.6                he025d50_0
python-dateutil           2.7.3                    py35_0
pytz                      2019.1                     py_0
requests                  2.20.1                   py35_0    Quantopian
requests-file             1.4.3                    py35_0
requests-ftp              0.3.1                    py35_0
scipy                     1.1.0            py35hc28095f_0
setuptools                40.2.0                   py35_0
six                       1.11.0                   py35_1
snappy                    1.1.7                h777316e_3
sortedcontainers          1.4.4                    py35_0    Quantopian
SQLAlchemy                1.3.5
sqlalchemy                1.2.11           py35hfa6e2cd_0
statsmodels               0.9.0            py35h452e1ab_0
toolz                     0.9.0                    py35_0
trading-calendars         1.6.1                    py35_0    Quantopian
urllib3                   1.23                     py35_0
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.15.26706          h3a45250_4
wheel                     0.31.1                   py35_0
win_inet_pton             1.0.1                    py35_1
wincertstore              0.2              py35hfebbdb8_0
wrapt                     1.10.11          py35hfa6e2cd_2
xz                        5.2.4                h2fa13f4_4
zipline                   1.3.0               np114py35_0    Quantopian
zlib                      1.2.11               h62dcd97_3
zstd                      1.3.7                h508b16e_0

Operating System: Windows 10
Python Version: `$ python -- 3.5
Python Bitness: 64
How did you install Zipline:
Python packages: conda install -c Quantopian zipline

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
when i try to run >>import zipline either from the cmd prompt or from i jupyter notebook i receive the following error message, expecting this to run with no issues:

import zipline
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\zipline_init_.py", line 24, in
from . import finance
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\zipline\finance_init_.py", line 16, in
from . import execution, trading
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\zipline\finance\trading.py", line 20, in
from sqlalchemy import create_engine
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy_init_.py", line 9, in
from .sql import (
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\sql_init_.py", line 101, in
_go(locals())
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\sql_init.py", line 99, in _go
from . import naming
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\sql\naming.py", line 15, in
from .. import event, events
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\events.py", line 11, in
from .pool import Pool
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\pool_init.py", line 20, in
from .base import _ConnectionFairy  # noqa
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\pool\base.py", line 57, in
class Pool(log.Identified):
File "C:\Users\MICHAEL\Anaconda3\envs\env_zipline\lib\site-packages\sqlalchemy\pool\base.py", line 63, in Pool
@util.deprecated_params(
AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params'

What did you expect to happen?
What happened instead?

Here is how you can reproduce this issue on your machine:
Reproduction Steps

...
What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
Michael Bard
<EMAIL_ADDRESS>

I am also encountering this exact AttributeError, did you find a fix?

In my case, this was an issue with the virtual environment. Deleting the virtual environment and recreating it fixed the issue.


Cannot setup Minecraft server component

The problem

When setting up the integration for the Minecraft server via the integration page, the setup fails.
Environment

Home Assistant release with the issue: 0.106.0
Last working Home Assistant release (if known):  n/a
Operating environment (Hass.io/Docker/Windows/etc.):  Virtual on Unraid
Integration causing this issue:  Minecraft Server
Link to integration documentation on our website: https://www.home-assistant.io/integrations/minecraft_server/

Problem-relevant configuration.yaml

Traceback/Error logs

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 215, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/minecraft_server/__init__.py", line 47, in async_setup_entry
    await server.async_update()
  File "/usr/src/homeassistant/homeassistant/components/minecraft_server/__init__.py", line 158, in async_update
    await self._async_status_request()
  File "/usr/src/homeassistant/homeassistant/components/minecraft_server/__init__.py", line 171, in _async_status_request
    self.description = status_response.description["text"]
TypeError: string indices must be integers

Additional information
The same thing happens if I use an external IP or domain address.
Minecraft server runs in docker on the same machine ar Home Assistant.
Minecraft server is a Tekxit 1.7.10
I can see all info on the server via an online Minecraft checker (https://mcsrvstat.us/)

@TheEris It looks like that configuration passed successfully and that your server responds in a different way. But the description attribute is actually not used anymore, so I will remove it. This should hopefully fix your issue.

@elmurato Great. This fix will be available in the next version of the Home Assistant or can I get it manually?

@elmurato Great. This fix will be available in the next version of the Home Assistant or can I get it manually?

Will be available in 0.106.3.


Specific file name casues 'cant find include path' problem

Issue Type: Bug
I created a file named 1025.c in WSL-Ubuntu-22.04 and #include <stdio.h><string.h><stdlib.h> and vscode told me that it could not find includePath. But i have written various c files like 1015.c, 1027.c, 1108.c ... iff the file name is 1025.c, the error occurs, which means the minute I change the file name to 1026.c, the error disappers. I have tried adding includePath with the help of hint and it does work, but why only in a file with a such name must I do this?
following is the c_cpp_properties.json content:
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/"
//"/usr/include/" <-- my try
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.92GB (1.28GB free)

Process Argv
--crash-reporter-id 1147332f-f2c3-4d6b-b92d-0562b9f4f924

Screen Reader
no

VM
40%

Item
Value

Remote
WSL: Ubuntu-22.04

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)

Memory (System)
6.13GB (5.61GB free)

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

language-x86-64-assembly
13x
3.0.0

vsc-material-theme
Equ
33.5.0

vsc-material-theme-icons
equ
2.3.1

vscode-language-pack-zh-hans
MS-
1.69.7130921

jupyter-keymap
ms-
1.0.0

remote-wsl
ms-
0.66.3

material-icon-theme
PKi
4.19.0

material-theme
zhu
3.15.2

vscode-language-pack-zh-hans
MS-
1.69.7130921

cpptools
ms-
1.11.4

(6 theme extensions excluded)

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

NO, it remains after I update.

and

版本: 1.70.0 (user setup)
提交: da76f93349a72022ca4670c1b84860304616aaa2
日期: 2022-08-04T04:38:16.462Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044

/extC++

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


trade: experiment with using Postgres for stores

Advantages

no need to worry about how to store a binary blob of StoreSnapshot
solves the storage problem for when there are multiple trade instances (one table per league)
no need to manually write indexes
data format migration strategy is straightforward with relational databases compared to a custom one (rebuilding indexes, etc.)

Disadvantages

unsure if additional latency kills the trade's usefulness
more dependencies (tokio-postgres, sqlx)
need a migration tool

Migrating storage from in-memory to PostgreSQL looks fine. Looking at before and after benchmarks and comparing it to Jaeger traces, the total service latency is massively dominated by our network (of course), with internal trace info suggesting that in-memory store queries are answered within dozens/hundreds of μs while the PostreSQL based store answers with 1-5ms. Now this is more anecdotal data and stems from naive experiments, so huge grain of salt yada, yada. But for now the database approach is more than sufficient in terms of performance and alleviates many implementation details, obviously.


Fix read_excel with Spark 3.0 and pandas<1.0.

Fixes read_excel with Spark 3.0 and pandas<1.0.
ValueError: Must explicitly set engine if not passing in buffer or path for io.

I'd merge this now to unblock other PRs.


No HB logs?

Not really an issue .. but an observation - no log appears in the hb terminal when there is an action or activity - any plans to change this?

I will add a debug-option in the config.json, for the accessory to log infos into the HB-Terminal, in the next version.

@recom273 the feature for logging is now available in the new version of the plugin.

Great, thanks for your hardwork - I was using another plugin but it was just a simple colour and switch, this is a great way to integrate into homekit. Thanks.


Accepting a request body for a DELETE endpoint

We recently upgraded our express-zod-api major version and only now realized a bug with one of our lesser-used endpoints. It seems like the update changed how inputs on DELETE endpoints are interpreted.
Previously, the inputs were interpreted to come from the request body, and the OpenAPI schema also reflected that.
Now, the inputs are interpreted to come from the query parameters, with the OpenAPI schema also reflecting that.
I'm wondering: Was this a conscious change in behavior? Is there a way to revert back to using the request body?
Let me know if I should provide any more detailed examples!

Hello, @shroudedcode .
Yes, using the body of DELETE request is deprecated and it was removed by default in order to encourage following the best practices. However, you can still restore the previous behaviour by adjusting your configuration in part of input sources.
Here is a take from the Changelog:

In case you have such Endpoints that rely on inputs collected from DELETE request body and want to continue,
add the following property to your configuration in order to keep the previous behavior without changes to your
implementation.

inputSources: { delete: ["body", "query", "params"] }

More information on customizing input sources here:
https://github.com/RobinTail/express-zod-api#customizing-input-sources
Please let me know if this helped you to fix the issue, @shroudedcode

Ah, that makes sense; I missed that part in the changelog
Thanks a lot for the quick reply! 🙌 I'm continually impressed by how much thought you're putting into this project.


Issue with capitalization when humanizing authentication keys in failure flash message

Thank you so much for building something that I use in almost every rails project I start.
Environment

Ruby 2.5.1
Rails 5.2.0
Devise 4.4.3

Current behavior
When looking at the devise.failure.not_found_in_database and devise.failure.invalid error messages, it currently says "Invalid Email or password." when the authentication_keys = :email. To me this is strange capitalization. I'm not expecting "Email" to be capitalized.
Expected behavior
I like that this takes the authentication_keys and makes them human readable, but I wish that it would make them lower case so that it read, "Invalid email or password." instead.

I'm pretty sure this is the line that would need to be changed.
https://github.com/plataformatec/devise/blob/master/lib/devise/failure_app.rb#L106

I agree with the OP fwiw - this isn't the behaviour I'd expect, all the more so for the fact that it changed in an earlier version

Duplicate of #4095. There's already a pull request opened (#4834) but it needs some changes before it can be merged.

This issue is still present in 4.6.2. Was it intentionally merged into the 5-rc branch?

@archonic Yes - because this change does not preserve backwards compatibility.
We are going to release in version 5 though.


Netty 4.0.0-alpha support plan

I know netty 4.0.0 is still baking, but is there any work towards supporting the new API?

I've forked, and updated: https://github.com/ninowalker/lettuce/.
It requires a local build of io.netty 4.0.0-Alpha1-SNAPSHOT.
Tests run against 2.4.8 without errors, except for features only found in the tip (EVAL, SCRIPT, etc)
Results:
Results :

Failed tests:
  evalWithKeys(com.lambdaworks.redis.ScriptingCommandTest): expected:<[one, two]> but was:<[com.lambdaworks.redis.RedisException: ERR unknown command 'EVAL']>
  evalWithArgs(com.lambdaworks.redis.ScriptingCommandTest): expected:<[a, b]> but was:<[com.lambdaworks.redis.RedisException: ERR unknown command 'EVAL']>

Tests in error:
  hincrbyfloat(com.lambdaworks.redis.HashCommandTest): ERR unknown command 'HINCRBYFLOAT'
  pexpire(com.lambdaworks.redis.KeyCommandTest): ERR unknown command 'PEXPIRE'
  pexpireat(com.lambdaworks.redis.KeyCommandTest): ERR unknown command 'PEXPIREAT'
  pttl(com.lambdaworks.redis.KeyCommandTest): ERR unknown command 'PTTL'
  incrbyfloat(com.lambdaworks.redis.NumericCommandTest): ERR unknown command 'INCRBYFLOAT'
  eval(com.lambdaworks.redis.ScriptingCommandTest): ERR unknown command 'EVAL'
  evalsha(com.lambdaworks.redis.ScriptingCommandTest): ERR unknown command 'SCRIPT'
  script(com.lambdaworks.redis.ScriptingCommandTest): ERR unknown command 'SCRIPT'
  evalshaWithKeys(com.lambdaworks.redis.ScriptingCommandTest): ERR unknown command 'SCRIPT'
  evalshaWithArgs(com.lambdaworks.redis.ScriptingCommandTest): ERR unknown command 'SCRIPT'

Tests run: 207, Failures: 2, Errors: 10, Skipped: 0

In general I plan to always support the latest released version of netty, but will probably wait a short while for feedback on new major versions before changing lettuce's dependencies.

Of course. I'll be fixing issues in my 4.0.x fork if I encounter any. None so far - thanks for the excellent implementation.


provide a way to cap the size of the response?

It would be great if there's a way to cap the size of HTTP response.
I'm using https://github.com/jshemas/openGraphScraper for scraping open graph tags which uses request, however if the HTTP response is large (think of hundred megabytes of binary file), then it downloads the whole file only to realize that is can not parse the result.
If there's a limit on the response then it would solve the problem.
Thanks!

you can use stream mode, listen to response event, check size header (if present), then use data and end event to build buffer yourself, and stops when it's too big

It would be much easier to implement across an application that uses the defaults wrapper if it was baked into Request. In the interest of simplicity, all a developer really cares about is how big the response should be allowed to get.
It looks like in the past people have hit node string limitations with large responses:
https://github.com/request/request/issues/2067
https://github.com/nodejs/node/issues/3175
Some ideas:

Intelligent default to prevent hitting a node buffer limit (or maybe not, seems easy enough to debug)
Don't prevent people from using stream mode to handle massive responses
Allow a simple "Max Size" property to passed to the options

This would be useful for me too. I'm not sure on the internals of request but if there's a simple way to implement an option which allows users to cap response size (return error if greater than some size), that'd be very handy.

This is how I implement a length check today:
  onDataLengthCheck: function (limit) {
    var bufferLength = 0;
    return function (chunk) {
      bufferLength += chunk.length;
      if (bufferLength > limit) {
        this.abort();
        var error = new Error(`Response was too large - aborted after ${limit} bytes.`);
        this.emit('error', error);
      }
    };
  }

request.post(...).on('data', onDataLengthCheck(10000));

Thanks! Yours is much cleaner than mine:
function getFile(url, callback) {
  let output = "";
  let tooBig = false;
  let r = request.get(url)
    .on('error', callback)
    .on('data', function(chunk) {
      if(output.length > 1000000) {
        tooBig = true;
        r.abort();
      } else {
        output += chunk.toString("utf8");
      }
    })
    .on('end', function() {
      if(tooBig) {
        console.log(`${url} was too big`);
        callback("too big", null);
      } else {
        console.log(`${url} download complete`);
        callback(null, output);
      }
    })
}


files taken by Xcode are not from uglified files from platform/www

When I use the plugin, I have my files under platform/www that are correctly uglified
Then I open Xcode and I see that the www file is the one of the root and not uglified. When I run the code on the emulator, the code I see in the browser is not taken from the platform/www  :(

Ok, i found the issue 👍

setting mangle : true
uninstall cordova-plugin-crypt-file

💃


Add toggleable frame-time meter to launcher

Shows the framerate in milliseconds using a bargraph (1ms = 1 dot) and the frame time in microseconds.
Enter the credits screen and press Y to toggle.
Fixes a couple of instances where the background swooshes were tanking framerate unnecessarily:

Behind the credits screen
Behind the screenshot browser

There's no real reason to include a frame time meter in the launcher (edit: except it's a critical part of the 32blit UX so it's probably a good idea to stay on top of anything that might be tanking the framerate), so I'm flagging this TODO: maybe find a way to make this a system feature so we don't have to copypasta it into every darn game.

With some metrics to tell me how big an impact the Swoosh effect was making on framerate, I've taken some steps to:

Make it look less glitchy
Optimise the result with h_span

As a result the frame time for the effect hasn't changed much, but the vertical bars are gone.
Note: The vertical bars were actually an aesthetic choice and not an optimisation, even though they saved considerable time by skipping pixels. They were intended to prevent the impression of left to right movement in the swooshes, which I found really nauseating. My brain must have locked in on the effect when it was more pronounced, however, since I can no longer see it.


series tree left most label are cutting off

Version
4.1.0-release
Steps to reproduce
Draw a tree chart. Give the root node a long name
What is expected?
Chart should automatically move aside or should be display like this ...
What is actually happening?
Label is cutting off

Label cutting off:

Actual label:

#11497


new horreum module, new prometheus module, changes to hyperfoil module

For the general topic of performance, introduced two new modules under system-x: horreum, for performance run data upload in an horreum instance and prometheus-perf-metrics, for gathering prometheus metrics data from a prometheus instance in openshift. Also made some changes in the hyperfoil module, to make it fitting more general usage.

about checkstyle errors: there is away to disable that for a given package as i have some generated code from openapigenerator which is not following the style rules?

about checkstyle errors: there is a way to disable that for a given package as i have some generated code from openapigenerator which is not following the style rules?

there isn't currently, but I'm ok with errors unless there won't be any in the non-generated classes

made changes according to the PR comments


.ci: Install q35 at /usr/bin instead of /usr/local/bin

The path where q35 is installed is not compliant with the one expected
by the build, meaning that tests with q35 machine type are failing
because the binary cannot be found.
Fixes #206

lgtm


Add a license to the repository

I recently came across your project Quantum-Teleportation and I noticed that the repository github.com/GuillermoAbadLopez/Quantum-Teleportation currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Hello Juan,
Thank you for the interest in the repo, and yes that's a great idea, I will definently consider it!
I'm currently on vacations, and I don't know much about licensing, so I'll check about it, and see which one fits better next week, when I'm back, and update you on the subject, thanks again 🙌

Hello again @cbjuan,
Thank you for the suggestion, after some investigation, I think the Apache 2.0 license fits the repo really well 👌
I just added it, thank you for the suggestion!

Thanks!

@cbjuan I guess you also asked, due to the repo using qiskit, which has Apache 2.0 itself, no?
So more than a decision, it was kind of mandatory... The ilusion of choise 😅
Well thanks anyway for pointing it out!


Fix: className to have Template strings (fixes #59)

Hopefully this is the correct fix.

Thanks for the PR! Looking at this now & trying to flesh out the test cases because there's a bunch that isn't being handled.

I ended up doing something a little more complete in fbe80a4e08c44922d3dfe9f1a557f2873df0d8ab
Thank you again for the PR @gyandeeps, this was a super-helpful starting point!


Serious cards height issue in IE11

See screenshots:

http://www.browserstack.com/screenshots/e5d10051f00e1b26da8cd72f0b4490fa1989a07b

This should be an IE only bug, has been discussed in other threads and has been fixed in next.

#2094 #2021

Sorry, i searched but didn't find it. Glad it's fixed

Releasing a patched version today to 1.x channel


[AIRFLOW-1445]: change HivePartitionSensor ui_color to lighter shade

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow-1445 issues and references them in the PR title.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

My PR is simply to improve the readability of the text using the HivePartitionSensor. The screen shots below show the before and after. The darker shade (nearly black) is the before, and the purple color is the after.
After

Before

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
There is no need for testing because it's simply an aesthetic improvement and doesn't affect functionality.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue.

I'm sorry I see there are 3 commits attached, trying to undo it so it's just the latest commit.


Add nested innerRef for Styled Components

As a continuation of #639
Fix #629

Pass the innerRef to the nested target if said target is a Styled Component.
Replace the old innerRef tests that weren't actually doing much

Thank you!


AutoCompletion does not complete the current work

Currently auto complete removes your current word and starts a tab complete session from the beginning of the suggestion list. This should instead only rotate through the suggestions that begin with what has currently been typed.
E.g. if you return these suggestions:
return new [] { "show", "status", "blame", "checkout", "branch" };
and you type:
> git b<TAB>
it should only provide only the following auto completions:
> git blame
> git branch

@IntelOrca The completion points are hardcoded in: https://github.com/tonerdo/readline/blob/6d247be638fb9b1005c0b002cfb0f3c2bebced41/src/ReadLine/KeyHandler.cs#L276, so the completion will start from the space. The next release (coming out tomorrow) is gonna allow the developer specify their own completion points


Accessing Summary Data in Statistic Struct

First of all, thank you for creating such an excellent framework! The code is clean, the documentation is thorough, and the API is simple and intuitive. However, I’ve encountered some difficulty when trying to access specific summary metrics like win_rate, sharpe_ratio, and total_return directly from the Statistic struct.
I couldn’t find a straightforward way to access these details without resorting to creating a custom Statistic. Could you please guide me on how to retrieve this data using the existing Statistic struct? I would like to avoid implementing a custom solution if possible.
Thanks again for your hard work and support!

I wanted to follow up on my previous post. I realized that the solution was more straightforward than I initially thought. The summary metrics like  sharpe_ratio, and total_return can be accessed directly from the portfolio using:
portfolio.clone().lock().get_statistics(&MarketId::from(&market));

I apologize for the oversight and appreciate the clarity in the API. Thank you again for this excellent framework and for making these functionalities so accessible!


_resolve_submodel_fields not working with Pydantic 2.1.1

Since Pydantic update to version >=2.1.0, _resolve_submodel_fields is not working as Pydantic now uses weak references to fix generic memory leak (see https://github.com/pydantic/pydantic/pull/6681)

resolved by #10


MCS-279

Stacking objects on top of and inside cups (including other cups). My changes were to the contains script and object registry.

Looks good, just a couple of minor suggestions to improve it up a little bit but the code looked great.


My pins ui test

Similar to Home

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


Can you tell me how to set OPENAI_API_KEY?

Thank you for your time.
I am trying your project.
However, I do not konw how to set openai_api_key, would you tell me the details?
Besr regards

Thanks! The usage section has been outdated; I will update it soon!
Currently, you can mannually modify app.py. Change this line
openai_key = os.getenv("OPENAI_API_KEY")
to the following (change it to your key)
openai_key = "sk-ASji1kXICJkd2LKXdxdf9SAKDFL241dsfSKdsfjoikjesmSK"
Note that all current codes rely on the GPT-4 access. If you are not sure if your key has GPT-4 avaiability, you may check your mailbox to see if there is an email saying "Your GPT-4 API invite is here"or using this tool https://huggingface.co/spaces/shaocongma/openai_api_key_status.

您好。
已经开通了gpt4，在官网上获得了api key并成功运行代码。但是报错如下：
The paper information has been initialized. References are saved to outputs/outputs_20230613_224856/ref.bib.
Loaded as API: https://shaocongma-evaluate-specter-embeddings.hf.space/ ✔
================PROCESSING================
Generate introduction part...
Failed to generate introduction. InvalidRequestError was raised:  The model: gpt-4 does not exist
Failed to generate introduction. InvalidRequestError was raised:  The model: gpt-4 does not exist
Failed to generate introduction. InvalidRequestError was raised:  The model: gpt-4 does not exist
Failed to generate introduction. InvalidRequestError was raised:  The model: gpt-4 does not exist
是不是key获取的方式不对？


3BOT Deployer times out and gives error

We have one of our partners , trying to deploy his 3bot ( https://deploy3bot.grid.tf/ )  first and then move ahead with deploying the solution.
He gets error after this step :

and when trying again , we get this error :

looking at the logs, there seems to have been problems with stellar in payment and in explorer. you can try again now it should be a bit better with more retries.
{'type': 'BadRequestError', 'value': '{\n  "type": "https://stellar.org/horizon-errors/transaction_failed",\n  "title": "Transaction Failed",\n  "status": 400,\n  "detail": "The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details.  Descriptions of each code can be found at: https://www.stellar.org/developers/guides/concepts/list-of-operations.html",\n  "extras": {\n    "envelope_xdr": "AAAAAgAAAAAwxI3uKpvsuRWLcaYLFQrgi0YsSKCInlBF8oGNZ5SHFwAAAMgBwCu3AAAAjAAAAAEAAAAAAAAAAAAAAABf+fg8AAAAAQAAAAZwLTE1MjYAAAAAAAIAAAABAAAAAPRuqyTfxT5uK8JX68uprT6Xu+SqrLGYW/GnbrWLqjZZAAAAAQAAAAA30raoXAKOuA3rVDCPgo3+oTS7IDkX7+QGRrsPyBPmZwAAAAFURlQAAAAAAF1YKTg94x2O/muvqMcFiKjJAGYZJTG0I5eEOqzVJKMwAAAAAAAKkwgAAAABAAAAAPRuqyTfxT5uK8JX68uprT6Xu+SqrLGYW/GnbrWLqjZZAAAAAQAAAAAA3RKgkT+uNjmw1Pt37ayMhOT1IOUgJ+9WES0PXnEpiwAAAAFURlQAAAAAAF1YKTg94x2O/muvqMcFiKjJAGYZJTG0I5eEOqzVJKMwAAAAAAAPQkAAAAAAAAAAAmeUhxcAAABAQv2WGwTZJRcM4wjRTdy9EH27L1xLzz1LObd8PjGRDIDoV5PppoUhfaP9DsFrjgZQrNaNykBOiVOh4MJ+suG9AouqNlkAAABAU7Zcc2kaDF1frZoFvhq7TFR4GFWhuYwcdncZCQGleZuHuQ8gD3eDnX8/zKnGVw8/rGt8VaqGpIKNkL3EJHCDCA==",\n    "result_codes": {\n      "transaction": "tx_bad_seq"\n    },\n    "result_xdr": "AAAAAAAAAMj////7AAAAAA=="\n  }\n}', 'traceback': True}

exception: {'type': 'HTTPError', 'value': '500 Server Error: could not set up capacity escrow: failed to get escrow address for customer: failed to create a new account for customer 1504: failed to activate escrow account GC4IB33NNYICLS3APIRDEY673KFIAN2XAPMCTTPJYPF4CBB6RL4BG2HW: horizon error: "Transaction Failed" - check horizon.Error.Problem for more information for url: https://explorer.grid.tf/api/v1/reservations/pools', 'traceback': True}

looking at the logs, there seems to have been problems with stellar in payment and in explorer. you can try again now it should be a bit better with more retries.
{'type': 'BadRequestError', 'value': '{\n  "type": "https://stellar.org/horizon-errors/transaction_failed",\n  "title": "Transaction Failed",\n  "status": 400,\n  "detail": "The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details.  Descriptions of each code can be found at: https://www.stellar.org/developers/guides/concepts/list-of-operations.html",\n  "extras": {\n    "envelope_xdr": "AAAAAgAAAAAwxI3uKpvsuRWLcaYLFQrgi0YsSKCInlBF8oGNZ5SHFwAAAMgBwCu3AAAAjAAAAAEAAAAAAAAAAAAAAABf+fg8AAAAAQAAAAZwLTE1MjYAAAAAAAIAAAABAAAAAPRuqyTfxT5uK8JX68uprT6Xu+SqrLGYW/GnbrWLqjZZAAAAAQAAAAA30raoXAKOuA3rVDCPgo3+oTS7IDkX7+QGRrsPyBPmZwAAAAFURlQAAAAAAF1YKTg94x2O/muvqMcFiKjJAGYZJTG0I5eEOqzVJKMwAAAAAAAKkwgAAAABAAAAAPRuqyTfxT5uK8JX68uprT6Xu+SqrLGYW/GnbrWLqjZZAAAAAQAAAAAA3RKgkT+uNjmw1Pt37ayMhOT1IOUgJ+9WES0PXnEpiwAAAAFURlQAAAAAAF1YKTg94x2O/muvqMcFiKjJAGYZJTG0I5eEOqzVJKMwAAAAAAAPQkAAAAAAAAAAAmeUhxcAAABAQv2WGwTZJRcM4wjRTdy9EH27L1xLzz1LObd8PjGRDIDoV5PppoUhfaP9DsFrjgZQrNaNykBOiVOh4MJ+suG9AouqNlkAAABAU7Zcc2kaDF1frZoFvhq7TFR4GFWhuYwcdncZCQGleZuHuQ8gD3eDnX8/zKnGVw8/rGt8VaqGpIKNkL3EJHCDCA==",\n    "result_codes": {\n      "transaction": "tx_bad_seq"\n    },\n    "result_xdr": "AAAAAAAAAMj////7AAAAAA=="\n  }\n}', 'traceback': True}

exception: {'type': 'HTTPError', 'value': '500 Server Error: could not set up capacity escrow: failed to get escrow address for customer: failed to create a new account for customer 1504: failed to activate escrow account GC4IB33NNYICLS3APIRDEY673KFIAN2XAPMCTTPJYPF4CBB6RL4BG2HW: horizon error: "Transaction Failed" - check horizon.Error.Problem for more information for url: https://explorer.grid.tf/api/v1/reservations/pools', 'traceback': True}

Just tried again , after making the payment , it took a long time time at "Waiting for Payment" Step and finally then got the error :

Just tried again , after making the payment , it took a long time time at "Waiting for Payment" Step and finally then got the error :

Verified and deployed successfully

Verified and deployed successfully


Update settings.py for modern Django and Wagtail use

The SiteMiddleware has been deprecated and seems unused here. django.contrib.admin requires the django.contrib.messages. With both changes, the tests pass with Django 2.2.13 and Wagtail 2.10.

Looks good, we really should update the travis-ci.yml to run against these newer versions


Is SRN here?

https://paperswithcode.com/paper/towards-accurate-scene-text-recognition-with points to the repo, but I don't see a config file for SRN. Is that implemented here? and if so where is it?

+1 i also want to know about this


buildGoPackage: use $out instead of $bin

cc @kalbasit @Mic92
This changes buildGoPackage to use to $out instead of $bin which matches the behaviour of buildGoModule (and buildRustPackage).
https://github.com/NixOS/nixpkgs/blob/a2d9f5843336b00398542448321a497309907d05/pkgs/servers/sql/cockroachdb/default.nix#L53-L57

In https://github.com/NixOS/nixpkgs/pull/43328 I opted not  to do this as it would introduce an incompatibility for questionable gain.

Can we alias out to bin for backward compatibility?

Can we alias out to bin for backward compatibility?

It could be a symlink I think. However I suspect most of the breakages occur in the build expressions itself because $bin needs to be changed to $out.

How about deprecate the output (not sure that's possible, at least the trace part), spread the word to give people a couple of months before we do this? In the meantime we could gate the output change with an attr and set it from within nixpkgs.

I might do another round of $bin cleanup but starting to get to the point of diminishing returns.
I'm not sure how to move forward with this?

The mkdir in nixpkgs/pkgs/servers/monitoring/uchiwa/default.nix needs a -p.

It already has -p?

The other mkdir. Fixed.

Could you also write a short entry in doc/manual/release-notes/rl-2009.xml. This is a breaking change for all out-of-tree buildGoPackages.

Added a note and dropped a paragraph from the go docs that referenced defaulting to $bin.

Merged into staging in 20e67f1fb83b2a4a43571d9a648dee07e2cd15af


Swahili Translation

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[x] Documentation Update

Description
Featured Covered in this PR

[x] Task 1
[ ] Task 2

Related Tickets & Documents

Related Issue #
Closes #

Screenshots, Recordings
Please replace this line with instructions on how to test your changes, or any screenshots or recording you can attach here.
Tested Feature??

[ ] In Real Device.
[x] In Emulator

Hi @Kundai10 , you also need to add Locale("sw") in lib/app/view/app.dart. Refer to this PR

@SankethBK Done.


A little bunny doesn't compatible with orderly mod

Aerbunny is not finished yet.

We need to make lang files for mobs

I'll add new strings to Crowdin today

Resolved in 1.17 port.


[Bug] ASUS RT-AX55: not all devices are detected

The problem
So I've got this ASUS device setup into AP mode and being integrated.
However I notice that having listed in its Web UI +25 wireless devices and +14 wired ones only a total amount of 18 devices is detected by this integration.
Is there anything I am missing or is it a bug?
Your device model
RT-AX55
Firmware type
Stock
Firmware version
<IP_ADDRESS>.386_51598
Integration version with the issue
0.32.1
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
2024.10.3
Is there anything useful in the logs?
No response
Diagnostics information
No response
Additional information
No response

Can you please check whether the number corresponds to the value on the AiMesh page of the device's Web UI (even if you have a single device)? If not, try to check which kind of clients you miss - wired / 2.4G / 5G - this would help in further troubleshooting

The discrepancy with the Network map (page) is expected for most devices (and I have no idea why different parts of the UI show different clients).

It doesn't.

The 18 devices listed by your integration are all 2.4 GHz only (no wired ones, no 5.4 GHz ones).


Error adding database connection

On VS 2015.
---------------------------
Microsoft Visual Studio
---------------------------
Could not load file or assembly 'Microsoft.Data.ConnectionUI.Dialog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=f4ca07f51760da93' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
---------------------------
OK
---------------------------

Referencing versioned one


Tooltips don't work on mobile

Description
Tooltips don't work on mobile
Acceptance criteria

Tasks

[ ]

https://github.com/Akryum/v-tooltip#manual-trigger-example

@taleldayekh cool feature. Eventually could be combined with a onTapHold or onLongTap touch action (e.g. use vue2-touch-events.

Closing, not really an issue since no complaints have been made about the tooltips lately.


allow more flexible pattern location and filter names

Not sure if you'll like this or not :-)  Happy to discuss the details of what I did here.  I've basically leveraged the environment variable functionality of docker run to pass in some of the things that were previously flags to logstash-tester.sh, and added a couple more that address issue #5.
The run_example.sh works for me, and as an added bonus, I've been able to also run a test suite for my application that uses a different patterns location and filter nameing convention.  Pretty exciting stuff!
I wish there was a way to pass in build_args via a file to docker run.  I think that would eliminate the need for the convenience scripts like run_example.sh.
Let me know what you think.
Closes: #5

There are definitelly some good ideas here but your pull request tries to solve several different problems at the same time:

conf via env vars
filter filename flexibility
small adjustments to the err messages

All these should be adressed by separate PRs I think.
I like the conf via env vars, but as an alternative to the cmd line args. You seem to think cmd args are useless.
Good idea with the pattern dir via an env var. That was definitelly a problem.
I'll take some of your (great) ideas and do a simpler PR. We'll talk about env vars in a separate issue.
Thanks a lot for the contributions.

I got a little carried away.  I might have some time over the weekend to make individual PRs out of everything if you don’t (or haven’t) already done it.


sessions_technology sets:detail typo

@yalisassoon - I noticed a potential typo in sessions_technology.view.lookml.
sets:
detail:
- visits.visit_count
- visits.bounce_rate
- events.approx_usgae_per_visitor_in_minutes
- events.events_per_visit
Shouldn't the 3rd detail be: events.approx_user_usage_in_minutes.

Can't find this in the file anymore: https://github.com/snowplow/snowplow/blob/master/5-data-modeling/looker/lookml/sessions_technology.view.lookml
Closing; please re-open if this is still a thing.


[bug-reducer] When invoking, emit a command line that outputs sib. When printing a commandline for reproduction purposes by the user, drop -emit-sib so sil-opt emits textual sil.

[bug-reducer] When invoking, emit a command line that outputs sib. When printing a commandline for reproduction purposes by the user, drop -emit-sib so sil-opt emits textual sil.
Just a cleanup while I am using this.

@swift-ci Please smoke test and merge


NoMethodError in RailsAdmin::Main#edit - undefined method `inline_add' for RailsAdmin::Config::Fields::Types::String

Hi all, I'm popping across an error that is happening once in awhile when I load any model or view in rails admin.
The workaround to the issue is to reload, and the error will go away. It seems to pop up every other reload of the page.
Any insight? I looked through issues but didn't see anything that corresponded to this issue.

Looks like you got something wrong in RailsAdmin configuration(marking non-association field as an association or so).


Check GRPC_TOKEN environment variable is a JWT Token

In agent/internal/config/config.go we store our configuration defaults. We use GRPC_TOKEN which is a JWT Token, but right now it's a simple string. Please create a validation for it to check if it's a JWT token.

Custom parsing and checks are done in config/secret.go.

hello! can I work on this issue for hacktoberfest participation?

@trkohler sure, go ahead, feel free to work on it, don't hesitate to ask if you have any questions, you can find us on Discord.

Custom parsing and checks are done in config/secret.go.

I meant that the given file is a good starting point regarding the issue above. I would create a type and would put related code to a new file like jwt.go - similarly that is done with the type ConfigFromFile.

Hello! Hope I've did as you've counted I would. PR is ready for review.


Issue with Xerte RSS feeds and the Xerte RSS Feed page type

Hi all
I've been alerted to an issue with the Xerte RSS Feed page type when used with Xerte feeds and I suspect this happened when we added the RSS Xerte Download Feed page and related functionality but somehow we missed it.
Currently the Misc > RSS Feed page displays normal feeds like BBC news e.g. http://feeds.bbci.co.uk/news/world/rss.xml but not feeds from a Xerte install e.g. https://xot.xerte.org.uk/rss.php
The Misc > RSS Xerte Download Feed page does display the Xerte feed and if you view a Xerte feed like https://xot.xerte.org.uk/rss.php  via your browser or another feed reader that works too.
Here's a demo of this to which you all have access https://xot.xerte.org.uk/play.php?template_id=194
I'm guessing the issue lies with either the RSS Feed page model or else the proxy code and I'm guessing it's the latter. @torinfo I know you added the new proxy code so any ideas re cause/solution?

@ronm123 It's caused by the page model. This page model uses a intermediate service to get the rss feed data into a json file, and that service doesn't support the extra items we included in the Xerte feeds, i.e. the service is not standards complient.
We should deprecate the original rss in my opinion.

@torinfo I thought the extra items were added in a way so as not to impact other things. I can't remember what version/revision we added this but if it was the initial 3.8 then any installs using that currently have broken rss pages if they have Xerte feeds added to them. I know that's a few if's but there's obviously a big difference between deprecating for future proofing and deprecating because it's currently broken. Is there a way we can get both working in the short term?

@ronm123 Yes we should be able to fix it by just using the rss download version.
I'll have a look.

@ronm123 I thought we tried to avoid using the extra items (which are standards compliant) when we detect that rss.php is used.  I'm sure we checked everything was ok with the new page type but clearly we didn't check properly with the standard rss feed page :-(

@torinfo I think this is fixed now so I'll close the issue.
I removed all the optional properties but left a few bits in that are usually empty and so not used but thought we might want to add to the Xerte rss in future. Anyway at some point please check in case there are any issues but seems to work fine.


[Reclaim] Calendar Menu Bar Extension error

Extension
https://www.raycast.com/reclaim-ai/reclaim-ai
Raycast Version
v1.69.0
macOS Version
14.5
Description
Reason: Code: 1 (Uncaught Extension Exception)
Domain: commands
Time: 18:34:36.078
Steps To Reproduce

Open Raycast
Attempt to open Reclaim Calendar Menu Bar extension
Examine error

Current Behaviour
Calendar menu bar shows an error
Expected Behaviour
Calendar menu bar shows time to next upcoming meeting.

yep, known issue, we're looking to revert a change made yesterday and waiting for Raycast folks to approve, thanks for filing!

This is fixed.

This is fixed.

Confirmed! Tysm


Feature data-binary

Fixes #8

[x] - npm test succeeds
[x] - Code coverage does not decrease (if any source code was changed)
[x] - If applicable, PR includes appropriate documentation changes

Confirm

Current coverage is 60.88% (diff: 100%)

Merging #9 into master will decrease coverage by 0.21%

@@             master         #9   diff @@
==========================================
  Files             6          6
  Lines           473        473
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            289        288     -1
- Misses          184        185     +1
  Partials          0          0

Powered by Codecov. Last update 5ae6fe4...cc1daef


Need helper function to change the home load

A helper function is needed (also for Home Assistant integration) to simplify change of the set home load.
Points to clarify and validate before this can be provided:

Can the set_home_load endpoint be used with the same schedule parameter dict as the set_device_parm endpoint?
Does the schedule parameter dict require a full schedule as received with either get_home_load or get_device_parm endpoints?
Is it sufficient to modify only the active schedule slot with the new parameters for home load and discharge setting, or may this delete the other slots in the schedule?
If only a single slot is supported, what happens if the times of the slot are changed? Will the modified timings delete/modify the adjacent slots like in the App?

The help function should provide option switches for:

new home load value
setting of discharge switch
whether the change should be applied to current slot only or all slots
If the whole schedule or parts of it needs to be changed, this should be done via the set_device_parm method providing the full schedule json.

The method also need to ensure to update the internal device dictionarie with the modified schedule for each solarbank device. This is important that changes are immediately reflected in the api data structures and not delay until next device details update cycle.

The schedule slots are also different for single and dual bank setups which must be considered for the helper.
Schedule slot with Single Solarbank in system
        {
          "id": 0,
          "start_time": "20:00",
          "end_time": "24:00",
          "turn_on": true,
          "appliance_loads": [
            {
              "id": 0,
              "name": "Benutzerdefiniert",
              "power": 100,
              "number": 1
            }
          ],
          "charge_priority": 80,
          "power_setting_mode": 1,
          "device_power_loads": [
            {
              "device_sn": "25MFU7OHZJTFGFSH",
              "power": 50
            }
          ]
        }

Schedule slot with Dual Solarbank in system
        {
          "id": 0,
          "start_time": "17:30",
          "end_time": "24:00",
          "turn_on": false,
          "appliance_loads": [
            {
              "id": 0,
              "name": "Benutzerdefiniert",
              "power": 170,
              "number": 1
            }
          ],
          "charge_priority": 80,
          "power_setting_mode": 1,
          "device_power_loads": [
            {
              "device_sn": "VQQDB61DTTZEPSVX",
              "power": 85
            },
            {
              "device_sn": "DG34YZMOHGOTW6W2",
              "power": 85
            }
          ]
        }

First tests showed that the set_device_load endpoint accepts the new schedule without error, but it doesn't seem to get applied.
Schedule modifications are only applied via the set_device_parm method.
The parameter must always be the full schedule. Missing slots will automatically extended to complete a full day with the provided slots.
The Power settings must only be applied to the appliance load dict. This will automatically be devided for the individual device power loads. They don't have to be provided for schedule modifications.
Important and modifyable parameters for a slot:
"start_time": "17:30",
"end_time": "24:00",
"turn_on": false,
"appliance_loads": [
{
"name": "Benutzerdefiniert",
"power": 170,
}
],
"charge_priority": 80,

Maybe you can have a look in the npm module ankersolixe1600 - there is setting the homeload (or turning home feeding off) implemented.

The mechanism for appliance load setting is understood and implemented in a helper function.
App version 2.1.0 implemented new capabilities for dual solarbank setup to modify the load sharing. Default so far was 50% of appliance load. The new mechanism is not understood yet and I can't test it. It can be added at a later point when this is clear.
I assume this is why the set_device_load endpoint was implemented. Maybe this works only for dual bank setups, and does nothing for single bank setup...


[BUG] Snapshot build is broken

What is the bug?
Fix and default CI to building a snapshot build.
Use OpenSearch 1.1.
What is the expected behavior?
Build output produces 1.1.0-SNAPSHOT package and JARs in maven.

@mch2 was this fixed by https://github.com/opensearch-project/performance-analyzer-rca/pull/54?


Rename "Contents" to "On this page"

Proposal: currently the right sidebar is named "Contents". What do you think about changing the text to "On this page", like in https://stripe.com/docs/payments/payment-methods? I found "Contents" a bit ambiguous, as left sidebar also contains contents in a way, but for the whole docs.

There's a lot of variations if this out in the interwebs. There's "Table of contents", "Contents", "On this Page" as well as no-title. TBH, I picked the one that looked good to me and ran with it.
There's reinforcing (and counter) examples for all these variants, as well as for "don't have anything". It also helps that this matches what I'd requested sphinx-book-theme to switch to. :)
I'm inclined to consider this one of the many aspects of this theme where "there were options and I picked one to enforce consistently".
Let me know if you have thoughts, and if you don't feel too strongly about this and this answer is satisfactory, feel free to close this issue! ^.^
Heads up: I'm on limited mobile data, coz I just moved so you might see me drop off for the next few days.

Fair enough. I don't feel strongly about it.
I kind-of wish there is an easy way to change this caption without copy-paste or hacks (translate to English?), but that's not a big deal. Closing the issue - thanks for the reply!