[bug] npx create-docusaurus failing on node.js 20.6.0 npm 10.0.0

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Cannot create site using npx create-docusaurus using node v 20.6.0 - fails with common.register is not a function.
This works if reverting back to node LTS.
Reproducible demo
No response
Steps to reproduce
Install node version 20.6.0
Install npm version 10.0.0
Run npx create-docusaurus@latest docusaurusnode20test classic --typescript
Expected behavior
Should create a new docusaurus classic site using Typescript.
Actual behavior
Errors:

PS>npx create-docusaurus@latest docusaurusnode20test classic --typescript
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
(node:29016) Warning: Accessing non-existent property 'register' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
[ERROR] TypeError: common.register is not a function

Your environment

Docusaurus version used: 2.4.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): Node.js 20.6.0, NPM 10.0.0
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 11 Pro

Self-service

[ ] I'd be willing to fix this bug myself.

Similar issue starting a few hours ago:
#17 10.28 [ERROR] TypeError: common.register is not a function
#17 10.30 npm notice
#17 10.30 npm notice New major version of npm available! 9.8.1 -> 10.0.0
#17 10.30 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.0.0>
#17 10.30 npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
#17 10.30 npm notice
#17 ERROR: process "/bin/sh -c npx --yes create-docusaurus@latest template classic" did not complete successfully: exit code: 1

Wonder if it's related to https://github.com/facebook/docusaurus/issues/9278, will investigate later

Probably related to https://github.com/nodejs/node/issues/49497

we started also to get the same error on september 6th when running "docusaurus build" in our CI/CD pipeline on Cloud Build using the default "node:latest" image.
Step #5 - "npm-run-build-home": > docusaurus build
Step #5 - "npm-run-build-home":
Step #5 - "npm-run-build-home": /workspace/services/home/node_modules/@docusaurus/utils/lib/index.js:9
Step #5 - "npm-run-build-home": exports.replaceMarkdownLinks = exports.writeMarkdownHeadingId = exports.parseMarkdownString = exports.parseMarkdownContentTitle = exports.parseFrontMatter = exports.createExcerpt = exports.parseMarkdownHeadingId = exports.groupTaggedItems = exports.normalizeFrontMatterTags = exports.buildSshUrl = exports.buildHttpsUrl = exports.hasSSHProtocol = exports.removeTrailingSlash = exports.addTrailingSlash = exports.addLeadingSlash = exports.resolvePathname = exports.isValidPathname = exports.encodePath = exports.fileToPath = exports.getEditUrl = exports.normalizeUrl = exports.findAsyncSequential = exports.mapAsyncSequential = exports.removePrefix = exports.removeSuffix = exports.localizePath = exports.getPluginI18nPath = exports.updateTranslationFileMessages = exports.mergeTranslations = exports.GitNotFoundError = exports.FileNotTrackedError = exports.getFileCommitDate = exports.readOutputHTMLFile = exports.generate = exports.WEBPACK_URL_LOADER_LIMIT = exports.DEFAULT_PLUGIN_ID = exports.DEFAULT_PORT = exports.CODE_TRANSLATIONS_FILE_NAME = exports.DEFAULT_I18N_DIR_NAME = exports.THEME_PATH = exports.OUTPUT_STATIC_ASSETS_DIR_NAME = exports.DEFAULT_STATIC_DIR_NAME = exports.SRC_DIR_NAME = exports.GENERATED_FILES_DIR_NAME = exports.BABEL_CONFIG_FILE_NAME = exports.DEFAULT_CONFIG_FILE_NAME = exports.DEFAULT_BUILD_DIR_NAME = exports.DOCUSAURUS_VERSION = exports.NODE_MINOR_VERSION = exports.NODE_MAJOR_VERSION = void 0;
Step #5 - "npm-run-build-home":
Step #5 - "npm-run-build-home":
Step #5 - "npm-run-build-home": TypeError: Cannot set property NODE_MAJOR_VERSION of #<Object> which has only a getter
Step #5 - "npm-run-build-home":     at Object.<anonymous> (/workspace/services/home/node_modules/@docusaurus/utils/lib/index.js:9:1421)
Step #5 - "npm-run-build-home":     at Module._compile (node:internal/modules/cjs/loader:1241:14)
Step #5 - "npm-run-build-home":     at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
Step #5 - "npm-run-build-home":     at Module.load (node:internal/modules/cjs/loader:1091:32)
Step #5 - "npm-run-build-home":     at Module._load (node:internal/modules/cjs/loader:938:12)
Step #5 - "npm-run-build-home":     at Module.require (node:internal/modules/cjs/loader:1115:19)
Step #5 - "npm-run-build-home":     at require (node:internal/modules/helpers:130:18)
Step #5 - "npm-run-build-home":     at Object.<anonymous> (/workspace/services/home/node_modules/@docusaurus/utils/lib/dataFileUtils.js:15:17)
Step #5 - "npm-run-build-home":     at Module._compile (node:internal/modules/cjs/loader:1241:14)
Step #5 - "npm-run-build-home":     at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
Step #5 - "npm-run-build-home":
Step #5 - "npm-run-build-home": Node.js v20.6.0

now reverting to build image "node:lts" until it's fixed.

Duplicate of https://github.com/facebook/docusaurus/issues/9291


Execute SQL not work when enable promise

I has the following code:
   SQLite.enablePromise(true);
   const db = await SQLite.openDatabase({name: 'app1.db', readonly: false, createFromLocation: 'app.db'});
    await db.transaction(this.initializeDbTables);
    const rs = await db.executeSql('SELECT count(*) AS count FROM f_news')
    const count = rs.rows.item(0).count;

after running; I've got error rs undefined; using callback it work as normally.
Must I use mixed callback and promise? It seems so confused @@

@anhhh11  Try surrounding it by
try{  <YOUR_CURRENT_CODE>  }catch(err){ console.warn(err) }.
Chances are there's a bug somewhere and when you print it you'll see the problem.

@rawtxapp
Not sure but I've wrapped around Promise eventually:
return new Promise((resolve, reject) => {
 db.executeSql(sql, [], (rs) => {
      resolve(rs.rows.raw()[0]);
    }, reject);
  });


wip replace labels and promql

Replacing metrics with labels, replacing promql with promql/parser
not complete yet, but i wanted to get what i have saved in a PR. I will walk away for a bit and continue to think on it.
It's very possible this is incomplete in a variety of ways than just getting it to run. For example, I'm nil'ing child nodes at the moment, that may need to be handled in it's own right.
Progress though is nice, take the happy feelings where you can get them.

I've just added you as a reviewer, but don't expect it's in a state to review yet. Thanks


plane-srgb scene renders black

I don't know how the plane-srgb is supposed to render (I don't have access to the paper and don't see Figure 1), but for me the output is a black image. cornell-srgb renders fine though ...

The preprint of our paper is freely available from my website, either from the project homepage or my research page in-general. Respectively:
https://graphics.geometrian.com/research/spectral-primaries.html
https://geometrian.com/research/index.php

The referenced problem was probably that there is an optimization for the "plane-srgb" scene where instead of using a Lambertian BRDF, it uses a mirror BRDF. This converges to exactly the same thing for this scene, but since the ray direction isn't a random variable, it converges a lot faster.
However, when explicit light sampling is enabled (as it is by default), it will actually converge infinitely slowly, since light sampling never hits a δ BRDF. You should have already gotten a warning about slower convergence being printed to the console/shell.
Yet, infinitely slower convergence is probably unexpected, and not very user-friendly. In patch 6ac329d, I have made it so that this optimization is disabled when explicit light sampling is enabled. This should resolve the problem; thank you for reporting it.


Add tests

It is necessary to write unit tests for the main methods of the class.

doing many test here, will let you know soon.


flutter_gallery__back_button_memory diff-median regression.

Noisy, so it's hard to tell the culprit commit.  May be #42031.

This test is primarily intended to detect whether we are failing to release major resources (the engine, the Dart VM, large Skia objects) after an app is suspended.  Small changes in the (end memory - start memory) diff typically are not meaningful.

This doesn't look significant.


Not sure how to make the example work for webpack

Hello, I am trying to run the example for webpack loader, but how exactly am I supposed to render a view on a webpage ? Running webpack in the example produces a "main.js" file , but then when I include it in a script tag in an html page nothing gets rendered.
Sorry if I misunderstood how this works, I just want to use blade as a templating engine for my front-end projects.
For reference here is a stackblitz : https://stackblitz.com/edit/node-ysmdmf?embed=1&file=views/view.bjs

Ok, so I have figured out how it works now and am able to render a template on the screen with the webpack example. However I can't seem to use certain features like pass data into the template.
I am trying to pass some variables in the template like so :

Whenever I try to access those params from my template like so :

I get the following error :

I also can't seem to extend the layout

I just tried the server-side example using express and it seems like everything works fine there. I can pass data into my templates, use directives , etc... out of the box. But I don't want to use express or a backend server to use blade-js, I want to use it on the front-end.
The thing is, I want to do this client side, and use the webpack loader to use blade-js as my front-end templates with vue and storybook for example. Is this something that can be done ?

You should use myVar instead of $myVar. Symbol $ is parsed as a valid part of variable name. Otherwise you can pass variable with $ prefix.

I tried without the $ sign and I am still unable to render the template. Here's a stackblitz : https://stackblitz.com/edit/bladejs-webpack?file=views/view.bjs

So, I found the problem. Template runtime uses special utility functions that generates the following code for template:
const __params = __env.params;
const myVar = __params.myVar;

And then that code goes to eval. This code is generated at runtime, by enumerating __params object. And the final problem is that this construction does not work in JavaScript strict mode. Another alternative was to use with statement, but it also does not work with strict mode.
The only approach I see now is to take an example from Vue framework team and their template compiler: they use special buble fork that compiles their templates the way they want (automatically adds object access to all variables inside the template).

I wish I could help with that, but I'm not really good enough to work on compilers, runtimes, loaders and all that magic stuff !
Thanks for the answer though !

Fixed with 3.0.0: https://stackblitz.com/edit/bladejs-webpack-1qxwpf?file=package.json

Wow, thank you so much !

I was wondering if you knew of any examples in the wild that uses the webpack loader and the runtime ? I'd like to take a look at how it is used in a "real" project ! With layouts and partials and all that jazz 🎉🚀

I was wondering if you knew of any examples in the wild that uses the webpack loader and the runtime ? I'd like to take a look at how it is used in a "real" project ! With layouts and partials and all that jazz 🎉🚀

I'd recommend you looking at some real Laravel project and take overall structure from there. It does not seem that anyone really using this package in JavaScript.


Imports, Emit, Permission, Suggestions ...

