Exception in thread "main" org.elasticsearch.hadoop.EsHadoopIllegalArgumentException

When I run the below command,
java -Dconfig.file=application.conf -cp batch/target/scala-2.11/ons-ai-batch-assembly-0.0.1.jar uk.gov.ons.addressindex.Main

I met an error.
21/07/14 02:17:15 WARN Utils: Your hostname, myimac.local resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface en0)
21/07/14 02:17:15 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
21/07/14 02:17:15 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
21/07/14 02:17:20 WARN ObjectStore: Failed to get database global_temp, returning NoSuchObjectException
21/07/14 02:17:20 WARN Utils: Truncated the string representation of a plan since it was too large. This behavior can be adjusted by setting 'spark.debug.maxToStringFields' in SparkEnv.conf.
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: RECORD_IDENTIFIER, CHANGE_TYPE, PRO_ORDER, UPRN, UDPRN, ORGANISATION_NAME, DEPARTMENT_NAME, SUB_BUILDING_NAME, BUILDING_NAME, BUILDING_NUMBER, DEPENDENT_THOROUGHFARE, THROUGHFARE, DOUBLE_DEPENDENT_LOCALITY, DEPENDENT_LOCALITY, POST_TOWN, POSTCODE, POSTCODE_TYPE, DELIVERY_POINT_SUFFIX, WELSH_DEPENDENT_THOROUGHFARE, WELSH_THOROUGHFARE, WELSH_DOUBLE_DEPENDENT_LOCALITY, WELSH_DEPENDENT_LOCALITY, WELSH_POST_TOWN, PO_BOX_NUMBER, PROCESS_DATE, START_DATE, END_DATE, LAST_UPDATE_DATE, ENTRY_DATE
 Schema: recordIdentifier, changeType, proOrder, uprn, udprn, organisationName, departmentName, subBuildingName, buildingName, buildingNumber, dependentThoroughfare, thoroughfare, doubleDependentLocality, dependentLocality, postTown, postcode, postcodeType, deliveryPointSuffix, welshDependentThoroughfare, welshThoroughfare, welshDoubleDependentLocality, welshDependentLocality, welshPostTown, poBoxNumber, processDate, startDate, endDate, lastUpdateDate, entryDate
Expected: recordIdentifier but found: RECORD_IDENTIFIER
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/delivery_point/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, ORGANISATION, LEGAL_NAME
 Schema: uprn, organisation, legalName
Expected: legalName but found: LEGAL_NAME
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/organisation/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, PRIMARY_UPRN, THIS_LAYER, PARENT_UPRN
 Schema: uprn, primaryUprn, thisLayer, parentUprn
Expected: primaryUprn but found: PRIMARY_UPRN
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/hierarchy/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, LPI_KEY, LANGUAGE, LOGICAL_STATUS, START_DATE, END_DATE, LAST_UPDATE_DATE, SAO_START_NUMBER, SAO_START_SUFFIX, SAO_END_NUMBER, SAO_END_SUFFIX, SAO_TEXT, PAO_START_NUMBER, PAO_START_SUFFIX, PAO_END_NUMBER, PAO_END_SUFFIX, PAO_TEXT, USRN, USRN_MATCH_INDICATOR, LEVEL, OFFICIAL_FLAG
 Schema: uprn, lpiKey, language, logicalStatus, startDate, endDate, lastUpdateDate, saoStartNumber, saoStartSuffix, saoEndNumber, saoEndSuffix, saoText, paoStartNumber, paoStartSuffix, paoEndNumber, paoEndSuffix, paoText, usrn, usrnMatchIndicator, level, officialFlag
Expected: lpiKey but found: LPI_KEY
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/lpi/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: USRN, STREET_CLASSIFICATION
 Schema: usrn, streetClassification
Expected: streetClassification but found: STREET_CLASSIFICATION
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/street/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: USRN, STREET_DESCRIPTOR, LOCALITY, TOWN_NAME, LANGUAGE
 Schema: usrn, streetDescriptor, locality, townName, language
Expected: streetDescriptor but found: STREET_DESCRIPTOR
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/street_descriptor/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, CROSS_REFERENCE, SOURCE
 Schema: uprn, crossReference, source
Expected: crossReference but found: CROSS_REFERENCE
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/crossref/ABP_E811a_v111017.csv
21/07/14 02:17:23 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, CLASSIFICATION_CODE, CLASS_SCHEME
 Schema: uprn, classificationCode, classScheme
Expected: classificationCode but found: CLASSIFICATION_CODE
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/classification/ABP_E811a_v111017.csv
21/07/14 02:17:24 WARN CSVDataSource: CSV header does not conform to the schema.
 Header: UPRN, PRIMARY_UPRN, PARENT_UPRN, ESTAB_TYPE, ADDRESS_TYPE
 Schema: uprn, primaryUprn, parentUprn, addressType, estabType
Expected: primaryUprn but found: PRIMARY_UPRN
CSV file: file:///Volumes/REPO/Goran/address-index/batch/src/test/resources/csv/hierarchy/ABP_E811a_v111017.csv
Exception in thread "main" org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible or when targeting a WAN/Cloud instance without the proper setting 'es.nodes.wan.only'
        at org.elasticsearch.hadoop.rest.InitializationUtils.discoverClusterInfo(InitializationUtils.java:340)
        at org.elasticsearch.spark.rdd.EsSpark$.doSaveToEs(EsSpark.scala:104)
        at org.elasticsearch.spark.rdd.EsSpark$.saveToEs(EsSpark.scala:79)
        at org.elasticsearch.spark.rdd.EsSpark$.saveToEs(EsSpark.scala:76)
        at org.elasticsearch.spark.package$SparkRDDFunctions.saveToEs(package.scala:56)
        at uk.gov.ons.addressindex.writers.ElasticSearchWriter$.saveHybridAddresses(ElasticSearchWriter.scala:27)
        at uk.gov.ons.addressindex.Main$.saveHybridAddresses(Main.scala:96)
        at uk.gov.ons.addressindex.Main$.delayedEndpoint$uk$gov$ons$addressindex$Main$1(Main.scala:56)
        at uk.gov.ons.addressindex.Main$delayedInit$body.apply(Main.scala:14)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
        at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at uk.gov.ons.addressindex.Main$.main(Main.scala:14)
        at uk.gov.ons.addressindex.Main.main(Main.scala)
Caused by: org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: [GET] on [] failed; server[pvr-locations.es.eu-west-2.aws.cloud.es.io:9243] returned [400|Bad Request:]
        at org.elasticsearch.hadoop.rest.RestClient.checkResponse(RestClient.java:469)
        at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:426)
        at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:388)
        at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:392)
        at org.elasticsearch.hadoop.rest.RestClient.get(RestClient.java:168)
        at org.elasticsearch.hadoop.rest.RestClient.mainInfo(RestClient.java:735)
        at org.elasticsearch.hadoop.rest.InitializationUtils.discoverClusterInfo(InitializationUtils.java:330)
        ... 17 more

I have no idea how to resolve this error.

The Spark job has got to the point of writing the data to ES, but is unable to connect to the cluster. If you Google org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot detect ES version you'll see there are a number of possible causes, the simplest being the port number - the value set in the reference.conf file is 9200 (default for a local ES installation, cloud deployments are usually on 443 or 80).


When a PR is associated with an Issue and uses close semantics, the remaining score will be automatically rewarded to this PR

Feature Request
Is your feature request related to a Issue or PR(Optional)
None
Describe the feature you'd like:
Do you have any ideas on how to implement it?(Optional)
When a PR is associated with an Issue and uses close semantics, the remaining score will be automatically rewarded to this PR.

/type feature

/help

/assign @whileTrue0x90

What does the remaining score mean? Is it the total score of the issue or the score of / reward?

What does the remaining score mean? Is it the total score of the issue or the score of / reward?

An issue can have multiple PRs associated with it, and we reward these PRs separately. Therefore, the remaining score for the current issue will appear.


feat(src): preserve line number after parse

closing in favor of https://github.com/emqx/hocon/pull/47


[Bug]: Upgrade button in Cloud errors out

Describe the bug
Hitting upgrade button does nothing.
Steps to Reproduce
When clicking "Upgrade."

I get this in the console.

Logs
No response
System Info
No response
Severity
blocking all usage of Evidence
Additional Information, or Workarounds
No response

Hi @mattmonihan thank you for reporting this - I'm sending you an email in the meantime


chore(deps): remove unused apache poi-ooxml

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change

I'm guessing this was added from when dependencies where just managed in a lib directory. As the Tika parsers from Microsoft office documents do have a transitive dependency - so we can just leave it to that.
Here is the output from whatDependsOn after I removed it:
sbt:Equella> whatDependsOn org.apache.poi poi-ooxml
[info] org.apache.poi:poi-ooxml:4.1.2
[info]   +-org.apache.tika:tika-parser-microsoft-module:2.2.1
[info]     +-org.apache.tika:tika-parsers-standard-package:2.2.1
[info]       +-com.github.equella:conversion_2.12:702b5b5601dfdd347a0e6948ce92a075a0de0a9d [S]
[info]

Resolves #3326

Just flaked on ye olde BulkMetadataEditTest. I'll merge.


Redirecting to different section

When you click contact form, it is redirecting to starting of interface. I want to know whether it is intentional or a bug, If bug I can solve it. And it is happening to setting section also. I did not add any employee ( for clarification ).

