With the error event handler, no way to see underlying error

    eventSource.addEventListener("error", (e: SSEvent) => {
       console.log(`event: ${JSON.stringify(e)}`);
    });

When our endpoint returns Http 429, with a content body something like..
{
    "message": "Usage rate limit exceeded for orgId=xxxxxxxx"
}

The SSEvent looks like
{
  "isTrusted": false,
  "source": {
    "INITIALIZING": -1,
    "CONNECTING": 0,
    "OPEN": 1,
    "CLOSED": 2,
    "url": "/api/v1/chats/xxxxx",
    "headers": {
      "Content-Type": "application/json; charset=utf-8"
    },
    "payload": "{\"test\":\"Hello world\"}",
    "method": "POST",
    "withCredentials": true,
    "debug": false,
    "FIELD_SEPARATOR": ":",
    "listeners": {
      "tool.call": [
        null
      ],
      "message.delta": [
        null
      ],
      "error": [
        null
      ],
      "abort": [
        null
      ],
      "readystatechange": [
        null
      ]
    },
    "xhr": {},
    "readyState": 2,
    "progress": 0,
    "chunk": "",
    "lastEventId": ""
  }
}

There is no hint of the actual underlying error, it would be nice if this was returned in the SSEvent for the error handler

The error event will have the following fields:

responseCode: the HTTP response code of the failed HTTP request
data: the response body of the failed HTTP request (that's what you're after!)
source: the SSE instance itself

You should see those fields on the error event that gets fired:


Docs: Fix revision based replication min version

Merkle tree replication is not in 3.7 GA, updating the minimum version number in which collections will be compatible in DocuBlock hint.
Note: it's not decided whether it will land in 3.8.0 or another release.

Merged for now, reminder ticket: https://arangodb.atlassian.net/browse/DOC-62


[DOCS]

How can the documentation be improved?
We could have some videos from community inside docs, it could encourage to create content then the community will grow faster!
At community we could have tutorials, and there we have a lists or some thumbnails showing this videos from community.

Nope, it's the exactly thing I was meaning! It's incredible, thanks!

Sure thing!


EMC Link Integer Overflow Bug

As of Project Expansion 1.16.5-1.0.18 for Minecraft 1.16.5, it is possible to get so much EMC so as to make it so the amount of the requested item you can afford rolls past 31 bits, causing a signed integer overflow and the following code to assume you don't have enough EMC since emc.divide(BigInteger.valueOf(cost)).intValue() < 1:
https://github.com/DonovanDMC/ProjectExpansion/blob/a7ae6a94033e2a230036fed99acb0ec06607d1de/src/main/java/cool/furry/mc/forge/projectexpansion/tile/TileEMCLink.java#L313-L322
To reproduce:

Give yourself a billion EMC: emc add @s<PHONE_NUMBER>
Place down an EMC Link and set it to output stone or any other item worth 1 EMC.
Try to take items out of the EMC link.
Repeat steps 1-3 until you get a not enough EMC error message.

Just tested this myself and it does in fact prevent you from taking out the item(in this case im using stone)

Fixed

1.16
1.15


dpinger fails to start with DHCPv6 on WAN

If WAN is set to DHCPv6 (with options "Request only an IPv6 prefix", "Prefix delegation size 60") dpinger fails to start with a PHP Error.
In my case WAN gets IPv6 fe80::20d:b9ff:fe48:58bc from the cable modem.
Workaround: set "Monitor IP" on the WAN_DHCP6 Gateway to some reachable IPv6 Address
OPNsense 19.7

I have the same issue, it affects all gateways with link-local addresses (including static ones): https://forum.opnsense.org/index.php?topic=13515.0
Seems to be caused by improper handling of zone indices. Worked in 19.1.

Same here.
I had suddenly 2 stopped instances of dpinger for WAN_DHCP6 which can't work.
My workaround so far was disabling interface, delete the double entries for gateways, reboot, enabling interface, gateway monitoring off.

There's something more going on with the gateways and giving priority.
I played a bit around and noticed that I can't set priority for dynamically created GWs over PPPoE. ipv4 and ipv6 GWs are set to 254 after connection goes up.
I changed to lower level (50) to give my PPPoE higher prio. It doesn't let me do this, because far gateway is unticked (GW-IP from ISP). Second try with activating far gateway does create a new gateway (with GW-IP given from ISP set to static) and whole connection goes nuts, because both dynamically created GWs are completely gone.
I deactivated PPPoE-IF completely and you can see (red dot) the leftover GW-IP.
Second thing is wrong displaying in WebIF. vigornic shows as active, but never was ticked as upstream-GW, but gw_winsim is.
Change default gw is activated under system->settings if that info is needed.

Seems to be fixed in 19.7.1 (well, works for me). I guess this line from the changelog refers to it:
system: scoped IPv6 "%" could confuse mwexecf(), use plain mwexec() instead
Can someone confirm and close?

Yeah, works now for me, too but I have now a new one with 2 WANs. :)
-> https://github.com/opnsense/core/issues/3601

Thanks for confirming.


clean: remove news log statements

Do not worry about the npm error that will be fixed in the podcast api test PR.


Support artifactRepositoryRef in templates

Summary
A artifactRepositoryRef can currently only be set on Workflow level. It allows to define a specific artifact store per workflow. It cannot be used to define a specific artifact repository per template. In the template context the full artifact repo configuration has to be set.
My suggestion is to support artifactRepositoryRef in templates.
:warning: pseudo config :warning:
[...]
outputs:
  artifacts:
    - name: message
      path: /tmp
      artifactRepositoryRef:
        configMap: my-cm
        key: my-key

Use Cases
My main use case currently is to separate the archiveLogs (main logs) and general output artifacts into a different artifact stores (s3 buckets). As said, it is possible already but I have to add the full s3 bucket config for each object I want to store in a different bucket which is kind of messy.
There are also other use cases in my mind mainly just cause it’s easier to set s3 bucket permissions than s3 object permission. So in my case it's mainly a data security thing.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

This seems like a good idea. Would you like to submit a PR to add?


Re-saving models that use custom code breaks

