Issue with UPnP/IGD

0.80.0b1
Home Assistant release with the issue:

Last working Home Assistant release (if known):
It's a new integration in 0.80
Operating environment (Hass.io/Docker/Windows/etc.):

PR 16300
Component/platform:

Description of problem:
@dgomes suggested I report this and tag @StevenLooman
I am prompted to add integration for my Fritz 7490 and 7590.
I can't save unless I tick on both the traffic sensor and port mapping checkboxes.
I would like to ignore the 7490 as it is just a repeater and the traffic stays at 0 - ie no useful information
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
This was the error from yesterday:
2018-10-07 14:45:16 ERROR (MainThread) [homeassistant.components.upnp] Could not add port mapping: 8123:<IP_ADDRESS>:8123
2018-10-07 14:45:17 ERROR (MainThread) [homeassistant.components.upnp] Could not add port mapping: 8123:<IP_ADDRESS>:8123
2018-10-07 14:45:17 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry InternetGatewayDeviceV2 - FRITZ!Box 7590 for upnp
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 236, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/__init__.py", line 128, in async_setup_entry
    await device.async_add_port_mappings(ports, local_ip=local_ip)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 69, in async_add_port_mappings
    internal_port)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 90, in _async_add_port_mapping
    lease_duration=None)
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 83, in async_add_port_mapping
    await action.async_call(
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-07 14:45:17 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry InternetGatewayDeviceV2 - FRITZ!Box 7490 for upnp
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 236, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/__init__.py", line 128, in async_setup_entry
    await device.async_add_port_mappings(ports, local_ip=local_ip)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 69, in async_add_port_mappings
    internal_port)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 90, in _async_add_port_mapping
    lease_duration=None)
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 83, in async_add_port_mapping
    await action.async_call(
AttributeError: 'NoneType' object has no attribute 'async_call'

As per @dgomes I have added debug logging.  The 7490 is just a WLAN repeater. I keeps prompting me and I can't ignore it if that makes sense.
<IP_ADDRESS> is 7590, .12 is osmc/vero/kodi, .100 is hassio (debian nuc), .39 is onkyo receiver, .90 is 7490 repeater
FULL LOG HERE https://codeshare.io/5ZjxKQ

I can't save unless I tick on both the traffic sensor and port mapping checkboxes.

Confirmed: defaults in config_flow.UpnpFlowHandler.async_step_user were removed before, now causing a traceback. Will create a new pull request handling this.

I would like to ignore the 7490 as it is just a repeater and the traffic stays at 0 - ie no useful information

If you always keep getting a pop-up stating you can add a new integration, then either the component should be able to get activated without any port-mapping or sensors, or hass itself should be able to ignore devices and/or complete components.

The traceback is surprising though. Both the 7590 and 7490 advertise they support the AddPortMapping call. However, when the library tries to call it, it cannot find the action. Can you try this, in a terminal/console? Not sure if you are using a virtualenv, or a docker container, or something else. If you don't know what to do, please let me and/or @dgomes know.
$ upnp-client --pprint --device http://<IP_ADDRESS>:49000/igddesc.xml call-action WANIPConn1/AddPortMapping NewRemoteHost= NewExternalPort=8123 NewProtocol=TCP NewInternalPort=8123 NewInternalClient=<IP_ADDRESS> NewEnabled=1 NewPortMappingDescription=test NewLeaseDuration=300

This will call your router and try to make a port mapping with these settings:

external port: 8123
internal port: 8123
protocol: TCP
internal client: <IP_ADDRESS> (arbitrarily chosen, no need to be actually used, but has to be within your internal network)
duration: 300 (seconds, I think)

Example output:
{
    "timestamp":<PHONE_NUMBER>.371163,
    "service_id": "urn:upnp-org:serviceId:WANIPConn1",
    "service_type": "urn:schemas-upnp-org:service:WANIPConnection:1",
    "action": "AddPortMapping",
    "in_parameters": {
        "NewRemoteHost": "",
        "NewExternalPort": 8123,
        "NewProtocol": "TCP",
        "NewInternalPort": 8123,
        "NewInternalClient": "<IP_ADDRESS>",
        "NewEnabled": true,
        "NewPortMappingDescription": "test",
        "NewLeaseDuration": 0
    },
    "out_parameters": {}
}

To remove it, either wait for the timeout, or run this:
$ upnp-client --pprint --device http://<IP_ADDRESS>:49000/igddesc.xml call-action WANIPConn1/DeletePortMapping NewExternalPort=8123 NewProtocol=TCP NewRemoteHost=

Steven, I am running hass.io in docker. So I tried the command using the ssh add-on but it can't find the upnp-client
I also ran a console (via portainer) in the Home Assistant container. It produced nothing like what you show above.
bash-4.4# upnp-client --pprint --device http://<IP_ADDRESS>:49000/igddesc.xml call-action WANIPConn1/AddPortMapping NewRemoteHosternalPort=8123 NewProtocol=TCP NewInternalPort=8123 NewInternalClient=<IP_ADDRESS> NewEnabled=1 NewPortMappingDescription=test Nuration=300
Traceback (most recent call last):
  File "/usr/local/bin/upnp-client", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/cli.py", line 205, in main
    loop.run_until_complete(async_main())
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/cli.py", line 193, in async_main
    await call_action(device, getattr(args, 'call-action'))
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/cli.py", line 132, in call_action
    result = await action.async_call(**coerced_args)
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/__init__.py", line 590, in async_call
    (status_code, response_body))
async_upnp_client.UpnpError: Error during async_call(), status: 500, body: <?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>403</errorCode>
<errorDescription>Not available Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
bash-4.4#

@DavidFW1960 That is the same error as seen in the logs. Not sure what is happening. Can you try again, but the with IP from which you are running it from?

@StevenLooman not sure what you are asking me to do.. I am now on b4 and it seems to allow me to just add traffic sensors now and ignore the port mapping option. Also isn't continually giving me notifications about new component to add anymore either. As my 7490 is only a repeater I didn't add that anyway and I have upnp turned off in the 7490 anyway.
I also don't seem to be getting any log errors anymore..
(On restart - it's discovering the 7490 again. Click dismiss and is gone but I guess it will do this every restart. Not sure why it sees this given upnp is off for that device)


Class.Interfaces always empty

Hello,
I have a simple class that implements a simple interface in C#.:
public class Top : ISpinable    { ... }
interface IVotable { ... }
Typewriter successfully converts it to a .ts, but whenever I debug and check the classes .Interfaces, it is always empty.
I'm using VS2017 and the latest version of Typewriter.
Thx.

I solved the issue. It looks like interface must be explicitly marked as public:
public interface IVotable { ... }
Leaving this in case it helps someone in the future.


PowerToys fail to run after silent update installation, asks for PowerToysBootstrappedInstaller-0.3X.X.0.msi

ℹ Computer information

PowerToys version: v0.31.2 x64, v0.33.1 x64
PowerToy Utility: PowerToysSetup-0.XX.X-x64.exe
Running PowerToys as Admin:
Windows build number: [run "winver"] 19042.804

📝 Provide detailed reproduction steps (if any)

Computer with PowerToys already installed and running
Run silent installation remotely through Comodo/ITarian Endpoint Manager:
Command line: PowerToysSetup-0.XX.X-x64.exe --silent
Run as user: nt authority\system
PowerToys instance running stops
The updated version appears installed in appwiz.cpl.

✔ Expected result
PowerToys should run at the next startup or when manually launched from the Start menu
❌ Actual result
a. PowerToys does not run at the next startup.
b. When v0.33.1 is manually launched from the Start menu, Windows Installer starts and then it asks for the installation package "PowerToysBootstrappedInstaller-<IP_ADDRESS>.msi", which cannot be found. Windows Installer end with the message "Fatal error during installation". See the first five screenshots below.
c. Same issue happens with the previous version v0.31.2, only the requested package name is different: "PowerToysBootstrappedInstaller-<IP_ADDRESS>.msi"
d. Uninstalling PowerToys and reinstalling it again using the --silent switch leads to the same error.
e. Uninstalling PowerToys and reinstalling it again through the Setup Wizard seems to fix the issue.
f. With PowerToys 0.33.1 x64 already installed, running the PowerToysSetup-0.33.1-x64.exe installer shows the error "A newer version is already installed" and the Setup Wizard does not even start. See the last screenshot below.
g. Issue has been found with both v0.31.2 x64, v0.33.1 x64; the last known good version without this issue was v0.29.3 x64.
📷 Screenshots
Error sequence when PowerToys v0.33.1 is manually launched from the Start menu after a silent update:

Error message when trying to run the PowerToysSetup-0.33.1-x64.exe installer once PowerToys 0.33.1 x64 is already installed:

@enricogior, same issue, no?

@crutkas
the problem reported in #9720 was not introduced in 0.31, not sure why some users saw the problem only in 0.31.
This issue also says the problem was not present on 0.29.
Looking at the commit history it's not clear which commit may have introduced this problem.

After further investigation, it turned out the problem was caused by a commit done in January, and it's the same problem as #9720.

Back with me in <IP_ADDRESS> :-( and completely stuck

@yuyoyuppe can you help out here and update the desc for #9720 to include and where is the new tracking issue for this.?
@dedavis6797 as fyi

@yuyoyuppe can you help out here and update the desc for #9720 to include and where is the new tracking issue for this.?
@dedavis6797 as fyi

I've just updated my original comment as I had reported the wrong version (it was <IP_ADDRESS>) and also found a way to force uninstall it.

As I understand, the issue is ultimately caused by HKCU entries in the installer which we currently don't know how to tackle. Looks like #10126 is an appropriate place to track it.


Renamed 'stylesheets' folder to 'styles'

Also, I just saw the contributions link. Sorry for the tenses used in commits. Habit.

:shipit:


Added Onto Usage/Help Page

Addresses #25
I got started on the usage page. It should now be easier to remember syntax with this page listing all available fields.

Cool, we missed that help!


Semicolon and self executing anonymous functions

Standard format is breaking my code removing the semicolons.
You just have to take Facebook SDK Api Example:
function load() {
    window.fbAsyncInit = function() {
        FB.init({
            appId      : 'xxxxxxxxxxxxxxxx',
            cookie     : true,  // enable cookies to allow the server to access
            // the session
            xfbml      : true,
            version    : 'v2.6'
        })
        checkLoginState()
    };

    (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/sdk.js";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
}

It works. Notice that if you remove the semicolon on }; you get an error FB is not defined.
When it's formatted to standard-format, it's not working anymore (FB not defined):
function load () {
  window.fbAsyncInit = function () {
    FB.init({
      appId: 'xxxxxxxxxxxxxxxx',
      cookie: true, // enable cookies to allow the server to access
      // the session
      xfbml: true,
      version: 'v2.6'
    })
    checkLoginState()
  }(function (d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0]
    if (d.getElementById(id)) return
    js = d.createElement(s); js.id = id
    js.src = '//connect.facebook.net/en_US/sdk.js'
    fjs.parentNode.insertBefore(js, fjs)
  }(document, 'script', 'facebook-jssdk'))
}

Maybe I'm doing something wrong.

You probably want to do:
;(function (d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0]
    if (d.getElementById(id)) return
    js = d.createElement(s); js.id = id
    js.src = '//connect.facebook.net/en_US/sdk.js'
    fjs.parentNode.insertBefore(js, fjs)
  }(document, 'script', 'facebook-jssdk'))

