Restore-DbaDatabase - WithReplace does not respect destination data directories

Verified issue does not already exist?
Yes
What error did you receive?
No error as the command completes successfully but does not behave as expected.
Expected behavior: the database is restored and the data files reside in the appropriate location on the appropriate drive, i.e. where they already were:

AdventureWorks -> S:\Data\AdventureWorks_Restored.mdf
AdventureWorks_Index -> I:\Data\AdventureWorks_Restored_Index.ldf
AdventureWorks_Log -> L:\Log\AdventureWorks_Restored.ldf

Actual behavior: the database is restored, but the index file is moved to the Data location on the S: drive:

AdventureWorks -> S:\Data\AdventureWorks_Restored.mdf
AdventureWorks_Index -> S:\Data\AdventureWorks_Restored_Index.ldf
AdventureWorks_Log -> L:\Log\AdventureWorks_Restored.ldf

Steps to Reproduce
Consider a backup file AdventureWorks.bak for a database AdventureWorks, which has 3 data files in the following locations:

AdventureWorks (PRIMARY filegroup, rows) -> S:\Data\AdventureWorks.mdf
AdventureWorks_Index (IndexGroup filegroup, rows) -> I:\Data\AdventureWorks_Index.ldf
AdventureWorks_Log (log) -> L:\Log\AdventureWorks.ldf

Additionally consider a copy of the database on the same server that is the restore target, AdventureWorks_Restored, which has the data files in the same locations:

AdventureWorks -> S:\Data\AdventureWorks_Restored.mdf
AdventureWorks_Index -> I:\Data\AdventureWorks_Restored_Index.ldf
AdventureWorks_Log -> L:\Log\AdventureWorks_Restored.ldf

The default data directories on the SQL Server:

Data -> S:\Data\
Log -> L:\Log\

Execute the below PowerShell, with variables adjusted as necessary
# DUMMY VARIABLES #
$TargetInstance = 'Server1'
$TargetDBName = 'AdventureWorks_Restored'
$TargetFilePath = 'K:\AdventureWorks.bak'

# Restore Command
Restore-DbaDatabase     -SqlInstance $TargetInstance `
                            -DatabaseName $TargetDBName `
                            -Path $TargetFilePath `
                            -ReplaceDbNameInFile `
                            -WithReplace `
                            -WarningAction Stop `
                            -verbose

Expected behavior: the database is restored and the data files reside in the appropriate location on the appropriate drive, i.e.:

AdventureWorks -> S:\Data\AdventureWorks_Restored.mdf
AdventureWorks_Index -> I:\Data\AdventureWorks_Restored_Index.ldf
AdventureWorks_Log -> L:\Log\AdventureWorks_Restored.ldf

Actual behavior: the database is restored, but the index file is moved to the Data location on the S: drive:

AdventureWorks -> S:\Data\AdventureWorks_Restored.mdf
AdventureWorks_Index -> S:\Data\AdventureWorks_Restored_Index.ldf
AdventureWorks_Log -> L:\Log\AdventureWorks_Restored.ldf

Are you running the latest release?
Yes
Other details or mentions
I can see the following output in the verbose logging from the command:
VERBOSE: [10:27:22][Restore-DbaDatabase] Processing DatabaseName - AdventureWorks_Restored
VERBOSE: [10:27:22][Format-DbaBackupInformation] Starting
VERBOSE: [10:27:22][Format-DbaBackupInformation] String passed in for DB rename
VERBOSE: [10:27:22][Format-DbaBackupInformation] New DbName (String) = AdventureWorks_Restored
VERBOSE: [10:27:22][Format-DbaBackupInformation]  1 PhysicalName = S:\Data\AdventureWorks_Restored_Data.mdf
VERBOSE: [10:27:22][Format-DbaBackupInformation] PhysicalName = S:\Data\AdventureWorks_Restored_Data.mdf
VERBOSE: [10:27:22][Format-DbaBackupInformation]  1 PhysicalName = I:\Data\adventureworks_restored_Index.ldf
VERBOSE: [10:27:22][Format-DbaBackupInformation] PhysicalName = S:\Data\adventureworks_restored_Index.ldf
VERBOSE: [10:27:22][Format-DbaBackupInformation]  1 PhysicalName = L:\Log\AdventureWorks_Restored_Log.ldf
VERBOSE: [10:27:22][Format-DbaBackupInformation] PhysicalName = L:\Log\AdventureWorks_Restored_Log.ldf

This also occurs without the -ReplaceDbNameInFile parameter.
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe), Windows PowerShell ISE (powershell_ise.exe)
PowerShell Host Version
Name                           Value
----                           -----
PSVersion                      5.1.14393.4583
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.4583
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

SQL Server Edition and Build number
Microsoft SQL Server 2016 (SP2-CU17) (KB5001092) - 13.0.5888.11 (X64)   Mar 19 2021 19:41:38   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2016 Standard 10.0  (Build 14393: ) (Hypervisor)
.NET Framework Version
.NET Framework 4.7.3870.0

Thanks for reporting this.
Here is the relevant code from Format-DbaBackupInformation:
if ($ReplaceDbNameInFile -eq $true) {
	$_.PhysicalName = $_.PhysicalName -Replace $History.OriginalDatabase, $History.Database
}
Write-Message -Message " 1 PhysicalName = $($_.PhysicalName) " -Level Verbose
$Pname = [System.Io.FileInfo]$_.PhysicalName
$RestoreDir = $Pname.DirectoryName
if ($_.Type -eq 'D' -or $_.FileType -eq 'D') {
	if ('' -ne $DataFileDirectory) {
		$RestoreDir = $DataFileDirectory
	}
} elseif ($_.Type -eq 'L' -or $_.FileType -eq 'L') {
	if ('' -ne $LogFileDirectory) {
		$RestoreDir = $LogFileDirectory
	} elseif ('' -ne $DataFileDirectory) {
		$RestoreDir = $DataFileDirectory
	}
} elseif ($_.Type -eq 'S' -or $_.FileType -eq 'S') {
	if ('' -ne $DestinationFileStreamDirectory) {
		$RestoreDir = $DestinationFileStreamDirectory
	} elseif ('' -ne $DataFileDirectory) {
		$RestoreDir = $DataFileDirectory
	}
}

$_.PhysicalName = $RestoreDir + $PathSep + $DatabaseFilePrefix + $Pname.BaseName + $DatabaseFileSuffix + $Pname.extension
Write-Message -Message "PhysicalName = $($_.PhysicalName) " -Level Verbose

Looks like '' -ne $DataFileDirectory is $true and so $RestoreDir = $DataFileDirectory is set.
Will continue to analyse...

Does it work correctly without -WithReplace? At the moment I cannot see the link to -WithReplace.

Ok, I can reproduce the issue. But this may be by design. When -ReuseSourceFolderStructure is used, the files should be placed in the correct directory.

Code from Backup-DbaDatabase says:
if ($PSCmdlet.ParameterSetName -eq "Restore") {
    $UseDestinationDefaultDirectories = $true
}

if (($null -ne $FileMapping) -or $ReuseSourceFolderStructure -or ($DestinationDataDirectory -ne '')) {
    $UseDestinationDefaultDirectories = $false
}

So you have to use -ReuseSourceFolderStructure in case you have a data file in a non-default directory.
Will close this, but you can reopen it, if you have further questions.

Does it work correctly without -WithReplace? At the moment I cannot see the link to -WithReplace.

We need to use -WithReplace because the target database already exists, at least in this scenario.

Ok, I can reproduce the issue. But this may be by design. When -ReuseSourceFolderStructure is used, the files should be placed in the correct directory.

I see.  I think I skipped over this because I was interested in destination folder structure rather than source folder structure - even though it appears per the docs that the combination of -ReuseSourceFolderStructure and -WithReplace will actually do what I was hoping for.
I just tested and it appears to be correct.  Sorry for the erroneous bug report.  I do think there is an opportunity for making this clearer somewhere (maybe a parameter name change, although that would be breaking), but this solves my issue.  Thank you!

@Stuart-Moore : What do you think about adding more information to the description?
The parameter ReuseSourceFolderStructure has this documentation: "By default, databases will be migrated to the destination Sql Server's default data and log directories. You can override this by specifying -ReuseSourceFolderStructure. The same structure on the SOURCE will be kept exactly, so consider this if you're migrating between different versions and use part of Microsoft's default Sql structure (MSSql12.INSTANCE, etc)"
Maybe we should add "By default, databases will be restored to the destination SQL Server's default data and log directories. You can override this by specifying -ReuseSourceFolderStructure." to the description?


fix(CI): remove underused lighthouse CI

We do not use this as much, and we use page speed insights internally, dropping this for now

Yup, and the fact that this only checks the landing page makes it not worth the effort. The better way to use this would be off of GitHub in a dedicated tool of some sort that checks random news pages and learn pages, and then shares some scores.


Translation lines shifting and some translations missing

Hi! First of all, love your project. I'm running into an issue that is potentially related to #12.
I have a large(ish) file of ~500 lines that I'm running through your script with google-official. Specifically running:
i18n-auto-translation -k $SECRET_KEY --from en --to hi --filePath en.json

