Install Fail: db.properties': No such file or directory

ISSUE TYPE

Bug Report

COMPONENT NAME

Installation

CLOUDSTACK VERSION

<IP_ADDRESS>.focal

CONFIGURATION

OS / ENVIRONMENT

Ubuntu 20.04.2
Linux 5.8.0-59-generic
SUMMARY

Installation fails for a non-root user.
CloudStack Management server fails during installation due to TWO errors:

mysql-server-8.0 (8.0.25-0ubuntu<IP_ADDRESS>) won't create an included folder /etc/mysql/conf.d which yields in a config failure during installation
CloudStack won't create a file :

Setting up cloudstack-management (<IP_ADDRESS>~focal) ...
usermod: no changes
chmod: cannot access '/etc/cloudstack/management/db.properties': No such file or directory
dpkg: error processing package cloudstack-management (--configure):
 installed cloudstack-management package post-installation script subprocess returned error exit status 1
Setting up mysql-server (8.0.25-0ubuntu<IP_ADDRESS>) ...
Errors were encountered while processing:
 cloudstack-management

STEPS TO REPRODUCE

apt-get install cloudstack-management cloudstack-usage

EXPECTED RESULTS

Installation succeeds

ACTUAL RESULTS

Installation failed and requires a manual intervention

@tampler why do you install as a non-root user? I think that is your issue.

Hello. Yes, I'm installing as a sudo user, but NOT a root. The reason is that I can't reset a root password and can't temporarily access the hardware.
I found a possible reason. I have Python 3.8.10 shipped with Ubuntu 20.04.2
I'm getting the following errors during the config stage:
Setting up python3-mysql.connector (8.0.15-2build1) ...
/usr/lib/python3/dist-packages/mysqlx/expr.py:972: SyntaxWarning: "is" with a literal. Did you mean "=="?
  return "({0})".format(dimension[0]) if len(dimension) is 1 else \
/usr/lib/python3/dist-packages/mysqlx/statement.py:122: SyntaxWarning: "is" with a literal. Did you mean "=="?
  return (default_schema if len(temp) is 1 else temp[0].strip(quote),
...
Setting up python3-netaddr (0.7.19-3) ...
/usr/lib/python3/dist-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if word_sep is not '':

and all this yields in the following
chmod: cannot access '/etc/cloudstack/management/db.properties': No such file or directory
dpkg: error processing package cloudstack-management (--configure):
 installed cloudstack-management package post-installation script subprocess returned error exit status 1

Hello @DaanHoogland . Yes, I'm installing as a sudo user, but NOT a root. The reason is that I can't reset a root password and can't temporarily access the hardware.
I found a possible reason. I have Python 3.8.10 shipped with Ubuntu 20.04.2
I'm getting the following errors during the config stage:
Setting up python3-mysql.connector (8.0.15-2build1) ...
/usr/lib/python3/dist-packages/mysqlx/expr.py:972: SyntaxWarning: "is" with a literal. Did you mean "=="?
  return "({0})".format(dimension[0]) if len(dimension) is 1 else \
/usr/lib/python3/dist-packages/mysqlx/statement.py:122: SyntaxWarning: "is" with a literal. Did you mean "=="?
  return (default_schema if len(temp) is 1 else temp[0].strip(quote),
...
Setting up python3-netaddr (0.7.19-3) ...
/usr/lib/python3/dist-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if word_sep is not '':

and all this yields in the following
chmod: cannot access '/etc/cloudstack/management/db.properties': No such file or directory
dpkg: error processing package cloudstack-management (--configure):
 installed cloudstack-management package post-installation script subprocess returned error exit status 1

@tampler I think you can ignore these warnings.
can you run "sudo -i" and then install packages ?

@ustcweizhou Thanks for your advice ! It saved my day. I was able to seamlessly install and setup CloudStack under the root account.
However, I'm still facing the issue #5051 adding a KVM host and I'd appreciate your help and advice on that topic.
Closing this issue. Thanks everyone for your help !


Nested Text component style props should have more high priority than parent.

Environment
Environment:
System:
OS: macOS High Sierra 10.13.2
CPU: x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
Memory: 28.93 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.4.0 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.3.0 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.1, 24.0.2, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.3
API Levels: 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: ^0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
From https://github.com/facebook/react-native/issues/18790
Version 0.56.0
Now, at least on Android,  Parent text component have  more high priority than nested.
I think it should reverse.
It's more intuitive.
Environment
{
  "name": "sample",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.4.1",
    "react-native": "0.56.0"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "^5",
    "jest": "23.4.2",
    "react-test-renderer": "16.4.1"
  },
  "jest": {
    "preset": "react-native"
  }
}

Finally, nested Text components are merged in parent.
Nested is treated as SpannableString on Android.

Nested Text component is exactly HTML Span. Something like Inline elements.
But Parent is a Block element.
It is not intuitive.


Add a resource for firewalld

We have a pretty clear path to legacy firewall management with the iptables resources, but newer systems use the firewalld project so we need to make sure we create a resource for firewall management on these newer systems.

CentOS 7 and newer
Fedora 18 and newer
OpenSUSE Leap 15 and newer
Red Hat Enterprise Linux 7 and newer
SUSE Linux Enterprise 15 and newer

https://github.com/sjsadowski/firewalld-cookbook

FWIW I think https://github.com/sous-chefs/firewall also has some code for firewalld.

The abstraction of the firewall cookbook isn't something we want to move into Chef though. Firewalls are different and we should just embrace that. In the past when we've tried magical abstraction it's ended in sadness for everyone.

@tas50 yeah, I wouldn't recommend you do that either, but I wasn't sure if there was any code in there that might be useful for this too specifically on firewalld. I'm not suggesting you import that whole cookbook :)

I'll take a look to see if there's anything we can lift :)


Class Parameter Hints do not show up when inheriting from NamedTuple

Class parameter hints should show above docstring on intellisense when using typing.NamedTuple
Environment data

VS Code version: 1.45.0
Extension version 2020.4.76186
OS and version: Ubuntu 18.04.4 LTS
Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977): Jedi Enabled
Value of the python.languageServer setting: Microsof

Example
from typing import NamedTuple

class Config_Shape(NamedTuple):
    x: int
    y: int

Intellisense now shows the parameters for NamedTuple rather than Config_Shape. I.e.
 typename: str, fields: Iter..

👍  this is a big nuisance

btw, it seems like pylance fixes this

Yep (along with many other things 🙂).
https://devblogs.microsoft.com/python/announcing-pylance-fast-feature-rich-language-support-for-python-in-visual-studio-code/

I'm also having this issue.
I don't think it's just a lack of a feature though? Because it was initially brought up in #15, then I believe added in #339? Or am I misunderstanding that?


Open side nav for an asset click present on the asset list in asset landing widget

child of #635

This function has been replaced by functionality described at  https://drive.google.com/open?id=1pNhi2Hq3LM0dsPvIqRm_fCfK3Ym1mSzmDkw6rEl5COM&usp=gmail

This task has been merged with #671. Closing the issue.


[Runtime] Use preferred host memory (pinned memory) in KV cache

This PR updates the PagedKVCache with the pinned memory support, which can reduce the copy overhead between CPU and GPU.
This PR also bumps FlashInfer version, which now supports

specifying kernels to build via cmake,
pinned memory as host memory.

We also update CMakeLists.txt and config.cmake to include the FlashInfer compile options. Prior to this PR, the kernels being built is hardcoded in FlashInfer header files.

@tvm-bot rerun


Import HOWTO07

Import HOWTO07: https://wiki.egi.eu/wiki/HOWTO07_How_to_change_the_Site-BDII.
To be reviewed/cleaned.

@paolini78  I feel like this one should go under HTC, we could start populating this section if you agree.

fine with me.


fix: typo in cf "Language: English Only"

The custom format's name for "Language: English Only" contained a space in the beginning which lead to a wrong sorting (position in the UI).

Oops, my bad! Good catch, thanks


No such file or directory: textflag.h ///////////////////make: *** [govendor] Error 2

Hello community, I have a problem while installing the system, I hope you can help me to resolve this issue
When i'm on the directory of the system and type #make install shows me this
go get github.com/kardianos/govendor
golang.org/x/sys/unix
src/golang.org/x/sys/unix/asm_linux_amd64.s:8 6a: No such file or directory: textflag.h
Makefile:106: recipe for target 'govendor' failed
make: *** [govendor] Error 2

I tried to run the next command (go get -u github.com/kardianos/govendor) but keep showing me the same error

textflag.h is part of your golang installation (in GOROOT)
You should reinstall your golang binaries : https://golang.org/doc/install

As @nplanel explained it is a Go environnent issue, closing it as not related to Skydive


2022 2.0

diff 2022-2.0-py37-env.yml ~/dama/conda-pack-template/envs/nsls2-collection-2022-1.0-py37-env.yml
1c1
< name: 2022-2.0-py37
---
> name: nsls2-collection-2022-1.0-py37
18c18
<   - bluesky-kafka >=0.9.0  # [not win]
---
>   - bluesky-kafka >=0.8.0  # [not win]
21d20
<   - bluesky-queueserver-api
29c28
<   - databroker >=1.2.5,<2
---
>   - databroker >=1.2.0
76c75
<   - nslsii >=0.4.0
---
>   - nslsii >=0.3.2
83c82
<   - ophyd >=1.6.4
---
>   - ophyd >=1.6.3
113c112
<   - silx >=0.15.2
---
>   - silx >=0.15.2,<1

diff 2022-2.0-py39-env.yml ~/dama/conda-pack-template/envs/nsls2-collection-2022-1.0-py39-env.yml
1c1
< name: 2022-2.0-py39
---
> name: nsls2-collection-2022-1.0-py39
18c18
<   - bluesky-kafka >=0.9.0  # [not win]
---
>   - bluesky-kafka >=0.8.0  # [not win]
21d20
<   - bluesky-queueserver-api
29c28
<   - databroker >=1.2.5,<2
---
>   - databroker >=1.2.0
76c75
<   - nslsii >=0.4.0
---
>   - nslsii >=0.3.2
83c82
<   - ophyd >=1.6.4
---
>   - ophyd >=1.6.3
113c112
<   - silx >=0.15.2
---
>   - silx >=0.15.2,<1