standard-format is not perfect unfortunately, but I hope this resolves your issue at least for now. Cheers!

Oh, thanks for your fast reply! It's working like you say. Could you give me a brief explanation on why it's working?
Cheers!

@Uxio0 my 2 second explanation:
var foo = function foo (z) { return z }
(9)

console.log(foo)
// => 9

Awesome @dcousens and @yoshuawuyts, thank you very much!


Exp data

Adding exponential data test.

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

Comparison is base (68101b0) 98.46% compared to head (0e289bb) 98.64%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   98.46%   98.64%   +0.18%
==========================================
  Files          24       26       +2
  Lines        1040     1180     +140
==========================================
+ Hits         1024     1164     +140
  Misses         16       16

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


Suggestion: Add More Images/Screenshots to "Defining The ActionBar"

This page could use a bit more visual content.
Can you add a screenshot as an example to show the Action Items on the ActionBar here?

Yes, you are right, there should be more screenshots on this page.


How to merge cells in OpenXLSX and I can't find the related API?

How to merge cells in OpenXLSX and I can't find the related API?

Check out XLWorksheet::mergeCells and the XLMergeCells class that were newly added recently.


The old format of this exec call has been removed (deprecated since 2.1)

When I try to run my app, I get this error: ERROR: Error loading deploy information. Error: The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, 'Service', 'action', [ arg1, arg2 ]);
That's apparently triggered by this sort of proxy: https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/www/ios/ios-wkwebview-exec.js#L88
What is it ? Does it come from another plugin using cordova.exec wrong ? How can I debug this ?
Thanks

Updating to<EMAIL_ADDRESS>seems to fix this for some reason...


[jsonConfig]: noClearButton gives warning

No existing issues.

[X] There is no existing issue for my request.