Currently, there is no component linked with both.let me know if  u wan to make any component for this.

@Vikash-8090-Yadav ,I will do for contact form.

Great start working on this .

@Vikash-8090-Yadav , I can't able  to contribute to this issue ,You can unassign me.

Can i get a screenshot of contact form right now. I would like to work on this issue. I would like to use ChakraUI library for this. Kindly assign it to me.


chore(e2e): change-passcode-spec-fix

What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:
Developer Checklist:

[ ] Read your code changes at least once
[ ] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[ ] No console errors on web
[ ] Tested on Light mode and Dark mode*
[ ] Your UI implementation visually matched the rendered design*
[ ] Unit tests*
[ ] Added e2e tests*
[ ] Added translations*

Codecov Report

Merging #4004 (e202da3) into main (4ee4bc9) will increase coverage by 0.72%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #4004      +/-   ##
==========================================
+ Coverage   57.77%   58.50%   +0.72%
==========================================
  Files         459      459
  Lines       12347    12347
  Branches     4082     4082
==========================================
+ Hits         7134     7224      +90
+ Misses       5125     5033      -92
- Partials       88       90       +2

see 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


⚠ Avatar API Endpoint has degraded performance

In c327b85, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5697 ms

Resolved: Avatar API Endpoint performance has improved in 695ec5a after 12 minutes.


1.3 docs link returns page not found

ROS 1.3
https://rancher.com/docs/os/v1.3/en/ is missing.  Returns 404 Not Found

For 1.3, the documentation changes very little.
We will move to v1.x so we don't have to do so much maintenance.
I saw @deniseschannon  tracking this thing.

We have used https://rancher.com/docs/os/v1.x/en/


Expose points coordinates

Assuming that the gpx file is always composed of a single line.
How can I get the coordinates of the last point on the track?

Be nice it it created say distance markers every 10km or so via an optional parameter. I use this plugin for a live tracking site and showing distance markers rather calculating distance every tracker update would be great,

@PhilWhitehurst This plugin does something like that: https://github.com/adoroszlai/leaflet-distance-markers/

Distance markers will be handled by #65. I don't plan on exposing points coordinates otherwise (as discussed this would require keeping them all in memory, which I don't want the GPX layer to do).


httpx library version dependency issue

Googletrans version:

[x] 4.0.0rc1
[ ] 3.1.0a0
[ ] 3.0.0
[ ] 2.x

I'm submitting a ...

[ ] bug report
[x] feature request

Current behavior:

In Python3.9, googletrans library uses 'httpx==0.13.3' version that is too old. So this issue can cause version dependency problems.
I also recently had this problem related with telegram library and error code =python-telegram-bot 20.3 requires httpx~=0.24.0, but you have httpx 0.13.3 which is incompatible.
Expected behavior:

httpx version up and  reduce version dependency problems.
Steps to reproduce:

Remove legacy code about httpx==0.13.3
Related code:

in client.py 62line, Remove deprecated typing info 'SyncHTTPTransport'
proxies: typing.Dict[str, httpcore.SyncHTTPTransport] = None,
->
proxies = None

Other information:

Thank you for very useful information!


⚠ SceneTime has degraded performance

In 61c2d1b, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2447 ms

Resolved: SceneTime performance has improved in d0d88dd.


Search just does not work at all?

My reason:
Search does not work for me. I've tried to test verdaccio on my machine, everything works (by some struggling in fact, as I got same issue as mentioned in #367 at the beginning...)
Steps to reproduce:

npm install verdaccio with v2.6.1 (latest one)
start it
tried to adduser and just publish two simple projects named aa and zz (made by npm init with all defaults stuff)
search is not work in webui, search with "z" or "zz" or anything...always show: No items were found with that query
I wonder if search work at all :(

Config file:
Nothing changed, all default, for test only...
Additional information:
Both server and client on the machine, for test only....
#cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

#node -v
v6.10.3
#npm -v
3.10.10
#

I see #257 , but hope search by name is not missing too :)

What do you mean by name? Do you mean by author?

Does the #257 will fix this issue?

@juanpicado name is the package name, as I mentioned, I just publish too default package (created by npm init) and the packages are "aa" and "zz" (folder name and package name also).
And the latest information is that, I found the search works (partially maybe, explained below) suddenly just now (I did nothing....). Partially because, I found "aa" and "zz" works (I mean it can be searched), and even "z" will show the "zz", but "a" does not show "aa"!!! Whatever, I am new to this tool and I just found the search seems not reliable.

If using "z" to query, it will display the project "zz". Strange issue.

@juanpicado I've checked with #257 branch, I can confirm it works to search by version (example: "1" or "1.0.0" will search out both "aa" and "zz"), but still, it does not find "aa" when search with "a". Did I find a corner case ("a" is special?!)! I was just trying to do some tests by randomly created "aa" and "zz"...

@gengshenghong yes, the indexer lunr we use either is not 100% reliable or is not well configured, also seems to be a bit abandoned, #257 tries to fix that and use a new indexer elasticlunr that increase functionality as search by version and so on. I hope we can a bit help in that branch in order to fix this issue.

@gengshenghong I'll close this one and follow up on https://github.com/verdaccio/verdaccio/issues/345 which is the same thing. We have to update the library "lunr": "0.7.0" for something better.


(WIP) Automatic Search Error Reporting

When an error occurs while attempting to communicate with CMR via search()

The error message, ASFSession "user_agent" header, and subquery search options are automatically reported to ASF
The user receives a logging warning that the error was automatically reported, and shown the exact message content reported

Codecov Report

Merging #143 (283b61b) into master (8761e2b) will increase coverage by 0.02%.
The diff coverage is 89.65%.

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   89.19%   89.22%   +0.02%
==========================================
  Files          48       49       +1
  Lines        1592     1596       +4
==========================================
+ Hits         1420     1424       +4
  Misses        172      172

Flag
Coverage Δ

unittests
89.22% <89.65%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...arch/CMR/error_reporting/search_error_reporting.py
82.35% <82.35%> (ø)

asf_search/exceptions.py
100.00% <100.00%> (ø)

asf_search/search/CMR/error_reporting/__init__.py
100.00% <100.00%> (ø)

asf_search/search/__init__.py
100.00% <100.00%> (ø)

asf_search/search/search.py
94.56% <100.00%> (+0.18%)
:arrow_up:

asf_search/search/search_count.py
100.00% <100.00%> (ø)

asf_search/__init__.py

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Deploy your docker image to kubernetes

As a [role]
I need [function]
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

As a service provider
I need my service to run on Kubernetes
So that I can easily scale and manage the service
Assumptions

Kubernetes manifests will be created in yaml format
These manifests could be useful to create a CD pipeline
The actual deployment will be to OpenShift

Acceptance Criteria
Given the Kubernetes manifests have been created
When I use the oc command to apply the manifests
Then the service should be deployed and run in Kubernetes


[zh] add blog 2024-08-13-Kubernetes-v1-31-Release.md

Description

Issue

Closes: #

@tengqm 上述指正已全部修改

@tengqm 已修正

Please squash your PR into one commit.
LGTM.

@tengqm  已合并commit

/lgtm

/approve


Dependency to lru-cache should be updated

If we install shapefile-js we have the following error: the Module not found: Error: Can't resolve 'yallist' in 'D:\PROJECTS\KDK\kano\node_modules\lru-cache'. It seems the issue has been fixed ihttps://github.com/isaacs/node-lru-cache/issues/162.

Yes please, time to update deps again @calvinmetcalf Thanks!  :)


[besu] added gcp-storageclass

Changelog

Add gcp-storageclass
Update main.yml file to add an entry

Reviewed by
@suvajit-sarkar
@sownak
Linked issue
#1295

Latest changes look good, only issue is that the DCO sign-off is missing, also, please squash all commits to a single commit. (that should solve the DCO issue)

Latest changes look good, only issue is that the DCO sign-off is missing, also, please squash all commits to a single commit. (that should solve the DCO issue)

I mistakenly made the wrong changes. Trying to fix it.


Feature: add ellipsis if plugin description is too long

Currently when plugin description exceeds the plugin panel width, it will simply be truncated. I think it's better to add ellipsis for better UI like what VS Code does. I'll try to implement it.

Implemented by #809


"Don't show again" button does not work and is misleading

Does this issue occur when all extensions are disabled?: No

VS Code Version: Version: 1.62.0 (Universal)
OS Version: MacOS 12.0.1 (21A559)

Steps to Reproduce:

Open VS Code
Drag in a folder from your desktop
Get this images

Click "Don't show again"
Remove the folder from the project pane, add a new one, same issue shows up again.

I know this is coming from the git extension but that seems pretty core to VS Code which is why I opened this issue anyway. Why does the "Don't show again" button not work?  I have clicked it hundreds of times.

/assign @lszomoru

I agree that the button is misleading. It's actually per workspace.
https://github.com/microsoft/vscode/blob/231fe61ab5787ac1cc50052a3099ad861bd2960a/extensions/git/src/repository.ts#L1839-L1842
I'd suggest a new label: "Dismiss for This Repository"


In 2.6.12 too, the vm's $off can not remove callback defined in vm's methods