My translation files (attached shortened versions below) are formatted like
{
  "like": {
    "header": "A header about the like section."
    "001": "The first like quote",
    "002": "The second like quote",
    "...": "...",
    "250": "The last like quote"
  }
  "recommend": {
    "header": "The recommend header.",
    "001": "The first recommend quote",
    "002": "The second recommend quote",
    "...": "...",
    "250": "The last recommend quote"
}

but after running through the script, some keys in the translated file are jumbled and some are completely missing, leaving something like:
{
  "like": {
    "header": "The second like quote"
    "001": "The first like quote",
    "002": "A header about the like section.",
    "...": "...",
    "250": ""
  }
  "recommend": {
    "header": "The second recommend quote",
    "001": "",
    "002": "The recommend header.",
    "...": "...",
    "250": "The last recommend quote"
}

Fortunately (and for whatever reason), the translations do not swap between containing dictionaries ("like" and "recommend" stay separate). I have attached the hi translation, but this issue also occurs (weirdly, at different thresholds of quotes for different languages) in es, fr, zh, and ar as well.
I saw this may be related to the Google Translate API (though even with the attached files which have fewer than 200 lines this issue seems to occur).
Would love any guidance on this!
en.json
hi.json

Hi @Andrew-Tierno,
Sadly, I don't have Google api key anymore, so couldn't test with it.
But I test it with azure and deepl, and both worked correctly for sr, de and hi.
So I would assume that this is related with how google gives back those translations, maybe you can try to divide this file in 3-4 smaller files and try again. Or if you are able, try to switch translate provider.

Hi @while1618, thanks for the quick reply. I'd be happy to grant you an API key on a sample project if you'd be willing to take a look. If not, I'll try one of the interventions you suggested and report back.

I'll gladly check on this. You can send me the key on<EMAIL_ADDRESS>Promise I won't abuse it in any way, I'll just run a couple of tests with your provided file.
I'll probably check on this tomorrow/day after tomorrow, and will let you know once it's done, so you can revoke your key.

Unfortunately it seems that Google wants you to have a Google Account to access GCP resources (I'm a protomail user too I find this very frustrating). Would you mind sending one over?

<EMAIL_ADDRESS>

Added! There is a key called Translation Key accessible from APIs & Services > Credentials. Let me know if you have any permission issues.

I have a permission problem, can you write me an email, so that I can share with you what the error is?

Sent to your protonmail account
On Tue, Aug 20, 2024 at 7:47 AM Dejan Zdravkovic @.***>
wrote:

I have a permission problem, can you write me an email, so that I can
share with you what the error is?
—
Reply to this email directly, view it on GitHub
https://github.com/while1618/i18n-auto-translation/issues/46#issuecomment-2297641451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2EAI5Z4DLGNTZUJKROBVDZSJYZHAVCNFSM6AAAAABMVQYJ4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXGY2DCNBVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @Andrew-Tierno,
Just finished checking on this. It's definitely google response that is a problem here, on some languages it will work as expected, it worked with sr and de, but hi was problematic. Also, it's related to #12 as you mentioned.
I solved #12 by putting maxLinesPerRequest = 200, that will split the file if it's larger than 200 lines, and 200 seemed like the sweet spot to me, but obviously it was wrong. I was able to solve your problem by changing this value to 50.
You can find this change in 1.7.0, so update the lib and try again.
Also, in order to fix this for good, I exposed a variable for this in the CLI. The default value will be 50 from now on, but you can override it anytime if you want more or less lines per request.
Let me know if this worked for you once you test it.
Also, thank you for the key, you can revoke it now.

Hmmm testing it out, I had to crank it down to 5 for it to work consistently on hi and zh, but when I do that fr suddenly becomes problematic! For now I'm going to have a special case for fr, but if you have any thoughts on why this may be the case please let me know. I'll keep the key up for now in case you want to test.
This issue may also be worth a comment in your README?

I'm really not sure why google response is like this. I'm sending data the same way for all translate apis, but only google is having a problem like this. I just tried it with fr and I faced the same problem. It's probably related to the amount of text that is being sent.
Yea, I will definitely update the readme.
Hope that I could help you at least a little with this. For the problematic languages, you can play with maxLinesPerRequest or try to use different translate provider for those languages.

The issue is now mentioned in the readme.
Deleted comments were the one related to the api key, I just wanted to hide them if someone reads this, because they are not related to the issue at all.


Test Coverage Badge

We may want to include a badge displaying our code coverage.
As we have fairly good coverage we should advertise this fact as another sign of good repo quality.
I have no experience with GitHub badges and hence can not recommend any service.
One that I found through googling though is codecov.io who provides badges like that:

I have used https://coveralls.io in the past for this. I'll do it.

Great.
Wow, I didn't realize we actually have 96% coverage!
This makes our new badge look even better. :-)


Fall back to a JavaTimer if a DefaultTimer instance can't be fetched

@Fluxx: This supersedes #28. Take a look and let me know what you think, and I'll try and get this merged/released ASAP so that you can validate whether it helps or not. Hopefully it will.

Generally looks good to me though, sans the daemon question.

@Fluxx Good call. Once this has built, I'll merge and release. Sorry it's taken a while!

Just checking in on this.

@Fluxx Sorry for the delay: I've just released 0.0.10 to Bintray, and it's syncing to Maven Central at the moment. Can you let me know if it fixes things for you? I still think there's a race condition in there somewhere, but I'll pick that up as a separate issue.

I'll give it a shot and see. I had actually internally been using the old version but with an alternate constructor usage to use the JavaTimer. However, I ran into another issue involving any stats which don't seem to have any amount of nesting. I believe the metric is coming from finagle itself.


⚠ 366.ru has degraded performance

In 8c23d76, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 3257 ms

Resolved: 366.ru performance has improved in 35b2ae3.


Update 09OpenSciencePolicies.md. Fixed broken URL

Fixed link to: https://ec.europa.eu/research/participants/data/ref/h2020/other/hi/oa-pilot/h2020-infograph-open-research-data_en.pdf

Thank you @dncgst .
Note: If  administrators of this repository open ownership of this repository the community can handle the minor corrections by integrating those pull request.


Event Batch Mode Panic

Description
If Events.BatchMode() is used with a context that finishing (ie, the Done() channel produces a message), there is a panic in a trace log line
Go Version
go version go1.19.3 darwin/arm64
Current behavior
Entered batch mode using a cancelable context.  When the context is canceled, a panic is issued.
Expected behavior
The library should finish cleanly when the context is done.
Steps To Reproduce

Enter batch mode with a cancelable context:

ctx, done := context.WithCancel(context.Background())
client.BatchMode(ctx, 123456, ....)

do work, send events, etc..

client.EnqueueEvent(ctx, ....)

Call done to cancel the context:

done()

Panic

goroutine 33 [running]:
github.com/newrelic/newrelic-client-go/v2/pkg/logging.createFieldMap(...)
	/Users/creinhardt/go/pkg/mod/github.com/newrelic/newrelic-client-go/v2@v2.2.2/pkg/logging/logrus_logger.go:101
github.com/newrelic/newrelic-client-go/v2/pkg/logging.LogrusLogger.Trace({0x14000064e78?}, {0x1011c8a72?, 0xc?}, {0x1400055e040?, 0x140006e4201?, 0x0?})
	/Users/creinhardt/go/pkg/mod/github.com/newrelic/newrelic-client-go/v2@v2.2.2/pkg/logging/logrus_logger.go:92 +0x1d8
github.com/newrelic/newrelic-client-go/v2/pkg/events.(*Events).batchWorker(0x10191fba0, {0x10143a878, 0x1400009ae80}, 0x0)
	/Users/creinhardt/go/pkg/mod/github.com/newrelic/newrelic-client-go/v2@v2.2.2/pkg/events/events_batch.go:170 +0x314
github.com/newrelic/newrelic-client-go/v2/pkg/events.(*Events).BatchMode.func2(0x14000243400?)
	/Users/creinhardt/go/pkg/mod/github.com/newrelic/newrelic-client-go/v2@v2.2.2/pkg/events/events_batch.go:44 +0x34
created by github.com/newrelic/newrelic-client-go/v2/pkg/events.(*Events).BatchMode
	/Users/creinhardt/go/pkg/mod/github.com/newrelic/newrelic-client-go/v2@v2.2.2/pkg/events/events_batch.go:43 +0x230

Additional Context
The line in question is a trace logging line:
e.logger.Trace("batchWorker[", id, "]: exiting per context Done")
Probably just need to change that to
e.logger.Trace(fmt.Sprintf("batchWorker[%d]: exiting per context Done", id))

@ctriv I believe this should no longer be an issue, given these changes (https://github.com/newrelic/newrelic-client-go/pull/1104) which were recently merged to address the exact same issue. Closing the issue - thank you for reporting.


NIFI-6009 ScanKudu Processor

This PR has a dependency on NIFI-6009 Kudu Put Operations. first, this NIFI-6009 Kudu Put Operations requires to merge.
This PR includes Kudu Scan Processor support
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@granthanke made changes suggestion on the previous one

@SandishKumarHN, now #3610 is merged, you can rebase this one against master

Can you have a look at the unit tests / Travis build? I believe you removed Kudu masters property in the test runner which is required.

@pvillard31 Thanks for pointing out.

@pvillard31 made changes based on your suggestions

@pvillard31 did you had a chance to go through the latest changes?

@tpalfy Thank you for the review, made changes based on your suggestions and left couple of comments.

@tpalfy instead of Outing as Avro Output, I was thinking of outputting as NifiRecors.

@tpalfy made all suggested changes except the output format and added kudu test harness support. let me know if Nifi Record is better or we should go with Avro.

@tpalfy Yes, I did referenced GetHbase. Let's keep the JSON output format for now.  and made changes based on your suggests.

@tpalfy Thank you so much for the valuable suggestions,
Added test for batchSize and made ScanKuduResultHandler, ProjectedColumns changes based on your suggestion.

@tpalfy Thanks for quick review and suggestions. made changes as per your suggestions.

@tpalfy thank you so much for thorough testing and adding more tests this. really appreciate. made changes as per your code snippets.

@tpalfy I couldn't think of more tests for Predicates and Kudu Types. Please comment if you see we missed it.
and one of the CI failed with a timeout after the build success.

@tpalfy @pvillard31 can we please merge this ? and this https://github.com/apache/nifi/pull/. we are waiting on these two to place at customer place.


#172 - Binance - No support for getting current account's trades

Binance - No support for getting current account's trades #172

Can you explain your use case for getting individual trades vs. the orders which aggregate the trades?

Since only binance supports this can we delete the changes from iexchangeapi and move the changes from exchangeapi into exchangebinanceapi?


Create table with name by pass a function param.

sol version: 3.2.3
lua version: 5.4.2
Visual Studio 2019
Windows 10 x64

sol::state lua = {};
lua.open_libraries();
sol::table guessMe = lua.create_named_table("GuessMe", "table?", [](lua_State* L) {
    lua_pushliteral(L, "I'm a table.");
    return 1;
    });

guessMe["function?"] = [](lua_State* L) {
    lua_pushliteral(L, "I'm a function.");
    return 1;
};

lua.script(R"+*(
    if "function" == type(GuessMe["table?"]) then
        print(GuessMe["table?"]());
    else
        print([[GuessMe["table?"] is a table.]]);
    end
    if "function" == type(GuessMe["function?"]) then
        print(GuessMe["function?"]());
    end
)+*");
// output:
// GuessMe["table?"] is a table.
// I'm a function.

// Why do they behave differently?
}

Your output is technically wrong since create_named_table is actually converting your lambda to userdata.
You can make the example work as both functions by wrapping your first creation in a lua_CFunction. Like this:
    sol::table guessMe = lua.create_named_table("GuessMe", "table?", lua_CFunction([](lua_State* L) {
        lua_pushliteral(L, "I'm a table.");
        return 1;
    }));

The output to this call is still wrong with how you worded it, since GuessMe is a table, but the member table? here is now a function.

@atom0s
Thanks!


Change colors on the 'By Design Level' chart

Pre-code should be black, low-code should be red, moderate-code should be yellow, and high-code should be green.

fixed - we had it the colours set this way before but the order of the columns got switched around in my script at some point. you should see this now:


test: E2E tests

WIP, experiments. Will update once finalised.
Currently using CodeceptJS for the E2E tests and Selenoid to run different browser versions in Docker containers.
Using CodeceptJS over TestCafe, Puppeteer or Playwright because it can use webdriver (Selenium). E.g. TestCafe uses a proxy so we can't test userscripts: They'll never match the URL. Also chose CodeceptJS over e.g. WebdriverIO because it wraps WebdriverIO (so we can still use it) but for the standard tasks, the interface is much nicer.
We're currently running through Violentmonkey only, but installing Tampermonkey or Greasemonkey shouldn't be too difficult now that VM works. For VM, we install userscripts through a temporary localhost server which serves them. Currently that won't work properly in CI though, as CI doesn't build the scripts before serving.
We're currently testing on Firefox latest and 52.0 (lowest version officially supported by MB), and Chrome latest and 64.0 (lowest version supported by MB is 49.0, but it doesn't want to load the extensions for some reason and I can't figure out why. Probably because Violentmonkey supports 55.0 and higher, but it still doesn't work on 55.0, so I selected 64.0 since that's the lowest supported Chrome by Tampermonkey latest. Violentmonkey works on it, so I'm satisfied).
Running locally is a bit tricky, so it's best to look at CI and imitate that.
TODO:

[x] Figure out how to install userscript managers
[ ] Install Tampermonkey, Greasemonkey v4 and Greasemonkey v3 (depending on FF version).
[x] Figure out how to install the userscript(s) in the browser
[x] Support installing multiple userscripts, build the userscripts beforehand in CI.
[ ] Write cool E2E tests
[ ] Perhaps look into self-hosting an MB instance instead of using test.MB, as test.MB can be slow at times. Ideally it'd be spun up in CI and thus also destroyed once CI is finished, and wouldn't be exposed to the outside world.
[x] Look into uploading E2E test artifacts (videos, screenshots, and logs) as CI artifacts.
[ ] Can we do coverage analysis in these E2E tests?
[ ] We might need to add some sort of HTTP record-and-replay proxy, or figure out how to integrate PollyJS in the built scripts, to prevent flaky tests.
[ ] Change CI so that it only runs a couple of the E2E tests on PRs (latest Chrome and Firefox, all major userscript engines) but runs all E2E tests before a deployment. Perhaps add a comment slash command like /run-full-e2e to run all E2E tests on request.

IMPORTANT: Make sure to undo 80d9207a58ab7333ac7d108a4dbda65ac3ff89b6 prior to merging.

Chrome 64 and FF 52 are failing on these simple E2E tests because of missing polyfills 🙂

So I got the E2E setup working with a locally hosted MB instance, but getting it to work in CI is going to be a different story. The docker images take 10 minutes to build, so building them on every run (in the worst case, for every browser/manager combination separately) is not really feasible. I've got an idea for a workaround though, which would pretty much be building the images in a separate repo and pushing them to GitHub's container registry so we can just pull them instead.
Performance of the MB server on a CI machine is a bit of a concern though. Locally, it isn't much faster than going through the real test.MB (and slower than prod MB, but that's to be expected, the local setup isn't tweaked). It might get a bit better if we cull the test DB instance to only contain data that's really necessary, but I wouldn't bet on it being a huge improvement. We don't need the best performance though, we just need increased stability, and test.MB is running an old MBS version too, ideally the tests should be using the latest version. Nonetheless, if the self-hosted MBS eats too many resources of the CI machine, the browser is going to suffer and more steps will time out...
There's a reason why MB's selenium tests are running on a self-hosted jenkins machine 😅  In the worst case, I can probably spin up a self-hosted runner on my VPS though, which should give it a bit more breathing room.

Well, this has become a bit of a mess. Merging this PR as-is would lead to a very convoluted history and there are numerous commits whose content has subsequently been reverted. More problematically, this branch has gotten so out of sync with the main branch that resolving the conflicts every couple of days becomes quite a headache. The dependency conflicts, although a pain to deal with, are manageable, but with the refactoring of unit tests + unrelated changes in #299, fixing these conflicts will be difficult.
I'll keep the PR open for now, but I'll start to cherry-pick some groups of changes to smaller PRs so they can already be merged separately, which should hopefully be able to reduce the maintenance overhead of this branch.

Why exactly were we using CodeceptJS again? And why are we using a very outdated version of webdriverio? I'm a bit confused…
I may not have read the WDIO docs properly, their test framework seems pretty decent to use… Sure, CodeceptJS is more declarative, but it's also caused plenty of headaches already… I think my main issue with WDIO is that its describe and it declarations may have conflicted with jest's.

I'm getting burnt out by these E2E tests. We'll use these changes for inspiration later, but closing for cleanup.


Cannot read property 'toString' of undefined

Hey, trying to get this working in a storybook project and getting the following error after following the instructions:
ERR! TypeError: Cannot read property 'toString' of undefined
ERR!     at /Users/samgoddard/code/xxx/node_modules/storybook-css-modules-preset/index.js:13:51
ERR!     at Array.filter ()
ERR!     at Object.webpackFinal (/Users/samgoddard/code/xxx/node_modules/storybook-css-modules-preset/index.js:13:32)
Any idea what I might be doing wrong?

I just debugged this. It's due to Storybook 6.2 having an empty object in the array of rules. It's a simple fix. I'm going to make a PR right now.

@Negan1911 My PR is ready to go.

Nice! i'll review and merge :)

You can download version 1.0.8 with this fix applied

Thank you so much both!! 🎉


InfluxDB refusing connections

Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
InfluxDB 1.3.5 on Ubuntu 16.04.3 LTS
Steps to reproduce:

sudo influxd run -config /etc/influxdb/influxdb.conf
influx

Expected behavior: [What you expected to happen]
I can connect to InfluxDB.
Actual behavior: [What actually happened]
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt
Please check your connection settings and ensure 'influxd' is running.

Additional info:
This issue crops up very randomly. It usually happens after I write a large set of data and the write fails partway through and I restart the database. Deleting the databases doesn't fix it. The only solution I've found to consistently work so far is reinstalling InfluxDB.
When I run sudo service influxdb start then check sudo service influxdb status, it checks out as active (running).  I uninstalled and reinstalled, but that didn't fix it either. I had to uninstall and then install the latest nightly.

@natejgardner  have you checked influxd.log?
When influxdb starts, it needs to read all shards before it can open http listener.
In my case (over 200 large shards), it takes more than 3 minutes.

@natejgardner at the moment this just looks like Influx is starting up. Port 8086 is one of the last things to be opened, and then the database is ready for querying and writing. Can you provide the logs during this period and we can check them for you.

The database wasn't very large (~10 million records) and it remained in this condition indefinitely (it was offline for more than one day). I wonder if it's hanging when trying to start? I can't find any logs. /var/log/influxdb/ is an empty directory and I could not locate any file called influxd.log on my system.

@natejgardner would you be willing to send us your database via secure and private means? You could probably zip it up and email it (or say a dropbox link). Or we could provide you with access to our SFTP site. I think it will be hard to investigate this further without being able to reproduce it.

Oh, I just noticed:

Quick update: this happened again on 1.3.6. I uninstalled and reinstalled, but that didn't fix it either. I had to uninstall and then install the latest nightly.

Can you confirm this has been fixed with a nightly?

Hi,
I got exact the same issue. I am using 1.3.7 and nightly with no luck,too.
CPU keep high around 80~99% and can't influx due to connection refuse.
By the way, how to delete database in such condition? Or you need my database for further
analysis?

Having a similar issue as well after upgrading to 1.3.7. We are restarting Influx 1-2 times a day at the moment. After about ~12 hours Influx starts refusing connections to :8086 and backing up connections, a restart is the only way to resolve it. Logs do not show anything.

I am getting something similar, Raspberry Pi Zero W, with Jessie and a small Python script to write points. On a hard boot, it seems OK, but on the early morning soft reboot that I hoped would cure this it gives:
Failed to establish a new connection [Errno 111] Connection refused after Max retries and then hangs.
I've put a 60 second sleep before the connection into the Python script, but may increase this to give the database time to 'start'. Logging is off at the moment, because everything is stripped down, so it can potentially run for months.

I'm curious about sockets, could it be they are exhausted because too many of them in CLOSE_WAIT state for ex. ?

I have the same problem with influx 1.5.1 on a Raspbery Pi 2 with Jessie. Since a few days I cannot write to the DB anymore.
Telegraf complains: E! Error writing to output [influxdb]: Could not write to any InfluxDB server in cluster InfluxDB Output Error: Post http://<IP_ADDRESS>:8086/write?consistency=any&db=telegraf: dial tcp <IP_ADDRESS>:8086: getsockopt: connection refused
My own writer program outputs: SOCKET_ERROR : [111] Connection refused

Same issue here. Influx 1.5.2 on Raspberry Pi 3 with Jessie running Openhabian.
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt: connection refused
Please check your connection settings and ensure 'influxd' is running.
[22:37:03] openhabian@openHABianPi:/var/log$ ps ax | grep influx
29129 ?        Ssl    0:03 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
Log dir is empty and no log at messages

@RREE @saback when this happens (and influxd is not responding), could you please get us profile information using the following command (you may need to change the host).
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"

You can either attach the archive here, or you can email it to me. My address is edd, the domain is the name of the database .com.

Hi @e-dard, I got got it correct, the response is below:
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8086: Connection refused

Hi @e-dard, sent the profiles.tar.gz via email. The kill -s SIGQUIT didn't provide any output but allowed me to run the curl command.

Same problem here after upgrading to Influx 1.5.2 on a raspi 3 with jessie
$ sudo service influxdb status
● influxdb.service - InfluxDB is an open-source, distributed, time series database
   Loaded: loaded (/lib/systemd/system/influxdb.service; enabled)
   Active: active (running) since Tue 2018-05-01 12:17:49 UTC; 6min ago

$ influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt: connection refused
Please check your connection settings and ensure 'influxd' is running.

Don't know if it will help you, but killall influxdb then /usr/bin/influxd -config /etc/influxdb/influxdb.conf
So I did put this in crontab, it works, we will see in the future updates if it's fixed.
@reboot killall influxdb
@reboot  /usr/bin/influxd -config /etc/influxdb/influxdb.conf

same with the default installation. systemctl start influx does not work, but sudo -u influxdb /usr/bin/influxd -config /etc/influxdb/influxdb.conf does

The problem seems to be caused by permissions of the influxd user :
When starting influxd as root then it starts listening as it should on port 8086.
However  when it is started as the influxdb user (which happens when starting it from systemd)
then the http listener does not start !
i.e.
# sudo -u influxdb /usr/bin/influxd             =>  no listener on 8086
# /usr/bin/influxd                                       =>  works fine

@MarcVanOevelen I spend few hours on this issue and found beside the way you do, may be can try
below command before remove directory
sudo chown -R influxdb:influxdb /var/lib/influxdb

I am getting the below error
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8086): Max retries exceeded with url: /query?q=SELECT+%2A+from+brushEvents&db=example (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7efe8631db50>: Failed to establish a new connection: [Errno 111] Connection refused',))
thanks

I have installed Oracle Vbox and have Centos7 running in it. I have installed influx on centos. Now I am trying to access Influxdb from java web service(hosted on local tomcat server).
getting error as
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8086 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

@MarcVanOevelen I spend few hours on this issue and found beside the way you do, may be can try
below command before remove directory
sudo chown -R influxdb:influxdb /var/lib/influxdb

this work well for me,thx

Is it possible to make InfluxDB check for and log this permissions issue rather than silently failing?

Unfortunately the chown solution doesn't work for me. Running InfluxDB 1.7 on RHEL now. Influx writes to /var/log/messages that it's opening all the shards and opening / reading the tsm1 files. It takes a long time to do this, but eventually it stops writing any messages. It doesn't write any errors to the log but still refuses connections. The database was working fine for a week before suddenly ceasing to function, just like before.

Started from scratch, three days later, this behavior started again when someone made long-running query. InfluxDB stopped responding and on restart I get the same behavior. Only solution is to delete the data and start over. Is anyone else still dealing with this issue regularly?

pi@raspberrypi:~ $ influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
Please check your connection settings and ensure 'influxd' is running.
This database has been functioning fine more months and months. I have been using Grafana to display 4 or 5 fields and recently increased that to about 20 and this problem occurred. I removed and re-installed and had influx command connecting then shortly back to this....has anyone actually found the cause and the fix?

@awwbaker  could you share the output of this cmd
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
You can also check how other users provided details to reproduce above.

Thank you for reaching out....
pi@raspberrypi:/ $ curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8086: Connection refusedpi@raspberrypi:/ $ ^C
On Tuesday, April 14, 2020, 02:17:20 PM EDT, Mustafa<EMAIL_ADDRESS>wrote:

@awwbaker could you share the output of this cmd
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
You can also check how other users provided details to reproduce above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Omg this is great

After updating the system I see the exact same issue with influx 1.8.0:

All databases worked beforehand ... after the update more and more connection issues developed and now even after a fresh reboot it will almost instntly fail like this.
Can anybody please come to the rescue?
Thanks

We are having the same problem. I fixed it as follows:
# systemctl stop influxd
# /usr/bin/influxd -config /etc/influxdb/influxdb.conf &> /tmp/influxdb.log

I saw:
...
ts=2020-11-13T11:33:14.183571Z lvl=info msg="Reading file" log_id=0QSLvqlW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/196/_00093.wal size=10726643
ts=2020-11-13T11:33:15.391503Z lvl=info msg="Reading file" log_id=0QSLvqlW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/196/_00094.wal size=10730412
**fatal error: runtime: out of memory**

runtime stack:
runtime.throw(0x16a58ad, 0x16)
	/usr/local/go/src/runtime/panic.go:774 +0x72
runtime.sysMap(0xc02c000000, 0x4000000, 0x3613fb8)
	/usr/local/go/src/runtime/mem_linux.go:169 +0xc5
runtime.(*mheap).sysAlloc(0x35fafa0, 0x2000, 0x2000, 0x41690f)
	/usr/local/go/src/runtime/malloc.go:701 +0x1cd
runtime.(*mheap).grow(0x35fafa0, 0x1, 0xffffffff)
	/usr/local/go/src/runtime/mheap.go:1255 +0xa3
runtime.(*mheap).allocSpanLocked(0x35fafa0, 0x1, 0x3613fc8, 0xc00004b320)
	/usr/local/go/src/runtime/mheap.go:1170 +0x266
runtime.(*mheap).alloc_m(0x35fafa0, 0x1, 0x7f0ff8ff0021, 0x45d0fa)
	/usr/local/go/src/runtime/mheap.go:1022 +0xc2
runtime.(*mheap).alloc.func1()
	/usr/local/go/src/runtime/mheap.go:1093 +0x4c
runtime.systemstack(0xc000000d80)
	/usr/local/go/src/runtime/asm_amd64.s:370 +0x66
runtime.mstart()
	/usr/local/go/src/runtime/proc.go:1146
...

Then I increased the RAM and the problem went away

I have the same issue on a pi zero, diet pi, Bullseye :
dietpi@DietPi:~$ echo "$G_DIETPI_VERSION_CORE.$G_DIETPI_VERSION_SUB.$G_DIETPI_VERSION_RC" 7.9.3 dietpi@DietPi:~$ cat /etc/debian_version 11.2
Influx :
`dietpi@DietPi:~$ sudo service influxdb status
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: activating (start) since Sat 2022-01-01 23:11:03 CET; 1s ago
Docs: https://docs.influxdata.com/influxdb/
Cntrl PID: 5872 (influxd-systemd)
Tasks: 14 (limit: 991)
CPU: 670ms
CGroup: /system.slice/influxdb.service
├─5872 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─5873 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
├─5889 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─5890 influxd config
├─5892 grep https-enabled = true
└─5893 cut -d   -f5
Jan 01 23:11:03 DietPi systemd[1]: Starting InfluxDB is an open-source, distributed, time series database...
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5875]: Merging with configuration at: /etc/influxdb/influxdb.conf
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.395852Z lvl=info msg="InfluxDB starting" log_id=0YmvzYIl000 version=1.8.10 branch=1.8 commit=688e697c51fd
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.418139Z lvl=info msg="Go runtime" log_id=0YmvzYIl000 version=go1.13.8 maxprocs=1
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.534800Z lvl=info msg="Using data dir" log_id=0YmvzYIl000 service=store path=/var/lib/influxdb/data
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.561079Z lvl=info msg="Compaction settings" log_id=0YmvzYIl000 service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.562639Z lvl=info msg="Open store (start)" log_id=0YmvzYIl000 service=store trace_id=0YmvzYxW000 op_name=tsdb_open op_event=start
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.905774Z lvl=info msg="Reading file" log_id=0YmvzYIl000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/3/_00001.wal size=10486231`
Same error :
dietpi@DietPi:~$ curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 curl: (7) Failed to connect to localhost port 8086: Connection refused
Influxd status :
`dietpi@DietPi:~$ influxd
8888888           .d888<PHONE_NUMBER>b.  888888b.
888            d88P"  888                   888  "Y88b 888  "88b
888            888    888                   888    888 888  .88P
888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
888   888  888 888    888 888  888   X88K   888    888 888    888
888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"
2022-01-01T22:07:38.935564Z     info    InfluxDB starting       {"log_id": "0Ymvm~cl000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
2022-01-01T22:07:38.948223Z     info    Go runtime      {"log_id": "0Ymvm~cl000", "version": "go1.13.8", "maxprocs": 1}
run: open server: listen: listen tcp <IP_ADDRESS>:8088: bind: address already in use`
None of the above solution worked for me.

I have the same issue on a pi zero, diet pi, Bullseye :
dietpi@DietPi:~$ echo "$G_DIETPI_VERSION_CORE.$G_DIETPI_VERSION_SUB.$G_DIETPI_VERSION_RC" 7.9.3 dietpi@DietPi:~$ cat /etc/debian_version 11.2
Influx :
`dietpi@DietPi:~$ sudo service influxdb status
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: activating (start) since Sat 2022-01-01 23:11:03 CET; 1s ago
Docs: https://docs.influxdata.com/influxdb/
Cntrl PID: 5872 (influxd-systemd)
Tasks: 14 (limit: 991)
CPU: 670ms
CGroup: /system.slice/influxdb.service
├─5872 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─5873 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
├─5889 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─5890 influxd config
├─5892 grep https-enabled = true
└─5893 cut -d   -f5
Jan 01 23:11:03 DietPi systemd[1]: Starting InfluxDB is an open-source, distributed, time series database...
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5875]: Merging with configuration at: /etc/influxdb/influxdb.conf
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.395852Z lvl=info msg="InfluxDB starting" log_id=0YmvzYIl000 version=1.8.10 branch=1.8 commit=688e697c51fd
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.418139Z lvl=info msg="Go runtime" log_id=0YmvzYIl000 version=go1.13.8 maxprocs=1
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.534800Z lvl=info msg="Using data dir" log_id=0YmvzYIl000 service=store path=/var/lib/influxdb/data
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.561079Z lvl=info msg="Compaction settings" log_id=0YmvzYIl000 service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.562639Z lvl=info msg="Open store (start)" log_id=0YmvzYIl000 service=store trace_id=0YmvzYxW000 op_name=tsdb_open op_event=start
Jan 01 23:11:04 DietPi influxd-systemd-start.sh[5873]: ts=2022-01-01T22:11:04.905774Z lvl=info msg="Reading file" log_id=0YmvzYIl000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/3/_00001.wal size=10486231`
Same error :
dietpi@DietPi:~$ curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 curl: (7) Failed to connect to localhost port 8086: Connection refused
Influxd status :
`dietpi@DietPi:~$ influxd
8888888           .d888<PHONE_NUMBER>b.  888888b.
888            d88P"  888                   888  "Y88b 888  "88b
888            888    888                   888    888 888  .88P
888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
888   888  888 888    888 888  888   X88K   888    888 888    888
888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"
2022-01-01T22:07:38.935564Z     info    InfluxDB starting       {"log_id": "0Ymvm~cl000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
2022-01-01T22:07:38.948223Z     info    Go runtime      {"log_id": "0Ymvm~cl000", "version": "go1.13.8", "maxprocs": 1}
run: open server: listen: listen tcp <IP_ADDRESS>:8088: bind: address already in use`
None of the above solution worked for me.

otherwise

 influx -help
   ...
   ...
  -host 'host name'
                                Host to connect to.
   ...
   ...
if :
bind-address = "<IP_ADDRESS>"
$> influx -host <IP_ADDRESS>
Connected to http://<IP_ADDRESS>:8086 version 1.8.10
InfluxDB shell version: 1.8.10
$>

influx seems to be picky, installed latest version all working fine, deleted a bucket let it fill again ( few hundred entries ) and now one out of four clients always connection refused... yeah nice fancy ui but the experience has been bad so far, off topic though.


Copy image to clipboard not working on mobile (safari)

Will need to investigate why.

This might be an issue with iOS itself; I might have to prompt a download or show the image on screen so that people can long press it then save.
I don't have any way of testing whether this is also an issue on android.

It seems like there is a weird issue with html-to-image that others experience on iOS as well; the images don't properly load unless you generate the image twice.  Additionally, the outline on the quantities are missing in the image for some reason (once again, only on iOS).  Maybe it's because of some transition I have?  I don't have a good way of testing/debugging for mobile unfortunately.

(Seemingly) only on the latest iOS version, the borders are missing in the generated image.


Colored emoji rendering issue.

Version
3.2.33
Reproduction link
sfc.vuejs.org/
Steps to reproduce

Try to render colored emoji converted from Unicode such as ['"263a", "fe0f"]
To convert Unicode to emoji you can use String.fromCodePoint example:  String.fromCodePoint(parseInt('263a', 16))

What is expected?
It should render emojis as with their color.

What is actually happening?
It doesn't render emoji color.

Expected sandbox: VanillaJS
Actual (SFC): VUE3

work as expected.🤔

@edison1105  Looks like it happens only in chromium browsers on Mac, Chrome (version: 100.0.4896.127), Brave & Edge has this issue; It works fine in Safari & Firefox.

@edison1105 Looks like it happens only in chromium browsers on Mac, Chrome (version: 100.0.4896.127), Brave & Edge has this issue; It works fine in Safari & Firefox.

oh~ I tested in chrome on Windows.

This is unrelated to Vue.js: you can try replacing any p tag directly with the console in this very page and you will see the same result:
emojis = ["1f976", "1f97a", "263a-fe0e", "2639-fe0f"]
unicodeToEmoji = (unicode) => {
  return unicode
    .split('-')
    .map((hex) => String.fromCodePoint(parseInt(hex, 16)))
    .join('')
}
// select one p in the devtools then
$0.innerHTML = unicodeToEmoji(emojis[3])

You can set the font-family as "Apple Color Emoji" for macOS.


docs(readme): Basic proofread, test and restructure the READMES into...

…logical content categories.
This PR splits the existing root readme and the runtime readme into 4 separate docs based on the content categories and from the end user or developer perspective.
I have created a docs folder for the 3 docs other than the root Readme. This directory struct would help us in the future if we decide to publish it on the osio web portal or add more docs, apart from logically grouping the content. @michaelkleinhenz please review and let me know if this makes sense or if it needs to be modified.

The Root read me covers quick start steps using the launcher script for running standalone and integrated builds for developers who are in a hurry to get started.
docs/Building doc covers manual steps for running Standalone, Integrated and Production builds, this is aimed at developers who would want to dig deeper.
docs/Testing covers the various tests we run on Planner.
docs/Tech stack (suggested by @nimishamukherjee) covers the tech stack planner uses and is a WIP. I will need initial content for this, so that I can build on it.

Please note I have tested the manual steps for standalone and Integrated as well as the launcher script for standalone. @ldimaggi are the steps to create a Production build and launcher script for integrated build tested? Also, please review this PR and let me know if it needs any changes.
I have also modified the format of external and internal links to keep it consistent with the OpenShift documentation conventions.

Thanks @michaelkleinhenz and @ldimaggi

@Preeticp snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2051-fabric8-planner.badger.fabric8.io

@Preeticp snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2051-fabric8-planner.badger.fabric8.io


add new functions 'consecutive_gt' and 'consecutive_lt'

Proposal
We set an alert for the latency of our system (something like max(job:latency_quantile95) > 100 ).
We soon found it was too sensitive because our system would experience inherent latency spikes periodically, I can't explain the details about the spike here, we just can't get ride of it for now.

We don't wanna be bothered by those spikes and we decide only to alert if the spike persists for a period of time, say 5 min.
We try to do it like: (sum_over_time(((sum_over_time((max(job:lantency_quantile95) > bool 100 ) [3m:1m])) >= bool 5)[1d:5m]). It worked but we found that we are not alarmed when the spike persists 5min and spanned across two 5-min-window.
We actually want a function to check whether the series satisfies a certain condition consecutively for a range of points.
I checked the code and it turns out that it's quite convenient to add these new functions.
	"consecutive_gt": {
		Name:       "consecutive_gt",
		ArgTypes:   []ValueType{ValueTypeMatrix, ValueTypeScalar, ValueTypeScalar},
		ReturnType: ValueTypeVector,
	},
	"consecutive_lt": {
		Name:       "consecutive_lt",
		ArgTypes:   []ValueType{ValueTypeMatrix, ValueTypeScalar, ValueTypeScalar},
		ReturnType: ValueTypeVector,
	},

We don't wanna maintain our own repo, @roidelapluie plz kindly help review whether it's worth adding these functions to the official repo.
If so, plz help review my pr:

Let's continue the discussion in the pull request and figure out the best way to move forward.

Hello from the bug scrub!
As per the discussion on the PR, we are also closing this. As said over there, this should not be a final rejection, but it would need further discussion at the dev-summit, for which you could propose an agenda item if you so desire.


Add a setting to select dark mode by default

org-roam-server-colormode or some such to avoid clicking dark mode at the beginning of each session. Given a dark emacs theme and viewing the server on an EAF browser window
https://github.com/manateelazycat/emacs-application-framework
the background is dark as is the text but otherwise works great.

The colormode setting is now saved in the browser's localStorage. It will load to darkmode if you've chosen it previously.

Given a dark emacs theme and viewing the server on an EAF browser window
manateelazycat/emacs-application-framework
the background is dark as is the text but otherwise works great.

is this a separate problem? I tried in EAF with dark-mode (doom-molokai) and everything works perfectly.


CI run for https://github.com/keybase/client/pull/8830

CI run for https://github.com/keybase/client/pull/8830.

This doesn't look like my code is the failing part

You're totally right. I think if you rebase it'll be fixed. Also I think we can just use the CI runs on your original PR. I had some old memory of CI not playing nicely with public PR's, but that seems to have been fixed at some :)


Add cmdlet docs and fix typos

Ran platyPS to create the cmdlet docs.
Fixed some grammar and typos.
Added [SupportsWildcards()] attribute to the ConfigurationFile parameter of Import-CommandConfiguration

there's something going on with the release build, which is being run for CI and should not be. The CI build/tests are working as expected.


[JENKINS-55087] - Revert JAXB and Temporary update Center patches from the Java 11 image

Jenkins 2.163 introduced JAXB as a detached plugin. After this change there is no reason to bundle JAXB in the Docker image OR to define modules.
Also, the experimental update center patch can be reverted now - Pipeline: Support 3.0 resolves the issue

CC @jenkinsci/java11-support

Works on my machine (c)

It was. But it was configured in the script directly. And I deduplicated
the run scripts
On Mon, Feb 4, 2019 at 7:28 PM Adrien Lecharpentier <
<EMAIL_ADDRESS>wrote:

@alecharp approved this pull request.
It's odd the option wasn't configured previously
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/docker/pull/798#pullrequestreview-199736472,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC3IoLBY-6tIXhLhDC2wGxcHFMD6Df0Mks5vKHu_gaJpZM4ahakH
.

yes. It is a part of the standard image, which allows installing plugins
from Experimental in plugins.txt
On Tue, Feb 5, 2019 at 7:47 AM Ramon Leon<EMAIL_ADDRESS>wrote:

@MRamonLeon commented on this pull request.
In Dockerfile-jdk11
https://github.com/jenkinsci/docker/pull/798#discussion_r253748181:

@@ -67,8 +58,7 @@ RUN curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war
&& echo "${JENKINS_SHA}  /usr/share/jenkins/jenkins.war" | sha256sum -c -

ENV JENKINS_UC https://updates.jenkins.io
-# TODO: revert before the GA release of Java 11 support (JENKINS-55087)
-ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/temporary-experimental-java11
+ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental
is this env prop needed anymore?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/docker/pull/798#pullrequestreview-199931076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC3IoCLUGNgxDSghm1UpqYFp8u7QpBCTks5vKSjpgaJpZM4ahakH
.

It should also resolve https://issues.jenkins-ci.org/browse/JENKINS-55391

@batmat @carlossg I would like to proceed with merge. Is it fine with you?

@oleg-nenashev Given I had already approved, and you only added https://github.com/jenkinsci/docker/pull/798/commits/7e7503ded895b4735792443d6b975ab707e9660f in the meantime, you didn't need my approval anymore from my perspective.
But in case there's a doubt, yes, it is good to go :). :ship: :it: :wink:

trying to retrigger CI, but it will unlikely help. Something is wrong with docker labels on the CI instance

Green, merging! \o/ thanks Oleg!


Please consider vcpkg support

vcpkg includes an older version of tiny-utf8: https://github.com/microsoft/vcpkg/tree/master/ports/tinyutf8.  Would you consider making pull requests there to keep the version in vcpkg up to date?
Many people know about vcpkg already, but for those who don't it's a cross-platform package manager.  It's open source.  It works with macOS, Linux, Windows, gcc, clang, MSVC, and probably other combinations of OSes and compilers.  It's terrific for discovering libraries.  That's how I found tiny-utf8.

Dear Matt,
how would that work? I have never used vcpkg before.
I'd be so happy, if you could update the version in vcpkg appropriately as I have no clue yet on how that works.
What do you think?
Jakob

I can't help you with vcpkg, but since your library is already included, it's just a matter of getting it updated.
This CppCon 2018 talk is probably worth watching:
CppCon 2018: Robert Schumacher “Don't package your libraries, write packagable libraries!”
vcpkg is very much worth knowing.

Thank you Matt for the link. I just watched the video and I have to say, I do like it a lot :)
I will ask one of the people that added tiny-utf8 to update it accordingly. I hope they have the time to do so.
Otheriwse I might figure it out myself.

Oh, you don't need Visual Studio.  You don't need Windows.  They probably should have named it something other than vcpkg.  It has no dependency on any Microsoft products.

I haven't updated vcpkg myself, but I think @MattHarrington is right that it can be done without Visual Studio and just needs vcpkg and cmake to test.
Here's how you get vcpkg installed locally: https://github.com/microsoft/vcpkg#getting-started
Once you install vcpkg you can run vcpkg install tinyutf8 to install / build your package. I don't know how to author a new package, but I know they have tons of pull requests to update them so it's quite common.
And here's a link to the initial commit that added tinyutf8 in the first place: https://github.com/Microsoft/vcpkg/pull/4388/files
And here's the directory of the current ported version (3.0.1): https://github.com/Microsoft/vcpkg/tree/master/ports/tinyutf8

ok, well after all that I'm apparently an expert haha :). It looks like you might only need to change the commit hash in https://github.com/microsoft/vcpkg/blob/master/ports/tinyutf8/portfile.cmake, and the version in https://github.com/microsoft/vcpkg/blob/master/ports/tinyutf8/CONTROL

When I try to install vcpkg it tells me that Visual Studio 2015 or higher is missing to compile vcpkg...
Do I really need to get it? Currently I'm using a MinGW based toolchain.

You may on windows? Not sure! The visual studio 2019 community addition is
free and has everything you need if you want to try
On Wed, Sep 16, 2020 at 7:36 AM Jakob Riedle<EMAIL_ADDRESS>wrote:

When I try to install vcpkg it tells me that Visual Studio 2015 or higher
is missing to compile vcpkg...
Do I really need to get it? Currently I'm using a MinGW based toolchain.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DuffsDevice/tiny-utf8/issues/39#issuecomment-693448457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFYNVDOELBPQ555ERU5TDLSGDEN5ANCNFSM4NO3M5TA
.

I've raised a PR (now merged into master) that updates the vcpkg port from v3.0.1 to v4.0.2.  See https://github.com/microsoft/vcpkg/pull/13706.

Very cool. Thank you!
On Thu, Sep 24, 2020 at 3:59 PM iainchesworth<EMAIL_ADDRESS>wrote:

I've raised a PR (now merged into master) that updates the vcpkg port from
v3.0.1 to v4.0.2. See microsoft/vcpkg#13706
https://github.com/microsoft/vcpkg/pull/13706.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DuffsDevice/tiny-utf8/issues/39#issuecomment-698630450,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFYNVCUAWRL2ZYKDRFMDZLSHPFO5ANCNFSM4NO3M5TA
.

@DuffsDevice It sounds like you're on Windows.  Correct?

Correct!


Ingress uses hostNet but does not properly update its dnsPolicy

I'm using microk8s on my Ubuntu 18.04 laptop. In general, it's working well. However, if the ingress needs to do any DNS lookups, for example with a Service of type: ExternalName, then it fails.
I narrowed down the cause to the nginx DaemonSet having a dnsPolicy of ClusterFirst. This does not work with hostnet.
To reproduce, set up a test httpbin deployment as follows:
kubectl create namespace httpbin
kubectl apply -f ~/tmp/httpbin.yaml  -n httpbin
kubectl apply -f ~/tmp/httpbin-ing.yaml

Next, try to get your IP:
curl -X GET "http://localhost/ip" -H "accept: application/json"

<title>503 Service Temporarily Unavailable</title>

503 Service Temporarily Unavailable

nginx/1.13.12

Workaround the problem by patching the daemonset:
kubectl patch daemonset nginx-ingress-microk8s-controller -p '{"spec": {"template": {"spec": {"dnsPolicy":"clusterFirstWithHostNet"}}}}'
And try again:
curl -X GET "http://localhost/ip" -H "accept: application/json"
{
"origin": "::1"
}
Logs when it's not working:
::1 - [::1] - - [26/Feb/2019:21:29:40 +0000] "GET /ip HTTP/1.1" 503 214 "-" "curl/7.58.0" 88 0.000 [] - - - - e01d1c233f077d2a07403124782ae5bf
I0226 21:29:47.561436       8 status.go:361] updating Ingress default/httpbin-ing status to [{<IP_ADDRESS> }]
I0226 21:29:47.565835       8 event.go:218] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"httpbin-ing", UID:"39bf3a12-3a0c-11e9-a3db-f49634aec85b", APIVersion:"extensions", ResourceVersion:"39294", FieldPath:""}): type: 'Normal' reason: 'UPDATE' Ingress default/httpbin-ing
E0226 21:29:47.567381       8 endpoints.go:66] unexpected error resolving host httpbin.httpbin.svc.cluster.local: lookup httpbin.httpbin.svc.cluster.local on <IP_ADDRESS>:53: server misbehaving
W0226 21:29:47.567450       8 controller.go:773] service default/httpbin-ext does not have any active endpoints

