Flutter build fails for real iPhone and simulator

I have tried to fix the issue via multiple issues that have been posted in the past, but no solution worked:
When I try to run the app on my iPhone this happens:
------------- START CODE ----------------
Launching lib/main.dart on Pepe Tostado in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 7LUG6G48P7
Running Xcode build...
Xcode build done.                                           11.9s
Failed to build iOS app
Error output from Xcode build:
↳
objc[6043]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1ec656b90) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10620c2c8). One of the two will be used. Which one is undefined.
objc[6043]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1ec656be0) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10620c318). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/rf/yf1dcr7j1gq65ksvxc7kjt280000gn/T/flutter_tools.zulbVb/flutter_ios_build_temp_dirxg7H4f/temporary_xcresult_bundle
Failed to package /Users/albertjblack/Documents/CourseWork/InProgress/Flutter/unit4/shopapp.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order

Result bundle written to path:
    /var/folders/rf/yf1dcr7j1gq65ksvxc7kjt280000gn/T/flutter_tools.zulbVb/flutter_ios_build_temp_dirxg7H4f/temporary_xcresult_bundle

Could not build the precompiled application for the device.
------------- END CODE ----------------

I tried to run a fresh newly created app and still get the same error. I have a Macbook pro 2021 M1 chip

flutter run --verbose throws this:
Failed to package /Users/albertjblack/Documents/CourseWork/InProgress/Flutter/unit6/testapp.
Command PhaseScriptExecution failed with a nonzero exit code
           Result bundle written to path:
            /var/folders/rf/yf1dcr7j1gq65ksvxc7kjt280000gn/T/flutter_tools.WGc2aU/flutter_ios_build_temp_dirqtqAdo/temporary_xcresult_bundle

[  +19 ms] Could not build the precompiled application for the device.
[  +24 ms] Error launching application on Pepe Tostado.
[  +10 ms] "flutter run" took 21,445ms.
[   +6 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:687:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:94:3)

[ +113 ms] ensureAnalyticsSent: 109ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

@albertjblack
Please provide complete flutter run --verbose. The log will be huge so you can put that in a text file and share it here.
Also provide your ios/podfile and flutter doctor -v.

Here is a link to the project: https://github.com/albertjblack/shopapp
For my pod file, I think flutter created the folders pods instead of Podfile.
I had to create the pod file in the iOS directory by

pod init
pod install
but it said

Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.
[!] The Podfile does not contain any dependencies.
[!] Automatically assigning platform iOS with version 12.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (Flutter/Release.xcconfig).

Facing the same issue.. This happened right after I've upgraded to 2.10.

Same issue.

@albertjblack
From the verbose log you shared, it's failing due to below error:
[   +2 ms] Target debug_unpack_ios failed: Exception: Failed to
codesign

/Users/albertjblack/Documents/CourseWork/InProgress/Flutter/unit4/shopapp/bu
               ild/ios/Debug-iphoneos/Flutter.framework/Flutter with identity
               5D3D359A4E23A578AC2BA5E511A1F6BF7707BE6F.

/Users/albertjblack/Documents/CourseWork/InProgress/Flutter/unit4

/shopapp/build/ios/Debug-iphoneos/Flutter.framework/Flutter:
                          errSecInternalComponent

                          #0      _signFramework

(package:flutter_tools/src/build_system/targets/ios.dart:644:5)
                          #1      UnpackIOS.build

Indicating this is related to code signing and likely that the keychain where your signing cert is stored isn't unlocked.
You'll probably need to security unlock-keychain and isn't a Flutter issue.
https://superuser.com/questions/270095/when-i-ssh-into-os-x-i-dont-have-my-keychain-when-i-use-terminal-i-do/363840
This is related flutter website issue for your reference: https://github.com/flutter/website/issues/5906
Similar flutter issue raised for your reference: https://github.com/flutter/flutter/issues/83235
Closing from here as this isn't a Flutter issue. If you disagree, write in comments and I'll reopen it.
Simila


Fix bug that causes status line to be empty if Unix username has spaces

The current implementation for extracting the current working directory (cwd) fails for Unix when the username has a space. This causes the cwd string to be empty, which leads to a completely empty status line.
Specifically, awk retrieves the 4th field from the lsof output, but when the username has a space, cwd is actually the 5th, because of the additional whitespace.
The submitted patch circumvents this by using the -F option for lsof so that columns are returned as rows for increased machine-readability. The correct field is filtered by process id (-p ${pid}) and field identifier (-d cwd), where the -a option ensures the logical and of these filters. The output of lsof is then grepped to get the field with identifier n (name) as the first character. This identifier is finally removed with cut, so that the remaining string is the current working directory.
Tested with Hyper 2.0.0 on MacOS High Sierra 10.13.6

I’ve published this to @j-f/hyper-statusline. You can swap hyper-statusline with @j-f/hyper-statusline in your config to switch. Feel free to contribute!


Is there any way to set the 'numberOfRows' value as 'ALL' to show all data when table is initiated?

Is there any way to set 'numberOfRows' value as ALL to show all data when table is initiated?
Basically I don't need pagination and I want to show all the data in table at a time.

Currently no, you'll have to either set the number of row to a really high number that is greater than the number of rows you'll ever need to render or set to number of visible rows to be equal to the number of rows in your data. I've created a separate issue #139 for this though as I know it's needed and useful, so I'm closing this as it will be fixed/added with #139:)


flipping speed

Hi,
is it possible to speed up the flipping ?
I.e, when I move my finger on screen, flipping should  be faster than my movement (1.5 times)
it would be great if there was a function to set the speed

@ahikmat85, you can check my implementation, it is fully customizable :-)

Hi,
Can you please guide me how to change the flip animation speed?

You can only do this by copying the library into your project and then editing the private static final int MAX_SINGLE_PAGE_FLIP_ANIM_DURATION = 300;// in ms line in the FlipView class.


Community meeting August 10th Agenda

Please add a topic in this thread and add a link to the Github issue associated with the topic.

Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting :)

Paste the image of an animal :)

Follow up on local image registry pull specs: #309

Revisit using ginkgo for unit tests: #110

Let us follow up in the individual issues.
Close and thanks!

Spike: Add support for a Tekton pipeline to deploy image: https://github.com/redhat-developer/build/issues/330

Org name change

Updates on the meeting:

For #309 we are all fine with the proposal
For  #309 , someone will take a look on how to support to different ways of writing unit-tests to provide flexibility for future developers on the project that are not familiar with ginkgo. This might mean that in the future we can stick to a single approach, depending on future feedback. We are not going to change any existing unit-tests and also this does not mean we cannot continue writing unit-tests on the same way.
For #330, an spike will not hurt and a follow-up demo to discuss the details on it. No objections from the team.
Org name change. @sbose78 to provide all details :)


Test serializers using factories.

Hello,
During serialization / normalization tests I have encountered a problem, which I am not sure is possible to resolve. Ofc I would like to use factories.
E.g. I test my serializer, using expected payload from server.
this.store.normalize('model', payload);

Using make / build I can create objects which depend on models - usually fairly distinct from server response payload. Let's suppose I have old system without rest, json-api conventions.
My member factory method (build) returns:
{
   id: 1,
   name: 'member1',
   group: 1
}

But serializer needs sth like:
{
   member: {
      id: 1
   },
   group: {
      id: 1
   }
}

I was wondering about sth like:
build('member').payload()