Problem location
ioBroker Log
Warning message
ems-esp has an invalid jsonConfig: [{"instancePath":"/items/tab-ems-esp/items/emsesp_ip","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"noClearButton"},"message":"must NOT have additional properties"},{"instancePath":"/items/tab-ems-esp/items/emsesp_ip","schemaPath":"#/patternProperties/%5E.%2B/allOf/21/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"},{"instancePath":"/items/tab-ems-esp","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"}]
Source link
https://github.com/tp1de/ioBroker.ems-esp/blob/main/admin/jsonConfig.json#L18
Additional information
new attribute in jsonConfig "noClearButton" for text fields added by @GermanBluefox still gives a warning within log.

@foxriver76 any chance to get noClearButton released?

As this is ONLY a warning which does not effe t the functionality at any way simply ignore it for now. Will be fixed but currently foxriver76 has other priorities (js-controller 6) for sure.
If you can provide a PR feel free to do so.

Problem is also, that stuff gets added implementation wise and not added to schema or issues are created. Hence, it's hard for me to have an overview and of course hard to keep up at all as json schema in its widely supported draft is a bit messy for some things and would maybe need some considerations before implementing functionality. E. g. this feature recently added https://github.com/ioBroker/ioBroker.admin/blob/master/packages/jsonConfig/SCHEMA.md#includes will take forever to be implemented in the schema.

I do understand, but I was surprised that when @GermanBluefox added the noClearButton attribute very fast, that schema was not adjusted as well.  I am not an IT-guy. I do not know how to change admin / react and provide a PR.
Nevertheless I can stay with materialize for my adapter until jsonConfig works as desired without warnings for end users.

@tp1de it is now added to the schema


Containers for limits not aligned correctly

Limit containers need lowered vertically to align correctly with horizontal arrow.

Resolved.


ci: Add pull request assigner workflow

This commit adds the "Pull Request Assigner" workflow that
automatically assigns the reviewers, assignee and labels for a pull
request.
Signed-off-by: Stephanos Ioannidis<EMAIL_ADDRESS>

lets remove the labeler action, this will be covered by this one.

Going to open a new PR, with some modifications.


[BC Idea]: Make the 'Extension Marketplace' discoverable with 'AppSource'

BC Idea Link
https://experience.dynamics.com/ideas/idea/?ideaid=aae47d49-c78a-ee11-a81c-000d3a7aa8ae
Description
I often find myself searching for 'AppSource' via 'Tell me' to install apps from AppSource, but don't get the expected 'Extension Marketplace' page in the search results.

It would be nice if the 'Extension Marketplace' page was discoverable using the same keywords (at least 'appsource'), similar to the 'Extension Management' page.

Proposed change:
Add AdditionalSearchTerms = 'app,add-in,customize,plug-in,appsource'; to the 'Extension Marketplace' page

AppSource seems to be a valid search term as well in the BC community, compared to just 'marketplace', so page should be discoverable via both terms...

Great idea. Approved.


Implement discriminated unions

The manual introduces discriminated unions in TNT. We had discussions about changing the syntax of discriminated unions, for them to look more like algebraic data types. Hence, we are not planning their implementation in the MVP.

This is duplicate with #539, but the latter has more detail.


Version number at the top of the file

Would it be possible please to add the version number at the top of the file like react does, so we know which version we are looking at?  Something like https://i.imgur.com/cewiKjq.png
Thanks!

PR to add this to the build process is welcome

Thanks @fi3ework I had no idea how to do that

I still cant see the version number on top of the files, like mobx-react.development.js
mobx-react.min.js
mobx.umd.js
mobx.umd.min.js
Is this expected?


Issue 955

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # 955
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Additional Context (Please include any Screenshots/gifs if relevant)
...
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings
[ ] I have tagged the reviewers in a comment below incase my pull request is ready for a review
[ ] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

Please Update the README.md as well !!

Also Have you did mvn clean install , locally ?? As build is failing !!

@Sarthak160 Changes i did is correct??

Remove the keploy-sdk pom instead of commenting and also remove the already created testcases from the src/test folder.

@Sarthak160 should i delete entire SamplesJavaApplication_Test.java file

@Sarthak160 should i delete entire SamplesJavaApplication_Test.java file

Yes , you can remove the JunitTestFile for now .

I have doubt in update readme

Whats your doubt ??

how to change the readme file

The issue attached to this PR has been resolved


merge fitting branch to master

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


bug/<Can't load docx document>

Describe the bug
from langchain_community.document_loaders import UnstructuredWordDocumentLoader
loader = UnstructuredWordDocumentLoader("paper1.docx")
docs = loader.load()
Can't get the document to load.

@chaoStart - Could you provide an example document we could use to reproduce the issue?


Update apache-spark-secure-credentials-with-tokenlibrary.md

Removed scala keyword val from python snippet

@mlee3gsd - Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@subashkonar13  thank you for the fix.
#sign-off

#sign-off

@Jak-MS please merge this PR.


error AL0185: table 'XXXX' is missing in extension

Describe the bug
We have one parent app in which we customized the Employee Screen and add lot of custom field. We are making other app depending of first app. after downloading the symbols custom fields are not appearing.  This happened after last update of Business central  16.1.12629.12805
To Reproduce
Steps and to reproduce the behavior:

Create an FirstApp Customize the Employee Table and add some custom field and publish in business central.
Create and Second app and add first app in this app. When you trying to access the employee table you cannot able to find those custom fields.

AL Code to reproduce the issue
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions:

5.0.271898

Business Central:

Can you please provide the code to reproduce this issue?

Hi Alexandru Toader,
As requested find the AL code to reproduce the bug. Please include the below libraries we have removed because size was to big to upload here.
Microsoft_Base Application_16.1.12629.13235.app
Microsoft_System Application_16.1.12629.13130.app
Microsoft_System_16.0.12630.12758.app
In First App we just extend the employee table and create one field. and in second app when we are include the first app as dependencies and trying to use this field but we could not able to find the field.
FirstApp.zip
SeccondApp.zip

Dear Alexandru,
We have uploaded the al code to reproduce the issue.
Regards,
Noman Mansoor  Technical Lead / CRM Techno Functional Consultant
Dynamics Business Solutions (DBS)
2903 HDS Business Center, JLT, PO Box 336613, Dubai, UAE
Tel: +971 4 447 5525  |  Mobile: +971 50 7633794
noman<EMAIL_ADDRESS>| www.dbsae.comhttp://www.dbsae.com/
P please don't print this e-mail unless you really need to.
From: Alexandru Toader<EMAIL_ADDRESS>Sent: Thursday, May 21, 2020 5:18 PM
To: microsoft/AL<EMAIL_ADDRESS>Cc: Noman Mansoor<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/AL] error AL0185: table 'XXXX' is missing in extension (#5905)
Can you please provide the code to reproduce this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/5905#issuecomment-632080884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK63GZKWRWRUGMBWNJ33W3TRSUS2JANCNFSM4NGYWKBQ.

Thank you! We will take a look.

Hi Sir,
Have you get a chance to look at this issue. We are need to resolve this issue because as you know we cannot extend from base app as dependencies. Waiting for your reply.
Thanks

Hi! It is on our backlog, but I cannot provide an ETA. We try to address the issues filed on GitHub on as much as our capacity allows, but issues raised through support or issues concerning the online SaaS service will get a higher priority.
If the issue is urgent, I recommend opening a support case.

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

Reproducible on the sample apps attached

Hi @dbsae are you still experiencing this issue in our latest developer preview?
I couldn't reproduce this issue on our latest builds. Here are the steps I followed:

Open FirstApp in VS Code
Build and publish FirstApp from VS Code
Open SecondApp in VS Code
Download the reference symbols for SecondApp (to satisfy the dependency on FirstApp)
Build and publish SecondApp from VS Code

I also tried moving the two extensions in the same workspace.
I am not getting any errors, just a warning about the use of implicit rec and the extension is successfully published.

This issue has been closed because it needs more information and has not had recent activity. Please open a new issue if you believe this has not been resolved and reference the current issue.


We have taken a strange exception in the connection of the payment

Hey guys,
We're using the 1.2.3 version of the Poolakey, and sometimes we took an exception in the Payment.connect() function.
It appears as a kind of the BazaarNotFoundException and already we did changes that related to PackageManager.

Hi @majid-khosravi , This library needs to connect to the Cafe Bazaar App Store, and if it cant for any reason, BazaarNotFoundException will be thrown.
Reasons might this happen :

No official version of Cafe Bazaar on the user's phone ( version downloaded from the official site )

https://help.cafebazaar.ir/categories/72/articles/431 on older Cafe bazaar versions

Please check the above and let us know in more detail if there is still a problem.

Hey @msmoradi, thanks for your response.
Honestly, after much investigating about this exception, I've found a reason for that. I think it happens when the Power Saving mode is ON at that device and then I made OFF this mode, I haven't taken that.
For more detail, I could say that the phone was the Samsung Note11 with the Android SDK31. Given the fact that I've implemented the Android official approach to resolving the Packages Manager permission and set the , but we have this issue in that special device in the specific situation.

Closed as it seams that it's some devices problem.


Support for filtering unicode emoji

Hi, I would like to find all documents that contains particular emoji... for instance 😂
However this query
query = {
                'operator': 'And',
                'operands': [
                    {
                        'path': [TextDocument.COL_TEXT],
                        'operator': 'Like',
                        'valueText': "*😂*"

                    },
                ]
            }

will return everything... (condition is ignored, returns data without any emoji at all...)
where as
query = {
                'operator': 'And',
                'operands': [
                    {
                        'path': [TextDocument.COL_TEXT],
                        'operator': 'Equal',
                        'valueText': "😂"

                    },
                ]
            }

will raise an weird error:
'explorer: list class: search: object search at index p_testdownloadandprocessdata: shard p_testdownloadandprocessdata_xnDNB996p5Gx: nested clause at pos 0: invalid search term, only stopwords provided. Stopwords can be configured in class.invertedIndexConfig.stopwords'
and this error is raise even if I turn of all stop words in schema:
"stopwords": {
                            "preset": "none",
                            "additionals":[],
                            "removals":[]
                        },

Hey @ju-bezdek, here is some information regarding the implications of using emoji for filtering.
In the example you have provided above, TextDocument.COL_TEXT is of property type text. When you run a query with a where filter, using the path of a text property, Weaviate attempts to tokenize the valueText by splitting the value on all non-alphanumeric characters. Seeing as 😂 is not an alphanumeric character, passing just *😂* as valueText results in Weaviate determining the value is empty after tokenization. This is the reason for the only stopwords provided error message.
However, if you were to change the property type of TextDocument.COL_TEXT to type string, this limitation no longer applies, and your example query should work with no issues.
 I'd say that string column is meant for "enum-like" fields and text is meant for columns that are expected to be plain human generated text.
Especially when I'm using like with "*" wildcard ... I think that in this case weaviate is not using inverted index for word-tokenised text (or is it?) so why is it performing tokenisation on query value here?
Another idea to consider could be distinguishing based upon id I've used valueString or valueText here...  by the way, I don't really understand why it needs to match here since it's basically the same type.
The logic in my application here is to use like when "*" is present, and Equal if it's not... so changing datatype to string is not really option (unless I mirror the field and use appropriate field based on operation)


Sequences that hit max should stop grabbing values

Once a sequence option that has Max=N has hit N values, it will stop grabbing values from the command line, and any remaining values will be able to be assigned to other properties with the Value attribute.
Fixes #681.
Two unit tests had incorrect semantics, as discussed in #681, so this also changes those two tests to expect the correct behavior for sequences with Max=N. I also fixed a spelling mistake (gererates instead of generates) while I was working in the InstanceBuilderTests.cs file on one of those two unit tests.

Thanks @rmunn  for this fix.


Backend page path

https://github.com/patricklindsay/integral/blob/master/app/views/integral/backend/pages/_grid.html.erb#L13
This should be a link to the front end path, as this path doesn't exist.

This has been fixed in #17 which will be getting merged in shortly.

This has now been fixed in v0.1.3


Please provide some example inputs for cf_pypi_releases that kafka-filter-pypi handles

Dear @vitsalis @StefanosChaliasos,
Could you please provide a few example inputs for kafka-filter-pypi on the  cf_pypi_releases topic? I want to get the PyPi/Python pipeline set-up for testing.
Thanks a lot in advance!

Dear @MagielBruntink ,
Just added testing instructions for testing kafka-filter-pypi on its README. The input coordinates where directly retrieved from the cf_pypi_releases topic.

Thank you, this has helped a lot!


cmd/link, runtime: additab can be called twice for the same itab, leading to hangs

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
tip, and 1.7 (but not 1.6)
What operating system and processor architecture are you using (go env)?
linux/amd64, Ubuntu 16.04
What did you do?
(master)mwhudson@aeglos:/opt/opensource/go/src$ go install -v -buildmode=shared std
(master)mwhudson@aeglos:/opt/opensource/go/src$ cat /opt/opensource/go-test-cases/itabfun.go
package main

import (
	"os"
	"reflect"
	"runtime/debug"
	"syscall"
)

func main() {
	reflect.TypeOf(os.Stdout).Elem()

	fd, err := syscall.Open("/dev/null", os.O_WRONLY, 0644)
	if err == nil {
		debug.WriteHeapDump(uintptr(fd))
	}
}
(master)mwhudson@aeglos:/opt/opensource/go/src$ go run -linkshared /opt/opensource/go-test-cases/newrand.go

What did you expect to see?
The program complete quickly.
What did you see instead?
It hangs.
What is going on here is that the itab for the conversion of *reflect.rtype to reflect.Type, go.itab.*reflect.rtype,reflect.Type , ends up in the itablinks of the moduledata for both libstd.so and the executable. As go.itab.*reflect.rtype,reflect.Type is a global symbol, the dynamic linker puts a pointer to the data in the executable into both itablinks. This means that additab gets called twice for the very same itab, which means that it ends up with its .link member pointing at itself. Anything that then traverses the itab linked list (like WriteHeapDump, but also just unlucky calls to getitab) ends up looping forever.

A simple fix is to make the go.itab.* symbols local. This will mean you'll get functionally identical itabs floating around, but not actually identical ones, which I think is safe. We'll see what the trybots think in a moment anyway.
Also paging @crawshaw

That does sound like an easy fix that should work.


New version: Hugo.Hugo.Extended version 0.136.0

Created by 🥟 Dumplings in workflow run #8822.

Log
Updated: 0.135.0 → 0.136.0
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Typography: Make FontWeight and LineHeight strings

Description

Resolves #9011 by making FontWeight and LineHeight of type string?.
Final CSS has not changed as evidenced by the passing tests. This should only require surrounding the previous values in double quotes to migrate to this new setup.
How Has This Been Tested?

unit
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

Added to v8.0.0 Migration Guide https://github.com/MudBlazor/MudBlazor/issues/9953


[Request] Crafter: Craft until have X option

Great mod!
I've been making extensive use of the Crafters in my single player world. I have a feature suggestion that would be very useful (to me at least):
If a recipe is set to Internal, provide an option to define a maximum number to craft and keep handy, rather crafting as many as you have ingredients for.
Thanks.

I'll keep this in consideration and see if I can implement it efficiently enough

:+1:

Hey
I'd like to have this feature too!
Some ideas:
option 1:
let people "stack" items in the crafting grid, so they can manage the "balacing" theirself - put in double amount of wood to get the double amount of the item, and so on...
option 2: add an amount-"box" somewhere where you can set repeatitions per recipe
option 3: "craft only required"-checkbox/toggle, means it will have a look at all recipes itself and evaluate the correct amount per step - which is most complicated/advanced for me
all these might options be an "upgrade"-item for the crafter, maybe each option as a seperate tier from 1 to 3, so you can implement them step by step
I really want to use this feature :)
Cheers


Add content for maintaining aspect ratio on YouTube videos

In the Video's section we should include some best practices for maintaining aspect ratio of embedded videos while still be responsive.

Not perfect, but could add something like this technique.

+1 that technique. I think everyone does it.

This was incorrectly tagged, it's new content that's needed. Assigning to @samdutton to do and push.


openjdk-systemtest JLINK test failures with jdk-11.0.4+11.3

Platform:
MacOS
Architecture:
x64
The openjdk-systemtest JLINK tests have started failing with messages like:
09:25:34  STF 01:25:34.054 - Monitoring processes: JLNK
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/META-INF/services/
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/META-INF/services/java.nio.file.spi.FileSystemProvider
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/META-INF/services/java.nio.file.spi.FileSystemProvider
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/apple/security/
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/apple/security/AppleProvider$1.class
09:25:35  JLNK stderr Resources tree, invalid data structure, skipping /java.base/apple/security/AppleProvider$1.class

This started with the packaging changes introduced in jdk-11.0.3+11.3 to address notarization requirements and enabling the loading of unsigned dylibs.
Tests are now failing on all nightly builds - e.g. https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.system_x86-64_mac/29/console

Probably related to code signing...

Notarization / signing so tagging https://github.com/AdoptOpenJDK/openjdk-build/issues/1130 to link them together

@lumpfish Can you verify whether the latest JDK11 nightly builds do not have this problem?

Could this be connected?
01:17:18  Error: Hash of jdk.jartool (18a5f51e945686154a30d739c30067e3017f1b1dc8cdb7f27eefbe9af905798b) differs to expected hash (d6b9614f26b1a823b42af7ec40980545a3b59b71b2134b79b8f5dd5bb0eeda8e) recorded in java.base
01:17:18  java.lang.module.FindException: Hash of jdk.jartool (18a5f51e945686154a30d739c30067e3017f1b1dc8cdb7f27eefbe9af905798b) differs to expected hash (d6b9614f26b1a823b42af7ec40980545a3b59b71b2134b79b8f5dd5bb0eeda8e) recorded in java.base
01:17:18  	at java.base/java.lang.module.Resolver.findFail(Resolver.java:877)
01:17:18  	at java.base/java.lang.module.Resolver.checkHashes(Resolver.java:461)
01:17:18  	at java.base/java.lang.module.Resolver.finish(Resolver.java:360)
01:17:18  	at java.base/java.lang.module.Configuration.<init>(Configuration.java:141)
01:17:18  	at java.base/java.lang.module.Configuration.resolve(Configuration.java:424)
01:17:18  	at java.base/java.lang.module.Configuration.resolve(Configuration.java:256)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:220)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:486)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:396)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:272)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:54)
01:17:18  	at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33)