Version
2.5.21
Reproduction link
https://github.com/huang-weijian/vue--off
Steps to reproduce
vue source code:
// cb.fn is undefined
if (cb === fn || cb.fn === fn) {
cbs.splice(i$1, 1);
break
}
In fact:
In vm._events[eventName][fn defined in vm's methods], There is no fn attribute, only fns attribute
What is expected?
can remove cb defined vm'methods
What is actually happening?
can not

vm.$off is to remove event listeners added with $on https://vuejs.org/v2/api/#vm-on

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂

vm.$off is to remove event listeners added with $on https://vuejs.org/v2/api/#vm-on

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂


not working in react component

I have a simple react component.
I am doing $('.classname').fixedsticky in componentDidMount().
I have a global css for top:0
I have also added .fixedsticky to .classname element.
This does not work.

not working


PHP 8 Support for Laravel 6.x

This PR backports PHP 8 compatibility to the 6.x branch from #533

The rationale behind the change is that Laravel 6.x supports PHP 8.
README, has been slightly updated
This PR is the sibling of #535

Thanks!  I'll push a new release shortly.


Notifications/Events

Need to come up with an architecture for this. Would be great if there was a third party library to deal with sending emails using templates and various services.

Should consider using EventStore (https://eventstore.org/) for logging event history.
Per post from Jet Tech (https://web.archive.org/web/20170813110455/https://tech.jet.com/blog/2016/09-07-event-sourcing-awesome/):

At Jet, we use event sourcing as our main log of truth for historical transactions. Most teams use Event Store to store the events that are generated by their systems. The Event Store log is an append-only log. All events that were written to the log are immutable, and changes to a stream are handled by appending new events to the log that contains an updated state for the stream.

Implemented MediatR for issue #12. It supports notifications  but so far I have just done request/response handlers.


Storybooks isn't reloading the view via HMR

You can't press save and see the changes, you'd need to change between different stories. The HMRer is definitely doing it's work, you can see the notification - it's just that the storybook's content doesn't get updated.
Storybooks 3.0 is coming out soon, perhaps we can try that if a simple yarn upgrade [storybooks] doesn't help

This is what I mean by proof:

I updated storybooks to 3.0.0 and don't see HMR changes to our views inside storybooks.
The same type of changes work fine inside the app.

Look a look at the default settings inside storybooks-rn: https://github.com/storybooks/storybook/blob/master/app/react-native/src/server/config/webpack.config.js
Changing out config to
const path = require('path')
const webpack = require('webpack')

const { OccurenceOrderPlugin, includePaths, excludePaths } = require('@storybook/react-native/dist/server/config/utils')

module.exports = {
  devtool: "#inline-source-map", // Otherwise getting errors about e.g. `Relay` not being defined.
  resolve: {
    extensions: [".js", ".jsx", ".ts", ".tsx"],
  },
  module: {
    loaders: [
      {
        test: /\.tsx?$/,
        exclude: /node_modules/,
        loaders: ["awesome-typescript-loader?configFileName=./tsconfig.json&silent=true&transpileOnly=true&target=es6&useBabel=true&useCache=true"],
      },
    ],
  },
  plugins: [
    new OccurenceOrderPlugin(),
    new webpack.HotModuleReplacementPlugin(),
  ],
}

Didn't help - think that might only work for the server anyway.

#562 could help a bit here

This works for maxim
🌊

We discovered that live reloading works for maxim, not HMR

This works for me, in storybooks, on the Welcome page when I make changes to the text

Got it - a PureComponent does not get HMR

Sigh. Are there docs for that?

https://github.com/facebook/react-native/issues/9152

Ok. Alas that doesn’t really tell me much more about the details :/

https://github.com/gaearon/babel-plugin-react-transform/pull/106 should actively fix this vs our workaround


Staging server for legder.threefoldtoken.com

Currently the real one is used

Transactions are currently not being stored in duplicates on Git or Tiereon.


Don't attempt to use npe1 readers in napari.plugins._npe2.read

Fixes/Closes

Closes #5738
Description

npe2 0.7.0 raises two different error messages if a reader fails to return data.
This pr ensures both messages are caught and swallowed to prevent the ValueError from being raised in the gui.
References

Type of change

[x] 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?

[ ] all tests pass with my change
[x]  there's already a test in the suite that covers catching the error. However, the test currently only covers the case where plugin_name is None, not the case when it has a name

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

@brisvag I commented in #5378 but I'll mention here too. In general we don't want to catch reading errors, and we've made changes on the npe2 side and in napari to make sure reader errors get surfaced sooner.
The original error we were catching here - the No readers returned data error is actually an indicator that no plugin was tried at all. We catch this so that we can continue looking for the correct plugin among npe1 plugins. We'd remove this behaviour alongside all other npe1 code.
As I mentioned on the issue, I played around with the opening behaviour this morning and it all behaved as expected so I'm waiting to hear back about the particular use case we've broken, and then we'll know more about what the best fix is.

as napari.plugins._npe2.read now returns if the plugin name is for an npe1 reader, should the npe1_path variable in this function be renamed?

should the npe1_path variable in this function be renamed?

I think it's not a very descriptive name to begin with, having tracked down the original PR where it was added, but I don't think it's a worse name now than it was before - in the interest of minimal changes, I would just leave it. I expect this will just be one of the many places we'll need to refactor when we get rid of the npe1 compatibility layer.

Confirmed test failure is unrelated. I'm going to merge this now as I think it's important we get it in - otherwise non-shimmed npe1 readers are broken on main with latest npe2

thanks for merging @DragaDoncila, and thanks for the review!


Implment a MatrixManifold interface

As a first and (maybe most easiest) idea to #5:
Implement a MatrixManifold <: Manifold with corresponding point/vector/covector types in order to

have a matrix multiplication defined for MatrixMPoints
inherit vector functions from TVector/CoTVector
maybe even directly pass through for rank and such linear algebra functions?

I just noticed, it should suffice moving ArrayManifold here.

What are the benefits of having ArrayManifold here instead of Manifolds.jl?

It's an interface for people who build any MatrixManifold or ArrayManifold (more generally), that's why I would call it even an interface and put it here.
In general the question is – where does interface stop and where do (explicit) manifolds begin?
In my opinion type-wise things like ArrayManifold belong here,
Product & Power manifold are points of discussions for me, merely on the boundary of both.
With ArrayManifold here, the DefaultManifold is also not much more to be done with (just <: ArrayMPoint and such to work for points and extend the tests).
But of course I am also interested in yours and @sethaxen|s opinion on that.

I'm generally for keeping ManifoldsBase.jl small but if you think ArrayManifold is useful here then I'm OK with moving it. Product and power manifolds require additional dependencies so I'd keep them in Manifolds.jl. If someone needs them they can always make a dependency on Manifolds.jl.

That is a good idea to draw the line – keeping this one simple and with less dependencies.
I will do that rework now, then. We should think about also having a small documentation here, then?

I think we can have just one documentation linked in README for both packages with a separate section about ManifoldsBase.jl. It'll make documentation maintenance more simple.

One line that I removed from ArrayManifold is the decorator manifold pattern. We have to add that where Manifolds.jl defines that pattern when we transfer Manifolds to use the base here. Despite that this can be closed, since it's resolved. I am just finishing a few tests and add that to the PR.

The decorator thing is a bit problematic. Keeping it in Manifolds.jl makes it harder to extend it (and extensibility is the main point of having traits in the first place) but moving it here means either adding a dependency on SimpleTraits.jl or reworking it to plain THTT traits.

Yes, but base_manifold can only be defined for decorator manifolds and differentiating decorator manifolds from non-decorator manifolds by whether calling base_manifold throws an error or not is not ideal. Look at how base_manifold is used in Manifolds.jl.
I'll make a poll on slack about traits.

Here are poll results:

10 votes for pure THTT traits
2 votes for SimpleTraits.jl
4 votes for "something else" (but solutions that were suggested can't be applied here easily)

Given that one of the people who voted for SimpleTraits.jl also voted for pure THTT traits, I think the conclusion is quite clear.

Where did you do the poll? I didn't see it and hence did not participate.
Also, I've never done pure THTT traits so I don't know how that works (I would've voted for SimpleTraits)

I've made the poll in the general channel of Julia's slack. Pure THTT traits are fairly easy, it's basically that:
is_decorator_manifold(::Euclidean) = Val(false)
is_decorator_manifold(::ArrayManifold) = Val(true)
# and so on for every manifold

# and for example
function representation_size(M::Manifold)
    return representation_size(M, is_decorator_manifold(M))
end

function representation_size(M::Manifold, ::Val{true})
    return representation_size(base_manifold(M))
end

function representation_size(M::Manifold, ::Val{false})
    error("representation_size not implemented for manifold $(typeof(M)).")
end

That's all, basically. We have a separate function that returns objects of two or more different types and then dispatch on its result. The only downside is that it's a bit more verbose than SimpleTraits.jl.

And one can introduce a default using
is_decorator_manifold(::T) where {T <: Manifold} = Val(false)

right?
I think I personally prefer using SimpleTraits, but ok; the main remaining question for me is then:
Do we do THTT here and SimpleTraits for extended ones in Manifolds? That for me seems inconsistent.
Despite that – I think I see how to implement a decorator manifold with THTT now, thanks.

You're right – and we also do it just for 3 functions for now, I will add that and do a small PR.


Printing Stats during paper trading causes stats to break

related to new command function print stats #630 #637
If paper trading and zenbot has bought asset. Printing stats causes asset to become currency and breaks stats.

Hi mikeh21, please try this fix, it works for me

Hi emabo, I can confirm your fix is working. Thank you!


Jeremy/header roles/fix

Codecov Report

Merging #46 (d224001) into dev (8c376cd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #46   +/-   ##
=======================================
  Coverage   18.29%   18.29%
=======================================
  Files          28       28
  Lines         246      246
  Branches       33       33
=======================================
  Hits           45       45
  Misses        199      199
  Partials        2        2

Impacted Files
Coverage Δ

src/Constants/pages.js
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c376cd...d224001. Read the comment docs.


feat(ionic): add compareWith input for select type

fix #2275

this fix has some bug with ionic 5 multiple select. selected option did not reselect when click again.


IDEFK, but you probably should have this!

Aider is good peeps!
Here's a wall of string you may or may not care about:
`.github\workflows\mega-linter.yml

/ls

Files in chat:
.github\workflows\mega-linter.yml
Repo files not in the chat:
.editorconfig
.gitattributes
.github\ISSUE_TEMPLATE\sweep-fast-template.yml
.github\ISSUE_TEMPLATE\sweep-slow-template.yml
.github\ISSUE_TEMPLATE\sweep-template.yml
.gitignore
.pnp.cjs
.yarn\cache\typescript-npm-5.2.2-01717e9f84-7912821dac.zip
.yarn\cache\typescript-patch-2e8dbfb8ab-0f4da2f15e.zip
.yarn\install-state.gz
.yarn\releases\yarn-3.6.3.cjs
.yarn\sdks\integrations.yml
.yarn\sdks\typescript\bin\tsc
.yarn\sdks\typescript\bin\tsserver
.yarn\sdks\typescript\lib\tsc.js
.yarn\sdks\typescript\lib\tsserver.js
.yarn\sdks\typescript\lib\tsserverlibrary.js
.yarn\sdks\typescript\lib\typescript.js
.yarn\sdks\typescript\package.json
.yarnrc.yml
config.json
dependabot.yml
favicon.ico
fonts\FontAwesome.otf
fonts\fontawesome-webfont.eot
fonts\fontawesome-webfont.svg
fonts\fontawesome-webfont.ttf
fonts\fontawesome-webfont.woff
fonts\fontawesome-webfont.woff2
images\CV.jpg
images\businesscard.jpg
images\chevron-left.png
images\corpoLogo.jpg
images\corpoPortfolio1.jpg
images\corpoPortfolio2.jpg
images\designLogo.jpg
images\designPortfolio1.jpg
images\designPortfolio2.jpg
images\flatdesk-logo-black.png
images\flatdeskLogo.svg
images\glow.jpg
images\keyboard.jpg
images\logo.jpg
images\logo.png
images\made-with-invision.png
images\photoLogo.jpg
images\photographyPortfolio1.jpg
images\photographyPortfolio2.jpg
images\postcard.jpg
images\speakermesh.jpg
images\templates\CV.psd
images\templates\businesscard.psd
index-config.html
index.html
lite.html
mailscript.php
mouse.json
package.json
scripts\app.js
scripts\directives.js
scripts\home\app.controller.js
scripts\home\configurator.controller.js
scripts\home\desktop.controller.js
scripts\home\draw.service.js
scripts\home\home.controller.js
scripts\home\home.service.js
scripts\lite.app.js
scripts\objects\businessCard.service.js
scripts\objects\cup.service.js
scripts\objects\desk.service.js
scripts\objects\desktop.service.js
scripts\objects\keyboard.service.js
scripts\objects\model.json
scripts\objects\mouse.service.js
scripts\objects\objects.module.js
scripts\objects\personalResume.service.js
scripts\objects\phone.service.js
scripts\objects\portfolio.service.js
scripts\objects\postCard.service.js
scripts\objects\speaker.service.js
scripts\objects\tableLamp.service.js
scripts\objects\tablet.service.js
scripts\scene\background.service.js
scripts\scene\light.service.js
scripts\scene\scene.module.js
styles_bootflat.scss
styles_reset.scss
styles\lite.scss
styles\main.scss
templates\businessCard\businessCard.template.html
templates\configurator.html
templates\desktop\desktop.template.html
templates\desktop\desktopHtml.template.html
templates\desktop\desktopSlides.template.html
templates\home.html
templates\personalResume\personalResume.template.html
templates\phone\phone.template.html
templates\phone\phoneHtml.template.html
templates\phone\phoneInvision.template.html
templates\phone\phoneSlides.template.html
templates\portfolio\portfolio1.template.html
templates\portfolio\portfolio2.template.html
templates\portfolio\portfolio3.template.html
templates\postCard\postCard.template.html
templates\tablet\tablet.template.html
templates\tablet\tabletHtml.template.html
templates\tablet\tabletInvision.template.html
templates\tablet\tabletSlides.template.html
yarn.lock
─────────────────────────────────────────────────────────────────────────────────────
.github\workflows\mega-linter.yml
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.MEGA_LINTER }}
  # The next four steps should always run unless the code is in a pristine state

  - name: Create Pull Request with applied fixes
    id: cpr
    if: ${{ success() }}
    uses: peter-evans/create-pull-request@v5
    with:
      token: ${{ secrets.MEGA_LINTER }}
      commit-message: "[MegaLinter] Apply linters automatic fixes"
      title: "[MegaLinter] Apply linters automatic fixes"
      labels: bot

  - name: Create PR output
    if: ${{ success() }}
    run: |
      echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
      echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

  - name: Prepare commit
    if: ${{ success() }}
    run: sudo chown -Rc $UID .git/

  - name: Commit and push applied linter fixes
    if: ${{ success() }}
    uses: stefanzweifel/git-auto-commit-action@v4
    with:
      branch: ${{ github.event.pull_request.head.ref || github.head_ref || githu

b.ref }}
commit_message: "[MegaLinter] Apply linter fixes"
commit_user_name: megalinter-bot
commit_user_email<EMAIL_ADDRESS>token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with
the necessary permissions
  - name: Upload MegaLinter artifacts
    if: ${{ success() }}
    uses: actions/upload-artifact@v3
    with:
      name: MegaLinter reports
      path: |
        megalinter-reports
        mega-linter.log

The error message you're seeing is likely due to the `token` input not being recognized as a valid input for the `stefanzweifel/git-auto-commit-action@v4` action.

According to the [documentation](https://github.com/stefanzweifel/git-auto-commit-action) for `stefanzweifel/git-auto-commit-action`, the correct input for the token should be `github_token`, not `token`.

Here's how you can fix this:

```yaml
.github\workflows\mega-linter.yml
<<<<<<< HEAD
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
=======
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          github_token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
>>>>>>> updated

Please apply this change to your .github\workflows\mega-linter.yml file.
Committing .github\workflows\mega-linter.yml before applying edits.
Commit c2ab9fc Apply linter fixes and upload MegaLinter reports.
Malformed response #1, retrying...
InvalidEditBlock: edit failed!
.github\workflows\mega-linter.yml does not contain the exact sequence of HEAD lines
you specified.
Try again.
DO NOT skip blank lines, comments, docstrings, etc!
The HEAD block needs to be EXACTLY the same as the lines in
.github\workflows\mega-linter.yml with nothing missing!
.github\workflows\mega-linter.yml does not contain these 9 exact lines in a row:
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          branch: ${{ github.event.pull_request.head.ref || github.head_ref ||
github.ref }}
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with
the necessary permissions

I apologize for the confusion. It seems there was a mistake in identifying the exact lines to be replaced. Let's try again.
The correct lines to replace are:
.github\workflows\mega-linter.yml
<<<<<<< HEAD
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
=======
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          github_token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
>>>>>>> updated

Please apply this change to your .github\workflows\mega-linter.yml file.
Committing .github\workflows\mega-linter.yml before applying edits.
Commit 1df56b3 Change token variable name in mega-linter.yml workflow.
Malformed response #2, retrying...
InvalidEditBlock: edit failed!
.github\workflows\mega-linter.yml does not contain the exact sequence of HEAD lines
you specified.
Try again.
DO NOT skip blank lines, comments, docstrings, etc!
The HEAD block needs to be EXACTLY the same as the lines in
.github\workflows\mega-linter.yml with nothing missing!
.github\workflows\mega-linter.yml does not contain these 9 exact lines in a row:
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref ||
github.ref }}
          token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with
the necessary permissions

I apologize for the confusion. It seems there was a mistake in identifying the exact lines to be replaced. Let's try again.
The correct lines to replace are:
.github\workflows\mega-linter.yml
<<<<<<< HEAD
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
=======
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          github_token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
>>>>>>> updated

Please apply this change to your .github\workflows\mega-linter.yml file.
Malformed response #3, aborting.
─────────────────────────────────────────────────────────────────────────────────────.github\workflows\mega-linter.yml

WTF aider  that the Action has to be used in a Job that runs on a UNIX system (e.  g. ubuntu-latest). If you don't use the default permission of the GITHUB_TOKEN, give   the Job or Workflow at least the contents: write permission.

The error message you're seeing is likely due to the token input not being recognized as a valid input for the stefanzweifel/git-auto-commit-action@v4 action.
According to the documentation for stefanzweifel/git-auto-commit-action, the correct input for the token should be github_token, not token.
Here's how you can fix this:
.github\workflows\mega-linter.yml
<<<<<<< HEAD
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          GITHUB_TOKEN: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions # Use a personal access token (PAT) with the necessary permissions
=======
      - name: Commit and push applied linter fixes
        if: ${{ success() }}
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "[MegaLinter] Apply linter fixes"
          commit_user_name: megalinter-bot
          commit_user_email<EMAIL_ADDRESS>          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
          github_token: ${{ secrets.MEGA_LINTER }} # Use a personal access token (PAT) with the necessary permissions
>>>>>>> updated

Please apply this change to your `.github\workflowsTraceback (most recent call last):
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 705, in _error_catcher
yield
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 1072, in read_chunked
self._update_chunk_length()
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 1007, in _update_chunk_length
raise InvalidChunkLength(self, line) from None
urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 816, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 932, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 1060, in read_chunked
with self._error_catcher():
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 155, in exit
self.gen.throw(typ, value, traceback)
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\response.py", line 722, in _error_catcher
raise ProtocolError(f"Connection broken: {e!r}", e) from e
urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Scripts\aider.exe_main.py", line 7, in
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\main.py", line 508, in main
coder.run()
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\coders\base_coder.py", line 324, in run
new_user_message = self.run_loop()
^^^^^^^^^^^^^^^
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\coders\base_coder.py", line 403, in run_loop
return self.send_new_user_message(inp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\coders\base_coder.py", line 436, in send_new_user_message
interrupted = self.send(messages, functions=self.functions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\coders\base_coder.py", line 560, in send
self.show_send_output_stream(completion)
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\aider\coders\base_coder.py", line 635, in show_send_output_stream
for chunk in completion:
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 166, in
return (
^
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 616, in
return (
^
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 111, in parse_stream
for line in rbody:
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 865, in iter_lines
for chunk in self.iter_content(
File "C:\Users\kazam\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))       `

/WTF aider is a new command :))))))

