MimeType not working!?

Describe the bug
I've tried to display .webp images instead of jpeg to reduce file size but I can't.
Tried
defaultOptions
set default parameter contentType: outputContentType = MimeType.WEBP in sharpTransformer
move .webp() resize to right after image.resize, before .jpeg()
nothing works.
set options={{contentType: MimeType.WEBP}} does add &contentType=image/webp to the URL
But the responses are all image/jpeg

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Describe above
Expected behavior
Response image/webp
Screenshots or Videos
No response
Platform

OS: [Windows]
Browser: [Chrome]
Version: [100.0.4896.127 (Official Build) (64-bit)]

Additional context
No response

Looking into this. When you run this app on localhost, what do the console logs in the server terminal say? It's possible it is falling back to Jpeg for some reason and should hopefully give an explanation why.

And to confirm, have you installed the sharp package? If not, the sharpTransformer will throw an error and fall back to the default pure js transformer.

Yes, sharp installed.
Console logs (cache: null):

Yep, looks like Sharp is working as intended. So definitely something wrong with the inputs being provided to Sharp. Those server logs suggest the image request is not asking for WebP however, it should say something at the end along the lines of &width=640&contentType=image%2Fwebp like in your first photo. Could you send some console output when a WebP request is made?
(If you are making a WebP request, and the browser devtools shows WebP is being sent in the params, this likely means something is going wrong with the URL parsing)

The only way to add &contentType=image/webp to request is to add options:

Response header still image/jpeg.

Found the issue, one moment!

@OnlyC, please try updating to the newest version 0.3.18

Thank you! Working as expected!

@Josh-McFarlin I cannot reopen that

@tomekrozalski I'm assuming in this case you are only trying to convert the image to WebP, and not make it responsive at all?
When I originally wrote this library, I only had resizing in mind, so the library would never make any requests if the responsive property is empty. However, I'm definitely open to changing this!

@Josh-McFarlin Yes, this is a case when I do not want to resize, but only to change file format. I agree, we should use it with resizing though - that is why I believe the responsive should never be empty. It should not have ? here:
https://github.com/Josh-McFarlin/remix-image/blob/master/src/components/Image/Image.tsx#L9
Moreover we could type it as follows:
responsive: [ResponsiveSize, ...ResponsiveSize[]]

to make sure at least one responsive object was set. I am not sure, that is just quick thought 🤔


emba-input

Describe the bug
whitelists don't align adequately
To Reproduce
try running analysis with device-name containing "-"
5. See error
Expected behavior
solution 1: change emba validation
solution 2: change EMBArks validation for inputs
Screenshots

Desktop (please complete the following information):

OS: Ubu22

input was 1.2.11

I have the same issue:


Trigger getting BLOCKED - prevents the scheduler to run the job again

Hi,
we have a job that is run every 2 minutes. The job syncs appointments from our database to an Exchange server. On an arbitrary time during a week the trigger gets BLOCKED and the scheduler stops running the job. Then we do the following:

Delete the row from QRTZ_FIRED_TRIGGERS.
Delete the trigger from our web-interface.
Add a new CronTrigger from our web-interface.

Then everything works again until next time...
Other information
ExchangeJob has @DisallowConcurrentExecution annotation
This is the way we start the scheduler which runs in a server farm with one Oracle Database.
        // Configure Main Scheduler Properties
        props.put("org.quartz.scheduler.instanceName", "MyClusteredScheduler");
        props.put("org.quartz.scheduler.instanceId", "AUTO");

        // Configure ThreadPool
        props.put("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool");
        props.put("org.quartz.threadPool.threadCount", "25");
        props.put("org.quartz.threadPool.threadPriority", "5");

        // Configure JobStore
        props.put("org.quartz.jobStore.misfireThreshold", "60000");
        props.put("org.quartz.jobStore.class", "org.quartz.impl.jdbcjobstore.JobStoreTX");
        props.put("org.quartz.jobStore.driverDelegateClass", "org.quartz.impl.jdbcjobstore.StdJDBCDelegate");
        props.put("org.quartz.jobStore.useProperties", "true");
        props.put("org.quartz.jobStore.dataSource", "MyDS");
        props.put("org.quartz.jobStore.tablePrefix", "QRTZ_");
        props.put("org.quartz.jobStore.isClustered", "true");

        // Configure Datasources
        props.put("org.quartz.dataSource.MyDS.jndiURL", JndiUtil.DATASOURCE_MAIN);
        props.put("org.quartz.dataSource.MyDS.java.naming.factory.initial", "org.jboss.as.naming.InitialContextFactory");

And now for the questions:

I bet it is hard for anyone to pinpoint the problem right away... so just a common question. How can a trigger lockup in BLOCKED state without ever recovering?

Would it help to set TRACE level for Quartz packages in the log files?

Hope anyone reads this as we are pretty stuck...
Best regards
Allan

See #145 with possible PR including the fix.
Let's move the disucssion there?

@allanpro  Are you able to get this issue fixed ?
I am facing similar issue. Can you please help me ?
@icyerasor

Closing as dup and fixed by #145

Any clue here? We are facing same issue


Allow excepting keys from sanitization

Summary

Add an optional parameter nonSanitizableObjectKeys that prevents OpenAPI-to-GraphQL from sanitizing objects that fall under these keys
This does not conform to the GraphQL rules but allows power users who have a non-standard schema to persevere their original data in exceptional cases
I understand this might be controversial so happy to explore alternative options that are not much larger in scope

Testing

Add a test case for the sanitization function
Add an E2E test case for the server and schema creation with appropriate params
All other tests pass

@DanailPenev Thanks for providing this suggestion and including tests! It is also so helpful to include tests.
However, I wonder if there is a better way to do this. Are you aware of the custom type/field/enum extension? The intention of this extension is to allow users to have greater control over type and field names and enum values. However, I think we still ensure basic santization aka remove GraphQL unsafe characters.
Perhaps there should be an option that prevents OtG from sanitizing these extension names/values giving users definitive control over names and values. Perhaps something like disableCustomNameValueSanitzation? It's a long name so I am open to alternatives.
In general, what do you think?

And I am sorry for the late reply. I have really been struggling to maintain OtG by myself.


Fixing error in colour definition

lime_greenred replaced with lime_green
This was breaking the O11y workshop terraform module.

wow!!! My bad!


Leonard/multi modal

:star2: Hello! Thanks for contributing JORLDY!
Checklist
Please check if you consider the following items.

[v] My code follows the style guidelines of this project
[v] My code follows the naming convention of documentation
[v] I have commented my code, particularly in hard-to-understand areas
[v] My changes generate no new warnings or errors

Types of changes
Please describe the types of changes! (ex. Bugfix, New feature, Documentation, ...)
New feature
Test Configuration

OS: Linux Ubuntu
Python version: 3.8
Additional libraries: None

Description
Please describe the details of your contribution
Envs which have Multi modal (image, vector) input can be applied to all agents.

The multi modal is tested without an error in the following environment

Codes are modified based on the comment! :) @ramanuzan


bug: Tooltip component issue in Dock component.

Description of the bug
When trying to use the Tooltip component, an error is thrown: Tooltip must be used within TooltipProvider. This issue persists only in the Dock component.
To Reproduce
Steps to reproduce the behavior:

Go to a page or component where the Tooltip component is used.
Ensure the Tooltip is not wrapped within a TooltipProvider.
Load the page or component.
See error: Tooltip must be used within TooltipProvider.

Expected behavior
The Tooltip component should display properly without throwing an error, indicating that it is correctly used within a TooltipProvider.
Screenshots
Bug:

Fix:

Desktop (please complete the following information):

OS: Windows 10
Browser Google Chrome

Additional context
To resolve this issue, the Tooltip component needs to be wrapped within a TooltipProvider tag. This will ensure that the Tooltip has the necessary context to function correctly.

thanks for bringing this up! Just pushed a fix for this to main :)

thanks for bringing this up! Just pushed a fix for this to main :)

pleasure :)


Processing module option reset

In KAPE is there a way to “reset” module processing options without having to close and reopen the app? For example if you were  setting a date range or computer name can that info be edited or removed from the options box without restarting the app?

Select a variable and press delete. There is no reset. Use the cli for a bunch of different processing needs. Once you have a working cli it's far easier to just adjust it as needed


Broken build