Debian #944738 looks very similar but is reported against the Debian build of OpenJDK.  I wonder if they have a common root cause.   The bug reported there is with jlink;
   jlink --module-path build/jmods:$JAVA_HOME/jmods \
         --strip-debug --vm=server --compress 2 --no-header-files --no-man-pages \
         --dedup-legal-notices=error-if-not-same-content --add-modules http.server \
         --output build/jre/native

   Error: Hash of jdk.httpserver (3072fe4924fdf278791460cc0f0f7cc7e693e6eca4b3564b5252792750c3bd25)
   differs to expected hash (f7140e5db2cb90e7f8f6bcf30ef0660e1496b29dd1a20f07b3c4fcc18de5d787)
   recorded in java.base

I experience a similar issue while using jpackage on Ubuntu 20.04.1 LTS.
I have tried both with AdoptOpenJDK and the default OpenJDK.
jpackage -n TestFX -i target --main-jar testFX-1.0-SNAPSHOT-jar-with-dependencies.jar -d output --module-path /home/barry/SDKS/javafx-sdk-<IP_ADDRESS>/lib
WARNING: Using incubator modules: jdk.incubator.jpackage

java.lang.module.FindException: Hash of jdk.management.jfr (a405f735790e653ae6ad1ef35615c78a555389cc5076c74c52f3790a13351666) differs to expected hash (06d891a3ae65eb002ec7c3adeac782a67e5c76c5f1569cbb4e9bdace4e220f23) recorded in java.base

same exact problem of @bartduisters here.
is there a workaround for the problem?

The original issue was about macOS and it was caused by code signing. This was fixed, so I close this issue. jpackage and Ubuntu are unrelated.
@sblantipodi and others: If your problem isn't build related, please open an issue in https://github.com/AdoptOpenJDK/openjdk-support/issues and provide as much information as possible. The information you provided is not sufficient to diagnose the problem.

@aahlenst jpackage does the jlink step behind the scenes. That's why I initially did log it here.
I'll make a more detailed report during the weekend on the provided link. Thanks.

The original issue was about macOS and it was caused by code signing. This was fixed, so I close this issue. jpackage and Ubuntu are unrelated.
@sblantipodi and others: If your problem isn't build related, please open an issue in https://github.com/AdoptOpenJDK/openjdk-support/issues and provide as much information as possible. The information you provided is not sufficient to diagnose the problem.

@aahlenst do you mind sharing your solution with https://github.com/ibmruntimes/Semeru-Runtimes/issues/3?


cleanup monitoring files and using correct serviceaccount

cleaned up monitoring files and using correct serviceaccount from in-cluster monitoring namespace for servicemonitor

/retest


example of specifying name parameter for multipart file upload

I'm trying to specify the name parameter for a multipart upload being performed with needle. I can see the variable being set in generate_part() of multipart.js but can't trace it back up the chain or find any examples. Any clues greatly appreciated, TIA!

I got it! Multipart name parameter is taken from the keys in data object. Example:
	var data = {
	  stringYouWantNameToBe: { file: './22AT_Commands.pdf', content_type: 'application/pdf'}
	}

Cool! Let me know if you have other questions.


Fixed broken link for monthly meetings

Description
While doing some reporting, I noticed that the documentation on monthly meetings is outdated since announcements were moved from ESMValTool/issues to Community/Discussions

Closes #issue_number
Link to documentation: https://esmvaltool--2806.org.readthedocs.build/en/2806/introduction.html#monthly-meetings

Before you get started

[ ] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
- [ ] 🛠 The list of authors is up to date
- [ ] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

@bouweandela, this is now ready for review. The changes can be seen in https://esmvaltool--2806.org.readthedocs.build/en/2806/introduction.html#monthly-meetings


Shipping of servers with no services

@fandrei, after some user testing on the Environment diagram with the new datasource it was pointed out that they would like to see the servers that have no services listed. An example of this on the current live system can be seen in the following image.

Initially I thought the issue was with the aggregations search I was running but upon further testing it seems as though the data is not being shipped in at all.
This is a search on the data with a server that has services - http://kibana4.cityindex.logsearch.io/#/discover?_g=(refreshInterval:(display:Off,pause:!f,section:0,value:0),time:(from:now-12h,mode:quick,to:now))&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'logger:EdbExpectedEventSourcesLogger%20AND%20environment:PPE%20AND%20host:PKH-PPE-WEB35')),sort:!('@timestamp',desc))
This is a search on the data with a server that has no services - http://kibana4.cityindex.logsearch.io/#/discover?_g=(refreshInterval:(display:Off,pause:!f,section:0,value:0),time:(from:now-12h,mode:quick,to:now))&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'logger:EdbExpectedEventSourcesLogger%20AND%20environment:PPE%20AND%20host:PKH-PPE-WEB42')),sort:!('@timestamp',desc))

If I am correct in that we are not shipping in the data for servers with no services then I would like to propose the following;

As per City Index users request we need that data shipped in
Once we start shipping that data I can test to see if my current aggregations search will find the empty servers and in the event it does not we will need to include a "dummy service" which will indicate the server has no services and might be ready for decommission.

If we get the first bullet point in place we can determine action on the second bullet point.
Let me know if you have any questions ?

@ryanholder, looks quite easy to do.
@mrdavidlaing, should we create a new LSS milestone for this feature, or add it to 1.10.0?

@fandrei - new milestone I think