And when it's working:
I0226 21:26:56.447897       8 controller.go:168] backend reload required
I0226 21:26:56.527320       8 controller.go:177] ingress backend successfully reloaded...
::1 - [::1] - - [26/Feb/2019:21:27:11 +0000] "GET /ip HTTP/1.1" 200 22 "-" "curl/7.58.0" 88 0.004 [default-httpbin-ext-8000] <IP_ADDRESS>:8000 22 0.000 200 ea1fa5c15cbc63e18f1f7f70218855a4
I0226 21:27:13.337853       8 status.go:361] updating Ingress default/httpbin-ing status to [{<IP_ADDRESS> }]
I0226 21:27:13.340503       8 event.go:218] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"httpbin-ing", UID:"39bf3a12-3a0c-11e9-a3db-f49634aec85b", APIVersion:"extensions", ResourceVersion:"39067", FieldPath:""}): type: 'Normal' reason: 'UPDATE' Ingress default/httpbin-ing

The documents mentioned above:
httpbin.tar.gz

I can submit a PR if anyone wants, once I figure out how to do a test build/etc. :)

Hi @klarose
Thank you for spotting this and offering a fix.
A PR would be great. We have a couple of more ingress related PRs lined up so it would be great to put them all in in a singe release.
Building MicroK8s is pretty straightforward. You clone the repository, you make sure LXC is working on you machine (let me know if you need any more info on this) and then you do a snapcraft cleanbuild. Unfortunately at the moment we are by this https://bugs.launchpad.net/snapcraft/+bug/1817300 . The fix should be released soon.
Thank you for your time and effort. Looking forward for the PR.