and define additional hook in factory e.g.
FactoryGuy.define('member', {
   default: {
      ...
   },
   payload(member) {
      return {
         member: member,
         group: member.group
      }
   }

WDYT ? Any possible solutions, ideas ?

Hmm ok sounds reasonable.
If you mentioned mock* functions...
Is it any simple way of testing pending states using mock* helpers ?
Pseudo test idea:
let request = mockFindAll('comment'); // don't specify what endpoint returns
let response = commentService.findAllWithSpinner(); //adapter 'findAll' returns pending promise

// here test spinner is visible

request.resolve(comments);
await response;

// here test spinner is hidden

assert.ok(response.value);

I don't know man .. if you can make a PR for this that is clean .. i would take it .. but not so easy.


Symbolic link not allowed or link target not accessible sometimes

Hi everybody!
I have got a CentOS 7+ and a storage account in Azure - File Share:
//<shared_name_Azure>/repositorio /mnt/repositorio cifs nofail,vers=3.0,credentials=/etc/smbcredentials/rgtest001diag.cred,dir_mode=0777,file_mode=0777,serverino,context="unconfined_u:object_r:httpd_sys_rw_content_t:s0"
My website/Apache can write in Azure's storage account via the symbolic link, that is it can upload, list and delete files in Azure:
lrwxrwxrwx.  1 apache apache   16 Oct  6 14:31 uploads_repositorio_remoto -> /mnt/repositorio
My issue is that when it shows the thumbnails of uploaded files in the repository, it shows:
Symbolic link not allowed or link target not accessible: /var/www/html/uploads_repositorio_remoto
but as I said earlier, it can write, list, and delete via the symbolic link.

Any ideas?
Regards.

@delkos, Thanks for the question! We will take a look into this and get back, in the interim could you please share the Azure doc for which this feedback is applicable to?

@delkos Could you please post this question in the forums https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsazuredata ? It would have a higher visibility on forums since this is not an issue with the documentation itself.


Show brackets on objects

The example demo show that objects content is shown directly, I think it would be good to show also some aesthetic brackets to know better when they start and end.

Ok, as a test I've added simple {} or [] brackets. Was that what you had in mind?

Exactly, at least in the short term :-P In the long term, ideally it would
be cool that object and arrays could be expanded recursively the same way
as Chrome Dev Console does :-D Unluclily I don't know if blessed is
poserful enough... :-(
El 26/1/2016 10:19 PM, "Jelle De Loecker"<EMAIL_ADDRESS>escribió:

Ok, as a test I've added simple {} or [] brackets. Was that what you had
in mind?
—
Reply to this email directly or view it on GitHub
https://github.com/skerit/janeway/issues/7#issuecomment-175234251.

Well, you can click open nested objects. Is that not working for you?
If not: try scrolling a bit first. (scroll can get buggy at times)

I must to admit that I have not tested janeway yet... I wanted to use it as basis for a shell on NodeOS but it was difficult. Now that I've splitted it and started to build a real shell I can be able to use janeway as an improved repl, so I hope to be able to test it soon :-)

Oh, that's interesting! I've seen nodeos popup here and there, looks promising.
And Blessed shouldn't have any problem with those things, btw.
It just paints what Janeway tells it too, and Janeway only gets object properties when you actually click on them. So yeah, much like those devtools.

Oh, that's interesting! I've seen nodeos popup here and there, looks
promising.

Well, pull-requests are welcome ;-)

And Blessed shouldn't have any problem with those things, btw.
It just paints what Janeway tells it too, and Janeway only gets object
properties when you actually click on them. So yeah, much like those
devtools.

I love blessed, but has some important architecture flaws, too much
baremetal for my taste and don't easily allow some advanced things that
could be done with double buffer or stacked layers. I'm too much used to
html layouts... :-P

I see you got involved in the blessed-ng fork, but it too seems quite dead right now?

I see you got involved in the blessed-ng fork, but it too seems quite dead right now?

Sort of... too much busy with work and other projects, and there's too much work to do on blessed-ng to refactor it that I'm not sure if it compensate the effort. I would like to go for it someday, by the moment I've removed the widgets and keeps to clean it a bit more before moving to double buffering and later reassemble it again, but code has several bad design decisions that complicate to do this :-/


CSCFAIRMETA-684: [ADD] Integrate Etsin & Qvain with Fairdata SSO

Integrate Etsin login with Fairdata SSO

To do:

Set all required SSO session variables in authentication.py
Account for different environments (test/stable/demo...) in variable names/functions

Correction to previous commit: - There are ida_projects and idm_groups, but no ida_groups

Functional now:

Login/logout
Retrieving datasets
Publishing datasets

To do:

Enable adding files from IDA
Account for different environments (test/stable/demo...) in variable names/functions

Related [WIP] PR: https://github.com/CSCfi/etsin-ops/pull/31

Prerequisites:
https://github.com/CSCfi/etsin-ops/pull/32
For testing instructions, see:
https://wiki.eduuni.fi/display/cscetsin/Etsin%3A+SSO
Description:

Integrates Etsin and Qvain with Fairdata SSO
For now, both use Etsin authentication

What should be verified as functional:

Login/logout
Publishing and updates to datasets
Adding files from IDA using v1 & v2 filepickers
Deleting files and datasets

I did notice that the relay parameter of the Etsin /sso endpoint is not working with SSO. It's the parameter that redirects you back to the page where you were after you login. That can be fixed in a separate issue.

Good catch. This can be addressed in the next PR (CSCFAIRMETA-685), which should separate the Qvain login from the Etsin one.

Commit 644c7ad requires https://github.com/CSCfi/etsin-ops/pull/33/files and addresses issues with logging in in test and demo, if the direct proxy is used


fix(exampleJS): fix issues with "components and layouts used"

fix https://github.com/patternfly/patternfly-next/issues/677

Deploy preview for pf-next ready!
Built with commit 7dc5e374bb17b2a955ef00e0668dfdfc20b93938
https://deploy-preview-678--pf-next.netlify.com

:tada: This PR is included in version 1.0.41 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pmap all_to_all shape error

On an 8-device machine, if I run a trivial pmap + all_to_all with concat_axis=1:
x = np.ones((8, 8, 64))
y = jax.pmap(lambda x: lax.all_to_all(x, axis_name='i', split_axis=0, concat_axis=1), axis_name='i')(x)
print(y.shape, onp.array(y).shape)  # --> returns (8, 8, 64) (8, 1, 512) !!!

whereas
x = np.ones((8, 8, 64))
y = jax.pmap(lambda x: lax.all_to_all(x, axis_name='i', split_axis=0, concat_axis=0), axis_name='i')(x)
print(y.shape, onp.array(y).shape)  # --> returns (8, 8, 64) (8, 8, 64)  no shape disagreement

even just trying to print the repr for the former case y yields the error <repr(<jax.interpreters.pxla.ShardedDeviceArray at 0x7fe547474d08>) failed: RuntimeError: Invalid argument: Argument does not match host shape or layout of computation parameter 0: want f32[8,8,64]{2,1,0}, got f32[8,1,512]{2,0,1}>

This occurs because the semantics of xla all_to_all vary from the supposed operations used in jax's all_to_all - xla first splits along split_axis, broadcasts across cores, then concats into the concat_axis.  the abstract eval rule for all_to_all is a simple identity which isn't correct as it's written, since in the above case the f32[8,1,512] shape is correct for the given xla operation.  In the simple case of split_axis==concat_axis as in pswapaxes everything works fine - the general jax all_to_all case would need a final transpose op to perform as described in the general case.


Fix issues reported by golangci-lint

Run golangci-lint run ./...
Fix the reported issues

I'll take this one

@PumpkinSeed noticed that you've closed the issue
If it make sense - I created PR as well to fix more lint issues


Part 11 Object to string issue (menu)

Hi there,
On part 11 after creating the FrontendRenderer and the FrontendTwigRenderer, I ran the server and the error message of "Object of class Example\Template\FrontendTwigRenderer could not be converted to string" is showing. I also changed the references from Renderer to FrontendRenderer in the controllers and removed menu items from the Homepage controller. Do you know what may be happening? If you need any screenshots from my code, please let me know
Thank you for your help.

Paste your controller and FrontendTwigRenderer code

Homepage controller
`
request = $request;
        $this->response = $response;
        $this->$renderer = $renderer;
    }

    public function show()
    {
        $data = [
          'name' => $this->request->getParameter('name', 'stranger'),
        ];
        $this->response->setContent($this->renderer->render('Homepage', $data));
    }
}
`

FrontendTwigRenderer
`
renderer = $renderer;
        $this->menuReader = $menuReader;
    }

    public function render($template, $data = []) : string
    {
        $data = array_merge($data, [
            'menuItems' => $this->menuReader->readMenu(),
        ]);
        return $this->renderer->render($template, $data);
    }
}
`

Please let me know if you need anything else.

You have a type in the code.
public function __construct(Request $request, Response $response, FrontendRenderer $renderer) {     $this->request = $request;     $this->response = $response;     $this->$renderer = $renderer; // TYPO HERE, DON'T USE THE DOLLAR SIGN $this->renderer }
I'm not sure if that's the issue or just a copy error or something but that's what I noticed.

Oh wow.....that was the issue all along :/
Thanks @guyinpv !


ga: updated github actions to trigger on main branch instead of master

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1e2badb) 54.95% compared to head (bd1cd41) 54.95%.

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

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #243   +/-   ##
=======================================
  Coverage   54.95%   54.95%
=======================================
  Files          23       23
  Lines        3963     3963
  Branches      578      578
=======================================
  Hits         2178     2178
  Misses       1648     1648
  Partials      137      137

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update Liquity Safe App

Name/Description
Liquity
Type
Update
Compatible Networks
- Mainnet

Code for review

IPFS hash/App URL
test link: https://cloudflare-ipfs.com/ipfs/Qmdhp5TFcttbYFDRnp47qvo29nWLGfAvSjTkDHd7Metrwb
ipfs link: ipfs://Qmdhp5TFcttbYFDRnp47qvo29nWLGfAvSjTkDHd7Metrwb
Desired date
asap

bump on this. would be great if you guys could update to the new version

@yagopv is it possible to move this forward? :)

Looks like you requested a few updates in the past, which were all granted, so I'll go ahead and approve this one as well.

Do you also have a new URL for the logo? https://cloudflare-ipfs.com/ipfs/Qmdhp5TFcttbYFDRnp47qvo29nWLGfAvSjTkDHd7Metrwb/logo256.png doesn't exist

@katspaugh can we please open the ticket, again? Because ipfs is loading so slow, it makes the safe app not really load, so now we put it on arweave.
https://7fdqc7dhtz7wjzvyhi543kf64pslvcazhoqu7zmzin2nu3xeqiwq.arweave.net/-UcBfGeef2TmuDo7zai-4-S6iBk7oU_lmUN02m7kgi0/index.html

Updated 👍

Please create a new issue for that.


Is this capable of outputting CRI, LUX & correlated color temperature ?

Is this capable of outputting CRI, LUX & correlated color temperature ?

Not yet, though a few have asked.
I may add it if I get time.


Useless string copy

https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.Net.Http.Headers/CookieHeaderValue.cs#L153
The cookie value is copied (via Substring) although it is already available inside value. It was put there by GetCookieValueLength, which does its own Substring as well.
The only difference, hinted by the comment at L152, is that if the returned length is 0, GetCookieValueLength puts null inside value, and the code referenced above puts the empty string.
This difference could be accounted for more efficiently by either modifying GetCookieValueLength to return an empty string instead of null, or simply using result._value = value ?? "".
This is not much, but it means copying each cookie value twice, which can put a little unnecessary pressure if the cookies are large (e.g. ASP.NET's own auth. cookies) or many.

Putting this in backlog, @jods4 if you want to send a PR with some metrics that demonstrate the perf improvements we would likely accept it. :)

@glennc Nah, I won't bother writing a benchmark for that. As I said I don't think it's much (well... maybe if you do 1M req/s it starts to add up :wink:).
I noticed while browsing the code trying to figure out another issue I had, so I figured I could tell you about it.

Handled by https://github.com/aspnet/HttpAbstractions/pull/844


MVP-933 update error states for assailant questions

Content in error states for assailant questions updated to be consistent with main page.  screenshots below

These look fine to me @johnkane1. Thanks


Object scripting failed

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 6.1.7601

I'm connected to a server with 100+ databases and using a database with 6000+ stored procs
Steps to Reproduce:

Right click a stored procedure
Select 'Script as create'

What I got :

What I expect:
The procedure create script

This is a duplicate of #177

How come #177 would not be a duplicate of this instead?? It was created after mine !!!
Just kidding...
Thank you for your hard work.

Hi @jeffest sorry about that :)
I tried to close the duplicate ones to make sure I verified all the issues.  This bug and #177 are both because of the same bug which I fixed and will be in the next release.