@ryanholder, sample output:
{"@timestamp":"2015-07-28T06:07:20.006Z","environment":"ENV1","cluster":"APP","host":"ENV1-APP01","serverDescription":"The app server","logger":"EdbExpectedEventSourcesLogger","level":"INFO"}
{"@timestamp":"2015-07-28T06:07:20.008Z","environment":"ENV1","cluster":"APP","host":"ENV1-APP01","serverDescription":"The app server","service":"PriceHistoryServiceHost","serviceName":"Price History Service Host","serviceDescription":null,"event_source":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\log.log","expected_state":"stopped","serviceType":"WindowsService","binaryPath":"\"D:\\Apps\\PriceHistoryServiceHost\\PriceHistoryServiceHost.exe\"","systemArea":"CORE","tags":"service_tag1,service_tag2","bundlePath":"","website":null,"applicationUri":null,"logPath":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\log.log","logPathType":"log4net","logPath1":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\PriceHistoryStats.log","logPath1Type":"log4net_stats","logPath2":"\\\\PKH-PPE-APP10\\","logPath2Type":"","logger":"EdbExpectedEventSourcesLogger","level":"INFO"}
{"@timestamp":"2015-07-28T06:07:20.011Z","environment":"ENV1","cluster":"APP","host":"ENV1-APP01","serverDescription":"The app server","service":"PriceHistoryServiceHost","serviceName":"Price History Service Host","serviceDescription":null,"event_source":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\PriceHistoryStats.log","expected_state":"stopped","serviceType":"WindowsService","binaryPath":"\"D:\\Apps\\PriceHistoryServiceHost\\PriceHistoryServiceHost.exe\"","systemArea":"CORE","tags":"service_tag1,service_tag2","bundlePath":"","website":null,"applicationUri":null,"logPath":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\log.log","logPathType":"log4net","logPath1":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\PriceHistoryStats.log","logPath1Type":"log4net_stats","logPath2":"\\\\PKH-PPE-APP10\\","logPath2Type":"","logger":"EdbExpectedEventSourcesLogger","level":"INFO"}
{"@timestamp":"2015-07-28T06:07:20.012Z","environment":"ENV1","cluster":"APP","host":"ENV1-APP01","serverDescription":"The app server","service":"PriceHistoryServiceHost","serviceName":"Price History Service Host","serviceDescription":null,"event_source":"\\\\PKH-PPE-APP10\\","expected_state":"stopped","serviceType":"WindowsService","binaryPath":"\"D:\\Apps\\PriceHistoryServiceHost\\PriceHistoryServiceHost.exe\"","systemArea":"CORE","tags":"service_tag1,service_tag2","bundlePath":"","website":null,"applicationUri":null,"logPath":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\log.log","logPathType":"log4net","logPath1":"\\\\PKH-PPE-APP10\\logs\\Apps\\PriceHistoryService\\PriceHistoryStats.log","logPath1Type":"log4net_stats","logPath2":"\\\\PKH-PPE-APP10\\","logPath2Type":"","logger":"EdbExpectedEventSourcesLogger","level":"INFO"}

How does it look?

@fandrei that look good thanks, I do have one question;

How easy would it be to add a service, serviceName, serviceDescription filled with values of None, None, No services to display

I don't want to complicate the shipper code but am still uncertain if my Aggs search will work if there is no services for a particular host. Thoughts ?

@ryanholder, that's easy. sample:
{"@timestamp":"2015-07-28T08:08:24.502Z","environment":"ENV1","cluster":"APP","host":"ENV1-APP01","serverDescription":"The app server","service":"None","serviceName":"None","serviceDescription":"No services to display","logger":"EdbExpectedEventSourcesLogger","level":"INFO"}

@fandrei, thanks!!

https://github.com/cityindex/LogSearchShipper/pull/128

@ryanholder, you're welcome.
We can deploy it as soon as @mrdavidlaing approves

@fandrei - merge away

@mrdavidlaing, done


Support force option in Repo.preload if the field is already set

Probably related to https://stackoverflow.com/questions/34945536/ecto-reload-belongs-to-association-after-successful-repo-update


In case of restricted content Google Imagen sends "invalid_argument". Expected "content_filter"

Create a chat based on Google imagen model
Ask to generate a picture using words: boy, girl or bomb -> incorrect UI message is received, as FE receives 400 error from BE

[12:43:49.380] ERROR (18): Error while sending chat request to 'imagegeneration@005' [trace_id=ff647949e5ace5bdf7bc77dab989d157, span_id=7b799502d5a26f8e]
trace_id: "ff647949e5ace5bdf7bc77dab989d157"
span_id: "7b799502d5a26f8e"
trace_flags: "01"
err: {
"type": "DialAIError",
"message": "Invalid argument: 400 Image generation failed with the following error: The response is blocked, as it may violate our policies. If you believe this is an error, please send feedback to your account team. Error Code: 58061214",
"stack":
DialAIError: Invalid argument: 400 Image generation failed with the following error: The response is blocked, as it may violate our policies. If you believe this is an error, please send feedback to your account team. Error Code: 58061214
at OpenAIStream (/app/.next/server/pages/api/chat.js:1:6169)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async handler (/app/.next/server/pages/api/chat.js:1:2095)
"name": "DialAIError",
"param": "",
"code": "invalid_argument"
}
Expected:  "content_filter" to have UI error like

Closed as a duplicate of #48


[Feature Request] Atomic operation for ChangeEmailAsync and SetUserNameAsync

Background
Many systems use email as username.
Problem
If I need to change a username or email, I need to change both. So I need to make two calls:
_userManager.ChangeEmailAsync(...);
_userManager.SetUserNameAsync(...);

If one of those two calls fail, then the user's account will be left in an inconsistent state. At worst, he'll lose his account.
There is also the possibility of someone else using the new email address during those two change operations - which would then leave two accounts in an inconsistent state.
Workaround
This race condition can be avoided by dealing with the underlying IdentityDbContext directly. But that requires significant effort (because UserManager does much more than just set entity properties).
Solution
We need a new method that performs the operation atomically. For example:
_userManager.ChangeEmailAndUsernameAsync(...);

It should run within a transaction, and if either sub-operation fails, then the entire thing should fail.

The reason this happens is because Email and Username are separate concepts, even though the templates treat them then same. Identity simply doesn't do this, it's not as if these two things are special, you can't do any atomic changes.
You either have to abandon using the store and drop down to EF and use transactions, or write manual rollbacks.
I am afraid there's no plans to improve this for now.

I realise they are separate concepts - but my point is that in many systems they are the same concept, so it would be nice to have support.
Doing this directly in EF with change tokens, authentication, authorization, and all that machinery is a pain.
Anyways, thanks for your reply, and I hope you'll reconsider if enough devs ask for this.


kebab-case file name support?

kebab-case file name support?

not now，welcome pr

Already supported，you can update vite-auto-import-resolvers to ^2.3.0


CNAME record to host on more domains

    just add the CNAME record to your domain and point it to `c.terbium.ga`

Originally posted by @illusionTBA in https://github.com/TerbiumOS/webOS/issues/3#issuecomment-1248713540
I have done this and it shows this.
Error
The requested URL could not be retrieved
Error: The web filter could not find the address for the requested site
Why you are seeing this:
The system is unable to determine the IP address for cliffsnotes.tk
Possible reasons could be:
The site name has been entered incorrectly or does not exist. Please double check you have entered the correct URL.
The Domain Name Server (DNS) is unable to resolve the IP address for this domain.
If this problem persists, please ask your administrator to:
Check your DNS services are operating correctly.

the site to point your cname record to is down.

So terbium is down? Or cloudflare? Or Freenom?

the site to point your cname record to is down.

no it actually isn't I think people just don't know how to actually work this shit because I have legit use the CNAME on all the restocked domains soooo yeah

Here is a list of exactly what I have done.

Get a link from freenom
Change nameservers to cloudflare's
Add CNAME record of @ --> c.terbium.ga
Change SSL/TLS to Full(Strict)

Is it possible that you have only allowed cloudflare connections from yourself?

It could be blocking our cloudflare requests.

No because someone else was able to do it without my assistance.

I'm so confused on what I'm screwing up here then.


Is it possible to serve pages using H2 on AIOQUIC ?

I wanted to know if AIOQUIC server can serve pages on H2. I know AIOQUIC is H3 based. This question is in regards to serving the same content that is served on H3 to compare the performance on H2. As this kind of patch is available for QUICHE on
https://blog.cloudflare.com/experiment-with-http-3-using-nginx-and-quiche/
Any guidance will be helpful.
Thanks.

The aioquic codebase is exclusively focused on HTTP/3 as there is already well established Python code for handling other HTTP versions.
If you want a webserver which handles HTTP/1.1, HTTP/2 and HTTP/3 take a look at hypercorn, which leverages aioquic for its HTTP/3 support: https://pgjones.gitlab.io/hypercorn/

Thanks. it was really helpful. Is there a docker version of AIOQUIC enabled hypercorn ?

Sorry, no idea there!

This is an example, I use it for pgjones.dev

Thanks. 👍


Fixing GCN_Aadj_feats_op function passing in FullBatchNodeGenerator

Coverage decreased (-0.005%) to 84.248% when pulling d57ee3be5ca3b3ae7b696dd6d6803c9da39d47ad on fullBatchNodeGen into fd80dde9619be62b5104badac4ccccc80944c9c2 on develop.

This looks good now.  I've changed the docstring of FullBatchNodeGenerator and added a test for k<2 for the Chebyshev method. If you're happy with the changes, go ahead and merge this.
You'll need to merge the develop branch into this branch and resolve the merge conflicts first.

Actually, one more thing: After you merge develop, please update the CHANGELOG.md file with a quick one-line description of the changes in this PR (under enhancements at the top of the file).


⚠ ClamAV has degraded performance

In a432c0e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 207 ms

Resolved: ClamAV performance has improved in bb85c52.


01-blog TypeError

i am a new for grapgql
when i run code 01-blog from ChromeiQL it error
TypeError: Cannot read property 'types' of undefined
at Object.buildClientSchema (chrome-extension://fkkiamalmpiidkljmicmjfbieiclmeij/ext/graphiql/graphiql.js:21408:81)
at chrome-extension://fkkiamalmpiidkljmicmjfbieiclmeij/ext/graphiql/graphiql.js:1398:55
thank you

I could not reproduce it, so need a bit more info to understand what is going on. Please answer following questions:

What URL do you use as endpoint (in ChromeiQL)?
What happens if you open this URL in browser tab directly?

when i run http://localhost:8000/ in chrome it ok

{

data: {

hello: "Your graphql-php endpoint is ready! Use GraphiQL to browse
API"
}

}
2 when i click chromeiql and set endpoint http://localhost:8000/?debug=1 it
error i attach error
On Fri, Mar 3, 2017 at 5:56 PM, Vladimir Razuvaev<EMAIL_ADDRESS>wrote:

I could not reproduce it, so need a bit more info to understand what is
going on. Please answer following questions:

What URL do you use as endpoint (in ChromeiQL)?
What happens if you open this URL in browser tab directly?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webonyx/graphql-php/issues/93#issuecomment-283925469,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLnzHjA7hg4VIXTRernXNJagUWDOYQPks5rh_HCgaJpZM4MN8gU
.

--
Best Regard
Pisak Lekaphet
iFeeL Co.,Ltd
80 M.1 Vichitsongkarm Rd, Kathu
Phuket THAILAND
Tel : +(66) 84 192 0345

Please open Network tab in Chrome developer tools (or whatever dev tool you use) and look at what happens on page refresh - does it send initial XHR request to localhost:8000? If yes - what is the response?
Also have you tried other extension: GraphQL Feen - do you get the same result?

please see attach file
thanks

You attachments are not published on github. I can't get them.

ok now i update php composer.phar require webonyx/graphql-php="^1.0.0" but
new error   TypeError: Failed to fetch
and run in mac osx php PHP 5.5.29 and i run windows machine it ok but in
php version 7.0.15
On Sat, Mar 4, 2017 at 12:41 AM, Vladimir Razuvaev<EMAIL_ADDRESS>
wrote:

You attachments are not published on github. I can't get them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webonyx/graphql-php/issues/93#issuecomment-284020238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLnzDEvfOcyLD1cEZlaYbBD90KbJUj7ks5riFC4gaJpZM4MN8gU
.

--
Best Regard
Pisak Lekaphet
iFeeL Co.,Ltd
80 M.1 Vichitsongkarm Rd, Kathu
Phuket THAILAND
Tel : +(66) 84 192 0345

You use the wrong version. Latest "webonyx/graphql-php" version is "0.9.5"

can not 0.9.5 version please look my cmd
C:\Users\bee2\Documents\graphql-php-master\graphql-php-master>php
composer.phar
require webonyx/graphql-php="^0.9.5"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package webonyx/graphql-php No version set (parsed as
1.0.0)
is satisfiable by webonyx/graphql-php[No version set (parsed as 1.0.0)]
but the
se conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
C:\Users\bee2\Documents\graphql-php-master\graphql-php-master>
On Mon, Mar 6, 2017 at 12:48 PM, Vladimir Razuvaev<EMAIL_ADDRESS>
wrote:

You use the wrong version. Latest "webonyx/graphql-php" version is "0.9.5"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webonyx/graphql-php/issues/93#issuecomment-284308518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLnzPxfxdxDkA-VvxQprY2eH3DrE_ikks5ri54zgaJpZM4MN8gU
.

--
Best Regard
Pisak Lekaphet
iFeeL Co.,Ltd
80 M.1 Vichitsongkarm Rd, Kathu
Phuket THAILAND
Tel : +(66) 84 192 0345

See error description. It says that you are still trying to install version 1.0.0. Remove composer.lock, edit composer.json manually and change webonyx/graphql version to 0.9.5, then try composer install.

No i install 0.9.5  this line
C:\Users\bee2\Documents\graphql-php-master\graphql-php-master>php
composer.phar
require webonyx/graphql-php="^0.9.5"
On Tue, Mar 7, 2017 at 11:06 AM, Vladimir Razuvaev<EMAIL_ADDRESS>
wrote:

See error description. It says that you are still trying to install
version 1.0.0. Remove composer.lock, edit composer.json manually and change
webonyx/graphql version to 0.9.5, then try composer install.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webonyx/graphql-php/issues/93#issuecomment-284616102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLnzDqojYjZeO0dJ7zTctjWrMpubXFCks5rjNffgaJpZM4MN8gU
.

--
Best Regard
Pisak Lekaphet
iFeeL Co.,Ltd
80 M.1 Vichitsongkarm Rd, Kathu
Phuket THAILAND
Tel : +(66) 84 192 0345

But your error description mentions 1.0.0:
Problem 1
    - The requested package webonyx/graphql-php No version set (parsed as
1.0.0) is satisfiable by webonyx/graphql-php[No version set (parsed as 1.0.0)]

Is it your actual error? If so, please double-check contents of your composer.json (and composer.lock file) - entry related to webonyx\graphql-php must reference version 0.9.5.
Or better start from clean directory if you can't figure out what's going on (I just tried on both PHP5.6 and PHP7.0 and it installed without any problems).
If you have other problem - please clarify what is this problem exactly.

Closing. Re-open with new details if still relevant.


feat: Make phase and templateRef available for unsuspend and retry selectors

Checklist:

[X] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[X] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[X] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[X] My builds are green. Try syncing with master if they are not.
[X] My organization is added to USERS.md.

@simster7 Might be good for you to review? As it relates to my previous PR. Thx

do the tests later please


Updated site navigation to show hamburger menu on mobile devices

Resolve #12
Updated padding on hero section on mobile viewport

Thank you so much for this, @SmithWebDev! 🎉


[enhancement]: Preview [ Cover ] for Models an Loras

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
<EMAIL_ADDRESS>What should this feature add?
In the Models menu there is a kind of preview for the model and the Lora that you have a picture of, for example in the Gradio variant for each Model and Lora a Preview [ Cover ]
So that the drop-down menu for Loras and models is larger and there is a cover behind the Lora/Model name that is not too big but not too small either
or a popup modal window
Alternatives
No response
Additional Content
No response

We've got the backend for this - you can assign cover images to each model. But we don't yet have the frontend components to display the images in the model selection and LoRA card component.

If anybody wants to have a go at adding the image to the LoRA card component, I'd be happy to review a PR. It should be pretty straightforward, you'll only need to design the component.
The LoRA component is here: https://github.com/invoke-ai/InvokeAI/blob/main/invokeai/frontend/web/src/features/lora/components/LoRACard.tsx
The config object has an optional cover_image property that will be the URL of the image (if one exists).

can i work on this issue ?

If you think you can build the front end for it, I have absolutely no knowledge of that


Please create a documnet for os/vfs actor template

https://github.com/Jumpscale/ays_jumpscale8/tree/master/templates/os/vfs

https://github.com/Jumpscale/ays_jumpscale8/tree/8.2.0/templates/os/vfs, needs more explanation.


error loading the weight file (successfully trained with own dataset and saved)when doing the test

I have successfully trained the model with my own dataset(which have two classes)and saved the weight file. But when I loaded the saved model to conduct testing, something wrong with the weight file
/core/util/tensor_slice_reader.cc:95] Could not open ./data/weights/save.ckpt: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

The error appears in the line:
self.saver.restore(self.sess, self.weights_file)

The version of tensorflow I am currently using is 1.2. I'm not sure if it's the version problem(I have searched on the Internet for this error and found the same problems related to the version of tensorflow ). Could you help me with this issue and how to restore weight files which have been trained?

It is mainly because of the incompatible between write_version V1 and V2 in tf.traion.Saver, changing weight_file into the format of save.ckpt-001000 will be helpful, the number 001000 depends on the name of checkpoint.

I also meet this problem. Can you tell me how to solve the problem, and how to change the write_version V1 or V2? @hizhangp @CompilerBian


Add softnoclip

An extension to noclip command - whenever noclip is not available, clients will (barring other restrictions such as during timeruns) enter softnoclip state. In this state, they act as sepctators: they have normal collision with the world, ~can activate triggers and such~. When toggling noclip off, players are returned to their original location, similar to if they had saved before starting and loaded back. etj_noclipScale will affect movement speed during this state. This state cannot be triggered on its own, it is automatically entered whenever client tries to use noclip while it's unavailable.
closes #620

This still needs A LOT of thought, as spectators can activate a lot of entities, so this allows for a lot of sequence breaking as it is.

Disabled trigger activation and use of +activate while softnoclipping, should be enough to avoid any sort of exploits.

Will re-think this in the future and possibly re-implement, this would be a mess to merge.


EL-1462: MTR Accelerated Measures - LCG link updates

Jira ticket
What changed and why

update mappings based on feature flag
add in new links
update 500.html with generic link

Guidance to review

not able to do pdf sizes will have to do in another ticket

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing
Branch is generally up to date with main Github - definitely no conflicts
No unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
PR description says what changed and why, with a link to the JIRA story.
Diff has been checked for unexpected changes being included.
Commit messages say why the change was made.

obviously we need to change the date and revert the circeci config


Add note that DisplayName filter is case-sensitive

Docs Build status updates of commit 273c215:
:clock10: Full build: the average full build time is 13 min(s) 41 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 273c215:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Get-Team.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@skouti2 - thank you for the PR and for taking the time to make the docs better. You sharing your experience and expertise is very much appreciated! :)