Fix the imports
Use emit instead of execJs
Add really basic permissions system to commands
Add suggestions system for commands
with backwards compatibility for old commands registering
Add config file to custom few things
Update Readme for new features

I approve of thy pull request

I don't like the change from cmdHandlers to array from object.

I don't understand why cmdHandlers was an object, and when I rewrite it, I change it to an array to make it more simple to send it to client for suggestions ... I can change it to repass to object, but I need to rewrite small things, principally clientside to convert it to an array for commands suggestions, I will wait until devs tells me what they want

It was a object to get O(1) access times to find command handlers for the command name. Your change mages it linear.

Yeah but storing it as an object isn't really logic, it's a list containing all commands, In my way, List = Array

Storing it as a object is vry logically when you access it like a map.

You can also iterate over the keys via (for const name in commands)

That's not necessary to debate about it, everyone has his opinion, let's see what devs says, if they require to change cmdHandlers to object, I will do it 😉

Heron is right about an object. It was done for perfomance since key access is O(1) and Array.prototype.find is O(n).

To get it merged you need to merge existing stuff then i'll take a look and say what to add/fix


sunshine: resolve tray icon issues

Closes #361790

use Boost 1.85 per this upstream comment
set environment.PATH to null, which allows xdg-open to work for opening tray icon links
cherry pick test fixes from https://github.com/NixOS/nixpkgs/pull/342813
move to by-name

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4978

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 364438

x86_64-linux

:fast_forward: 2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

:white_check_mark: 1 package built:

sunshine

this breaks in staging / staging-next as boost-185 is removed.
https://github.com/NixOS/nixpkgs/actions/runs/12423664740/job/34687593476

   error: undefined variable 'boost185'
   at /nix/store/z8w9nr9lsis5c8ayr1dc81cyg2r2qx2q-source/pkgs/top-level/all-packages.nix:18715:13:
    18714|   sunshine = callPackage ../by-name/su/sunshine/package.nix {
    18715|     boost = boost185;
         |             ^
    18716|   };

this will need to be moved to boost186 or some other boost version or reverted

can sunshine just use boost-186?

haven’t tried, but it may need this https://github.com/LizardByte/Sunshine/pull/3256

if 186 is the new default the reverting won’t help either I don’t think.

if 186 is the new default the reverting won’t help either I don’t think.

reverting will fix the CI but sunshine will still be broken.

the patch doesn't look too complex might be easy enough to fix.

yeah fair — we may need to consider switching to an unstable version in the meantime.

yeah fair — we may need to consider switching to an unstable version in the meantime.

I ported the patch hand have it building on staging-next. will post PR

yeah fair — we may need to consider switching to an unstable version in the meantime.

I ported the patch hand have it building on staging-next. will post PR

https://github.com/NixOS/nixpkgs/pull/366696


Fix "preexisting" spelling

@triddell : Thanks for your contribution! The author, @rkarlin, has been notified to review your proposed change.

Merging the typo fix.
@triddell Thanks!


Avoid "invalid argument (invalid character)" on non-unicode Windows

Steps to reproduce and the error message
> stack haddock basement
... snip ...
    Warning: 'A' is out of scope.
    Warning: 'haddock: internal error: <stdout>: commitBuffer: invalid argument (invalid character)

Environment
OS: Windows 10 ver. 1709
haddock: HEAD of ghc-8.4 when I reproduce the error. (I had to use this version to avoid another probrem already fixed in HEAD)
GHC: 8.4.3
stack: Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2
stack's resolver: nightly-2018-07-21
Related pull request
https://github.com/haskell/haddock/pull/566

Thanks @igrep! I remember the last time we need led to figure out this transliteration stuff.. Glad this time was faster!


ifconfig -l is not good enough

If you have tap12 tap1 is marked as existing
Or something.

"Something about double digit taps"

ifconfig -l | grep -F "tap2 " does the trick here (note the space after the tap in the grep PATTERN.
This has been implemented.


Broken Links

Hi,
The following links appear to be broken:

"attributes synchronized to Azure Active Directory by Azure AD Connect." under Directory Cleanup Tasks
"Prepare for directory synchronization." under "Add an alternative UPN Suffix for AD DS"

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

ID: c60ee789-fce6-6c95-150d-be4ae895730e
Version Independent ID: d9e96954-3b85-bf8d-c7d3-916a4698fd77
Content: Prepare to provision users through directory synchronization to Office 365
Content Source: Enterprise/prepare-for-directory-synchronization.md
Service: o365-administration
GitHub Login: @robmazz
Microsoft Alias: robmazz

I've also noticed the "Prepare for directory synchronization"[https://go.microsoft.com/fwlink/p/?LinkId=525430] link is broken on a ton of Microsoft documentation websites.


Examples of using simple drawing libraries

Hello,
Thank you for this great code.  I've used it to get started with a touchscreen display.
Where are some examples of using your library with simple drawing libraries like Arduino_gfx or TFT_espi.  Isn't it possible to use libs such as those to directly render to the bus/panel created by ESP32_Display_Panel?
Thank you,
David

Hi David,
Thank you for your feedback. This library is currently primarily used in conjunction with LVGL. Libraries like Arduino_gfx provide great graphics rendering capabilities, and perhaps I can consider porting them over in the future.

@Lzw655, Thank you.  I actually got this to work with TFT_eSPI by drawing in memory to a sprite, and then using the panelLcd drawBitmap() function.

Great!

It is working, but it is extremely slow.  Are there ways to optimize the
parallel RGB performance of drawBitmap()?
On Mon, Aug 26, 2024 at 5:54 PM Zhongwei Liu @.***>
wrote:

Great!
—
Reply to this email directly, view it on GitHub
https://github.com/esp-arduino-libs/ESP32_Display_Panel/issues/105#issuecomment-2311365077,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAM4MOQTGJ5CILLOA2IHTLZTPE4XAVCNFSM6AAAAABNB3JXUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGM3DKMBXG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

You can try to use the high_perf version of the arduino-esp32 SDK.


Does "input_ids“ contain tokens such as [SEG] in your code ?

I noticed when generating input_ids. Prompt does not include tokens such as [SEG]. Will this cause seg_toked_idx to be unable to identify the index of the [SEG] token?
code：
if isinstance(self.seg_token_idx, list):
seg_token_num = self.seg_token_num
seg_token_mask = torch.zeros_like(input_ids[:, 1:]).bool()
for seg_token_idx in self.seg_token_idx:
seg_token_mask = seg_token_mask | (input_ids[:, 1:] == seg_token_idx)
else:
seg_token_num = self.seg_token_num
seg_token_mask = input_ids[:, 1:] == self.seg_token_idx

I would greatly appreciate your response!

I also found this problem. And I believe this may be the reason of this problem: https://github.com/MaverickRen/PixelLM/issues/20

This problem still exists. BTW, if seg_token_num is 3, according to train_ds.py, the seg tokens will be [SEG0], [SEG1] and [SEG2]. However, these three seg tokens have the same seg_token_idx after using the code args.seg_token_idx = [tokenizer(token, add_special_tokens=False).input_ids[0] for token in new_tokens]. This makes the training impossible.

Hope the authors could release the final correct version. Thanks!

After reading the source code, I find there is almost nothing different with LISA's design about the <seg> token, except the number of the <seg> tokens is different.
So basically, this research's diff from LISA is just in the part of the mask decoder(or let's say this work is working without SAM).
Am I right?


the forge thing

it sais i need forge 36.1.3 or above but I cant download it I need a version that can download with forge 36.0.1

Download it here. Forge 36.1.3 is here due to compatibility concerns with another mod, Downgrading is not an option. If your launcher cannot handle Forge 36.1.3 or greater, please consider changing either updating or outright changing your launcher of choice.

Download it here. Forge 36.1.3 is here due to compatibility concerns with another mod, Downgrading is not an option. If your launcher cannot handle Forge 36.1.3 or greater, please consider changing either updating or outright changing your launcher of choice.

probleme is I use tlauncher

Their inability to update is none of my concern. They should already have Forge 36.1.32 available. If they don't, that's not on me, that's on them. Origins CANNOT be safely downgraded to forge 36.0.1, especially considering that this version is a BETA and that any version before 36.1.0 isn't considered stable. The number of breaking bugs fixed between 36.0 and 36.1 is large enough for me to say that playing on 36.0.1 isn't something that I want to support.
This gives you two choices:

Ask the owners of tlauncher to update their Forge version.
Use CurseForge, MultiMC or the standard Minecraft launcher, as those are the ones I know will support the required version of Forge.


Mindee ProductHunt launch

We didn't do a ProductHunt launch when we were in YC, but it's not too late.

blocked by #4
I wouldn't do it until we have a community we can share on PH.


apply termination criteria

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

