Does not work with Storybook 7

When I click on the icon added to the toolbar, the entire page turns completely white and the following errors are printed:
Uncaught TypeError: m.options is undefined
    Z http://localhost:4400/sb-addons/background-toggle-esm-preset-8/manager-bundle.js:8
    renderWithHooks http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    mountIndeterminateComponent http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    beginWork http://localhost:4400/sb-manager/chunk-INSKDKQB.js:85
    callCallback2 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallbackDev http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallback http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    beginWork$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performUnitOfWork http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    workLoopSync http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performSyncWorkOnRoot http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueue http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    scheduleUpdateOnFiber http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    dispatchAction http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    onVisibilityChange http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:9
    onVisibleChange http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:9
    current http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    setTimeout handler*usePopperTooltip/showTooltip< http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    toggleTooltip http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    usePopperTooltip http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    commitHookEffectListMount http://localhost:4400/sb-manager/chunk-INSKDKQB.js:89
    commitPassiveHookEffects http://localhost:4400/sb-manager/chunk-INSKDKQB.js:102
    callCallback2 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallbackDev http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallback http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    flushPassiveEffectsImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushPassiveEffects http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performSyncWorkOnRoot http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueue http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    scheduleUpdateOnFiber http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    enqueueSetState http://localhost:4400/sb-manager/chunk-INSKDKQB.js:58
    setState http://localhost:4400/sb-manager/chunk-INSKDKQB.js:3
    setState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:51
    newState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    setState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    init7 http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:51
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    Channel http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handler http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    PostMessageTransport http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    createBrowserChannel http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    ReactProvider http://localhost:4400/sb-manager/runtime.js:1
    <anonymous> http://localhost:4400/sb-manager/runtime.js:1
[manager-bundle.js:8:307](http://localhost:4400/sb-addons/background-toggle-esm-preset-8/manager-bundle.js)
The above error occurred in the <Z> component:
    in Z (created by te)
    in div (created by Styled(div))
    in Styled(div) (created by Tooltip)
    in Tooltip (created by WithTooltipPure)
    in WithTooltipPure (created by WithToolTipState)
    in WithToolTipState (created by WithTooltip)
    in Suspense (created by WithTooltip)
    in WithTooltip (created by te)
    in te (created by render)
    in render
    in Unknown
    in div (created by Side)
    in Side (created by FlexBar)
    in div (created by Styled(div))
    in Styled(div) (created by FlexBar)
    in div (created by UnstyledBar)
    in UnstyledBar (created by Bar)
    in Bar (created by FlexBar)
    in FlexBar (created by Bar3)
    in Bar3 (created by Styled(Bar3))
    in Styled(Bar3)
    in Unknown (created by QueryLocation)
    in QueryLocation
    in Unknown
    in ZoomProvider
    in Unknown
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer
    in Unknown (created by Layout)
    in div (created by Styled(div))
    in Styled(div) (created by Preview)
    in Preview (created by Layout)
    in div (created by ToggleVisibility)
    in ToggleVisibility (created by QueryLocation)
    in QueryLocation (created by QueryMatch)
    in QueryMatch (created by Route)
    in Route (created by Layout)
    in div (created by Styled(div))
    in Styled(div) (created by Main)
    in div (created by Styled(div))
    in Styled(div) (created by Main)
    in Main (created by Layout)
    in Layout (created by WithTheme(Layout))
    in WithTheme(Layout)
    in Unknown (created by App)
    in div (created by Styled(div))
    in Styled(div) (created by App)
    in App
    in ThemeProvider
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer (created by Manager)
    in EffectOnMount (created by Manager)
    in Manager (created by QueryLocation)
    in QueryLocation (created by Main2)
    in Main2 (created by Root4)
    in Router (created by LocationProvider)
    in LocationProvider (created by Root4)
    in HelmetProvider (created by Root4)
    in Root4

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries. [localhost:4400:13024:25](http://localhost:4400/?path=/story/components-iconbutton--default&globals=backgrounds.value:transparent)
Uncaught TypeError: m.options is undefined
    Z http://localhost:4400/sb-addons/background-toggle-esm-preset-8/manager-bundle.js:8
    renderWithHooks http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    mountIndeterminateComponent http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    beginWork http://localhost:4400/sb-manager/chunk-INSKDKQB.js:85
    callCallback2 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallbackDev http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallback http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    beginWork$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performUnitOfWork http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    workLoopSync http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performSyncWorkOnRoot http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueue http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    scheduleUpdateOnFiber http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    dispatchAction http://localhost:4400/sb-manager/chunk-INSKDKQB.js:83
    onVisibilityChange http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:9
    onVisibleChange http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:9
    current http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    setTimeout handler*usePopperTooltip/showTooltip< http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    toggleTooltip http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    usePopperTooltip http://localhost:4400/sb-manager/chunk-NGTUFCUO.js:1
    commitHookEffectListMount http://localhost:4400/sb-manager/chunk-INSKDKQB.js:89
    commitPassiveHookEffects http://localhost:4400/sb-manager/chunk-INSKDKQB.js:102
    callCallback2 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallbackDev http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    invokeGuardedCallback http://localhost:4400/sb-manager/chunk-INSKDKQB.js:16
    flushPassiveEffectsImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushPassiveEffects http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    performSyncWorkOnRoot http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    unstable_runWithPriority http://localhost:4400/sb-manager/chunk-INSKDKQB.js:15
    runWithPriority$1 http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueueImpl http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    flushSyncCallbackQueue http://localhost:4400/sb-manager/chunk-INSKDKQB.js:23
    scheduleUpdateOnFiber http://localhost:4400/sb-manager/chunk-INSKDKQB.js:104
    enqueueSetState http://localhost:4400/sb-manager/chunk-INSKDKQB.js:58
    setState http://localhost:4400/sb-manager/chunk-INSKDKQB.js:3
    setState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:51
    newState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    setState http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    init7 http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:51
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    Channel http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handler http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    handleEvent http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    PostMessageTransport http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    createBrowserChannel http://localhost:4400/sb-manager/chunk-F4FCO4CF.js:37
    ReactProvider http://localhost:4400/sb-manager/runtime.js:1
    <anonymous> http://localhost:4400/sb-manager/runtime.js:1

I'll take a look this week

After looking into this to recall the many problems I had that led me to create this addon, one of the main issues sadly still remains unaddressed by storybook https://github.com/storybookjs/storybook/issues/15632. I don't care to spend the time to update this at the moment but you are welcome to if you'd like. But before you do, I would test out https://github.com/storybookjs/storybook/tree/next/code/addons/backgrounds to see if they fixed it's many issues. If it works, I'd use that instead, even if it's less feature-rich than this addon 😞. Better yet you could contribute to that addon what's missing/broken, forcing storybook to keep it up to date.
Storybook is CONSTANTLY changing apis making it difficult to keep up to date and I've had so many things break in the past between minor updates I have not updated our storybook since v6.3.7.
If you do want to take a stab at fixing/updating this addon I would start fresh with the https://github.com/storybookjs/addon-kit template and cherrypick what you need to get the same functionality, and enjoy updating all the inputs and respective APIs to their new and likely different functionalities 😭.


[TF] Update checkout 'tensorflow/swift-apis'.

Update checkout to https://github.com/tensorflow/swift-apis/commit/34de02a8ddb58af3b9bcc03f172613616e4436f1. Three changes are to be integrated in our toolchains:

Remove SR-9595 workarounds.
Rename the "gradient" argument to "vector" in Optimizer.update(_:along:) for generality.
Switch Tensor initializers to use the Philox random number generator by default to improve performance.

Significantly faster PRNG solutions coming soon.

@swift-ci please test tensorflow

@swift-ci please clean test tensorflow


Created Project for survey form

Proposed changes:
Add Project for survey form
Type of change:

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Nice work


UART echo example prints to serial monitor (IDFGH-2961)

Environment

Development Kit:      SBC-NodeMCU ESP32
Module or chip used:  ESP32-WROOM-32
IDF version:          v4.2-dev-630-gf7d1ed5f3
Build System:         Make
Compiler version      xtensa-esp32s2-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System:     Linux
Using an IDE?:        No
Power Supply:         USB

Problem Description
I copied the uart echo
example, built it and flashed it to my controller. I only adjusted the TX and RX pins to 1 and 3 (according to this pinout sheet). I connected a second microcontroller via cables to those pins. This controller sends in a loop the character s and then tries to read a response.
Maybe noteworthy that this controller is connected via USB to the same PC. But a different port on the PC, no dongle. For more details: it is a Teensy++ 2.0. So they differ a lot in their application.
Expected Behavior
The output I get via serial connection (make monitor) to the esp32 board
should be silent. Nothing gets printed. The other board should get responses of
the esp32.
Actual Behavior
The esp32 sucessfully reads the s characters. But it prints them to the serial
USB connection (which make monitor connects to). But there is no response to
the other controller.
Steps to reproduce

Download the above linked example project.
Connect seconds device via cable to the pins 1 and 3
Connect the board via USB to the PC
Build and flash the app to the board (make flash)
Watch serial output of controller (make monitor)

Code to reproduce this issue
Checkout the example code
here
Debug Logs
No crash
Other items if possible

[x] sdkconfig file (attach the sdkconfig file from your project folder)
[x] elf file in the build folder (note this may contain all the code details and symbols of your project.)
sdkconfig_elf.zip

Pins 1&3 are the default uart0 pins that are used for the serial monitor. Use different pins.

Good point. I wasn't aware about that and confused that this mix works. Thanks
for your help!


No generate collision for Skeletal Mesh?

Hello! Thank you for your hard work.
But I have a problem. When I load an animated GLB skeletal mesh with the plugin, it has no collisions. I use this node to set up the loaded asset, but unlike the static mesh nodes, I don't see any way to control collision generation and I couldn't find this information in the documentation. Per poly collision doesn't seem to affect this. Could you suggest what I am doing wrong? Thank you!

Hi, you need to fill the PhysicBodies map where the key (the bone name) maps to an array of capsules. Take into account that generally you prefer to assign a single capsulecomponent to the whole skeletalmesh (and rely on physics bodies for ragdolls)

Hi Trewell,
I hope you're doing well. I came across a similar issue to what you mentioned in your previous comment about loading animated GLB skeletal mesh with the plugin. I've been trying to set up collision for the loaded asset, but I'm having trouble understanding how to use the PhysicBodies map, especially when dealing with animated meshes.
I noticed your conversation with @rdeioris, and I'm struggling to grasp the solution he provided regarding filling the PhysicBodies map with capsules for each bone. Unfortunately, I couldn't find specific information in the documentation.
Would it be possible for you to provide a more detailed example or guide on how to fill the PhysicBodies map for an animated skeletal mesh? If there are specific steps or code snippets, that would be incredibly helpful.
Thank you for your assistance, and I appreciate your hard work on the plugin!


[TOPIC-GPIO] Update gpio_intel_apl driver to new GPIO API

This updates the gpio_intel_apl to the new GPIO API. This also changes how the GPIO controllers are defined in the DTS, to a) remove the entries in dts_fixup.h, and b) allow referencing these controllers from other DTS files. Also adds a few board overlay files to the new GPIO API tests and the sample GPIO app.
This has been tested on the up_squared board. However, these is a FPGA acting as I/O buffer on the HAT where settings are controlled by BIOS. Pins can be set as input or output as GPIOs. Since the FPGA is actually driving the pins, pull-up/pull-down tests on the input pin do not work correctly.