diff 2022-2.0-py39-env.yml ~/dama/conda-pack-template/envs/nsls2-collection-2022-1.0-py39-env.yml
1c1
< name: 2022-2.0-py39
---
> name: nsls2-collection-2022-1.0-py39
18c18
<   - bluesky-kafka >=0.9.0  # [not win]
---
>   - bluesky-kafka >=0.8.0  # [not win]
21d20
<   - bluesky-queueserver-api
29c28
<   - databroker >=1.2.5,<2
---
>   - databroker >=1.2.0
76c75
<   - nslsii >=0.4.0
---
>   - nslsii >=0.3.2
83c82
<   - ophyd >=1.6.4
---
>   - ophyd >=1.6.3
113c112
<   - silx >=0.15.2
---
>   - silx >=0.15.2,<1

2022-2.0-py37-env.yml 2022-2.0-py39-env.yml
1c1
< name: 2022-2.0-py37
---
> name: 2022-2.0-py39
10c10
<   - python >=3.7,<3.8
---
>   - python >=3.9,<3.10

Published as https://zenodo.org/record/6462525.


surgeons's tree map of majors not loading

http://beta.datausa.io/profile/soc/291060/education/majors/

The issue here is that these majors are for the highest degree obtained, so nothing shows up for Bachelor's degrees (only Doctorate and Professional).
We should be filtering the dropdown list by only the degrees available, and setting the default for the stats to the most common degree type. @jspeis and I will make this all possible after some restructuring we're planning for next week.


Offsets not available on leader

Hi,
when it consume data with HoodieDeltaStreamer,  if topic offsets not avaliable, the process will throw a exception
Offsets not available on leader: OffsetRange(topic: 'topicname', partition: 0, range: [1081027 -> 1581027])

It looks in KafkaOffsetGen.getNextOffsetRanges() method, if lastCheckpointStr.isPresent() is true, then get fromOffsets from lastCheckpointStr and not check whether fromOffsets is available.
Is that a bug of HoodieDeltaStreamer?

I think this indicates that Kafka has already deleted these offsets due to retention configs..
Can you paste the full stack trace? I am not sure if this is a bug in the tool atm . But love to understand and make this better if possible
Also, please post on the mailing list for faster responses.
https://hudi.apache.org/community.html

hi, @vinothchandar  I made a test again.  Firstly, stop HoodieDeltaStreamer program, and produce data into topic, then stop produce, delete all data of topic, continue to generate data into topic (that makes HoodieDeltaStreamer next consume offset invalid ) . Restart HoodieDeltaStreamer to consume data , it will consume data from next consume offset, which is not avaliable. It will throw a exception:
Exception in thread "main" org.apache.spark.SparkException: Offsets not available on leader: OffsetRange(topic: 'll_binlog_hudi_test2', partition: 0, range: [1081027 -> 1581027])
        at org.apache.spark.streaming.kafka.KafkaUtils$.org$apache$spark$streaming$kafka$KafkaUtils$$checkOffsets(KafkaUtils.scala:200)
        at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$createRDD$1.apply(KafkaUtils.scala:253)
        at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$createRDD$1.apply(KafkaUtils.scala:249)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
        at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
        at org.apache.spark.streaming.kafka.KafkaUtils$.createRDD(KafkaUtils.scala:249)
        at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$createRDD$3.apply(KafkaUtils.scala:338)
        at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$createRDD$3.apply(KafkaUtils.scala:333)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
        at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
        at org.apache.spark.streaming.kafka.KafkaUtils$.createRDD(KafkaUtils.scala:333)
        at org.apache.spark.streaming.kafka.KafkaUtils.createRDD(KafkaUtils.scala)
        at com.uber.hoodie.utilities.sources.AvroKafkaSource.toAvroRDD(AvroKafkaSource.java:44)
        at com.uber.hoodie.utilities.sources.KafkaSource.fetchNewData(KafkaSource.java:246)
        at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.sync(HoodieDeltaStreamer.java:168)
        at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.main(HoodieDeltaStreamer.java:311)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:782)
        at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:207)
        at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:232)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:119)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

in KafkaOffsetGen.getNextOffsetRanges() method, the program does not check whether fromOffsets is available in topic . I think it should make a check before to consume.

@leilinen you are right. Raised a JIRA for this.
https://issues.apache.org/jira/browse/HUDI-105
Also like your opinion on whether we should add a mode to DeltaSteamer to ignore the checkpoint and consume from earliest offset? Are you using DeltaSteamer in production , do you think it'd be useful to recover from situations like these?
Also please join our mailing list for faster responses. Github streams are n't as discoverable :) We check it 1-2 times a week.

#650 fixes this and we already have a jira so closing..


[10.x] Add newCollection method to Fluent class

This pull request is inspired by the nice solution @stevebauman wrote in an article about how to solve a problem using of the Factory::times(2) method on a Fluent-based Model factory.
This PR resolves an issue where an error will be thrown when using the MyFactory::times(2) method with Model Factories using the Fluent::class instead of an Eloquent model.
TypeError : Illuminate\Database\Eloquent\Factories\Factory::callAfterMaking(): Argument #1 ($instances) must be of type Illuminate\Support\Collection, Illuminate\Support\Fluent given

This error occurs because the Fluent::class does not have a newCollection() method, so passes a single instance of the Fluent::class instead of a Collection to the Factory::callAfterMaking().
While the Model Factories isn't intended to be used by non-eloquent instances, it really works great for generating objects which doesn't need to be persisted to the database.
Please let me know you what you think.

Honestly not sure this method belongs here. Feels really random.


[BugFix] disable RewriteMinMaxAggToMetaScanRule when table has deletion

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RewriteMinMaxAggToMetaScanRule.java
1
2
50.00%
[111]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


Terminal path uses incorrect drive letter casing

VSCode Version: 1.4
OS Version: Microsoft Windows [Version 10.0.10586]

Steps to Reproduce:

Open Terminal (or use the Open in command prompt in explorer - has same issue)
Drive letter casing is wrong in the path.

My drive letter in windows is uppercase C, but cmd displays in this case a lowercase c.
Actual result: c:\Users\msc\Programming>
Expected result: C:\Users\msc\Programming>
This is inconvenient as I often run node tools from the terminal, and not all node tools are case insensitive.

Duplicate of https://github.com/Microsoft/vscode/issues/9448


OAuth - Raycast button “Open Raycast” doesn’t work

Hi team,
I’m following the guides at [1] and [2] to implement OAuth for Notion. Since I cannot store CLIENT_SECRET in Raycast, I also use a proxy server [3] for to keep it for me.
Problem
After Notion redirect to https://raycast.com/redirect?packageName=Extension with code, I see the web page below. The issue is clicking “Open Raycast” doesn’t do anything. Which prevent my extension to continue since promise is not fulfilled.

My OAuth flow:

In Raycast extension, send an authorize request to Notion using PKCEClient
Notion redirects to Raycast with code <— I’m having problem after this step
In Raycast extension, after the promise is fulfilled, I make a request containging code to myproxy.com/notion/access-token
Notion returns access_token to proxy
Proxy returns access_token to my Raycast extension

Any suggestions on how to do this is welcome. Thank you so much in advance!

Hi! The link to the screenshot is not accessible.
Could you also share the full redirect URL from the Raycast page? (safe to share since only you have the code challenge.)
We already have an extension using OAuth with Notion in the store, maybe that helps to double check your implementation:
https://github.com/raycast/extensions/blob/main/extensions/notion/src/utils/notion.ts

hi @fe9lix I have updated the image. Yup I also consult the code from that extension and learn about the oauth-proxy approach. It’s very helpful haha.
However, back to the topic, I followed the oauth flow (like the extension) and got stuck at the step mentioned above.

I have a suspicion that only approved extension can be open from the web browser.
When testing with the other Notion extension, immediately after Notion redirect to raycast website with this url:
https://www.raycast.com/redirect?packageName=Extension&code=<…>&state=<…>
Browser shows a popup to ask me to allow opening Raycast.
My redirect url is similar, just different code and state, but the browser never shows that popup.

hi @fe9lix , thanks for your support, I have figured out what is the issue.
My redirect url is actually:
https://www.raycast.com/redirect?packageName=Extension&?code=aaa&state=bbb
Notice the 2 question marks 🥲


Feature Request: Showing Grifdefender Claims in Bluemap

Hello, I'm missing the option to display claims like 2D claims. It looks a little bit weird with the claim going into the sky. I wish, to disable this and have the claims displayed as flat claim.

that should've been solved in https://github.com/bloodmc/GDHooks/commit/87b35c093ea9e135df026d3d1786b0f079ebaa6d

that's an issue for GreifDefender not GDHooks


Document compatibility across sklearn versions

Resolves #270
Add a section to the persistence docs that cautions about using skops to load sklearn models saved with one version while using another version. Refers to sklearn docs on that issue.

Generated documentation can be found here. Ready for review @skops-dev/maintainers

@adrinjalali I merged your suggestions.


Prepatcher leads to the game crashing when loading the main menu

I have only got Prepatcher, Core, Royalty, Ideology, and Biotech enabled.
I do have several mods downloaded through Steam (I have not added any mods in a few days), however they are disabled and I fully reinstalled the game within the last few hours (Rimworld was crashing with similar/the same logs before I reinstalled everything).
In addition launching the game from Steam itself or RimPy causes it to have the same issue.
Prepatcher was working completely fine for me until today, I subscribed to the mod around the 19th of April if that means anything.
Also I have no errors from my modlist if I load it without Prepatcher.
Player.log file (Only Prepatcher + Vanilla enabled), -verbose enabled: https://pastebin.com/vy8TCta4
If you need me to provide anything else, or if I've been an idiot, then please do let me know.
P.s. I love the mod concept and really appreciate the hard work you've put into it.

Thanks for the report. There don't seem to be any exceptions in the log. Does the game just crash to desktop? Is there some other error message? When does it crash (do you see the Prestarter mod manager)?

I'll close it for now but that's a strange problem. If you get any more information please post it here.


inject only macro; not header

Another fixup for #59

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ The recipe is not parsable by parser conda-souschef (grayskull). Your recipe may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.
ℹ The recipe is not parsable by parser conda-recipe-manager. Your recipe may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12016791461. Examine the logs at this URL for more detail.


Add HardFork Section

Checkout Points