Project coverage is 92.42%. Comparing base (ae2f3cb) to head (cb13c1f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   92.40%   92.42%   +0.01%
==========================================
  Files          36       36
  Lines        1146     1148       +2
  Branches      175      174       -1
==========================================
+ Hits         1059     1061       +2
  Misses         87       87

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


duration calculated from segmentIndex mismatches whats available in periodInfo

I have the following MPD
<MPD mediaPresentationDuration="PT1M3.7S" minBufferTime="PT10.0S" type="static" profiles="urn:mpeg:dash:profile:isoff-live:2011" xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Period start="PT0.0S">
		<AdaptationSet maxFrameRate="24" bitstreamSwitching="true" segmentAlignment="true" contentType="video">
			<Representation height="800" width="1920" bandwidth="8000000" codecs="avc1.640028" mimeType="video/mp4" id="0">
				<SegmentTemplate startNumber="2" initialization="dash_1080.1.m4s" media="dash_1080.$Number$.m4s" duration="5000000" timescale="1000000"></SegmentTemplate>
			</Representation>
			<Representation height="354" width="854" bandwidth="2000000" codecs="avc1.42c01e" mimeType="video/mp4" id="1">
				<SegmentTemplate startNumber="2" initialization="dash_480.1.m4s" media="dash_480.$Number$.m4s" duration="5000000" timescale="1000000"></SegmentTemplate>
			</Representation>
		</AdaptationSet>
		<AdaptationSet bitstreamSwitching="true" segmentAlignment="true" contentType="audio">
			<Representation audioSamplingRate="44100" bandwidth="128290" codecs="mp4a.40.2" mimeType="audio/mp4" id="2">
				<AudioChannelConfiguration value="2" schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011"/>
				<SegmentTemplate startNumber="2" initialization="dash_audio.1.m4s" media="dash_audio.$Number$.m4s" duration="5000000" timescale="1000000"></SegmentTemplate>
			</Representation>
		</AdaptationSet>
	</Period>
</MPD>

The <MPD> tag has the mediaPresentationDuration="PT1M3.7S" signifying the video is ~63 seconds. However when loading the video, it reports the duration as ~65 seconds which it is calculating by
  for (var i = 0; i < segmentIndexes.length; ++i) {
    var seekRange = segmentIndexes[i].getSeekRange();
    startTime = Math.max(startTime, seekRange.start);
    if (seekRange.end != null) {
      endTime = Math.min(endTime, seekRange.end);
    }
  }

inside shaka.player.StreamVideoSource.prototype.computeStreamLimits_
As there are 13 available segments, it multiplies by 5s per segment, giving a total of 65s.
The last segment is however not a full 5s segment, so when the playback ends, it throws a warning from the else clause of shaka.player.StreamVideoSource.prototype.setUpMediaSource_
If I now add duration="PT1M3.7S" to the <Period> tag in the MPD, it still has the same issue, since fetching duration from the periodInfo happens after calculating it from the segmentIndex inside shaka.player.StreamVideoSource.prototype.computeStreamLimits_ and is protected by a endTime == Number.POSITIVE_INFINITY check.
if (endTime == Number.POSITIVE_INFINITY) {
    // TODO(story 1890046): Support multiple periods.
    var period = this.manifestInfo.periodInfos[0];
    if (period.duration) {
      endTime = (period.start || 0) + period.duration;
    } else {
      shaka.log.debug('Failed to compute a stream end time.');
      return null;
    }
  }

Questions:

Is the MPD I have seem / look correct? Or is it lacking information that is messing with the player calculations?
shaka-player is using mediaPresentationDuration="PT1M3.7S" to figure out the number of segments = var numSegments = Math.ceil(this.period_.duration / scaledSegmentDuration); = 1M3.7S / 5S = 13. However if it is doing that, shouldn't it know that the 13th segment is only seekable to 3.7s and not the total 5s? And why is this duration not being used as opposed to recalculating it again by iterating over all the segments?
Why is segmentIndex seekable ranges given preference over period duration?
Why is there not a fallback to just use mediaPresentationDuration="PT1M3.7S" as the duration incase its not available on the <Period> tag?

Thanks!

Thanks for the report.
There is a bug in the player, see #173.

Your MPD looks correct.
Yes, this is the bug: the last segment should not extend past the Period's duration.
We use the SegmentIndexes to compute the seek range (instead of the Period's duration directly) because each stream may have a slightly different start/end time than what @mediaPresentationDuration or the Period's duration indicates (e.g., @mediaPresentationDuration may be 2 minutes but a particular Representation may have a SegmentTImeline that indicates that it ends at 1:59). Moreover, the actual timestamps in the media segments may induce slightly different start/end times (i.e., when there is a timestamp correction). Also, for live content, the seek range moves.
The Period's duration does fallback to @mediaPresentationDuration (see https://github.com/google/shaka-player/blob/26bfade2dff58132937af0f9168de8f73c0d7220/lib/dash/mpd_processor.js#L152).


alternatives/validation to async batching updates

I'm unwilling to async-ify the application of styles like aphrodite, but I'm willing to figure out alternatives -

is this a real issue? can we benchmark it?
how much pressure is released by server side rendering/bootstrapping?
how much does hashing help?
can static opts help? (#2)
can we hook into react's batching mechanism?
if insertRule() has better perf (despite bad dx #8), can we use that in prod instead?

Closing this, solved well with insertRule in production +SSR when needed. Further optimizations as there discovered.


Event consequence gets called multiple times for lengthy operation

Hi Jesus,
I'm trying to use durable rules in Python to evaluate a list of data records. Each record has multiple fields that I use to write the conditions. The consequence function could be a lengthy database operation. I loop through the record list and call post('rule_set', record, call_back) on each record to post event. I found that if I have about 65 records in my list and each of them trigger the consequence that involves lengthy database operation, the consequence on the same record could be triggered multiple times which result in duplicate records being created in my database. Please note that I gave each record a different sid before I post the event.
Could you tell me how I can avoid the consequence being called multiple times on one record when I post the event?
Thanks,
Hong Lu

Hi, thanks for posting the question. Assuming you are using asynchronous actions to execute the DB operation? If so, you can override the 5 second timeout on the action. Please see docs for more info on async actions:
https://github.com/jruizgit/rules/blob/master/docs/py/reference.md#async-actions

Hi Jesus,
Yes I was using asynchronous actions to execute the DB operation. I changed it to call post event synchronously without the callback function parameter. But the consequence is still triggered multiple times. I wonder what is causing this to happen.
Thanks,
Hong Lu

When the rules engine dispatches an action, it takes a lock on the context state, the lock will be released if the action is not completed within 30 seconds. You can renew the action lease by calling get_host().renew_action_lease('rule_set').


issues installing on CI

I am encountering issues when attempting to install on continuous integration:
When I use pip install git+https://github.com/hubverse-org/hub-dashboard-predtimechart, I get a package called UNKNOWN.
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/hubverse-org/hub-dashboard-predtimechart
  Cloning https://github.com/hubverse-org/hub-dashboard-predtimechart to /tmp/pip-req-build-4vmizsll
  Running command git clone --filter=blob:none --quiet https://github.com/hubverse-org/hub-dashboard-predtimechart /tmp/pip-req-build-4vmizsll
  Resolved https://github.com/hubverse-org/hub-dashboard-predtimechart to commit 2c5dbbc15da3ec77f33173a1a8a47ff7eee6c49a
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml): started
  Building wheel for UNKNOWN (pyproject.toml): finished with status 'done'
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=1790 sha256=d5409ad71340d721b36c4c73b4e6496e0d6ee46d68eb7622c27efad7d01c0e75
  Stored in directory: /tmp/pip-ephem-wheel-cache-9uxzeqvd/wheels/9a/2d/0b/d9708f602b90584a04580e4ad250ff64ed40db26298c20f173
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0

Then later when I run hub_predtimechart --help, I get an error that the command is not found.
I thought maybe it was an issue with the name and so I tried adding the name before the git like so:
pip install hub-dashboard-predtimechart@git+https://github.com/hubverse-org/hub-dashboard-predtimechart

and I got the following error:
Defaulting to user installation because normal site-packages is not writeable
Collecting hub-dashboard-predtimechart@ git+https://github.com/hubverse-org/hub-dashboard-predtimechart
  Cloning https://github.com/hubverse-org/hub-dashboard-predtimechart to /tmp/pip-install-j7my6x_q/hub-dashboard-predtimechart_66cd5a9447c3499b90286501154666c0
  Running command git clone --filter=blob:none --quiet https://github.com/hubverse-org/hub-dashboard-predtimechart /tmp/pip-install-j7my6x_q/hub-dashboard-predtimechart_66cd5a9447c3499b90286501154666c0
  Resolved https://github.com/hubverse-org/hub-dashboard-predtimechart to commit 2c5dbbc15da3ec77f33173a1a8a47ff7eee6c49a
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
  WARNING: Generating metadata for package hub-dashboard-predtimechart produced metadata for project name unknown. Fix your #egg=hub-dashboard-predtimechart fragments.
Discarding git+https://github.com/hubverse-org/hub-dashboard-predtimechart: Requested unknown from git+https://github.com/hubverse-org/hub-dashboard-predtimechart has inconsistent name: filename has 'hub-dashboard-predtimechart', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement hub-dashboard-predtimechart (unavailable) (from versions: none)
ERROR: No matching distribution found for hub-dashboard-predtimechart (unavailable)
Error: Process completed with exit code 1.

I think it would be good to rope @bsweger in here since she might have more experience with python packages (and may be able to identify the particular level of python packaging hell we are in).

In the meantime, I can try to recreate the problem on my local Mac, but I need some steps to follow. I found your https://github.com/zkamvar/test-docker-site/blob/main/Dockerfile , but I'm not sure what other (portions of?) scripts I need to assemble to recreate the problem, say https://github.com/zkamvar/test-docker-site/blob/83a421baf018c63da1679766ed86682e2e1a3ebf/.github/workflows/build.yaml.

The only command here that's relevant is the pip install portion of the build.yaml file, which runs on Ubuntu 24.04, but I cannot reproduce this on my Mac (though, when I install it on my Mac in my global python environment, the command hub_predtimechart does not work because I get this error:
hub_predtimechart --help
Traceback (most recent call last):
  File "/path/to/.pyenv/versions/3.10.14/bin/hub_predtimechart", line 5, in <module>
    from hub_predtimechart.app import main
ImportError: cannot import name 'main' from 'hub_predtimechart.app' (/path/to/.pyenv/versions/3.10.14/lib/python3.10/site-packages/hub_predtimechart/app/__init__.py)

Adding pip install --upgrade pip was the solution that worked. At some point, I would like to understand why it works, because that's a weird missing step, but for now, I can move forward.

Glad you got it sorted!


Preferences window is not showing up with PySide 1.0.9+

From<EMAIL_ADDRESS>on 2011-12-28T14:19:26Z
What steps will reproduce the problem?
Try to open "Preferences" window in any way (from menu, toolbar or with keyboard shortcut). What is the expected output? What do you see instead? Expected is Preferences dialog opening. Instead it fails to open. What version of the product are you using? On what operating system? Spyder 2.1.6, on Windows 7 64-bit, with Python 2.7.2 64-bit, Qt 4.7.4, PySide 1.0.9
Please provide any additional information below
. This affects also Spyder 2.1.5, but not 2.1.4. I see that in the change log for 2.1.5 there is an entry for fixed bug for Windows: "Preferences" dialog was not shown if account username contained non-ASCII characters"... My account name does not contain non-ASCII characters.
Below is an error trace when Spyder run with --debug option:
Traceback (most recent call last):
File "c:\Python27\lib\site-packages\spyderlib\spyder.py", line 1616, in edit_preferences
widget = plugin.create_configwidget(dlg)
File "c:\Python27\lib\site-packages\spyderlib\plugins_init_.py", line 159,
in create_configwidget
configwidget.initialize()
File "c:\Python27\lib\site-packages\spyderlib\plugins\configdialog.py", line 46, in initialize
self.load_from_conf()
File "c:\Python27\lib\site-packages\spyderlib\plugins\configdialog.py", line 241, in load_from_conf
checkbox.setChecked(self.get_option(option, default))
RuntimeError: Internal C++ object (PySide.QtGui.QCheckBox) already deleted.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=897

From<EMAIL_ADDRESS>on 2011-12-28T14:17:58Z
Does --reset help?
Labels: Component-PySide

From<EMAIL_ADDRESS>on 2011-12-30T14:08:23Z
No, it does not. In fact, I was manually removing ~/.spyder2 folder each time after removing one Spyder version and installing another when trying for this bug.
What did help though is installing PyQt4. Then Spyder picked up PyQt as the bindings to use, and the problem was gone. I was using the most recent PyQt4 version. So, the bottom line is

problem is present with PySide 1.0.9 on Qt 4.7.4
problem is absent with PyQt4 4.9.1 on Qt 4.8.0
So it looks indeed like PySide problem, but may be (just may be) it is a problem of Qt in general. Unfortunately I can not find Windows downloads of older PyQt versions to try PyQt based on the same Qt as current PySide.

From<EMAIL_ADDRESS>on 2012-01-27T05:23:30Z
Same here with Spyder 2.1.7, Python 2.7.3 64-bit, PySide 1.1.0 and Qt 4.7.4 on Windows 7 64-bit

From<EMAIL_ADDRESS>on 2012-01-29T01:53:30Z
I also can confirm that the bug is not 64-bit related, since using the following setup
Windows 7 Starter (32bit), Python 2.7.2, spyderlib 2.1.7

PySide 1.1.0 with Qt 4.7.4 bug is present (with the same error message)
PyQt 4.9 (API v1), Qt 4.8.0 bug is abscent

I am totally not an expert but I've read that PySide supports only Qt APIv2. May this be the source of the error (if Spyder at some point explicitly uses APIv1)?

From ccordoba12 on 2012-01-27T07:11:37Z
I almost sure this is a problem with PySide and not on our side. For me Spyder doesn't even start on Linux with PySide 1.1.0.
Please try to install PyQt to see if that solves the problem
Summary: Preferences window is not showing up with PySide 1.0.9+
Labels: Cat-SpyderGUI OpSys-Windows

From pierre.raybaut on 2012-01-29T06:13:23Z
Spyder is supporting both PyQt API v1 and v2, so that's not the good explanation here.
Like Carlos, I've tested Spyder v2.1.7 on Linux with PySide v1.1.0 and it doesn't start at all (segfault). On Windows 7, no problem with Spyder v2.1.7, PySide v1.1.0, Python 2.7.2.

From<EMAIL_ADDRESS>on 2012-01-31T03:13:52Z
Spyder on Linux won't start with PySide 1.1.0. Known problem that is fixed and will be released with PySide 1.1.1 - http://bugs.pyside.org/show_bug.cgi?id=1105

From ccordoba12 on 2012-02-10T07:26:29Z
issue #934 has been merged into this issue.

From<EMAIL_ADDRESS>on 2012-03-07T00:24:18Z
issue #963 has been merged into this issue.

From<EMAIL_ADDRESS>on 2012-03-07T00:39:10Z
Labels: -Priority-Medium Priority-High

From ccordoba12 on 2012-03-08T05:13:48Z
issue #966 has been merged into this issue.

From pierre.raybaut on 2012-03-17T06:14:55Z
This issue was updated by revision 74ee33aecead .
Status: Fixed

From pierre.raybaut on 2013-01-27T01:04:17Z
issue #1223 has been merged into this issue.


iOS crash when stop recording

Hi, I am trying to record screen. but it crashes when stop recording.
flutter:       >>> Start Record Response Output: flutter:       File: File: '[/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/126FFC94-020B-4C4A-80C1-F368F5905C5C/Documents/Eren.mp4]()' flutter:       Event Name: startRecordScreen flutter:       Progressing: true flutter:       Message: Started Video flutter:       Success: false flutter:       Video Hash: 14c316a0bf1911ec9c27f365359d878d flutter:       Start Date:<PHONE_NUMBER>508 flutter:       End Date: 0 flutter: Lost connection to device.

2022-04-18 16:24:45.904448+0300 Runner[61042:34975612] Metal API
Validation Enabled
2022-04-18 16:24:46.272360+0300 Runner[61042:34977997] [WindowServer]
display_timer_callback: unexpected state (now:47aa0a6c425a8 <
expected:47aa0a7b17208)
2022-04-18 16:24:46.825135+0300 Runner[61042:34978036] flutter:
Observatory listening on http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
2022-04-18 16:24:47.011806+0300 Runner[61042:34975612] -[UIWindow
endDisablingInterfaceAutorotationAnimated:] called on <UIWindow:
0x7fa936c61f80; frame = (0 0; 414 736); gestureRecognizers = <NSArray:
0x6000012e4630>; layer = <UIWindowLayer: 0x600001c78ae0>> without matching
-beginDisablingInterfaceAutorotation. Ignoring.
2022-04-18 16:24:48.659821+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:49.036421+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:54.991911+0300 Runner[61042:34975612] startRecording: w x
h = 1242 x 2208 pixels
2022-04-18 16:24:55.535398+0300 Runner[61042:34977997] flutter:       >>>
Start Record Response Output:
2022-04-18 16:24:55.535863+0300 Runner[61042:34977997] flutter:
File: File:
'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/6967DDE0-C635-46E3-BA10-758E51FF23D3/Documents/Eren.mp4'
2022-04-18 16:24:55.535956+0300 Runner[61042:34977997] flutter:
Event Name: startRecordScreen
2022-04-18 16:24:55.536024+0300 Runner[61042:34977997] flutter:
Progressing: true
2022-04-18 16:24:55.536121+0300 Runner[61042:34977997] flutter:
Message: Started Video
2022-04-18 16:24:55.536226+0300 Runner[61042:34977997] flutter:
Success: false
2022-04-18 16:24:55.536311+0300 Runner[61042:34977997] flutter:
Video Hash: ef7945c0bf1a11ec8aca232e7f071706
2022-04-18 16:24:55.536371+0300 Runner[61042:34977997] flutter:
Start Date:<PHONE_NUMBER>489
2022-04-18 16:24:55.536447+0300 Runner[61042:34977997] flutter:       End
Date: 0
2022-04-18 16:24:55.536509+0300 Runner[61042:34977997] flutter:
Stopping recording...
2022-04-18 16:25:05.919995+0300 Runner[61042:34975612] *** Terminating app
due to uncaught exception 'NSInternalInconsistencyException', reason: '**
-[AVAssetWriterInput markAsFinished] Cannot call method when status is 0'*
**** First throw call stack:*
(

0   CoreFoundation                      0x0000000109bd7fba
__exceptionPreprocess + 242*

1   libobjc.A.dylib                     0x0000000109a8cff5
objc_exception_throw + 48*

2   AVFCore                             0x0000000121e79e16
-[AVAssetWriterInputHelper markCurrentPassAsFinished] + 0*

3   AVFCore                             0x0000000121e751c7
-[AVAssetWriterInput markAsFinished] + 135*

4   ed_screen_recorder                  0x0000000109495c40
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC13stopRecordingSbyF +
816*

5   ed_screen_recorder                  0x0000000109490723
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctF

9475*

6   ed_screen_recorder                  0x000000010949214e
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctFTo

142*

7   Flutter                             0x000000010a829571
__45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104*

8   Flutter                             0x000000010a2b86df
_ZNK7flutter21PlatformMessageRouter21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

193*

9   Flutter                             0x000000010a2bddf9
_ZN7flutter15PlatformViewIOS21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

35*

10  Flutter                             0x000000010a6fe09b
_ZNSt3__110__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter5Shell29OnEngineHandlePlatformMessageENS_10unique_ptrINS5_15PlatformMessageENS_14default_deleteIS8_EEEEE4$_15EENS_9allocatorISD_EEFvvEEclEv

81*

11  Flutter                             0x000000010a5fdef0
_ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 164*

12  Flutter                             0x000000010a604324
ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0 + 26*

13  CoreFoundation                      0x0000000109b4678a
CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20*

14  CoreFoundation                      0x0000000109b4627c
__CFRunLoopDoTimer + 924*

15  CoreFoundation                      0x0000000109b4581a
__CFRunLoopDoTimers + 265*

16  CoreFoundation                      0x0000000109b3fe69 __CFRunLoopRun

2013*

17  CoreFoundation                      0x0000000109b3f1a7
CFRunLoopRunSpecific + 567*

18  GraphicsServices                    0x0000000111097d85
GSEventRunModal + 139*

19  UIKitCore                           0x00000001170704df
-[UIApplication _run] + 912*

20  UIKitCore                           0x000000011707539c
UIApplicationMain + 101*

21  Runner                              0x0000000100f150eb main + 75*

22  libdyld.dylib                       0x000000010fbf1bbd start + 1*

)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: '*** -[AVAssetWriterInput
markAsFinished] Cannot call method when status is 0'
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 8 Plus
(971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7) - Runtime: iOS 14.5 (18E182) -
DeviceType: iPhone 8 Plus
On Mon, 18 Apr 2022 at 16:21, Eren Demir @.***> wrote:

Merhabalar,
Geri dönüşünüz için teşekkür ederim. IOS için gerekli izinleri eklediniz
mi? Eğer eklediğinizden eminseniz projenizi XCode üzerinden build alıp
herhangi bir hata çıktısını göndermenizi rica ediyorum.
alperenbaskaya58 @.***>, 18 Nis 2022 Pzt, 16:18
tarihinde şunu yazdı:

Hi, I am trying to record screen. but it crashes when stop recording.
flutter: >>> Start Record Response Output: flutter: File: File:

'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/126FFC94-020B-4C4A-80C1-F368F5905C5C/Documents/Eren.mp4'

flutter: Event Name: startRecordScreen flutter: Progressing: true
flutter:
Message: Started Video flutter: Success: false flutter: Video Hash:
14c316a0bf1911ec9c27f365359d878d flutter: Start Date:<PHONE_NUMBER>508
flutter: End Date: 0 flutter: Lost connection to device.
—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARQAUULSXKYDX3Q36EQOWYTVFVOKFANCNFSM5TV3BXPQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1#issuecomment-1101404425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOZE2QTON53Z5UN5TI737TVFVOVNANCNFSM5TV3BXPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

önceki maile ekledim, mic ve diğer izni de talep etmiştim aslında.
On Mon, 18 Apr 2022 at 16:26, Alperen Baskaya @.***>
wrote:

2022-04-18 16:24:45.904448+0300 Runner[61042:34975612] Metal API
Validation Enabled
2022-04-18 16:24:46.272360+0300 Runner[61042:34977997] [WindowServer]
display_timer_callback: unexpected state (now:47aa0a6c425a8 <
expected:47aa0a7b17208)
2022-04-18 16:24:46.825135+0300 Runner[61042:34978036] flutter:
Observatory listening on http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
2022-04-18 16:24:47.011806+0300 Runner[61042:34975612] -[UIWindow
endDisablingInterfaceAutorotationAnimated:] called on <UIWindow:
0x7fa936c61f80; frame = (0 0; 414 736); gestureRecognizers = <NSArray:
0x6000012e4630>; layer = <UIWindowLayer: 0x600001c78ae0>> without matching
-beginDisablingInterfaceAutorotation. Ignoring.
2022-04-18 16:24:48.659821+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:49.036421+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:54.991911+0300 Runner[61042:34975612] startRecording: w
x h = 1242 x 2208 pixels
2022-04-18 16:24:55.535398+0300 Runner[61042:34977997] flutter:       >>>
Start Record Response Output:
2022-04-18 16:24:55.535863+0300 Runner[61042:34977997] flutter:
File: File:
'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/6967DDE0-C635-46E3-BA10-758E51FF23D3/Documents/Eren.mp4'
2022-04-18 16:24:55.535956+0300 Runner[61042:34977997] flutter:
Event Name: startRecordScreen
2022-04-18 16:24:55.536024+0300 Runner[61042:34977997] flutter:
Progressing: true
2022-04-18 16:24:55.536121+0300 Runner[61042:34977997] flutter:
Message: Started Video
2022-04-18 16:24:55.536226+0300 Runner[61042:34977997] flutter:
Success: false
2022-04-18 16:24:55.536311+0300 Runner[61042:34977997] flutter:
Video Hash: ef7945c0bf1a11ec8aca232e7f071706
2022-04-18 16:24:55.536371+0300 Runner[61042:34977997] flutter:
Start Date:<PHONE_NUMBER>489
2022-04-18 16:24:55.536447+0300 Runner[61042:34977997] flutter:       End
Date: 0
2022-04-18 16:24:55.536509+0300 Runner[61042:34977997] flutter:
Stopping recording...
2022-04-18 16:25:05.919995+0300 Runner[61042:34975612] *** Terminating
app due to uncaught exception 'NSInternalInconsistencyException', reason:
'** -[AVAssetWriterInput markAsFinished] Cannot call method when status is
0'*
**** First throw call stack:*
(

0   CoreFoundation                      0x0000000109bd7fba
__exceptionPreprocess + 242*

1   libobjc.A.dylib                     0x0000000109a8cff5
objc_exception_throw + 48*

2   AVFCore                             0x0000000121e79e16
-[AVAssetWriterInputHelper markCurrentPassAsFinished] + 0*

3   AVFCore                             0x0000000121e751c7
-[AVAssetWriterInput markAsFinished] + 135*

4   ed_screen_recorder                  0x0000000109495c40
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC13stopRecordingSbyF +
816*

5   ed_screen_recorder                  0x0000000109490723
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctF

9475*

6   ed_screen_recorder                  0x000000010949214e
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctFTo

142*

7   Flutter                             0x000000010a829571
__45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104*

8   Flutter                             0x000000010a2b86df
_ZNK7flutter21PlatformMessageRouter21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

193*

9   Flutter                             0x000000010a2bddf9
_ZN7flutter15PlatformViewIOS21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

35*

10  Flutter                             0x000000010a6fe09b
_ZNSt3__110__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter5Shell29OnEngineHandlePlatformMessageENS_10unique_ptrINS5_15PlatformMessageENS_14default_deleteIS8_EEEEE4$_15EENS_9allocatorISD_EEFvvEEclEv

81*

11  Flutter                             0x000000010a5fdef0
_ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 164*

12  Flutter                             0x000000010a604324
ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0 + 26*

13  CoreFoundation                      0x0000000109b4678a
CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20*

14  CoreFoundation                      0x0000000109b4627c
__CFRunLoopDoTimer + 924*

15  CoreFoundation                      0x0000000109b4581a
__CFRunLoopDoTimers + 265*

16  CoreFoundation                      0x0000000109b3fe69
__CFRunLoopRun + 2013*

17  CoreFoundation                      0x0000000109b3f1a7
CFRunLoopRunSpecific + 567*

18  GraphicsServices                    0x0000000111097d85
GSEventRunModal + 139*

19  UIKitCore                           0x00000001170704df
-[UIApplication _run] + 912*

20  UIKitCore                           0x000000011707539c
UIApplicationMain + 101*

21  Runner                              0x0000000100f150eb main + 75*

22  libdyld.dylib                       0x000000010fbf1bbd start + 1*

)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: '*** -[AVAssetWriterInput
markAsFinished] Cannot call method when status is 0'
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 8 Plus
(971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7) - Runtime: iOS 14.5 (18E182) -
DeviceType: iPhone 8 Plus
On Mon, 18 Apr 2022 at 16:21, Eren Demir @.***> wrote:

Merhabalar,
Geri dönüşünüz için teşekkür ederim. IOS için gerekli izinleri eklediniz
mi? Eğer eklediğinizden eminseniz projenizi XCode üzerinden build alıp
herhangi bir hata çıktısını göndermenizi rica ediyorum.
alperenbaskaya58 @.***>, 18 Nis 2022 Pzt, 16:18
tarihinde şunu yazdı:

Hi, I am trying to record screen. but it crashes when stop recording.
flutter: >>> Start Record Response Output: flutter: File: File:

'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/126FFC94-020B-4C4A-80C1-F368F5905C5C/Documents/Eren.mp4'

flutter: Event Name: startRecordScreen flutter: Progressing: true
flutter:
Message: Started Video flutter: Success: false flutter: Video Hash:
14c316a0bf1911ec9c27f365359d878d flutter: Start Date:<PHONE_NUMBER>508
flutter: End Date: 0 flutter: Lost connection to device.
—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARQAUULSXKYDX3Q36EQOWYTVFVOKFANCNFSM5TV3BXPQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1#issuecomment-1101404425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOZE2QTON53Z5UN5TI737TVFVOVNANCNFSM5TV3BXPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Gerçek bir IOS cihazında deniyorsunuz değil mi? Çünkü Emulator
desteklemiyor.
alperenbaskaya58 @.***>, 18 Nis 2022 Pzt, 16:27
tarihinde şunu yazdı:

önceki maile ekledim, mic ve diğer izni de talep etmiştim aslında.
On Mon, 18 Apr 2022 at 16:26, Alperen Baskaya @.***>
wrote:

2022-04-18 16:24:45.904448+0300 Runner[61042:34975612] Metal API
Validation Enabled
2022-04-18 16:24:46.272360+0300 Runner[61042:34977997] [WindowServer]
display_timer_callback: unexpected state (now:47aa0a6c425a8 <
expected:47aa0a7b17208)
2022-04-18 16:24:46.825135+0300 Runner[61042:34978036] flutter:
Observatory listening on http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
http://<IP_ADDRESS>:49572/xiZks_ed8sk=/
2022-04-18 16:24:47.011806+0300 Runner[61042:34975612] -[UIWindow
endDisablingInterfaceAutorotationAnimated:] called on <UIWindow:
0x7fa936c61f80; frame = (0 0; 414 736); gestureRecognizers = <NSArray:
0x6000012e4630>; layer = <UIWindowLayer: 0x600001c78ae0>> without
matching
-beginDisablingInterfaceAutorotation. Ignoring.
2022-04-18 16:24:48.659821+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:49.036421+0300 Runner[61042:34977998] Errors found!
Invalidating cache...
2022-04-18 16:24:54.991911+0300 Runner[61042:34975612] startRecording: w
x h = 1242 x 2208 pixels
2022-04-18 16:24:55.535398+0300 Runner[61042:34977997] flutter: >>>
Start Record Response Output:
*2022-04-18 16:24:55.535863+0300 Runner[61042:34977997] flutter:
File: File:

'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/6967DDE0-C635-46E3-BA10-758E51FF23D3/Documents/Eren.mp4'*

2022-04-18 16:24:55.535956+0300 Runner[61042:34977997] flutter:
Event Name: startRecordScreen
2022-04-18 16:24:55.536024+0300 Runner[61042:34977997] flutter:
Progressing: true
2022-04-18 16:24:55.536121+0300 Runner[61042:34977997] flutter:
Message: Started Video
2022-04-18 16:24:55.536226+0300 Runner[61042:34977997] flutter:
Success: false
2022-04-18 16:24:55.536311+0300 Runner[61042:34977997] flutter:
Video Hash: ef7945c0bf1a11ec8aca232e7f071706
2022-04-18 16:24:55.536371+0300 Runner[61042:34977997] flutter:
Start Date:<PHONE_NUMBER>489
2022-04-18 16:24:55.536447+0300 Runner[61042:34977997] flutter: End
Date: 0
2022-04-18 16:24:55.536509+0300 Runner[61042:34977997] flutter:
Stopping recording...
2022-04-18 16:25:05.919995+0300 Runner[61042:34975612] *** Terminating
app due to uncaught exception 'NSInternalInconsistencyException', reason:
'** -[AVAssetWriterInput markAsFinished] Cannot call method when status
is
0'*
**** First throw call stack:*
(

0 CoreFoundation 0x0000000109bd7fba
__exceptionPreprocess + 242*

1 libobjc.A.dylib 0x0000000109a8cff5
objc_exception_throw + 48*

2 AVFCore 0x0000000121e79e16
-[AVAssetWriterInputHelper markCurrentPassAsFinished] + 0*

3 AVFCore 0x0000000121e751c7
-[AVAssetWriterInput markAsFinished] + 135*

4 ed_screen_recorder 0x0000000109495c40
$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC13stopRecordingSbyF +
816*

5 ed_screen_recorder 0x0000000109490723

$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctF

9475*

6 ed_screen_recorder 0x000000010949214e

$s18ed_screen_recorder27SwiftEdScreenRecorderPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctFTo

142*

7 Flutter 0x000000010a829571
__45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104*

8 Flutter 0x000000010a2b86df

_ZNK7flutter21PlatformMessageRouter21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

193*

9 Flutter 0x000000010a2bddf9

_ZN7flutter15PlatformViewIOS21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE

35*

10 Flutter 0x000000010a6fe09b

_ZNSt3__110__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter5Shell29OnEngineHandlePlatformMessageENS_10unique_ptrINS5_15PlatformMessageENS_14default_deleteIS8_EEEEE4$_15EENS_9allocatorISD_EEFvvEEclEv

81*

11 Flutter 0x000000010a5fdef0
_ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 164*

12 Flutter 0x000000010a604324
ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0 + 26*

13 CoreFoundation 0x0000000109b4678a
CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20*

14 CoreFoundation 0x0000000109b4627c
__CFRunLoopDoTimer + 924*

15 CoreFoundation 0x0000000109b4581a
__CFRunLoopDoTimers + 265*

16 CoreFoundation 0x0000000109b3fe69
__CFRunLoopRun + 2013*

17 CoreFoundation 0x0000000109b3f1a7
CFRunLoopRunSpecific + 567*

18 GraphicsServices 0x0000000111097d85
GSEventRunModal + 139*

19 UIKitCore 0x00000001170704df
-[UIApplication _run] + 912*

20 UIKitCore 0x000000011707539c
UIApplicationMain + 101*

21 Runner 0x0000000100f150eb main + 75*

22 libdyld.dylib 0x000000010fbf1bbd start + 1*

)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: '*** -[AVAssetWriterInput
markAsFinished] Cannot call method when status is 0'
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 8 Plus
(971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7) - Runtime: iOS 14.5 (18E182) -
DeviceType: iPhone 8 Plus
On Mon, 18 Apr 2022 at 16:21, Eren Demir @.***> wrote:

Merhabalar,
Geri dönüşünüz için teşekkür ederim. IOS için gerekli izinleri eklediniz
mi? Eğer eklediğinizden eminseniz projenizi XCode üzerinden build alıp
herhangi bir hata çıktısını göndermenizi rica ediyorum.
alperenbaskaya58 @.***>, 18 Nis 2022 Pzt, 16:18
tarihinde şunu yazdı:

Hi, I am trying to record screen. but it crashes when stop recording.
flutter: >>> Start Record Response Output: flutter: File: File:

'/Users/alperenbaskaya/Library/Developer/CoreSimulator/Devices/971548E6-9EDD-42FD-84E8-8DDBFFC2CAB7/data/Containers/Data/Application/126FFC94-020B-4C4A-80C1-F368F5905C5C/Documents/Eren.mp4'

flutter: Event Name: startRecordScreen flutter: Progressing: true
flutter:
Message: Started Video flutter: Success: false flutter: Video Hash:
14c316a0bf1911ec9c27f365359d878d flutter: Start Date:<PHONE_NUMBER>508
flutter: End Date: 0 flutter: Lost connection to device.
—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1, or
unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ARQAUULSXKYDX3Q36EQOWYTVFVOKFANCNFSM5TV3BXPQ

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/endmr11/ed_screen_recorder/issues/1#issuecomment-1101404425
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/APOZE2QTON53Z5UN5TI737TVFVOVNANCNFSM5TV3BXPQ

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/endmr11/ed_screen_recorder/issues/1#issuecomment-1101408926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARQAUUOU3QJJGZFT35GYCBTVFVPNXANCNFSM5TV3BXPQ
.
You are receiving this because you commented.Message ID:
@.***>