@galak @pabigot can we merge this?

It would be good if @galak had a quick look and verified DTS usage. It's a bit non standard.

Yeah, the DTS looks a little odd, Hopefully @dcpleung can point me at a manual/specs for the SoC to understand the register layout and why we need 'offset' and multiple GPIO controller nodes.

There are 4 GPIO controllers on the SoC, where each one has more than 32 pins. Since the GPIO API is based on the assumption that one port has 32 pins, this driver has to divide one controller into a few driver instances (hence the pin offsets).
The datasheet is @ https://www.intel.com/content/www/us/en/processors/pentium/pentium-celeron-n-series-j-series-datasheet-vol-3.html, and GPIO is chapter 22. The section 22.[1-4] describe the register sets for the 4 GPIO controllers.

As suggested in the API telecon: https://github.com/pabigot/zephyr/commits/pr/20400 provides a nexus map that can be used to translate GPIO references from the controller to subdevices.  I.e. devicetree source can use &gpio_w 42 0 instead of &gpio_w_032_046 10 0.
If you find this useful you should cherrypick the map and squash the overlay updates.  The bash script used to generate the bulk of the map may be kept for reference.

@pabigot Thank you. I have updated the PR with your changes. :)


MalformedInput - timestamp must follow ISO8601

I've had this code running in production for at least a year. Just today I started getting errors: from AmazonOrderList.php checkResponse: Bad Response! 400 Bad Request: MalformedInput - timestamp must follow ISO8601
I'm calling fetchOrders having already used $amz->setLimits('Modified', "-1 weeks");
No other changes were made to the code or configuration any time recently.
I added some logging to genTime and the results are as expected (they are proper ISO 8601 format).
Any idea what could be happening?

This started happening to me today with GetOrders  as well, but interestingly only in Japan... No changes have been made to the date format whatsoever and I've done no updates. I'm assuming Amazon have changed something, but not in Europe and North America... Are you seeing the issue in other regions?

I'm actually seeing it only in North America.

I think I've got it fixed.
In AmazonCore.php, the genTime function returns date('Y-m-d\TH:i:sO',$time-120).
It should instead be returning either date('Y-m-d\TH:i:sP',$time-120) or date('c',$time-120)

Same issue here (Amazon Germany).
Using Laravel Fork https://github.com/sonnenglas/amazon-mws-laravel/

Confirming this has fixed it! After some time the issue started affecting me in all regions too, not sure why it was only Japan for a while... @JonLaliberte , I have a fork with this fix in it, would you like to submit a PR to the main repo? If not I'll happily send mine...

@joe-pritchard Sure, go ahead and submit, I won't have time to do it for a bit (my repo has a few other customizations). Over on the MWS forums it looks like Amazon may have changed something too, some are reporting that the issue stopped affecting them without any code changes. No matter, I believe the change we've made is the format Amazon expects so it would be a good change to have.

@JonLaliberte The store that I work with started having this same problem, too, and it's still ongoing. Thank you for reporting it and for finding a solution for it. I'll work on getting this fixed and released within the next few days.

The bug fix is now in place as Version 1.4.2! Thanks again for helping with this problem.


Permission Error when installing

Linux Mint 20
Running newest version in Docker
Hello World docker runs fine
When I install I get the following error:
Traceback (most recent call last):
  File "/app/python/seedsync.py", line 378, in <module>
    seedsync = Seedsync()
  File "/app/python/seedsync.py", line 60, in __init__
    config.to_file(self.config_path)
  File "/app/python/common/persist.py", line 53, in to_file
    with open(file_path, "w") as f:
PermissionError: [Errno 13] Permission denied: '/config/settings.cfg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/python/seedsync.py", line 386, in <module>
    Seedsync.logger.exception("Caught exception")
AttributeError: 'NoneType' object has no attribute 'exception'

This problem might be related to the settings.cfg but I have no idea what to put into the settings.cfg. I cant find any documentation.
Can anyone maybe share where I can find documentation on what to put into the settings.cfg?

This problem might be related to the settings.cfg but I have no idea what to put into the settings.cfg. I cant find any documentation.
Can anyone maybe share where I can find documentation on what to put into the settings.cfg?

Please take a look at the installation instructions here: https://ipsingh06.github.io/seedsync/install/#docker-image-linuxubuntu-raspberry-pi

Please take a look at the installation instructions here: https://ipsingh06.github.io/seedsync/install/#docker-image-linuxubuntu-raspberry-pi

Followed the doc and still get the same error.
https://imgur.com/EUYvlRf

same error here. Is this project abandoned?

This error is due to the permissions on the Docker host not being able to access the config file.

Where are you installing this? Synology?
Have you checked the UID and GID of the user on the host system that will access the config files DIR?
Did you set the GID and UID in the docker container VARs?

I don't believe that this project has been abandoned. It is a side project that @ipsingh06 wrote to solve his own problem. I have not heard from him for a while. Life does get in the way. I do understand that this is not a high priority for him though. It does need some tweaks here and there but all in all, it does work well (at least for me it does).

Installing on Synology comes with its own issues. These are not related to Seedsync itself but with how Synology manages Docker containers.
Start New Seedsync Container - Run this from an SSH session to your Synology
docker pull ipsingh06/seedsync
sudo docker run --name SeedSync -p 8802:8800 -v /volume3/Sync/Seedbox/z-config:/config -v /volume3/Sync/Seedbox/1-Incoming:/incoming --user {UID}:{GID} ipsingh06/seedsync:latest
Clear out Synology Docker Containers When Stuck - Run this from an SSH session to your Synology if you are having issues building the container
rm /tmp/DSMTaskMgr/@administrators/SYNO_DOCKER_IMAGE_PULL*