#25 broke the build.  A standalone UMD build fails because it cannot find uv.
$ git rev-parse HEAD
d1ba29decbb3d35817e7f48b68039f2bfb6de570
$ mkdir cmake-build
$ cd cmake-build
$ cmake ..
<snip>
$ make -j
<snip>
/usr/bin/ld: cannot find -luv
collect2: error: ld returned 1 exit status
make[2]: *** [device/simulation/CMakeFiles/simulation.dir/build.make:100: device/simulation/libsimulation.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1296: device/simulation/CMakeFiles/simulation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Should be fixed with https://github.com/tenstorrent/tt-umd/pull/29


Use text-before-edge baseline for labels

I picked the wrong baseline, it was originally 'hanging', should be 'text before edge'

Also, tweaked the build so that the site build is kicked off by changes in d3fc distribution

:+1:


Provide a mimic(e) implementation without lwt

This PR provides a new package mimic.e  which is mimic without lwt.

We probably can functorize mimic and apply it with lwt and without, it will save us for duplication.


[USER SPECIFIC] Pokemongo map gui can launch, but cmd line fails

I do not know what the problem is, I can launch the gui fine, but when I try cmd line, I get the following error:
2016-09-25 18:54:42,878 [ MainThread][ runserver][CRITICAL] It seems p goapi is not up-to-date. You must run pip install -r requirements.txt again
I did run that command, here is my output:
C:\Users\saics\AppData\Local\pokemon\app-0.3.4\resources\app\map>pip install -r requirements.txt --upgrade Requirement already up-to-date: six==1.10.0 in c:\python27\lib\site-packages (fr om -r requirements.txt (line 1)) Requirement already up-to-date: Flask==0.11.1 in c:\python27\lib\site-packages ( from -r requirements.txt (line 2)) Requirement already up-to-date: gevent==1.1.2 in c:\python27\lib\site-packages ( from -r requirements.txt (line 3)) Requirement already up-to-date: Jinja2==2.8 in c:\python27\lib\site-packages (fr om -r requirements.txt (line 4)) Requirement already up-to-date: MarkupSafe==0.23 in c:\python27\lib\site-package s (from -r requirements.txt (line 5)) Requirement already up-to-date: Werkzeug==0.11.10 in c:\python27\lib\site-packag es (from -r requirements.txt (line 6)) Requirement already up-to-date: configargparse==0.10.0 in c:\python27\lib\site-p ackages (from -r requirements.txt (line 7)) Requirement already up-to-date: click==6.6 in c:\python27\lib\site-packages (fro m -r requirements.txt (line 8)) Requirement already up-to-date: itsdangerous==0.24 in c:\python27\lib\site-packa ges (from -r requirements.txt (line 9)) Requirement already up-to-date: peewee==2.8.1 in c:\python27\lib\site-packages ( from -r requirements.txt (line 10)) Requirement already up-to-date: wsgiref==0.1.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 11)) Requirement already up-to-date: geopy==1.11.0 in c:\python27\lib\site-packages ( from -r requirements.txt (line 12)) Requirement already up-to-date: s2sphere==0.2.4 in c:\python27\lib\site-packages (from -r requirements.txt (line 13)) Requirement already up-to-date: PyMySQL==0.7.5 in c:\python27\lib\site-packages (from -r requirements.txt (line 14)) Requirement already up-to-date: flask-cors==2.1.2 in c:\python27\lib\site-packag es (from -r requirements.txt (line 15)) Requirement already up-to-date: flask-compress==1.3.0 in c:\python27\lib\site-pa ckages (from -r requirements.txt (line 16)) Requirement already up-to-date: LatLon==1.0.1 in c:\python27\lib\site-packages ( from -r requirements.txt (line 17)) Collecting pgoapi from git+https://github.com/PokemonGoMap/pgoapi.git#egg=pgoapi (from -r requirements.txt (line 18)) Cloning https://github.com/PokemonGoMap/pgoapi.git to c:\users\saics\appdata\l ocal\temp\pip-build-n7cosw\pgoapi Requirement already up-to-date: xxhash in c:\python27\lib\site-packages (from -r requirements.txt (line 19)) Requirement already up-to-date: sphinx==1.4.5 in c:\python27\lib\site-packages ( from -r requirements.txt (line 20)) Requirement already up-to-date: sphinx-autobuild==0.6.0 in c:\python27\lib\site- packages (from -r requirements.txt (line 21)) Requirement already up-to-date: recommonmark==0.4.0 in c:\python27\lib\site-pack ages (from -r requirements.txt (line 22)) Requirement already up-to-date: sphinx_rtd_theme==0.1.9 in c:\python27\lib\site- packages (from -r requirements.txt (line 23)) Requirement already up-to-date: requests==2.10.0 in c:\python27\lib\site-package s (from -r requirements.txt (line 24)) Requirement already up-to-date: PySocks==1.5.6 in c:\python27\lib\site-packages (from -r requirements.txt (line 25)) Collecting flask_cachebust from git+https://github.com/maddhatter/Flask-CacheBus t.git@38d940cc4f18b5fcb5687746294e0360640a107e#egg=flask_cachebust (from -r requ irements.txt (line 26)) Cloning https://github.com/maddhatter/Flask-CacheBust.git (to 38d940cc4f18b5fc b5687746294e0360640a107e) to c:\users\saics\appdata\local\temp\pip-build-n7cosw\ flask-cachebust Could not find a tag or branch '38d940cc4f18b5fcb5687746294e0360640a107e', ass uming commit. Requirement already up-to-date: protobuf_to_dict==0.1.0 in c:\python27\lib\site- packages (from -r requirements.txt (line 27)) Requirement already up-to-date: greenlet>=0.4.9 in c:\python27\lib\site-packages (from gevent==1.1.2->-r requirements.txt (line 3)) Requirement already up-to-date: future in c:\python27\lib\site-packages (from s2 sphere==0.2.4->-r requirements.txt (line 13)) Requirement already up-to-date: pyproj in c:\python27\lib\site-packages (from La tLon==1.0.1->-r requirements.txt (line 17)) Requirement already up-to-date: protobuf>=3.0.0a3 in c:\python27\lib\site-packag es (from pgoapi->-r requirements.txt (line 18)) Requirement already up-to-date: gpsoauth==0.4.0 in c:\python27\lib\site-packages (from pgoapi->-r requirements.txt (line 18)) Requirement already up-to-date: imagesize in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: docutils>=0.11 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: babel!=2.0,>=1.3 in c:\python27\lib\site-package s (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: colorama>=0.3.5; sys_platform == "win32" in c:\p ython27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: Pygments>=2.0 in c:\python27\lib\site-packages ( from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: snowballstemmer>=1.1 in c:\python27\lib\site-pac kages (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: alabaster<0.8,>=0.7 in c:\python27\lib\site-pack ages (from sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: watchdog>=0.7.1 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: pathtools>=0.1.2 in c:\python27\lib\site-package s (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: argh>=0.24.1 in c:\python27\lib\site-packages (f rom sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: tornado>=3.2 in c:\python27\lib\site-packages (f rom sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: port-for==0.3.1 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: PyYAML>=3.10 in c:\python27\lib\site-packages (f rom sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: livereload>=2.3.0 in c:\python27\lib\site-packag es (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: commonmark<=0.5.4 in c:\python27\lib\site-packag es (from recommonmark==0.4.0->-r requirements.txt (line 22)) Requirement already up-to-date: setuptools in c:\python27\lib\site-packages (fro m protobuf>=3.0.0a3->pgoapi->-r requirements.txt (line 18)) Requirement already up-to-date: pycryptodomex>=3.0 in c:\python27\lib\site-packa ges (from gpsoauth==0.4.0->pgoapi->-r requirements.txt (line 18)) Requirement already up-to-date: pytz>=0a in c:\python27\lib\site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r requirements.txt (line 20)) Requirement already up-to-date: singledispatch in c:\python27\lib\site-packages (from tornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: certifi in c:\python27\lib\site-packages (from t ornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Requirement already up-to-date: backports_abc>=0.4 in c:\python27\lib\site-packa ges (from tornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21)) Installing collected packages: pgoapi, flask-cachebust Found existing installation: pgoapi 1.1.6 Uninstalling pgoapi-1.1.6: Successfully uninstalled pgoapi-1.1.6 Running setup.py install for pgoapi ... done Found existing installation: Flask-CacheBust 1.0.0 Uninstalling Flask-CacheBust-1.0.0: Successfully uninstalled Flask-CacheBust-1.0.0 Running setup.py install for flask-cachebust ... done Successfully installed flask-cachebust-1.0.0 pgoapi-1.1.6
Do you have any suggestions?
Thanks

@saics72 It looks like you have an issue with Git and python. Can you go to a command prompt and run git gud and post the output here?


XMonad-style spaces

Is it possible to add XMonad-style spaces to kwm? I'd like to be able to use spaces independent of the monitor the "space" is assigned to. This probably means abstracting spaces away from OSX's spaces (and probably calling them something different to avoid ambiguity).
While I probably won't be able to contribute to this immediately, I would be interested in developing this feature if no one else can, so if you have any pointers on how to implement this, that'd help get me started.

Not sure how XMonad-style spaces workd, although #477 might be of interest


Add association list action

Overview
Model associations can be viewed inside a model layout with the same features as on index page.
@mshibuya want to hear your feedback about this feature, if it is positive i'll complete PR with more tests and resolve mongoid issue.

Sorry for long unresponsiveness, but this feels heavy.
I think this can be more integrated with index action, like implementing special association-scoped mode in index.


Use Aptos CLI in CI

Summary

RFCs: Link to RFC, Link to RFC, or $\emptyset$.
Categories: any of protocol-units, networks, scripts, util, cicd, or misc.

Changelog

Testing

Outstanding issues

Closing in favor of #921


automated tests to validate we haven't broken anything

one really important thing is parsing the xml and validating it's still good, valid rss xml
the website itself could also be tested, ideally with the same tool as we are validating the xml
maybe cypress? :)

also check that we don't have 2 episodes with the same link

we can use https://www.npmjs.com/package/xml2json and zod to validate the rss schema

already implemented


apt update

Currently, if the package index is out of date (apt, but not yum, dnf, or apk), babashka will just explode.
Have babashka do an update, either implicitly or by requirement.

I too have noticed this behaviour, and it is quite annoying.


Latest download link doesn't work

The June 28th release link returns 404 not found: https://dl.google.com/closure-compiler/compiler-20200628.zip
The 'latest download' link returns the June 14th version.

Fixed, thanks for catching!


Bug: quickaction

I logged in as a journal manager (filizmenguc,123456)
When I submit an article, quick action showed me dashboard, articles in progress and articles in past workflow. But if you click on articles in progress and past, it gives error;
An exception has been thrown during the rendering of a template ("Entity of type 'Ojs\JournalBundle\Entity\Article' for IDs id(38685) was not found") in WorkflowBundle:WorkFlow:flows.html.twig at line 28.

I can not re-produce scenario with user filizmenguc:123456 probably it can be fixed

tested and works correctly


Python wrappers

In order to use the python package as a drop in replacements of scikit-learn's text vectorizers we would need,

[x] Wrap HashingVectorizer #1
[x] Wrap CountVectorizer #14
[ ] Implement most common functionality
[ ] Pass scikit-learn tests (when they make sense).

Closing, for now, we are relaxing a bit the condition to pass scikit-learn tests.


Is the project abandoned?

There is a PR adding py37 support in https://github.com/jackmaney/python-stdlib-list/pull/9 and some issues opened for it but there is no activity in the past months.
@jackmaney I'm willing to help if you still have in this project and I would like to avoid a fork. Would you be willing to add more contributors with merge rights here?

This is a dependency of my pydeps project, so I'd be willing to help as well...

I'd also be willing to help maintain

Everyone,
I'm incredibly sorry for not putting the necessary work into this project and in responding so late. Between work, illness, and multiple family emergencies, I just haven't had the time to keep up with my side projects.
I'll add @ocefpaf @thebjorn and @ericdill as contributors (once I take a moment or two and figure out how).

Okay, collaborator invites sent.

@jackmaney thanks a lot for the library and for allowing us to contribute.
I see that you already merged https://github.com/jackmaney/python-stdlib-list/pull/9
If you are OK with it I can take care of a new release. I believe I would need access to PyPI as well to do that.

@ocefpaf I've given you and @ericdill maintainer access to the library on PyPI. Release away.

@ocefpaf I've given you and @ericdill maintainer access to the library on PyPI. Release away.

Awesome! Thanks!!
I'm preparing a PR to auto-publish git tags from Travis-CI to make things a little bit to maintain. More on this tomorrow.