Thanks for trying aider and reporting this issue.
This looks like some sort of flakey networking error or problem with OpenAI's servers. Are you able to reproduce this, or was it a one off thing?

My first day - let's chalk it up to growing pains - for my $4 in tokens, I got valuable insight into an issue I was fighting for 1.5 days.
🙏❤

It's not so bugged as it adviced to setup MegaLinter 👼


Make GitHub recognize the MIT licence + remove the beerware clause

This pull request makes GitHub recognize the License as an MIT Licence.
Two changes are made:

Formatting has been changed
The beerware clause has been removed.

The main change is thus the removal of the beerware clause, which currently makes the Licence non OSI approved. Additionally the current formulation of the clause makes the licence restrictive, and in my interpretation a non-free licence. This is caused as the wording of the clause is currently 'YOU MUST', instead of 'YOU CAN' as per the usual FSF/DFSG approved and GPL compatible beerware licence clause.

Changing the beerware clause to a 'YOU CAN', may make it compatible with GPL and could make it approvable by the FSF/DFSG, so this is an alternative alteration to dropping the beerware clause entirely.

Thx


Game window loses focus on start, must left-click first to enable inputs

Godot version
4.0
System information
Windows 10
Issue description
Sometimes when running a scene, the game loses focus, keyboard doesn't work and mouse events get ignored, you must left click to focus on the game window and start playing.
Steps to reproduce
Run the scene several times. Sometimes it will work just fine, others you will try to move with WASD or move the mouse and nothing will happen. Left click if that happens to "solve" the issue.
These are the settings for the Window.