[ ] Check if values correct
[x] Check if types and props are correct
[x] Check if any errors or warning occur in console

Suggestions

[ ] Suggest better approach
[ ] Suggest more optimized approach

I got it, thanks
I will do it asap

@Maxnflaxl
translation done!
Please review and merge locales


TS6133: 'args' is declared but never used.

Hi,
I tried to put my code in that seed, but I keep getting these although I set "no-unused-expression": false, in tslint.json (not sure this suffice or is related)
these errors are all over the place, I tried commenting and removing unused stuffs, but here in a pipe, I dont need to use args parameter
can you hint me how to sort this ? why does it stop compilation at all ?
thanks

I think there is a no-unused-var setting. But can't you just leave the args
out?
On 30 Mar 2017 10:03, "phil123456"<EMAIL_ADDRESS>wrote:

Hi,
I tried to put my code in that seed, but I keep getting these although I
set "no-unused-expression": false, in tslint.json (not sure this suffice or
is related)
these errors are all over the place, I tried commenting and removing
unused stuffs, but here in a pipe, I dont need to use args parameter
can you hint me how to sort this ? why does it stop compilation at all ?
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/preboot/angular-webpack/issues/325, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACWx9uw01DOpkdMfN-_KeHglS59E11JHks5rq2GygaJpZM4Mt_-Z
.

Hm, im mistaken then. You could either comment it out/remove it, or add a
tslint ignore line above it
On Thu, Mar 30, 2017 at 10:37 AM, phil123456<EMAIL_ADDRESS>wrote:

I commented the args, but I dont like that, they are default pie transform
args, thought it would be better to leave them in case I want to use them
no there is no no-unused-var setting, I'll give it a try
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/preboot/angular-webpack/issues/325#issuecomment-290341905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWx9mSxj2H4kseGQ_ZBpppPZVKid6R_ks5rq2njgaJpZM4Mt_-Z
.

I tried tsling ignore with no luck
btw I get tons of
[42, 9]: if statements must be braced
[44, 9]: else statements must be braced
[50, 9]: if statements must be braced
[52, 9]: else statements must be braced
[26, 23]: " should be '
[26, 61]: " should be '
[5, 31]: Missing semicolon
[45, 40]: Missing semicolon
in chrome console, I think it's a nice feature, but is there no way to disable some of these ?
like having to put ' instead of " is really not my cup of tea and I am not sure it is really necessary

ok, thanks
nice seed so far ;-)

The noUnusedLocals and noUnusedParameters rules are not in tslint anymore but are now part of the TypeScript transpiler itself, both are set to true in tsconfig.json.  You can prefix the name of an unused arg with an underscore to exempt it from the rule.

nice, thanks


question about implementing TapTargetView with fragment

i tried implementing tap target with a fragment,  the app crushes and i have this error message

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.content.Context.getDrawable(int)' on a null object reference

my code in fragment looks like this :
final Drawable droid1 = ContextCompat.getDrawable(getContext(), R.drawable.ic_send_white_24dp);
final Rect droidSend = new Rect(0, 100, droid1.getIntrinsicWidth() * 2, droid1.getIntrinsicHeight() * 2);

public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        final TapTargetSequence sequence = new TapTargetSequence(getActivity())
                .targets(
                        TapTarget.forBounds(droidSend, "touch here to", "open navigation drawer")
                                .cancelable(true)
                                .icon(droid1)
                                .id(1)
                )
                .listener(new TapTargetSequence.Listener() {
                    // This listener will tell us when interesting(tm) events happen in regards
                    // to the sequence
                    @Override
                    public void onSequenceFinish() {
                        //((TextView) findViewById(R.id.educated)).setText("Congratulations! You're educated now!");
                    }

                    @Override
                    public void onSequenceStep(TapTarget lastTarget, boolean targetClicked) {
                        Log.d("TapTargetView", "Clicked on " + lastTarget.id());
                    }

                    @Override
                    public void onSequenceCanceled(TapTarget lastTarget) {
                        final AlertDialog dialog = new AlertDialog.Builder(getContext())
                                .setTitle("Uh oh")
                                .setMessage("You canceled the sequence")
                                .setPositiveButton("Oops", null).show();
                        TapTargetView.showFor(dialog,
                                TapTarget.forView(dialog.getButton(DialogInterface.BUTTON_POSITIVE), "Uh oh!", "You canceled the sequence at step " + lastTarget.id())
                                        .cancelable(false)
                                        .tintTarget(false), new TapTargetView.Listener() {
                                    @Override
                                    public void onTargetClick(TapTargetView view) {
                                        super.onTargetClick(view);
                                        dialog.dismiss();
                                    }
                                });
                    }

                });
        sequence.start();

    }

any help? thanks in advance

android.graphics.drawable.Drawable android.content.Context.getDrawable(int) is not called by the library. This is an issue with your code, outside of using the library. You are likely trying to use getContext or getActivity too early in the Fragment's lifecycle.


Remove ajax from google domain

I saw you are pinging to google for ajax,my suggestion would be hosting the ajax somewhere else

Ok and thanks brother

Ok and thanks brother


[doc] Adding Hover Effects to Components and Buttons

Problem Description
The goal is to add hover effects to various components and buttons on a website to enhance its visual appeal and user experience. Hover effects can provide visual feedback to users, making the website more interactive and engaging.

Hey @stanlee974 I am not able to locally setup, getting these errors
Error: Docusaurus could not load module at path "/home/varad/Desktop/uuv/packages/docs/docusaurus.config.js"
Cause: Cannot find module<EMAIL_ADDRESS>
Any Idea Why?

Yeah, you must package uuv/a11y before to get the dist directory.
Can you try in your terminal : nx a11y package when you are in /home/varad/Desktop/uuv
Or you can try the command : npm run package when you are in /home/varad/Desktop/uuv/packages/a11y

Hello @vr-varad , did you follow the DEV_SETUP file for installing your development environment ?
After npm installcommand, you can then start the documentation app locally with npx nx start:en docs as mention in documentation

I first forked the project
clone it using git clone https://github.com/vr-varad/uuv.git
npm install
went inside packages/a11y ran npm run package
went inside packages/docs ran npm run start:en
got the same error  after running npx nx start:en docs

So basically, you just need execute the 2 following commands after npm install :

build a11y package : npx nx build a11y
Start docs app : npx nx start:en docs

With nx you have to run commands directly from the project root folder, no need to go to inside package folder.
Hope It helps ! 😉

Thanks @luifr10 @stanlee974 I got to work on it and made some changes, I just wanted a review
https://github.com/user-attachments/assets/40f8e920-0551-4a90-8a47-9ef11cd7d753

Hi @vr-varad !
Sorry for the delay.
It's cool what you've done.
As the issue concerns all buttons from what I understand, I can merge your branch, but we'll leave the issue open to generalize your use of css to all buttons.
You can do it if you want, otherwise we'll try to do it when we have time.

I can do it for all the buttons!! No Problem

@vr-varad All buttons are covered by this rule.
.button:hover {   transform: scale(1.05);   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);   background-color: black;   color: #f2cc31;   border-color: #f2cc31; }
I think, we don't need another update of code.
Thank you for your help !

That's what I was figuring where are all other button Css but realised it's for all.
Thanks


Generate sample data

Sample data should be created to enable client testing against use cases. A non-exhaustive list of examples:

Add several messages from many geographic locations.
Add message with varying combinations of Bluetooth IDs, Locations, some with and without the other.
Create messages which go beyond the fourteen day limit to ensure clients don't receive them.

Feel free to get creative. We need at least twenty entries, ideally at least 50.

Has this been done? I don't know C#, but could likely help with a Python script.


File filter in compare page

Something similar to file filter from PR's "Files changed" tab:

Because of updates in .po files, GitHub's compare page isn't too useful:
https://github.com/cog-creators/red-discordbot/compare/3.3.1...3.3.2
I'm not sure if this is a kind of change that you do in refined-github but I can at least post it 😛

Implementing and maintaining such UI is a lot of work and neither Sindre (as far as I know) nor I use that picker at all

While it would be useful for some people, it's too much work to make this and maintain than it's worth. I would recommend submitting this feature request to GitHub instead: https://github.com/contact


[M] Design Debt - Update Figma

Description
Current challenge is inconsistency across our products; goal would be to find some consistency.
This ticket is to start looking at what needs to be done for a design library for our admin products.
Acceptance Criteria

spike/research into what consistencies are needed and defining our design debt
figure out how/what is needed to create library for Admin products
come up with a couple areas that could be done and create tickets for those pieces of design debt

A decision was made to update the Data Register designs to represent the currently implemented footer. Footer consistency is something we need to address across DUP, A&R, and PDR.

Tickets that have come out of this spike:
#311
#312
#313
#314
#315
#316

thanks for doing this work Meredith! moving to done


⚠ Fortnite has degraded performance

In 3a096e0, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1580 ms

Resolved: Fortnite performance has improved in 396807d.


Moving files after cross compiling

Hi there everyone,
I was just wondering how to actually proceed after finishing this guide: https://github.com/ARM-software/armnn/blob/branches/armnn_21_08/BuildGuideCrossCompilation.md. I would have used the bash script here: https://github.com/ARM-software/Tool-Solutions/tree/master/ml-tool-examples/build-armnn. But it threw errors along the way.
So, what files do I need to move to my target device and what dependencies do I have to set? I actually want to use the python api in the end.
Thanks everyone

Hi @CodeMonkey3435,
There's a section called "Run Unit Tests" towards the end of the document that describes how to execute the unit tests on the target device. This is probably a good first step to ensure what you have built works on your aarch64 device.
If I take this specific case the executable that will be run is called "UnitTests". It has a series a shared library dependencies. The actual paths and version number will be dependent on the version of Arm NN you are using:
Arm NN and its associated libraries:
libarmnn.so
libarmnnSerializer.so
libtimelineDecoder.so
libarmnnBasePipeServer.so
libtimelineDecoderJson.so
libarmnnTfLiteParser.so
libarmnnOnnxParser.so
Third party library that we use: libprotobuf.so and then various system libraries.
Could you post on the error messages you encountered when running "build-armnn.sh" please.
Colm.

After building with the script I get this error:

building 'pyarmnn._generated._pyarmnn_version' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/codemonkez/armnn-devenv/armnn/include/ -I/usr/include/python3.8 -c src/pyarmnn/_generated/armnn_version_wrap.cpp -o build/temp.linux-x86_64-3.8/src/pyarmnn/_generated/armnn_version_wrap.o -std=c++14
x86_64-linux-gnu-gcc: error: src/pyarmnn/_generated/armnn_version_wrap.cpp: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
~/armnn-devenv

Really no idea how to fix this.

Also if I run the unit Test I get the following error:
sudo LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./UnitTests

./UnitTests: error while loading shared libraries: ./libtimelineDecoder.so.26: file too short

Hello, yes build-armnn.sh is very confortable. I gave it another shot by installing ubuntu18.04 in virtualBox and trying it out right now. Last time I used a more recent version of ubuntu. I do not understand this link architecture. I copied all the files from your last post and that still lead to the same error (building armnn manually)

One more info: When running the build-armnn.sh I use this command:
./build-armnn.sh -a arm64-v8a -o 1 -x 1
And another bug that I found is that setuptools is not installed automatically via the build-armnn.sh file. I simply installed this beforehand with this command:
sudo apt install python3-setuptools


issue20

https://github.com/linkeddata/mashlib/issues/20#issue-384099472

This is fixed in later PRs.


editableAtwhoQueryAttrs Not Documented

Hi all, thanks for your great work on this lib.
Just noticed that editableAtwhoQueryAttrs, mentioned in ticket #261 , is not documented in the wiki.
Sorry I don't have more time to help, just letting you know it's undocumented.
Thanks!

added.


LXD memory

Overall available resources are reported correctly, but user & free values are incorrect.
Compare the values on the host machine and in guests.
root@cchecker-host:~# lxc exec cchecker-demo-full -- free -m
              total        used        free      shared  buff/cache   available
Mem:           7983         679        7303          24           0        7303
Swap:          4095        4090           5
root@cchecker-host:~# lxc exec chemicalize-cchecker -- free -m
              total        used        free      shared  buff/cache   available
Mem:           7983        2958        5024          24           0        5024
Swap:          4095        4090           5
root@cchecker-host:~# free -m
              total        used        free      shared  buff/cache   available
Mem:           7983        4014        3505          24         462        3527
Swap:          4095        4088           7

Linux cchecker-host 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

lxd:
ii  lxd                                       2.6.2-0ubuntu3~ubuntu16.0 amd64                     Container hypervisor based on LXC - daemon

This is likely not a LXD, but a bug in LXCFS.

I got similar problem like this one, but memory limit kept when I see from htop.

Yep, this would be a lxcfs bug. Can you file one at https://github.com/lxc/lxcfs/issues so we can take a look?


Confirm pre-calculated 馬体重増減 matches actual calculation

Can we rely on this field, or should we compute it ourselves?

Calculated version is more accurate


Print a message if set -e aborts the script.

Currently, if a command fails, it will just silently abort the script.
This commit adds a helpful message on stderr with reason, line number
and exit code.

Someone on<EMAIL_ADDRESS>ran into a problem where their for loop mysteriously aborted. They turned out to be using this template, and had a grep that made the script silently and mysteriously stop.
This commit adds a helpful debug message to prevent this in the future.

This is great. Thank you so much!! Sorry it took so long to merge.


'withMarkdownNotes' isn't included in latest npm package (3.3.15)

Reproduce

Create a new react storybook project
Install the latest '@storybook/addon-notes' npm package (3.3.15 at this time)
Import 'withMarkdownNotes' into a story module and hook it up as per the documentation
Run storybook
In browser, navigate to your story.
Error appears: "Object(...) is not a function" etc....

I have examined the package and the code for 'withMarkdownNotes' simply isn't there. 'withNotes' still works fine.

@Hypnosphi @shilman any changes here? sounds kind of serious

It should be present in<EMAIL_ADDRESS>

@cameron-lindsay Can you post the dev-dependencies portion of your package.json file?

is this intended to be released with 3.4? if so, let's close this.


Remove workaround in go.mod

Summary

We're now using the up-to-date oauth2 package because they fixed the jira accountid problem.
Also changed the MM server 5.12 dependency so that it works with go 1.13 (it was breaking on my machine)
QA review: need to make sure this doesn't break the cloud oauth2 system (I tested it, and it works for me, but just in case).

Ticket Link

Fixes #398
MM-21295

@mickmister I'm happy to do the v5 and 5.18. Either in this PR or another.

@hanzei doing it in this PR makes sense to me. That'd be awesome, thanks @hanzei!

@hanzei Actually I think another PR may be more helpful. It'll help us tie the change to a specific release, and not require customers to upgrade to 5.18 until Jira plugin v2.4

I'm 0/5. But I just want to point out that updating the dependency does not require a server upgrade.

Let's merge this and then make a new PR to upgrade.
It's true that it won't require a server upgrade, but only if we manually make sure we don't use >5.12 functions.
That's why I would prefer (1/5) to stay on the server version we actually require. Keeping us at the minimum server version is clean and less error-prone, especially as our team grows. It's just one more thing you have to keep in your head. I would prefer the compiler tell us when we're trying to do something that we shouldn't be. But it's totally @levb 's call.

I pondered this for a while - should we "sync" the go.mod and plugin.json version requirements. I'm 1/5 that we should update to v5.18/v5 for clean-ness sake; and then revisit the question going forward. Maybe I just grew tired of the go.1.13 transition troubles, so I am assigning an unreasonable value to having a clean go.mod. @cpoile @hanzei


Price changes not reflected correctly

One of our users changed the price of one of his products from $250 to $3. This change was reflected on the storefront home page, but upon clicking in to the product and also when checking out, the price displayed is still $250. See screencaps below.
I was unable to reproduce this on my store. The user's store is thepeerart.ogn.app.

This happens when the price of the product and the variant are different. When the user selects 'This product has multiple options', we should hide the product level pricing and SKU as they're no longer relevant. Instead, they should be derived from the variant price.

Ah makes sense. Closing this as I opened #409 .


types: fix duplicated policy rules

When an user import the same policy twice or more times, the same set of
rules where imported to the policy tree making duplicates of the same
rules.
The SHA256Sum function on a PolicyRule allows to verify if the rule
already exists in the Rules slice.
Signed-off-by: André Martins<EMAIL_ADDRESS>Fixes #146

The user should know when a request was ignored. At least via the logfile.

@tgraf Fixed!


Corrected capitalization of Internet

#MMS2019Docathon submission.

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

Microsoft recently changed it's style to lower case "internet," as part of a larger tend. But thanks for your input.

Thank you @jborsecnik, is there a docs content/style guide anywhere that lists things like this so that others don't attempt to make the same change?


Fix #842

:loudspeaker: Type of change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description
Changed MutableList to CopyOnWriteArrayList  to prevent ConcurrentModificationException
:bulb: Motivation and Context
I took this class as reference to create an animation to my lists, I had this problem and I wanted to help other people out if they are deciding to use this class in their apps
:green_heart: How did you test it?
I had a case in this gif in the issue #842 and now it doesn't happen
:pencil: Checklist

[x] I ran ./gradlew spotlessApply before submitting the PR
[x] I reviewed submitted code
[ ] I added tests to verify changes
[x] All tests passing

:camera_flash: Screenshots / GIFs
Look at #842

@googlebot I signed it!


set transfer encoding to chunked when response is gzip.

sendContentLengthHeaderIfNotAlreadyPresent() will not be called when encodeAsGzip is true.
In this case, browser will not know where is the end of the response, until connection closed.
For example, in HelloServer, chrome will cost 5 seconds (which is the timeout and connection closed in nanoHttpd) to receive response, while it can be done in 37 ms by chunked transfer.

Coverage increased (+0.02%) to 74.3% when pulling f713632b4a7ad3fa9c7581dff3df6a5abf7de395 on kira1928:set-chunked-when-gzip into 8c1502d57d2dddaccc40ab40aa9afa70091704a3 on NanoHttpd:master.

If there are any problems with this pull request, can you tell me?
issue 195 got closed, but this pull request is still waiting for response.

sorry, was occupied elsewhere


Throwing error in the latest version

Hi :wave:
Just updated to the latest version and I'm getting the following error while saving:
Error: severity property of a stylelint warning must be either 'error' or 'warning', but it was 'ignore' (string). at stylelintWarningToVscodeDiagnostic.

Not just the latest version, all versions back to 0.0.4. At least when used with the VSCode extension.
This issue comment implies that it wont work reorder on save and code has to be fixed from the command line with 'stylelint --fix' but running the stylesheet through that made no difference as far as I can see.
Back to hand coded rational order for me :/

Is there something that could be added in this file https://github.com/constverum/stylelint-config-rational-order/blob/master/config/extendedStylelintOrderConfig.js to fix that?

I changed order config to stylelint-config-concentric-order, problem solved.

This is a real blocker for me :/

This is a real blocker for me :/

I think this example will help you.
https://github.com/constverum/stylelint-config-rational-order/issues/13#issuecomment-522421878


Question Really about mobilsm scripts

I post audiobooks often (well not lately but i do) would it be very difficult to make a script for that uses audible
This would be superfantastic, and i know lots of ppl who would agree
I am really sorry i used this issue tab, but ima desperate girl
Tia
Cerina

I am really sorry i used this issue tab, but ima desperate girl

No problem but can you clarify what kind of script you want exactly, do you mean like to format and copy information about the audiobook or something else