Docs Build status updates of commit 5ac478e:
:clock10: Full build: the average full build time is 13 min(s) 46 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5ac478e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Get-Team.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 8a8df20:
:clock10: Full build: the average full build time is 13 min(s) 51 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 8a8df20:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Get-Team.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added Neuromorphism Button

Fixes Issue
Closes #322
Changes proposed
Hey @Spyware007  I have added the neuromorphism button to your awesome repo. Please review my pr and merge it. Thank you!
Screenshots

Checklist

[x] You've linked this PR to the correct issue.
[x] You have checked that the code is working correctly.
[x] You ⭐ the repository!

Note to reviewers
react-scripts was not installed in the package.json so I installed it. Without it, the project was not running locally.

Please resolve the merge conflicts

Hey @PoorviShetty I have resolved the merge conflict now. Please merge my pr otherwise new conflict will arise. THAK GAYA HU VRO 1 HAFTE SE CONFLICT RESOLVE KARTE KRATE!! :)


update

Pull Request Test Coverage Report for Build 136

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.235%

Totals

Change from base Build 134:
0.0%

Covered Lines:
90

Relevant Lines:
102

💛  - Coveralls


Update 070-case-sensitivity.mdx

[nit]: Minor text update under SQLite provider section

Thanks so much @gnukev we appreciate your help!