Minimal reproduction project
focus.zip

I'm having almost the identical issue. Reorted it in #74587 You're not alone!

Duplicate of #74587

how fix this?

Having "Resizeable" uncheck is what causes this. Turning it back on will make it focus on startup. Maybe changing the setting after starting the game if you want it to stay unsizeable?

I had an issue where Windows' taskbar showed on top of the game on exclusive fullscreen mode, even after the player clicks on the window to give it focus.
Disabling "Resizeable" fixed that too.


Caught error after npm install and white screen when refresh

I executed npm install, and the termial showed the error info below suddenly:
When press CMD+R to refresh, the screen became a whole white view, what cause this?
[12:08:53 PM] <END>   transform (322ms)
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js

When I delete the node_modules/react-native-router, it became normal.
React 0.10.0, nodejs 4.0.0

the react-native that sits in this module is out of date, you can update it yourself in the package.json.
I actually have a fork with additional improvements that I'll be publishing to npm soon, so you can also just go ahead and use that here

@MikaelCarpenter Thank you but I still have a question, why are you so smart?


method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given

Winter CMS Build: ### 1.1.3
PHP Version: 8.0.7
Database Engine: mysql
Plugins Installed: Arcane.Seo (https://github.com/quangtrongonline/Arcane-SEO), Winter.Blog

Description:

When visiting a blogpost page with Seo component this error appears.

After digging about this problem I found that "method_exists() is too strict in PHP 8". This is happening in many places wordpress, drupal, etc
Steps To Reproduce:

install wintercms (with php 8), with winter.blog and Arcane.Seo
add the Seo component to the post page

Possible solution
As proposed in Drupal patch we should bail earlier on null. I managed to pass the error by changing  public function __call($method, $parameters) in modules/cms/classes/ComponentBase by bailing earlier on null:
    public function __call($method, $parameters)
    {
        try {
            return parent::__call($method, $parameters);
        }
            catch (BadMethodCallException $ex) {
        }

        // proposed change
        if($this->controller == NULL){
            return NULL;
        }
        //end

        if (method_exists($this->controller, $method)) {
            return call_user_func_array([$this->controller, $method], $parameters);
        }

        throw new BadMethodCallException(Lang::get('cms::lang.component.method_not_found', [
            'name' => get_class($this),
            'method' => $method
        ]));
    } ```

@tospe We will look into this, however, in PHP 7.2-7.4, null would pass that condition and would go to the BadMethodCallException below, so it seems that the component itself might have an issue.

Code change would probably be if ($this->controller && method_exists($this->controller, $method)) {

The error

@tospe We will look into this, however, in PHP 7.2-7.4, null would pass that condition and would go to the BadMethodCallException below, so it seems that the component itself might have an issue.

Thank you for the fast response.
As said in in method_exists() is too strict in PHP 8 method_exists(), in php 8, only accepts an object|string as 1st argument.
I checked the component the error happens in
if (! $this->page['viewBag']) $this->page['viewBag'] = "new ViewBag";

@tospe

As said in in method_exists() is too strict in PHP 8 method_exists(), in php 8, only accepts an object|string as 1st argument.

I understand, but what I mean is that the fact that $this->controller is null at all would indicate an issue with the component.

@bennothommo

I understand, but what I mean is that the fact that $this->controller is null at all would indicate an issue with the component.

You are right. I found the issue, viewBag wasn't being called correctly.
Thank you for you help.

@tospe I'll leave this open, as we'll need to audit our method_exists usage and see if this new behaviour by PHP 8 will catch us out anywhere.

@bennothommo if you could take a look at this, looks like this issue gets the most amount of traffic according to the insights tab.


Change Features Class to Service Interface

Now that Features is a Service spec, change the status Features class to
a Service Interface
Signed-off-by: David Bosschaert<EMAIL_ADDRESS>

An option would be to rename 'Features' into 'FeatureService'

An option would be to rename 'Features' into 'FeatureService'

Yes, this makes a lot of sense.

An option would be to rename 'Features' into 'FeatureService'

Yes, this makes a lot of sense.

I've made this change now.


Enhance data retrived through API call on /users/{username}

Gitea version 1.8.2
Git version: 2.16.1
Operating system: Windows Server 2012 R2
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ x ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ x ] Not relevant

Description
Today I had to delete all the users than never connected to the plateforme (and they were quite a lot).
I realized the API call on /users/{username} didn't provide the last-user-connection info.
What about giving the API the ability to provide the user's creation and last-connection date?
http://giteaSrv/api/v1/users/mylogin
{
  "id": 1,
  "login": "mylogin",
  "full_name": "My Full Name",
  "email"<EMAIL_ADDRESS>  "avatar_url": "https://secure.gravatar.com/avatar/myavatar?d=identicon",
  "language": "en-US",
  "is_admin": false,
  "username": "myusername",
  "creation_date": "YYYY-mm-dd HH:MM:SS",
  "last_connection_date": "YYYY-mm-dd HH:MM:SS"
}

#7196 accomplishes last login

it also now includes created.

What about adding the source_id  (the authentication source) as well ?

What about adding the source_id (authentication source) as well ?

I'm working on another pull request at the moment but once that's done, I'll try this.

ref: https://try.gitea.io/api/swagger#/user/userGetCurrent
hat specific is missing?


Remove deprecated macro API usage

I needed to customize the handler macro for a personal project, so I thought it might be nice to remove deprecated API usage since I'm already there (even though I'm not much of a macro magician).

Thanks for your contribution. The changes seem to break a lot of things.
You can run the tests locally, and/or have a look at the Travis log.
Best regards.

I did run the test suites, it was just my eager renaming breaking binary compatibility. I added directories for version-specific source code in the macros subproject - the deprecated API was the only one in Scala 2.10. This seems to work quite fine on most platforms, the failures are quite cryptic to me e.g. ArrayIndexOutOfBoundsException while checking binary compatibility on Scala 2.10/oraclejdk8. Anything specific I should look into or are these unrelated?

Please squash the commits

Done.

lgtm, thanks

needs to be rebased

done

Thanks @ddworak , after the review, I suggest you update your PR according the following Gist. Best regads.

Thanks for great suggestions @cchantep! Everything should be fine now (although it seems the build was cancelled). Regards.


Unit testing

It would be good to have some unit tests to maintain the library, as you mentioned too.
The simple approach would be to upload a bunch of .ifc files for specific tests.
However, I'd argue it's also important to build those .ifc's from source code. So you are verifying a platform instead of just the platform of the developer who uploaded that specific .ifc file. So I prefer this approach.
My issue is I am not aware of a reliable way to get the path to a .ifc file from a .ixx file.
Eg Visual Studo Open Folder (so with Ninja as the build system) will follow relative subfolders to the .ifc file, and a .sln build will plonk everything in the intermediate directory.
Do you think this be abstracted in the MSVCEnvironment? we could have different defines identifying if we are running from CMake, Visual Studio, Ninja or MSBuild for example.
(Incidently this linking of an .ixx to it's .ifc file is something I need to solve for my own side project too.

Yep, basically the purpose of MSVCEnvironment is to abstract how to get path to needed .ifc.
I don't like idea to build .ifc on the fly, because it seems to be too tedious. IMO upload prebuilt .ifc with its source .ixx and short description how .ifc was built from the source should be enough. Description could contain compiler version and some important compiler options (i.e. /std:{c++20/c++23/...} and so on).
Moreover this description could be verified in test in some sense, because .ifc contains some metadata i.e. Version, Architecture, LanguageVersion, ...

I have added very very simple unit tests (CMake option BUILD_IFC_READER_TESTS). In particular I have added test for attributes reading functionality.

And test for multiple files.


Transform from Map -> Base Footprint uses a weird time transform

Not sure if my issue here is with slam-toolbox or with create_robot, but it seems like my transform from map -> base_footprint is broken.
Oddly enough, the individual transforms from Map -> Odom & Odom -> Base_Footprint work great, but going from Map -> Base_Footprint gives me the error: [INFO] [1619986350.507533125] [tf2_echo]: Waiting for transform map ->  base_footprint: Lookup would require extrapolation into the past.  Requested time 0.200000 but the earliest data is at time<PHONE_NUMBER>.813953, when looking up transform from frame [base_footprint] to frame [map]
Using the foxy-ci branch here.
Here's an image of the relevant part of my transform map:

Wondering if anyone has seen something like this before

To solve this error, I just had to call nav2 with the argument use_sim_time:=false
Now that I've done this, everything seems to be working completely fine.


Use cookies on user login

Issue  📐

**I Roei have worked for #261 **

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

**My pull request closes #261 **

Sorry for the mess, I accidentally pushed commits for a different issue, but I fixed it.


Batch inserts

Hi.
I noticed the plugin issues one insert statement per event.
Would it be possible for the plugin to implement batch inserts? It would increase insert throughput and reduce server load considerably for large workloads.
Maybe something like this: https://www.tutorialspoint.com/jdbc/jdbc-batch-processing.htm

is there any way we can increase pipeline worker thread size to achieve the same thing until the enhancement is done?

Increase the number of logstash workers (and ensure you have the same +1 connection pool size) and it should increase the output as long as your sql server can keep up. Or at least that’s what ligstash used to do. I have not needed to tweak this myself and I have not kept on top of this.

I had a need for batching using both safe and unsafe statements with retry support.  Changes have been added to my fork at: https://github.com/ibspoof/logstash-output-jdbc/tree/add_batching if my implementation looks good I can file a MR.

Looks good on paper, but I’ve not tried it out (I’m away from home and office today). Only thing that’s probably missing are some specs, but if you wish I can probably add some. If you want to have a go feel free.
Whenever you’re ready file the MR, regardless I’ll try and find some time Monday to have a quick play and test

I can add specs this weekend and submit.

expect batch inserts ~~~

The main problem I see with the batch implementation @ibspoof is that you're always putting all the batch_events back on the retry list.
Depending on what errors you are either going to end up duplicating a bunch of events, or potentially not putting any in at all, if it's the first statement that fails. I believe you need to account for this by dealing with getUpdateCounts. From what I recall in the depths of my memory trying to do this for 1.x I had real problems with JDBC drivers behaving differently, and I just gave up as I didn't need it myself.


Support x509-username-field and avoid discrepancy to OpenVPN with verify-x509-name

As discussed in https://github.com/robur-coop/miragevpn/pull/89#discussion_r1347262047
        let authenticator =
          Option.fold (Config.find Verify_x509_name config)
            ~none:authenticator
            ~some:(fun peer_name ?ip ~host certs ->
                Result.bind
                  (authenticator ?ip ~host certs)
                  (fun r ->
                     match certs with
                     | [] -> Error `EmptyCertificateChain
                     | peer :: _ ->
                       let dn = X509.Certificate.subject peer in
                       if Option.equal String.equal (Some peer_name)
                           (X509.Distinguished_name.common_name dn)
                       then
                         Ok r
                       else
                         Error (`Msg "peer name mismatch")))
        in

Copying my other comment from above thread:

We can invent a new x509-username-field, say peer-name, that does what we do and have that as a default, and then we can implement parsing x509-username-field -- and then users can specify x509-username-field CN if they really want that.


Tokens generated in the UI for telegraf configurations do not have the required permissions

to repro, go through the process of creating a telegraf configuration in the UI, then generate a new token. Next, use that token in a telegraf config. The error I get is:
2020-04-15T23:09:45Z E! [outputs.influxdb_v2] when writing to [https://xxxx]: failed to write metric: unauthorized: read:orgs/03a2c4456f0f5000 is unauthorized

The permissions on my new token are:

Using an all access token works, so i can confirm it isn't an issue with my telegraf config.
The expected behavior is that the token generated in the UI for use with Telegraf has the correct permissions.


mask CSS property breaks production build

Versions
Angular CLI: 1.6.8
Node: 8.9.4
npm: 5.6.0
OS: darwin x64

Repro steps
Use mask property in *.scss file, example: .foo { mask: url('~/../src/assets/images/spinner.svg'); } and run build with production flag (ng build --prod). Prefixed property -webkit-mask causes same error.
Observed behavior
Processed is stopped by Type error:
TypeError: error.setMessage is not a function
    at LazyResult.handleError (/Users/<path>/node_modules/postcss/lib/lazy-result.js:165:23)
    at /Users/<path>/node_modules/postcss/lib/lazy-result.js:199:27
    at <anonymous>
(node:4202) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: err.showSourceCode is not a function
(node:4202) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Build without production flag (ng build) doesn't cause this error.
Desired behavior
Proper compiling process.
Mention any other details that might be useful (optional)
If this issue is more related to PostCSS (6.0.19) dependency than Angular Cli Webpack configuration file please close it.

Noticed this problem is caused by PostCSS and *.svg files in more cases (as well as using as a background-image). This comment seems to be a reason of this.


IMAP client for spamtraps?

Hi,
Do you have already an IMAP client so i can get email from my spamtraps and send it to laikad or should I just write one?
Also can you share slides or other documentations?
Thanks

Hi! I can email you slides if you provide me with contact info.
Here is the link to the white paper: http://www.lockheedmartin.com/content/dam/lockheed/data/isgs/documents/LaikaBOSS Whitepaper.pdf
@marnao would know the best answer to your other question. I don't think there is an IMAP client in this repo but I am guessing there is an IMAP client that just can't be open sourced atm.

We do not have an IMAP client but it would be pretty easy to write one in python. Please feel free to contribute it back if you decide to take that on. Others may find it useful as well.
We plan to release a milter server soon so you can integrate directly with your MTA.

@cfossace can you email slides to vsantola at gmail dot com.
I will work on the imap client and PR when done.
Thanks

@cfossace can you please send slides to chancla316 at gmail dot com? I'm just getting started with laika and that would be exetremely helpfull.

I'm interested in the milter implementation too. I try to wrote some milter with pymilter (in python :-) ).
Now I would like to attach my milter via python to the LAIKA system (via ZeroMG ?).
Something like this at the pymilter: bool response = xmg.requestToLeika(MetadataFromEmail)
Is there anybody how had implemented this "Milter2LAIKA" feature already? Or had some body a little API documentation for the client side implementation?
@cfossace can you please send me the slides too? sbidy at hotmail dot com - Thank you !!

Please share the slides with me also at<EMAIL_ADDRESS>I have just started reading about it and planning for a test implementation. Thanks


https protocol based server/client/proxy support.

Can bridge create a server/client/proxy that supports https protocol?
Regards,
Zhao

Currently, only the client is supported, the server has been put on hold due to the uncertainty of who will sign the TLS certificates.

As far as the TLS certificates are concerned, there are so many free solutions, such as the following:

I'm aware of this, but the original design had this behind the reverse proxy.
If support this, I'd have to consider the case of other protocols with TLS in https://github.com/wzshiming/anyproxy


Adding community workflow

Adds a workflow to label issues filed by non-tt org accounts with the "community label" and then ping a TT slack channel.

This workflow is already working as is on forge-fe and tt-mlir. Push is not needed based off the other workflows.

@staylorTT I don't see how will those lines ever be triggered if push is missing from the on: list. See this: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#using-a-single-event
Do you actually get notifications on slack that a non-org member has pushed something? Also the message would be a bit weird in that case: A new push has been created by a non-org member


[7.x] Throw an exception when APP_KEY is missing in .env

When the key 'APP_KEY' is missing in the .env file, the command should
fail and not print 'Application key set successfully.'

I have no plans to add more code to this command.


Performance Implications?

Hi,
I migrated my app from a simple Flux app to marty and react-router. After that migration and some refactoring I am experiencing a heavy performance loss. I am mainly concerned with page transitions that are especially on android phones very laggy. Almost unbearable.
I have already tried a lot to optimize, but the general thing is something I cant get my head around, since its almost the same app with same data / views etc, but now its just very laggy. I don't think that marty or something itself is slow, but maybe a heavy use of marty containers or something would make the app slow.
Has someone maybe some advice. I have already done all the normal react optimization and even with 2 days of work to optimize the rendering of a single view tree is not having a real impact compared to how the app worked out of the box before.

As a general rule it's not a bad idea to limit the number of event emitters. Where does the profiler say time is going?

I am puzzled by this a lot. One of the confusing thins is as simple as showing the wasted time in renders. Where I see that one component is rendered several times where it did not end up in changing the dom. And this component seems slightly expensive. The issue is, when debugging it the component is exactly rendered once and shouldComponentUpdate, is not called at all during the transaction I am tracking.
I even created an issue for it, but could not yet reproduce it in a simpler environment:
https://github.com/facebook/react/issues/4462


Remove overlap between titles on tables

Fix #35
To resolve this issue I've follow what was decided for qiskit.org (go to this section in a small screen and see the scroll) to start unifying styles. Instead of wrapping the titles on the header, I've set a scroll bar.
Notice that I've also set a max heigh to the table to be able to see the horizontal scroll, if you think we should show all the table, just let me know and I will revert that change:

Other useful comments:

The page where I've tested the code doesn't belongs to this repo and that is why I took screenshots instead of uploading that code. To see the scrolls with another example, go to /_build/html/lists_tables.html#toc-entry-15 with small screen after building the docs
I've also added an option to the conf.py file to tell sphinx where is the theme it should use. Without that, it goes to other folders (/usr/local/lib/python3.9/site-packages/ in my case) and use other version of the theme, so you probably won't be able to see the changes you are doing on the theme

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


[BUG] crc setup failed during Windows installation even after multiple reboots

General information

OS: Windows 11 Pro
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes)? but fails
Running CRC on: Laptop

CRC version
CRC version: 2.25.0+97705a
OpenShift version: 4.13.6
Podman version: 4.4.4

CRC status
DEBU CRC version: 2.25.0+97705a
DEBU OpenShift version: 4.13.6
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
crc does not seem to be setup correctly, have you run `crc setup`? => have done run `crc setup` but failed

CRC config
- consent-telemetry                     : yes

Host Operating System
Host Name:                 ANDIKAOPP
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner<EMAIL_ADDRESS>Registered Organization:   N/A
Product ID:                00330-81478-18743-AA492
Original Install Date:     18/05/2023, 23:41:17
System Boot Time:          07/09/2023, 13:46:20
System Manufacturer:       LENOVO
System Model:              82U9
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 154 Stepping 3 GenuineIntel ~2100 Mhz
BIOS Version:              LENOVO K2CN36WW, 07/03/2023
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+07:00) Bangkok, Hanoi, Jakarta
Total Physical Memory:     16.108 MB
Available Physical Memory: 8.339 MB
Virtual Memory: Max Size:  24.044 MB
Virtual Memory: Available: 15.420 MB
Virtual Memory: In Use:    8.624 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\ANDIKAOPP
Hotfix(s):                 3 Hotfix(s) Installed.
                           [01]: KB5028948
                           [02]: KB5029351
                           [03]: KB5028756
Network Card(s):           3 NIC(s) Installed.
                           [01]: Intel(R) Wi-Fi 6E AX211 160MHz
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::e5ac:9f74:4ed2:a652
                           [02]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [03]: VirtualBox Host-Only Ethernet Adapter
                                 Connection Name: Ethernet 2
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::1b9c:42c2:faf8:de78
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

Install crc-windows-amd64.msi
reboot
Started to setup the wizard
Fillin pull-secret

Expected
Success setup and showing icon tray openshift
Actual
Error:
Setup failed. Error: 'Make sure you installed crc using the Windows installer and performed required reboot '. Please restart.
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
Machine does not exist. Use 'crc start' to create it

$ crc cleanup
INFO Removing the daemon task
INFO Removing the daemon task powershell script
INFO Removing crc's virtual machine
INFO Removing CRC Specific entries from user's known_hosts file
INFO Removing hosts file records added by CRC
INFO Removing pull secret from the keyring
INFO Removing older logs
exit status 1
remove C:\Users\andik\.crc\bin\hidden_daemon.ps1: The system cannot find the file specified.
Post "http://unix/clean": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

$ crc setup
INFO Using bundle path C:\Users\andik\.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle
INFO Checking minimum RAM requirements
INFO Checking if current user is in crc-users and Hyper-V admins group
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if C:\Users\andik\.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle exists
INFO Checking if the daemon task powershell script is present
INFO Creating the daemon task powershell script
INFO Checking if the daemon task is installed
INFO Checking if the daemon task is running
INFO Running the daemon task
Temporary error: daemon is not running yet (x8)

$ crc setup with run crc daemon in another powershell
INFO Using bundle path C:\Users\andik\.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle
INFO Checking minimum RAM requirements
INFO Checking if current user is in crc-users and Hyper-V admins group
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if C:\Users\andik\.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle exists
INFO Checking if the daemon task powershell script is present
INFO Checking if the daemon task is installed
INFO Checking if the daemon task is running
INFO Running the daemon task
INFO Checking admin helper service is running
Make sure you installed crc using the Windows installer and performed required reboot

$ crc start --log-level debug
DEBU CRC version: 2.25.0+97705a
DEBU OpenShift version: 4.13.6
DEBU Podman version: 4.4.4
DEBU Running 'crc start'
DEBU Total memory of system is<PHONE_NUMBER>4 bytes
DEBU No new version available. The latest version is 2.25.0
DEBU Checking file: C:\Users\andik\.crc\machines\crc\.crc-exist
INFO Checking minimum RAM requirements
DEBU Total memory of system is<PHONE_NUMBER>4 bytes
INFO Checking if running in a shell with administrator rights
DEBU Running '$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent());$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)'
INFO Checking Windows release
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
INFO Checking Windows edition
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
DEBU Running on Windows Professional edition
INFO Checking if Hyper-V is installed and operational
DEBU Running '@(Get-Wmiobject Win32_ComputerSystem).HypervisorPresent'
DEBU Running '@(Get-Service vmms).Status'
INFO Checking if Hyper-V service is enabled
DEBU Running '@(Get-Service vmms).Status'
INFO Checking if crc-users group exists
DEBU Running 'Get-LocalGroup -Name crc-users'
INFO Checking if current user is in crc-users and Hyper-V admins group
DEBU Running '(Get-LocalGroupMember -Group 'crc-users').Name'
DEBU Checking current user is in the 'crc-user' group
DEBU group members: ANDIKAOPP\andik
DEBU Running '(Get-LocalGroupMember -SID 'S-1-5-32-578').Name'
DEBU Checking current user is in the 'Hyper-v Administrators' group
DEBU group members: ANDIKAOPP\andik
INFO Checking if vsock is correctly configured
DEBU Running 'Get-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\GuestCommunicationServices\00000400-FACB-11E6-BD58-64006A7986D3"'
INFO Checking if the daemon task powershell script is present
INFO Checking if the daemon task is installed
DEBU Running 'Get-ScheduledTask -TaskName crcDaemon'
DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").Version'
INFO Checking if the daemon task is running
DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").State'
DEBU expected crcDaemon task to be in 'Running' but got 'Ready
'
WARN Preflight checks failed during `crc start`, please try to run `crc setup` first in case you haven't done so yet
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
expected crcDaemon task to be in 'Running' but got 'Ready'

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

@andikaopp you might be facing the issue #3812, can you please try the following commands and then run crc setup again? This should fix the crcDaemon task not in Running but in Ready state problem.
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
PS> crc.exe setup --log-level debug

from the logs, the Admin Helper service is also not running, can you verify from the Windows Service Manager if a service named "Red Hat OpenShift Local Admin Helper" is installed?

"Red Har Openshift Local Admin Helper" was installed and run in my services

when i run crc setup again after running above command, showing like this

@andikaopp Can you please share the o/p of: crc setup --log-level debug debug logs should have a bit more information as to why even after daemon and admin-helper running  its again asking for a reboot

C:\Users\andik>crc setup --log-level debug
DEBU CRC version: 2.25.0+97705a
DEBU OpenShift version: 4.13.6
DEBU Podman version: 4.4.4
DEBU Running 'crc setup'
INFO Using bundle path C:\Users\andik.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle
INFO Checking minimum RAM requirements
DEBU Total memory of system is<PHONE_NUMBER>4 bytes
INFO Checking if current user is in crc-users and Hyper-V admins group
DEBU Running '(Get-LocalGroupMember -Group 'crc-users').Name'
DEBU Checking current user is in the 'crc-user' group
DEBU group members: ANDIKAOPP\andik
DEBU Running '(Get-LocalGroupMember -SID 'S-1-5-32-578').Name'
DEBU Checking current user is in the 'Hyper-v Administrators' group
DEBU group members: ANDIKAOPP\andik
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if C:\Users\andik.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle exists
DEBU C:\Users\andik.crc\cache\crc_hyperv_4.13.6_amd64.crcbundle exists
INFO Checking if the daemon task powershell script is present
INFO Checking if the daemon task is installed
DEBU Running 'Get-ScheduledTask -TaskName crcDaemon'
DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").Version'
INFO Checking if the daemon task is running
DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").State'
INFO Checking admin helper service is running
DEBU Running '(Get-Service crcAdminHelper).Status'
DEBU Get "http://unix/version": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Make sure you installed crc using the Windows installer and performed required reboot

Do you have an application firewall installed?

It seems the admin-helper service is running, but the named pipe is not accessible, which should not happen, can you please also use this tool: https://learn.microsoft.com/en-us/sysinternals/downloads/accesschk and run the following command (unfortunately i couldn't find a way to get the permissions using powershell cmdlets)
PS> .\acceesschk64.exe \pipe\crc-admin-helper

it should give you the following o/p: (members of the crc-users should have RW access to the named pipe)

i have been trying that command, but i have some errors like this
my question: where can i get the path of \pipe\crc-admin-helper ? because from this error like not found the spesific file

this is a named pipe path, and it is not present in the filesystem, the Red Hat OpenShift Local Admin Helper service should create this, so make sure if the service is running. (you can see all the named pipes on the system using ls \\.\Pipe\)
am unable to reproduce these issues on a clean windows 11 installation, have you tried uninstalling and re-installing the MSI, and see if that helps..

@andikaopp are you using crc alone or with Podman desktop and the OpenShift Local extension?

I had the same issue on Windows 10 with crc latest version. Went back to older versions. 2.18.0 was the first version which didn't say "Make sure you installed crc using the Windows installer and performed required reboot"

Update: 2.18.0 started correctly but I couldn't open the console. It turned out my hosts file wasn't updated. Maybe caused by one of 2 reasons, it wasn't writable for my user and it was huge (I used the one from https://winhelp2002.mvps.org/hosts.htm). After replacing the hosts file with the windows default and giving my user write access the console started without problem. Then I removed 2.18.0 and started again with latest (2.26.0). No problems there, all went smoothly. So maybe @andikaopp your issue is also related to the c:\windows\system32\drivers\etc\hosts file

@andikaopp can you please try the latest (v2.33.0) release and see if that fixes your issues

Sure! Here is the translation:
Hello everyone, I had the same error. I solved it by following these steps:

Uninstall CRC with the MSI.
Delete the .\crc folder.
Clean up any traces in the Appdata\roaming and local folders of Red Hat.
Finally, reinstall.


Collaboration with other people

Hello! Thanks for you plugin, I'm considering to integrate it into my workflow. The idea of persistent marks is really charming!
But do they persist when collaborating with other people? On one hand, I see it's LSP based so it may be possible. But, on the other hand, this plugin requires calling API during paste and delete meaning that the marks will be ruined once someone moves a code without these callbacks? Can you please clarify it? Seems like a real deal-breaker to me (or huge feature if it actually works).

Hi @DeadlySquad13 , I don't think this plugin is designed oriented for collaborating so I cannot guarantee that it will work in this case.


Fix scoping issue in admin products_controller

The products controller decorators scoping was not taking effect. Hence,
the decorator was not being triggered.
We noticed this issue while visiting the admin products' related tab.
The @relation_types instance variable was unset.
Fixes issue #127

Merged to master via https://github.com/spree-contrib/spree_related_products/pull/149 . Master branch supports Spree 3.1+


GO:0006950 response to stress

This term should not be used for manual annotation but there is no other term to describe response to various chemical stress.  Can you make one I can use please (response to chemical stress)?  I annotate many papers that show differential expression of sRNAs under different chemical stress conditions : e.g.. PMID26653712 fig 6.
Thank you
Joanna

I think this is accomplished by co-annotation to the response to chemical term and the response to stress term. Looking at the way the ontology is structured, the terms under the parent node are classified by the qualities that are causing the stress. Defining a term like response to chemical stress becomes problematic because it is unclear whether the stress is due to too much chemical or too little chemical. How would you use a specific term if it is not for annotation? I think at this point it might be better to capture this information in an annotation extension. At some point we will model these in Noctua as well.
@thomaspd  do you have any thoughts on this?

@thomaspd  any thoughts? Otherwise I will close with the assumption that co-annotation is the appropriate route.

There are terms for response to specific chemical stresses. See:
GO:0097533 cellular stress response to acid chemical
GO:1990451 cellular stress response to acidic pH
The authors of PMID: 26653712 use multiple pH's and it's. Not clear that the response is to stress and not simply to acidic pH except that cell proliferation declines at pH 4.5.. GO:0071468 'cellular response to acidic pH' may be the most accurate choice of terms for that paper.

I think the term requested by Ingrid would be useful...
cellular stress response to chemical is clearer than
GO:0006950	response to stress
and
GO:0042221 response to chemical
(people will  currently often use one or the other, which is inconsistent)

Apart from, we can't use GO:0006950	response to stress directly right now,
so would need to remove the restriction. I think this term is too vague for direct annotation...

I agree,
GO:0097533 cellular stress response to acid chemical
is an odd term

Hi
Did you decide to make this new term: cellular stress response to chemical?
Regards
Joanna
On 27/04/2017 14:02, Val Wood wrote:

I think the term requested by Ingrid would be useful...
cellular stress response to chemical is clearer than
GO:0006950 response to stress
and
GO:0042221 response to chemical
(people will currently often use one or the other, which is inconsistent)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/issues/13192#issuecomment-297706902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO4ydW1I79vHhAJI7Z4kBmaM8R4Bx0v7ks5r0JH6gaJpZM4Micb4.

--
Joanna Argasinska
Database Curator - Rfam
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Genome Campus,
Hinxton,
Cambridge, CB10 1SD,
United Kingdom
Tel : (+44)01223 494519

Based on this discussion and the fact that I am trying to clean up old tickets, I am making the term 'cellular response to chemical stress'. I am asserting the hierarchy manually since this area of the ontology is not fleshed out well with logical definitions. I assume that since there is a tag specifically for this area, there are plans to look at it more closely in the future.


Telegram Callback from_id and chat_id error

Home Assistant release (0.48.1):
Python release (Python 3.6.1):
Telegram/callback:
Description of problem:
Can't send to image message to telegram group on callback responce. From the logs I can see that from_id and chat_id have = instead of _. This functioned correctly when using user_id.
Expected:
Photo to be sent when inline keyboard is clicked.
Jul 13 10:38:51 Media hass[14908]: 2017-07-13 10:38:51 INFO (MainThread) [homeassistant.core] Bus:Handling <Event telegram_callback[L]: user_id=103778131, from_first=Josh, from_last=Fowler, data=/win, message=message_id=402, from=id=380284543, first_name=Glitchbusters Home Assistant, username=GlitchbustersHAbot, chat=id=-219222317, title=Home Automation Testing, type=group, all_members_are_administrators=True, date=1499935434, text=Random Word

alias: 'Telegram bot for winner'
id: Telegram win bot
hide_entity: false
trigger:
platform: event
event_type: telegram_command
event_data:
command: '/word'
args:
- 'test'
action:

service: telegram_bot.send_message
data_template:
title: 'Random Word'
target: '{{ trigger.event.data.chat_id }}'
message: 'This random words winner is {{ trigger.event.data.from_first }} with {{ trigger.event.data.text }}. Use /win to claim your prize.'
inline_keyboard: [[["Click here for winner prize!", "/win"]]]

id: telegram_win
alias: Telegram bot for win
hide_entity: false
trigger:
platform: event
event_type: telegram_callback
event_data:
data: /win
action:
service: telegram_bot.send_photo
data_template:
target: '{{ trigger.event.data.chat_id }}'
url: http://www.popular-mag.com/wp-content/uploads/a7545babeea20443bc592608c9a02643-1487887103.gif
caption: Dick pic
file: /tmp/picture.gif

Please let me know if any more information is needed.

Hi @drgnomage, it seems it's failing with groups, and the chat_id attribute is not present.
You can reach the group id target with {{ trigger.event.data.message.chat.id }}  instead of {{ trigger.event.data.chat_id }}.
(data.message contains the original message with the button pressed).
I'll make a small PR to fix this, thanks for reporting it!


du: fix --apparent-size on ext4

Fixes #1292

Have you tested this on e.g. macOS?

The bug was also present in MacOS and the pull request fixes it for me, tested just now.

@JJJollyjim by that logic and with that PR https://github.com/uutils/coreutils/pull/1297 it will work same way as with -b not sure if that should be so.

@JJJollyjim I think this needs to be rebased before they can merge it?

Sorry it's taken so long to get back to this.  I'll be going through the other PRs and issues in the next few days.  Closed due to merging #1311.


Good stuff

Hi @TotalVerb
This is a nice package. I have a private repo with very similar functionality I was hoping to OS at some point, but I think your implementation is better than mine :+1: :sweat_smile:
I also have a similar Countries.jl package based on ISO that handles regions, etc. Any interest in joining forces?
I'm happy to make you an owner/admin of JuliaFinance if you're interested in pooling resources.

https://github.com/JuliaFinance/Roadmap/issues/1

JuliaFinance is distinct from JuliaQuant in that I'm interested in more boring stuff like accounting, banking transaction APIs, balance sheet projections, etc.
Cheers

I would be happy to join your effort! I have also been looking a good accounting library. I started on one here but it did not turn out well, partially because I do not have any actual accounting knowledge. (That library was an attempt at rewriting something like GnuCash with more modern technologies.)
My knowledge of finance is a bit better than my knowledge of accounting, though I don't have any formal training.