Exactly for the way the want the audiobooks posted, somebody mentioned to me they had AI doing just that. I dont know anything about ai but it gave me the idea to check userscripts and this was very close
here is an example of one of my post
[b]Damned Women Sinners and Witches in Puritan New England by Elizabeth Reis Narrated by Susan Marlowe[/b]
[u]Requirements:[/u] .M4A/.M4B reader, 210 MB 7 hrs and 42 mins
[u]Overview:[/u] In her analysis of the cultural construction of gender in early America, Elizabeth Reis explores the intersection of Puritan theology, Puritan evaluations of womanhood, and the Salem witchcraft episodes. She finds in those intersections the basis for understanding why women were accused of witchcraft more often than men, why they confessed more often, and why they frequently accused other women of being witches. In negotiating their beliefs about the devil's powers, both women and men embedded womanhood in the discourse of depravity.
Puritan ministers insisted that women and men were equal in the sight of God, with both sexes equally capable of cleaving to Christ or to the devil. Nevertheless, Reis explains, womanhood and evil were inextricably linked in the minds and hearts of 17th-century New England Puritans. Women and men feared hell equally, but Puritan culture encouraged women to believe it was their vile natures that would take them there rather than the particular sins they might have committed.
Following the Salem witchcraft trials, Reis argues, Puritans' understanding of sin and the devil changed. Ministers and laity conceived of a Satan who tempted sinners and presided physically over hell, rather than one who possessed souls in the living world. Women and men became increasingly confident of their redemption, although women more than men continued to imagine themselves as essentially corrupt.
[b]Genre:[/b] Audiobooks > Non-Fiction History
[img]https://images.mobilism.org/?dm=5HB633KI[/img]
[break]
[u]Download Instructions:[/u]
https://userupload.net/4w7l4931odxt
https://drop.download/s2m4hs0v7ezx
sorry these links dont work..i grabbed it from a reup request lol
does this explain well enough?

Just incase thats not so clear. So it can copy the information from audible and format it into this
this is the template thats offered

but if i could paste all the information into this

from the script, i dont think id have posting anxiety anymore
this is the post]

Alright I have made it
https://github.com/AbdurazaaqMohammed/userscripts/raw/main/format-audible-info-for-mobilism.user.js

OMG am i doing wrong?
LOL i just told the world about this and i cant work it. I see the copy info button, when i click it
nothing
are the extensions and other scripts screwing it up?

That is what my friend explained to me happens. He said once you paste the image it releases the rest of the code, I had a hard time with it, and i have not posted in awhile. I will be posting later tonight. I will come back and update you. This is appreciated so much and it sounds like ppl are using it. Thank you

OK its fabulous
https://forum.mobilism.org/viewtopic.php?f=19&t=5712798
and i know the mods big worry was ppl hot linking audible, they will be delighted t know you have to properly use the image server to even get it to work
TY for all your time and effort

Some feedback i was givin This maybe an easy fix (i sure hope so) if not i can try to edit each time
1  the break command has changed to beside the image rather than below
how it shows after script

https://prnt.sc/A9BNx0rtbrg2
How it should be

https://prnt.sc/OQWMlybObqfr
3 dots are the break command, and they must always be there
2 Audiobooks > Fiction
or Audiobooks > Non-Fiction
Those have to be included for search purposes before Sciene or Science fiction, if it ONLY shows non fic or fic thats okay
This script has been a blessing for me (and i am sure others) please do not think i do not appreciate it
Cerina

3 dots are the break command, and they must always be there

Fixed

2 Audiobooks > Fiction or Audiobooks > Non-Fiction
Those have to be included for search purposes before Sciene or Science fiction, if it ONLY shows non fic or fic thats okay

I try to add it, it determine fiction or not based on list of categories, so it may be wrong

Im not sure if its me or not but its not working for me anymore , and i think it might be just the initial copy at the beginning
because if i look in violentmonkey

this information right here is from the last time i used it, on the 20th.  I tried a second book just to make sure it wasn't some weird anomaly with the first book
I feel really guilty you have been so kind. Maybe hopefully its just a teensy tiny thing, please lmk how i can help or repay your kindness
Cerina
Just a random thought i just had was even if it was the copy that wasn't working the book thats in there should have shown up, but that didn't happed either. I didn't get the pop up on this ( https://images.mobilism.org/thumbnail.php ) page. and when i still tried to paste, i got the audible image link. I hope that helps and makes sense ....


ES6 standard

Update the code to ES6 Standard.
Each is updated in a different commit.
Changed variable  declaration from var to let and const
Also changes some functions to ES6 ()  => {} arrow function syntax
Moved order of code in adfly.js to solve code being used before declaration
Please let me know if more changes are to be made in this PR.

I've renamed your commits to be more descriptive, thank you for your work! 🥳


WPF-UI program crashes and becomes unresponsive when dragged to second display on computer with dual monitors.

Describe the bug
When running a WPF-UI program on a computer with two displays, the program works fine on the primary display. However, when the program is dragged to the second display, it crashes and becomes unresponsive.
When an error occurs in Visual Studio, this is a screenshot of the error message displayed for the code demo.

To Reproduce
[With Microsoft Store WPF UI App]
0.Connect the computer to two displays.
1.Download WPF UI from the Microsoft Store.
2.Open the WPF UI software (it runs normally on the default screen at this point).
3.Drag the WPF UI to the second screen.
4.Click on any button, and the WPF UI will become unresponsive or crash.
[With Viscual Studio 2022]
0.Connect the computer to two displays.
1.Create a WPF-UI project in Visual Studio.
2.Click on Run or Debug in the newly created project to launch the project file.
3.The generated project runs normally on the default screen.
4.Drag the generated software to the second screen, click on any button, and the software will crash and freeze.
5.The error message displayed in the screenshot appears in Visual Studio.

Expected behavior
Expected result: The WPF-UI software should not crash or become unresponsive when dragged to any screen
Screenshots
No response
OS version
Windows11
Default screen resolution
1920 x 1080
125%
The second screen
1920 x 1080
100%
.NET version
.NET 6.0
WPF-UI NuGet version
2.0.3
Additional context
No response

If necessary, you can contact me through this issue or email me at<EMAIL_ADDRESS>for a quicker response.


Occasional 403 or 404 on F3 routes

I get these randomly and I haven't been able to narrow them down, I'm hoping you've seen them before.
PHP message: [app/lib/db/sql/session.php:76] Base->error(403) PHP message: [app/lib/base.php:2672] session_start() PHP message: [app/main/controller/controller.php:99] Preview->render('templates/view/index.html')
This can happen when hitting @login for the first time or when you refresh on /map but my logs are littered with 403's and it happens to me on occasion.
Any ideas?

I never came up with this problem, but i have a suggestion:
First I would like to know since when this happened?- I pushed a framework upgrade of "Fat-Free-Framework" (v.3.5.0 -> v3.5.1) to develop branch yesterday. So this upgrade could cause the problem. I had to do this upgrade because some bugs were fixed I contributed to:(https://github.com/bcosca/fatfree/issues/908)
My Assumption
Your IP has changed.
The "Problem" in detail
In v3.5.1 DB-Session handling was improved/fixed sql\session.php L69 following.... A default onsuspect(); callback handler was added to the Session read(); function which should help to protect against CSRF attacks. As you can see, the new default handler checks for IP or User-Agent changed and invalidates the current Session as "suspect" with a HTTP 403.
This problem was also discussed in here: https://github.com/bcosca/fatfree/issues/762
The Solution
Ill hand over my own onsuspect() callback handler to the DB\SQL\SESSION(); constructor controller.php#L118.
Official doku: http://fatfreeframework.com/session#onsuspect .
So this is not really a bug, rather a security "feature" which is probably a bit to "strict". ;)

IP changes are no longer validated as "suspect session".

If this becomes a security problem in future, We should revert this! I don´t know if this is a problem with the IGB or desktop browser.

I don´t know why they added this validation, it doesn't  make sense to me. - Particularly in a Single-Page-App like Pathfinder.
> "[...] IPs can change at any time - the idea behind HTTP is that each request is independent. [...]"

"[...] you shouldn't track IP changes for 'security' - the only exception is if you can deal with geoIP features, and want to disable/annoy users of various anonymisation services. [...]"
http://stackoverflow.com/a/7550915/4329969

In order to obtain some data about IP-changed-sessions, these changes are logged in log/session_suspect.log
User-Agent changes are still handled as "suspect" and trigger a 403, clear_session and remove session_cookie

Thanks Exodus,
That seems reasonable. I agree that IP address tracking is not a good way to identify user behaviours or to detect suspect behaviour. In my case I'm sitting behind CloudFlare (a CDN provider) so all my users appear as the upstream CDN providers IP (which rotates between a few ranges) to Pathfinder.
This likely explains my issue.

Off topic:
@atkinsj I have some personal questions about your experience with CloudFare. I have no background knowledge of CDN providers.

What is the primary reason you use it for?
What is your experience? - Would you recommend it?
Can you provide any stats/info or a comparison running Pathfinder with/without a CDN?

I´m currently setting up a new public testing environment (dev.pathfinder-w.space), running the latest develop commit. Maybe it is worth to give it a try on this domain? I´m on a DigitalOcean VPS 2GB RAM, 2 CORS

Hey mate,
I have always had good experiences with CDN's. CloudFlare is free on their basic level so worth a shot. You basically change your domains nameservers to CloudFlare's and then manage your DNS there -- once you set an A/AAAA record you can click a button to have it proxied through their service and they just update the records to their own.
Security benefits:

Your servers IP is never exposed: only CloudFlare's
They handle all the SSL and you don't need to worry about certificates (though you can do an SSL certificate between your server and CloudFlare and they even support authenticated SSL to ensure it's them)
I firewall my server so that only the list of IP addresses CloudFlare use are allowed in via 443 and 80 is completely disabled. HTTP -> HTTPS redirection is then handled by them.
They throttle web requests and suspected DDoS as well as vulnerability scanners etc

Performance benefits:

Given that Pathfinder is heavy on the AJAX, you won't see a huge performance increase
You will theoretically see a performance loss on AJAX calls since you're adding an extra hop however because they are a CDN, their servers are always close to the user no matter where the user is so the AJAX performance loss is negligible (I've not been able to measure it in my tests)
Any static content is stored cached by the CDN close to the user: that means all your images, all your javascript, all your CSS is typically within <20ms of the user no matter where in the world they are

Side benefits:

They fully support cache busting with query string, so no issues there (you can opt to purge the cache manually if you want)
Their services are fully available over IPv6 even if your server isn't (mine is anyway but might help some)
You get analytics on % usage, unique visitors, which countries they come from, what referrers they come in from, etc

I'm using it on my development domain while I get ready to transition to a new host and the stats for caching after about an hour of use are: 27.28 MB saved -- 73.42 MB total bandwidth. That's not too interesting since bandwidth is unlimited except that it is 27.28MB of content served within <20ms of the user.
Hope that helps.


bindings/python: Switch to python/rust mixed layout

          For pure Rust project layout, the `.so` file name has to be `opendal` because that's how Python `import` works. We can switch to mixed Python/Rust layout to change it to whatever we want. (And usually we use `_opendal` and re-export public APIs in Python `opendal` module).