teşekküler


New window still immediately closes under some circumstances

What is your Scenario?
This is a follow on to #6680.
On Version 1.18.0 a new window still is immediately closed, if it is opened in the first test a test run.
On Chrome, if it is opened in a later test, the error does sometimes not occur. This workaround does not seem work with Firefox.
I just tried to reproduce this with a fresh installation of testcafe and then it does not work at all.
What is the Current behavior?
If a single test is executed and that test opens a new window, the window is closed before it can be inspected. If there is any test before that test, the window stays open.
What is the Expected behavior?
Windows stay open until closed
What is your public website URL? (or attach your complete example)
https://rto11.csb.app/
What is your TestCafe test code?
import {ClientFunction, t} from "testcafe";
fixturefail.page('https://rto11.csb.app/');
//uncomment to fix
// test('do nothing', async() => {});
test('new window', async () => {
await t
.click('a')
.expect(ClientFunction(() => document.location.href)())
.eql('https://www.google.com/')
.closeWindow();
})
Your complete configuration file
no configuration
Your complete test report
fail
✖ new window

AssertionError: expected 'https://rto11.csb.app/' to deeply equal 'https://www.google.com/'

expected - actual

-https://rto11.csb.app/
+https://www.google.com/
Browser: Chrome 95.0.4638.69 / Linux 0.0
18 |
19 |test('new window', async () => {
20 |    await t
21 |        .click('a')
22 |        .expect(ClientFunction(() => document.location.href)())

23 |        .eql('https://www.google.com/')
24 |        .closeWindow();
25 |})
26 |
27 |