Found this when adding MLEM to example-get-started. Looks like re-saving the same model tries to load code from script it sees in the same folder (featurization.py) instead of taking it from the .mlem model file. Error log:
example-get-started-gto (add-mlem) $ python src/bug.py                                                                                7.232s
Traceback (most recent call last):
  File "/Users/aguschin/Git/iterative/mlem/mlem/utils/module.py", line 456, in wrapper
    source = dill.source.getsource(obj)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/source.py", line 374, in getsource
    lines, lnum = getsourcelines(object, enclosing=enclosing)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/source.py", line 345, in getsourcelines
    code, n = getblocks(object, lstrip=lstrip, enclosing=enclosing, locate=True)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/source.py", line 271, in getblocks
    lines, lnum = findsource(object)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/source.py", line 215, in findsource
    line = lines[lnum]
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/aguschin/Git/iterative/example-get-started-gto/src/bug.py", line 5, in <module>
    save(
  File "/Users/aguschin/Git/iterative/mlem/mlem/telemetry.py", line 50, in inner
    return f(*args, **kwargs)
  File "/Users/aguschin/Git/iterative/mlem/mlem/core/metadata.py", line 122, in save
    meta = get_object_metadata(
  File "/Users/aguschin/Git/iterative/mlem/mlem/core/metadata.py", line 53, in get_object_metadata
    return MlemModel.from_obj(
  File "/Users/aguschin/Git/iterative/mlem/mlem/core/objects.py", line 781, in from_obj
    mlem_model.add_processor(MAIN_PROCESSOR_NAME, mt)
  File "/Users/aguschin/Git/iterative/mlem/mlem/core/objects.py", line 805, in add_processor
    self.requirements += model_type.get_requirements().expanded
  File "/Users/aguschin/Git/iterative/mlem/mlem/core/model.py", line 341, in get_requirements
    ) + get_object_requirements(self.model)
  File "/Users/aguschin/Git/iterative/mlem/mlem/utils/module.py", line 641, in get_object_requirements
    a.dump(obj)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/_dill.py", line 394, in dump
    StockPickler.dump(self, obj)
  File "/Users/aguschin/.pyenv/versions/3.9.5/lib/python3.9/pickle.py", line 487, in dump
    self.save(obj)
  File "/Users/aguschin/Git/iterative/mlem/mlem/utils/module.py", line 612, in save
    return super().save(obj, save_persistent_id)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.9/site-packages/dill/_dill.py", line 388, in save
    StockPickler.save(self, obj, save_persistent_id)
  File "/Users/aguschin/.pyenv/versions/3.9.5/lib/python3.9/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
  File "/Users/aguschin/Git/iterative/mlem/mlem/utils/module.py", line 474, in wrapper
    raise Exception(
Exception: Cannot parse code for <function preprocess_texts at 0x132553820> from /Users/aguschin/Git/iterative/example-get-started-gto/src/featurization.py

Setting p1 since I think it can be a relatively frequent problem.
You can also repro this if you run dvc repro. Then saving in src/train.py will fail.

The code is here https://github.com/aguschin/example-get-started/pull/2

Ok, so as discussed with @mike0sv, it's because MLEM imports preprocess_texts func from featurization.py. Then Python executes the script in order to do the import, and since the script is not invoked with right args, that fails. I wonder if we could not dump the script as a whole, but instead do things recursively: if preprocess_texts needs something, we serialize it and only it. Then you wouldn't need to do from featurization import preprocess_texts.
For now I'll add if __name__ == "__main__": part to example-get-started in order to fix this. But in future we can try to do serialization in a smarter way if possible.

Ok, I was trying to work around that. I ended up with this https://github.com/aguschin/example-get-started-mlem/pull/1, which still don't work:
$ dvc repro
...
Exception: Cannot parse code for <function preprocess_texts at 0x13f9aaf70> from /Users/aguschin/Git/iterative/example-gs/src/featurization.py
ERROR: failed to reproduce 'train': failed to run: python src/train.py data/prepared preprocessing model.pkl, exited with 1

see the script https://github.com/aguschin/example-get-started-mlem/blob/add-mlem/src/featurization.py
So, the problem, as I get it: now script has this structure:
...
if __name__ == "__main__":
    bag_of_words = ...
    tfidf = ...
    def preprocess(x):
        return tfidf.transform(bag_of_words.transform(x))

    mlem.api.save(preprocess, "preprocessing", sample_data=texts)

and save fails due to preprocess being hidden in if __name__ == "__main__". But! You can define preprocess only after you fitted bag_of_words and tfidf. So I just can't understand how one can use MLEM in this scenario now. We should come up with some decent workaround or fix this, I believe.

Also, I just can't understand this well enough. If I save a custom model in a Jupyter notebook, will loading it re-run all the notebook, @mike0sv? This looks like a really unwanted behavior.

No, notebooks cannot be saved as a requirement. So, if it breaks, it will break either when you save custom code from the notebook (eg mlem cannot parse source code to create the requirement) or when you load the model (it will try to find code from the notebook but it isn't there)

This may be resolved by if __name__ == "__main__" as discussed in #623, need to recheck

@mike0sv btw was you able to TAL at https://github.com/aguschin/example-get-started-mlem/blob/add-mlem/src/featurization.py to maybe suggest how that should work best considering what's implemented in MLEM already?


Install flutter project on windows 10

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I cant run flutter doctor
Actual results
I cant run flutter doctor
Logs
Logs

The system cannot find the path specified.

Oops; flutter has exited unexpectedly: "Null check operator used on a null value".
A crash report has been written to E:\Tak_App\flutter_15.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+Null+check+operator+used+on+a+null+value

To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports

Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank
you!
https://github.com/flutter/flutter/issues/new?title=%5Btool_crash%5D+_TypeError%3A+%28%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%29&body=%23%23+Command%0A%60%60%60%0Aflutter+doctor%0A%60%60%60%0A%0A%23%23+Steps+to+Reproduce%0A1.+...%0A2.+...%0A3.+...%0A%0A%23%23+Logs%0A_TypeError%3A+%28%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%29%0A%60%60%60%0A%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%0A%231++++++CachedArtifact.update+%28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A812%3A11%29%0A%232++++++Cache.updateAll+%28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A679%3A24%29%0A%3Casynchronous+suspension%3E%0A%233++++++FlutterCommand.verifyThenRunCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1566%3A7%29%0A%3Casynchronous+suspension%3E%0A%234++++++FlutterCommand.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1297%3A27%29%0A%3Casynchronous+suspension%3E%0A%235++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%236++++++CommandRunner.runCommand+%28package%3Aargs%2Fcommand_runner.dart%3A212%3A13%29%0A%3Casynchronous+suspension%3E%0A%237++++++FlutterCommandRunner.runCommand.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A339%3A9%29%0A%3Casynchronous+suspension%3E%0A%238++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%239++++++FlutterCommandRunner.runCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A285%3A5%29%0A%3Casynchronous+suspension%3E%0A%2310+++++run.%3Canonymous+closure%3E.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Frunner.dart%3A115%3A9%29%0A%3Casynchronous+suspension%3E%0A%2311+++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%2312+++++main+%28package%3Aflutter_tools%2Fexecutable.dart%3A90%3A3%29%0A%3Casynchronous+suspension%3E%0A%60%60%60%0A%60%60%60%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Flutter+%28Channel+stable%2C+3.13.6%2C+on+Microsoft+Windows+%5BVersion+10.0.19045.3570%5D%2C+locale+en-US%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+version+3.13.6+on+channel+stable+at+C%3A%5Cflutter%5Cflutter%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Upstream+repository+https%3A%2F%2Fgithub.com%2Fflutter%2Fflutter.git%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Framework+revision+ead455963c+%283+weeks+ago%29%2C+2023-09-26+18%3A28%3A17+-0700%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Engine+revision+a794cf2681%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Dart+version+3.1.3%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+DevTools+version+2.25.0%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Windows+Version+%28Installed+version+of+Windows+is+version+10+or+higher%29%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Android+toolchain+-+develop+for+Android+devices+%28Android+SDK+version+33.0.2%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Android+SDK+at+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CAndroid%5CSdk%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Platform+android-33-ext4%2C+build-tools+33.0.2%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+ANDROID_HOME+%3D+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CAndroid%5CSdk%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+binary+at%3A+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%5Cjbr%5Cbin%5Cjava%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.15%2B0-b2043.56-8887301%29%0D%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+All+Android+licenses+accepted.%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Chrome+-+develop+for+the+web%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Chrome+at+C%3A%5CProgram+Files%5CGoogle%5CChrome%5CApplication%5Cchrome.exe%0A%0A%1B%5B31m%5B%E2%9C%97%5D%1B%5B39m+Visual+Studio+-+develop+Windows+apps%0A++++%1B%5B31m%E2%9C%97%1B%5B39m+Visual+Studio+not+installed%3B+this+is+necessary+to+develop+Windows+apps.%0A++++++Download+at+https%3A%2F%2Fvisualstudio.microsoft.com%2Fdownloads%2F.%0A++++++Please+install+the+%22Desktop+development+with+C%2B%2B%22+workload%2C+including+all+of+its+default+components%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Android+Studio+%28version+2022.1%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Android+Studio+at+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+android-studio-dir+%3D+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.15%2B0-b2043.56-8887301%29%0D%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+VS+Code+%28version+1.83.1%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+VS+Code+at+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CPrograms%5CMicrosoft+VS+Code%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+extension+version+3.74.0%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Connected+device+%283+available%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Windows+%28desktop%29+%E2%80%A2+windows+%E2%80%A2+windows-x64++++%E2%80%A2+Microsoft+Windows+%5BVersion+10.0.19045.3570%5D%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Chrome+%28web%29++++++%E2%80%A2+chrome++%E2%80%A2+web-javascript+%E2%80%A2+Google+Chrome+118.0.5993.71%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Edge+%28web%29++++++++%E2%80%A2+edge++++%E2%80%A2+web-javascript+%E2%80%A2+Microsoft+Edge+118.0.2088.46%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Network+resources%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+All+expected+network+resources+are+available.%0A%0A%1B%5B33m%21%1B%5B39m+Doctor+found+issues+in+1+category.%0A%0A%60%60%60%0A%0A%23%23+Flutter+Application+Metadata%0A%2A%2AType%2A%2A%3A+app%0A%2A%2AVersion%2A%2A%3A+0.0.1%2B16%0A%2A%2AMaterial%2A%2A%3A+true%0A%2A%2AAndroid+X%2A%2A%3A+false%0A%2A%2AModule%2A%2A%3A+false%0A%2A%2APlugin%2A%2A%3A+false%0A%2A%2AAndroid+package%2A%2A%3A+null%0A%2A%2AiOS+bundle+identifier%2A%2A%3A+null%0A%2A%2ACreation+channel%2A%2A%3A+stable%0A%2A%2ACreation+framework+version%2A%2A%3A+b8f7f1f9869bb2d116aa6a70dbeac61000b52849%0A%23%23%23+Plugins%0Aconnectivity_plus-3.0.4%0Adevice_info-2.0.3%0Adevice_info_plus-8.2.0%0Aflutter_plugin_android_lifecycle-2.0.9%0Ageolocator-9.0.2%0Ageolocator_android-4.1.7%0Ageolocator_apple-2.2.5%0Ageolocator_web-2.1.6%0Ageolocator_windows-0.1.1%0Agoogle_maps_flutter-2.2.5%0Agoogle_maps_flutter_android-2.4.10%0Agoogle_maps_flutter_ios-2.2.1%0Aimage_picker-0.8.7%2B2%0Aimage_picker_android-0.8.6%2B6%0Aimage_picker_for_web-2.1.12%0Aimage_picker_ios-0.8.7%2B3%0Alocation-4.4.0%0Alocation_web-3.1.1%0Apackage_info_plus-3.1.0%0Apath_provider-2.0.14%0Apath_provider_android-2.0.24%0Apath_provider_foundation-2.2.2%0Apath_provider_linux-2.1.10%0Apath_provider_windows-2.1.5%0Apermission_handler-10.2.0%0Apermission_handler_android-10.2.0%0Apermission_handler_apple-9.0.8%0Apermission_handler_windows-0.1.2%0Aplatform_device_id-1.0.1%0Aplatform_device_id_linux-1.0.0%0Aplatform_device_id_macos-1.0.0%0Aplatform_device_id_web-1.0.0%0Aplatform_device_id_windows-1.0.0%0Ashare_plus-6.3.2%0Ashared_preferences-2.1.0%0Ashared_preferences_android-2.1.0%0Ashared_preferences_foundation-2.2.1%0Ashared_preferences_linux-2.2.0%0Ashared_preferences_web-2.1.0%0Ashared_preferences_windows-2.2.0%0Asqflite-2.2.6%0Aurl_launcher-6.1.10%0Aurl_launcher_android-6.0.26%0Aurl_launcher_ios-6.1.4%0Aurl_launcher_linux-3.0.4%0Aurl_launcher_macos-3.0.5%0Aurl_launcher_web-2.0.16%0Aurl_launcher_windows-3.0.5%0Awifi_scan-0.4.0%2B1%0A%0A&labels=tool%2Csevere%3A+crash

The system cannot find the path specified.

### Flutter Doctor output

The system cannot find the path specified.

Oops; flutter has exited unexpectedly: "Null check operator used on a null value".
A crash report has been written to E:\Tak_App\flutter_15.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+Null+check+operator+used+on+a+null+value

To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports

Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank
you!
https://github.com/flutter/flutter/issues/new?title=%5Btool_crash%5D+_TypeError%3A+%28%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%29&body=%23%23+Command%0A%60%60%60%0Aflutter+doctor%0A%60%60%60%0A%0A%23%23+Steps+to+Reproduce%0A1.+...%0A2.+...%0A3.+...%0A%0A%23%23+Logs%0A_TypeError%3A+%28%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%29%0A%60%60%60%0A%230++++++MaterialFonts.updateInner+%28package%3Aflutter_tools%2Fsrc%2Fflutter_cache.dart%3A151%3A49%29%0A%231++++++CachedArtifact.update+%28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A812%3A11%29%0A%232++++++Cache.updateAll+%28package%3Aflutter_tools%2Fsrc%2Fcache.dart%3A679%3A24%29%0A%3Casynchronous+suspension%3E%0A%233++++++FlutterCommand.verifyThenRunCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1566%3A7%29%0A%3Casynchronous+suspension%3E%0A%234++++++FlutterCommand.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1297%3A27%29%0A%3Casynchronous+suspension%3E%0A%235++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%236++++++CommandRunner.runCommand+%28package%3Aargs%2Fcommand_runner.dart%3A212%3A13%29%0A%3Casynchronous+suspension%3E%0A%237++++++FlutterCommandRunner.runCommand.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A339%3A9%29%0A%3Casynchronous+suspension%3E%0A%238++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%239++++++FlutterCommandRunner.runCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A285%3A5%29%0A%3Casynchronous+suspension%3E%0A%2310+++++run.%3Canonymous+closure%3E.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Frunner.dart%3A115%3A9%29%0A%3Casynchronous+suspension%3E%0A%2311+++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%2312+++++main+%28package%3Aflutter_tools%2Fexecutable.dart%3A90%3A3%29%0A%3Casynchronous+suspension%3E%0A%60%60%60%0A%60%60%60%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Flutter+%28Channel+stable%2C+3.13.6%2C+on+Microsoft+Windows+%5BVersion+10.0.19045.3570%5D%2C+locale+en-US%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+version+3.13.6+on+channel+stable+at+C%3A%5Cflutter%5Cflutter%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Upstream+repository+https%3A%2F%2Fgithub.com%2Fflutter%2Fflutter.git%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Framework+revision+ead455963c+%283+weeks+ago%29%2C+2023-09-26+18%3A28%3A17+-0700%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Engine+revision+a794cf2681%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Dart+version+3.1.3%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+DevTools+version+2.25.0%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Windows+Version+%28Installed+version+of+Windows+is+version+10+or+higher%29%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Android+toolchain+-+develop+for+Android+devices+%28Android+SDK+version+33.0.2%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Android+SDK+at+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CAndroid%5CSdk%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Platform+android-33-ext4%2C+build-tools+33.0.2%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+ANDROID_HOME+%3D+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CAndroid%5CSdk%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+binary+at%3A+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%5Cjbr%5Cbin%5Cjava%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.15%2B0-b2043.56-8887301%29%0D%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+All+Android+licenses+accepted.%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Chrome+-+develop+for+the+web%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Chrome+at+C%3A%5CProgram+Files%5CGoogle%5CChrome%5CApplication%5Cchrome.exe%0A%0A%1B%5B31m%5B%E2%9C%97%5D%1B%5B39m+Visual+Studio+-+develop+Windows+apps%0A++++%1B%5B31m%E2%9C%97%1B%5B39m+Visual+Studio+not+installed%3B+this+is+necessary+to+develop+Windows+apps.%0A++++++Download+at+https%3A%2F%2Fvisualstudio.microsoft.com%2Fdownloads%2F.%0A++++++Please+install+the+%22Desktop+development+with+C%2B%2B%22+workload%2C+including+all+of+its+default+components%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Android+Studio+%28version+2022.1%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Android+Studio+at+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+android-studio-dir+%3D+C%3A%5CProgram+Files%5CAndroid%5CAndroid+Studio%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.15%2B0-b2043.56-8887301%29%0D%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+VS+Code+%28version+1.83.1%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+VS+Code+at+C%3A%5CUsers%5CHamze%5CAppData%5CLocal%5CPrograms%5CMicrosoft+VS+Code%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Flutter+extension+version+3.74.0%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Connected+device+%283+available%29%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Windows+%28desktop%29+%E2%80%A2+windows+%E2%80%A2+windows-x64++++%E2%80%A2+Microsoft+Windows+%5BVersion+10.0.19045.3570%5D%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Chrome+%28web%29++++++%E2%80%A2+chrome++%E2%80%A2+web-javascript+%E2%80%A2+Google+Chrome+118.0.5993.71%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+Edge+%28web%29++++++++%E2%80%A2+edge++++%E2%80%A2+web-javascript+%E2%80%A2+Microsoft+Edge+118.0.2088.46%0A%0A%1B%5B32m%5B%E2%9C%93%5D%1B%5B39m+Network+resources%0A++++%1B%5B32m%E2%80%A2%1B%5B39m+All+expected+network+resources+are+available.%0A%0A%1B%5B33m%21%1B%5B39m+Doctor+found+issues+in+1+category.%0A%0A%60%60%60%0A%0A%23%23+Flutter+Application+Metadata%0A%2A%2AType%2A%2A%3A+app%0A%2A%2AVersion%2A%2A%3A+0.0.1%2B16%0A%2A%2AMaterial%2A%2A%3A+true%0A%2A%2AAndroid+X%2A%2A%3A+false%0A%2A%2AModule%2A%2A%3A+false%0A%2A%2APlugin%2A%2A%3A+false%0A%2A%2AAndroid+package%2A%2A%3A+null%0A%2A%2AiOS+bundle+identifier%2A%2A%3A+null%0A%2A%2ACreation+channel%2A%2A%3A+stable%0A%2A%2ACreation+framework+version%2A%2A%3A+b8f7f1f9869bb2d116aa6a70dbeac61000b52849%0A%23%23%23+Plugins%0Aconnectivity_plus-3.0.4%0Adevice_info-2.0.3%0Adevice_info_plus-8.2.0%0Aflutter_plugin_android_lifecycle-2.0.9%0Ageolocator-9.0.2%0Ageolocator_android-4.1.7%0Ageolocator_apple-2.2.5%0Ageolocator_web-2.1.6%0Ageolocator_windows-0.1.1%0Agoogle_maps_flutter-2.2.5%0Agoogle_maps_flutter_android-2.4.10%0Agoogle_maps_flutter_ios-2.2.1%0Aimage_picker-0.8.7%2B2%0Aimage_picker_android-0.8.6%2B6%0Aimage_picker_for_web-2.1.12%0Aimage_picker_ios-0.8.7%2B3%0Alocation-4.4.0%0Alocation_web-3.1.1%0Apackage_info_plus-3.1.0%0Apath_provider-2.0.14%0Apath_provider_android-2.0.24%0Apath_provider_foundation-2.2.2%0Apath_provider_linux-2.1.10%0Apath_provider_windows-2.1.5%0Apermission_handler-10.2.0%0Apermission_handler_android-10.2.0%0Apermission_handler_apple-9.0.8%0Apermission_handler_windows-0.1.2%0Aplatform_device_id-1.0.1%0Aplatform_device_id_linux-1.0.0%0Aplatform_device_id_macos-1.0.0%0Aplatform_device_id_web-1.0.0%0Aplatform_device_id_windows-1.0.0%0Ashare_plus-6.3.2%0Ashared_preferences-2.1.0%0Ashared_preferences_android-2.1.0%0Ashared_preferences_foundation-2.2.1%0Ashared_preferences_linux-2.2.0%0Ashared_preferences_web-2.1.0%0Ashared_preferences_windows-2.2.0%0Asqflite-2.2.6%0Aurl_launcher-6.1.10%0Aurl_launcher_android-6.0.26%0Aurl_launcher_ios-6.1.4%0Aurl_launcher_linux-3.0.4%0Aurl_launcher_macos-3.0.5%0Aurl_launcher_web-2.0.16%0Aurl_launcher_windows-3.0.5%0Awifi_scan-0.4.0%2B1%0A%0A&labels=tool%2Csevere%3A+crash

The system cannot find the path specified.

Hi @parvinsamin. Did you follow the steps in the installation guide here https://docs.flutter.dev/get-started/install/windows??


cutecom软件基础配置发送命令行后没有返回配置OK的字样是什么问题

There are usually three possibilities.

Connect a wrong serial port.
Serial port baudrate mismatch.
Bad ending characters.

1.write the CMD into a file .
2. send file


Update parser/deparser weirdness with "function" (postgres context, but expected everywhere)

The below simple request fails its Parsing and can never be execute:
update shipment_request set   is_retired=1,  retired_ts = now(),  retired_uid = ?v WHERE reqid = ?n and is_retired=0
It fails with a NullPointerException, on 8.6.1 it is at :
"at com.novartis.opensource.yada.Parser.visit(Parser.java:275)", "at net.sf.jsqlparser.statement.update.Update.accept(Update.java:60)", "at com.novartis.opensource.yada.Parser.deparse(Parser.java:467)", "at com.novartis.opensource.yada.Parser.parseDeparse(Parser.java:393)",
The reason seems to be that the function now() has no parameter. The Parser.java code expects an list of parameters, but somewhat the empty list is coming as Null (a little before line 275?)
Please check for Nulls.
This query works with:
update shipment_request set   is_retired=1,   retired_uid = ?v WHERE reqid = ?n and is_retired=0
but that is not really valid.
An even better version of the query is:
update shipment_request set
 is_retired=1,
 retired_uid = ?v,
 retired_ts = case is_retired when 0 then now() else retired_ts end
WHERE reqid = ?n and is_retired=0

and since the parser seems to be less precise on the parsing of the case statement, it suddenly works again.
lol though.

Hello - I think JSQLParser may be may be parsing correctly, however, Yada Parser may recognize now() as a function and perhaps JSQLParser is providing the function.getParameterList() as a null instead of an empty list.
but here is a new case:
I get the same nullpointer exception with:
insert into person(user521, fullname, email)
select x.user521, x.fullname, x.email
from (select ?v as user521, ?v  as fullname, ?v as email ) as x
where x.user521 not in (select user521 from person)
alternative form below, gets the same exception:
insert into person(user521, fullname, email)
select x.user521, x.fullname, x.email
from (values(?v, ?v, ?v) as x(user521, fullname, email)
where x.user521 not in (select user521 from person)

A 2nd alternative:
insert into person(user521, fullname, email)
select *
from (values(?v, ?v, ?v) as x(user521, fullname, email)
where x.user521 not in (select user521 from person)
fails just the same
here - we have another oddity. I see no 'function' here - so what is yada Parser going to look for Expression of a Function ? Maybe JSQLParser is really confused (in 8.6.1 still) and yada Parser just inherit the confusion...

now that is quite odd - this one fails with NullPointerException in Parser.java:275 as well:
insert into person(user521,fullname,email)
SELECT distinct user521, fullname, email
from stag_study_user u
where u.studyId = ?
and u.user521 not in (select user521 from person)

Well - what do you know. .. !
I think I've spent 5 hours going around this NullPointerException, for no good reason.
I think the queries I've pasted are not failing, it is the next query - it fails before mentioning it in the logs probably.
Now I have the 2nd query in the JP batch that fails when it has been working fine all along. So in fact, the failure is on the 3rd query -- which must be:
UPDATE STUDY_PERSON_ROLE
set is_retired=1, retired_uid = ?v, retired_ts = now()
WHERE is_retired=0 and studyId = ?v and userId = ?v
The unreliability of the parser combined the opacity of this kind of error probably made me lost 3 days in the last 3 weeks --
that would not happen if I was always writing new queries, but I take long pauses  ...
this is getting hard and unwieldy... My SQL is perhaps beyond the average simple UI stuff ..
I bet this version of the query will work like a charm:
UPDATE STUDY_PERSON_ROLE
set is_retired=1, retired_uid = ?v, retired_ts = CASE is_retired when 0 then now() else retired_ts END
WHERE is_retired=0 and studyId = ?v and userId = ?v
Bingo - it parse alright. now, after finagling for 5 hours on this, I forgot the retired_uid in my payload.
It would be another 30 minutes chasing the missing column unless I had implemented a local fix for issue #99.
(the local fix is throws a RuntimeException with the actual message "could not find column retired_uid in payload" - but this is dirty fix, as it should be its own Yada exception somehow?)
without this fix, I'd get another super cryptic NullPointerException or worse.


Clarify webpack config customization

Issue: #6319
What I did
See https://github.com/storybooks/storybook/issues/6319#issuecomment-477837493
cc @kristian-puccio

@shilman Nice one, thanks!


version in master setup.py should be bumped to 1.0.6

Fixes issue #27

Hi @trown,
Thanks for catching this! For some of our projects, we've actually been moving the version number up in master so that we don't have to edit it with every patch. I'm thinking that we could do that here. Could you set the version to 1.1.0 instead of 1.06?
Thanks again!

Hi @rockymeza,
I made the suggested change to 1.1.0. Thanks for looking at this.

Thanks @trown.

Thanks @trown.


(docs) Updated find_file.rb. Now it includes where the file searching is done

After looking for a solution to a noop problem. We turned to this build-in function. After extensive testing I noticed that the file finding (find_file) is not executed on the puppet node perse.
When executing puppet like: puppet apply -v test_file.pp the find_file functions like expected with the current documentation.
However when running puppet via puppet agent -t. The find_file function only finds files that are located on the compiler.
This is differs from the current documentation.

Can one of the admins verify this patch?

Is there something I forgot to do?


how to load LanguageBind/LanguageBind_Video_Huge_V1.5_FT model

Using LanguageBindVideoTower(video_tower, args=video_tower_cfg, cache_dir='', **kwargs) doesn't work. How do I adjust the CLIPVisionTransformer to fit the LanguageBind_Video_Huge_V1.5_FT model

Hi, refer to our api, just replace the model name and it works fine.
pretrained_ckpt = 'LanguageBind/LanguageBind_Video_Huge_V1.5_FT'  # also 'LanguageBind/LanguageBind_Video'


TLS keylog support

Issue Template
Title: TLS keylog support
Description:
Add support for logging TLS session keys to file(s) or a named pipe, on a per-SNI basis, using the NSS Key Log Format.
This will enable using the keylog file with tools like Wireshark to decrypt traffic.
Config can be similar to tapping with match criteria only on SNI and only one sink format (NSS_KEY_LOG). For example, the common_config could be along these lines.
Write to per-thread keylog files for everything:
common_config:
  static_config:
    match_config:
      any_match: true
    output_config:
      sinks:
        - format: NSS_KEY_LOG
          file_per_thread:
            path_prefix: /some/keylog/path

Write to a single keylog named pipe (to some other process), only for "www.example.com":
common_config:
  static_config:
    match_config:
      sni_match:
        exact_match: www.example.com
    output_config:
      sinks:
        - format: NSS_KEY_LOG
          named_pipe: /some/keylog/pipe

Relevant Links:
NSS Key Log Format: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
Wireshark support: https://wiki.wireshark.org/TLS#TLS_Decryption
Additional examples:
NetScaler support: https://support.citrix.com/article/CTX217468 (via utility)
BIG-IP support: https://support.f5.com/csp/article/K16700 (via iRule) and https://support.f5.com/csp/article/K10209 (via utility, but appears to only support older premaster secret output)
Various tools support an "SSLKEYLOGFILE" env var

@ggreenway @lizan @PiotrSikora any thoughts here?

This is previously requested in https://github.com/envoyproxy/envoy/issues/7795
I'm OK with this as long as it is default off and configured via xDS config (not env var).

I'm planning to work on this next month.

Wondering if this was ever implemented?

also want to know if there is any progress on this feature request?

Looks like https://github.com/envoyproxy/envoy/pull/19182 is about this feature.


Exclude go binary scanner from scalibr, as it sometimes panics on python repos

Summary
I noticed this before vacation, and apparently Ozz ran into it as well.
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Manual testing along with reading the stack trace to locate the problem.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 55.214% (-0.001%) from 55.215%
when pulling 84372bef80aa508f8b9c8483b3c91abef752d69d on evankanderson:avoid-go-binary
into b4fc9e370f8d3996a4ed8fc417aeae3a8eb84bcd on mindersec:main.


Fixes #803 and re-generates Welsh household

What is the context of this PR?
Fixes #803 and re-generates Welsh household schema (it's currently broken!)
How to review

Submit each schema and check the thank-you page matches the text in #803
Check the Welsh version too.

I've created this tech debt: https://trello.com/c/zuyJtpZN/334-generate-translated-schemas-a-runtime-on-startup-build


Ability to double click on row.

Hello.
I would like the ability to double click on a row (it throw an event on a double click) when I have selectRow options set.  In my case, I am hiding the select column and just catching the onSelect event for now.
Is it possible to double click in current state?

HI @hashharvest sorry for lately reply, rowEvents support u to listen the double click event. Please do re-open this issue if the problem still remain, thanks

it actually doesn't work, nothing is happening:
   rowEvents: {       onDoubleClick: console.log,     },
Can it be somehow depend on selectRow props?


Gradle crashes on flutter run for new projects

Hello
Every time I create and run a new flutter project, gradle crashes :/
Steps to Reproduce

Create a new flutter project
Run the project

Actual results:
Launching lib\main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
   > Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for Aapt2Extractor: C:\Users\NovemberAjax\.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
         > java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax\.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 52s
[!] Gradle threw an error while trying to update itself. Retrying the update...

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
   > Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for Aapt2Extractor: C:\Users\NovemberAjax\.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
         > java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax\.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 20s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

This is what flutter doctor says
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [version 10.0.18362.657], locale fr-FR)
    • Flutter version 1.12.13+hotfix.8 at C:\src\flutter
    • Framework revision 0b8abb4724 (10 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\NovemberAjax\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.43.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.9.1

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

run command flutter clean ...
and i advice you to change your channel to master using this code flutter channel master ..
and then upgrade your flutter using this code flutter upgrade ...
and try again & let me know news ..

Hi @Alloco225
can you please run flutter upgrade --force
and provide your updated flutter doctor -v
and your flutter run --verbose
Thank you

Actually I deleted all the flutter and gradle installation folders in safe mode and reinstalled the whole thing, it fixed the issue.

The same problem is coming back..
I could run the project after I reinstalled everything but I just created a new project and gradle throws this error :
Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for Aapt2Extractor: C:\Users\NovemberAjax.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 7s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for Aapt2Extractor: C:\Users\NovemberAjax.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Flutter doctor :
[√] Flutter (Channel master, v1.18.0-6.0.pre.83, on Microsoft Windows [version 10.0.18362.657], locale fr-FR)
• Flutter version 1.18.0-6.0.pre.83 at C:\src\flutter
• Framework revision 8e5b575174 (23 hours ago), 2020-04-19 17:20:01 -0400
• Engine revision 2b75c6d111
• Dart version 2.9.0 (build 2.9.0-1.0.dev 4814f000de)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\NovemberAjax\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code, 64-bit edition (version 1.43.0)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.9.1
[√] Connected device (2 available)
• Infinix X559C             • 027451079P000445 • android-arm • Android 7.0 (API 24)
• Android SDK built for x86 • emulator-5554    • android-x86 • Android 10 (API 29) (emulator)

Hu @Alloco225
Can you please check possible solution
Thank you

Hello @TahaTesser
I checked the solution but I can't find the gradle-wrapper.properties file in any of my file system.

C:\Users{username}.gradle\wrapper only has a "dists" folder containing "gradle-5.6.2-all"

C:\Program Files\Android\Android Studio\plugins\gradle only has a "lib" folder containing "gradle-wrapper-5.2.1-sp1.jar"

I can't find the gradle-wrapper.properties

I downloaded the latest version of gradle 6.3 but can't get flutter or android studio to use it, it always downloads the 5.6.2 version causing the crash...

This file exist in you project folder inside android folder ..

Ok so i changed the gradle-wrapper.properties and after 10 long minutes assembleDebug finally compiled the apk but now the flutter commands do not respond.
When I type  flutter doctor -v in command line nothing happens..

Hi @Alloco225
Since application compiled and it takes time to load new gradle version, it depends on speed of the internet and disk speed of your computer.
Up on testing  flutter doctor -v in terminal in Android Studio and system terminal, found no issue. It's also not related to gradle
given your last message I feel safe to close this issue,
if you disagree please write in the comments and I will reopen it.
Thank you

Hello @TahaTesser
The issue isn't solved. Changing the gradle distribution url worked in the project but it doesn't in new projects.
I tried flutter clean but nothing works..
Gradle crashes "while trying to update itself" on the new projects whether the distrution url is 5.6.2 or 5.6.3.
This is error it throws :
`Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for Aapt2Extractor: C:\Users\NovemberAjax.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 6s
[!] Gradle threw an error while trying to update itself. Retrying the update...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform artifact 'aapt2-windows.jar (com.android.tools.build:aapt2:3.5.0-5435860)' to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for Aapt2Extractor: C:\Users\NovemberAjax.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\3.5.0-5435860\e8565f11a238b905299000292dded060de0317ea\aapt2-3.5.0-5435860-windows.jar.
java.io.FileNotFoundException: File does not exist: C:\Users\NovemberAjax.gradle\caches\transforms-2\files-2.1\4b75d0e191b0ddd15d720775317f913a\aapt2-3.5.0-5435860-windows

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 9s
[!] Gradle threw an error while trying to update itself. Retrying the update...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
`

Thank you all for the precious help


Is it possible to run this software on x86 devices?

I have an old thin client (Fujitsu Futro S900) with an x86 CPU on board - is it possible to run this software on this type of CPU, or is it created exclusively for ARM processors (Raspberry Pis and other ARM-based SBCs)...

In theory, yes, since portal is more or less done in php, python and unix script.
However, ADS-B software should be also compiled for x86.

One of the goals of the project is to allow the installation of software across all architectures. This is done by building everything from source. I cannot say I have tested this on x86 hardware, but it does work on both x64 and ARM with nothing specific to either except maybe AboveTustin. So as @HRmeteohub stated in theory it should work.


torch.distributed.launch is deprecated

home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
FutureWarning,
It was able to run through before, but it suddenly encountered this problem today. Please kindly take a look，thank you

Hi, what is the version  of pytorch you used ?

It is 1.8

Well, we suggest to use pytorch 1.5.
But I think what you put here it is only a Warning, it should not affect the running. Could you put more message?

/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
FutureWarning,
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py", line 193, in
main()
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py", line 189, in main
launch(args)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launch.py", line 174, in launch
run(args)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/run.py", line 713, in run
)(*cmd_args)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launcher/api.py", line 131, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/launcher/api.py", line 252, in launch_agent
result = agent.run()
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/metrics/api.py", line 125, in wrapper
result = f(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/agent/server/api.py", line 709, in run
result = self._invoke_run(role)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/agent/server/api.py", line 837, in _invoke_run
self._initialize_workers(self._worker_group)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/metrics/api.py", line 125, in wrapper
result = f(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/agent/server/api.py", line 678, in _initialize_workers
self._rendezvous(worker_group)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/metrics/api.py", line 125, in wrapper
result = f(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/agent/server/api.py", line 538, in _rendezvous
store, group_rank, group_world_size = spec.rdzv_handler.next_rendezvous()
File "/home/ubuntu/anaconda3/envs/bisenet/lib/python3.6/site-packages/torch/distributed/elastic/rendezvous/static_tcp_rendezvous.py", line 61, in next_rendezvous
multi_tenant=True,
RuntimeError: Address already in use
The servers are 3080 and 3090, and no one was using them at that time. I don't know why they still failed to run.

In your response: The servers are 3080 and 3090, and no one was using them at that time. I don't know why they still failed to run.
Can I understand that you used 2 GPUs and gave 2 different ports for these 2 GPUs?
If it is true, you should give 2 GPUs the same port.

Thank you for your answer. Does that mean I need to  reassemble the hardware?

I think I know how to fix this. Thank you


fix podInformer FilterFunc bug

If pod is scheduled by other scheduler and its phase is pending, we should update the cache otherwise kube-batch will schedule pod onto the node that has not sufficient resources and the pod will be rejected by kubelet.
/assign @k82cn

Any issue for this PR? We can not filter succeed pod out, as it should be accounted into min-available.

/lgtm
/approve


Add Darian and Steve as package maintainers.

This pull request adds @afshin and @blink1073 as maintainers for every PhosphorJS package, in line with the new governance model.

Also, please add my name/handle to every packages as well.

Sure! I thought that was explicit in the chief executive designation, but
it is sensible to make it clear on each package. I'll update the PR.
On Thu, 18 Jul 2019 at 12:26 S. Chris Colbert<EMAIL_ADDRESS>wrote:

Also, please add my name/handle to every packages as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phosphorjs/phosphor/pull/402?email_source=notifications&email_token=AABG6KMIGY2DF2LGGKU3TADQACKUFA5CNFSM4IEUZUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JBB2Y#issuecomment-512889067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABG6KPFXDL4PVK5MT6EOLTQACKUFANCNFSM4IEUZUNQ
.


MKT email test 1 Nov 4 - Nov 10 - Emails arrived with wrong subjects

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.58-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5180841
Issue reported by: Appause Internal Team
Action Performed:

Follow the instructions in TR: https://expensify.testrail.io/index.php?/runs/view/27311&group_by=cases:section_id&group_order=asc&group_id=327586
Wait 24h for the emails to arrive.
When emails arrive, check inbox for the subject.

Expected Result:
Emails should arrive each having one of the following subjects:

"Track and budget expenses"
"Manage your team's expenses with Expensify"
"Have a business expense? Get paid back with Expensify"
"Split bills with friends in Expensify"

Actual Result:
Emails arrived, all to their designated accounts, but all with the same wrong subject: "Business? Personal? Now it's both."
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/17e784c6-e1ce-4d1e-8492-f339208aeebc

View all open jobs on GitHub

Agree this looks like a problem that we should fix

Proposal
Please re-state the problem that we are trying to solve in this issue.
Marketing test emails are arriving with a single incorrect subject line, "Business? Personal? Now it's both," instead of the intended subject lines.
What is the root cause of that problem?
The marketing email system seems to be defaulting to a hardcoded subject line. Since this occurs across all email types, this suggests a system-wide configuration issue rather than a template-specific problem. The email subject line selection logic appears to be either bypassing the intended template variations or defaulting to a fallback value at a global level.
What changes do you think we should make in order to solve the problem?
We should:

Debug the email template subject line selection process to identify where the fallback subject is being used
Add error logging to understand which template is being selected
Modify the subject line assignment logic to ensure proper mapping
Add validation to prevent unintended default subject usage

What alternative solutions did you explore? (Optional)
Considered adding subject line overrides at the delivery level, but this would mask rather than fix the root cause. Also considered a full rewrite of the email template system but determined this would be unnecessarily broad in scope.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01e497aef3d9b5a081

@Beamanator, I know you're working on a project to consolidate email notifications. Do you think this issue is related to it and it will be fixed with your project?

Oofda My project w/ James is https://github.com/Expensify/Expensify/issues/421536 which is just about sending the correct links (NewDot vs OldDot) in the emails - i wonder if you're thinking about https://github.com/Expensify/Expensify/issues/435128?

Switching this to internal

Hmm there was also this PR which fixed the subject line for one specific scenario (when paying report for removed member). It won't have resolved this issue, but it may be useful

@cristipaval - have you had a chance to look at this?

@cristipaval any change of an update on this one?

I haven't had a chance to investigate this yet. I'll try to allocate some time this week.

Not overdue

Expensify/Expensify#452816

Hey @VictoriaExpensify, I doubt these 2 issues have the same root cause.

Ah the subject was changed here, I already updated the test case in TR https://expensify.testrail.io/index.php?/tests/view/5180841


Make it easy to link to sections of a page

I think this is primarily a support need, but other users might have it too.
Sometimes you need to link someone to a specific section on a page, for example:
https://design-system.service.gov.uk/styles/typography/#lists
Currently you have to right click, 'Inspect' and add the 'id' attribute to the url

We tried one approach here: anchor link icons that appear on hover:
https://github.com/alphagov/govuk-design-system/pull/295
The downside is they are not accessible to mobile users, and the icon is probably not widely understood

Another approach would be to add in-page navigation, like Elements did:
https://govuk-elements.herokuapp.com/typography/
Downside - this adds a lot of nav to the top of the page that most users might not need

Idea: Add a little dropdown menu to each heading:

Downside: the dropdown arrow could be confusing, might indicate there is more you can do that just share that section.

Trello ticket: https://trello.com/c/EOkrfNkF/1343-make-it-easy-to-link-to-a-section-on-a-page

alternative is to expose all heading levels to the search

alternative is to expose all heading levels to the search

Does that mean when I'm on a thing that I want to link to, I'd have to go to the search to search for that phrase?

Most pages in the Design System follow the same content pattern, which means the same headings are generally re-used across every page – the exception being the styles section, where headings are more likely to be unique.
I'm not sure how useful adding them into search would be because of that – seems like a lot of noise.


Incorrect root categories when extending includeFields

Current behavior

These are the default included fields for ElasticSearch category queries, as defined in the default.config file:
"includeFields": [ "id", "*.children_data.id", "*.id", "children_count", "sku", "name", "is_active", "parent_id", "level", "url_key", "url_path", "product_count", "path", "position"]
According to these fields, only the id field of each category's children_data should be loaded.
In my project I needed to implement a desktop menu which required more information in children_data, namely children_data.name and children_data.url_path.
I extended includeFields to [ "id", "children_data.id", "children_data.name", "children_data.url_path" ,"*.children_data.id", "*.children_data.name", "*.children_data.url_path", "*.id", "children_count", "sku", "name", "is_active", "parent_id", "level", "url_key", "url_path", "product_count", "path", "position"].
ElasticSearch now provided the extra fields, but the root categories suddenly disappeared in Vue Storefront. After digging through the code, I found the problem to be in the CATEGORY_UPD_CATEGORIES mutation.
When the new categories are retrieved from ElasticSearch, there is a loop going through children_data and creating slug fields recursively if the children_data.name field exists.
Responsible line: https://github.com/DivanteLtd/vue-storefront/blob/master/core/modules/catalog/store/category/mutations.ts#L25
Which uses https://github.com/DivanteLtd/vue-storefront/blob/f3c218d7a202718915d13a87f09ee57a04396c0b/core/modules/catalog/helpers/slugifyCategories.ts#L21
This problem only exists in v1.11.0+. I switched to the old slug creation code and it works. So that's where the bug is.
Old slug creation code: https://github.com/DivanteLtd/vue-storefront/blob/hotfix/v1.10.6/core/modules/catalog/store/category/mutations.ts#L21
Expected behavior

Steps to reproduce the issue

Repository

Can you handle fixing this bug by yourself?

[ ] YES
[X] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[X] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser:
OS:
Node:
Code Version:

Additional information

Thanks! @gibkigonzo can you fix this by first chance?

Hi @themreza, Wouldn't extend includeFields to [ "id" ,"*.children_data.id", "*.children_data.name", "*.children_data.url_path", "*.id", "children_count", "sku", "name", "is_active", "parent_id", "level", "url_key", "url_path", "product_count", "path", "position"] be enough for your needs? Removing extra fields without asterisk allows you to display categories correctly.

@Michal-Dziedzinski I actually tried that too. The ElasticSearch query is fine. The problem is with the processor afterwards where a slug is being created.

@Michal-Dziedzinski can you take second look at this when the slugify fails in this case as @themreza described?

@themreza any console errors?

I'm already looking for that, there are no console errors

@pkarw Yes, there aren't any errors, but just an odd behavior when new config fields are added.


Using OAuth2 Middleware with Laravel Sessions

I have a route group using api.auth middleware working nicely with OAuth2. How do I add the 'auth' middleware so that if the user is actually logged in and has a session, they can also reach that route and thus the $this->auth->user() is populated?
E.g. User accesses route via mobile app using token vs user accessing route via browser when logged in (javascript ajax call).

@lvandyk a bit confused here, but to answer your question. You can check if the user is authenticated as you have stated. Refer: https://github.com/dingo/api/wiki/Authentication#retrieving-authenticated-user

Hi jlien,
This is the controller function:
public function test() {
    echo $this->auth->user();
}

This is the route:
$api->version('v1', ['prefix' => 'v1', 'protected' => true, 'middleware' => 'api.auth'], function ($api) {
    $api->get('test', 'App\Http\Controllers\TestController@test');
});

This works perfectly with OAuth2 Authorization Header but as soon as I want to also call that route from a logged in user from a normal web login, I try update the middle to have auth as well: 'middleware' => ['api.auth', 'auth']
This does not work as the api.auth either rejects the response before it can even try the other middleware as there is not OAuth2 Authorization headers.
So what Im doing now is this:
$api->version('v1', ['prefix' => 'v1', 'protected' => true, 'middleware' => 'api.auth'], function ($api) {
    $api->get('test', 'App\Http\Controllers\TestController@test');
});

$api->version('v1', ['prefix' => 'v1', 'protected' => true, 'middleware' => 'auth'], function ($api) {
    $api->get('test', 'App\Http\Controllers\TestController@test');
});

I see the issue.
Don't use $api if you are using Laravel Auth, instead use the usual route.
\\ when using App\User
Route::group(['middleware' => ['web']], function () {  // Laravel 5.2
  Route::get('test', 'TestController@test');
});

\\ when using Oauth
$api->version('v1', ['prefix' => 'v1', 'protected' => true, 'middleware' => 'api.auth'], function ($api) {
    $api->get('test', 'App\Http\Controllers\TestController@test');
});

@lvandyk  I have encountered same situation while using contoller for both web and mobile app.
Do you have better solution for this now?

You shouldn't be trying to merge the two authentication mechanisms like that. An API route isn't meant to be viewed through a "web app". Your web app may consume your API. Basically, your regular routes should not point to an API route. That's not how it works.
If you need to hit the API route from your web app route for whatever reason, you might consider firing off an internal request.
So, from your web app:
Route::get('example', ['middleware' => ['web'], function () {
  $user = app('api.dispatcher')->as(Auth::user())->get('user');
}]);

The as method will authenticate you with the API which will allow you to use $this->auth->user() in your API controllers still. All subsequent internal requests will then be authenticated as that user.
You can use as(Auth::user())->once() to only authenticate for that request only.

@jasonlewis thanks for the heads up!

Hi Jason, the as method is exactly what I need. Thanks!

@lvandyk, sorry, that was meant to be be, not as. :stuck_out_tongue:

Haha no problem thanks!

Thank you @jasonlewis, your comments answer to my question: "Can I use Dingo API for Ajax requests, returning JSON, from the browser, checking if user is already authenticated through Laravel Session?" and the answer is "no.", if I'm not wrong. It's a pity, because this package offers everything I'm looking for.


Are variable values preserved in external (inter-file) subtable calls?

I'm currently fiddling with quite a complex NPC description generator that uses a plenty of variables.
It would make a lot of sense to split this generator into several JSON files (when the support for that materializes). Could you please confirm if the variable values are carried over when external tables from other files are used? Armed with that knowledge I would then be better prepared to plan the generator.

This sounds intriguing. Could you share some of the approach, not using variables yet

Sure! I’m currently on a tablet, so this is just a snippet pasted from my Dropbox, but this should show the principle. He’s the first gender table (the other is for special cases like constructs and maybe dwarfs):
{
"name": "gender",
"explanation": "Gender of the character.",
"entries": [
{
"m": 49,
"v": "{female age}",
"set": {
"gender": "female",
"subject": "she",
"object": "her",
"dependentpossessive": "her",
"independentpossessive": "hers",
"reflexive": "herself"
}
},
{
"m": 49,
"v": "{male age}",
"set": {
"gender": "male",
"subject": "he",
"object": "him",
"dependentpossessive": "his",
"independentpossessive": "his",
"reflexive": "himself"
}
}
]
},
The call is not returning anything directly, only the set variable values that can be used later on.
This is not the the best of examples, as in this case the call continues on to set the age, and based on that, also the substantive used for the character (a young female would get the ’substantive’ value of ”girl”, and so on.)
Anyway, this is more like a proof of concept thing, nothing even remotely finished.

No, they aren't preserved. For that we now have globals.

This was a blast from the past! Glad we have globals now, they have made generator planning (and content recycling) so much easier.
Closing this as a triumphantly solved ticket.


Expose ingress ports in guest cluster details

Customers ask for details regarding which ports are currently used by a guest cluster's ingress controller. There are two specific ports, one for HTTPS and one for HTTP.
For specs we should have in mind that there might be additional ports to be exposed.
This only affects KVM-based installations currently.

Done


Add input for folders to ignore

Is your feature request related to a problem? Please describe.
Need a way to exclude one or more folder when recursive updates are enabled.
Need to be able to ignore multiple folders
Describe the solution you'd like
When folder or a sub-folder of it is listed in ignore-folders it should not get updated package.json

Fixed in PR #36


delta in wsl not working

Hi!
First of all, thanks for the plugin.
I'm having issues with trying to use it with delta inside WSL. I've looked into the code and discovered if opts.use_delta and not is_wsl which lead me to #14, but I'm not sure why this restriction took place. While working in WSL with delta installed within it should be exactly the same workflow as if we were running via any other linux shell.
Is this restriction still relevant?
PS: it actually works fine, I've removed is_wsl check and reordered if/elseif branches to use bash right away and it works as expected, not sure if I want to use delta now (a bit too noisy for me), but the initial question stands.

Hi, no idea if it's still relevant. I've never used WSL or set up nvim on Windows, so I have no clue whatsoever.
Happy to remove the restriction if your assessment is that having it try to run delta makes WSL folks more happy than just barring them from using it 👍🏻

I'm actually not sure if it's fine to remove it right now, since I'm running nvim inside WSL, so it's "linux all the way", but I can imagine it might be quite different scenario if nvim was launched in windows and tried to use delta, that's probably the reason why there's WSL check in the first place. Anyway, I'm not confident in dropping that restriction, so it's better leave it that way, maybe someone will find this issue later on and work it out for both win/linux.
I'm closing this one, sorry for taking your time =) And thanks again for the plugin!

This is probably what I experienced here

just had this issue as well. I forked this plugin and removed it there. Works fine.
If nvim was launched in windows, but not wsl, then the check for wsl would not be relevant.
I propose to remove the restriction!


Document query behaviour for fields

Describe the content you'd like to see
Description of the current behaviour of querying fields from the database. All fields are queried, no matter which fields are part of the GraphQL query.
Additional context
There is a feature request to optimize this behaviour: https://github.com/prismagraphql/prisma/issues/2727

This is actually not the case anymore, see https://github.com/prisma/prisma/issues/2727.


Add a .travis.yml to run goapp test

This demonstrates how an App Engine app can be built and tested using Travis CI, and with a little more work could also be configured to deploy as well after tests pass.
For now the test is a no-op, but it at least demonstrates that it's possible.

I forgot about that, yeah that should work. Not sure exactly why it doesn't, I'm not sure where the raster import is coming from...
https://travis-ci.org/ImJasonH/appengine-goplus/builds/49991034


Set CXXFLAGS before configure

Checklist

[X] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ocefpaf (or someone else of the maintainers) can you take a look at this?

@dbaston this doesn't seem to have solved it.
I just created a fresh environment, ensuring it is now using build he1b5a44_1 instead of he1b5a44_0, and I still see the same slowdown in the example of https://github.com/Toblerity/Shapely/issues/847#issuecomment-593598339

Tested with
conda create -n test0 ipython geos=3.8.0=he1b5a44_0 pygeos

and
conda create -n test1 ipython geos=3.8.0=he1b5a44_1 pygeos

and the example code:
import numpy as np
import pygeos

t = np.arange(1, 10000)
arr = pygeos.points(100000*np.sin(t), 100000*np.sin(4*t))
arr2 = pygeos.buffer(arr, radius=200, quadsegs=32)
union = pygeos.union_all(arr2)

%timeit pygeos.buffer(union, radius=1)

In both cases this is giving around 3 seconds (while with a local build of GEOS master gives around 60ms)

I checked locally the GEOS 3.8.0 tag as well, and then I also get a slowdown. So it seems the "performance fix" was only commited after 3.8.0, and might be a candidate for backporting to 3.8.x (if not yet done)

The GEOS 3.8.x branch is also slow, so opened https://github.com/libgeos/geos/issues/293

@jorisvandenbossche would patching our 3.8.0 build with https://github.com/libgeos/geos/commit/1bf16cdf5a4827b483a1f712e0597ccb243f58cb help? If so I can do that now and we can add a speed test to the feedstock.

I think the plan is to release a 3.8.1 shortly, so would rather try to get it backported on the GEOS side first

OK. Ping me if you need anything on the conda-forge side.

@ocefpaf it will be fixed in 3.8.1

Awesome! We'll check the ABI and re-pin/migrate as needed.


Fix values.yaml

The nodePort option was not documented in the values.yaml file
configmapNamespaceSelector is a string, but was set to null by default

Prepares the chart for https://github.com/cert-manager/istio-csr/pull/258

/approve


[HOTFIX][SPARK-15613][SQL]Set test runtime timezone for DateTimeUtilSuite

What changes were proposed in this pull request?
With not default timezone setting in DateTimeUtilsSuite and use Timestamp.valueOf method could cause problems in a different time zone from PST. This PR fix this reported in #13652 by @robbinspg and @lw-lin
How was this patch tested?
Existed tests do that.
cc @davies

Test build #60864 has started for PR 13783 at commit f5cea66.

@adrian-wang Thanks for the PR, but there is actually a bug in toUTCTime/fromUTCTime, this PR will hide that. I created https://github.com/apache/spark/pull/13784 to fix the actual bug.

I (also) just created a PR to fix the two test cases from UTC timestamp and to UTC timestap to respect the time zones that are supposed to be used in the conversions. I had not seen @davies latest PR in time.
@davies Would it not suffice to set the (thread local) time zone in the two test cases?

Test build #60864 has finished for PR 13783 at commit f5cea66.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DateTimeUtilsSuite extends SparkFunSuite with BeforeAndAfterAll

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60864/
Test PASSed.

Closing, thx!


activerecord 4 does not have same column type data structure as AR 5

need to make column types module check and read correctly

c'mon! update to rails 5


boards: m5stack: cores3: Add AW9523B configuration

Adding AW9523B gpio expander configuration.

@sylvioalves @marekmatej
Could you please check this too?

@soburi, I think the compatible you used isn't available in Zephyr. Perhaps you can add a new file at zephyr/dts/bindings/gpio/awinic,aw9523b-gpio.yaml with a similar content as in below:
# Copyright (c) ....
# SPDX-License-Identifier: Apache-2.0

description: AWINIC AW9523B GPIO Controller

compatible: "awinic,aw9523b-gpio"

include: gpio-controller.yaml

gpio-cells:
  - pin
  - flags

@kartben Can you confirm?

@sylvioalves

@soburi, I think the compatible you used isn't available in Zephyr. Perhaps you can add a new file at zephyr/dts/bindings/gpio/awinic,aw9523b-gpio.yaml with a similar content as in below:

The file has already been available for just 6 hours before.
https://github.com/zephyrproject-rtos/zephyr/blob/main/dts/bindings/gpio/awinic%2Caw9523b-gpio.yaml

@sylvioalves

@soburi, I think the compatible you used isn't available in Zephyr. Perhaps you can add a new file at zephyr/dts/bindings/gpio/awinic,aw9523b-gpio.yaml with a similar content as in below:

The file has been added at just 6 hours before.
https://github.com/zephyrproject-rtos/zephyr/blob/main/dts/bindings/gpio/awinic%2Caw9523b-gpio.yaml

Oh, really sorry. Thanks!

I rebased this to solve conflict.

@sylvioalves
Could you re-approve?


[Group] [ACL] Secure Channel Test seems broken

Problem
TC-SC-5.1 is failing on multiples platform ( at least EFR32 and Linux all-cluster-app).
After the ACL write, device is unable to respond to all commands. Including unicast commands.
Proposed Solution
Investigate it to see why this test is failing and to narrow down if it's a test plan issue (wrong command) or a corner case in the ACL code.
tc-sc-5.1 step 1 acl failure.txt

So the relevant command is this:
pi@MatterRPi5:~$ ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{"cluster": null, "endpoint": 0, "deviceType": null}]},            {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets": [{"cluster": null, "endpoint": 1, "deviceType": null}]}]' 1 0

That command defines the following ACLS:

Administer privilege over CASE for endpoint 0 only.
Operate privilege with group auth mode for any group for endpoint 1 only.

Then the test tries to issue a "toggle" command over CASE to endpoint 1.  That of course should fail the ACL check given the ACL above.
So the behavior of the SDK seems correct...  I don't know where the actual steps here came from.
Looking at the test plan at https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/group_communication.adoc#131-tc-sc-51-adding-member-to-a-group---th-as-admin-and-dut-as-group-member it says to set some ACLs first (but not what they should be), then to do some operations on endpoint 0.  Those operations on endpoint 0 should work with the ACLs from the above command.
@jepenven-silabs

@bzbarsky-apple Seems like the issue is more test plan related in that case. Moving issues to the test-plan repo and closing this one for now.
https://github.com/CHIP-Specifications/chip-test-plans/issues/1452
https://github.com/CHIP-Specifications/chip-test-plans/issues/1453


[Request] New Key to mark entities as transient - not saved after unload

This feature would add a new Key that controls whether an entity is saved after it is unloaded. Practically, this key would be read when serializing an in-memory chunk. This flag is useful for plugin-created entities that do not (or should not) need to be saved on the world. Examples are: pets, marker armor stands, quest NPCs. When the flag is present, the entity will exist until after ChunkUnloadEvent (or WorldUnloadEvent) finishes, at which point the entitiy simply won't be saved to disk.
Currently, plugins need to "clean up" entities on chunk/world unload to ensure that their dynamically created entities aren't left there. If the plugin is removed, or the world is moved to another server, those entities would remain saved in the world and may cause problems now that they are not "managed" by their plugin.
@gabizou has asked to be notified from previous IRC conversation.

PR merged

:D
wow!! Thank you so much!


bash: hh: command not found

Hi all,
I could run yarn global add hardhat-shorthand successfully, but for some reason when I try to run hh compile, it gives the error:

bash: hh: command not found

yarn hardhat works fine, just unsure of why hh does not work.
This is at 14:15:25 of the course. Any help is greatly appreciated, thank you!

yarn global v1.22.19
warning package.json: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Installed<EMAIL_ADDRESS>with binaries:
- hh
- hardhat-completion

Hi,
This happened to me as well but I tried it with sudo and it worked:
sudo yarn global add hardhat-shorthand

Hi,
This happened to me as well but I tried it with sudo and it worked: sudo yarn global add hardhat-shorthand
Hope this helps!

Hi, thanks for the reply.
Tried this, again it says that the installation was successful, but still getting the same error.

@UnknownedPhyrexia I was able to get it working by using NPM and installing it globally with:
npm i -g hardhat-shorthand
Hope this helps!

You will have to use yarn hh (.......) solidity


Cannot find module '../dialog'

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 16.04
Cerebro.app version: 0.2.8

Issue
When launching Cerebro I'm getting the following error message in the terminal:
/opt/Cerebro/resources/electron.asar/common/reset-search-paths.js:0

Error: Cannot find module '../dialog'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (/opt/Cerebro/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.get [as dialog] (/opt/Cerebro/resources/electron.asar/browser/api/exports/electron.js:37:14)
    at process.<anonymous> (/opt/Cerebro/resources/electron.asar/browser/init.js:54:31)
    at emitOne (events.js:96:13)
    at process.emit (events.js:188:7)
    at process._fatalException (bootstrap_node.js:300:26)

I tried the AppImage as well as the .deb file.
Thanks

@Bartinger how did you install the app? Did you download it from site?

@KELiON thanks for the quick response.
I downloaded the AppImage via the Website and the .deb file via the Github releases page. I launched the AppImage with a simple double click and installed the .deb file with gdebi

@Bartinger And after you see this message – does application start? Or it is failed to start?

@KELiON After killing the program and restarting it the error disappeared.
To answer your question though, I started the app via the terminal and it didn't start (exited with above error). I noticed that an old process was still running (maybe the AppImage?), after killing that Cerebro started working.


Option to remove the added custom Posts column in admin dashboard

This is mainly a solution to remove the Posts column, which is added by default in Vulcanjs. If you have the vulcan:admin package enabled in your custom package, this will allow you to remove the Posts column. The code below will allow you to remove the Posts column in the admin dashboard.
USAGE: Create an admin.js file in your custom package, and add the following code:
  import { removeAdminColumn } from 'meteor/vulcan:core';

  removeAdminColumn({
    name: 'posts'
  });

Note: Make sure to import your created admin.js file in you custom package's modules.js file.
  import "./admin.js";

Are you sure that's what pop does? I don't think it's that simple to remove an array element like this.

Hi @SachaG , Honestly, I'm not really sure, but it's working for me. I guess I should just close this PR for the meantime, and just wait for an official way to do this. My JS knowledge is still pretty new, and I'm still learning :) Thanks!

Well, you can do that or you can look into it more, level up your JS skills, and then reopen the PR :)

Okay, I will do that. Thanks, @SachaG :)


fix mzpeaks dependency for mz_read

When using the mz_read macro, at the moment you need to declare a dependency on mzpeaks for it to work. This can also result in issues due to version mismatches between the mzpeaks version used to build mzdata, and the version declared in your own project. pub use prevents this by making sure that the version used in the mz_read is the one used in mzdata, and avoids the need to make mzpeaks an additional dependency at all.

Thank you for the PR.
I am away right now and cannot do a proper review, but will be back at the
end of the week.
I think this is viable, but I need to see if I can reasonably adjust the
API to prevent the symbol leakage.
I'm being overly cautious here because I already re-export
mzpeaks::prelude but it's riskier to do with concrete types so far as I
can tell.
On Tue, Sep 17, 2024, 5:49 PM Kevin Velghe @.***> wrote:

When using the mz_read macro, at the moment you need to declare a
dependency on mzpeaks for it to work. This can also result in issues due to
version mismatches between the mzpeaks version used to build mzdata, and
the version declared in your own project. pub use prevents this by making
sure that the version used in the mz_read is the one used in mzdata, and
avoids the need to make mzpeaks an additional dependency at all.
You can view, comment on, or merge this pull request online at:
https://github.com/mobiusklein/mzdata/pull/9
Commit Summary

cf7780a
https://github.com/mobiusklein/mzdata/pull/9/commits/cf7780a043707e07a084828b4e5ceba0887d58d6
add pub use mzpeaks

File Changes
(2 files https://github.com/mobiusklein/mzdata/pull/9/files)

M src/io/shorthand.rs
https://github.com/mobiusklein/mzdata/pull/9/files#diff-f25066c375b998e19f7a539ee0cb91f3aed8dedabe6e01961a4dc4ea5495fbf8
(4)
M src/lib.rs
https://github.com/mobiusklein/mzdata/pull/9/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759
(4)

Patch Links:

https://github.com/mobiusklein/mzdata/pull/9.patch
https://github.com/mobiusklein/mzdata/pull/9.diff

—
Reply to this email directly, view it on GitHub
https://github.com/mobiusklein/mzdata/pull/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK4E6IZOICRRCQHKGZUBXDZXBMSBAVCNFSM6AAAAABOL4NHKWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTCNRSGY3TOMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I was unable to come up with a satisfactory alternative that doesn't simply lead to converting mzdata into an umbrella library with building block type libraries like mzpeaks becoming "features" you enable, similar to the noodles library for genomics data access. I think I'll have to go there eventually, but I'm not ready to do that just yet.


Feature/veracode pipeline import

Added import for Veracode Pipeline JSON file output.
Found an example of the result file for testing here:
https://github.com/veracode/veracode-pipeline-scan-results-to-sarif/blob/master/test_resource/resultsToSarif.json

The SARIF conversion support is only for a specific Github action provided by Veracode.  There isn't native SARIF support from the Pipeline Scanner.

As explained in my previous comment andnaccording to the Veracode documentation, the best way to do scan is to use the Veracode tools and actions (see https://help.veracode.com/r/Github_Pipeline_Scan_Examples):
name: pipeline-scan

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: build
        run: gradle clean build
  pipeline-scan:
    runs-on: ubuntu-latest
    steps:
      - name: Set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Download the Pipeline Scanner
        uses: wei/curl@master
        with:
          args: -O https://downloads.veracode.com/securityscan/pipeline-scan-LATEST.zip
      - name: Unzip the Pipeline Scanner
        run: unzip pipeline-scan-LATEST.zip
      - name: Run Pipeline Scanner
        run: java -Dpipeline.debug=true -jar pipeline-scan.jar --veracode_api_id "${{secrets.VERACODE_API_ID}}" --veracode_api_key "${{secrets.VERACODE_API_KEY}}" --file "example.jar" --fail_on_severity="Very High, High"

This steps will produce a JSON file that you can convert in SARIF format with a specific Github action maintained by the Veracode team.
...
- name: Convert pipeline scan output to SARIF format
  id: convert
  uses<EMAIL_ADDRESS>  with:
    pipeline-results-json: results.json
    output-results-sarif: veracode-results.sarif
    source-base-path-1: "^com/veracode:src/main/java/com/veracode"
    source-base-path-2: "^WEB-INF:src/main/webapp/WEB-INF"
    finding-rule-level: "3:1:0"

- name: upload sarif file to repository
  uses: github/codeql-action/upload-sarif@v1
  with: # Path to SARIF file relative to the root of the repository
    sarif_file: veracode-results.sarif

Ref here : https://github.com/veracode/veracode-pipeline-scan-results-to-sarif#output-results-sarif
It's better to use the tools and actions created and maintained by Veracode team instead of creating new code maintained by us.
PS: You can also customize the name of the output file with this option:
  -jf JSON_OUTPUT_FILE, --json_output_file JSON_OUTPUT_FILE
                         Filename (in the current directory) to save results JSON. (default: results.json)

I agree with @damiencarol here. Maybe a good compromise could be to add a subsection to the SARIF parser in the docs outlining which tools (just Veracode pipeline for now) are compatible and can be used with dojo?

What if you run the Veracode pipeline elsewhere, not in GitHub. i.e. manually, from their saas product or in gitlab. I think the sarif converter is only available as a GitHub action is what @jpbowie states?

That was my understanding from the documentation, it is a GitHub Action.  If you are not using GitHub, you'll need to find another solution to convert the native pipeline scanner JSON output to SARIF.

What if you run the Veracode pipeline elsewhere, not in GitHub. i.e. manually, from their saas product or in gitlab. I think the sarif converter is only available as a GitHub action is what @jpbowie states?

Ok. Yes you're right.
@jpbowie  Is it your use case? If so yes this parser will only be useful for you. Please take also into account that we already have another parser dedicated to the more common Veracode tool (not the pipeline)

@jpbowie what are your thoughts on this?

@jpbowie any progress on this one?

Is there something specific I should be working on?

@jpbowie don't you see my feedback on your PR? Do you want to close it?


using quit hangs the session

When I use quit then session hands forever. When I use exit session properly terminates.
I think quit should be made working. Also might be a good idea to add ability to close session without entering it.
Thank you for the very useful project!

Also disable-pry hangs the session.

Fixed by #9.


Multi env settings

In 2.2.3 version of dynaconf i have:
.secrets.toml
[default]
a = 3

[development]
a = 3

main.py
from dynaconf import settings

print(settings.A)

And its work fine
In 3.1.2 version I start using a new confg.py mechanism:
.config.py (generated by dynaconf cli)
from dynaconf import Dynaconf

settings = Dynaconf(
    envvar_prefix="DYNACONF",
    settings_files=['settings.toml', '.secrets.toml'],
)

main.py
from config import settings

print(settings.A)

I have an error (previous main.py file works fine (from dynaconf import settings)):
> poetry run python main.py
Traceback (most recent call last):
  File "main.py", line 4, in <module>
    print(settings.A)
  File "/home/dyens/.cache/pypoetry/virtualenvs/dyntest-bSb0oaYP-py3.7/lib64/python3.7/site-packages/dynaconf/base.py", line 164, in __getattr__
    value = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'A'

If i try to print:
print(settings.to_dict())

I have:
{'DEFAULT': {'a': 3}, 'DEVELOPMENT': {'a': 3}}

What i missed in my new configuration?
Thank you!

Thank you!
Its works. Sorry for the silly question.


[DEBUG] macos GHA workflow

Redo of #7144, because for some reason CI doesn't want to start up.

Ok, I somewhat give up for now. Neither on macOS nor on Windows, I get torchvision to install inside the container:

macOS: The setup complains that downloads during the installation with setuptools, i.e. downloading requirements not explicitly installed before, is not allowed. This is not an issue on Linux or Windows: https://github.com/pytorch/vision/actions/runs/4053056765/jobs/6973221755#step:9:382. Note that although the error message speaks of conda build, we aren't using that here.
Windows: After over 20k lines of install log (WTF), the installation fails with an SSL error: https://github.com/pytorch/vision/actions/runs/4053056777/jobs/6973221077#step:9:20525

macOS part was split off into #7175.

Linux spun of in #7189.