@klarose the build process is now unblocked. Make sure you on the latest snapcraft (v3.2) with sudo snap refresh snapcraft --stable. Then do a snapcraft cleanbuild. The build is done inside lxc so you should have that working as well.

I was able to get a build going. I tested it out locally, and it worked. I've submitted the PR, though it looks like Travis failed. Is there a simple way to rerun it, or should I just push a blank commit?

Thank you for the PR. The error is because of the snapcore/snapcraft:stable docker image not being updated yet. No worries, I am on it. I will ping you in case something is wrong.
Thanks again.


How to post MessageCard JSON Payload on Teams to user in C#

I have a messagecard json payload and have to post to the user from bot using bot framework.  how can i post that content? should it be sent as attachment and content parameter set to json payload and what should be content type for that attachment.
Please suggest.

Here's an example: https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#example-office-365-connector-card

Thanks for the details. It helped.


Heroku Deployment Fails

Summary
Heroku Deployment Fails
Steps To Reproduce:

Try to deploy the app to Heroku.

Expected result
Successful deployment
Actual result
Deployment failed.
Additional information

I have doubled checked the parameters I set to the project and it looks ok, maybe I am missing something else.
I also see this warning from Heroku could that be the reason ?

Feel free to attach a screenshot or code snippets.

Hi @ikimmoweb, thanks for reporting this and sorry for the delay in my response (I was on holiday).
I've addressed the issue with updates to the game host and player apps.