thanks for responding. Im trying to install the docker on unRaid. All im setting is the port, the /config, and the /downloads map. the directories all exist already. im not setting the UID/GUID. The host shouldnt have an issue accessing the /config mapped dir, at least all my other docker containers dont have issue.

okay i figured it out. The docker container was not creating a settings.cfg.
First i did touch /mnt/user/appdata/seedsync/settings.cfg and then when i tried booting the container it said some other error about the cfg not having a "general" section.
I found someone elses cfg on another issue and just copied it into the settings.cfg, and it booted. So it seems like the docker  was not able to or chose not to create the initial settings.cfg
Then when i stopped the container i got an error

    shutil.copy(file_path, backup_path)
  File "/usr/local/lib/python3.8/shutil.py", line 418, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/local/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/config/settings.cfg.1.bak'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/python/seedsync.py", line 386, in <module>
    Seedsync.logger.exception("Caught exception")
AttributeError: 'NoneType' object has no attribute 'exception'
Traceback (most recent call last):
  File "/app/python/seedsync.py", line 158, in run
    self.persist()
  File "/app/python/seedsync.py", line 210, in persist
    self.controller_persist.to_file(self.controller_persist_path)
  File "/app/python/common/persist.py", line 53, in to_file
    with open(file_path, "w") as f:
PermissionError: [Errno 13] Permission denied: '/config/controller.persist'

so there is still some issue...

okay, instead of setting PUID and GUID vars i just added paramter -u 99:100 to the args and its working

I am using UnRaid as well now.  Any reason why you didn't use the app in the UnRaid market?
Worked great for me.