"spo page remove" - there is no way to delete a page when it's in the "lock" state.

Priority
(Urgent) I can't use the CLI
Description
There is no way to delete a page when it's in the "lock" state. Here is the error message:
The file ${pageName}.aspx is locked for shared use by ${tenant} [membership]
Steps to reproduce
You have created a new modern page, switched to edit mode, and then closed the browser window. As a result, the edit mode remains active. Now, try executing the CLI command "spo page remove".
Expected results
The page should be removed, regardless of it's state.
Actual results
The error message:
The file ${pageName}.aspx is locked for shared use by ${tenant} [membership]
Diagnostics
`./node_modules/.bin/m365 spo page remove --name power.aspx --webUrl https://automationshortpoint.sharepoint.com/sites/elements_layout --debug
Executing command spo page remove with options {"options":{"name":"power.aspx","webUrl":"https://automationshortpoint.sharepoint.com/sites/elements_layout","debug":true,"output":"text"}}
Executing command as<EMAIL_ADDRESS>appId: xxxxxx, tenantId: xxxxx
? Are you sure you want to remove the page 'power.aspx'? yes
Existing access token  still valid. Returning...
Request:
{
"url": "https://automationshortpoint.sharepoint.com/sites/elements_layout/_api/contextinfo",
"method": "post",
"headers": {
"Accept": "application/json;odata=nometadata",
"user-agent": "NONISV|SharePointPnP|CLIMicrosoft365/8.0.0",
"accept-encoding": "gzip, deflate",
"X-ClientService-ClientTag": "M365CLI:8.0.0",
"authorization": "Bearer "
},
"responseType": "json",
"decompress": true
}
Response:
{
"url": "https://automationshortpoint.sharepoint.com/sites/elements_layout/_api/contextinfo",
"status": 200,
"statusText": "OK",
"headers": {
"cache-control": "private, max-age=0",
"transfer-encoding": "chunked",
"content-type": "application/json;odata=nometadata;streaming=true;charset=utf-8",
"expires": "Sun, 18 Aug 2024 08:32:22 GMT",
"last-modified": "Mon, 02 Sep 2024 08:32:22 GMT",
"vary": "Origin,Accept-Encoding",
"p3p": "CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"",
"x-networkstatistics": "0,525568,0,0,672380,0,164441,22",
"x-sharepointhealthscore": "3",
"x-sp-serverstate": "ReadOnly=0",
"dataserviceversion": "3.0",
"spclientservicerequestduration": "16",
"sprequestduration": "17",
"x-aspnet-version": "4.0.30319",
"x-databoundary": "EU",
"x-1dscollectorurl": "https://eu-mobile.events.data.microsoft.com/OneCollector/1.0/",
"x-ariacollectorurl": "https://eu-mobile.events.data.microsoft.com/Collector/3.0",
"sprequestguid": "9f404ca1-c008-9000-cd49-6af687dcb1ca",
"request-id": "9f404ca1-c008-9000-cd49-6af687dcb1ca",
"ms-cv": "oUxAnwjAAJDNSWr2h9yxyg.0",
"strict-transport-security": "max-age=31536000",
"x-frame-options": "SAMEORIGIN",
"content-security-policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com app.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;",
"x-powered-by": "ASP.NET",
"microsoftsharepointteamservices": "<IP_ADDRESS>14",
"x-content-type-options": "nosniff",
"x-ms-invokeapp": "1; RequireReadOnly",
"x-cache": "CONFIG_NOCACHE",
"x-msedge-ref": "Ref A: DCE4782ECE61480AA4D4C448D88C5A55 Ref B: BUD01EDGE0309 Ref C: 2024-09-02T08:32:22Z",
"date": "Mon, 02 Sep 2024 08:32:22 GMT"
},
"data": {
"FormDigestTimeoutSeconds": 1800,
"FormDigestValue": "0x700378B541CA806E86B9145869AB04C79BEEE2336FCEE5DA6E0ACDEDEBB3D748DC504C6940D0DDF59B4E2CF6D46989FFAD9D082E32BFD1F45885A2AD9628C39E,02 Sep 2024 08:32:22 -0000",
"LibraryVersion": "16.0.25214.12003",
"SiteFullUrl": "https://automationshortpoint.sharepoint.com/sites/elements_layout",
"SupportedSchemaVersions": [
"<IP_ADDRESS>",
"<IP_ADDRESS>"
],
"WebFullUrl": "https://automationshortpoint.sharepoint.com/sites/elements_layout"
}
}
Removing page power.aspx...
Existing access token still valid. Returning...

}
}
}
}
Timings:
api: 445.714607ms
core: 12.907832ms
command: 13643.454581ms
options: 0.230371ms
total: 13657.750833ms
validation: 0.495084ms
Error: The file https://automationshortpoint.sharepoint.com/sites/elements_layout/sitepages/power.aspx is locked for shared use by<EMAIL_ADDRESS>[membership].`
CLI for Microsoft 365 version
8.0.0
nodejs version
v20.12.2
Operating system (environment)
macOS
Shell
bash
cli doctor
authMode       : Browser
cliAadAppId    : xxxxxxxxxx
cliAadAppTenant: common
cliConfig      : {"autoOpenLinksInBrowser":true,"copyDeviceCodeToClipboard":true,"output":"text","printErrorsAsPlainText":true,"prompt":true,"showHelpOnFailure":true,"showSpinner":true,"helpMode":"full","authType":"browser","clientId":"xxxxxxxx","tenantId":"xxxxxxxxx"}
cliEnvironment :
cliVersion     : 8.0.0
nodeVersion    : v20.12.2
os             : {"platform":"darwin","version":"Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64","release":"23.5.0"}
roles          : []
scopes         : {"https://graph.microsoft.com":["AllSites.FullControl","AppCatalog.ReadWrite.All","AuditLog.Read.All","Bookings.Read.All","ChannelMember.ReadWrite.All","ChannelMessage.Read.All","ChannelMessage.Send","ChannelSettings.ReadWrite.All","Chat.Read","Chat.ReadWrite","Directory.AccessAsUser.All","Directory.ReadWrite.All","ExternalConnection.ReadWrite.All","Group.ReadWrite.All","IdentityProvider.ReadWrite.All","Mail.Read.Shared","Mail.ReadWrite","Mail.Send","Notes.Read.All","Place.Read.All","Policy.Read.All","RecordsManagement.ReadWrite.All","Reports.Read.All","SecurityEvents.Read.All","ServiceHealth.Read.All","ServiceMessage.Read.All","ServiceMessageViewpoint.Write","Tasks.ReadWrite","Team.Create","TeamMember.ReadWrite.All","TeamsAppInstallation.ReadWriteForUser","TeamSettings.ReadWrite.All","TeamsTab.ReadWrite.All","TermStore.ReadWrite.All","User.Invite.All","User.ReadWrite.All","profile","openid","email"],"https://automationshortpoint.sharepoint.com":["AllSites.FullControl","AppCatalog.ReadWrite.All","AuditLog.Read.All","Bookings.Read.All","ChannelMember.ReadWrite.All","ChannelMessage.Read.All","ChannelMessage.Send","ChannelSettings.ReadWrite.All","Chat.Read","Chat.ReadWrite","Directory.AccessAsUser.All","Directory.ReadWrite.All","ExternalConnection.ReadWrite.All","Group.ReadWrite.All","IdentityProvider.ReadWrite.All","Mail.Read.Shared","Mail.ReadWrite","Mail.Send","Notes.Read.All","Place.Read.All","Policy.Read.All","RecordsManagement.ReadWrite.All","Reports.Read.All","SecurityEvents.Read.All","ServiceHealth.Read.All","ServiceMessage.Read.All","ServiceMessageViewpoint.Write","Tasks.ReadWrite","Team.Create","TeamMember.ReadWrite.All","TeamsAppInstallation.ReadWriteForUser","TeamSettings.ReadWrite.All","TeamsTab.ReadWrite.All","TermStore.ReadWrite.All","User.Invite.All","User.ReadWrite.All"]}
Additional Info
I think you should add a new flag to remove "locked" pages.

Hi @paul-gladoon thank you for logging this issue. According to me, this is not really a bug, but rather an enhancement. We'll check if we can figure something out to remove locked pages.

Hi @paul-gladoon I think I got something working. I raised a PR with a new flag --bypassSharedLock.

Hi @paul-gladoon, this change has been merged in our beta release: https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-remove
You can install it using npm i -g @pnp/cli-microsoft365@next. This will be available in the next stable release which is next week.

Hi @paul-gladoon, this change has been merged in our beta release: https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-remove You can install it using npm i -g @pnp/cli-microsoft365@next. This will be available in the next stable release which is next week.

Thanks ☺ 😊


max_page - no information provided to the end user

First -- thanks for the great plugin. Super easy to use.
Following on from #8 - there is no way for the user to know what the max_items is set to.
So if it defaults to per_page=10 and the max is also 10 and a user puts in per_page=20. There isn't anyway they can know this was invalid.
Since no error is returned, I would suggest that the max_page value automatically be added to the description of per page.
Alternatively, there should be a way to overwrite the default description value.

Sorry Ro, not strictly following, are you referring to the description message being made configurable, i.e. https://github.com/bsm/grape-pagy/blob/main/lib/grape/pagy.rb#L42? Would you mind submitting a PR for that?

Sorry for not making it clear.
Given this code, which sets max_items to 500
          use :pagy, items_param: :per_page, items: 500, max_items: 500

The documentation generated doesn't show what the max_items is

Therefore the person interacting with the API has no idea what the max value for per_page is.
My suggestion would be to either

Add the max_items to the default description. So in the above case it would read
"Number of items to return per page. Maximum: 500"
Allow passing desc to overwrite the default descriptions


Race condition in open alerts with Selenium