Originally posted by @messense in https://github.com/apache/incubator-opendal/pull/1205#discussion_r1144158907

By this switching, we can:

allow rust opendal-python export libopendal_python.so
Export public API directly at python side.

I'll do it later.

IMO C bindings can reserve the "libopendal.so" name. Other language binding cdylib is used by the specific language only so that we don't care about the lib name.


WSL2 cannot access 'c': Input/output error

Environment
Windows 10 Pro 19041.572
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Steps to reproduce

From the wsl2 console navigate to c folder
Perform any operation on any c folder, such as ls, or vim.
I get WSL2 cannot access 'c': Input/output error.
wsl --shutdown does not fixt the issue

WSL logs:
https://aka.ms/AAa4w8z
Expected behavior
I need to be able to do any IO operations on the C drive.
On WSL1, this issue is invalid. It only occurs on WSL2

Actual behavior

Getting cannot access 'c': Input/output error when accessing the c folder

Related: https://github.com/microsoft/WSL/issues/4377 Altough people there can fix it by wsl --shutdown

Same issue here, may be after a migration/conversion from WSL1 to WSL2 of Ubuntu 20.04
[Environment]::OSVersion

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19041.0 Microsoft Windows NT 10.0.19041.0

dmesg output captured hereafter

wsl --shutdown and restart of wsl is a working workaround (but not so comfortable)
Some (hopefully useful additional information)
ludorg@Cyndor:/$ uname -a
Linux Cyndor 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
ludorg@Cyndor:/$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

As it may be a mount issue,
PS C:\Windows\system32> wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                                       DeviceID            InterfaceType  MediaLoaded  MediaType              Model                    Name                Partitions
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE1  IDE            TRUE         Fixed hard disk media  ST4000DM004-2CV104       \\.\PHYSICALDRIVE1  1
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE2  IDE            TRUE         Fixed hard disk media  WDC WD2003FZEX-00Z4SA0   \\.\PHYSICALDRIVE2  1
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE0  IDE            TRUE         Fixed hard disk media  V Series SATA SSD 480GB  \\.\PHYSICALDRIVE0  3

Same on Windows 1909 (can't upgrade due to corporate system). Workaround of sudo umount /mnt/c and sudo mount -t drvfs C:\ /mnt/c works.

even unmounting and remounting c does not work in my case

another update: adding
[automount] options = "metadata" to /etc/wsl.conf seems to fix the issue for now. Will keep monitoring and mention if it reoccurs

My dmesg looks similar to the one above
[ 1905.707824] init: (267) ERROR: StopHostListener:372: write failed 32
[ 1922.197206] hv_utils: TimeSync IC version 4.0
[ 2207.563658] scsi 0:0:0:2: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[ 2207.564091] sd 0:0:0:2: Attached scsi generic sg2 type 0
[ 2207.565077] sd 0:0:0:2: [sdc] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2207.565079] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[ 2207.565220] sd 0:0:0:2: [sdc] Write Protect is off
[ 2207.565222] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[ 2207.565619] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2207.569335] sd 0:0:0:2: [sdc] Attached SCSI disk
[ 2207.587169] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 2207.841664] FS-Cache: Duplicate cookie detected
[ 2207.841667] FS-Cache: O-cookie c=00000000c57344f3 [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.841667] FS-Cache: O-cookie d=00000000b4ccfcc7 n=0000000056ea76b0
[ 2207.841668] FS-Cache: O-key=[10] '34323935313538303538'
[ 2207.841670] FS-Cache: N-cookie c=00000000c8c8a89f [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.841670] FS-Cache: N-cookie d=00000000b4ccfcc7 n=000000000f0ae1d1
[ 2207.841671] FS-Cache: N-key=[10] '34323935313538303538'
[ 2207.845107] FS-Cache: Duplicate cookie detected
[ 2207.845110] FS-Cache: O-cookie c=00000000c57344f3 [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.845110] FS-Cache: O-cookie d=00000000b4ccfcc7 n=0000000056ea76b0
[ 2207.845111] FS-Cache: O-key=[10] '34323935313538303538'
[ 2207.845113] FS-Cache: N-cookie c=00000000db15470e [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.845113] FS-Cache: N-cookie d=00000000b4ccfcc7 n=00000000fe350d2e
[ 2207.845114] FS-Cache: N-key=[10] '34323935313538303538'
[ 2207.848617] FS-Cache: Duplicate cookie detected
[ 2207.848621] FS-Cache: O-cookie c=00000000c57344f3 [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.848621] FS-Cache: O-cookie d=00000000b4ccfcc7 n=0000000056ea76b0
[ 2207.848622] FS-Cache: O-key=[10] '34323935313538303538'
[ 2207.848624] FS-Cache: N-cookie c=00000000be4e5493 [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.848624] FS-Cache: N-cookie d=00000000b4ccfcc7 n=000000007cb4f2ba
[ 2207.848625] FS-Cache: N-key=[10] '34323935313538303538'
[ 2207.861666] init: (1) ERROR: UpdateTimezone:97: America/Los_Angeles timezone not found. Is the tzdata package installed?
[ 2207.861671] init: (1) ERROR: InitEntryUtilityVm:2425: UpdateTimezone failed
[ 2207.977660] FS-Cache: Duplicate cookie detected
[ 2207.977663] FS-Cache: O-cookie c=00000000dc0d7d01 [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.977663] FS-Cache: O-cookie d=00000000b4ccfcc7 n=0000000072d06c36
[ 2207.977664] FS-Cache: O-key=[10] '34323935313538303731'
[ 2207.977666] FS-Cache: N-cookie c=0000000065928e0b [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.977666] FS-Cache: N-cookie d=00000000b4ccfcc7 n=000000002e699faa
[ 2207.977667] FS-Cache: N-key=[10] '34323935313538303731'
[ 2207.983257] FS-Cache: Duplicate cookie detected
[ 2207.983260] FS-Cache: O-cookie c=0000000065928e0b [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.983260] FS-Cache: O-cookie d=00000000b4ccfcc7 n=00000000ad69007d
[ 2207.983261] FS-Cache: O-key=[10] '34323935313538303732'
[ 2207.983262] FS-Cache: N-cookie c=00000000ff50fe93 [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.983263] FS-Cache: N-cookie d=00000000b4ccfcc7 n=000000005ba8fda6
[ 2207.983263] FS-Cache: N-key=[10] '34323935313538303732'
[ 2207.985947] FS-Cache: Duplicate cookie detected
[ 2207.985950] FS-Cache: O-cookie c=0000000065928e0b [p=00000000427d31fd fl=222 nc=0 na=1]
[ 2207.985951] FS-Cache: O-cookie d=00000000b4ccfcc7 n=00000000ad69007d
[ 2207.985952] FS-Cache: O-key=[10] '34323935313538303732'
[ 2207.985956] FS-Cache: N-cookie c=00000000ff50fe93 [p=00000000427d31fd fl=2 nc=0 na=1]
[ 2207.985956] FS-Cache: N-cookie d=00000000b4ccfcc7 n=00000000ce1ea4ed
[ 2207.985957] FS-Cache: N-key=[10] '34323935313538303732'
[ 2207.989327] init: (1) ERROR: UpdateTimezone:97: America/Los_Angeles timezone not found. Is the tzdata package installed?
[ 2207.989330] init: (1) ERROR: InitEntryUtilityVm:2425: UpdateTimezone failed
[ 2208.191034] scsi 0:0:0:3: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[ 2208.191699] sd 0:0:0:3: Attached scsi generic sg3 type 0
[ 2208.192752] sd 0:0:0:3: [sdd] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2208.192754] sd 0:0:0:3: [sdd] 4096-byte physical blocks
[ 2208.192930] sd 0:0:0:3: [sdd] Write Protect is off
[ 2208.192932] sd 0:0:0:3: [sdd] Mode Sense: 0f 00 00 00
[ 2208.193222] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2208.201379] sd 0:0:0:3: [sdd] Attached SCSI disk
[ 2209.443428] EXT4-fs (sdd): recovery complete
[ 2209.447219] EXT4-fs (sdd): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 2209.480636] init: (2) ERROR: UtilCreateProcessAndWait:474: /bin/mount failed with 2
[ 2209.480776] init: (1) ERROR: UtilCreateProcessAndWait:489: /bin/mount failed with status 0x
[ 2209.480778] ff00
[ 2209.480781] init: (1) ERROR: ConfigMountFsTab:2077: Processing fstab with mount -a failed.
[ 2209.481818] init: (3) ERROR: UtilCreateProcessAndWait:474: /bin/mount failed with 2
[ 2209.481916] init: (1) ERROR: UtilCreateProcessAndWait:489: /bin/mount failed with status 0x
[ 2209.481918] ff00
[ 2209.481922] init: (1) ERROR: MountPlan9:478: mount cache=mmap,noatime,trans=fd,rfdno=8,wfdno=8,msize=65536,aname=drvfs;path=C:\;uid=0;gid=0;symlinkroot=/mnt/
[ 2209.481924]  failed 17
[ 2209.482611] init: (4) ERROR: UtilCreateProcessAndWait:474: /bin/mount failed with 2
[ 2209.707564] ISO 9660 Extensions: RRIP_1991A
[ 2209.800157] ISO 9660 Extensions: RRIP_1991A
[ 2216.410017] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[ 2219.500611] init: (519) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2219.500613] ) failed 5
[ 2219.593558] init: (523) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2219.593560] ) failed 5
[ 2219.682810] init: (527) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2219.682812] ) failed 5
[ 2219.786193] init: (531) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2219.786194] ) failed 5
[ 2219.885397] init: (535) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2219.885399] ) failed 5
[ 2223.241316] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[ 2223.258114] IPv6: ADDRCONF(NETDEV_UP): br-7933f945a796: link is not ready
[ 2224.559637] init: (680) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2224.559639] ) failed 5
[ 2224.659336] init: (683) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2224.659338] ) failed 5
[ 2224.762721] init: (691) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2224.762723] ) failed 5
[ 2224.889299] init: (694) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2224.889300] ) failed 5
[ 2224.980902] init: (697) ERROR: CreateProcessEntryCommon:612: chdir(/mnt/c/WINDOWS/System32
[ 2224.980903] ) failed 5
[ 2236.036468] WSL2: Performing memory compaction.