fix: updated utils package and imports

Context
Jira Issue:
https://github.com/boomerang-io/roadmap/issues/10
Build Number:
N/A
Checklist:

[ ] Verified in an integrated environment
[x] Unit and integration tests passing
[ ] Semantic HTML with accessibility support
[x] No linting, test console, or browser console errors (best effort)
[ ] JSDoc comment blocks for complex code

PR Review Guidance
To confirm that the issue is indeed fixed - try setting a workflow quota to 1 and then run two workflows in succession. The second workflow should display an error message in the modal that communicates to the user that there are too many workflows currently being run. This replaces the error of this situation causing a webapp crash.

@BenjaminRuby any idea what is causing that snapshot to fail for you locally?

Otherwise this looks good.

@timrbula I actually did not have any failing tests locally. Maybe I need to clear my npm cache or something - sounds like there might be a discrepancy with my local setup


Configurable chat templates

This looks like a potentially interesting change, but I’m a little unclear without a description. Do you have any more details yet?


ARROW-3520: [C++] Add "list_flatten" vector kernel wrapper for Flatten method of ListArray types

This simplifies invocation of this action in bindings.

+1


One button feedback

The UI should have a very quick way to send feedback to the developers.
Ideally there's a button always visible in the UI which by clicking opens a form to enter feedback. This should be completely anonymous (but can leave a name if wanted).
How exactly to do this is TBD.