at  (/home/tgnandt/projects/tmp/dummy.js:23:10)
at asyncGeneratorStep (/home/tgnandt/projects/tmp/dummy.js:1:218)
at _next (/home/tgnandt/projects/tmp/dummy.js:1:556)
at  (/home/tgnandt/projects/tmp/dummy.js:1:721)
at  (/home/tgnandt/projects/tmp/dummy.js:1:462)

1/1 failed (9s)
Screenshots
No response
Steps to Reproduce
Run code above to see the error, uncomment the empty test to see it (sometimes) working
TestCafe version
1.18.0
Node.js version
v14.18.2
Command-line arguments
testcafe chromium
Browser name(s) and version(s)
Chromium 95, Firefox 95
Platform(s) and version(s)
Linux Mint 19.3
Other
No response

I checked your scenario on Windows 10 and Ubuntu with the latest Chrome version and everything works as expected. Please make sure you are using the latest TestCafe version. You can check your actual version using the testcafe -v command. If the issue persists please modify your scenario to make it reproducible.

So reproducing this is really strange. I tried it on my local machine with several browsers and it sometimes works but mostly doesn't.
So Itried this with a fresh Ubuntu 20.04 LTS-vm and the test failed:
t@t-VirtualBox:~/test$ cat test.js
import {ClientFunction, t} from "testcafe";

fixture`fail`.page('https://rto11.csb.app/');

test('new window', async () => {
  await t.click('a')
    .expect(ClientFunction(() => document.location.href)())
    .eql('https://www.google.com')
    .closeWindow();
});
t@t-VirtualBox:~/test$ node -v
v10.19.0
t@t-VirtualBox:~/test$ npx testcafe -v
npx: installed 461 in 27.914s
1.18.0
t@t-VirtualBox:~/test$ npx testcafe firefox:headless test.js
npx: installed 461 in 23.124s
 Running tests in:
 - Firefox 95.0 / Linux 0.0

 fail
 ✖ new window

   1) AssertionError: expected 'https://rto11.csb.app/' to deeply equal 'https://www.google.com'

      + expected - actual

      -https://rto11.csb.app/
      +https://www.google.com

      Browser: Firefox 95.0 / Linux 0.0

          3 |fixture`fail`.page('https://rto11.csb.app/');
          4 |
          5 |test('new window', async () => {
          6 |  await t.click('a')
          7 |    .expect(ClientFunction(() => document.location.href)())
       >  8 |    .eql('https://www.google.com')
          9 |    .closeWindow();
         10 |});
         11 |

         at <anonymous> (/home/t/test/test.js:8:6)
         at asyncGeneratorStep (/home/t/test/test.js:1:218)
         at _next (/home/t/test/test.js:1:556)
         at <anonymous> (/home/t/test/test.js:1:721)
         at <anonymous> (/home/t/test/test.js:1:462)

 1/1 failed (20s)

I also updated to node 14.18.2 and it did not work either.

I still can't reproduce the issue. Please try to run your project on other machines. I think that the issue may be caused by some kind of conflict of testcafe versions.


Support construction of new BQMs from scipy sparse matrices

SciPy has an existing set of sparse matrix formats, we could support construction of the BQMs added in #533 from these formats.
Notes:

We probably do not want to make scipy a dependency of dimod

Also the reverse bqm.to_sparse() or similar.


Discuss playlist and player pool management components

As a developer I might be interested in having a simple way to manage a playlist in sync with the player. This is a component that Pillarbox itself could provide.
Similarly we could provide a component to manage a player pool.
Acceptance criteria

The two above ideas have been discussed within the team.

Tasks

[ ] Discuss playlist management component.
[ ] Discuss player pool management component.

On iOS this would probably simply mean making the view models we have for playlist management and stories public and generic (so that they can work with any kind of business objects).


SatelliteResourceLanguages clarifications for listing multiple languages

I'd like to request two clarifications to the documentation of the SatelliteResourceLanguages property:

Change the example to show how to list more than one language, specifically that semicolons must be used as separators.
https://github.com/dotnet/docs/blob/ff7e3568e4bfb7283be4bbdb65c2b0024e8169bb/docs/core/project-sdk/msbuild-props.md?plain=1#L386-L390
Extend the note to explicitly recommend against using the MSBuild command-line option -property:name=value to set this property, because it is not possible to list more than one language that way.
https://github.com/dotnet/docs/blob/ff7e3568e4bfb7283be4bbdb65c2b0024e8169bb/docs/core/project-sdk/msbuild-props.md?plain=1#L392-L393

Context
I tried to set SatelliteResourceLanguages on the dotnet publish command line, using .NET SDK 6.0.302 on Windows:
PS> dotnet publish -o "$(Get-Location)/bin/net6.0" --no-self-contained --configuration Release --framework net6.0 -p:SatelliteResourceLanguages="en;de"
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1006: Property is not valid.
Switch: de

For switch syntax, type "MSBuild -help"

It didn't work, because the -p option parsed the semicolon as terminating the property value and starting another property name, regardless of the quotation marks.
Next, I tried encoding the semicolon as %3B, as listed in MSBuild special characters:
PS> dotnet publish -o "$(Get-Location)/bin/net6.0" --no-self-contained --configuration Release --framework net6.0 -p:SatelliteResourceLanguages="en%3Ade"
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored C:\MyApp\src\MyApp\MyApp.csproj (in 542 ms).
  MyApp -> C:\MyApp\src\MyApp\bin\Release\net6.0\MyApp.dll
  MyApp -> C:\MyApp\bin\net6.0\

That appeared to succeed, but .NET SDK did not copy the "de" satellite assembly to C:\MyApp\bin\net6.0\de\System.CommandLine.resources.dll. I think the reason is that the SatelliteResourceLanguages parameter of the ResolvePackageAssets task is defined as ITaskItem[] rather than string, so when the ResolvePackageAssets target passes $(SatelliteResourceLanguages) to that parameter, MSBuild has to split the string value to items, but if the semicolon was encoded, then MSBuild doesn't treat it as a list separator.
Finally, I set the property in Directory.Build.props, to make it apply to all projects in the solution
<Project>
  <PropertyGroup>
    <SatelliteResourceLanguages>en;de</SatelliteResourceLanguages>
  </PropertyGroup>
</Project>

and ran dotnet publish without the -property:SatelliteResourceLanguages=value option, and that worked fine.

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

ID: cb4428fc-215c-78e1-5ff0-fe73f7a08260
Version Independent ID: 6741b1de-38a4-fbb1-d79d-acc47d549a2d
Content: MSBuild properties for Microsoft.NET.Sdk - .NET
Content Source: docs/core/project-sdk/msbuild-props.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

Thanks @KalleOlaviNiemitalo. I'm not going to add the note about no. 2) since it was confirmed yesterday that this is a bug.

Reopening to document the triple quote syntax that's required to specify multiple languages on the command line.