~
[ 13:27:54 ] $ cd /mnt/c

/mnt/c
[ 13:30:30 ] $ ls
ls: cannot open directory '.': Input/output error

Maybe this helps figuring out what's going on. On my system (exported/imported multiple Debian VMs, fresh Windows installation with WSL2 - no WSL1 ever been on that system) I am getting those connection issues almost every day (using Docker Desktop) and/or docker issues (forgetting which WSL2 integrations it should have).
The workaround that seems to be working for me:

disable docker autostart
start Windows, make a wsl --shutdown - so docker and the VMs are down
start Docker Desktop (wsl --list -v shows all VMs with a docker connection as running)
open a terminal and... everything is working including the network

If I don't do that I have the input/ouptut errors (almost every time) or the VM can't work with docker or ... - maybe this is helping figuring out what's going on (timing issue with network/docker/wsl/...) or helping somebody to make wsl usable. In the 2nd case we could write a short script for a "semi stable boot process" until this issue is solved...
If one of the other tickets regarding this error is the correct one... feel free to move or give me a hint.

Maybe this helps figuring out what's going on. On my system (exported/imported multiple Debian VMs, fresh Windows installation with WSL2 - no WSL1 ever been on that system) I am getting those connection issues almost every day (using Docker Desktop) and/or docker issues (forgetting which WSL2 integrations it should have).
The workaround that seems to be working for me:

disable docker autostart
start Windows, make a wsl --shutdown - so docker and the VMs are down
start Docker Desktop (wsl --list -v shows all VMs with a docker connection as running)
open a terminal and... everything is working including the network

If I don't do that I have the input/ouptut errors (almost every time) or the VM can't work with docker or ... - maybe this is helping figuring out what's going on (timing issue with network/docker/wsl/...) or helping somebody to make wsl usable. In the 2nd case we could write a short script for a "semi stable boot process" until this issue is solved...
If one of the other tickets regarding this error is the correct one... feel free to move or give me a hint.

In my case with WSL2 debian even if I restart wslhost.exe via wsl --shutdown the problem persist

In my case with WSL2 debian even if I restart wslhost.exe via wsl --shutdown the problem persist

@cdecompilador do you have docker Desktop running while you do the shutdown? In my case it's only working reliably if I boot the system without docker, perform the shutdown (list shows all stopped), then start docker and wait until docker startet the machines with the integration. With docker running it was more like a 50:50 on my system.

@cdecompilador do you have docker Desktop running while you do the shutdown? In my case it's only working reliably if I boot the system without docker, perform the shutdown (list shows all stopped), then start docker and wait until docker startet the machines with the integration. With docker running it was more like a 50:50 on my system.

This happens for me on every boot. I have Docker Desktop installed but it doesn't start on boot (I don't always need it so start it when I do). wsl --shutdown fixes it every time. Periodically - and I mean once in a blue moon, system boots and it's fine. To reiterate, running wsl --list --verbose shows the Docker distributions always as "stopped" when I run wsl --shutdown to remedy the filesystem access.
As an aside, though I doubt it means anything, I do have Google Drive File Stream installed (and thus a /mnt/g filesystem). Generally it never works, but I've wondered if this has an impact on the 9p filesystem handling.

CLion cannot find Make and C/C++ compiler installed in WSL Ubuntu because of this issue.

Same happens to me. I'm not sure whether this is a random thing or happens right after sleep or hibernate. Will have to investigate more. Anyway, there are 2 workarounds that work for me.

Restart WSL2. I'm not a big fan of this solution, as I'm running some Docker containers, and restarting WSL2 will interrupt my work. How to restart: Open CMD and run

wsl.exe --shutdown

Then, start your WSL2 instance again

Unmount and then mount again your drive(s). I prefer this solution, as it doesn't interfere with my WSL2 instance at all.

# umount /mnt/c
# mount -t drvfs C:\\ /mnt/c

I'm getting this now, and I ran wsl --shutdown and tried to start my distro back up, I get this message
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.

Except I can't get into my distro to run dmesg :(

To me this happened after I created a new virtual machine in Hyper-V and trying to run it. I think both things are related, because I have never seen this WSL2 problem before and I did not use Hyper-V for a long time. Now, both things happened at the same time.
Perhaps this issue is caused by a problem with the virtualisation, in the first place.

This has started happening more and more often, right now I need to do a wsl --shutdown almost every time the PC comes back from sleep or after boot, otherwise I'm not able to reach WSL ports from Windows.

For what it's worth, on the same PC I reinstalled windows, have all the same settings and no longer have this issue.
¯_(ツ)_/¯
I'm sure it will come back though...

For what it's worth, on the same PC I reinstalled windows, have all the same settings and no longer have this issue.
¯_(ツ)_/¯
I'm sure it will come back though...

I've passed through that 'sensation' once or twice. Once you install VSCode it just takes about 1-2 months for the issue to re-appear (not sure if the WSL install date affects it).

Switched from WSL to WSL2 a few weeks back and have had this issue from the get-go. Only occurs for me after the initial launch of WSL. Once fixed, by running wsl --shutdown and wsl, the issue is resolved until a full pc reboot.
Saw on another thread that canceling a process (ctrl+C) may be the culprit. Haven't been paying that close attention, but my most recent run in with this issue occurred immediately following the canceling of a process.
Windows v10.19042.985 & Linux kernel v5.4.72-microsoft-standard-WSL2

related to #5469.
i can reproduce the problem, let me know which logs you need to debug this issue.

I have the same issue whenever I start my windows and open the Linux terminal this error comes:
/mnt/c: Input/output error
/mnt/d: Input/output error
but once when I do wsl --shutdown and reopen the Linux terminal it works but its a bit uncomfortable to always restart the Linux terminal after startup

Well wsl --shutdown is a workaround. There is ain't no solution yet?

wsl --shutdown works, i got u-18 and u-20, this particular error thrown when i went to change my sudo password,

wsl --shutdown works, i got u-18 and u-20, this particular error thrown when i went to change my sudo password,

When you have to run it routinely I can't believe it's a solution.

Restarting the Lxssmanager services solves it for about 2-4 hours and then it happens again.  This bug needs to be assigned to someone.

try the following command, it worked for me, with no need to restart WSL
sudo mount -t drvfs C:\ /mnt/c

try the following command, it worked for me, with no need to restart WSL
sudo umount /mnt/c ; sudo mount -t drvfs C: /mnt/c -o metadata
https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/

This is an old post. Even if it solves this post's related problem, you will have to run this mount command routinely every time you restart WSL. An alternative is to put these suggested mount settings into /etc/wsl.conf as suggested in the post below.
https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
(PS. this post "automatically-configuring-wsl" is also very old)

I guess it can be related to 9P protocol used to mount Windows drive in WSL version 2. This was a big change from version 1, which used drvfs.

I have the error randomly sometimes when I reboot the computer, the first time I open a WSL console.
As a workaround I have added following lines to the .bashrc file:
ls /mnt/c > /dev/null
if [ $? != 0 ]; then
        echo ""
        echo "Error with windows integration :-("
        echo "Applying workaround to solve it"
        sudo umount /mnt/c
        sudo mount -t drvfs C: /mnt/c
fi

So it will ask me to enter the sudo password only in case it detects the issue.

Was consistently facing IO error with any operation on /mnt/c. IO performance is poor on /mnt/c. wsl --shutdown works temporarily but issue keeps coming back. I ended up moving my workspace to home dir
Refer: https://nickjanetakis.com/blog/3-gotchas-with-wsl-2-around-disk-space-memory-usage-and-performance

I have the error randomly sometimes when I reboot the computer, the first time I open a WSL console.
As a workaround I have added following lines to the .bashrc file:
ls /mnt/c > /dev/null
if [ $? != 0 ]; then
        echo ""
        echo "Error with windows integration :-("
        echo "Applying workaround to solve it"
        sudo umount /mnt/c
        sudo mount -t drvfs C: /mnt/c
fi

So it will ask me to enter the sudo password only in case it detects the issue.

If you want to avoid entering the password upon logon or any sort of prompts, I've added a slight modification.
# Mount-Point fix
ls /mnt/c > /dev/null 2>&1
if [ $? != 0 ]; then
        echo <pass> | sudo -S -p '' umount /mnt/c
        echo <pass> | sudo -S -p '' mount -t drvfs C: /mnt/c
fi

Hi, I have tried both workaround mentioned in this post,
wsl --shutdown
wsl
or,
sudo umount -l /mnt/c
sudo mount -t drvfs C: /mnt/c
sudo mount -t drvfs C:\ /mnt/c
<3>init: (78) ERROR: UtilConnectVsock:401: connect port 50002 failed 110
Operation timed out
but still failing whenever I need to create a file.
I have to switch to WLS1 for now, until the issue is fixed.

False alarm, the issue still exists.

I don't think anybody will fix this. But... on Windows 11 (installed it on 1 Laptop to test it) I can:

shutdown the system without docker and/or wsl2 crashing trying to restart the service that is shutting down
boot with docker for windows enabled without the need to restart wsl2 manually because the whole file sharing / mounting is not working

Only the 2nd day - so not too optimistic atm, but until now not a single crash which at least is way more stable than every Windows 10 system I run (with docker and wsl2). So... let's hope this will continue.

Any update on this ?
Having to use powerhsell to wsl.exe --shutdown each time I want to open VSCode in WSL mode is exhausting
This happens on both of my computer (work and home).

I am also hitting a wall on this. The wsl shutdown and restart does not work for me. I've not yet tried unmounting and mounting the C drive on my Debian WSL distro.

@humbienri wsl --shutdown should work generally. If not you can try restart the service called LXSSMANAGER. If either of them works, try doing the full reboot.

Looks like last Windows Update I had fixed this issue. (21H2 19044.1466)

Restarting the laptop did not work. Restarting that LXSSManager service did not work.
Windows 11 sounds tempting!

Nope, Windows 11 did not fix it for me. Same error same everything.
Does the fact that I am running VS Code portably matter? i.e it's not really installed on the Windows 10/11 side, but running off a USB drive. Maybe there's some setting I need to manually configure?

Just got this error after Windows rebooted my computer without my consent. Update history doesn't indicate it installed anything. I had upgraded to WSL2 a week or two ago.
One problem of the workaround of unmounting then remounting is git will "fatal: detected dubious ownership in repository at ..." since it is now owned by root. I don't seem to be able to mount C: myself without shutting down WSL and restarting it.