Maybe a first iteration could be to just open up the new issue link on Github, rather than coding a form and the form logic? (https://github.com/haadcode/orbit/issues/new)

I believe you have to be registered and signed in to Github in order to file a new issue. The solution, however simple, needs to work without any account/registration.


Obsolete warning about MariaDB connector and MySQL 8.0

Which version and edition of Flyway are you using?
Flyway Community Edition 8.2.1 by Redgate
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
Database: jdbc:mysql://smr-mysql/smr_live (MySQL 8.0)
Which operating system are you using?
Ubuntu 20.04
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Here's my docker-compose.yml configuration:
    flyway:
        image: flyway/flyway:latest-alpine
        command: -connectRetries=20 -url=jdbc:mysql://${MYSQL_HOST}/${MYSQL_DATABASE}?allowPublicKeyRetrieval=true&useSSL=false -user=${MYSQL_USER} -password=${MYSQL_PASSWORD} migrate

And I am running docker-compose run --rm flyway
What did you expect to see?
According to https://github.com/flyway/flyway/issues/2865, the MariaDB driver supports all versions of MySQL higher than 5.5.3, and it was stated that the warning would be removed. Therefore, I do not expect to see this warning anymore.
What did you see instead?
WARNING: You are attempting to connect to a MySQL database using the MariaDB driver. This is known to cause issues. An upgrade to Oracle's MySQL JDBC driver is highly recommended.
Thanks for your time!

This warning will be corrected

Thank you for the quick fix! Really appreciate all the hard work on this great tool.


Standardize CI 20200203

cleanup .gitignore
implement Travis like in skel (separate phpstan job, --prefer-lowest in matrix)
apply php-cs-fixer changes for tests folder
move tests into tests/Event and add composer autoload-dev section to allow phpstan to analyze the test code
refactor the BenchMark tests into 1 file per class so that phpstan can analyze them.

@staabm the "BenchMark" "tests" had to be re-arranged to keep phpstan happy.
Actually they are not phpunit tests and are not run by phpunit.
Is the refactoring OK with you?
Or what to do?

I added a commit "Use at least current phpunit minor versions"
As was done in skel https://github.com/sabre-io/skel/pull/12


Adds required double quotes to a translation.

Forgot the double quotes around a translation with HTML tags. Sorry!

The above are two changes to #50, things that got overlooked in the shuffle.


No module named 'profil3r.core'

hello,
may i konw how to fixed this problme?
**os:**kali
issues:
Traceback (most recent call last):
File "profil3r.py", line 3, in
from profil3r.core import Core
File "/home/pi/Profil3r/profil3r.py", line 3, in
from profil3r.core import Core
ImportError: No module named 'profil3r.core'; 'profil3r' is not a package

same for me

yep same here

hello friend
i was just curious about if u could fix the problem? did u?

Steel not
On Sun, Aug 21, 2022, 7:58 PM Katano22 @.***> wrote:

hello friend
i was just curious about if u could fix the problem? did u?
—
Reply to this email directly, view it on GitHub
https://github.com/amitrajputfff/Profil3r/issues/1#issuecomment-1221593167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATLKX2KG5KFY726NMO26OCTV2JU35ANCNFSM5WPBD5LQ
.
You are receiving this because you commented.Message ID:
@.***>

any updates

still does not work
same error

same problem

the same problem

Same here, any news ?

any update?

any update?

Sadly, no.

same here

same here


swarm mode workflow

Currently I am using old way of creating the swarm like (eg.: https://docs.docker.com/swarm/provision-with-machine/ )
It is easy to use but I want new engine swarm mode features like raft leader quorum.
Is there a plan to use new engine swarm mode?

I´m currently provisioning a swarm cluster with docker machine by simply provisioning regular docker 1.12 hosts and then issuing the commands to setup the cluster (docker swarm init against the manager and docker swarm join agaisnt the rest of the machines).

It's fairly straightforward to use via vbox host only network like @andrestc suggests although some documentation would be nice.

Ok thank you.


fix rocm arch selection

add support for getting rocm arch using iree-run-module --dump_devices=rocm
assumption - order of devices in iree-run-module --dump_devices=rocm and iree.runtime.get_driver("rocm").query_available_devices() is the same on the system.
the filtering of the dump info is heavily dependent on its format.

@PhaneeshB Hello, could you be a little clearer with the instructions? I'm having this same problem and I can't figure out how to fix it. Thank you so much.


turicreate.aws.get_credentials() throwing error

turicreate.aws.get_credentials() is throwing AttributeError: 'module' object has no attribute 'aws'

Thanks for trying out turicreate and sorry for the trouble. Unfortunately, that was a typo in our documentation. I'll keep this up until we fix the documentation.
We have a bug in our S3 reader for certain regions which got handled in #57. So you might have to wait for the point release (which should happen soon) to get the fix in to use S3 reliably with good documentation too.


Azure/Ansible: improve idempotency

idempotency improvements to ensure no change is reported when none is done
formatting
conditional reboot

Thank you @juju4 !


Test Plan: zkApp fee payer nonce test

Explain your changes:

Adds an integration test under the test_executive, which tests for zkApp payments and the application of nonce values while evaluating account_updates.

Explain how you tested your changes:

Not yet tested -- Will be tested by running test_executive

!ci-build-me


Call to function "element" failed

Hi ,
Here is my aw ecs terraform module code
module "ecs" {
  source  = "terraform-aws-modules/ecs/aws"
  version = "5.0.1"
  cluster_name = "myecscluster"

   fargate_capacity_providers = {
    FARGATE = {
      default_capacity_provider_strategy = {
        weight = 50
      }
    }
    FARGATE_SPOT = {
      default_capacity_provider_strategy = {
        weight = 50
      }
    }
  }

  services = {
  container_definitions = {
    myfront_end = {
      cpu       = 256
      memory    = 512
      essential = true
      image     = "650623132949.dkr.ecr.ap-south-1.amazonaws.com/myapp:latest"
      execution_role_arn       = "module.ecs_task_execution_role.arn"
      subnet_ids    = var.subnet_ids[0]
      port_mappings = [
        {
          name          = "myapp"
          containerPort = 8080
          hostPort      = 8080
          protocol      = "tcp"
        }
      ]
      # Example image used requires access to write to root filesystem
      readonly_root_filesystem = false
      memory_reservation = 100
    }
  }
    service_connect_configuration = {
    namespace = "myapp"
    service = {
      client_alias = {
        port     = 8080
        dns_name = "testcase.lmapps.io"
      }
    }
  }
   load_balancer = {
    service = {
      target_group_arn = element(module.alb.target_group_arns, 0)
      container_name   = "myapp"
      container_port   = "8080"

    }
  }

  }
}

While terraform validate I had below issue

But I already defiled subnet_ids  as a variables

Can you help ?

you're passing a string where a list is required. change this
 subnet_ids    = var.subnet_ids[0]

to this
 subnet_ids    = var.subnet_ids

Yes @bryantbiggs ,  I already tried that too i got same error
module "ecs" {
  source  = "terraform-aws-modules/ecs/aws"
  version = "5.0.1"
  cluster_name = "myecscluster"

   fargate_capacity_providers = {
    FARGATE = {
      default_capacity_provider_strategy = {
        weight = 50
      }
    }
    FARGATE_SPOT = {
      default_capacity_provider_strategy = {
        weight = 50
      }
    }
  }

  services = {
  container_definitions = {
    myfront_end = {
      cpu       = 256
      memory    = 512
      essential = true
      image     = "650623132949.dkr.ecr.ap-south-1.amazonaws.com/myapp:latest"
      execution_role_arn       = "module.ecs_task_execution_role.arn"
      subnet_ids    = var.subnet_ids
      port_mappings = [
        {
          name          = "myapp"
          containerPort = 8080
          hostPort      = 8080
          protocol      = "tcp"
        }
      ]
      # Example image used requires access to write to root filesystem
      readonly_root_filesystem = false
      memory_reservation = 100
    }
  }
    service_connect_configuration = {
    namespace = "myapp"
    service = {
      client_alias = {
        port     = 8080
        dns_name = "testcase.lmapps.io"
      }
    }
  }
   load_balancer = {
    service = {
      target_group_arn = element(module.alb.target_group_arns, 0)
      container_name   = "myapp"
      container_port   = "8080"

    }
  }

  }
}

errorr

the issue is shown right in the error message var.subnet_ids is empty list of string - you aren't supplying the necessary arguments, subnets are required

@bryantbiggs can you help ,I passed subnet_ids as varaiable,
variable "subnet_ids" {
    type = list(string)
    default = ["subnet-0f06b7b9b4bf", "subnet-075e2fef8b"]
}

and then i will be giving subnet_ids    = var.subnet_ids  under services,
can you please correct  if i am doing wrong any ?

that looks "correct" if the values are being passed correctly, thats not clear from the code you provided
please see our examples as to how we do this https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/dee59b733b805f9c16495bf65cc193260f537e47/examples/complete/main.tf#L123

Yes @bryantbiggs , but earlier i  manually created vpc  , i want to use that vpc's and its subnets .can you help please


Trackpad physical buttons don't work in Ventura

based on v1.2

Hello, I don't know how to fix this problem, but instead you can use the bottom part of the touchpad where 1 finger = left click and 2 fingers = right click


Automatic previews and deployments of plone6-docs?

Would it be useful to set up:

Automatic previews on Netlify? Example Search
Automatic deployments of the plone/volto@plone6-docs branch under plone.org?

This branch is the stand-alone Volto docs using the Sphinx/MyST build.

See #3070

Closed by #3070


GOPATH with more than 1 path results in unwanted behavior

my
GOPATH=/home/darko/3go:/home/darko/go
so I when I go get stuff it's placed in 3go,
and my stuff is in go.
however when you apig new this then instead writes to the full GOPATH.
workaround GOPATH=$HOME:go apig new -d postgres -u dalu whatever
But it should be aware of GOPATH having more than 1 value.
GOPATH is a []string, not a string

Hi, sorry for delayed response!
This package is now maintained at https://github.com/shimastripe/apig
Please reopen in the new repo if you are still interested in.
Thanks!


Send user read receipts based on scroll position #86

Rework of https://github.com/project-robius/robrix/pull/124

Removed lazy_static
Replaced thread with makepad timer
Removed de-duplicate logic when sending read receipt
Removed un-neccessary SignalToUI
Moved fields into TimelineUiState

PR for https://github.com/project-robius/robrix/issues/86


help me!!!     windows 10 no icmp protocol ?

socket: The requested protocol has not been configured into the system, or no implementation for it exists.

Did you read the Windows section of the README?

Did you read the Windows section of the README?
Sorry, I didn’t look carefully at the beginning, but I closed the issue after finding a solution


Simple website / docs

Basic website generated by sphinx using the alabaster theme.
Ref #150
https://yagebu.github.io/fava/index.html for a preview.
Todo:

[ ] add logo to the top left corner (@aumayr: this seems like something up your ballpark). Another option would be to include a big banner in the content column.
[ ] setup travis to automatically push to gh-pages
[ ] cleanup changelog some more
[ ] add longer "Getting Started" guide with reference to included help pages.
[ ] Any other page that we desperately need?

I don't think it makes sense to include the help pages in the website currently. They're available locally anyway and not in best shape at the moment IMHO. Would also add another point where things could get out of sync. Best to start small and concise with the website.
Is the github account @fava controlled by you, @aumayr? The we could use fava.github.io to host the webpage, which would be a good URL to start with.

@yagebu Thank you so much for this - it looks awesome and is exactly what I envisioned!

I don't think it makes sense to include the help pages in the website currently. They're available locally anyway and not in best shape at the moment IMHO. Would also add another point where things could get out of sync. Best to start small and concise with the website.

Totally agreed. I innocently thought that there might be PRs for the help pages from other people, but looks like I have to become a writer after all :-)

add logo to the top left corner (@aumayr: this seems like something up your ballpark). Another option would be to include a big banner in the content column.

No problem, will do.

cleanup changelog some more

I saw that you have changed the wording/formulation. I really do not mind that and find that your version reads much nicer. In fact, this is my first OSS project, and so were these the first ones ever for me to write. Do you have some "guidelines", "best practices" or other pointers to resources to use when formulating Release notes/Changelogs? Or did you do this just "out of your head"?

Any other page that we desperately need?

I think the license and pointers to the Beancount documentation (under the "Development" page) would be good to have. Other than that this should be good for the first go.

Is the github account @fava controlled by you, @aumayr? The we could use fava.github.io to host the webpage, which would be a good URL to start with.

Nope, I was too slow/stupid to register for that, and I don't know to whom it belongs to. But I would be willing to invest in a nice domain. Now that there are thousands of TLDs to choose from there should be a "fava.[some-new-tld]"-one available at little cost. Any suggestions from the list at https://www.hover.com/domains/results?q=fava (should be under 40-50$ if I carry it alone. But we also could add a donate-button, maybe we can gather the money for the domain.)?

Totally agreed. I innocently thought that there might be PRs for the help pages from other people, but looks like I have to become a writer after all :-)