Can't play music & some ".so not found" errors

Hello.
I 'm trying to play audiofile using openslmediaplayer and The minimal example code snippet: https://openslmediaplayer.h6ah4i.com/
But it can't play any file and gives me the next errors:
04-10 22:27:59.420 22464-22464/com.android.player E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
04-10 22:27:59.420 22464-22464/com.android.player E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
04-10 22:27:59.420 22464-22464/com.android.player E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
04-10 22:27:59.420 22464-22464/com.android.player E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
04-10 22:28:00.244 22464-22491/com.android.player E/HAL: Dawei load: module=/system/lib64/hw/gralloc.msm8953.so

04-10 22:21:47.538 19424-20091/com.android.player E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
04-10 22:21:47.553 19424-20091/com.android.player E/MM_OSAL: ValidateAACFile data not sufficient (ID3)
04-10 22:21:47.563 19424-20091/com.android.player E/MM_OSAL: FileSource::FileSource
04-10 22:21:47.563 19424-20091/com.android.player E/MM_OSAL: FileSource::FileSource m_bEveryThingOK 1
04-10 22:21:47.563 19424-20091/com.android.player E/MM_OSAL: MM_File_Create failed .Efs Error No -1 , File Name /data/mmosal_logmask.cfg , Mode 0
04-10 22:21:47.563 19424-20091/com.android.player E/MM_OSAL: Open or read fail on /data/mmosal_logmask.cfg. Possible permission denied issue. Looking for /data/misc/media/mmosal_logmask.cfg
04-10 22:21:47.563 19424-20091/com.android.player E/MM_OSAL: MM_File_Create failed .Efs Error No -1 , File Name /data/misc/media/mmosal_logmask.cfg , Mode 0
04-10 22:21:47.682 19424-20091/com.android.player E/MMParserExtractor:  get metadata failed for meta type 19, size 0

My phone: Xiaomi Redmi 4 Prime 6.0.1

onError is being called:

MediaPlayer: onError  -2147483648 0

 @Override
    public boolean onError(IBasicMediaPlayer mp, int what, int extra) {
        Log.i(TAG, "MediaPlayer: onError " + " " + what + " " + extra);
        return false;
    }

I changed 'mMediaPlayer.prepareAsync()' to mMediaPlayer.prepare(); and it seems working ok now


ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory'

When using 1.4.0 I get the error above, <1.4.0 works great.  complaint is ./spec/index.js, I assume files is the culprit, not preprocessors:
files: [
    './spec/index.js'
],

or
preprocessors: {
    './spec/index.js': ['webpack']
},

Coincidentally, I see the new webpack-karma reporter is spec, however I can't imagine that causing a clash.

Have you added frameworks: ['webpack']?

I have the same problem.

+1.
As per @sokra's question, yes we have webpack in the frameworks array.
Looking at the debug output:
ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' ./tests/run.js in /Users/andrew/Projects/99designs/projects
Something (webpack preloader?) is assuming the files are relative to the path, when they are not. eg: in the above scenario, the file it cannot resolve is at /Users/andrew/Projects/99designs/projects/assets/tests/run.js, but as of karma-webpack 1.4 the resolution is not working, despite webpack.resolve.root being set to /Users/andrew/Projects/99designs/projects/assets.
Here is all karma and webpack config for the codebase I'm currently looking at -- https://gist.github.com/andrewk/b175483507d1c2307b25

Having the same issue even with webpack in frameworks, seems to be related to resolve root too.

I don't think this is wrong. karma resolves the files array and doesn't know about resolve.root. It's not expected that entries in the files array resolve in moduleDirectories or in resolve.root. files is handled by karma.

It's working again 1.5.0
I think if this behaviour is / would have been intentional it should be a new major version since it's a BC break.

I think Webpack's error are really unfriendly... I tried for half an hour but failed to found out what's wrong when it gives this error.

I'm also seeing this error on 1.5.1, and I'm unable to make heads or tails of it. For reference, my code is here - you'll need to run npm install and then gulp test.
My directory structure looks like this:
src
├── components
│   ├── content.jsx
│   ├── createItem.jsx
│   ├── createList.jsx
│   ├── deleteList.jsx
│   ├── header.jsx
│   ├── item.jsx
│   ├── list.jsx
│   ├── login.jsx
│   ├── mainMenu.jsx
│   └── notFound.jsx
├── config.js
├── index.jsx
├── mixins
│   └── forceFireLoginMixin.jsx
└── styles
    └── elisse.styl

test
├── karma.conf.js
├── specs
│   ├── headerSpec.js
│   └── testSpec.js
└── tests.webpack.js

My karma.conf.js looks like this:
'use strict';

module.exports = function (config) {
  config.set({
    browsers: ['PhantomJS'],
    frameworks: ['jasmine'],
    singleRun: true,
    files: [
      '../src/**/*.{js,jsx}',
      'specs/**/*.js'
    ],
    preprocessors: {
      '../src/**/*.{js,jsx}': ['webpack', 'sourcemap'],
      'specs/**/*.js': ['webpack', 'sourcemap']
    },
    reporters: ['spec'],
    webpack: {
      devtool: 'inline-source-map', // in-line source maps instead of the default
      module: {
        loaders: [
          {
            test: /\.(js|jsx)$/,
            exclude: /(node_modules|bower_components)/,
            loader: 'babel-loader'
          }
        ]
      },
      resolve: {
        // tell webpack to look for required files in bower and node
        modulesDirectories: [
          'bower_components',
          'node_modules'
        ],
      }
    },
    webpackServer: {
      noInfo: false
    },
    colors: true,
  });
};

When I run karma, I get the following:
Hash: 8344a6c0a9b3c44a5636
Version: webpack 1.9.10
Time: 7ms
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
 Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./bower_components/react/react-with-addons.js 4:436-443

ERROR in ./src/components/content.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/content.jsx 7:33-73

ERROR in ./src/components/createItem.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/createItem.jsx 7:33-73

ERROR in ./src/components/createList.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/createList.jsx 7:33-73

ERROR in ./src/components/deleteList.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/deleteList.jsx 7:33-73

ERROR in ./src/components/item.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/item.jsx 7:33-73

ERROR in ./src/components/list.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/list.jsx 7:33-73

ERROR in ./src/components/mainMenu.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../mixins/forceFireLoginMixin in /Users/quidmonkey/Development/research/elisse/src/components
 @ ./src/components/mainMenu.jsx 7:33-73

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/header' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 3:24-52

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/content' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 5:25-54

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/mainMenu' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 7:26-56

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/login' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 9:23-50

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/createList' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 11:28-60

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/list' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 13:22-48

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/deleteList' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 15:28-60

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/createItem' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 17:28-60

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/item' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 19:22-48

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'components/notFound' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 21:26-56

ERROR in ./src/index.jsx
Module not found: Error: Cannot resolve module 'mixins/forceFireLoginMixin' in /Users/quidmonkey/Development/research/elisse/src
 @ ./src/index.jsx 23:33-70

ERROR in ./src/components/login.jsx
Module not found: Error: a dependency to an entry point is not allowed
 @ ./src/components/login.jsx 7:14-34

ERROR in ./src/mixins/forceFireLoginMixin.jsx
Module not found: Error: a dependency to an entry point is not allowed
 @ ./src/mixins/forceFireLoginMixin.jsx 7:14-34
webpack: bundle is now VALID.

This error makes no sense. As you can see by my directory structure, the pathing is correct. Ideas?

I'm getting something similar (posted a question on stackoverflow: http://stackoverflow.com/questions/30931713/webpack-karma-cannot-resolve-local-import) , I don't understand this issue either

Getting the same issue; I can't understand what the error is supposed to mean. It's telling me that a file with a correct path cannot be found. Anyone?

HOLY S#!T the issue for me was that I had an extra comma in my package.json file. Why is THAT hidden behind the --display-error-details flag?

@evandavis Sorry. Invalid package.json is propably rar... Nobody made a nice custom error for this...

I just spent an hour or two trying to debug this completely misleading error message :-(

Why is this even reading package.json? What happens if you don't use npm to manage your dependencies?

Why is this even reading package.json?

because there could be a browser field which defines overwrites.

What happens if you don't use npm to manage your dependencies?

It's fine when it doesn't find a file.

@Keats post on Stackoverflow has a good solution.
set the extensions property on Webpack resolve configuration like this:
webpackConfig.resolve.extensions = ['', '.js', '.coffee'] //ts, or anything else
That solved it for me.

@moreirayokoyama Thanks! ...was using a striped down Webpack configuration to run tests and forgot about the resolve property.

@sebald get your game together :stuck_out_tongue:

@Dignifiedquire

I was getting this error because my resolve.extensions extensions were missing dots. "jsx" should be ".jsx", for example.

@sethlivingston Thank you, I had a similar long standing issue trying to get jsx, ts, and tsx extensions to be resolved correctly and the missing dot apparently was the reason.

Sadly, in webpack 1.12.11 the--allow-incompatible-update has remove, and the problem is still existing. And I write as follow, it worked:
module.exports = {
    entry: [entryFile.js],
    output: {
        filename: 'outputFile.js'
    }
}

But, it throw another error....

@eryue0220 What is the error you're receiving?
entry is expecting a string (or array of strings). Assuming entryFile.js is in the same directory as your webpack.config.js, it should read:
module.exports = {
    entry: ['./entryFile.js'],
    output: {
        filename: 'outputFile.js'
    }
}

resolve by this : http://webpack.github.io/docs/configuration.html#resolve-extensions

Restart Terminal(Mac) or whatever shell in your environment.

Add FIXFIX in package.json like this:
"scripts": {  "FIXFIX": "webpack --progress --profile --colors --display-error-details --display-cached", },

Run this: (Yes, with sudo!)
sudo node run FIXFIX

Now run with your normal build see if it fixed.

Just spent an hour sourcing this problem - was also getting Error: Entry module not found: Error: Cannot resolve 'file' or 'directory' even though problem was an extra comma in package.json. Can we get better error handling? Wouldn't be surprised if this issue was more widespread than expected here...

i recently encountered this. The index.html was in another directory. So I just need to resolve the path and it worked.

i recently encountered this

Yeah for me "--display-error-details" was a big help and then it turned out that some directory of mine was capitalized whereas my import scripts sources were not.
Also git was not seeing those changes locally so I ended up having to run this from my terminal to be able to commit the directory changes git config core.ignorecase false

My problem was not changing the resolve.extensions option to include .jsx files.
I've added it to the end of my webpack.config.js file and it worked:
    // other configs...
    resolve: {
        extensions: [ '', '.js', '.jsx' ]
    }
};