@humbienri wsl --shutdown should work generally. If not you can try restart the service called LXSSMANAGER. If either of them works, try doing the full reboot.
Btw, I no longer see this issue on Windows 11. :)

Work for me, thank you


chore(main): release 2.3.2

:robot: I have created a release beep boop
2.3.2 (2023-09-08)
Bug Fixes

🔧 修复同步脚本错误的问题 (73d802a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/vite-uniapp-template/releases/tag/v2.3.2 :sunflower:


Adds v4 alpha links

Closes #17028

Fixed by https://github.com/twbs/bootstrap/commit/67af7ca69a19b8bc506687dfa8f792ef601bb8d1.


Changed overlay network to virtual network

What are your changes?
Changed overlay network to virtual network
What type of changes does your doc introduce?

[ ] Bug fix
[x] New feature

What is the urgency level of this change?

[ ] Blocker
[ ] High
[x] Medium

I have completed these items:

[x] I have tested all commands and code snippets.
[x] I have built locally and tested for broken links and formatting.
[x] I have made this change for all affected versions (e.g. 1.7, 1.8, and 1.9).
[ ] My doc follows the style guide: https://github.com/dcos/dcos-docs#contributing.

Ping @emanic, @sascala, or @joel-hamill for reviewing pull request changes.
If you included a comment with your commit, it appears here:

@sascala ready for merge


ReadMe has got new badges!

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (python setup.py install) was run locally and any changes were pushed
[x] Lint (black rocketpy) has passed locally and any fixes were made for failures
[x] All tests (pytest --runslow) have passed locally

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

RocketPy has few and outdated badges!
What is the new behavior?

New badges were added:

Build passing
LinkedIn
PyPI version
Paper DOI
Number of contributors

The MyBinder badge has been removed.
Does this introduce a breaking change?

[ ] Yes
[x] No

@Gui-FernandesBR or @AdrianoAntongiovanni, please review this PR!

@Projeto-Jupiter/general, since I found a simple contributors badge by accident while looking for the others, I made sure to add it as well!
Here is a quick look:

And here is how the badges look:

@Projeto-Jupiter/general, since I found a simple contributors badge by accident while looking for the others, I made sure to add it as well!
Here is a quick look:

And here is how the badges look:


[MINOR] Fixes to make unit tests work on m1

Change Logs
an older version of snappy that is incompatible with m1 was used in by a few dependencies. To fix we make spark version to be 2.4.8 and we add some exclusions so that the dependencies don't pull in the old version of snappy and use the newer one instead.
Impact
Unit tests should now work on m1
*Risk level: low
Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[x] CI passed

have cancelled CI run for now. investigating CI flakiness. will trigger azure CI run once we fix the flakiness.


blank screen

Hello,
thank you for this project!
i tried to use it in my app but i got only a blank screen instead of the camera view.
can you please help me out?
import android.Manifest
import android.content.pm.PackageManager
import android.hardware.camera2.CameraManager
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.WindowManager
import android.widget.TextView
import android.widget.Toast
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import de.markusfisch.android.barcodescannerview.widget.BarcodeScannerView

private const val TAG = "barcodescanner"
private const val REQUEST_CAMERA = 1

class ScanActivity : AppCompatActivity() {

    private lateinit var cameraListId: String
    private lateinit var textView: TextView
    private lateinit var scannerView: BarcodeScannerView

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)
        checkPermission()
        setContentView(R.layout.activity_scan)

        val cameraManager = getSystemService(CAMERA_SERVICE) as CameraManager
        cameraListId = cameraManager.cameraIdList[0]

        textView = findViewById(R.id.text)
        textView.text = "textView.text"

        scannerView = findViewById(R.id.scanner_view)
        scannerView.cropRatio = .75f
        scannerView.setOnBarcodeListener {
            textView.post(Runnable {
                textView.text = it.text
            })
            true
        }
    }

    private fun checkPermission() {
        val permission = ContextCompat.checkSelfPermission(applicationContext, Manifest.permission.CAMERA)
        if (permission != PackageManager.PERMISSION_GRANTED) {
            ActivityCompat.requestPermissions(this, arrayOf(Manifest.permission.CAMERA), REQUEST_CAMERA)
        }
    }

    private fun openCamera() {
        val cameraBack = cameraListId?.get(0)
        Log.i(TAG, "cameraBack = $cameraBack")

        val message = if (cameraBack != null) {
            scannerView.openAsync(BarcodeScannerView.findCameraId(cameraBack.code))
            "Cam opened"
        } else {
            "Can't get the id of back camera"
        }

        Toast.makeText(applicationContext, message, Toast.LENGTH_SHORT).show()
    }

    override fun onRequestPermissionsResult(
        requestCode: Int,
        permissions: Array<out String>,
        grantResults: IntArray
    ) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults)
        if (requestCode == REQUEST_CAMERA) {
            val message = if (grantResults[0] == PackageManager.PERMISSION_GRANTED)  "granted" else "denied"
            Toast.makeText(this, message, Toast.LENGTH_SHORT).show()
        }
    }

    override fun onResume() {
        super.onResume()
        openCamera()
    }

    override fun onPause() {
        super.onPause()
        scannerView.close()
    }
}

Hi, I think the problem is BarcodeScannerView.findCameraId(), which expects either Camera.CameraInfo.FACING_BACK or Camera.CameraInfo.FACING_FRONT.
So instead of:
scannerView.openAsync(BarcodeScannerView.findCameraId(cameraBack.code))

it should read:
scannerView.openAsync(BarcodeScannerView.findCameraId(Camera.CameraInfo.CAMERA_FACING_BACK));

BarcodeScannerView.findCameraId() is probably a bit misleading, but it comes from the underlying CameraView implementation here.

@markusfisch thanks for the reply. i tried the Camera.CameraInfo.CAMERA_FACING_BACK but the ide complained about the deprecation of camera. Suggests using camera2 but i can't figure out, how.

Well, since BarcodeScannerView is a complete solution, including the camera part, there is no way to change the camera API. This is intentional, because BarcodeScannerView should simply provide a view that can scan a barcode, without having to worry about camera and barcode scanning.
To support older versions of Android, BarcodeScannerView is still using the legacy Camera API. This is fine as it is still supported even in the latest version of Android. At some point, probably not very far in the future, BarcodeScannerView will migrate to the new Camera API.
If you don't want to use BarcodeScannerView with the legacy Camera API - it's fine, I use this in all my projects to this date - you could use the Android wrapper of ZXing C++, the barcode scanning library, as a base for your application instead. It would be a bit more code, but not that much.
I also maintain a fork of this wrapper that improves on a few things important to Android users, and that can be included via Maven.

thank you, i am ok with the camera api. i'll try it out again.

Version 1.5.0 adds openAsync() without any parameters (see this commit), so you wouldn't have to worry about what Camera API the library is using.
Unfortunately, JitPack is broken at the moment, so you would have to include the aar manually. Sorry for this.


Update dungeon-crawl-stone-soup-tiles to 0.19.5

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as dd07cd87cdda1058d3daa56c70d9f59cf580a71f. Your contribution is still credited to you.


Nissan/carstate: calculate vEgoRaw the same as speed in panda

prereq for https://github.com/commaai/openpilot/pull/32897
How panda calculate  vehicle speed:
https://github.com/commaai/panda/blob/b4e3d5cdd2dec2a58807b0d710a5d3561a59529d/board/safety/safety_nissan.h#L59
fuzzing tx messages show that calculating vEgoRaw based on four wheels might be different from how panda calculate vehicle speed, and that might lead to the difference in allowable steering angle between openpilot and panda.
the propose solution is to make openpilot calculate vehicle speed similarly to how panda does this. Another solution is to calculate the vehicle speed in panda similarly to how openpilot does it, but we would have to wait for another message of front wheels speed which would add up complexity to panda rx hook

Know why the existing rx test didn't catch this? Can this ever reasonably be hit?

this is from fuzzy data generation. realistically, if everything works fine in a car then the speed front and rear wheels shouldn't be much of a difference. This happens when let say there is a big difference in front and rear wheels speed
there used to be a check https://github.com/commaai/openpilot/pull/30750, not sure why it was removed
fuzzy carstate check just checks general carstates not these specific values which have effects on future tx messages.
I do agree that getting the vego from four wheels is better, and this be checked and adjusted in my fuzzy tx test

We've moved the car interfacing code to our opendbc repository, which is now the new home for car ports and fingerprints. Please re-open your pull request against opendbc at your convenience by using this command below. This will transform all changes under selfdrive/car/ to opendbc/opendbc/car/. Make sure you have initialized submodules beforehand and have checked out the latest opendbc commit.
PR_NUMBER=33045
curl -L https://github.com/commaai/openpilot/pull/$PR_NUMBER.patch | sed -e 's/selfdrive\/car/opendbc_repo\/opendbc\/car/g' | git apply -v --reject

Simply replace the PR number with your own. Once done, add the files, fix any conflicts, and open a new PR. Alternatively, you may start a new PR from scratch if that is easier for you.


fix: [RHTAP-1704] print logs to files instead of stdout

Description
This PR dumps pod logs into files instead of stdout to archive them and improve log readability.
Issue ticket number and link
RHTAP-1704
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[X] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

Other than the gosec issues I am fine with this. The intention was that by filtering just the relevant logs (i.e. the logs generated during the test) we would be able to see problems much easier without needing to click around in the artifact dumps. What I had not counted on was the the sheer volume of logs that are generated during every test.


⚠ Samsung has degraded performance

In 283fcbd, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2377 ms

Resolved: Samsung performance has improved in d3a6507.


link to spammy site

The link 'The Developer's Guide to Service Bus' points to a spammy web site.

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

ID: afed582b-fb3f-30b3-b119-6c4a9218bf34
Version Independent ID: d4cf3473-21c1-2409-e7ac-9ad93fbc5895
Content: Compare Azure Storage queues and Service Bus queues - Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

@ziodave - Thank you for reporting the issue. I just fixed the issue and the update will go live in a few hours.

That was quick @spelluru , kudos :-)

@ziodave @spelluru Closing this issue for now. Feel free to reopen if anything further on the matter.