GEODE-1288: Correct entry expiration detection logic error

Corrected while loop logic error

There's a mismatch in the fail() message and the loop logic. The full wait time is 10,000 millis, but the message (and preceding comments) say it's for 1,000 millis.
  long giveup = System.currentTimeMillis() + 10000;
  boolean done = false;
  do {
    Thread.sleep(10);
    done = r.containsValueForKey("key");
  } while (!done && System.currentTimeMillis() < giveup);

  if (r.containsValueForKey("key")) {
    fail("1 ms expire did not happen after waiting 1000 ms");
  }
} finally {
  System.getProperties().remove(LocalRegion.EXPIRY_MS_PROPERTY);

This looks good. I will pull it in.


Perfect_Number

Submission Title
Perfect_Number
Submission Type
Maths_And_Stats
Submission Description
A perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the number itself. For instance, 6 has divisors 1, 2 and 3, and 1 + 2 + 3 = 6.
Folder Related To
Maths_And_Stats => Perfect_Number
Contributors

[ ]  C++ -
[ ]  C -
[ ]  Python -
[ ] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

can you assign this issue to me

Hi @megabyte98, please mention your preffered language 😄

Python

I have added perfect number as well can you check the PR  and mention if any changes required

I would like to work on this in C, please assign this to me.

I would like to work on this in PHP, please assign this to me.

Hey I have Solved it in C++ can you assign it to me so that i can make a PR

Please assign it to me. I would like to contribute it in Java

I would also like to contribute for this in php

I would like to contribute for this in Javascript can you please assign me that too

I would like to work on  C, C++, Java. Can you assign it to me.

I would like to do it in java

I shall implement a short and precise code in python. Please assign this to me.

thanks @everyone :v:


helm: add ability to create ipsec secret

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.

Are there tests for helm somewhere?  –> It looks like I could add an end-to-end test here, but that feels a bit overboard.

[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Adds the following value options:

encryption.ipsec.createSecret
encryption.ipsec.keyData

If createSecret is set, try to create
a secret using the keyData. keyData
is required if createSecret is true.
Also supports the existing
mountPath and keyFile options,
both deprecated versions and not.
Signed-off-by: austin ce<EMAIL_ADDRESS>Fixes: #18084
helm: add option for creating ipsec Secret resource

Here are the test cases I've tried:
# fail, keyData required
encryption:
  enabled: true
  ipsec:
    createSecret: true

# success, happy path
encryption:
  enabled: true
  ipsec:
    createSecret: true
    keyData: "3 rfc4106(gcm(aes)) c971f5e7a633b2e5ff248b53995784026fd48873 128"

# success, non-default mountpath + keyFIle
encryption:
  enabled: true
  ipsec:
    createSecret: true
    keyData: "3 rfc4106(gcm(aes)) c971f5e7a633b2e5ff248b53995784026fd48873 128"
    mountPath: "/tmp"
    keyFile: "abc"

# success, non-default mountpath + keyFile using deprecated values
encryption:
  enabled: true
  mountPath: "/tmp"
  keyFile: "abc"
  ipsec:
    createSecret: true
    keyData: "3 rfc4106(gcm(aes)) c971f5e7a633b2e5ff248b53995784026fd48873 128"

# success, wireguard no-op
encryption:
  enabled: true
  type: "wireguard"
  ipsec:
    createSecret: true
    keyData: "3 rfc4106(gcm(aes)) c971f5e7a633b2e5ff248b53995784026fd48873 128"

cc @aanm

Rats – this has been on my backburner for a while. Hopefully will get to it within a couple of months, if it's still relevant.


Callback URL

After receiving my production key and getting a new callback URL (format: http://www.myDomain.de) my question is: how to handle this second callback URL?
The first callback URL I put in my App custom target properties as described in the readme.md file (format: xingapp+customer key). Do I have to use both URLs (If yes, which is the correct syntax?) or to substitute the first one with the other? At the moment I try both URLs together but this doesn't work.
Thanks, Martin

Closing as timed out.


TubiTV HTTP Error 401: Unauthorized

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
Any attempts to download from tubitv, results in 401: Unauthorized error. Neither anonymous, nor Username and password work.
Command Line: yt-dlp_x86.exe -vU https://tubitv.com/movies/712569/willy-wonka-the-chocolate-factory
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://tubitv.com/movies/712569/willy-wonka-the-chocolate-factory']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ff0779267] (win_x86_exe)
[debug] Python 3.8.10 (CPython AMD64 32bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-107832-g8bec225c3c-20220819 (setts), ffprobe N-107832-g8bec225c3c-20220819
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For
[TubiTv] Extracting URL: https://tubitv.com/movies/712569/willy-wonka-the-chocolate-factory
[TubiTv] 712569: Downloading JSON metadata
ERROR: [TubiTv] 712569: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\tubitv.py", line 85, in _real_extract
  File "yt_dlp\extractor\common.py", line 1127, in download_content
  File "yt_dlp\extractor\common.py", line 1087, in download_handle
  File "yt_dlp\extractor\common.py", line 954, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 903, in _request_webpage

  File "yt_dlp\extractor\common.py", line 890, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4131, in urlopen
  File "yt_dlp\networking\common.py", line 115, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 335, in send
  File "yt_dlp\networking\_requests.py", line 350, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 401: Unauthorized

Duplicate of #9937


bump sqlservernotebook version

Update SQL Server Guide to CU14
https://mssqltools.visualstudio.com/SqlOpsStudioExtensions/_build/results?buildId=130727&view=results

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 41.658%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
3
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
27178

Relevant Lines:
59207

💛  - Coveralls


Boolean data is written wrong after 10000 rows

Something that I discovered which debugging something was that boolean data gets written out incorrectly after 10000 rows have been written out.  It could happen less since I have seen it in our services that are capped at 5000 rows, but I could consistently replicate the issue using the TestWriter test with 1000 rows.
I set up the test to write the following  schema
struct<int1:int,boolean1:bool>
I wrote a combination of true, false, and nils out for the boolean values then read the file in row by row and did an assertion that it was the right row.
After 10000 rows, the test would break because of an assertion failure in which the boolean value for boolean1 was incorrect. Trues would be falses and falses would be true. I was able to mitigate this by changing the DefaultStripeTargetRowCount to 10000 and was then able to do a test with 100000 rows and have it pass.
I can't seem to find where in the boolean writer, or the tree writers this issue is occurring.

I've not been able to replicate this in a test. Are you able to post the test code that you found to cause the issue?

`func TestWriter(t *testing.T) {
f, err := ioutil.TempFile("", "testorc")
if err != nil {
t.Fatal(err)
}
filename := f.Name()
defer os.Remove(filename) // clean up
defer f.Close()

schema, err := ParseSchema("struct<int1:int,boolean1:boolean>")
if err != nil {
	t.Fatal(err)
}

w, err := NewWriter(f, SetSchema(schema))
if err != nil {
	t.Fatal(err)
}

length := 10000
for i := 0; i < length; i++ {
	if i%2 == 0 {
		err = w.Write(i, true)

	} else if i%3 == 0 {
		err = w.Write(i, nil)
	} else {
		err = w.Write(i, false)

	}
	if err != nil {
		t.Fatal(err)
	}
}

err = w.Close()
if err != nil {
	t.Fatal(err)
}

// Read the writer output
r, err := Open(filename)
if err != nil {
	t.Fatal(err)
}

c := r.Select("int1", "boolean1")
row := 0
for c.Stripes() {
	for c.Next() {
		var expected []interface{}
		if row%2 == 0 {
			expected = []interface{}{int64(row), true}
		} else if row%3 == 0 {
			expected = []interface{}{int64(row), nil}
		} else {
			expected = []interface{}{int64(row), false}

		}
		assert.Equal(t, expected, c.Row())
		row++
	}
}

}`
Above is the test that I was using. The assert library that we use is 	"github.com/stretchr/testify/assert" so that is also the one that i have in the test. When I adjust the length variable to be greater than 10000, the test will fail ( for me at least).
Error Trace:	writer_test.go:91
Error:      	Not equal:
expected: []interface {}{10999, false}
actual  : []interface {}{10999, true}
    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -2,3 +2,3 @@
    	            	  (int64) 10999,
    	            	- (bool) false
    	            	+ (bool) true
    	            	 }
    	Test:       	TestWriter

The above is usually the error where the type assertion is wrong.  Any length under 10000 always passes for me, but once i do like 10005, the test will fail.
Maybe I approached this the wrong way, but when I opened the issue, we were trying to debug an issue in one of our production services since we were seeing the data that came in, was not matching the data that got written out to orc and ingested into our data store.

Ok, I think this change addresses the issue: https://github.com/scritchley/orc/pull/62
It seems to stem from flushing the writers at each row index interval (defaults to 10k). In hindsight, I think this is actually incorrect as the writers shouldn't be flushed we should just record and reset the row indexes.
I've added a test to cover this case and all tests are passing locally, I just want to double check some things before merging.


Trying to access another user's file gives http 404 instead of 403

Describe the bug
Trying to delete another user's file gives http 404 instead of 403
Steps to reproduce
Steps to reproduce the behavior:

as admin try to delete Einstein's files

❯ curl -XDELETE https://localhost:9200/remote.php/dav/files/einstein/parent -kv -u admin:admin
> DELETE /remote.php/dav/files/einstein/parent HTTP/1.1
> Host: localhost:9200
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.68.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Access-Control-Allow-Origin: *
< Content-Length: 0
< Content-Security-Policy: default-src 'none';
< Date: Mon, 14 Jun 2021 07:15:54 GMT
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block
<
* Connection #0 to host localhost left intact

Setup
Please describe how you started the server and provide a list of relevant environment variables.

OCIS_VERSION=git
BRANCH=master
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false

Additional context
Add any other context about the problem here.

I guess, in this case, 404 is the correct response to not leak a user's file list to another user.

@dpakach I guess oC10 is returning 403? Is that true?
If oC10 is different, then we need to discuss that in oC10.

Adding @C0rby here for security insights :)

@phil-davis I rechecked, but I actually made a mistake in the original issue.
the issue is that it gives 403 when it's supposed to give 404. But a really strange thing is when we request for admin user's files, it gives 404.

Steps to reproduce
Steps to reproduce the behavior:

Create two users user1 and user2
As user1 create file lorem.txt
as user2 try to delete user1's files

❯ curl -XDELETE https://localhost:9200/remote.php/dav/files/user1/lorem.txt -kv -u user2:user2
> DELETE /remote.php/dav/files/user1/lorem.txt HTTP/1.1
> Host: localhost:9200
> Authorization: Basic dXNlcjI6dXNlcjI=
> User-Agent: curl/7.68.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< Access-Control-Allow-Origin: *
< Content-Length: 0
< Content-Security-Policy: default-src 'none';
< Date: Mon, 14 Jun 2021 09:37:54 GMT
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block
<
* Connection #0 to host localhost left intact

Setup
Please describe how you started the server and provide a list of relevant environment variables.

OCIS_VERSION=git
BRANCH=master
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false

Additional context
Add any other context about the problem here.

@dpakach and is oC10 different? Please mention how oC10 behaves, so we know if we also need to think about the oC10 implementation.

@phil-davis I've updated the explaination, oc10 gives 404 which is correct behavior

re-tested with local server oCIS version 1.11.0
@dpakach looks like it's fixed.
Admin is  trying to remove the Maries file:


Lowercase statuses

I think it would be more usual to write statuses in lowercase instead of a capital case:
Deployed -> deployed
because many other badges do so, and Heroku badge looks like a poor brother:

Resolved by 3109ad55f3b8abf0cbe3d71742b112e31e156a6c.


[Event Request] table 909 "Assembly Line Avail." procedure OnAfterGetRecord()

Please can you add the following code/event to the above procedure...
trigger OnAfterGetRecord()
var
    IsHandled: Boolean;         //NEW CODE
begin
    SetItemFilter(Item);

    IsHandled := false;         //NEW CODE
    OnAfterGetRecordOnBeforeCalcAvailToAssemble(Rec; AssemblyHeader, Item, GrossRequirement, ScheduledRcpt, ExpectedInventory, Inventory, EarliestDate, AbleToAssemble, IsHandled);     //NEW CODE
    if not IsHandled then       //NEW CODE
        CalcAvailToAssemble(
          AssemblyHeader,
          Item,
          GrossRequirement,
          ScheduledRcpt,
          ExpectedInventory,
          Inventory,
          EarliestDate,
          AbleToAssemble);
end;

The event publisher should be as follows...
[IntegrationEvent(true, false)]     //SENDER = TRUE
local procedure OnAfterGetRecordOnBeforeCalcAvailToAssemble(var AssemblyLine: Record "Assembly Line"; var AssemblyHeader: Record "Assembly Header"; var Item: Record Item; var GrossRequirement: Decimal; var ScheduledReceipt: Decimal; var ExpectedInventory: Decimal; var AvailableInventory: Decimal; var EarliestDate: Date; var AbleToAssemble: Decimal; var IsHandled: Boolean);
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11004.


[AAP-13172] [DROOLS-7474] Introduce environment variable "DROOLS_LOG_…

…DELAY" for WARN log

getenv("DROOLS_LOG_DELAY") at drools side

As suggested in https://github.com/ansible/drools_jpy/pull/49#discussion_r1229633259 , we can get the env variable at drools side. Then we wouldn't need to modify drools_jpy.


simplify seed (simple sbt build/no test) fix #2

I like

I like as well :)
Though sbt folks, if you're trying to teach people build concepts and @MasseGuillaume ripping all the build stuff out of the build file is against your intentions, then maybe the best solution would be to try and use comments to explain what the build file is doing?
I admit that I understand only parts of the build.sbt file pre-@MasseGuillaume

@SethTisue Thanks,
I'm not sure if I should remove Scalatest or not. I think this is the more barebone we can get.

then maybe the best solution would be to try and use comments to explain what the build file is doing

and/or including a comment including a link to a bigger seed, or to a page containing various bigger seeds. the need to show more and teach more is real, but I think the right goal for this seed is first to show how little is needed to get going.

In my opinion scala-seed.g8 should be a seed build as it's named. A seed that can actually be a seed for a real project, like a quick demo library, or a library.
The (multi-project) build style is the only one that's documented in sbt 0.13 - http://www.scala-sbt.org/0.13/docs/Basic-Def.html, and I'd discourage people from using the bare style.

@eed3si9n updated the PR with a root project.

I'd discourage people from using the bare style.

why ?

FWIW, I'd argue that "bare style" is not welcoming to most people. I don't even mean beginners either. Unless you're well-versed in sbt (e.g., an sbt whizz), "bare style" is very off-putting. Further, people tend to learn more from code in templates than docs. Thus, if you want people to use bare style, why not explain it more in comments in the code?
Also, "bare style" honestly confuses me, and I have written a lot of Scala that exploits language feature loopholes and does dirty tricks. I think if I'm confused by it (and I'm no beginner), I think there are probably lots of other reasonably experienced Scala programmers out there that are baffled by it as well and are just holding their tongue.
I don't want to take some negative tone against sbt, so please don't take this as an attack, you guys are doing great work. (I'm seriously in love with sbt new.) But I do really think that the focus of things like scala-seed.g8 needs to shift more towards average people. Average people who find sbt mystical and inaccessible after investing time trying to understand it are the folks out there spreading FUD about sbt out there.
In any case; thank you both @eed3si9n and @dwijnand for all that you guys are doing to improve the experience of using sbt. I know that maintaining sbt is probably the hardest and most thankless job out there. So, really, thank you.

IMO the easiest way to solve "this dispute" is to change the template so it's multi-project.
For example: a root aggregating project, a lib project with a unit test and a CLI project with a main.

why?

sbt 0.13 allows three (!) different notations to describe a build: "multi-project" build.sbt style, "bare" build.sbt style, and Build.scala. I claim that the fact that three (seemingly random) styles is unnecessary cognitive load/impediment to new users and experienced users alike.
sbt 0.13 has always tried to nudge users toward starting with multi-project build.sbt style in the Getting Started docs, and we would do the same for templates.
As sbt project, we are taking further steps as know by deprecating one of the styles (Build.scala) and removing it in sbt 1.0. I understand that some of the old-school Scala members are up in arms about this decision, but I honestly think "multi-project" style combined with auto plugin has the best balance of serving small and large builds. It also clarifies that build.sbt is not Scala. x.value doesn't have the same execution semantics as the function calls. See also http://www.scala-sbt.org/0.13/docs/Task-Graph.html

FWIW, I'd argue that "bare style" is not welcoming to most people.

I'm assuming you mean "multi-project" style here.

sbt 0.13 has always tried to nudge users toward starting with multi-project build.sbt style in the Getting Started docs

thanks for clarifying where you're coming from.
I think different consideration may apply in the sbt manual than here, as follows.
I think of this seed as being Scala-focused rather than sbt-focused. we are trying to get people started with Scala as quickly as possible and give them as friendly a Scala+sbt getting-started experience as we can. to the extent that we want them to learn about sbt this stage, it's more that we want them to be learning stuff like how to start sbt and how to use compile and run, and we want to show them that sbt is not so scary as they might have heard and will not get in the way of their Scala learning, which should be the focus at this stage.
for us to already be thinking about paving the way for eventually moving to a multi-project build is thinking too far ahead. it seems far more important to me to show people that a build.sbt file can be really short and simple and not have scary looking stuff it and they can relax and get back to learning Scala.

I think of this seed as being Scala-focused rather than sbt-focused. we are trying to get people started with Scala as quickly as possible and give them as friendly a Scala+sbt getting-started experience as we can. to the extent that we want them to learn about sbt this stage, it's more that we want them to be learning stuff like how to start sbt, and how to use compile and run, and wrapping their head around the concept that they don't need to install Scala or use scala and scalac most of the time, and understanding that they should leave sbt running and not keep starting it again for every command.

Agree 100% with this sentiment.
Something called "scala-seed" should be about learning Scala, not digging into multi-project sbt builds, which are not what we should be showing a first-timer to Scala.
We're currently reworking getting starting materials for scala-lang. As part of that effort, we made a more Scala-focused giter8 template for just getting the most basic Scala project in front of beginner users.
It's here if you want to have a look at it:
https://github.com/scala/hello-world.g8
In particular, I did what I suggested be done here with comments in the build file:
https://github.com/scala/hello-world.g8/blob/master/src/main/g8/build.sbt

Also, we have some getting started documents for teaching beginners how to compile, run, and test with sbt from the command-line. So while that's not in the sbt build file, it's covered in the other documentation that we're working on.

I'm assuming you mean "multi-project" style here.

(PS, @eed3si9n yes I did mean multi-project build. Was writing in a rush. Thanks for pointing it out. I edited my comment so it now makes more sense.)

IMHO we should leave an example test in the template. I can't imagine a project without tests which means we are actually hurting newcomers instead of helping them by removing the tests. Now they have to figure out how to do that setup themselves before they can move on to writing code.

FWIW, scala-lang will point people to https://github.com/scala/hello-world.g8 rather than scala/scala-seed for the numerous reasons we enumerated above.

makes sense to me. both templates serve different and valid purposes, I think. as it stands, scala-seed.g8 is more about sbt. hello-world.g8 is more about focusing on getting your first dead simple Scala program running. it seems fine to me for scala-sbt.org to offer the former first, and scala-lang.org to offer the latter first.

@eed3si9n scala/scala-seed.g8 is under the scala org, so we'd like to do the Scala-appropriate thing with it, which I think is an absolute bare minimum build.
I think also providing a multi-project-style seed is a great idea — why not do that in the sbt org, e.g. at sbt/sbt-seed.g8 or something like that?

there could be a comment in the minimal one pointing curious folks to the more complete one — not trying to bury it.

They should both mention each other, to help avoid people being confused about their inter-relationship.

Could we clarify the purpose of scala-seed.g8? In my opinion "scala-seed" should be a seed template appropriate for intermediate users of Scala who is interested in starting a new project quickly.
There might also be another template, like hello.g8 targeting new users.
In either cases, I don't see it as sbt-focused or Scala-focused.


Rotating cause black screen after restart

Hi community !
I try to rotate my screen with fresh rasbian/MM installation. But for me, it show black screen. You can see the detail :
Platform: Raspberry Pi 3
Node Version: 10.x
MagicMirror Version: Latest
Description: I try
Steps to Reproduce: I did all step for rotate screen on the documentation (https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi).
Expected Results: After rasbian boot (the rasbian screen on starting), the screen is only black, no desktop displayed, but SSH work.
Anyone have already rotate screen on latest rasbian/MM ?
Thank you !

I can confirm the described behaviour. Screen is just black after rotating the screen. I used the following settings in /boot/config.txt:
dtoverlay=vc4-fkms-v3d
display_rotate=1
avoid_warnings=1
Some text is shown if I use the mouse to select stuff. Lots of the modules are shown in the wrong place.

I got it working on my Rpi 3B by changing my /boot/config.txt to:
For more options and information see
http://rpf.io/configtxt
Some settings may impact device functionality. See link above for details
uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
display_rotate=1
avoid_warnings=1
uncomment this if your display has a black border of unused pixels visible
and your display can output without overscan
disable_overscan=1
uncomment the following to adjust overscan. Use positive numbers if console
goes off screen, and negative if there is too much border
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
gpu_mem=256
uncomment to force a console size. By default it will be display's size minus
overscan.
#framebuffer_width=1280
#framebuffer_height=720
uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
#hdmi_drive=2
uncomment to increase signal to HDMI, if you have interference, blanking, or
no display
#config_hdmi_boost=4
uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
Additional overlays and parameters are documented /boot/overlays/README
Enable audio (loads snd_bcm2835)
dtparam=audio=on
[pi4]
Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


Component does not work if page refreshes

I have an initial page and after filling some data I navigate to address page
At this point it's ok, but if you refresh the page with f5 the component stops working

resolved
Importing google scripts into the index.html header


Owner and Group Always Set to 0 ("root")

I'm running confd v0.5.0 on an Ubuntu 14.04 LTS host and am having trouble with altering the owner and group for a template...no matter what I do, it changes things to be owned by the root user and root group, which is not desirable.
/etc/confd/conf.d/example-json.toml
[template]
src = "example.json.tmpl"
dest = "/etc/example.json"
owner = "elasticdog"
group = "elasticdog"
mode = "0644"
keys = [
  "/jdbc_url",
]
reload_cmd = "/sbin/reload example-server"

...and it's creating the file with the desired contents, but the permissions are always set back to 0:
$ ls -l /etc/example.json
-rw-r--r-- 1 root root 1011 Aug  7 04:54 /etc/example.json
$ id elasticdog
uid=999(elasticdog) gid=999(elasticdog) groups=999(elasticdog)
$ sudo chmod elasticdog:elasticdog /etc/example.json
$ sudo reload confd

/var/log/upstart/confd.log
2014-08-07T04:54:21Z ip-10-193-17-174 /usr/local/bin/confd[2404]: INFO /etc/example.json has UID 999 should be 0
2014-08-07T04:54:21Z ip-10-193-17-174 /usr/local/bin/confd[2404]: INFO /etc/example.json has GID 999 should be 0

+1 to not changing uid:gid unless specified.

What about executing id $username or getent group (if they exist) (dscacheutil -q group on osx)? Is it too much a stretch to assume they exist?

We have a solution for this on master. https://github.com/kelseyhightower/confd/commit/6354ddd43eb8589fea16805e935ecdf9491fb7a6
The rules for this are as follows:
If the uid or gid is not set then use the effective uid or gid for the confd process owner. We will no longer default to uid or gid.

does the below work 😄
owner = "user"
group = "user"

i'm following the docs https://github.com/kelseyhightower/confd/blob/master/docs/quick-start-guide.md#create-template-resources
it uses mode="nginx", however during my experimentation, the destination file permission is root:root
below is my example
/etc/confd/conf.d/consul.toml
root@iZp0w71s9grno2wfitjltjZ:/etc/confd# cat /etc/confd/conf.d/consul.toml
# generated by root (Tue 24 Apr 2018 16:08:22 AEST) using ansible
[template]
src = "agent.json.tmpl"
dest = "/etc/consul.d/agent.json"
owner = "consul"
#group = "consul"
mode = "0640"
check_cmd = "/usr/bin/consul validate --config-format=json /etc/consul.d"
reload_cmd = "/usr/bin/consul reload"

root@iZp0w71s9grno2wfitjltjZ:/etc/confd# confd -onetime
2018-04-24T14:10:40+08:00 iZp0w71s9grno2wfitjltjZ confd[11688]: INFO Backend set to consul
2018-04-24T14:10:40+08:00 iZp0w71s9grno2wfitjltjZ confd[11688]: INFO Starting confd
2018-04-24T14:10:40+08:00 iZp0w71s9grno2wfitjltjZ confd[11688]: INFO Backend source(s) set to <IP_ADDRESS>:8500

file permission on /etc/consul.d/agent.json
root@iZp0w71s9grno2wfitjltjZ:/etc/confd# ls -lah /etc/consul.d/agent.json
-rw-r----- 1 root root 252 Apr 24 14:10 /etc/consul.d/agent.json


Update solr index for plan_program_policy searching

Overview
This PR adds a plan_program_policy facet to the solr schema and brings that filter to the search results page.
Checklist

[x] PR has a descriptive enough title to be useful in changelogs

Notes
Noticed a small quirk with the way the text for the filter accordions fits in its space. Didn't notice this issue on the staging site, but making a note here to be safe.

Testing Instructions

make sure your app is completely down with docker-compose down
remove your solr volume with docker volume rm la-metro-councilmatic_lametro-solr-data
update the solr index with docker-compose run --rm app python manage.py refresh_guid, then repopulate it with  docker-compose run --rm app python manage.py update_index
run the app, and search something like bus
verify that there is a new filter at the bottom of the filters list, that it expands into a list of relevant terms, and that clicking on one of those terms successfully filters the search results

Handles #650

@hancush awesome! 🎉 yes, it would be helpful to pair on changing the solr schema on the staging site during my next metro block.
Will hold off on merging until next week.


Module-Level Constraints

This should work, but just delete it if not.

This just addresses @traut's concerns and also brings everything up to the current commit.


Mattermost not loading, just three dots animation forever

Mattermost 5.26.0
Chrome 84.0.4147.135
We're using Traefik + MySQL and Cloudflare to proxy with SSL, Mattermost isn't running in SSL. I've managed to get it to the point of the requests going through to the server, and Mattermost is seeming to communicate with the database just fine. Unfortunately, I'm just sat on this loading screen:

The same configuration works via localhost (without SSL). Requests are going through to Mattermost:
{"level":"debug","ts":1598307452.635017,"caller":"web/handlers.go:100","msg":"Received HTTP request","method":"GET","url":"/","request_id":"e6wuxe7grjg3jc8tmd1shoj68e","status_code":"200"},
But I'm not getting to the first setup screen like my local server. The only error in my developer console is this:
Refused to load the script 'https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js' because it violates the following Content Security Policy directive: "script-src 'self' cdn.rudderlabs.com/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Not sure if this is related but that's the only error I can see, even Mattermost on debug isn't spitting any errors out, just the get requests. I'm really stumped, any help would be appreciated!

Hi @nysascape, I had your same problem. Without cloudflare everything works fine. In the end I found the solution. Just disable "Rocket Loader" in cloudflare or, as I did, create an page rule just for the mattermost domain that disables Rocket Loader.

Some links:
https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-
https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-
Hope this solve your problem. Regards.

Hi @nysascape, I had your same problem. Without cloudflare everything works fine. In the end I found the solution. Just disable "Rocket Loader" in cloudflare or, as I did, create an page rule just for the mattermost domain that disables Rocket Loader.

Some links:
https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-
https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-
Hope this solve your problem. Regards.


Goroutine leak in mysql sink

Which jobs are flaking?
leak_test
Which test(s) are flaking?
mysql_test
Jenkins logs or GitHub Actions link
[2022-05-07T06:20:02.424Z] PASS

[2022-05-07T06:20:02.424Z] goleak: Errors on successful test run: found unexpected goroutines:

[2022-05-07T06:20:02.424Z] [Goroutine 349 in state semacquire, with sync.runtime_Semacquire on top of the stack:

[2022-05-07T06:20:02.424Z] goroutine 349 [semacquire]:

[2022-05-07T06:20:02.424Z] sync.runtime_Semacquire(0xc000c8e3b0?)

[2022-05-07T06:20:02.424Z] 	/usr/local/go/src/runtime/sema.go:56 +0x25

[2022-05-07T06:20:02.424Z] sync.(*WaitGroup).Wait(0xc000c8e3a8)

[2022-05-07T06:20:02.424Z] 	/usr/local/go/src/sync/waitgroup.go:136 +0x9c

[2022-05-07T06:20:02.425Z] github.com/pingcap/tiflow/cdc/sink/mysql.(*mysqlSink).notifyAndWaitExec.func1()

[2022-05-07T06:20:02.425Z] 	/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/tiflow/cdc/sink/mysql/mysql.go:456 +0x45

[2022-05-07T06:20:02.425Z] created by github.com/pingcap/tiflow/cdc/sink/mysql.(*mysqlSink).notifyAndWaitExec

[2022-05-07T06:20:02.425Z] 	/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/tiflow/cdc/sink/mysql/mysql.go:455 +0x31b

[2022-05-07T06:20:02.425Z] ]

[2022-05-07T06:20:02.425Z] FAIL	github.com/pingcap/tiflow/cdc/sink/mysql	8.547s

https://ci2.pingcap.net/blue/organizations/jenkins/cdc_ghpr_leak_test/detail/cdc_ghpr_leak_test/25186/pipeline
Anything else we need to know

Does this test exist for other branches as well?

Has there been a high frequency of failure lately?

another case: https://ci2.pingcap.net/blue/organizations/jenkins/cdc_ghpr_leak_test/detail/cdc_ghpr_leak_test/25250/pipeline

another case: https://ci2.pingcap.net/blue/organizations/jenkins/cdc_ghpr_leak_test/detail/cdc_ghpr_leak_test/25392/pipeline#step-72-log-341

[2022-05-11T05:37:13.408Z] --- FAIL: TestMySQLSinkFlushResolvedTs (0.46s)

[2022-05-11T05:37:13.408Z]     leaks.go:78: found unexpected goroutines:

[2022-05-11T05:37:13.408Z]         [Goroutine 297 in state semacquire, with sync.runtime_Semacquire on top of the stack:

[2022-05-11T05:37:13.408Z]         goroutine 297 [semacquire]:

[2022-05-11T05:37:13.408Z]         sync.runtime_Semacquire(0xc00105a2b0?)

[2022-05-11T05:37:13.408Z]         	/usr/local/go/src/runtime/sema.go:56 +0x25

[2022-05-11T05:37:13.408Z]         sync.(*WaitGroup).Wait(0xc00105a2a8)

[2022-05-11T05:37:13.408Z]         	/usr/local/go/src/sync/waitgroup.go:136 +0x9c

[2022-05-11T05:37:13.408Z]         github.com/pingcap/tiflow/cdc/sink/mysql.(*mysqlSink).notifyAndWaitExec.func1()

This issue is stale.


Upload to slow.

Prerequisites

[yes] Can you reproduce?
[yes] Are you running the latest version of SoftEtherVPN?

**SoftEther version: 4.27 Build 9667
**Component:Server, Bridge
**Operating system: Linux Server
**Architecture:64 bit
**Processor: Server runs on Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
Description
The Servers upload is ridiculously slow. Donwload is fine.
Expected behavior:
Nearly same upload as donwload speed.
Actual behavior:
Testsed with the "Network Traffic Speed Test Tool":
On a 100mbit/100mbit 20ms internet connection the:
Upload from the vpn server to the client is painfully slow with around 300Kbps.
Download is fine with around 8Mpbs.
(Client has 40mbit/80mbit 50ms connection [up/down])
Softether vpn is an amazing vpn server. But this "speedbrake" makes it virtually unusable.
Please fix this. If you need more information I am happy to comply.
vpn_server.config.txt

try this!
It is a temp. sollution, but working to me.
https://github.com/SoftEtherVPN/SoftEtherVPN/issues/553

Hello,
Did the issue appear with the latest version?

Hi, nope this issue has always been there as far as i could tell at least since 4.19 Build 9605. I just now manged to report :-)

@davidebeatrici if you check this issue, you will say that we found a "workaround" to solve the problem, but we don't know the "source" problem...
https://github.com/SoftEtherVPN/SoftEtherVPN/issues/553


Is the ${drone_commit_sha} required while building an image with drone-plugins?

I want to know the consequene of using arg   ${drone_commit_sha} while building an  image

hi there, for end-user support questions please use our discourse forum.


Fix the incorrect location of pkg build_templates

Description
Fix the incorrect location of pkg build_templates
Issues Resolved
#3815
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

If possible can you add tests for this? A simple change but looks like breaking one if scripts are moved in the future.

I will create an issue for the scripts dir in general, none of them have proper testing for now.

We can expand on this old issue:

https://github.com/opensearch-project/opensearch-build/issues/591


正在直播却不录制

运行环境
版本号：v2.27
运行平台：windows11
运行架构：64
Python版本：3.11
配置文件
{
  "proxy": "http://<IP_ADDRESS>:7890",
  "output": "E:/L",
  "user": [
    {
      "platform": "Twitch",
      "id": "frivvifox",
      "name": "FrivviFox"
    },
    {
      "platform": "Youtube",
      "id": "UCzk5x_PbhFKUoJx_HNTefDQ",
      "name": "111111",
      "headers": {
        "Referer": "https://www.youtube.com/"
      },
      "cookies": ""
    },

复现步骤（可选）
1.打开liverecord
2.错误出现
...
错误描述
明明 在直播，却没录制
错误日志
[2023-11-23 00:41:34][INFO][__main__][start:47][Twitch][FrivviFox]正在检测直播状态
[2023-11-23 00:41:34][INFO][__main__][start:47][Youtube][Sleepy Beauty ASMR]正在检测直播状态
[2023-11-23 00:41:34][INFO][__main__][start:47][Youtube][FrivolousFox ASMR]正在检测直播状态
[2023-11-23 00:41:34][INFO][__main__][start:47][Youtube][Cute KR]正在检测直播状态
[2023-11-23 00:41:34][INFO][__main__][start:47][Youtube][Miss Ruby's World]正在检测直播状态
[2023-11-23 00:41:34][INFO][__main__][start:47][Youtube][Asian Babe ASMR]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Twitch][FrivviFox]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][111111]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][Sleepy Beauty ASMR]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][FrivolousFox ASMR]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][Cute KR]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][Miss Ruby's World]正在检测直播状态
[2023-11-23 00:45:42][INFO][__main__][start:47][Youtube][Asian Babe ASMR]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Twitch][FrivviFox]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][111111]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][Sleepy Beauty ASMR]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][FrivolousFox ASMR]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][Cute KR]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][Miss Ruby's World]正在检测直播状态
[2023-11-23 00:47:51][INFO][__main__][start:47][Youtube][Asian Babe ASMR]正在检测直播状态
[2023-11-23 00:47:57][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:00][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:02][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:04][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:06][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:08][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:10][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:14][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:15][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:17][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:19][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:21][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:22][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:24][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:26][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:28][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:30][ERROR][__main__][start:58][Youtube][111111]直播检测错误
AttributeError("'str' object has no attribute 'extract_cookies'")
Traceback (most recent call last):

  File "live_recorder.py", line 468, in <module>

  File "asyncio\runners.py", line 44, in run

  File "asyncio\base_events.py", line 636, in run_until_complete

  File "asyncio\windows_events.py", line 321, in run_forever

  File "asyncio\base_events.py", line 603, in run_forever

  File "asyncio\base_events.py", line 1909, in _run_once

  File "asyncio\events.py", line 80, in _run

> File "live_recorder.py", line 50, in start

  File "live_recorder.py", line 286, in run

  File "tenacity\_asyncio.py", line 88, in async_wrapped

  File "tenacity\_asyncio.py", line 47, in __call__

  File "tenacity\__init__.py", line 325, in iter

  File "tenacity\__init__.py", line 158, in reraise

  File "concurrent\futures\_base.py", line 451, in result

  File "concurrent\futures\_base.py", line 403, in __get_result

  File "tenacity\_asyncio.py", line 50, in __call__

  File "live_recorder.py", line 66, in request

  File "httpx\_client.py", line 1530, in request

  File "httpx\_client.py", line 1617, in send

  File "httpx\_client.py", line 1645, in _send_handling_auth

  File "httpx\_client.py", line 1682, in _send_handling_redirects

  File "httpx\_client.py", line 1726, in _send_single_request

  File "httpx\_models.py", line 1038, in extract_cookies

AttributeError: 'str' object has no attribute 'extract_cookies'
[2023-11-23 00:48:30][INFO][__main__][start:47][Twitch][FrivviFox]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][111111]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][Sleepy Beauty ASMR]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][FrivolousFox ASMR]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][Cute KR]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][Miss Ruby's World]正在检测直播状态
[2023-11-23 00:48:30][INFO][__main__][start:47][Youtube][Asian Babe ASMR]正在检测直播状态

错误截图（可选）
No response

在无需登录就能观看直播请不要填写cookies

在无需登录就能观看直播请不要填写cookies

刚删了cookies也 不行，不光youtube,twitch也是直播不录制，大佬你可以试试

今天试了下twitch能录。不知道为什么

twitch获取到直播链接后会等十几秒的广告时间，随后才会正常开始录制，这是twitch直播源限制
youtube我看了下是接口有更新，稍后发新版


YARD documentation for Dry::Struct

I am continuing my work on documenting dry-* gems that I’ve started in dry-rb/dry-types#166.
Now I have documented some dry-struct code. This time with more detailed comments and (my favorite part) clear examples for different constructor types and given input.

@solnic I'm about to merge this, but before doing so I just wanted to know if you have any comments

@flash-gordon LGTM

Awesome! @alsemyonov, thanks man!


feat(kcodeblock): adds secondary actions slot

Summary
Adds an optional secondary-actions slot to KCodeBlock. It allows adding elements after the copy button (if it’s shown) or in its place (if it’s not shown).
Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>PR Checklist

[x] Does not introduce dependencies
[x] Functional: all changes do not break existing APIs and if so, bump major version.
[x] Tests pass: check the output of yarn test
[x] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[x] Framework style: abides by the essential rules in Vue's style guide
[x] Cleanliness: does not have formatting issues, unused code (e.g., console.logs, debugger), or leftover comments
[x] Docs: includes a technically accurate README, uses JSDOC where appropriate

suggestion: for readability, and easy to verify all unscoped styles are properly scoped could you put ALL styles in the unscoped block under .k-code-block?

@kaiarrowood I’m not sure that’s appropriate to do as part of this PR.
Generally, components in Kongponents use scoped style blocks so that’s what I’m sticking to by default. It’s just that some styles in KCodeBlock can’t be scoped for various reasons (e.g. when applying styles to elements slotted in from the outside).
However, I do actually think that a component library should generally not use scoped styles and rather rely solely on using properly prefixed class names (like we’re already doing). This practice has the advantage of all selectors having lower specificity and are therefore easier to override in a consuming application:
/* specificity 0 2 0 */
.k-code-block[v-scoped-style-attribute]

/* specificity 0 1 0 */
.k-code-block

The reason why I would avoid doing this in this PR is that because of the change to the selectors’ specificity, this is a potentially breaking change: Selectors that previously had a specificity of "0 2 0" will now have "0 1 0" and depending on a consuming project’s stylesheet order, a CSS rule set with a selector like .k-button would suddenly start overriding rule set in this component with the same selector.