Im getting this error duno how to fix it
Project is running at http://localhost:8080/webpack-dev-server/
webpack output is served from /
Content not from webpack is served from /dist
Hash: aa5408e3af90682285e7
Version: webpack 2.2.1
Time: 49ms

ERROR in Entry module not found: Error: Can't resolve '/src/main.js' in '/Users/admin/Git/react-flux-architect
ure-es6'
webpack: Failed to compile.

webpack.conf
module.exports = {
    devtool: 'source-map',
    entry: "/src/main.js",
    output: {
        path: '/dist',
        filename: "/bundle.js",
        publicPath: '/'
    },
    devServer: {
        inline: true,
        contentBase: "/dist",
    },
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                exclude:/(node_modules|bower_components)/,
                loader: 'babel',
                query: {
                    presets: ['es2015', 'react']
                }
            }
        ]
    }
};

package.json
{
  "name": "react-flux-architecture-es6",
  "version": "1.0.0",
  "description": "egghead",
  "main": "index.js",
  "scripts": {
    "start": "webpack-dev-server --no-inline"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cichy/react-flux-architecture-es6.git"
  },
  "keywords": [
    "React",
    "flux"
  ],
  "author": "Jarosław Cichoń",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/cichy/react-flux-architecture-es6/issues"
  },
  "homepage": "https://xxx.com",
  "dependencies": {
    "flux": "^3.1.2",
    "react": "^15.4.2",
    "react-dom": "^15.4.2",
    "react-router": "^3.0.2"
  },

  "devDependencies": {
    "babel-core": "^6.22.1",
    "babel-loader": "^6.2.10",
    "babel-preset-es2015": "^6.22.0",
    "babel-preset-react": "^6.22.0",
    "webpack": "^2.2.1",
    "webpack-dev-server": "^2.3.0"
  }
}

i fixed this problem by setting the working directory to the your_project\src\server instead of your_project\src\server\bin

I was getting this error because my resolve.extensions extensions were missing dots. "jsx" should be ".jsx", for example.

thanks,i ignore the symbol ',' ...


Update automated-patching.md

@bluefooted for review

@tarynpratt - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Issue with Battery level when more 100%

When using the plugin and the external batteries are used to power the tags, they can report a battery level as high as 115% - this causes the plugin to error. I assume it because the code devides the level return by 100 assume the result to be less than 1! Can this be fixed - perhaps if return value is more than 100% just report 100%


RBAC Permission Required to Link B2C to Azure Subscription.

I would like to clarify following paragraph.
You can link multiple Azure AD B2C tenants to a single Azure subscription for billing purposes. To link a tenant, you must be an admin in the Azure AD B2C tenant and be assigned at least a Contributor role within the Azure subscription.
Do you have more specific permission under a resource provider to accommodate link? contributor role is privileged role, which allow to work on any resources, we would prefer least privilege if possible.
Thanks!
[Enter feedback here]

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

ID: 588fc4d6-0c4d-297d-cfe1-8562728fdc4d
Version Independent ID: cf117c91-90fa-036b-9763-a3c16b398a33
Content: Tutorial - Create an Azure Active Directory B2C tenant
Content Source: articles/active-directory-b2c/tutorial-create-tenant.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@RonnieQuan
Thanks for your feedback! We will investigate and update as appropriate.

Hi @RonnieQuan , These is a list of all our billing roles: https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-mca-roles
For your ask I think the best thing you can do is make a custom role: https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles
This way you can customize what the user has permissions to while letting them deal have access to billing. Please let me know if you have any questions!

Thanks for the information.
The role listed in  https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-mca-roles, seems they are not RBAC roles. Since none of those roles show in https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles.
If it's not RBAC role, I'm not sure how is it related to custom role.
My question is about
"You can link multiple Azure AD B2C tenants to a single Azure subscription for billing purposes. To link a tenant, you must be an admin in the Azure AD B2C tenant and be assigned at least a Contributor role within the Azure subscription."
Are you saying if a user has permission listed in https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-mca-role, then is allowed to link B2C tenant to the subscription?
Thanks!


Error in make test from cmd/kasten/k10app.go

make test ends with error 2 from a Go error msg relating to a fmt.Println usage.
Expected Behaviour
No error msg. Running make test succeeds.
Current Behaviour
Running make test with the current head of the master branch (9e4835fc254) results ends with error 2:
❯ make test
CGO_ENABLED=0 go test github.com/alexellis/arkade github.com/alexellis/arkade/cmd github.com/alexellis/arkade/cmd/apps github.com/alexellis/arkade/cmd/kasten github.com/alexellis/arkade/cmd/system github.com/alexellis/arkade/cmd/venafi github.com/alexellis/arkade/pkg github.com/alexellis/arkade/pkg/apps github.com/alexellis/arkade/pkg/archive github.com/alexellis/arkade/pkg/config github.com/alexellis/arkade/pkg/env github.com/alexellis/arkade/pkg/get github.com/alexellis/arkade/pkg/helm github.com/alexellis/arkade/pkg/k8s github.com/alexellis/arkade/pkg/types -cover
# github.com/alexellis/arkade/cmd/kasten
cmd/kasten/k10app.go:116:3: fmt.Println arg list ends with redundant newline
?   	github.com/alexellis/arkade	[no test files]
ok  	github.com/alexellis/arkade/cmd	(cached)	coverage: 17.4% of statements
ok  	github.com/alexellis/arkade/cmd/apps	(cached)	coverage: 1.9% of statements
ok  	github.com/alexellis/arkade/cmd/venafi	(cached)	coverage: 3.2% of statements
ok  	github.com/alexellis/arkade/pkg/config	(cached)	coverage: 18.2% of statements
ok  	github.com/alexellis/arkade/pkg/get	(cached)	coverage: 49.2% of statements
ok  	github.com/alexellis/arkade/pkg/helm	(cached)	coverage: 6.2% of statements
make: *** [test] Error 2

Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[X] No

Possible Solution
Replace fmt.Println with fmt.Printf in line 116 of cmd/kasten/k10app.go:
❯ git diff
diff --git a/cmd/kasten/k10app.go b/cmd/kasten/k10app.go
index f7276e6..0106b4c 100644
--- a/cmd/kasten/k10app.go
+++ b/cmd/kasten/k10app.go
@@ -113,7 +113,7 @@ https://docs.kasten.io/latest/install/advanced.html#complete-list-of-k10-helm-op
                        return err
                }

-               fmt.Println(k10InstallCmd)
+               fmt.Printf(k10InstallCmd)

                return nil
        }

This results in a clean make test run:
❯ make test
CGO_ENABLED=0 go test github.com/alexellis/arkade github.com/alexellis/arkade/cmd github.com/alexellis/arkade/cmd/apps github.com/alexellis/arkade/cmd/kasten github.com/alexellis/arkade/cmd/system github.com/alexellis/arkade/cmd/venafi github.com/alexellis/arkade/pkg github.com/alexellis/arkade/pkg/apps github.com/alexellis/arkade/pkg/archive github.com/alexellis/arkade/pkg/config github.com/alexellis/arkade/pkg/env github.com/alexellis/arkade/pkg/get github.com/alexellis/arkade/pkg/helm github.com/alexellis/arkade/pkg/k8s github.com/alexellis/arkade/pkg/types -cover
?   	github.com/alexellis/arkade	[no test files]
ok  	github.com/alexellis/arkade/cmd	(cached)	coverage: 17.4% of statements
ok  	github.com/alexellis/arkade/cmd/apps	(cached)	coverage: 1.9% of statements
?   	github.com/alexellis/arkade/cmd/kasten	[no test files]
?   	github.com/alexellis/arkade/cmd/system	[no test files]
ok  	github.com/alexellis/arkade/cmd/venafi	(cached)	coverage: 3.2% of statements
?   	github.com/alexellis/arkade/pkg	[no test files]
?   	github.com/alexellis/arkade/pkg/apps	[no test files]
?   	github.com/alexellis/arkade/pkg/archive	[no test files]
ok  	github.com/alexellis/arkade/pkg/config	(cached)	coverage: 18.2% of statements
?   	github.com/alexellis/arkade/pkg/env	[no test files]
ok  	github.com/alexellis/arkade/pkg/get	(cached)	coverage: 49.2% of statements
ok  	github.com/alexellis/arkade/pkg/helm	(cached)	coverage: 6.2% of statements
?   	github.com/alexellis/arkade/pkg/k8s	[no test files]
?   	github.com/alexellis/arkade/pkg/types	[no test files]

Steps to Reproduce (for bugs)
See ☝ Current Behaviour
Context
Discovered this when working on #702, #703 and #704.

Operating System and version (e.g. Linux, Windows, MacOS):

macOS Monterey 12.4
Darwin 21.5.0

Golang version

❯ go version
go version go1.18.1 darwin/amd64

What arkade version is this?

git log | head -3
commit 9e4835fc254e4ec96a1ba8c38cc3d35fe45a97d9
Author: dependabot[bot]<EMAIL_ADDRESS>Date:   Wed Jun 22 02:09:58 2022 +0000

Yeah, I have the same experience, I think the problem is the go version 1.18, I tried to build with 1.17 and 1.16 and those versions works just fine.
Should we upgrade the go version @alexellis?

This isn't an error, it's a warning and a false detection.
I changed to Printf to stop Go complaining.

I've updated the CI to use Go 1.18 and modules to 1.17, in case someone is referencing it directly from 1.17 and cannot upgrade immediately.


Encountering exceptions when bboxes is NoneType

For reference I think this textbox is an example where bboxes can result in NoneType

1. TypeError: object of type 'NoneType' has no len()

https://github.com/ogkalu2/comic-translate/blob/c5468ba9f0760389a9bec7103c1d3e25b95484bf/comic.py#L706
https://github.com/ogkalu2/comic-translate/blob/c5468ba9f0760389a9bec7103c1d3e25b95484bf/comic.py#L719
I think these two lines need to be changed to if bboxes is not None and len(bboxes) > 0:
2. TypeError: 'NoneType' is not iterable

https://github.com/ogkalu2/comic-translate/blob/c5468ba9f0760389a9bec7103c1d3e25b95484bf/modules/utils/pipeline_utils.py#L95
I think None check for bboxes needs to be added in generate_mask

fixed now


GridContainer Flatlist Implementation

Using a ListView, thumbnails start to drop out once more than 50+ items are in the gallery. This is the first attempt at transitioning to FlatList - a more performant list view.
Need your feedback on it.

Awesome @iRoachie!
It seems we had an easy transition. Did you notice any problems with this?
I'll try it on my device when I have some free time.

No problems as yet. Right now I tested it on android 4.4.2 and it seems to be working okay

@iRoachie @halilb
was this ever merged in?

It wasn't