So this issue is totally my fault :( I'm experiencing an intermittent failure in an application where an alert appears just after a browser has reset the session, since it's in an unload handler. Here's how Capybara currently implements reset:
    def reset!
      if @touched
        driver.reset!
        assert_no_selector :xpath, "/html/body/*" if driver.browser_initialized?
        @touched = false
      end
      @server.wait_for_pending_requests if @server
      raise_server_error!
    end

In my case assert_no_selector is raising an unhandled alert error.
The reason assert_no_selector is called here in the first place is to make sure that resetting the session is synchronous. Instead of relying on the driver to make sure that it is, I thought that I could cheat and let Capybara handle this for the drivers. It seems that that was a mistake. That already became apparent in the need for the browser_initialized? hack. Of course we could handle this annoying case here as well, but there's no really way to rescue a Selenium-specific error here that isn't totally gross.
IMO we should cut out losses on this one and simply force the driver to make sure that restting is synchronous.

Stack trace: https://gist.github.com/jnicklas/f921d3e671547dc175c9f413c6da5426

We can fix this in the selenium driver by checking for no elements in its reset! method, but removing the check from Session#reset! would be a breaking change

@jnicklas Does the change in the selenium_driver_reset_synchronous branch fix your issue?

@mhoran @route @jonleighton @jferris  Is reset! in your drivers currently synchronous, if not is it something that could be easily implemented?

We don't do anything explicitly asynchronous in capybara-webkit on reset, and removing the assert_no_selector resulted in no failures. I'm in the process of porting capybara-webkit over to Chromium Embedded (CEF), as QtWebKit is dead. CEF is much more asynchronous than QtWebKit, and I've made every effort to wrap up asynchronous calls to be synchronous. However, there could be an issue here, and it's probably something I'll have to work around when the time comes.

@twalpole I believe that poltergeist works properly on this

@mhoran Thanks for mentioning capybara-webkit is moving to use CEF. Just to report that we did run into the async session reset issue with capybara-webkit (sometimes session wasn't reset in time and leaked into the following spec). Adding back the single assert_no_selector line in capybara seems to solved it.
I am not sure if it's worth digging into the root cause at this point, but wonder if you have any insights. Thanks!

@starsirius Do you happen to be using database_cleaner, and are triggering clean with an after block, rather than an 'append_after' block as database_cleaner recommends? - https://github.com/DatabaseCleaner/database_cleaner#rspec-with-capybara-example

@twalpole No. My app doesn't have a database so we don't use database_cleaner.
By the way, the temporary fix in my own fork (capybara 2.7.1, because of capybara-webkit, + that single assert_no_selector line) seems to fix the issue. :(


Highlight went wrong when the text font-size less than the minimum font-size of the browser

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Operating system and its version: Intel Mac OS X 10_15_7
PDF.js version: the latest
Is a browser extension: no

Steps to reproduce the problem:

open the demo in chrome https://mozilla.github.io/pdf.js/web/viewer.html
search any word in the pdf, such as 'JavaScript'
zoom out the pdf until the minimum font-size less than 12px, and you will see the problem

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

I have created a pr for this #14427 , thank you for feedback.

Web browser and its version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

Unfortunately it's not immediately clear exactly which browser this actually is; I'm assuming you mean Google Chrome here.

PDF.js version: the latest

Sorry, but "the latest" isn't helpful; please always provide an actual version number.

zoom out the pdf until the minimum font-size less than 12px, and you will see the problem

I cannot reproduce this (when testing on Windows) in either Mozilla Firefox Nightly 97.0a1 or Google Chrome Beta 97.0.4692.71 unless I manually specify a minimum font-size in the browser settings (that part wasn't entirely clear from the STR).

I have created a pr for this #14427 , thank you for feedback.

Looking very briefly at the patch, it doesn't seem great having to constantly re-compute something that in most browsers won't be set at all. Is there really no way to ensure that these font-properties are always enforced, regardless of browser settings, by using e.g. CSS-rules instead?

I had the same problem with zoom less than 50%


python-zenoh-actions

This pull contains the python zenoh action server and python zenoh action client along with their dockerfiles.

I have left lots of comments, they should be useful

The declarables are already concurrent. We just need to hold the server but for that the python program needs to run continously and that can be done by dockerfile. Why are making the complete server.py file asynchronous when all the objects from zenohd are already concurrent? @sutyum

server needs to wait for requests in infinite loops. Without these infinites loop waiting for requests, the server can not reply to every incoming request as they are triggered.
dockerfile is not useful here, i am not sure exactly how you are imagining using dockerfile - if for instance the idea is to use restart to keep restarting the program - that sort of approach would be extremely slow and complicated due to the need to setup connections (trigger scouting), read configuration files etc again and again. This is not at all an option.

Okay

We need to visualize statemachine on dashboard. Can we return statemachine graph image as a payload when statemachine endpoint is called and then print it on dashboard?  @sutyum

Not ideal, as we would not be able to generate buttons for allowed event triggers given the current state by looking up the sm

Yes, i just realised that then we are not able to visualize state buttons.


[GEOMETRY-105] - Replace the try-catch pattern with assertThrows()

This is mostly great. However, there should only be one invocation in assertThrows. See https://rules.sonarsource.com/java/RSPEC-5783.

Also, a lot of the testing code can be removed with parametrized tests.

Hi @singhbaljit
maybe you're right. But IMO that should be treated in other task. WDYT  ?

👍


Nested Hybrid Group - PIM permission applicability clarification

If I were to nest a AD/EntraID Hybrid security group w/in an EntraID role assignable group.
The EntraID group would then be linked to EntraID Role PIM permissions.
Would the members of the Hybrid group then be eligible for PIM escalation?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c1414bc2-4151-b667-65f5-b44f2bf582a1
Version Independent ID: b93aee66-1769-8d98-fea5-ebca3a12d5fc
Content: Use Microsoft Entra groups to manage role assignments - Microsoft Entra ID
Content Source: docs/identity/role-based-access-control/groups-concept.md
Service: entra-id
Sub-service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@rdill-83
Thanks for your feedback! We will investigate and update as appropriate.

@rdill-83
Yes, if you nest an AD/EntraID Hybrid security group within an EntraID role-assignable group, the members of the Hybrid group would be eligible for PIM escalation. However, please note that every user who is eligible for membership in or ownership of a PIM for Groups must have an Azure AD Premium P2 license. Also, please keep in mind that the group must be enabled in PIM for Groups and the Azure AD role must be assigned to the group and users must be assigned to be eligible for group membership.

For clarification, the final sentence "please keep in mind that the group must be enabled in PIM for Groups and the Azure AD role must be assigned to the group".
Which group are you referring to ?

the root entraID native group
the nested AD / entraID hybrid group

it's my understanding that onPrem and hybrid groups are unable to have PIM roles directly assigned, as those group types lack the isAssignableToRole attribute that is made only available/modifiable on creation of EntraID native groups

@rdill-83
I apologize for the confusion. To clarify, the group that needs to be enabled in PIM for Groups and assigned to the Azure AD role is the EntraID role-assignable group that contains the nested AD/EntraID Hybrid security group.
You are correct that on-premises and hybrid groups are unable to have PIM roles directly assigned, as those group types lack the isAssignableToRole attribute that is only available/modifiable on creation of EntraID native groups. Therefore, you would need to create an EntraID native group that is role-assignable and assign the Azure AD role to that group. Then, you can nest the AD/EntraID Hybrid security group within the EntraID native group to make the members of the Hybrid group eligible for PIM escalation.

Clarification is much appreciated @ManoharLakkoju-MSFT


Add a fixed mode to UdpEndpoint

For Drone-to-Drone cooperative awareness a bi-directional broadcast (or IPv6 multicast) communication is needed, e.g. for the UTM_GLOBAL_POSITION message. The current modes (eavesdropping and normal) are not suitable, because we want to receive packets (which could be done with eavesdropping), but also already send messages before another party has "connected".
This pull-request adds another mode to the UdpEndpoint, where a binding and a target address can be set. If the target address is an IPv6 multicast group, packets addressed to this group will be captured (as well as unicast packets) and outgoing messages will be sent to this group. The binding address is needed to make sure, that outgoing packets are sent through the right interface. IPv4 broadcast also works fine, multicast would need a manual step to add the multicast address to the network interface for receiving packets. A unicast link is also possible.
To make this work, the routing of MAVLink messages had to be adapted. Previously incoming packets were presented to all endpoints, even the one where the message has been received from. This worked, because mavlink-router kept track of the connected systemIDs and used them for loop prevention. With UTM messages, which are all addressed to the MAVLink broadcast systemID, this is not possible any more. Therefore the routing was changes to just present incoming messages to all endpoints besides the one, which received the message in the first place.
Since #225 was merged, please let me know, if I should rebase this branch before merging. Sorry for opening this PR so late, currently I'm busy preparing a demo based on this. At least it's already bench-tested now, and will be flight-tested in the next few weeks.
Some code was inspired by #174 and this PR might also solve that issue.

You're right about the config file, but I didn't want to do two things at once in this PR. Please comment on #250 for a that topic.

Lukas highly discourages making breaking changes in the configuration file, so we need to stick with the "mode" flag for now. But I'm not quite happy with the name "multicast" for this mode. Has anyone a better idea?

I'm not sure any more, if it's actually a good idea to allow sending data to IPv6 multicast groups (or the legacy IP equivalent). MAVLink isn't meant to be used in "big" networks (because system IDs need to be conflict free).
A quickly rebased version of this can be found in https://github.com/consider-it/mavlink-router/tree/feature/broadcast (untested and definitely incomplete), if anybody wants to build on top of this.

The two commits with fixes to the IPv6 support were already merged in other PRs. I will not work on the actual functionality of this PR any more. Please refer to issue #350 for further discussion and restart with the rebased version in https://github.com/consider-it/mavlink-router/tree/feature/broadcast, if needed.


--use-syn-sdc no longer respected when --ignore fieldmaps is passed

Prior to 1.5.3, --use-syn-sdc --ignore fieldmaps would ignore fieldmaps, and use SyN-SDC.
As of 9e2320365467f7c3d35d43de4b1cc8dad3636975 (#1886), access to any SDC algorithm is restricted by --ignore fieldmaps.
This leaves users who would prefer to use SyN over fieldmaps stranded.
Ref: https://neurostars.org/t/syn-sdc-not-working-with-more-recent-fmriprep-version/5824

This appears to still occur in 20.1.0rc1.

From the reports:

Functional
Reports for: task repeatchange, run 1.
Summary

Repetition time (TR): 3.38s
Phase-encoding (PE) direction: Anterior-Posterior
Slice timing correction: Not applied
Susceptibility distortion correction: None

...

About
fMRIPrep version: 20.1.0rc1
fMRIPrep command: /usr/local/miniconda/bin/fmriprep sourcedata/ . participant --participant-label 02 --output-spaces anat fsnative --cifti-output --ignore fieldmaps --use-syn-sdc -vv --fs-license-file /projectnb/bohland/repeat_change/worktrees/02/tokens/freesurfer_license.txt --nthreads 16 --omp-nthreads 8 --mem-mb 48000
Date preprocessed: 2020-04-09 21:45:06 -0400

@oesteban Could this be because the CLI flag is --use-syn-sdc, and the new config variable is use_syn?
https://github.com/poldracklab/fmriprep/blob/549e7876c8ffdfd2a2472d22cb3dcf3c0d22fab7/fmriprep/cli/parser.py#L234-L235
https://github.com/poldracklab/fmriprep/blob/549e7876c8ffdfd2a2472d22cb3dcf3c0d22fab7/fmriprep/config.py#L459-L461
Or do we account for this mismatch somewhere?

@effigies that seems like the case - I'll double check the config options to see if there are any other deviations from the parser


revise existing tests to match #311 (subtype checking only for refere…

…nce types)
I think these tests are need to change in light of #311 (as verified by Motoko testing)

I guess we should implement the new rules in Haskell and Rust to compare notes on these updated tests.

The fact that no-one is confident about how this is meant to behave strikes me as slightly worrying ;->

Just because it changes every few months doesn’t mean we are not confident? ;-)

@nomeata thanks for adjusting the tests to use a method name - most of my tests now pass but there's another bug I'll need to figure out on the motoko side:


EULA of Tabular 2.x

!!! For Tabular Editor 3 questions, go here --> https://github.com/TabularEditor/TabularEditor3/issues !!!
Hello,
I need some help to know where is the EULA for tablular editor 2.x, I am proposing this external tool as part of our Power BI since it has a big help on creating calculations but they need the EULA to approve this tool as part of our Power BI please help me on my problem. I tried searching for it but the only EULA available is for the tabular editor 3 only but the cost is too much, I really want to have this tabular editor 2.x since it has a big help on my creation of dashboards. Please help. Thank you so much.

There is no EULA for Tabular Editor 2.c. It is open-source software governed by this MIT license.


SymProxy requires trusted root certificates for upstream providers like msdl.microsoft.com/download/symbols

Please amend the SymProxy documentation with this pretty large prerequisite.
I found out the hard way that SymProxy silently fails debugger requests with 404 if the upstream provider uses HTTPS/TLS and the root certificate for the endpoint isn't in the Trusted Root store on the machine where SymProxy is running. Our servers are configured to only install a small set of root certificates and this list didn't include the "Baltimore CyberTrust Root" certificate which msdl.microsoft.com/windows.net chains up to. In this configuration SymProxy never returned symbols from the upstream Microsoft provider. I could see in Wireshark that SymProxy would query upstream but it would never use the results. No errors/warnings showed up in the SymProxy event log. After much troubleshooting it was found that simply installing the Baltimore CyberTrust Root certificate in root fixed things.
Ideally SymProxy would also log a warning/error in this scenario but that's product feedback.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 94cca664-53c7-ee65-5975-3d7a8e56bb07
Version Independent ID: 2b130c88-3228-1ea1-c57a-20469cc6525b
Content: Installing SymProxy - Windows drivers
Content Source: windows-driver-docs-pr/debugger/installing-symproxy.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

@ryan-roberts - This looks similar to this issue https://support.microsoft.com/en-us/help/3187516/configuration-manager-service-connection-point-doesn-t-download-update
Can you confirm my assumption that the default Server 2016 IIS would contain the "Baltimore CyberTrust Root"? In your environment, you removed those default certs, so as to reduce your exposure?
I'm happy to add a note to this topic indicating that the "Baltimore CyberTrust Root" should not be removed from the Server.
Although a somewhat different context, this topic might be relevant here for others?
https://docs.microsoft.com/en-us/iis/troubleshoot/security-issues/troubleshooting-ssl-related-issues-server-certificate

@ryan-roberts - Can you confirm my assumption that the default Server 2016 IIS would contain the "Baltimore CyberTrust Root"? In your environment, you removed those default certs, so as to reduce your exposure?

Sorry for missing your first response Don. I believe starting with Windows Server 2012 previously-available root certificates were removed from WSUS (see this SF thread for similar discussion). So it's not a matter of the certificates being removed but no Windows Server install post WS2012 starts with any of those 3rd party certificates. In our server environment 1) policy was configured to not download root certificates (policy "Turn off Automatic Root Certificates Update" was Enabled) and 2) outbound network access did not allow access to the Microsoft endpoint to retrieve those certificates. To get SymProxy working we needed to disable policy described in #1 and open access to at least ctldl.windowsupdates.com.

@ryan-roberts - Thanks for that clarification.  Here is the proposed wording.
Note that the certificates store that contains the access to symproxy needs to be up to date. Certificates that are normally installed with IIS and Windows server such as the "Baltimore CyberTrust Root" are used for HTTPS/TLS communication to the upstream provider, and they need to be in the Trusted Root store on the machine where SymProxy is running. For general information on troubleshooting SSL issues, see Troubleshooting SSL related issues (Server Certificate).

Adding @aluhrs13 for review of wording to describe required certs for symbol server https access.
Can you confirm the use of the "Baltimore CyberTrust Root"? Is there another way we should describe the cert requirments and how we chain up?

I'm not the right person to answer that... Andrew or Scott might know more.

@aluhrs13 - Thanks, I will follow up with Andrew.

@ryan-roberts - Following up with a dev who looks to be out of office for a bit...

@ryan-roberts - Thanks for this issue, and apologies for the delay. I have created a work item for the dev team for this work and we will be tracking this request there, so I will close this issue. I don't have an ETA for that work right now.
If you need information on this task, these newsgroups can be helpful.
•	Windows Hardware WDK and Driver Development
•	OSR's ntdev List
•	OSR's windbg List
Thanks again for your interest in the debugger docs.


Add minor version and default match keys to compatibility matrix

Description
What is the current behavior?

Currently, Astro CLI version does not allow minor version match keys and need an exact match of
the format <MAJOR_VERSION>.<MINOR_VERSION>.<PATCH_VERSION>

related: #1673
What is the new behavior?
The plan is that Astro CLI integration should allow version match as per the below steps:

Try to find an exact match in the compatibility matrix e.g. 1.10.0
If no exact match is found, trim the version to remove the patch version and match until the minor version e.g. 1.10
If still does not match, match a key named 'default' which is set to install the latest SQL CLI version.

For the same reason, we're adding the required keys in the compatibility matrix with this PR.
Does this introduce a breaking change?
Yes
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

We're keeping the 1.10.0 key in the compatibility matrix so that we do not break the Astro CLI integration in the release 1.10.0


Ajax loading of tab content

Hi,
Just taking Tabulous for a spin at present, and I like the look of it.
Do you have any suggestions for a clean way to get the tabs loading their content on demand, via Ajax? I think this would give a much more RIA feel to my app.
Thanks for any pointers you can provide!
 What path did you guys take?

I've decided that tabulous' architecture is firmly in the server-side rendering world and should stay there.  I think we'd end up with a pretty complicated mess if we tried to force a server-side rendering tool to be something it's not.  Better just to make a new tool.  Also see https://github.com/techiferous/tabulous/blob/master/FUTURE.md


feat(Breadcrumbs): Style the Breadcrumbs

This PR adds styles to the breadcrumbs. It also couldn't be done with swizzles as this component is even less safe to eject/wrap. This is why it happens in the global.css file. Another caveat is that there is no way to add custom classes to the elements in the breadcrumb. I had to use the css class added to the html element to achieve this goal. This makes the whole thing quite hard coded. But I don't see another way to solve this :/

I wonder if it's time to add some documentation to the README that explains/defines our usage of CSS in this project.

Absolutely! I will add a ticket! Thx!


Shazam-like song name detection

This is an idea and not part of the MVP.
...but it would be SUUUUUPER neat if we had this on! Imagine if a user records a song (sends a voice message) to the group chat and asks the bot to analyze it so they know which song it is. That would be dope!
Does Shazam have an API or something of the sort we could use? 🤔

Hi, @LuchoTurtle it's possible!
https://github.com/dotX12/ShazamIO
Is a FREE asynchronous framework from reverse engineered Shazam API written in Python 3.7 with asyncio and aiohttp.


opam: fix opam sandboxing on nixos

Before this commit, executing opam init would display that sandboxing fails with "bwrap: execvp sh: No such file or directory". makeWrapper with --set OPAM_USER_PATH_RO /run/current-system/sw/bin:/nix/ had been used here to fix that, however, OPAM_USER_PATH_RO has been removed since 2021: https://github.com/ocaml/opam/commit/9b6370d6fef68750f41435261ee2965c49e8806a (released as opam 2.2.0 in 2024)
This also fixes a funny bug which caused the changelog link to be broken because of with lib:
meta = with lib; {
  description = "Package manager for OCaml";
  homepage = "https://opam.ocaml.org/";
  changelog = "https://github.com/ocaml/opam/raw/${version}/CHANGES";
  maintainers = [ ];
  license = licenses.lgpl21Only;
  platforms = platforms.all;
};

It uses meta = with lib;; at the same time, the derivation's attrset is not rec, and ${version} ends to be lib.version.

cc @kit-ty-kate
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.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.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 363770

x86_64-linux

:white_check_mark: 3 packages built:

dune-release
opam
opam.installer

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/5027

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 363770

x86_64-linux

:white_check_mark: 3 packages built:

dune-release
opam
opam.installer

(The ofborg failure does not look related to this.)


Fix help information for react-native-cli commands

The high level react-native --help command works okay, but using react-native command --help seems to be broken. It works for some commands that have basic usage (i.e., options only, including run-android and run-ios), but it does not work for commands that have optional arguments in their usage, like react-native link --help.
This fixes commands like react-native link, although it deletes some behavior that I'm not quite sure what the original intent was (cc author @grabbou).

By analyzing the blame information on this pull request, we identified @grabbou and @janicduplessis to be potential reviewers.

@grabbou definitely want your input here.  I deleted this bit:
const usage = this.usage();

if (usage !== '[options]') {
  const formattedUsage = usage.map(
    example => `    ${example.desc}: \n    ${chalk.cyan(example.cmd)}`,
  ).join('\n\n');

  output = output.concat([
  chalk.bold('  Example usage:'),
    '',
    formattedUsage,
  ]);
}

Because I didn't know what you were trying to do.  this.usage() should always return a string, so I don't know why you would apply a map operation to it, maybe you meant some other function to extract examples from a command?

It meant to display a proper --help message with examples. Not sure if it works after merge (we checked only command functionality). Probably a better way would be to fix an original behavior.

@Kureev Do you know how to add examples to a commander Command instance?  I didn't see anything of the sort in the commander documentation.

We added them as a help (usage) message. Every command has a structure, described here. So the mapping you removed is for the example usage message. It formats a nice message and outputs it as a "usage" info.

@Kureev okay, I'll publish another update, I think it may have just been a bug, where the output from usage was being used instead of examples.

@Kureev I added what I expect is the correct behavior for examples, however, there are currently no documented react-native commands that have examples.  Also, that exported type is never being used.  The architecture is currently using the Command prototype from commander (https://github.com/tj/commander.js/blob/master/index.js#L82), which has no examples.  When you parse the declaration of each command, even if it has an examples property of the form { desc: string, cmd: string } it will not be copied into the Commander command object which is ultimately what gets used.
At this point, I would actually recommend not going with my recent commit and just deleting the examples stuff as I had in the first commit.  cc @grabbou

@rozele currently run-ios has examples, we decided that it's better for users to provide explicit array of examples instead of showing the default commander output which in 99% cases was just [options] (string).
We were never adding custom usage to commander (not implemented in rnpm) so every time the output of this.usage() was options.
Now, to make it easier, we pass an array of examples to .usage(..) and that's why it's being an array.
Later, we check if it's !== '[options]' (if not, it's an array) and we map examples to a readable output.
Check the example docs here https://github.com/facebook/react-native/blob/master/local-cli/runIOS/runIOS.js#L84-L93
Here's how it looks like when run with --help:

@rozele updated the pull request.

@grabbou, check the description of the most recent commit in this PR, specifically:

This provides a proper check for the result of cmd.usage() to be a string (the normal case when examples are not present), in which case the set of examples are not processed.
Prior to this change, running react-native link --help would result in an exception, because the .usage() output for link is [options] [packageName] (note, !== [options]).
In general, overriding the behavior of usage() may be limiting, as this change will not support adding examples to react-native link --help while still allowing the first line of the --help message to include the original usage ([options] [packageName]).

Thanks @rozele for the explanations, turns out I kinda misunderstood the original issue. I'll close this one in favour of https://github.com/facebook/react-native/pull/9185 which is hopefully fixing this problem


VLAN Groups Not Populating

Issue type
[ ] Feature request
[ X] Bug report
[ ] Documentation

Environment

Python version:  3.5.2
NetBox version:  2.2.6

Description
I am having issues with VLAN groups:

I cannot assign a prefix to a vlan that's in a vlan group, only to those not in a group.  It lets me select the site, but the group and vlan listboxes are empty, despite the sites having groups assigned.
To reproduce: Add a new prefix. Select a site.  The VLAN group listbox does not populate (and understandably, neither does the VLAN listbox).
When editing an existing prefix that's assigned to a vlan group, the group is shown correctly, but you cannot change it.  Same as before - you can select a site but the group and vlan listboxes are empty.
To reproduce: edit an existing prefix.  Select a different site.  The VLAN group listbox does not populate (and understandably, neither does the VLAN listbox).
I cannot add a vlan to a vlan group. Same symptoms.
To reproduce: edit a vlan.  Select a site.  The group listbox does not populate.

I tried creating a new site, group, and vlan, and have the same issue.  As an aside, I can't figure out how to delete the test site I created.

Please post the exact steps that can be taken to reproduce the issue you're seeing.

@jeremystretch I updated the OP.

To reproduce: Add a new prefix. Select a site. The VLAN group listbox does not populate (and understandably, neither does the VLAN listbox).

Works for me. Do you have one or more VLAN groups assigned to the site? Is the API call being made by the browser when a site is selected? If so, what response is being returned?

@jeremystretch yes, the sites have valid groups.  Something broke somewhere along the way, as there are older groups properly assigned to sites.  This is essentially issue 2 in my OP - the existing group is shown, but you can't select a different one.  How do I check if the API call is made, and what the response is?

@engageant In Firefox or Chrome, you can press F12 to bring up the developer console. Select the network tab, then select a site from the list. You should see the HTTP request recorded under the tab, as well as its response.

@jeremystretch here's what comes back in the response for the edit page the first time:
  <select name="site" placeholder="None" filter-for="group" nullable="true" id="id_site" class="form-control">
  <option value="">---------</option>
  <option value="7">Site7</option>
  <option value="4">Site4</option>
  <option value="3" selected>Site3</option>
  <option value="5">Site5</option>
  <option value="2">Site2</option>
  <option value="11">Site11</option>
  <option value="9">Site9</option>
  <option value="1">Site1</option>
  <option value="8">Site8</option>
  <option value="6">Site6</option>
</select>
<select name="group" placeholder="Group" class="api-select form-control" api-url="/api/ipam/vlan-groups/?site_id={{site}}" id="id_group">
  <option value="">---------</option>
  <option value="2" selected>Site3 VLANs</option>
</select>

When I then change the site selection, this appears in the Console:
Uncaught TypeError: Cannot read property 'id' of null
    at forms.js?v2.2.6:127
    at Function.each (jquery-3.2.1.min.js:2)
    at Object.success (forms.js?v2.2.6:126)
    at i (jquery-3.2.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
    at A (jquery-3.2.1.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)

Ok, but what is the request being made to the API and what is the response being received? Look under the "network" tab?

Maybe this helps? This is when I choose a different site when editing a
VLAN.
[image: image.png]
And here's the response:
{"count":1,"next":null,"previous":null,"results":[{"id":2,"name":"my site
VLANs","slug":"my-site-vlans","site":{"id":3,"url":"
http://sc-netbox-01/api/dcim/sites/3/","name":"my site","slug":"my-site"}}]}
On Tue, Dec 5, 2017 at 2:21 PM Jeremy Stretch<EMAIL_ADDRESS>wrote:

Ok, but what is the request being made to the API and what is the response
being received? Look under the "network" tab?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/1742#issuecomment-349411962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSI6vca9aiAyGue6ksHjKd_qQFWVv7Oks5s9ZeogaJpZM4QvS96
.

Maybe you're running outdated Javascript. Did you run manage.py collectstatic as part of the last upgrade?

I have two Netbox instances that are both on the same version and one works
while the other doesn't.  I'm beginning to think that something is up with
the DB in the non-working one. I don't recall ever running that command;
when I upgrade I follow the process for cloning the repo at
https://netbox.readthedocs.io/en/latest/installation/upgrading/
On Fri, Dec 8, 2017 at 11:44 AM Jeremy Stretch<EMAIL_ADDRESS>wrote:

Maybe you're running outdated Javascript. Did you run manage.py
collectstatic as part of the last upgrade?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/1742#issuecomment-350310824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSI6lu5M3wJ64N_Ca7o_au0sXiPnAGlks5s-WdigaJpZM4QvS96
.

manage.py collectstatic is performed by the upgrade.sh script, so you shouldn't need to do it manually if you've been running the script. Maybe try it on the server with issues though and see if it helps.

0 static files copied to '/opt/netbox/netbox/static', 264 unmodified.
On Fri, Dec 8, 2017 at 2:31 PM Jeremy Stretch<EMAIL_ADDRESS>wrote:

manage.py collectstatic is performed by the upgrade.sh script, so you
shouldn't need to do it manually if you've been running the script. Maybe
try it on the server with issues though and see if it helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/1742#issuecomment-350351485,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSI6lsyJiI3VO0FCUbkDHuflS6H6KOaks5s-Y6fgaJpZM4QvS96
.

@engageant Sorry, don't know what else to look at. Maybe post on the mailing list and see if anyone has any ideas?
Going to close this out now since we can't positively identify this behavior as a reproducible bug.


Workaround semver compat bug

There's a bug in coursier versions where the minimumCompatibleVersion
of a version ending in zero doesn't match what we would expect, causing
versions such as 2.0.0 and 2.4.3 to be considered as incompatible under
semver.
See https://github.com/coursier/versions/pull/11

Here 1.0.0.Final is still incompatible with 1.0.2.Final. It'll be fixed once the fix is merged and published in coursier versions.


Woocommerce doesn't work for EN language

Hi everyone. I've installed this plugin today and I have some issues with it. First is, that I'm not able to change the properties about products (see the image) - combo is visible but it isn't active, so you can't choose the variations etc. And the second issue is that image of the product isn't visible in each product page. I'm using the Beaver Builder for building the page. But this builder isn't used for product page (doesn't support WooCommerce in this way) so this is "clear WP".  So I don't how to work with products now to see images of it and with the possibilite to change the properties of products. Thanks.

And also if I want to add english version of my product to existing one and I press the "plus" button to add the language these lines appears and whole WP admin page is really slow
Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/116022/virtual/www/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Variation.php on line 80
Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/116022/virtual/www/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Variation.php on line 114
Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/116022/virtual/www/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Variation.php on line 80
Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/116022/virtual/www/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Variation.php on line 114

@Hud1ai2  it seems that you are trying to edit the translation of your product , all fields of  your translations will be synced automatically from your main product in your choosed default language so for example if your default language is EN , you add the products in English first then you add translation for your product  , the plugin will sync all required information from the main product and all you will need to do is to translate the title and description probably.
But you still can override this option from the plugin settings  -> Fields Locker
WooPoly make it clear in its readme file that you have to choose you default language before you start adding translation to your products as the variation feature requires that so far. so please be aware of this.
For the set_time_limit warning , WooPoly reset the time limit before it starts variations sync cause this may take too much time for a large number of variations and large number of languages.
I might add an option for this to toggle in future , not sure yet .
For product images I am not really sure I got what you mean , but you still can choose a gallery in the same place where you edit/add your product ?!

 Thanks a lot for your fast answer! Everything works correctly now. With images is the same. I tried to "override" the images with another one (don't know why, but I have to upload images for CZ and EN version separately) and that was the reason why it didn't work. So next time add the product leave everything as it is and just change the name and description of the product. Thanks one more time hyyan! :)


Fix links to tokio-tls documentation

Hey Alex, I have just read about your amazing library in your documentation and noticed some broken links. Here is the fix. Thanks!

Thanks!


[DateBase] Order_status. Order_status can't be changed for orders

Environment: DB
Reproducible: always
Preconditions
User has formed Order №
Steps to reproduce

Go to DB
Open table Orders
Find Order №
Change order_status column from Formed to Adjustment/Brought by himself/Confirmed/Оn the route/Not taken out/Done/Canceled
Click on Submit

Actual result
Error massage is displayed

Expected result
Changes saved
User story and test case links
E.g.: "User story #3477
Labels to be added
"Bug", Priority ("pri: High"), Severity ("severity: High"), Type ("UI, "Functional")

@YuliiaFrankova Hi, it is not a bug, everything is ok. Your work is to test API, and UI, for this changes in DB are not needed.


Set Session.Timeout in runtime

Hi,
I was trying to set the Session.Timeout in runtime, however the timeout has always being reset to the default timeout. The default timeout is taken from the web.config. Based on your code, it seems like the culprit is that the timeout is set to default in ReleaseItemExclusive.
        public override void ReleaseItemExclusive(HttpContext context, string id, object lockId)
        {
            using (var client = GetClient())
            {
                UpdateSessionStateIfLocked(client, id, (int)lockId, state =>
                {
                    state.Locked = false;
                    state.Timeout = sessionTimeoutMinutes;
                });
            }
        }

Is there any reason why the session timeout is set to default value? Or, I could miss something.

Hey @tulis,
I was unaware of setting the Session.Timeout through code. But, I can definitely add support for this. Do you know if it's guaranteed to be the same value as set in the web.config if it's not changed?
PS - You may also want to consider switching to Microsoft's Redis SessionStateProvider.

Hi @TheCloudlessSky,
I have run some testing and it is shown that if the timeout is not being changed in runtime, it will be set to the same value as set in the web.config.
I have taken a look on Microsoft's version, but there is a case that I really need and as of now they are not supporting it.

Ok, thanks! I've pushed 1.4.0 that uses HttpContext.Session.Timeout instead of always using the web.config's value.


Update Powershell script to Change ownership for all subscriptions ow…

…ned by a specific user
Change the parameter within the IF block of the ForEach Block from $previousOwner to $currentOwner as the parameter has been declared with the name $currentOwner. The script does not work when $previousOwner is used

@UmaSM-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.


FetchError: request to https://pastebin.com/api/api_login.php failed, reason: self signed certificate in certificate chain

I am developing a Discord bot and one of the features requires me to upload a paste to Pastebin, so I decided to try using your library. Even just logging in, I am getting the error above. Why is this happening?

Investigating, tried making some curl requests with similar errors. Tried other libraries with no success, friends are having problems with curl too. Contacting pastebin support rn

hey! that error seems to be caused by a faulty SSL certificate on Pastebin's side. i don't have a lot of time to test right now, but i'm assuming it's been solved. feel free to update!

It still doesn't seem to have been fixed by itself - waiting on a response from Pastebin, will keep you up to date! That fallback might be a good idea to implement either way

hey, testing it with the following code:
const { PastebinClient } =<EMAIL_ADDRESS>
new PastebinClient("...", "...", "...")
    .login()
    .then(client => console.log(client.credentials.userKey))

is not throwing any errors and is generating a seemingly valid user key for me, so it may not actually be a Pastebin issue (or at least, not a global one). though it's weird that it's not working for your friends either (unless they live somewhere near you?).
anyways, i found a workaround here, but i wouldn't recommend it as a permanent solution. find<EMAIL_ADDRESS>add this code after the imports:
const https = require("https")
const agent = new https.Agent({ rejectUnauthorized: false })

then pass the agent in line ~51:
node_fetch_1.default(url, {
        agent: agent,
        method: "POST",
// ...

that should avoid the error. i'm not sure if using an HTTP URL would work at all, but you can also try that if you'd like. if this doesn't get fixed soon, we could add a rejectUnauthorized or useHTTP option (or something like that) to the client.

That TLS REJECT did in fact work, however setting it to http in the package's code seemed to not work for whatever reason. I'm still waiting on a reply from pastebin, so I don't know what's happening really. It's pretty weird, I guess I'll just have to use TLS_REJECT_UNAUTHORIZED for the mean time - thank you for the work around and the help though, it's much appreciated ^w^


Rsymo patch 1

Added 2x new devcontainers with alternate configurations

with Python 3 and Copilot Chat

Navigate to this branch: https://github.com/apac-copilot-ws/copilot-rock-paper-scissors/tree/rsymo-patch-1
Spin up a Codespace -> Code -> 'Codespaces' -> '...' -> 'New with options' -> See 3 options under 'Dev container configuration' -> Select 'Python 3 and Copilot Chat'
Can test by running "python --version" in the terminal
Can test by seeing Copilot Chat in the extension window when spinning up a new codespace on this branch.

with the Universal template and Copilot Chat

Navigate to this branch: https://github.com/apac-copilot-ws/copilot-rock-paper-scissors/tree/rsymo-patch-1
Spin up a Codespace -> Code -> 'Codespaces' -> '...' -> 'New with options' -> See 3 options under 'Dev container configuration' -> Select 'Universal template and Copilot Chat'
Can test by running "python --version", "java --version", "node --version" in the terminal
Can test by seeing Copilot Chat in the extension window when spinning up a new codespace on this branch.

The new python based devspace installs Copilot Chat extension properly.
The time to start didn't make much difference between python3 and universal, the image size would be different, however it's possible the devcodespace runs on physical machines that has done the image pull for those images before in that case it won't make difference, my experience is about 5 seconds to start if image is present and around 30 seconds if image wasn't present.
The universal image because it's universal we will need to think which language extension to install so user can run the code easily, I see the universal image as value add extra exercise if time is available during workshops we could leave it as extra options for devspace without changing the current default one.
@AnthonyBorton  AB i'll leave this to you to make the PR call.


Integrate a flyway-guice module

Since we are using flyway very often in combination with guice it would great to have a seperate module to provide guice integration out of the box..
I added a new sub project which is containing a guice module.
This module only needs a jdbc Datasource in the Injection Context and has the possibilty  to do the migration while binding Flyway to the DI - Context or a user can inject Flyway an call the migration manually...

it seems there was a problem with travisCI...
on my repo the build went fine ..
but on the Pull Request on flayway it once got strange connection refused and on the other some test seemed to hang..
please retrigger it manually

Thanks for the PR. I am currently unsure about integrating this in the main repo. Please maintain and document it in a separate repo for now (I can offer you one under the flyway organisation if you wish). If it proves successful I will gladly reconsider my position.
Cheers
Axel

HI Axel
for me it would be fine if you could provide a repo for this module...
so you suggest, i'll publish the version side-by-side with flyway itselfe with a seperate name, and we will see how it gets used?
wbr
Bernd

Yes. I've created a new flyway/flyway-guice repo and added you as a collaborator.
Cheers
Axel


is this an error in prepare_data_joint_finetuning.sh or is it any way to resolve the issue

I have been trying to fine tune the indic trans 2 model with my data by in the file prepare_data_joint_finetuning.sh at the end there is a command of fairseq "fairseq-preprocess" which has  --srcdict $exp_dir/final_bin/dict.SRC.txt \  --tgtdict $exp_dir/final_bin/dict.TGT.txt \ is the directory final_bin or is it final_dict if its final_bin iam getting an error as
FileNotFoundError: [Errno 2] No such file or directory: 'indic-en-exp/final_bin/dict.SRC.txt'
how can resolve this issue and if its the error in code can you please correct the code
Thank you.

Copy the final_bin directory provided along with the fairseq_model (pretrained checkpoint) to your experiment directory.
Once this is done, then run the prepare_data_joint_finetuning.sh script and then it will work.

Thank you for the reply and going forward while fine tuning iam getting this error
`AttributeError: 'MMapIndexedDataset' object has no attribute '_bin_buffer_mmap'
i had tried many ways like reinstalling fairseq and searching the net to resolve this issue but iam uable to do it.
it would be so much helpful if this issue is resolved , stuck with this for many days but not able to resolve it 😢
Thank you.

Please use the recommended version of all libraries.
You can use install.sh that we provide to ensure that all the dependencies are installed with the appropriate versions.
Please check if the system CUDA version matches the PyTorch CUDA version.
Check the following issues might be helpful.
https://github.com/facebookresearch/fairseq/issues/3903
https://github.com/facebookresearch/fairseq/issues/4096

Closing this issue due to inactivity. Please feel free to reopen the issue if you have any questions or need further assistance.

Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/fairseq/data/indexed_dataset.py", line 513, in del
self._bin_buffer_mmap._mmap.close()
AttributeError: 'MMapIndexedDataset' object has no attribute '_bin_buffer_mmap'
i am facing the same problem. pytorch version i have used 11.6,
whic version of fairseq you have used 0.12.2, or 0.10.2 or some thing else.
kindly suggest me what can be exact error. i hope u will help me out. thanks

hey kbdubey , i had used this method to get the error resolved
Copy the final_bin directory provided along with the fairseq_model
(pretrained checkpoint) to your experiment directory.
Once this is done, then run the prepare_data_joint_finetuning.sh script and
then it will work.
On Mon, Jan 15, 2024 at 1:51 PM kpdubey @.***> wrote:

Traceback (most recent call last):
File
"/home/ubuntu/.local/lib/python3.8/site-packages/fairseq/data/indexed_dataset.py",
line 513, in del
self._bin_buffer_mmap._mmap.close()
AttributeError: 'MMapIndexedDataset' object has no attribute
'_bin_buffer_mmap'
i am facing the same problem. pytorch version i have used 11.6,
whic version of fairseq you have used 0.12.2, or 0.10.2 or some thing else.
kindly suggest me what can be exact error. i hope u will help me out.
thanks
—
Reply to this email directly, view it on GitHub
https://github.com/AI4Bharat/IndicTrans2/issues/26#issuecomment-1891543403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB6P36FZG7HN77QEWVPI4ILYOTRJJAVCNFSM6AAAAAA7FU4FTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGU2DGNBQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
DISCLAIMER:
This E-Mail (including any attachments) may contain
Confidential and/or legally privileged Information and is meant for the
intended recipient(s) only. If you have received this e-mail in error and
are not the intended recipient/s, kindly delete this e-mail immediately
from your system. You are also hereby notified that any use, any form of
reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail, its contents or its
attachment/s other than by its intended recipient/s is strictly prohibited
and may be construed unlawful. Internet Communications cannot be guaranteed
to be secure or error-free as information could be delayed, intercepted,
corrupted, lost, or may contain viruses. Wadhwani Institute for Artificial
Intelligence does not accept any liability for any errors, omissions,
viruses or computer shutdown (s) or any kind of disruption/denial of
services if any experienced by any recipient as a result of this e-mail.

Dear akhil
i have done like you are saying, and still i am getting that error, can you share your contact number, so i can discuss, thanks

for me though the error was resolved , you can post an issue to the team of
AI4Bharat , their inputs might be more useful for you, rather than you
contacting me 😄
On Mon, Jan 15, 2024 at 2:59 PM kpdubey @.***> wrote:

Dear akhil
i have done like you are saying, and still i am getting that error, can
you share your contact number, so i can discuss, thanks
—
Reply to this email directly, view it on GitHub
https://github.com/AI4Bharat/IndicTrans2/issues/26#issuecomment-1891673313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB6P36DNZZEQJKGGI3YZUETYOTZHPAVCNFSM6AAAAAA7FU4FTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGY3TGMZRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
DISCLAIMER:
This E-Mail (including any attachments) may contain
Confidential and/or legally privileged Information and is meant for the
intended recipient(s) only. If you have received this e-mail in error and
are not the intended recipient/s, kindly delete this e-mail immediately
from your system. You are also hereby notified that any use, any form of
reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail, its contents or its
attachment/s other than by its intended recipient/s is strictly prohibited
and may be construed unlawful. Internet Communications cannot be guaranteed
to be secure or error-free as information could be delayed, intercepted,
corrupted, lost, or may contain viruses. Wadhwani Institute for Artificial
Intelligence does not accept any liability for any errors, omissions,
viruses or computer shutdown (s) or any kind of disruption/denial of
services if any experienced by any recipient as a result of this e-mail.

Dear Jaygala
i am trying to inference indictrans2 model, after running joint_translate.sh with arguments passing, infile file, output file, and checkpoint folder
then getting the error.
(itv2) phd2201101001@cse-3:~/nmt/it2_1/IndicTrans2$ bash joint_translate.sh '../indic-indic-exp/devtest/all/san_Deva-hin_Deva/test.san_Deva' 'san_hin_outputs.txt' 'sa' 'hi' '../indic-indic-exp'
Friday 19 January 2024 06:20:55 PM IST
Normalizing punctuations
undefined mapping: sa, falling back to: en
Adding do not translate tags
1240it [00:00, 14097.66it/s]
Applying normalization and script conversion
100%|████████████████████████████████████████████████████| 1240/1240 [00:00<00:00, 15373.11it/s]
Number of sentences in input: 1240
Applying sentence piece
joint_translate.sh: line 48: san_hin_outputs.txt.norm: No such file or directory
Adding language tags
Traceback (most recent call last):
File "/home/phd2201101001/nmt/it2_1/IndicTrans2/scripts/add_tags_translate.py", line 28, in
with open(infname, "r", encoding="utf-8") as infile, open(
FileNotFoundError: [Errno 2] No such file or directory: 'san_hin_outputs.txt._bpe'
Decoding
Extracting translations, script conversion and detokenization
Translation completed
kindly suggest me how to resolved this error. thanks

Hi @kpdubey
You are passing two letter languages to the script whereas IndicTrans2 model expects the languages to be in flores code format. You can find more details about the same in the README.
Here is the correct command:
bash joint_translate.sh '../indic-indic-exp/devtest/all/san_Deva-hin_Deva/test.san_Deva' 'san_hin_outputs.txt' 'san_Deva' 'hin_Deva' '../indic-indic-exp'

Dear Jay
Thanks for your response to rectify command.

Dear jay
can i know about which one is actual BLEU score in below. 37.5 is actal BLEU Score, or something else. and what about verbose score.
name": "BLEU",
"score": 37.5,
"signature": "nrefs:1|case:mixed|eff:no|tok:none|smooth:exp|version:2.3.1",
"verbose_score": "64.5/43.7/31.7/25.2

Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.8/site-packages/fairseq/data/indexed_dataset.py", line 513, in del self._bin_buffer_mmap._mmap.close() AttributeError: 'MMapIndexedDataset' object has no attribute '_bin_buffer_mmap'
i am facing the same problem. pytorch version i have used 11.6, whic version of fairseq you have used 0.12.2, or 0.10.2 or some thing else.
kindly suggest me what can be exact error. i hope u will help me out. thanks

facing the same issue can anyone helpe?..


Fixed headings and added demo

only one h1 is allowed usually for valid HTML.
Also, this fixes #19

Hi @MartinMuzatko thanks for your contribution, I have not had enough time to work on this recently. The demo does not look good on my browser https://unsee.cc/95695215/. Is it the same there? What can we do about it?

Yep. the width of the calendar is hardcoded. I tried to use the property width as documented, but that only changes the input size - very confusing. There is no extra CSS that influences the sandbox example.
Am I missing some CSS maybe?
Thanks in advance and thanks for your feedback.

Does it look like this if you use it in a project? It doesn't look scattered like this if I use it in a project though. I can implicitly increase the width if it is too small.
By the way, do you feel it is okay to allow explicit changing of the calendar width based on properties?

Hmm, I feel the calendar box itself should have a fixed with though, since anyone would be good with it as far as it's ports are not looking staggered as they are in that picture. We could easily increase the width inside the component if it is too small, or what do you think?


feat(mux): support gracefull shutdown in connection multiplexing

What type of PR is this?
feat
What this PR does / why we need it (English/Chinese):
en: feat(mux): support gracefull shutdown in connection multiplexing
zh: feat(mux): 连接多路复用支持优雅关闭
Which issue(s) this PR fixes:

This PR replaces #326


initial commit for application.properties

Mongo database properties in a property file added,

What's the purpose of adding MongoDB settings in a props file? The defaults work out of the box with a default installation of MongoDB.

Hey Gregturn,
Thanks for your reply.
Our team was going through with this POC and invested lots of time to connect to the remote mongo machine. So, we came up with the appropriate solution for the same. This might help other needed people who are using the same.

FWIW I think this is a good idea, but the whole file should be commented out (since the defaults work fine).

I agree @dsyer .

I prefer simply linking to http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-mongodb instead of maintaining something that could go out-of-sync.

That's also a valid point of view. I guess as long as the user has some way to find out more everyone should be happy.

Thanks a ton @gregturn . This helps us as well as other team who may use the same.


output path for images is wrong in css files

When using a output.publicPath containing the compilation hash, I'm getting the wrong path added to CSS files that have paths replaced.
see https://github.com/webpack/webpack/issues/446 for details

I think this is no longer an issue, but feel free to re-open if so.


Windows installation, fails on inv migrate.

I have tried python versions 3.7, 3.8 and 3.9, running on Windows 10 (Build 21301.1010). Very similar problem to this issue: https://github.com/inventree/InvenTree/issues/1033, but instead of running an existing server all this is new trying to get everything to install.
Here's the error;
(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-master> inv migrate
Running InvenTree database migrations...
========================================
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    import django  # NOQA
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 17, in <module>
    "Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

No error on python -c 'import django'.
Directly trying manage.py doesn't work either;
(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-master\InvenTree> python3 .\manage.py migrate
Traceback (most recent call last):
  File ".\manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\manage.py", line 14, in <module>
    import django  # NOQA
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\manage.py", line 17, in <module>
    "Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

Useful version related stuff within the virtual-env:
(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-master\InvenTree> django-admin --version
3.0.7

(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-master\InvenTree> python --version
Python 3.7.9

What could I be doing wrong? Any help is appreciated!

Btw, this works perfectly fine too...
(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-0.1.6> python -c 'import django.core.management'

Hmmm, using python instead of python3 somewhat worked. Now I am at;
(inventree-env) PS C:\Users\neobl\Downloads\InvenTree-0.1.6> python .\InvenTree\manage.py migrate
OSError: no library called "cairo" was found
cannot load library 'libcairo-2.dll': error 0x7e
cannot load library 'libcairo.so.2': error 0x7e
cannot load library 'libcairo.2.dylib': error 0x7e
cannot load library 'libcairo-2.dll': error 0x7e
You may require some further system packages to be installed.

Check out the installation instructions page: https://inventree.readthedocs.io/en/latest/start/install/

Note that Weasyprint will (in their next major release) drop their requirement for libcairo, which will make InvenTree much easier to install! It is currently a bit burdensome on Windows.

I saw that little comment, trying to get that working now. Thank you! :)

I followed the installation steps specified by weasyprint, in my command-line, I see echo %PATH%
C:\Users\neobl>echo %PATH%
...;C:\Program Files\GTK3-Runtime Win64\bin;...

It's still not finding the cairo files. Is there a specific way I should be setting these paths up within the virtual environment of python to get weasy to recognize them?

Should I be using mingw and not PowerShell or CMD by any chance?

@neoblizz In my little experience with Python on Windows, I found MinGW terminal to be much more friendly than the CMD. Have not tried PowerShell.

@eeintech thank you, I'll give that a try. I just find it weird that the global PATH variable sees GTK and all of its libraries, but within the python virtual environment somehow it is not seeing that. And I don't know if that is a venv thing, or if I need to additionally set some paths there as well.
I'll try MinGW, really also hoping for Weasyprint dropping cairo as @SchrodingersGat pointed out. :)

@neoblizz any word?
If you are still having trouble, I would suggest installing InvenTree under WSL

I got it to work through WSL a little while ago. But I'll probably wait for the libcairo requirement to be dropped to actually adopt/try it out.


FUTURE - Add a daily refresh for users displaying the website always without a refresh

TBAdded in the frontend i think

To be tested at 7 PM Montreal time

Probs just added a cron job to trigger the API at 7 PM (midnight UTC) + refresh the page at the same time.
Problem: If the language is set to French, it will be set to English back again...
https://stackoverflow.com/questions/75340700/prevent-render-server-from-sleeping

will indeed need to persist data from the user's previous session.
To be investigated and researched further

Alhamdulillah, without the need to have a cron job, I added a refresh at midnight, which always runs on the frontend.
Q&As:
1- The backend might be sleeping around that time! It does not hurt. Since Vercel is running 24/7, there will be no problem as when it hits midnight, the frontend will refresh/reload the page, which means triggering the backend's main endpoint, checking for the time date of the date (the condition for the checking the day will be true) and thus it will fetch the new hadeeth of the day, persist it in the database updating all required fields and the API will wake up at that point and fetch the hadeeth of the day.
2- What if a user is already using it (A masjid displaying the website?)? It's fine! As the same logic from top will be applicable if API was down (having the website open does not mean the API is triggered, it might left open since a while). If it's triggered from before and the API is awake (presumably still from old hadeeth), it will again hit the endpoint which will check for the time and return a new hadeeth.

I will create more tickets to test at midnight (While having the website open. If closed, it does not matter as it's like before.) The website needs to refresh displaying the new hadeeth around 12 AM.
Also, we need to test the emil at 8 AM.


Call hierarchy jumps to function declaration, not call site

Call hierarchy jumps to function declaration, not call site

Fixed by 43c1ece2e565fab7808234f771c98aa1cd722706