i am using the unraid app, it didnt work out of the box, i had to ad the -u 99:100 to the extra parameters section of the docker template to get it to boot.
btw off topic, but is there a way to get sync only specific folders? I enabled auto-queue pattern match and set one to series/* and one to movies/* but its not syncing those directories.


linux glibc and android adding malloc_info fn.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 81d4b04ca5958a13fc69bc5c1b67d31a9bec5813 has been approved by Amanieu

:hourglass: Testing commit 81d4b04ca5958a13fc69bc5c1b67d31a9bec5813 with merge 9d6d76adbaef85d16f93f97e9c5d31604a53903d...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 9d6d76adbaef85d16f93f97e9c5d31604a53903d to master...


standalone ./tools/zbi executable is needed

I'm trying to use fimage to develop fuchsia app but I don't have fuchsia source. So, I don't have ./tools/zbi to put ssh pub key.
Please add a standalone zbi executable in this repo, thanks.

See the current pre-release build.


Support floating MISO in SPI

Closes #45.

Looks good!  One thing I'd do differently:  I would create two different constructors to make it more obvious that a pull-up is needed here.  E.g.
fn new(... MISO<PullUp> ...) {}
fn with_external_pullup(... MISO<Floating> ...) {}

This way, when using ::new() everything is configured correctly from the get-go.  And for the non-standard case you have to be explicit by using another method, which hopefully makes a programmer think twice about what they're doing.  With just a single constructor, this is not as obvious in my opinion.

I would create two different constructors to make it more obvious that a pull-up is needed here.

That makes a lot of sense.  Will update.

Updated, please take a look.


Exclude jdk11 build on slower CI platforms.

Pull Request Test Coverage Report for Build #44

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.392%

Totals

Change from base Build #43:
0.0%

Covered Lines:
1264

Relevant Lines:
1430

💛  - Coveralls


Q: How to create a route that uses the version

I am trying to respond to a post with a created response and clearly I now have to add the api-version to the parameters; but when I try to pass api-version to the anonymous object to create the request url, the compiler complains (because of the - in api-version).
Is there another way to specify the version when mapping to a specific route?
        [HttpPost("demo/values/")]
        [ProducesResponseType(201)]
        public async Task<IActionResult> Post([FromBody] string value)
        {
            return await Task.FromResult(CreatedAtRoute("GetById", new {id = 1 , api-version = 1}, value));
        }

It depends on the versioning style that you are using and which version of the package. In 1.0-2.x, you can access the requested API version via:
this.HttpContext.GetRequestedApiVersion();

Beginning in 3.0, you can also declare an action parameter as ApiVersion apiVersion and it will be populated by model binding.
In general, there should not be a need to echo the API version back to the client. It's the client's job to know what API version they have asked for or will ask for. This is important for large API surfaces where different APIs may not use symmetrical versioning and client may be bound to different versions of different resources.
If you really want to include the API version in the generated URL, I'm afraid you'll probably have to append it yourself. The point of CreatedAtRoute is to generate the URL path of the created resource, which is it's identifier. A query parameter is not part of the path or identifier. This isn't terribly hard to do, it just isn't supported out-of-the-box. You could always create an extension method or something to make easier to integrate.
I hope that helps.


Show comparison table view when in comparison mode

The table view is the default view when in comparison mode.
We haven't implemented any special formatters / visualizations for metrics yet, so this task is limited to implementing the table that will eventually hold those visualizations. For this task, it's enough to display the same text values as the sidebar does in <LocationDetails />. Don't worry about data filtering or drawing line graphs.
Things to do:

[ ] Same <Collapsible /> section headers as the sidebar, just styled to be bigger
[ ] Draw the rows with an alternating background color
[ ] Fix the label column to 170px wide
[ ] Fix each location in a 120px wide column
[ ] Separate the columns by 25px

Figma mockups for table comparing

3 locations
2 locations
1 location

Note the table's collapsible sections headers have a minimum width of 670px.


Disable ITN GraphQL in mainnet

Introduce an entry itn_features in dev and devnet profiles. Promote that to a boolean in Mina_compile_config.
Dispatch on that boolean to disable the ITN GraphQL server when building with other profiles, including mainnet.
The ITN GraphQL server is not started for the mainnet build, and the schema that would be used were it started, is empty.

Closes #12886

!ci-build-me

!ci-build-me

The CLI flags --itn-graphql-port and --itn-keys still remain when building for mainnet, but their docstring is "(Unused in this daemon)". The flags are not used in that case, really.

Why won't we remove these two ?

Why won't we remove these two ?

I don't know how to remove them. If you know how, please let me know.

Why won't we remove these two ?

I don't know how to remove them. If you know how, please let me know.

Removed in latest commit. I sacrificed the ability to use the itn port in a runtime config file, you have to put it on the command line.

!ci-build-me

!ci-build-me

!ci-build-me

!approved-for-mainnet


FindColmap.cmake includes vlfeat which does not exist

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
As found with @Tobias-Fischer, the cmake in colmap refers to vlfeat but the library is actually called just vl. This needs fixing.
Installed packages
-

Environment info
-

Note that we unvendor vlfeat, sth must be wrong with the way we are doing it:
https://github.com/conda-forge/colmap-feedstock/blob/main/recipe/unvendor_libs.patch
@traversaro - sorry to bother you, but you are the cmake expert, can you see what's wrong with the approach we are taking?

Found the culprit - sorry for the noise @traversaro


Download an ee.ImageCollection

geemap version:  0.7.0
Python version: python 3.7
Operating System: Windows

Description
I try to export large ImageCollection. The error occurs with an error message which says "Pixel grid dimensions (55635x21196) must be less than or equal to 10000."
In the GEE code editor, it is possible to determine the "maxPixels:" but the ee_export_image_collection does not have such an argument.
Is there a way to deal with this problem?

You can try setting the scale parameter to a larger number, i.e., reducing the spatial resolution of the image. This export function utilizes the ee_object.getDownloadURL() function, which has a pixel limit enforced by GEE. Alternatively, you can try exporting the images to Google Drive. I will implement a new function for this. Stay tuned.
https://geemap.readthedocs.io/en/latest/source/geemap.html#geemap.geemap.ee_export_image_collection
ee_export_image_collection(ee_object, out_dir, scale=None, crs=None, region=None, file_per_band=False)

I have added two functions for exporting ee.Image and ee.ImageCollection to Google Drive. See this example.
geemap.ee_export_image_collection_to_drive(collection, folder='export', scale=10)
https://geemap.readthedocs.io/en/latest/source/geemap.html#geemap.geemap.ee_export_image_collection_to_drive

You need to update the package using geemap.update_package() and restart the kernel to take effect.


How to append data to views?

Is there any way to add a variable to the view that is about to be rendered? I want to do something like AppendData function in slim

Well, silex doesn't actually have any view rendering component. You can use any view library that you want. However, out of the box, it supports twig. So you'll want to look at the twig documentation.
In twig you can set global variables that are shown in all templates, but it looks like you can't set data for a template, then add more data. There are examples of how to do what you want to do in the docs.
You could also just create an array, then set more values on the array, then pass the modified array into the render method.
<?php

$data = [
    'var1' => 1,
];

// do stuff

// add in more data
$data['var2'] = 2;

return $app['twig']->render('template', $data);


friend cant join

when my friend trys to join with the sever IP it says "connection failed after 4 retrys"
if he trys to join through the friends tab in the community severs the server doesnt show up
if he trys to join me through my steam profile he gets the same message as problem 1

Sounds like a networking issue. You need to expose Team Fortress 2's default port to the public by port forwading.
This tutorial is for Minecraft, but the concept is the same for all games. TF2's default port is 27015.
https://www.youtube.com/watch?v=X75GbRaGzu8&ab_channel=TroubleChute

Sounds like a networking issue. You need to expose Team Fortress 2's default port to the public by port forwading.
This tutorial is for Minecraft, but the concept is the same for all games. TF2's default port is 27015. https://www.youtube.com/watch?v=X75GbRaGzu8&ab_channel=TroubleChute
where can i find the server.properties? (or whatever tf2s version of it is)

Sounds like a networking issue. You need to expose Team Fortress 2's default port to the public by port forwading.
This tutorial is for Minecraft, but the concept is the same for all games. TF2's default port is 27015. https://www.youtube.com/watch?v=X75GbRaGzu8&ab_channel=TroubleChute
where can i find the server.properties? (or whatever tf2s version of it is)

Under C:\TFGameServers\{YOUR_SERVER_NAME}\config.json If the port isn't listed there then your port is still set to the default, which 27015.

Sounds like a networking issue. You need to expose Team Fortress 2's default port to the public by port forwading.
This tutorial is for Minecraft, but the concept is the same for all games. TF2's default port is 27015. https://www.youtube.com/watch?v=X75GbRaGzu8&ab_channel=TroubleChute
where can i find the server.properties? (or whatever tf2s version of it is)

Under C:\TFGameServers\{YOUR_SERVER_NAME}\config.json If the port isn't listed there then your port is still set to the default, which is 27015.

i cant figure it out its to confusing sorry

Do you have access to your router's admin interface? you need the login and password. The ip address is usually <IP_ADDRESS> (though not always).
1- Got to your Router's interface (http://<IP_ADDRESS>)
2- Log in with admin credentails (try "admin" as username and password)
2- Search and click on Port Forwarding
3- Open ports 27015 using TCP and UDP protocols (they are usually called "both")
4- Give your public ip address to your friend along with the port example: <IP_ADDRESS>:27015
If the credentials are wrong, look at the bottom of your router, they usually have the credentials there.


Sleep on one core negatively impacts execution on the other core

Hi, I originally opened an issue for this in arduino-pico (see https://github.com/earlephilhower/arduino-pico/issues/637) before discovering the issue happens even using the Pico SDK directly. There are more details in that issue, but basically calling sleep_us() on one core while the other core is working seems to have a huge impact on the other core that interrupts its execution part way and is causing communication failures for me even though I'm using the PIO for my comms and it's 100% stable when I'm not using multicore.
Code to reproduce:
#include <pico/multicore.h>
#include <pico/stdlib.h>

bool gp1;

void blah();

int main(void) {
    gpio_init(1);
    gpio_init(2);
    gpio_set_dir(1, GPIO_OUT);
    gpio_set_dir(2, GPIO_OUT);

    multicore_reset_core1();
    multicore_launch_core1(blah);

    while (true) {
        gp1 = !gp1;
        gpio_put(1, gp1);
    }
}

void blah() {
    while (1) {
        gpio_put(2, 1);
        sleep_us(50);
        gpio_put(2, 0);
    }
}

Every time core 1 is about to come out of a sleep, core 0 appears to "stall" in some way. It's not exactly a stall, because it doesn't just continue where it left off. Instead, it actually never does things that it should have, or gets interrupted halfway through doing something and never finishes it.
Logic analyzer trace of the above code:

I just tested this with core 0 and core 1's roles swapped and the result is not exactly the same but there is clearly still some impact:
#include <pico/multicore.h>
#include <pico/stdlib.h>

bool gp1;

void blah();

int main(void) {
    gpio_init(1);
    gpio_init(2);
    gpio_set_dir(1, GPIO_OUT);
    gpio_set_dir(2, GPIO_OUT);

    multicore_reset_core1();
    multicore_launch_core1(blah);

    while (true) {
        gpio_put(2, 1);
        sleep_us(50);
        gpio_put(2, 0);
    }
}

void blah() {
    while (1) {
        gp1 = !gp1;
        gpio_put(1, gp1);
    }
}

sleep_us will use an alarm in the default alarm pool (which is on core 0) to wake itself up after a period of time (it can stay ni a lower power state). 4us which you see above is presumably the alarm IRQ handler.
You can use busy_wait_us instead...

I'm still somewhat confused how this is causing more issues than the USB timer alarm in arduino-pico. Like, I have pio_sm_put_blocking() on core 0 that somehow can get interrupted halfway and never finishes. Even with interrupts it should still continue what it was doing before, right?
And that workaround is a bit of a problem when I'm using libraries which are using sleep and I need to use them with multicore :-/

The delay you see in your traces is expected. The fact that it is causing your real use case problems is surprising, unless your use case cannot handle the brief delay.
Indeed, the IRQ should have no effect on the interrupted code (other than the delay)... are you sure something else isn't happening (e.g. stack overflow - possibly during the exception handler)

Ah it looks like it's not actually being interrupted while sending the response, but it's actually sending a shorter response than expected because it thinks it received a different command. The way core 1 is affecting core 0 somehow causes it to misread the received command byte. So, sometimes it misses responding to a poll command completely (probably because it looked like an invalid command), and sometimes it thinks it received a probe command and sends the wrong response (3 bytes instead of 8). But this doesn't really make sense to me either, because the actual reading of bits is handled by the PIO so it should not be affected unless the system clock speed is varying. If it was missing whole bytes that would be more explainable, but that doesn't seem to be the case here.
Example of correct behaviour (received poll command and responded correctly with 8 bytes of data):

Example of received poll command but no response (only happening when using sleep on core 1):

Example of received poll but responded with only 3 bytes:

I've been able to do plenty of other things on core 1 with the same code running on core 0 and it hasn't been a problem, but anything with a sleep completely breaks it.

@JonnyHaystack Looking at https://github.com/raspberrypi/pico-sdk/blob/master/src/common/pico_time/time.c#L375 do you want to try setting PICO_TIME_DEFAULT_ALARM_POOL_DISABLED to 1, and seeing if that makes your code behave differently?

@lurch unfortunately that didn't work at all. Seems to result in the signal from core 0 staying high forever and the signal from core 1 stays low forever. Also for my actual use case I'm using arduino-pico, which won't even compile if I set that flag (error below).
.pio\libdeps\pico\Adafruit TinyUSB Library\src\arduino\ports\rp2040\Adafruit_TinyUSB_rp2040.cpp: In function 'void setup_periodic_usb_hanlder(uint64_t)':
.pio\libdeps\pico\Adafruit TinyUSB Library\src\arduino\ports\rp2040\Adafruit_TinyUSB_rp2040.cpp:84:3: error: 'add_alarm_in_us' was not declared in this scope
   84 |   add_alarm_in_us(us, timer_task, NULL, true);
      |   ^~~~~~~~~~~~~~~


Not working right now

Had a great week watching all of Netflix, for which I thank you.
It doesn't seem to work anymore, though. I added the extra entry to the zone, didn't work. I set up a new server with the newest version, didn't work. I set up a SSH tunnel with putty but that didn't work either.
Then, I tried creating a new Netflix account, using the server. Maybe a fully US Netflix account wouldn't be 'tagged'. But it still didn't work. So this makes me wonder.... if it's an US Netflix account and all data goes through the US, how can they still know what I'm doing?
I guess it's because the IP address of the server? How do I get around that? Do I need a more 'obscure'  host?

Yep, blocked. If you can find a host somewhere, which isn't blacklisted, keep it to yourself :grimacing:

New work around in place, make sure to read the README very carefully before redeploying, because the instructions are a bit more complicated now..
-- ab1

Legendary ab1, cheers!

One question, do you recommend rebuilding with your latest comits or just implementing the new steps?

Yep, destroy and rebuild.


ImportError: cannot import name 'Literal' from 'typing'

I get the following error trying to import draftsman. This is on Mac OS using Python 3.7. Draftsman version 0.9.6
ImportError: cannot import name 'Literal' from 'typing' (/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py)
I can work around this with this but I'm not sure that's a completely compatible fix. Most fixes on the web put something similar into the library itself.
from typing_extensions import Literal
import typing
typing.Literal = Literal
from draftsman import utils
from draftsman.blueprintable import get_blueprintable_from_string

I forgot to put typing_extensions in setup.py; this only affects versions of Python prior to 3.8. Theoretically all you should have to do is run pip install typing_extensions in your environment and it should fix itself. The updated setup.py will be in version 0.9.7.

It looks like splitter.py needs an edit to handle finding Literal either in typing or typing_extensions.
Stack Overflow suggests:
try:
    from typing import Literal
except ImportError:
    from typing_extensions import Literal

Should be fixed as of 1.0.0.


nullable embedded lists

Currently for an embedded list, an empty list must be instantiated in the constructor. I probably created this requirement some time ago, but a) it seems like an unnecessary requirement considering an ordinary Json converter knows how to instantiate a list for you if not already instantiated, and b) we have a use case needing to distinguish on the server side between an empty embedded list vs. a null list, meaning distinguishing whether the hal+json payload had an embedded list present or absent.
An empty list could not be used as the distinguisher because our WebApi.Hal implementation required an empty list to be instantiated in the constructor in order for the internals to hang together without blowing up.
I have a proposed fix, for which I'll do a pull request.

Hey @JakeGinnivan, I tried publishing this fix to NuGet but it failed:
[23:39:42]Step 1/1: NuGet Publish (4s)
[23:39:46][Step 1/1] Step NuGet Publish failed
Any ideas?

Will check out when I get home
Sent from my Windows Phone

From: Brook<EMAIL_ADDRESS>Sent: 27/05/2015 16:46
To<EMAIL_ADDRESS>Cc: Jake<EMAIL_ADDRESS>Subject: Re: [WebApi.Hal] nullable embedded lists (#101)
Hey @JakeGinnivanhttps://github.com/JakeGinnivan, I tried publishing this fix to NuGet but it failed:
[23:39:42]Step 1/1: NuGet Publish (4s)
[23:39:46][Step 1/1] Step NuGet Publish failed
Any ideas?
—
Reply to this email directly or view it on GitHubhttps://github.com/JakeGinnivan/WebApi.Hal/issues/101#issuecomment-105968360.

Thanks, apparently there's a loose nut behind my keyboard. I tried setting the build version to 2.5.1 so it wouldn't conflict with the 2.5.0 already out on nuget, but it didn't carry forward through to the nuget publish.

I think this is the issue:

The old nuget file was sitting around so it was trying to reupload it

Ugh, screenshots on high dpi screens is terrible


[PIO-92] Bump HBase to 1.2.6

@takezoe LGTM. Mind also updating the documentation in this PR to reflect the new minimum requirement (http://predictionio.incubator.apache.org/install/)?

@dszeto Documentation updated.

Is this update really required to use HBase 1.2.6? It looks like the APIs have changed without deprecate warnings. Is this true?

Actually we already have an AWS AMI with HBase 1.2.6 that works fine without any changes as far as we have seen and we do run automated tests.
Since this will require that all users of PIO upgrade hbase, why are we doing this?

@pferrel Following methods have been deprecated since HBase 1.0.0. Since they are still alive in HBase 1.2.6 current code works fine with 1.2.6.
I think it's not necessary to merge this request soon, but HBase 0.98 hasn't been maintained in fact. So we should lead users to upgrade to maintained versions. At first, we should announce the plan of supported versions and drop old versions after a sufficient transition period. Maybe we should do it after graduation the incubator. I would like to keep this changes keeps until that time.
But I think that there is no problem to upgrade HBase dependency to 1.2.6 from 0.98, so I will create another pull request to only do it.
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala:167: method add in class Put is deprecated: see corresponding Javadoc for more information.
[warn]       put.add(eBytes, col, Bytes.toBytes(v))
[warn]           ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala:171: method add in class Put is deprecated: see corresponding Javadoc for more information.
[warn]       put.add(eBytes, col, Bytes.toBytes(v))
[warn]           ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBLEvents.scala:45: trait HTableInterface in package client is deprecated: see corresponding Javadoc for more information.
[warn]   def getTable(appId: Int, channelId: Option[Int] = None): HTableInterface =
[warn]                                                            ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBLEvents.scala:106: method flushCommits in trait HTableInterface is deprecated: see corresponding Javadoc for more information.
[warn]       table.flushCommits()
[warn]             ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBLEvents.scala:120: method flushCommits in trait HTableInterface is deprecated: see corresponding Javadoc for more information.
[warn]       table.flushCommits()
[warn]             ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBPEvents.scala:122: constructor HTable in class HTable is deprecated: see corresponding Javadoc for more information.
[warn]       val table = new HTable(conf, tableName)
[warn]                   ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/StorageClient.scala:36: trait HConnection in package client is deprecated: see corresponding Javadoc for more information.
[warn]   val connection: HConnection,
[warn]                   ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/StorageClient.scala:34: trait HConnection in package client is deprecated: see corresponding Javadoc for more information.
[warn] case class HBClient(
[warn]            ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/StorageClient.scala:76: method createConnection in object HConnectionManager is deprecated: see corresponding Javadoc for more information.
[warn]   val connection = HConnectionManager.createConnection(conf)
[warn]                                       ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/StorageClient.scala:81: constructor HBaseAdmin in class HBaseAdmin is deprecated: see corresponding Javadoc for more information.
[warn]     admin = new HBaseAdmin(connection)
[warn]             ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/upgrade/HB_0_8_0.scala:51: trait HConnection in package client is deprecated: see corresponding Javadoc for more information.
[warn]     connection: HConnection,
[warn]                 ^
[warn] /Users/naoki.takezoe/incubator-predictionio/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/upgrade/Upgrade.scala:70: method flushCommits in trait HTableInterface is deprecated: see corresponding Javadoc for more information.
[warn]     newTable.flushCommits()
[warn]              ^
[warn] 12 warnings found

https://github.com/apache/incubator-predictionio/pull/395

@pferrel and I found 3 versions of HBase at least in build.sbt and documentation, so I'm not sure what versions are supported in the current PredictionIIO.

0.98.5 in https://github.com/apache/incubator-predictionio/blob/develop/storage/hbase/build.sbt
0.98.6 in https://predictionio.incubator.apache.org/install/
1.2.5 in https://predictionio.incubator.apache.org/install/install-sourcecode/

It is inconsistent. What's state that should be originally?

@dszeto @pferrel How about keeping current code but update the prerequisites section of installation guide to clarify supported versions?
About HBase, PIO supports 0.98.5 or higher, I will make a table of supported versions in the prerequisites section of document and write this in that table with other software versions.
In addition, I would like to update the installation guide to use the newest supported version (1.2.6 in HBase) for all softwares as well as HBase.
Is this alright?

Sorry for the late reply. Agree we should start properly deprecating it. Regarding the inconsistency, I think we should correct 0.98.6 in https://predictionio.incubator.apache.org/install/, and indicate right now 0.98.5 is the minimum compatible version, but it is deprecated. I think it is okay to keep a more recent HBase version in the installation instructions though, so that new users do not install an EOMed version of HBase. Thoughts?

@dszeto Thanks for your support. I updated docs in e3f8307891ae0a5b287855ad83c41379c4e1e8bc so close this pull request and PIO-92. I will raise a new ticket to clarify supported versions and recommended versions in docs, and continue to work on that ticket.


FBCs v4.16 and v4.17

Changes:

Removing old CI file timestamp
Fixing all Apache 2 Licenses in this repo
Adding v4.16 FBC
Adding v4.17 FBC

NOTE It looks like there is a mistake in the dockerfiles using base image: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.15 however there are no more recent tags.
$ podman search --list-tags registry.redhat.io/openshift4/ose-operator-registry-rhel9
NAME                                                       TAG
registry.redhat.io/openshift4/ose-operator-registry-rhel9  v4.15.0-202402131807.p0.g0e8b957.assembly.stream.el9
registry.redhat.io/openshift4/ose-operator-registry-rhel9  v4.15.0-202402131807.p0.g0e8b957.assembly.stream.el9-source
...

cc @securesign/release-coordinators @lance

Once this gets merged I can make the Konflux apps, but they need the devfile merged first so that it can detect build runtime.


VoLTE calls muted and dropped after 15 minutes

First of all, thank you very much for sharing your repository and for your dedication to updating it and also answering several questions about it.
I'm having some problems during VoLTE calls, as far as I could read in the Issues reported it looks like a bad configuration of my environment. Any comments will be greatly appreciated.
My Environment

Docker Version: 20.10.7, build f0df350
Compose Version: 1.29.2, build 5becea4c
Branch docker_open5gs: master
Deployment Environment: Xeon(R) Gold 6240, hyperthreading disabled, bare-metal
Kernel: 5.8.0-59-lowlatency
Core and RAN at same machine

Describe the Issue
I'm having several issues related to radio instability using srsRAN with USRP's, so I increased tx/rx_gain in enb.conf and change from EARFCN to 2460 in an attempt to be more stable, but it didn't work.
Even with the unstable environment on the RAN side, devices can make Attach, PDN's requests for internet and ims as well as register and invites to Fhoss.
Call invitations are received on both devices, but without audio and with a limited duration.
To Reproduce

docker-compose up -d dns mongo webui hss sgwc sgwu smf upf nrf mme pcrf rtpengine mysql  fhoss icscf scscf pcscf
Create profile, subscribers and APN with PCC in HSS (https://github.com/herlesupreeth/docker_open5gs/issues/15#issuecomment-759208730)
Create IMSU, IMPI and IMPU's to both subscribers
Make a call after Attach procedure and IMS register

Expected behavior
VoLTE with audio lasting 1h or more as reported in https://github.com/herlesupreeth/docker_open5gs/issues/7#issuecomment-717229399
Screenshots

Erros and doubts

I noticed an error in rtpengine related to the kernel I'm using, what would be the suggested version for this application?

modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.8.0-59-lowlatency
exec rtpengine --interface=<IP_ADDRESS> --listen-ng=<IP_ADDRESS>:2223 --listen-cli=<IP_ADDRESS>:9901 --pidfile=/run/ngcp-rtpengine-daemon.pid --port-min=49000 --port-max=50000 --table=0 --tos=184 --foreground
[1627773637.447521] ERR: [core] FAILED TO CREATE KERNEL TABLE 0 (No such file or directory), KERNEL FORWARDING DISABLED

I didn't run all the elements of docker-compose.yaml, what elements would be needed for IMS/VoLTE?

Logs
Here some pcaps, sorry if all logs are not present, the next test will try to include the others.
6-test-volte-call-correct-qci-arp.zip

Hi there,
Can you please take a single pcap on the machine where you are running docker_open5gs, then attempt to attach UEs and try a call?it would help me in narrowing the issue.

I noticed an error in rtpengine related to the kernel I'm using, what would be the suggested version for this application?

You can ignore those errors, its just that RTPEngine will run in user space when kernel forwarding is not available

I didn't run all the elements of docker-compose.yaml, what elements would be needed for IMS/VoLTE?

I think no other components are required

Hi, thanks for the reply.
Today I had several interference issues on the RAN side and I am moving some of the equipment to a RF isolated room, as soon as possible I will attach the pcaps.

My Environment

Docker Version: 20.10.7, build f0df350
Compose Version: 1.29.2, build 5becea4c
Branch docker_open5gs: master
Deployment Environment: Xeon(R) Gold 6240, hyperthreading disabled, bare-metal
Kernel: 5.8.0-59-lowlatency
Core and RAN at same machine
srsRAN EARFCN  2460

Describe the Issue
I restarted the server and the devices and repeated the test a few times, tests 16 and 17 are some tests that gave some kind of connection failure, test 18 was where I succeeded in establishing the VoLTE call lasting only 28 seconds .
Tests and logs

Nº
MO/MT
Antenna
VoLTE
Log

16
sip:001010000034312 to sip:001010000034313
Log-periodic
Failure
test-16.pcap

17
sip:001010000034312 to sip:001010000034313
Log-periodic
Failure
test-17.pcap

18
sip:001010000034312 to sip:001010000034313
Omnidirectional
Success
test-18.pcap

Any comments will be greatly appreciated.

I have a question about SQN, until a few versions ago I needed to manually copy from the hss webui to the IMPI form in fhoss. I noticed that this information is now filled in automatically. What was the change?

For the case of test-16.pcap, i suspect your eNB link at issue as the INVITE was sent to called party but no response after that. So technically the call was not established at all

Same is the case for test-17.pcap

In test-18.pcap, you did not attempt to place a call

I have a question about SQN, until a few versions ago I needed to manually copy from the hss webui to the IMPI form in fhoss. I noticed that this information is now filled in automatically. What was the change?

The fix is that Fhoss just accepts the SQN sent by UE in case of an SQN mismatch


Enum description should include more details about how integer values are used

There are three enums that currently use value as an integer: LightName, messageType, and PredefinedWindow however there is no clear description about how and where the integer value is used and whether Core should expect integer or string value from proxies:
messageType is only used in the protocol binary header as an integer
PredefinedWindow  is used as an integer value. Its string value is never used
LightName is used as a string value
These enums should include more description to avoid confusion

Closing with the merge of #236


Error with "content-encoding: gzip" and clean answer

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.02.22
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

youtube-dl 'https://vod.****.es/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/17cf86ca-4630-4faf-9d66-e3a8adc546a9.,865,1560,2810,.mp4.csmil/master.m3u8?hdnts=st=1614613142~exp=1614627542~acl=/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/*~hmac=3a45e8f721448178aabfc285c98cd68c90bf5dc7ff442e18eeb99d28b4e34e78' -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://vod.****.es/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/17cf86ca-4630-4faf-9d66-e3a8adc546a9.,865,1560,2810,.mp4.csmil/master.m3u8?hdnts=st=1614613142~exp=1614627542~acl=/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/*~hmac=3a45e8f721448178aabfc285c98cd68c90bf5dc7ff442e18eeb99d28b4e34e78', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Python version 3.8.5 (CPython) - Linux-5.8.0-43-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] *~hmac=3a45e8f721448178aabfc285c98cd68c90bf5dc7ff442e18eeb99d28b4e34e78: Requesting header
WARNING: Could not send HEAD request to https://vod.****.es/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/17cf86ca-4630-4faf-9d66-e3a8adc546a9.,865,1560,2810,.mp4.csmil/master.m3u8?hdnts=st=1614613142~exp=1614627542~acl=/hls/VOD/17cf86ca-4630-4faf-9d66-e3a8adc546a9/*~hmac=3a45e8f721448178aabfc285c98cd68c90bf5dc7ff442e18eeb99d28b4e34e78: HTTP Error 500: Internal Server Error
[generic] *~hmac=3a45e8f721448178aabfc285c98cd68c90bf5dc7ff442e18eeb99d28b4e34e78: Downloading webpage
ERROR: Unable to download webpage: Not a gzipped file (b'#E') (caused by BadGzipFile("Not a gzipped file (b'#E')")); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 632, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 2275, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/utils.py", line 2639, in http_response
    raise original_ioerror
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/utils.py", line 2627, in http_response
    uncompressed = io.BytesIO(gz.read())
  File "/usr/lib/python3.8/gzip.py", line 292, in read
    return self._buffer.read(size)
  File "/usr/lib/python3.8/gzip.py", line 479, in read
    if not self._read_gzip_header():
  File "/usr/lib/python3.8/gzip.py", line 427, in _read_gzip_header
    raise BadGzipFile('Not a gzipped file (%r)' % magic)

Accept-Encoding: *
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3591.0 Safari/537.36
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Connection: close

HTTP/1.1 200 OK
server: nginx/1.17.8
last-modified: Thu, 31 Dec 2015 02:00:00 GMT
expires: Mon, 28 Feb 2022 23:22:37 GMT
cache-control: max-age=31536000
etag: W/"56848c20-1a8"
access-control-expose-headers: Server,Content-Length,Content-Range,Date
content-encoding: gzip
strict-transport-security: max-age=15724800; includeSubDomains
accept-ranges: bytes
via: 1.1 varnish, 1.1 varnish
age: 66283
content-type: application/x-mpegURL
Content-Length: 1114
Date: Mon, 01 Mar 2021 17:47:21 GMT
Connection: close
X-Served-By: cache-mad22077-MAD, cache-mad22079-MAD
X-Cache: HIT, MISS
X-Cache-Hits: 22, 0
X-Timer: S1614620842.501483,VS0,VE5
Vary: Accept-Encoding
Access-Control-Allow-Methods: GET,OPTIONS
Access-Control-Allow-Headers: origin,range,hdntl,hdnts,x-dash-token
Access-Control-Allow-Expose-Headers: Server,range,hdntl,hdnts,x-dash-token
Access-Control-Allow-Credentials: true
Access-Control-Allow-Max-Age: 86400
x-vcl-version: 90

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=92077

Description

The real problem seems to be sent to him that I accept anything and the server responds that gzip but then it is clear

this a server problem, and the original URL that you did post in the other issue works as expected.

You're right


Improving test cases

We would like to improve Maestro to have a test coverage of 90% or greater. We are currently around 57%. More tests have to be written to cover all functionalities of Maestro.

Test coverage is currently at 75% am closing this issue for now.


Add tokens

This Pull Request meets the following criteria:

[ ] Tests have been added/adjusted for my new feature
[ ] New Components are registered in index.js of my project

Added a new tokens for the next usage on components and rename a teal color as brand color.

I recommend use design tokens from orbit-design-tokens repo

will be update part of this PR or should I consider it finished? @williamkolmacka

Consider it as finished, thanks. @jaroslav-kubicek


solr: 7.5.0 -> 7.6.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/solr/versions.
meta.description for solr is: '"Open source enterprise search platform from the Apache Lucene project"'.

Checks done (click to expand)

built on NixOS
/nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0/bin/solr passed the binary check.
/nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0/bin/post passed the binary check.
/nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0/bin/.solr-wrapped passed the binary check.
/nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0/bin/.post-wrapped passed the binary check.
4 of 4 passed binary check by having a zero exit code.
2 of 4 passed binary check by having the new version present in output.
found 7.6.0 with grep in /nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0
directory tree listing: https://gist.github.com/5a06e759856543927e99e6d3f8bacb43
du listing: https://gist.github.com/db4a7924eaaad43a2b358f97792e1b1a

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
solr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A solr https://github.com/r-ryantm/nixpkgs/archive/4a9fcee0d41b1b7e90d48b76beca74353c835c8e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0
ls -la /nix/store/im9v9sq09klx3mzzqpk7yh8x01kxdz4y-solr-7.6.0/bin

cc @rickynils @domenkozar @aanderse for testing.

@GrahamcOfBorg test solr


Running under NodeJS, one errant 'window' reference left

Matter-js 0.11.1
Wrote a quick NodeJS test to see how the vertices were being calculated in the Bodies.fromVertices method.  Ran into a reference to 'window.decomp' on line 6555:
if (!window.decomp) {
    Common.warn('Bodies.fromVertices: poly-decomp.js required. Could not decompose vertices. Fallback to convex hull.');
}

I commented these lines out for now in my copy.
Thanks for a wonderful package!  I'm using it for some real world work with robots.

I see in comments to previous issues that you're aware of this.


[BUG] An error message appears.

Module Version: v1.7.0
Describe the bug
Ever since I deleted the compendium with containing summon actors, whenever I join the server, I get an error message.
On the client's side, an error message saying ""undefined" is not valid JSON [Detected 1 package: system:shadwroun5e]" appears.
On the player's side, there are a lot of messages that the player does not have the right to create or delete the actor.
To Reproduce
Steps to reproduce the behavior:

On the game settings menu, select the summoning source compendium.
delete the selected source compendium on compendium pack.
An error message appears when entering the server.

Expected behavior
The error message is not poping up.
Screenshots
client side error message

player side error message

Browser:

Google Chrome, FVTT program

Foundry Version:
v11 build 315
Game System:
shadowrun 5e
Additional context
Add any other context (like other modules installed) about the problem here.

I have fixed the issue where the players get asked to create the empty NPC actors needed for the module to work.
As for the error, this looks like a system issue when attempting to fix empty inventories (?). Fixed it by not attempting to create the "base" actor type. Fixed in 1.7.1.


Adding @ZeebeHeaders to fetch and inject headers as params

As of ZeebeVariable and ZeebeVariablesAsType
This feature should enable the possibility to get headers injected :
@ZeebeWorker(type = "foo", autoComplete = true)
public void handleFoo(final ActivatedJob job, @ZeebeHeaders Map<String, String> headers){
  // do whatever you need to do
}

We could have both variables and headers combined as :
@ZeebeWorker(type = "foo", autoComplete = true)
public ProcessVariables handleFoo(@ZeebeVariablesAsType ProcessVariables variables, @ZeebeHeaders Map<String, String> headers){
  // do whatever you need to do
  return variables;
}

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Hamza Bahassou seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Great - thanks for the PR! I really appreciate it.
I wondered if the annotation should probably be named @ZeebeCustomHeaders to be in line with the API method to avoid any potential confusion - WDYT?

@B-hamza could you adjust the PR for the latest code changes on master? If not I could probably also do this later next week (alongside the renaming of @ZeebeCustomHeaders). Thx!

Hi @B-hamza : Thanks! Did you see the PR still has conflicts that need to be resolved before I can merge it? Could you look at this? Otherwise let me know then I try to sort it out.

Thanks once agaiN!


Support adding rules for specific folders

Intro
For our larger Rust monorepo at Embark we have a base deny.toml to disallow certain crates and whitelist licenses for the entire workspace. This works well but we do also have certain more specific projects in subfolders that have additional constraints and that we want to limit more or differently so we want to add support for having specific rules, such as the ban/deny crate list that acts on a specific sub-folder but not the entire workspace.
For example: not allowing rayon crate to be used in our modules/ folder because our crates there are dynamic libraries and either do not support internal parallelism or we don't want them to spawn up their own threadpools.
Potential implementation
Right now I think we are primarily interested in just adding additional bans/deny rules for these folders. Could see a couple of different ways of defining it:
Option 1 - in the main deny.toml
Directly in the current file by specifying paths:
[bans]
multiple_versions = "deny"
deny = [
    { name = "openssl" },

    # do not allow rayon to be used in our modules
    { name = "rayon", path = "modules/" }
]

Option 2 - in its own subfolder deny.toml
Could add additional deny.toml files in the subfolders in question that just add the additional rules:
modules/deny.toml
[bans]
deny = [
    # do not allow rayon to be used in our modules
    { name = "rayon", path = "modules/" }
]

Do think I prefer Option 1 for the simplicity of having everything in the same place, but either would work and is related to how we want to evolve the format going forward (#17).
Would be some work to figure out a way to handle and find which dependencies are used by which crates in which folders also for this, that information, that information is not in Cargo.lock

Thought of another use case for this, for specific folders in the workspace we may also want to allow to have a different "skip" list, e.g. do not allow duplicate crate versions for the dependencies in the crates in the folder. Less important one though but would be useful.

It would be very nice if it were possible to ban licenses for some worspace members, which can also reside in certain subfolders.

+1 - I need to have a centrally managed deny.toml file (outside of any repository), but also allow individual repos to override directives as needed for exceptions. It doesn't sound like there's any way to do this today?

Agreed. This especially affects compilers for programming languages or DSLs, because the compilers usually have runtime libraries. In my primary case, the runtime gets linked into Rust code, and the compiler gets used to build some additional code that actually controls running the Rust code. These have very different implications for most common software licenses, and that means I created some hacks involving two deny.tomls and shell scripts instead of just using a single deny.toml and GHA, even though one is essentially going to be a superset of the other.
It would be nice if, in a single workspace, I could easily define this subset/superset license relationship without having to duplicate the data.
The alternative is unnecessary amounts of grunt work. Not awful, mind! It's fairly tolerable as hacked-together-with-shell-scripts stuff goes.


Improved Expression syntax and parser

Definitely reformated the syntax parser to be more convenient to users of djamago and djamago developpers. Added builtin syntax support for name ascociation prefixed by hash # but backwards compatibility.
solves #2 .

The annotations, were not corrected!, check fails!

Need fix them, but in another pull...


[Bug] Title

#Steps to reproduce:

Create Infinity Data Source

Create a Dashboard "test"

Add a GeoMap pannel on the Dashboard "test"

Edit GeoMap pannel for select the Datasource " yesoreyeram-infinity-datasource"

Do a first query

With this query I managed to have points that are placed on the map because in the fields that I will search with the query two fields contain coordinates (1 field latitude, 1 field longitude), which allows grafana to place the points on the map

So until then everything goes well, I execute a query, points are displayed on the map as I wanted, it is afterwards that I encounter a problem, when I add a second query for example
Here is my second query, it works the same way as the first, the only difference between the 2 queries is that the 2nd query has many more different values in the fields that correspond to the latitude and longitude, so it should just place me more points than the 1st query on the map

however when I validate the query, nothing changes on the map, I still have the same number of points as when I execute the first query, it's only when I hide the first query that the second is taken into account

My question is how can I make the 2 queries active at the same time on the same panel without having to hide the first one for the second to work?
Environment:

Grafana version: Grafana v9.1.5
Data source : yesoreyeram-infinity-datasource Version 0.8.8
User OS : Windows Server 2019
Browser : Microsoft Edge

If you ever wonder why I'm trying to do this, it's because I want to add a color code to the point (say that the points that are placed on the map because of query A are in red for example, say that the points that are placed on the map because of query B are in green.... )
don't hesitate to ask me for more information about the problem if you find it missing.
Thanks in advance for your help

I don't really know if this bug is due to your plugin or if it is due to grafana, if it is due to grafana i'm sorry, just tell me and close the issues

Due to GeoMap Grafana


BU derivation path

Moved from the other dashj branch.
The derivation path used by iOS has changed and another change is needed to get the path to work the same as iOS.  That will have to be added later.

This PR is now obsolete.  It has been superseded by #37.

This is now obsolete and will be closed.


ci: add ok-to-test to test pytest for PRs

What type of pull request is this?

[x] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description
As of right now, naff's checks are failing due to PRs being unable to use secrets. This is for a pretty reasonable reason - we don't want just any random code to be running a bot - but GitHub blocking it entirely is... not great.
This PR implements /ok-to-test, which allows a contributor with write permissions to use /ok-to-test as a comment on a PR to, well, run the bot tests.
Important Notes

@LordOfPolls will need to pick one of the three authentication methods here and set it up to make this work. If he decides to not use the GitHub App way, then the PR will need to be adjusted slightly, though it's as simple as commenting and uncommenting things.
This is absolutely janky. It was not nice at all to make this work. A side effect of this jank is the fact that the checks run with /ok-to-test claim they're running under a random workflow. This does not affect its functionality in the slightest.
I did test this, but due to how weird it is, there's likely bugs.
Once dev gets merged, the bot test will need a quick PR to be skipped if there's no token variable. I'm still merging to master as this whole thing doesn't work if it isn't.

Changes

Add an /ok-to-test command that can be run by collaborators in PRs. This runs the test bot.
Separate the pytest workflow into a file for the PR and push events to make things easier.

Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

anaffer-test-bot is now setup, with appropriate secrets added

/ok-to-test

/ok-to-test
edit: am i to assume it wont work until this is merged to master?

For the edit: yep.


TTFX/build help

xref https://github.com/JuliaLang/julia/issues/55171. Ian seems to be trying to help debug this but is stuck on building the CLI. It just worked for me so I can't debug, perhaps someone who knows Comonicon better could help?

Redundant with #274


OneSignal Without cocoapods

I have upgraded the example for react-native 0.40 (iOS)

@eriksape Thanks for this PR, but the recommended way to work with the most recent SDK version is using CocoaPods.
However, this could be an alternative way. Could you adjust the PR so we'll have two examples? One with CocoaPods and one Without CocoaPods. I think that would be the best solution and everyone would be able to learn from it.

@avishayil Ok, I need to create other xcode project with the cocoapods way?

Yeah :>


Release source distribution on PyPI

closes #770

Thanks @sumanthratna .  I think we also need to modify the twine upload command at https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L224 to upload the generated distribution.  I think the change would be to command: twine upload --verbose wheels/* dist/*.  Similarly, for the wheels CI step, it would be nice to publish this to the artifacts (add another store_artifacts command after https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L190-L191 where we store the dist directory).

Thanks @sumanthratna .  I think we also need to modify the twine upload command at https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L224 to upload the generated distribution.  I think the change would be to command: twine upload --verbose wheels/* dist/*.  Similarly, for the wheels CI step, it would be nice to publish this to the artifacts (add another store_artifacts command after https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L190-L191 where we store the dist directory).

Thanks @sumanthratna . I think we also need to modify the twine upload command at https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L224 to upload the generated distribution. I think the change would be to command: twine upload --verbose wheels/* dist/*

whoops, I made that change and forgot to stage it before committing :) just updated the PR with this and your other suggestion. thanks @manthey!

Thanks @sumanthratna . I think we also need to modify the twine upload command at https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/.circleci/config.yml#L224 to upload the generated distribution. I think the change would be to command: twine upload --verbose wheels/* dist/*

whoops, I made that change and forgot to stage it before committing :) just updated the PR with this and your other suggestion. thanks @manthey!

Thanks @sumanthratna .

Thanks @sumanthratna .

@manthey do you have any ETA on the next release? being able to install from the sdist would be really useful for me

@manthey do you have any ETA on the next release? being able to install from the sdist would be really useful for me

@manthey do you have any ETA on the next release? being able to install from the sdist would be really useful for me

I'll tag a release today.

@manthey do you have any ETA on the next release? being able to install from the sdist would be really useful for me

I'll tag a release today.


RD-459_reimplement-handling-webgl-context-loss

Objective
What is the goal?
Description
What changed, how and why?
Acceptance
How were changes tested?
Checklist

[ ] I have added relevant info to the CHANGELOG.md

This PR now contains a bunch of unrelated changes because it's based on newer main than v3.0.0. Maybe rebasing v3.0.0/merging main into v3.0.0 first would make this cleaner.. ?


Retry enabling multi-arch snap build

Resolves: #243

@lathiat fair enough, i'll make that change


No description provided

created a branch, created a file and made a commit, and opened a pull request

test

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


Allow the possibility of listening to all the events

I would be great to be able listen to all the event with a single handler
something like:
adUnit.on('*', function(evt){
   //Code to execute on every event of the adUnit
});

+1


Service.getInfo() does not work for test environment.

Steps to repro:
clone git@github.com:polina-c/spikes.git
cd spikes/connect_vm
flutter test test/widget_test.dart

See output Obtaining info... and the test never finishes.
The output is from the code:
    print('Obtaining info...');
    final info = await Service.getInfo();
    print('Obtained info.');

There is no error as well.

If I run the test by clicking 'Debug' in VSCode, I can successfully connect to the isolate with DEvTools, using url printed in debug console:

https://github.com/dart-lang/sdk/assets/12115586/a2fcfe32-d772-4075-8464-e4e0c38304de

@bkonyi @a-siva @rmacnak-google

So I've done some digging and I'm not sure exactly what's going on here. The call to the service isolate to get the URI completes successfully and the receivePort.handler is executing completer.complete(uriString). However, the completer's future isn't completing so we hang:
static Future<ServiceProtocolInfo> getInfo() async {
  // Port to receive response from service isolate.
  final RawReceivePort receivePort =
      new RawReceivePort(null, 'Service.getInfo');
  final Completer<String?> completer = new Completer<String?>();
  receivePort.handler = (String? uriString) {
    // This callback executes
    completer.complete(uriString);
  };
  // Request the information from the service isolate.
  _getServerInfo(receivePort.sendPort);
  // Await the response from the service isolate.

  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  // **This future never completes**
  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  String? uriString = await completer.future;

  Uri? uri = uriString == null ? null : Uri.parse(uriString);
  // Close the port.
  receivePort.close();
  return new ServiceProtocolInfo(uri);
  }

I wonder the event loop in flutter_tester is configured differently or does some weird stuff with futures. @christopherfujino, would you know anything about this or know who might?

@mraleph correctly identified this as an issue related to the use of FakeAsync in flutter_tester. The fix is to wrap the call to Service.getInfo() in tester.runAsync.


Parallel blocks

Adding parallel blocks to spec and model

ops -> qops

I like that!
Could you also issue make updateschema, which is needed each time model.py is changed, and push the diff?

{"block": "parallel", "ops": []} seems narrowed to just quantum operations, and I am not sure if that is needed.


Credit Card Validator

So, are you guys intrested, or have plans on implementing a credit card validator and issuer identifier?
If so, I would love to discuss and contribute. =D

Hello @arthursakemi and sorry for the delay. I think that's a good idea and fits with the project scope. What's your idea for the public API?


multiple controller prefixes

it would be great to have support for multiple prefixes, so you could have:
app.controllers
package.controllers
package2.controllers

and the router would check all the registered prefixes to find the controller for the request, this would be the first step in supporting plugins. Basically you could have a package that has some built in controllers that you could register in your main app, something like:
from endpoints import register

register("app.controllers")
register("package.controllers")

This would provide flexibility for things like using the package controllers as-is or extending them in your own app, basically if you didn't register them then they wouldn't be used. Likewise the package could register them automatically so just by importing something of the package it could call the endpoints.register thing
the above is all just speculation on my part, I'm not sure how I want to do it yet or what would be the best approach.

Ok, as of v2.2.0 multiple controllers are first come first serve, I think this might actually work for everything. This is how it works:

you have to specify all the controller prefixes you want to use, you can do this by setting ENDPOINTS_PREFIX_N environment variables (eg, ENDPOINTS_PREFIX_1, ENDPOINTS_PREFIX_2, etc.)
since you have to specify the prefixes, you can set the order
if you would like to override a prefix from a package, you can do that in your top level prefix, so if you had package foo that had foo.controllers.User and you wanted to augment user you could create controllers.User(foo.controllers.User) and then just makes sure controllers is before foo.controllers in the prefix ordering.
if you don't override a controller then the new Router functionality will just work through all the controller prefixes until it finds one that matches.

I'll wait to use this in the wild a bit before I consider it fully functional and close this issue.