I will also write some help pages at some point ;)

I saw that you have changed the wording/formulation. I really do not mind that and find that your version reads much nicer. In fact, this is my first OSS project, and so were these the first ones ever for me to write. Do you have some "guidelines", "best practices" or other pointers to resources to use when formulating Release notes/Changelogs? Or did you do this just "out of your head"?

I usually just have a look at what other Python projects with good documentation do. Some pointers: beets and any pocoo project. And in this case also some of the projects given as examples on the page of the alabaster sphinx theme.

I think the license and pointers to the Beancount documentation (under the "Development" page) would be good to have. Other than that this should be good for the first go.

:+1:

Any suggestions from the list at https://www.hover.com/domains/results?q=fava (should be under 40-50$ if I carry it alone.

Oh wow there's a lot to choose from. I had a quick look and nothing really caught my eye. Maybe we can again find something nicely related to beans etc.. I would also be willing to contribute some money to it.

👍
@yagebu Is there a way I can reach you via email/IM? (personal matter)

Is there a way I can reach you via email/IM? (fava-related, but personal matter)

You can use the email address I use for commits (git log should show it ;) )

I've merged the changes and pushed it to 'gh-pages' (https://aumayr.github.io/fava/). This won't update automatically but make gh-pages automates it (careful to only use it when there are no unstaged changes).