Please add SPDX header to license so license can be identified by automated scanning tools

Please add these lines to the license headers in all the scripts.
SPDX-Copyright: Copyright (c) Capital One Services, LLC
SPDX-License-Identifier: Apache-2.0

Heads have been added.


Scaled physics bodies with offset CollisionShapes not working correctly

Godot version:
a3501c0
OS/device including version:
Happens on Ubuntu 18 and Windows 7
Issue description:
If you create a physics body, give it a collision shape and offset that shape from the physics body's origin, collision is detected in the correct location.
However, if you scale the physics body, the collision no longer works correctly (even though the debug shows where the shape should be). It seems like collision shape transform isn't correctly taken into account when the parent body is scaled.
Probably somewhat related to https://github.com/godotengine/godot/issues/15695
Steps to reproduce:
Load the attached project
Note: make sure debug collision is turned on so you can see the collision shapes!
Run the scene and you should see a cube travelling left. It will fail to collide with the first area (which has a scaled body + shape offset) but will collide fine with the second area (no scale, offset only)
Minimal reproduction project:
scale_collision_bug.zip

Hope it's okay to tag you @AndreaCatania since you fixed the last issue related to this :)

Yes, you did right :)


Add support for additional torrent sites

It would be good to have support for additional sites that have RSS/JSON feeds.

Added support for LimeTorrents in 9ce9499e024290c77f5bcfb99b7fe9064429c12f.


hotfix/safe_bundle

Codecov Report

Merging #101 (ae51575) into master (87c3af7) will decrease coverage by 0.14%.
The diff coverage is 6.06%.

@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
- Coverage   62.46%   62.32%   -0.15%
==========================================
  Files         118      118
  Lines       10020    10035      +15
==========================================
- Hits         6259     6254       -5
- Misses       3761     3781      +20

Impacted Files
Coverage Δ

assemblyline/common/bundling.py
0.00% <0.00%> (ø)

assemblyline/common/identify.py
33.64% <100.00%> (ø)

assemblyline/common/heuristics.py
87.03% <0.00%> (-1.86%)
:arrow_down:

assemblyline/remote/datatypes/__init__.py
69.49% <0.00%> (-0.51%)
:arrow_down:

assemblyline/remote/datatypes/queues/comms.py
77.77% <0.00%> (-0.49%)
:arrow_down:

assemblyline/odm/randomizer.py
94.29% <0.00%> (-0.44%)
:arrow_down:

assemblyline/datastore/stores/es_store.py
63.87% <0.00%> (-0.05%)
:arrow_down:

assemblyline/run/pubsub_reader.py
0.00% <0.00%> (ø)

assemblyline/datastore/helper.py
25.71% <0.00%> (+0.03%)
:arrow_up:

assemblyline/run/cli.py
24.54% <0.00%> (+0.04%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Implement a function which assigns roles to each player before the start of each turn.

I changed the task because the assignment of the roles should not be random.


Update list.json

its already merged https://github.com/dotabap/dotabap-list/blob/master/list.json ?


Use double dash for options, add cake schema create command and ucfirst plugin name

Thanks for the fix!


Safer handling of secrets data during configuration

I discovered a small problem with this wonderful Ansible role: writing Jenkins configuration data while the service is running is dangerous, but the service must be running to perform some of the setup tasks. This change splits the plugin configuration tasks from configure-jenkins.yml into a new file, and ensures that Jenkins is not running while the configuration data is changed. Also, I added a task which sets more restrictive permissions on the secrets folder when jenkins_include_secrets is used.
Specifically, Jenkins seems to keep some data in memory and flushes it to disk when it shuts down, which ends up overwriting the custom data copied there. The main culprit I found was hudson.util.Secret, which is one of the files that Jenkins uses to encrypt credential data. If this file is overwritten, any stored credentials in Jenkins global or job configuration files cannot be decrypted, and this causes various errors to occur when Jenkins attempts to use them.
On the subject of Jenkins credential storage, it's worth noting that the secrets directory isn't enough -- you also need the secret.key file to decrypt, which is stored in the top level of JENKINS_HOME. I considered adding a commit to this branch which would copy the file if jenkins_include_secrets was specified, but as secret.key is not stored in secrets I thought it would be too hacky to load this file from {{ jenkins_source_secrets }}/... I guess it's an acceptable workaround to just copy that file in jenkins_include_custom_files, but it might be worth considering how this file can be taken care of if jenkins_include_secrets is given.

Thanks @nre-ableton for this PR!
We can remove the need for the task which sets the permissions on the secrets dir by adding the mode: 0700 to the task above it, apart from this the PR looks great to me. If you can clean that up we'll get it merged

Thanks again @nre-ableton!

Thank you for this great project, it's been incredibly helpful!


ue_sit.py Where should I store them?

Where should the ue_sit.py file be stored correctly? I am in? :\Epic_Unreal\ e_4.19 \Engine doesn't find the corresponding folder. For help

By default in your project folder: YourProject/Content/Scripts/ue_site.py

By default in your project folder: YourProject/Content/Scripts/ue_site.py

Wow, thank you very much. I made it. But could it be anywhere else? I want multiple computers to read this one ue_sit.py.

I think you can just point from this file to your main script (that can be stored on a server as a module).
I also transformed this plugin into an engine plugin, by moving it into the main engine folder and set installed in the uplugin file to true.
You could as well make it a content plugin and put your ue_site file into its content directory. In that case, you don't need to create this Scipts/ue_site.py file with every project again.


Which is the right UUID in the 観戦 (Kansen) mode that I should crawl if I cannot use Amazon S3?

I'm trying to write a simpler (in mechanism) UUID sniffer as it is tricky to register and use Amazon S3 in the place I live. None of them is the right ID in this link above, therefore how to get the UUID by just clicking Kansen games?
Another question is that in order to get large amount of data, simply clicking into a Kansen page, get requests and open another by Selenium is inefficient (plus there are only a few game records available in the Kansen lists that you have to refresh over time). Is there a better way to get data locally in a more efficient way?
My point is to crawl locally in a simpler way, thx if reply.

If you just want to get the uuid, https://amae-koromo.sapk.ch/ is a good choice.
And I wrote an example earlier. https://github.com/GrandDuke1106/mahjongsoul_crawler
btw, According to the Cryolite's approach, getting uuid is very fast compared to getting detailed information. averaging 100,000 uuid can be obtained in 24 hours. The bottleneck mainly occurs in obtaining detailed information.

而且aws在中国是绝对可用的，不像github有时会不稳定


Allow to add new item in progress_overwrite.yml and add seastar

See https://github.com/kelteseth/arewemodulesyet/issues/10 and  https://github.com/kelteseth/arewemodulesyet/pull/16 for some background. It looks like we can't make it by simply editing the progress_overwrite.yml but have to edit the python scripts.
Tested locally.

Hi, sorry for the late reply. Do we need the changes in the python script? It copies the entry locally and the original code already copies everything into the merged progress.yml

Also do you think we should add a flag that this lib is not part of vcpkg? I'm myself not sure if this is needed...

hi, this is not late. iirc, the script wouldn't handle the items not in raw_progress. yml. Then this is the reason why I touched the script.
Since I am not be able to touch the computer for few days. If you want, it might be more convenient for you to do or design everything you want.
I feel good as long as we can add libraries like seastar to the list. It doesn't matter if the pr gets merged or not :)


POND-983: Add support for torch_func [upstream]

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #?
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date

There's some incidental formatting changes from running black on numpy/arr.py. I tested that a few functions work locally on pushdown (torch.mul, torch.ge, etc.), but I haven't added in test cases since it would require adding an extra dependency.


Tmp fix for extension-related JET error

Track https://github.com/aviatesk/JET.jl/issues/525 for a more lasting solution

Partial fix for #72

Codecov Report
Patch and project coverage have no change.

Comparison is base (059225b) 84.75% compared to head (71d03bd) 84.75%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #85   +/-   ##
=======================================
  Coverage   84.75%   84.75%
=======================================
  Files          18       18
  Lines         341      341
=======================================
  Hits          289      289
  Misses         52       52

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove deprecated HfFolder

...and use huggingface_hub.get_token() instead

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Add requested reviewers field to pull request records

From the GitHub Api docs

Deliveries for review_requested and review_request_removed events will have an additional field called requested_reviewers.

Adds simplePullRequestRequestedReviewers and pullRequestRequestedReviewers fields to SimplePullRequest and PullRequest respectively.

Hmm... couldn't seem to get the build to pass here without the update to the .travisci file. The changes are a result of running the travis encrypt command from the README and likely an undesirable change to merge into master.
The reason I ran the travis encrypt command was because of GitHub auth errors on my travis account where I have a fork of this repo. Any advice here?

Removing the .travisci file changes and trying again...


[BUG] setuptools not working with 3.13.0b1

setuptools version
setuptools==70.0.0
Python version
Python 3.13.0b1
OS
linux/arm64, linux/amd64
Additional environment information
No response
Description
unable pip install .
Expected behavior
installs
How to Reproduce

pip install -U pillow

Output
pip install -U pillow
Collecting pillow
  Using cached pillow-10.3.0.tar.gz (46.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 33, in <module>
        File "<string>", line 27, in get_version
      KeyError: '__version__'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

possibly related: https://github.com/python-pillow/Pillow/issues/8075


Auto-fetching references in native language of the document

References should probably be auto-fetched in native language. Example of current differences between the original and generated ISO Rice IS document in French is given below.
Original:

Generated:

@andrew2net we are able to fetch French in ISO, right? Then is this something to do at the Metanorma side?

@ronaldtse we have a { lang: "fr" } option, but it doesn't do much. Some documents have titles and abstracts in different languages. The relaton-iso fetches an English version of a document, in any case, because the page needed to get links to pages in other languages.
It seems there are only English and French pages on the iso.org. So in case, we fetch an English version of a document ({ lang: "fr" }), we get only the English title and abstract and reduce number of HTTP requests. But if we fetch without the lang option or with { lang: "fr" } then we get both, English and French.

But this doesn't just apply to titles: any string in the content can be in any language.
So the filtering of languages happens either in Metanorma or in Relaton. But the filtering needs to be generic: if there are multiple alternatives tagged by language for any string (whether by e.g.  or by the more general  mechanism), something needs to go through and filter in all such strings.
I can do that in Metanorma; but it will be all strings tagged with lang, not just title. @andrew2net Should I proceed on that basis?

I think Relaton should allow:

RelatonIso::IsoBibliography.get('ISO 19115', lang: 'fr')
RelatonIso::IsoBibliography.get('ISO 19115', lang: :all).title(lang: 'fr')
RelatonIso::IsoBibliography.get('ISO 19115', lang: 'en').title(lang: 'fr') => FAIL

Metanorma is not going to invoke lang: :all, but I am inserting calls to do .get(lang: [current language]).
@andrew2net This presumably becomes a separate ticket. Expected behaviour is:

If a string has language variants, :lang: X filters in the variant present, and leaves out all others

If none of the language variants matches the requested language, raise an error

If a string has language variants, :lang: all leaves in all variants, encoded with <variant lang="X">
If lang is not specified, do current behaviour, which (I presume) is to return only the variants of the default language (English, presumably); so unspecified :lang behaves the same as `.get(lang: "en")

Ah, I see Andrej has already implemented it; and things are more complicated for ISO, because we actually need the French information for the bilingual titles.
So I'm going to make the default behaviour in standoc be language-specific, but ISO needs to override it with bilingual text, and post-filter what it renders.

... But :lang: "fr" is not filtering out English content.
Issue seems to be
/Users/nickn/.rvm/gems/ruby-2.6.6/gems/relaton-1.4.1/lib/relaton/db.rb
bib_entry bib
called with opts = {:title=>"Standard", :usrlbl=>"(1)", :lang=>"fr", :ref=>"ISO 123", :all_parts=>true}
If the bibliographic entry has already been cached, it has been cached with all languages; but the request to load it from cache and generate XML has to be language-sensitive, and right now it is not: opts[:lang] needs to be passed to bib_entry.

@opoudjis @ronaldtse the functionality RelatonIso::IsoBibliography.get('ISO 19115', lang: 'fr') is implemented, but to get link to a fr page we need to scrape an en page first. I don't see a reason to drop en data in case we get fr.
In my opinion, we can replace all Array collections in the Bibliographic model by a Collection class with lang(lang) and lang_{{lang}} methods implementations. So we could use methods like title.lang(:fr) or 'title.lang_fr`.

@andrew2net agree. Just in case -- do we have functionality that allows us to ask an object whether it contains en or fr or both? e.g. RelatonIso::IsoBibliography.get('ISO 19115', lang: 'fr').has_lang?('fr')

@ronaldtse the BibliographicItem model has many languages tagged entities. For example, a document could contain abstracts in 2 languages but titles in one only. So we can implement doc.title.has_lang?('fr') or doc.contributor[0].person. fullname. forename.has_lang?('fr').
In reality, we don't have documents with all LocalizedString elements translated into a second language.

@andrew2net @opoudjis Is it possible to do this for Chinese, as well?

I would be astonished if ISO has translated their references into Chinese; @andrew2net?

And if there is no Chinese, Andrej, please close this ticket: as confirmed in https://github.com/metanorma/metanorma-iso/issues/413, we are recovering properly in a Chinese document by providing the English title.

There's no Chinese for ISO documents, so we have to use English as fallback in that case.

Thanks for clarification, @ronaldtse ! Closing.


Feature: Server manager

Description
Provide an integrated server manager that can start and monitor a headless Terasology instance on a remote server. It must make use of the web API exposed by server facade.
Feature requirements

[ ] UI accesible from side menu
[x] Generated web client code from Swagger specs
[ ] SSH or HTTPS support
[ ] All features from FacadeServer-frontend

Added Gradle task (generateSwaggerCodeClient) to generate web API client code as a subproject. Check PR #428 for details.

I removed the checkmark from "Generated web client code from Swagger specs". Please extract the server-manager-related changes from #428 into a separate PR.
Remember that you can use git reset and git add -p to only add specific files to a commit.

Added #450 to exercise the Swagger stuff 👍


get_change_id: Add diagnostic output

If get_change_id doesn't find a Change-Id, include the commit message in the error message so that the user can identify the offending commit.  It would be even better if it mentioned the commit hash but this is a step in the right direction.

Thanks for the contribution! Looks like I have some flaky tests in the CI for a while. I couldn't root cause it last time I tried to look into it. Will get to that soon.

Thanks for the contribution! Looks like I have some flaky tests in the CI for a while. I couldn't root cause it last time I tried to look into it. Will get to that soon.

Thanks!
By the way you should be aware that your tool is being considered for regular use at Wikimedia Foundation (for gitlab.wikimedia.org), hence the recent batch of PRs from me and @thcipriani.  This is the ticket where it is being discussed: https://phabricator.wikimedia.org/T300819.  Your thoughts on the subject are welcome!

Thanks for the contribution! Looks like I have some flaky tests in the CI for a while. I couldn't root cause it last time I tried to look into it. Will get to that soon.

Thanks!
By the way you should be aware that your tool is being considered for regular use at Wikimedia Foundation (for gitlab.wikimedia.org), hence the recent batch of PRs from me and @thcipriani. This is the ticket where it is being discussed: https://phabricator.wikimedia.org/T300819. Your thoughts on the subject are welcome!

Wow, thanks for letting me know @dancysoft @thcipriani ! It's kinda cool that this little tool caught this much attention. I'm very accustomed to the Gerrit-style stacked patches and believe having that will lead to a cleaner commit history and in turn make people write better code. But I also see the benefit of the GitLab style where multiple commits exist in an MR. For example, people sometimes may want to dig a hole with a draft MR and mess around a little and get early feedback, though I'd still prefer they split commits into separate MRs after things are ironed out. So this is really about what you want; I see my colleagues using GerritLab in one project while otherwise sticking with GitLab.
And therefore, I've been thinking if we can combine these two styles in GerritLab, specifically, allow multiple commits in an MR while still having the stacked MR hierarchy. My idea was having a "git review -i" command to let the user decide how to group the commits. -i means interactive, similar to the same flag in git rebase -i.

# Review commits using GerritLab.
#
# Commands:
# p, pick <commit> = use commit for an individual MR.
# c, combine <commit> = combine commit to be in the same MR as the previous commit.

The above will create 5 MRs by default. The user can then edit this file, similar to git rebase -i, to group commits into a single MR by using the combine command.

# Review commits using GerritLab.
#
# Commands:
# p, pick <commit> = use commit for an individual MR.
# c, combine <commit> = combine commit to be in the same MR as the previous commit.

Does this sound interesting or perhaps it's sort of over-engineering?

And therefore, I've been thinking if we can combine these two styles in GerritLab, specifically, allow multiple commits in an MR while still having the stacked MR hierarchy. My idea was having a "git review -i" command to let the user decide how to group the commits. -i means interactive, similar to the same flag in git rebase -i.

# Review commits using GerritLab.
#
# Commands:
# p, pick <commit> = use commit for an individual MR.
# c, combine <commit> = combine commit to be in the same MR as the previous commit.

The above will create 5 MRs by default. The user can then edit this file, similar to git rebase -i, to group commits into a single MR by using the combine command.

# Review commits using GerritLab.
#
# Commands:
# p, pick <commit> = use commit for an individual MR.
# c, combine <commit> = combine commit to be in the same MR as the previous commit.

Does this sound interesting or perhaps it's sort of over-engineering?

I love this idea and there have been many times where I could have used a feature like this!

I just reran the tests. Looks like they now are passing. I will get to it over the weekend.
Also created an issue #16 for the new feature we discussed. Will start to do it as well :)


compute_tools: disable fast path for safekeeper sync

Problem
In #9259, we found that the check_safekeepers_synced fast path could result in a lower basebackup LSN than the flush_lsn reported by Safekeepers in VoteResponse, causing the compute to panic once on startup.
This would happen if the Safekeeper had unflushed WAL records due to a compute disconnect. The TIMELINE_STATUS query would report a flush_lsn below these unflushed records, while VoteResponse would flush the WAL and report the advanced flush_lsn. See https://github.com/neondatabase/neon/issues/9259#issuecomment-2410849032.
Summary of changes
Disable the check_safekeepers_synced fast path. Discussion in https://github.com/neondatabase/neon/issues/9259#issuecomment-2417314252 indicates that it has questionable value and may need further improvements.
There is also a separate fix to flush the Safekeeper WAL on disconnect: https://github.com/neondatabase/neon/pull/9436.
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

I suspect disabling this will impact cold start latencies, considering most timelines are idle. We should measure it if we want to merge this. Do you know if we have any good benchmarks for cold start latencies?

I'm going to close this for now. It's not clear that it's beneficial.