Oh wow there's a lot to choose from. I had a quick look and nothing really caught my eye. Maybe we can again find something nicely related to beans etc...

There are too many, that's the problem ;-) fava.tool sounds nice and is short, but I think it generally does not matter too much, because people will find fava via a search engine anyway, and not enter the URL manually.


Is squidpy.read.visium compatible with Visium HD data?

Description
I got the following error when using squidpy.read.visium to read Visium HD Space Ranger output dir:
FileNotFoundError: [Errno 2] No such file or directory: /outs/binned_outputs/square_016um/spatial/tissue_positions_list.csv
I wondered if squidpy is compatible with Visium HD output?
Minimal reproducible example
adata=sq.read.visium("/outs")

Version
squidpy==1.5.0

hi @sunyumail93 indeed it is incompatible, for a visiumHD reader, https://spatialdata.scverse.org/projects/io/en/latest/generated/spatialdata_io.visium_hd.html#spatialdata_io.visium_hd


Support for adding separate templating to group heading elements

It would be nice to have the ability to independently template group headings,
or at least style group headers uniquely based on a class that is applied dynamically base on item property values

i'm gonna try to contribute a solution to this issue. stay tuned :)

alright. PR #796 is opened. hope you like the way how it's implemented.
otherwise any feedback is welcome :)


Unable to edit app through fastlane deliver

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
I can update info about a newly created app on iTC but not through fastlane deliver.
The end of the command gives an error:
[14:12:30]: Making sure the latest version on iTunes Connect matches '<VERSIONNUMBER>' from the ipa file...

Looking for related GitHub issues on fastlane/fastlane...

➡  undefined method `edit_version' for nil:NilClass
    https://github.com/fastlane/fastlane/issues/8660 [closed] 8 💬
    a week ago

➡  Undefined method `fetch` for nil:NilClass (NoMethodError) again?
    https://github.com/fastlane/fastlane/issues/7307 [closed] 4 💬
    3 weeks ago

➡  [!] undefined method `native_targets' for #<Xcodeproj::Project:[MEMORY_INSTANCE]>
    https://github.com/fastlane/fastlane/issues/8935 [closed] 2 💬
    6 weeks ago

and 61 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60fetch'%20for%20nil&type=Issues&utf8=✓

/Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:814:in `block in setup_trailers_for': [!] undefined method `fetch' for nil:NilClass (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:813:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:813:in `setup_trailers_for'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:800:in `block in setup_trailers'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:798:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:798:in `setup_trailers'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:381:in `setup'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/base.rb:215:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:226:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:226:in `factory'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/app_version.rb:247:in `find'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/application.rb:111:in `edit_version'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/spaceship/lib/spaceship/tunes/application.rb:212:in `ensure_version!'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/lib/deliver/runner.rb:39:in `verify_version'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/lib/deliver/runner.rb:20:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/lib/deliver/commands_generator.rb:65:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.4/lib/commander/runner.rb:476:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.36.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:39:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.4/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/lib/deliver/commands_generator.rb:151:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/lib/deliver/commands_generator.rb:13:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/deliver-2.0.1/bin/deliver:12:in `<top (required)>'
	from /usr/local/bin/deliver:23:in `load'
	from /usr/local/bin/deliver:23:in `<main>'

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.0.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.36.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.4

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.10.1

xcpretty
0.2.4

terminal-notifier
1.6.3

terminal-table
1.4.5

addressable
2.3.8

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.45.4

faraday
0.9.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20160128

http-cookie
1.0.2

faraday-cookie_jar
0.0.6

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0221

mime-types
3.0

hurley
0.2

little-plugger
1.1.4

multi_json
1.11.2

logging
2.1.0

jwt
1.5.4

memoist
0.14.0

os
0.9.6

signet
0.7.2

googleauth
0.5.1

thor
0.19.1

httpclient
2.8.0

google-api-client
0.9.5

mini_magick
4.5.1

multi_xml
0.5.5

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.12.5

faraday_middleware
0.10.0

json
1.8.3

rubyzip
1.2.0

plist
3.2.0

fastimage
1.9.0

generated on: 2017-06-05

This seems to be an update to the way iTC reports back to Spaceship.
This was working for me one minute and then stopped the next.
I fixed my error by editing app_version.rb:813 to
display_families.each do |display_family|
          trailer_var = display_family.fetch("trailer", {})
          next if trailer_var.nil?
          trailer_data = trailer_var.fetch("value")
          next if trailer_data.nil?
          data = {
            device_type: display_family['name'],
            language: row["language"]
          }.merge(trailer_data)
          result << Tunes::AppTrailer.factory(data)
        end

I assume other lines will need looking at too @KrauseFx
What I found was that the object was { trailler: nil } not { trailer: { value: nil } }

Yep deliver is failing for us too with the same `block in setup_trailers_for' fetch-nil no method error

I was having the same issue. Editing the file as @dantaylorseo suggested worked.

Same issue :(

Thanks everyone, we already pushed a fix, and are in the process of shipping a new release 👍 https://github.com/fastlane/fastlane/pull/9368

Could you please update and let us know if that fixes the issue for you? 👍

The update resolved it for me. Thanks for the super quick turn-around and for tweeting about the issue! Made it easy to trace.

Confirmed that 2.37.0 fixed the issue for me. Thank you for the quick update!

100 percent.  Thanks and well done!

You guys rock 🥇