Item edit dialog

Based on suggestions during the last demo session, a proposed improvement to the UI/UX is unifying the different dialog editors under a single item edit dialog
The item edit dialog should extend the existing options dialog and include all possible editors as vertical tabs
A design should be proposed and agreed on before moving on to the implementation

Item edit dialog design in Figma: https://www.figma.com/file/yLaToUvAVnB2BRlabjIXlO/Dialob-editor?type=design&node-id=0%3A1&mode=design&t=VusdKsoEHM0qdcir-1
Clickable prototype: https://www.figma.com/proto/yLaToUvAVnB2BRlabjIXlO/Dialob-editor?type=design&node-id=1-2&t=mmEg5KTa4tNG0VTO-1&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=1%3A2&mode=design
Screenshots: https://drive.google.com/drive/folders/1CR-fbKgtzS9YNCt_-nmfhgfZqAGSK8ra


CRUD modals and partials, typeahead functionality

Coverage increased (+0.07%) to 91.394% when pulling d70f68f16fe6a582551a90a7e4fdc99bda660491 on search-pagination into e337e8234cee0559bc4abac59fe3a032ce08106e on front-end.


[release] v6.1.7

Release v6.1.7
Fix some minor format errors in CHANGELOG for versions 6.1.5 and 6.1.6

pnpm dedupe removed some (not all<EMAIL_ADDRESS>references from the lock file.

I merged a PR, sorry, this will need to be updated once again.


/pytorch/c10/core/TensorImpl.h:1156.

~/mount_sdc/work_zp/Train/yolox$ python ./tools/demo.py video -n yolox-x -c /home/gy/mount_sdc/work_zp/Train/yolox/yolox_x.pth.tar --camid 0 --conf 0.3 --nms 0.65
2021-07-22 15:49:18 | INFO     | main:219 - Args: Namespace(camid=0, ckpt='/home/gy/mount_sdc/work_zp/Train/yolox/yolox_x.pth.tar', conf=0.3, demo='video', exp_file=None, experiment_name='yolox_x', fp16=False, fuse=False, name='yolox-x', nms=0.65, path='./assets/dog.jpg', save_result=False, trt=False, tsize=None)
/home/gy/Applications/anaconda3/envs/yolox/lib/python3.6/site-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at  /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
2021-07-22 15:49:20 | INFO     | main:229 - Model Summary: Params: 99.07M, Gflops: 281.93
2021-07-22 15:49:22 | INFO     | main:240 - loading checkpoint
2021-07-22 15:49:22 | INFO     | main:245 - loaded checkpoint done.

This is a warning but not an error. Your code looks to run well. Just remember to add --save_result to save visual results

#77
This is a warning but no an error. But you can try our latest branch.


velib and veuilib are not open source ?

i found that many core parts of the source codes are hidden in those libs.
how can i get those source codes ?
are you going to sell them ?

Yes, some base functions are in velib and veuilib. and the two lib are not open source. the veapp is BSD license, so you can use the two library.


JS package being marked as adult content

Hi all,
We've had an issue where Bitdefender is blocking the zxcvbn JS libarary -- categorising it as pornography -- presumably due to the number of adult-themed passwords included.
Seems to occur only on Windows.
A way of overcoming this would be great - perhaps an option of taking a url to retrieve the data via AJAX after initialising, reversing the stored words or similar.
Any feedback or advice greatly appreciated. Thanks in advance.

From memory, there have been a few requests in the past for the ability to
retrieve the dictionary on-demand via AJAX. I can't remember exactly what
the outcome was, but it might be worth a quick look through the previous
(closed?) issues and PRs?
On Fri., 26 Oct. 2018, 04:03 Steve Rackham<EMAIL_ADDRESS>wrote:

Hi all,
We've had an issue where Bitdefender is blocking the zxcvbn JS libarary
-- categorising it as pornography -- presumably due to the number of
adult-themed passwords included.
Seems to occur only on Windows.
A way of overcoming this would be great - perhaps an option of taking a
url to retrieve the data via AJAX after initialising, reversing the stored
words or similar.
Any feedback or advice greatly appreciated. Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dropbox/zxcvbn/issues/239, or mute the thread
https://github.com/notifications/unsubscribe-auth/AI4pzQM7zKsuF7ELDdsXcLg4mOo_uhZQks5uoe70gaJpZM4X6tsS
.

I agree with the first response there, in that we'd rather avoid sending the password to the server for evaluation.
I think, rather, we'd prefer to retrieve the top 10k list via AJAX as the library loads (although I'm not sure if this would cause a similar issue). If this were still an issue, a second option taking a function to transform the data as it arrives would likely overcome this.
Hypothetically, something like the following:
zxcvbn('Tr0ub4dour&3', user_inputs=['testing'], { source: '/path/to/source', transformation: (data) => { return data.split("").reverse().join("") } })
I'm no expert with Javascript, so please consider the above completely hypothetical. However, any suggestions or advice about such an implementation (or completely different ideas on overcoming the adult content warning) are greatly appreciated.
Additionally, I'll look at plugging this into our code, and if we turn up anything that looks useful, will submit a PR for your review.


Add poll, epoll, kevent/kqueue/Replace select.select with util functions

This is an update to PR #685 where I implement kevent/kqueue as well as poll/epoll. Feel free to refactor or integrate into that PR.

@sigmavirus24 Are you interested in factoring this into your PR?

@tbsf Don't forget select.devpoll for Solaris.

Superseded by #1001.


Flutter Plugin - Camera - exposure works on Android 8.1 phone but not on my Android 7.0 phone

I am testing an app that makes use of the camera plugin with two different physical phones

Android version 7.0 on Moto G5
Android version 8.1 on Blackberry BBF100-2 (aka Key 2)

I access the camera and takes pictures using the following code
        _cameraController!.initialize().then((_) async {
          if (!mounted) {
            return;
          }

          await _cameraController!.setFlashMode(FlashMode.off);
          await Future.delayed(Duration(milliseconds: 1000));

          _image = await _cameraController!.takePicture();

Using the plugin in my app, a good picture is taken when installed on my Blackberry Key2 (Android)

but exactly the same code on the Moto G5 I get a dark screen

To test whether the camera works properly on the Moto G5, I took a picture with the flash disabled and I get a good image:

I have to disable the flash in my application but on 8.1 Blackberry Key2 the image comes out fine (even in low light).
Because it works on one but not the other it looks like a bug.  The plugin says it is supported on SDK 21 (Android 6.0).  Any ideas or fixes?

Thanks for the report! This is a known issue being tracked at https://github.com/flutter/flutter/issues/55284 which also happens on a specific device (similar to yours: Moto G 5S Plus).
Closing this issue as a duplicate, so please follow up on it for further updates.


No h-encore bubble after power off

After a full powercycle vita runs a database check and removes h-encore bubble.
This makes it a tethered back as you have to connect to qcma and install the game/bullbe again.

Ehm. No. It will only remove the layout, but you will still be able to launch bittersmile.

Ok. That was an abrupt close. I not sure what caused the issue. I have now other plugins enabled yet.
I'll give you a quick bit of background. I left the vita in sleep with a game running overnight. Today I woke it up and loses a different game.
After this I simulated a battery dead/out of power. Buy holding the power button in till the vita force power off. Not shutdown.
After this the vita powered up and refreshed the database. Once sack at the vita xmb neither h-encore nor blitter smile bubbles existed.
It may be a rare chance of happening but non the less it did.
I'll attempt to recreate the issue and upload a proof of video.


[tests-only] Bump commit ids for tests

Description
How Has This Been Tested?
CI
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

There are currently problems with the drone agents, so we cannot get green CI...

Rebased to get fresh CI


Slow Installation

Hello Jianfei,
I'm genuinely impressed by the remarkable work. But as I attempt to replicate the Streetsurf, it appears that installing the nr3d_lib is mandatory. The build process has already surpassed 8 hours and yet shows no sign of completion. Is it typically this slow? Any insights you can offer would be greatly appreciated.
Many thanks in advance.
Warm regards,
Dylan

If you are continuously stuck while compiling lotd, then you are encountering the same issue as I did.
Switch the project version back to the version from August-September last year and follow the instructions in the README to successfully install it.

Same issue, it has built a night in my computer

same problem ,one night pass,it stuck


Vitest loads multiple formats of the same package

Describe the bug
During a test run it seems like libraries can be loaded twice when something requests a commonjs module and something else the ESM variant.
TypeError [Error]: Cannot read properties of null (reading 'context')
    at Proxy.exports.useContext (/app/node_modules/preact/hooks/dist/hooks.js:1:2437)
    at d.ExampleConsumer [as constructor] (/app/app/src/preact-bug.test.jsx:38:41)
    at d.M [as render] (/app/node_modules/preact/dist/preact.js:1:7837)
    at j (file:///app/node_modules/preact/dist/preact.mjs:1:5752)
    at file:///app/node_modules/preact/dist/preact.mjs:1:1494
    at Array.some (<anonymous>)
    at g (file:///app/node_modules/preact/dist/preact.mjs:1:1392)

As indicated by the stack trace, somehow preact.mjs AND preact.js are loaded. This sounds like vite or vitest is including both a CommonJS and an ESM Module of the same library.
(Originally reported at https://github.com/preactjs/preact/issues/3220)
Reproduction

Clone https://github.com/dancras/preact-bug
Run npm install
Run npm run vitest

System Info
System:
    OS: macOS 12.1
    CPU: (8) arm64 Apple M1
    Memory: 92.44 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.6.2 - ~/.nvm/versions/node/v16.6.2/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 7.20.3 - ~/.nvm/versions/node/v16.6.2/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 98.0.4758.80
    Chrome Canary: 100.0.4886.0
    Edge: 98.0.1108.51
    Firefox: 96.0.3
    Safari: 15.2
  npmPackages:
    vite: ^2.8.0 => 2.8.0
    vitest: ^0.3.2 => 0.3.2

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

To import libraries we use native import. And node doesn't understand moudle field, so I added exports field, and now I get another error.
  "exports": {
    ".": {
      "import": "./dist/hooks.module.js",
      "require": "./dist/hooks.js"
    }
  },

TypeError: Cannot read properties of undefined (reading '__H')
❯ m node_modules/preact/hooks/dist/hooks.module.js:110:20

❯ p node_modules/preact/hooks/dist/hooks.module.js:138:2
❯ Object.l node_modules/preact/hooks/dist/hooks.module.js:135:19
❯ d.ExampleProvider [as constructor] src/preact-bug.test.jsx:12:30
❯ d.M [as render] node_modules/preact/dist/preact.js:1:7837
❯ I node_modules/preact/dist/preact.js:1:5598
❯ m node_modules/preact/dist/preact.js:1:2096
❯ I node_modules/preact/dist/preact.js:1:5831
❯ N node_modules/preact/dist/preact.js:1:7951
❯ node_modules/@testing-library/preact/dist/pure.js:90:26
❯ exports.act node_modules/preact/test-utils/dist/testUtils.js:1:790
❯ Proxy.render node_modules/@testing-library/preact/dist/pure.js:86:22
❯ src/preact-bug.test.jsx:43:4
❯ runTest node_modules/vitest/dist/entry.js:1728:40
❯ async runSuite node_modules/vitest/dist/entry.js:1792:13
❯ async runSuites node_modules/vitest/dist/entry.js:1820:5
❯ async startTests node_modules/vitest/dist/entry.js:1825:3
❯ async node_modules/vitest/dist/entry.js:1849:7
❯ async withEnv node_modules/vitest/dist/entry.js:1479:5
❯ async run node_modules/vitest/dist/entry.js:1848:5

That's interesting. I would've assumed that bundlers only look at the top level package.json of a package where all the export mapping happens.

That's interesting. I would've assumed that bundlers only look at the top level package.json of a package where all the export mapping happens.

Vitest is not a bundler tho, and we dont use Vite to bundle code, only to transpile. Also we don't perform Vite's transformations on node_modules for perfomance reasons, but it's possible to deps.inline them in config.

FYI: The issue described here seems to relate to the dual package hazard section in Node's module docs: https://nodejs.org/api/packages.html#dual-package-hazard

FYI: The issue described here seems to relate to the "dual package hazard" section in Node's module docs: https://nodejs.org/api/packages.html#dual-package-hazard

Yes, I think this is due to testing-library being cjs only. It requires preact to render, then user code imports hooks from mjs, where currentComponent is undefined

So, to fix this we need to:
Either

Have exports field in all of the preact packages
AND build ESM testing-library
Or
Somehow import only cjs versions in Vitest, but this is harder, since we are ESM first, and would require some digging

Agree that pushing for ESM rather than moving back to CJS seems like the preferable move. Maybe if testing-library is ESM that problem will be resolved.

Yep, my Preact hook tests are broken because of this :)
I am going to try using preact/text-utils directly instead...

Somehow import only cjs versions in Vitest of these libraries, but this is harder, since we are ESM first, and it would be quite a rewrite - maybe some kind of config option will be necessary, but I would prefer the first variant, since it will work by default for most users

maybe this can help to load cjs https://github.com/iconify/iconify/blob/master/packages/utils/vitest.config.cjs running:
vitest --config vitest.config.cjs

Ah, my workaround is to delete / rename node_modules/preact/hooks/package.json, which interferes with the top-level import map in node_modules/preact/package.json (which itself references preact/hooks)
👍

Running vitest in --no-threads mode resolved this issue for me. Although there are other issues now as a result of doing that, they seem more manageable.

There's an update: https://github.com/testing-library/preact-testing-library/issues/50#issuecomment-1137453847
Unfortunately still fails at my end, so my workaround persists :)
(basically, a copy of https://github.com/testing-library/preact-testing-library/blob/1f9851894ff4fc772addef39855ecc0d8b219dca/src/pure.js and https://unpkg.com/browse/<EMAIL_ADDRESS>in my ESM / TS codebase)

Another update: fixed now :)
https://github.com/testing-library/preact-testing-library/issues/50#issuecomment-1138923859

Another update: fixed now :) testing-library/preact-testing-library#50 (comment)

Have you managed to get everything working ootb?
Last (>3.0.2) preact-testing library updates breaks preact/hooks import for me like here: https://github.com/preactjs/preact/issues/2690

Another update: fixed now :) testing-library/preact-testing-library#50 (comment)

Have you managed to get everything working ootb? Last (>3.0.2) preact-testing library updates breaks preact/hooks import for me like here: preactjs/preact#2690

for those who came with typescript 4.7 and new module resolution config:
While @testing-library/preact fully supports esm, some of modulesyou use may not, eg recoil, mui (which is weird actually) in my case. That leads to CJS/ESM import issues (like preact/hooks error). To workaround this, use TypeScript CJS import interop:
import tlp = require('@testing-library/preact');

const { screen, waitFor, fireEvent, cleanup } = tlp;

That did help in my case. If anyone has better solution, please share. Forcing everyone to have proper ESM support is nice, but it may take a lot of time

Thanks for the tip @wight554
As mentioned previously in this thread, what worked for me is the following (but I appreciate that projects with different dependency trees might experience different issues):

Ah, my workaround is to delete / rename node_modules/preact/hooks/package.json, which interferes with the top-level import map in node_modules/preact/package.json (which itself references preact/hooks)

Fixed, according to https://github.com/vitest-dev/vitest/issues/747#issuecomment-1138947503


what's the recommended memory to run DipAsm?

the server has 256GB memory，but when run this pipeline on the 2-overlap(shmr_overlap running)step, some threads report out of memory error. so I  two questions:
1.what's the required memory needed?
2.when some threads report out of memory error , but i found other threads are still running, are the final results correct?
thanks.

Please see #16

Please see #16


gitbook-edit plugin ignores book.json root configuration element

We use GitBook for our doco. We'd love to use the gitbook-edit plugin, however we have a custom book.json where we re-define the GitBook root directory.
The root configuration element is ignored by the gitbook-edit plugin when building the GitHub edit path.
Note: I raised the issue here because in the official repo issues are disabled.

@mauroservienti root is not an defined property for using in this plugin, and what it can be set is only repo and branch:

repo is used to figure out the repository responding to your book
branch is used to figure out which branch or your given repository

For example, if the repo is given "aleen42/PersonalWiki", and the branch is given "master", then edit button will be set as "https://github.com/aleen42/personalwiki/edit/master/README.md", in which README.md is a relative path read by calling a specific API of Gitbook.

Anyway, thanks for your issue firstly, and the project of gitbook-edit is not able to be issued because it's forked from another project.

root is a standard GitBook property that allows files to be stored in a sub-folder. Isn't there an option to support it when building the path to the GitHub file?

@mauroservienti Actually, I have not even used this property, and can you show me your value of root and tell me how to build the path with this property, or what it really means? Of course, I can provide another option for this building. Of course you can also fork my repo to give out another pull request to support your requirement, man.

@mauroservienti Oh, root property is a feature released in 2015, which allows author to figure out where is the root folder of the book.

Take a look at our repo: https://github.com/RadicalFx/documentation
In the root there is book.json file that configures GitBook to look for doco source files in the ./docs folder instead of using the repo root folder. Actually your plugin builds the following edit url (using your sample):
https://github.com/aleen42/personalwiki/edit/master/README.md
If the root configuration property is defined it should be
https://github.com/aleen42/personalwiki/edit/master/{root-configuration-value}/README.md
Where {root-configuration-value} should be trimmed removing from start any ./ and from end any /.

Of course you can also fork my repo to give out another pull request to support your requirement, man.

I have zero node.js knowledge unfortunately 😞

@mauroservienti 2333, okay, I will fix it soon or later.

I had a couple of minutes and decided to give it a try 😄
We use to say: Don't shoot to the pianist 😉

@mauroservienti check the version @1.0.8 and rebuild your book with it to test whether it works for your book.


Build of the Python extension fails: Expression did not evaluate to a known generator expression

Describe the bug
-- Configuring done (21.9s)
CMake Error at CMakeLists.txt:58 (file):
  Error evaluating generator expression:

    $<:/$<CONFIG>>

  Expression did not evaluate to a known generator expression

CMake Error at CMakeLists.txt:58 (file):
  Error evaluating generator expression:

    $<:/$<CONFIG>>

  Expression did not evaluate to a known generator expression

CMake Error:
  Error evaluating generator expression:

    $<:/$<CONFIG>>

  Expression did not evaluate to a known generator expression

CMake Error at CMakeLists.txt:58 (file):
  Error evaluating generator expression:

    $<:/$<CONFIG>>

  Expression did not evaluate to a known generator expression

CMake Error at CMakeLists.txt:58 (file):
  Error evaluating generator expression:

    $<:/$<CONFIG>>

  Expression did not evaluate to a known generator expression

-- Generating done (0.0s)

To Reproduce
cmake -DFREEBSD_PYTHON_VER=3.9  -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_C_COMPILER:STRING="cc"  -DCMAKE_CXX_COMPILER:STRING="c++"  -DCMAKE_C_FLAGS:STRING="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  -DCMAKE_C_FLAGS_DEBUG:STRING="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DNDEBUG"  -DCMAKE_CXX_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/f3d -isystem /usr/local/include "  -DCMAKE_CXX_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/f3d -isystem /usr/local/include "  -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/f3d -isystem /usr/local/include  -DNDEBUG"  -DCMAKE_EXE_LINKER_FLAGS:STRING=" -fstack-protector-strong -L/usr/local/lib "  -DCMAKE_MODULE_LINKER_FLAGS:STRING=" -fstack-protector-strong -L/usr/local/lib "  -DCMAKE_SHARED_LINKER_FLAGS:STRING=" -fstack-protector-strong -L/usr/local/lib "  -DCMAKE_INSTALL_PREFIX:PATH="/usr/local"  -DCMAKE_BUILD_TYPE:STRING="Release"  -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES  -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES  -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON  -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON -GNinja -DPython_ADDITIONAL_VERSIONS=3.9 -DPython_EXECUTABLE:FILEPATH="/usr/local/bin/python3.9" -DPython3_EXECUTABLE:FILEPATH="/usr/local/bin/python3.9" -DBOOST_PYTHON_SUFFIX:STRING=39 .
Expected behavior
n/a
System Information:

OS: FreeBSD 14.0

F3D Information
Paste the content of f3d --version: 2.2.1
cmake-core-3.27.9

Adding -DF3D_MULTI_CONFIG_GENERATOR:BOOL=OFF didn't fix the problem for me for some reason.

Adding -DF3D_MULTI_CONFIG_GENERATOR:BOOL=OFF didn't fix the problem for me for some reason.

That's surprising 🤔
Can you try to change line 24 from
set(f3d_module_dir "${CMAKE_BINARY_DIR}$<${F3D_MULTI_CONFIG_GENERATOR}:/$<CONFIG>>/${f3d_python_package_name}")

to
set(f3d_module_dir "${CMAKE_BINARY_DIR}/${f3d_python_package_name}")

Let me know if it's working.

This replacement fixed the problem.

Great. I'll fix this issue in the upcoming release.

The fix is done and will be merged soon (https://github.com/f3d-app/f3d/pull/1150). There are more changes to make in the CMake file in case you want to patch it.
Please note we are currently in a release phase and the 2.3 version will be out very soon with this fix included.


dial tcp: lookup tagging.us-east-1.amazonaws.com on <IP_ADDRESS>:53: no such host

Hi,
when I deploy on AWS Eks Cluster (eks_consul) the aws-alb-ingress-controller, I am facing the issue:
I0118 10:46:07.170763       1 api.go:159] Request: tagging/GetResources, Payload: {  ResourceTypeFilters: ["ec2"],  ResourcesPerPage: 50,  TagFilters: [{      Key: "kubernetes.io/role/internal-elb",      Values: ["","1"]    },{      Key: "kubernetes.io/cluster/eks_consul",      Values: ["owned","shared"]    }]}
E0118 10:46:07.175401       1 request_pagination.go:105] Failed request: tagging/GetResources, Payload: {  ResourceTypeFilters: ["ec2"],  ResourcesPerPage: 50,  TagFilters: [{      Key: "kubernetes.io/role/internal-elb",      Values: ["","1"]    },{      Key: "kubernetes.io/cluster/eks_consul",      Values: ["owned","shared"]    }]}, Error: RequestError: send request failed
caused by: Post https://tagging.us-east-1.amazonaws.com/: dial tcp: lookup tagging.us-east-1.amazonaws.com on <IP_ADDRESS>:53: no such host
E0118 10:46:07.175523       1 :0] kubebuilder/controller "msg"="Reconciler error" "error"="failed to build LoadBalancer configuration due to failed to get AWS tags. Error: RequestError: send request failed\ncaused by: Post https://tagging.us-east-1.amazonaws.com/: dial tcp: lookup tagging.us-east-1.amazonaws.com on <IP_ADDRESS>:53: no such host"  "Controller"="alb-ingress-controller" "Request"={"Namespace":"2048-game","Name":"2048-ingress"}

kubectl edit deployment.apps/eks-aws-alb1-aws-alb-ingress-controller -n kube-system
...
        - --cluster-name=eks_consul
        - --ingress-class=alb
        - --aws-api-debug
...

where "eks_consul" is my EKS cluster name.
So, AWS does not create the ALB service ...
I don't understand the problem with the tag
Thanks
Maurice

I also encountered this situation and it was not due to security groups.  Finally, I discovered that environment variable AWS_VPC_K8S_CNI_EXTERNALSNAT must be set true on the aws-node DaemonSet if workers are run in a private subnet and use a NAT gateway in a private subnet to access the internet.
$ kubectl edit -n kube-system ds aws-node
...
      containers:
      - env:
        # IMPORTANT When workers run in a private subnet and use a NAT gateway
        # This must be true to use the external SNAT, not SNAT within CNI
        # https://docs.aws.amazon.com/eks/latest/userguide/external-snat.html
        - name: AWS_VPC_K8S_CNI_EXTERNALSNAT
          value: "true"
...

@hobti01 do you recall if you had to do anything special after that update? Or did it work in real time after you made the change?

After editing the DaemonSet, nodes were registered in real time as the Pod on each node was replaced.

anybody tried with kops, am facing the same issue, I am using kops to create the cluster


Redshift external table columns read problem

System information:

Operating system (distribution) and version : Mac OS bigsur
DBeaver version  CE 21.1.2
Additional extensions

Connection specification:

Database name and version : Redshift
Driver name JDBC4.2 (from AWS)
Do you use tunnels or proxies (SSH, SOCKS, etc)?  No

Describe the problem you're observing:
We use spectrum with redshift.  Spectrum allows us to refer to Athena tables.
In 21.1.2, if a table has been created in Athena with "String" data type, then trying to see the DDL in Spectrum would give us
an error "Unknown data type String".
This works fine in 21.1.1.
In the attached screen shot from 21.1.1 we can see the table DDL in Redshift.  This errors out in 21.1.2.

@sravikrishna3
Could you check if enabling Read all data types option in connection properties resolves the problem?

No, it made no difference.

Again, enabling Read all Data Types did NOT fix the issue.

I can confirm this is still an issue in 21.1.5 when trying to list columns of a table in a Redshift Spectrum schema. This worked fine before.

I believe it will be fixed only in 21.2.1 version.

@sravikrishna3 Hello, if it is possible, I would like to ask you to verify if this was fixed for you

Are we talking about version 21.2.0.  It still shows the same error. Screenshot attached

@sravikrishna3 It is not fixed in 21.2.0, but is scheduled to be in 21.2.1. You can download the latest build that includes this fix on our early access page https://dbeaver.io/files/ea/

Indeed it has been fixed.  SS attached.

Thanks.

I am experiencing the same issue with the newest version of DBeaver
System information:

Operating system (distribution) and version: macOS Monterey 12.4
DBeaver version <IP_ADDRESS>207091909

Describe the problem you're observing:
We are using Amazon Redshift Spectrum to query external data in S3. Users on the newest version of DBeaver are unable to expand columns. I have seen null pointer exception errors and "Cannot invoke "org.jkiss.dbeaver.ext.postgresql.model.PostgreDataType.getTypeID()" because "dataType" is null"
Users on older versions are not experiencing this issue.

I can confirm same problem. I had to roll back to DBeaver v22.1.0. Also on macOS Monterrey 12.4

@barel166 Thank you! Rollback fixed for us as well.


Adds bounds checks to avoid OOB writes in ticket extension code (1.1.0)

Is there any difference with #1713 ?

Sorry didn't see.


WIP: Updating the RTDs code for Release 0.7.2

Update the the Read The Docs material in preparation for the next release of ACA-Py.  We'll leave this as a WIP until 0.7.2 is ready to be released, to catch the latest updates.
Currently getting generation errors from the coordinate_mediation module. Help on these would be appreciated -- it's something to do with the formatting of the documentation for the listed methods:
WARNING: error while formatting arguments for aries_cloudagent.protocols.coordinate_mediation.mediation_invite_store.MediationInviteRecord.from_json: Handler <function update_annotations_using_type_comments at 0x7f18ab6a5ae8> for event 'autodoc-before-process-signature' threw an exception (exception: wrapper loop when unwrapping dataclasses.dataclass.from_json)
WARNING: error while formatting arguments for aries_cloudagent.protocols.coordinate_mediation.mediation_invite_store.MediationInviteRecord.to_json: Handler <function update_annotations_using_type_comments at 0x7f18ab6a5ae8> for event 'autodoc-before-process-signature' threw an exception (exception: wrapper loop when unwrapping dataclasses.dataclass.to_json)
WARNING: error while formatting arguments for aries_cloudagent.protocols.coordinate_mediation.mediation_invite_store.MediationInviteRecord.unused: Handler <function update_annotations_using_type_comments at 0x7f18ab6a5ae8> for event 'autodoc-before-process-signature' threw an exception (exception: wrapper loop when unwrapping dataclasses.dataclass.unused)
/home/swcur/repos/aries-cloudagent-python/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py:docstring of aries_cloudagent.protocols.coordinate_mediation.mediation_invite_store.MediationInviteStore.get_mediation_invite_record:10: WARNING: Field list ends without a blank line; unexpected unindent.

I'll take a look at the failures in the MediationInviteRecord

Codecov Report

Merging #1473 (229cc93) into main (ed9ab88) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 229cc93 differs from pull request most recent head a618290. Consider uploading reports for the commit a618290 to get more accurate results

@@           Coverage Diff           @@
##             main    #1473   +/-   ##
=======================================
  Coverage   95.81%   95.82%
=======================================
  Files         489      489
  Lines       30027    30018    -9
=======================================
- Hits        28770    28764    -6
+ Misses       1257     1254    -3


Added check for date-formats

Fixes #1020
Code changes
Added a function to check if an input date_string belongs to specefied date_formats or not
Help Required
Even though I did an extremely small code change , It is failing some tests. Can any of the available maintainers help me determine the cause?
cc - @Gallaecio

Hey @Gallaecio , I have fixed the test cases issue. It is now passing all the test cases. Kindly review it.


Audit logs

Fixes #28
Todo:

[x] Add audit reasons

@tellowkrinkle Any input?

Seems reasonable to me


include scripts in npm package

fix for #1736

better longer term solution might be to remove the postinstall

Please "save" 0.12.x with this change and flag as deprecated v 0.12.4, thank you!
npm deprecate<EMAIL_ADDRESS>"Fails the postinstall due missing ./script folder"

Whoops, my mistake


Quilt Registry

QuiltSync needs a local cache to keep track of all the installed packages in a given path, so it can access them directly without re-downloading.
I claim this cache is a Quilt registry. Or at least a subset of one, for working with non-versioning datastores (traditional filesystem).
Alas, the existing quilt3 API does not expose this "local registry", so for now we will simply mirror it. Specifically:

Convert QuiltParser into QuiltRegistry @resource
@operation put to add a URI -> return "id"
@operation 'list to return all cached URIs
@operation get to retrieve a Package by "id"

where:

id = cloud/remote-registry/prefix/suffix (for uniqueness)
We persist this via a registry.yaml file at the root (for now)

Rethinking the metaphor. Let's start over again.
One component is the QuiltID, which wraps a URI to extract various pieces of information.
Next is a QuiltPackage, which is created from a QuiltID. This may be a subclass of a generic QuiltResource, e.g.:

QuiltRemoteRegistry
QuiltPath
QuiltProperty
QuiltCatalog

This implies the need for a QuiltLocalRegistry tied to a specific local path, which is (to first order) a list of QuiltPackage objects.
What is the relationship?
QuiltLocalRegistry.createPackage(QuiltID)
OR
QuiltID.package(QuiltLocalRegistry)
OR
pkg = QuiltPackage(QuiltID)
Maybe we should call it the QuiltContext, and use it as the factory.
qc = QuiltContext(localPath)
qid = qc.put(uri_string)
qpkg = qc.get(qid.package()) =>double-dispatch into  pkg.get(qc)
pkg_list = qc.ilst()

Python does not have type-based method overloading, though, so maybe it needs to be specific.

Design Principles:

QuiltID should be a passive, immutable object that is used as an argument.
Local objects should be created relative to a specific context (cache? registry? local?)

qid = QuiltID(TEST_URL)
local = QuiltContext(localPath)
pkg = local.getPackage(qid)

OR is that too specific to my use case?
Should packages be abstract, and it is only a convention that they be stored locally?
Is that my problem for this API?


Crashing with duplicate key error

having an issue with GA crashing anytime its opened Playnite crashes immediately if opened by the side/top bar buttons or if opened from the extensions submenu will load the window and not crash but display an error that says "Failed to execute menu action. An item with the same key has already been added."
happens across multiple themes and with all other extensions disabled.
the error seems to be about using a dictionary and trying to create the same key multiple times
logs.zip

Can you try this version?
playnite-gameactivity-plugin_2_7_1.zip

Fixed the issue! 👍


HLine Dragged Event unexpected behaviour

Hi!
I try to use a draggable HLine, but it seems the Dragged event also fires when I just move the mouse over the Plot.
Is this a bug, or I miss something?
Thanks!
using ScottPlot.Plottable;
using System;
using System.Drawing;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        HLine My_hLine;

        public Form1()
        {
            InitializeComponent();

        }

        private void Form1_Load(object sender, EventArgs e)
        {
            My_hLine = formsPlot1.Plot.AddHorizontalLine(0, color: Color.Blue, width: 2);
            My_hLine.DragEnabled = true;
            My_hLine.Dragged += HLine_Dragged;
            formsPlot1.Render();
        }

        private void HLine_Dragged(object sender, EventArgs e)
        {
            MessageBox.Show($"{My_hLine.Y}");
        }
    }
}

System Details

ScottPlot Version: 4.1.57
Operating System: Windows 10
Application Type: WinForms
.NET Version: NET Framework 4.8

Hi @bukkideme, you were really close! Try this instead
public partial class Form1 : Form
{
    ScottPlot.Plottable.HLine My_hLine;

    public Form1()
    {
        InitializeComponent();

        My_hLine = formsPlot1.Plot.AddHorizontalLine(0, color: Color.Blue, width: 2);
        My_hLine.DragEnabled = true;
        formsPlot1.PlottableDragged += FormsPlot1_PlottableDragged;
        formsPlot1.PlottableDropped += FormsPlot1_PlottableDropped;
        formsPlot1.Refresh();
    }

    private void FormsPlot1_PlottableDragged(object sender, EventArgs e)
    {
        Text = $"Dragged {My_hLine.Y}";
    }

    private void FormsPlot1_PlottableDropped(object sender, EventArgs e)
    {
        Text = $"Dropped {My_hLine.Y}";
    }
}

Hi @swharden !
So it means, we should not use the Events connected directly for the object, like the VLine or HLine? We can consider such usage as obsolate?
Well, I can get the plottable object via the "sender" parameter when I use the EventHandler PlottableDragged/Dropped, so I am fine with this.
Thanks very much!

So it means, we should not use the Events connected directly for the object, like the VLine or HLine? We can consider such usage as obsolete?

It's technically okay to interact with the plottable's Dragged event, but keep in mind that it will fire any time the line is moved, and it is unaware when the line is dropped.

Well, I can get the plottable object via the "sender" parameter when I use the EventHandler PlottableDragged/Dropped, so I am fine with this.

Good catch! Yeah, the sender is the item that was dragged or dropped. This is ideal for situations where there are multiple things which could be dragged or dropped 👍


Project introspection idea

I'm going to share the idea that I had, which I didn't implement yet.
I want to have a very extensible tool, and I don't want to rely on static layouts. People may disagree with small things, and change their project structure, which would cause "naive" tools to fail. What I thought is to identify what I call "entities" in a project, and each entity has a metadata - and new custom entities can be created.
Let's go to an example. Assume we have the following project layout:
bootstrap/
├── app/
│   ├── __init.py__
│   ├── main.py
│   ├── config.py
│   └── database.py
└── Dockerfile

We would infer the entities on the project, and save it in a cache locally. Some entities I can see:
Entity: Application
Metadata: location (main.py), package (FastAPI/Starlette), middlewares
Entity: Configuration
Metadata: location (config.py), kind (BaseSettings, Starlette.config)
Entity: Database
Metadata: location database.py, kind (PostgreSQL, SQLite), package (SQLAlchemy, other)

Metadata can be more precise to make it easier to add plugins around it.
Then, if we have a Sentry plugin, it would interact with the Application entity, and include a middleware to the middleware metadata.
Another example, the alembic plugin, it would interact with the Database entity, and the entity that is in charge of startup command (?).

This is food for thoughts.

Presets. The tool itself can be generic and not opinionated. The presets it includes can vary from three file project to a full stack one.
Can you give more examples, may be in pseudo code about the introspection? I am not sure I completely understand how you see it working.

I can try.
Assume the following application:
# main.py

from fastapi import FastAPI

app = FastAPI()

We'd have to build the metadata about this project, using an AST/CST package, in a way that we can make it extensible for plugins to be attached.

The above app has the following CST
Module(
    body=[
        SimpleStatementLine(
            body=[
                ImportFrom(
                    module=Name(
                        value='fastapi',
                        lpar=[],
                        rpar=[],
                    ),
                    names=[
                        ImportAlias(
                            name=Name(
                                value='FastAPI',
                                lpar=[],
                                rpar=[],
                            ),
                            asname=None,
                            comma=MaybeSentinel.DEFAULT,
                        ),
                    ],
                    relative=[],
                    lpar=None,
                    rpar=None,
                    semicolon=MaybeSentinel.DEFAULT,
                    whitespace_after_from=SimpleWhitespace(
                        value=' ',
                    ),
                    whitespace_before_import=SimpleWhitespace(
                        value=' ',
                    ),
                    whitespace_after_import=SimpleWhitespace(
                        value=' ',
                    ),
                ),
            ],
            leading_lines=[],
            trailing_whitespace=TrailingWhitespace(
                whitespace=SimpleWhitespace(
                    value='',
                ),
                comment=None,
                newline=Newline(
                    value=None,
                ),
            ),
        ),
        SimpleStatementLine(
            body=[
                Assign(
                    targets=[
                        AssignTarget(
                            target=Name(
                                value='app',
                                lpar=[],
                                rpar=[],
                            ),
                            whitespace_before_equal=SimpleWhitespace(
                                value=' ',
                            ),
                            whitespace_after_equal=SimpleWhitespace(
                                value=' ',
                            ),
                        ),
                    ],
                    value=Call(
                        func=Name(
                            value='FastAPI',
                            lpar=[],
                            rpar=[],
                        ),
                        args=[],
                        lpar=[],
                        rpar=[],
                        whitespace_after_func=SimpleWhitespace(
                            value='',
                        ),
                        whitespace_before_args=SimpleWhitespace(
                            value='',
                        ),
                    ),
                    semicolon=MaybeSentinel.DEFAULT,
                ),
            ],
            leading_lines=[
                EmptyLine(
                    indent=True,
                    whitespace=SimpleWhitespace(
                        value='',
                    ),
                    comment=None,
                    newline=Newline(
                        value=None,
                    ),
                ),
            ],
            trailing_whitespace=TrailingWhitespace(
                whitespace=SimpleWhitespace(
                    value='',
                ),
                comment=None,
                newline=Newline(
                    value=None,
                ),
            ),
        ),
    ],
    header=[
        EmptyLine(
            indent=True,
            whitespace=SimpleWhitespace(
                value='',
            ),
            comment=None,
            newline=Newline(
                value=None,
            ),
        ),
    ],
    footer=[],
    encoding='utf-8',
    default_indent='    ',
    default_newline='\n',
    has_trailing_newline=True,
)

Let's say that we want to include CORSMiddleware via component plugin. For that, the CORSMiddleware plugin needs to be injected in the FastAPI constructor, and we need an easy way to build this.
The way I see it, to build the plugin, would look like this:
from starlette_boot import Context

def cors_middleware_plugin(context: Context) -> None:
    entity: ApplicationEntity = context.get_entity("app")
    entity.add_middleware(CORSMiddleware, params={})
    # context can have methods like `create_file()`, `get_structure()`, `list_entities()`.

The context.get_entity would return an Entity object that would look like:
class ApplicationEntity(Entity):
    path: Path  # main.py
    app_node: Call  # The CST object
    module_node: Module  # The CST object

    def add_middleware(middleware, params):
        # here we need to add the middleware to the `app_node`, and the import to the `module_node`

The node above would be like this:
Call(
   func=Name(
      value='FastAPI',
      lpar=[],
      rpar=[],
   ),
   args=[],
   lpar=[],
   rpar=[],
   whitespace_after_func=SimpleWhitespace(
       value='',
   ),
   whitespace_before_args=SimpleWhitespace(
       value='',
   ),
)

Basically, the entities have an interface to allow them to be extended, and the context holds the information about the project, and both provide an interface to interact with them.

The idea is cool and I see it like that too but I don't see how we can do this. For example adding the middleware. Fast API and Starlette do this differently. Moreover, using Starlette you have two ways to add the middleware - passing to constructor or via middleware variable.
These issues are gone when:

Fast API and Starlette transformers are separate
There is a well know project layout so the tool knows where too look for the files.

I also played with the entities idea and failed to implement it. I found that providing a low level utilities is more flexible and extendable.
context.apply_codemod('myproject.middleware', [AddMiddlewareCodemod('starlette.middleware.SessionMiddleware')])

However, this also fails quickly if your mw needs parameters or other preconditions.
So my working idea is that each component provides a codemod for own needs.
Or do you have something in your mind?

Probably, we would make the tool as a very generic on without anything prebuilt. Instead, project scaffolds and component should be fully remote, much like cookiecutter does.
starlette new kludex/scaffold
starlette new alex.oleshkevich/scaffold

Will make two projects but using different structure and deps.

The project preset is a list of components to install. And the component is a feature itself (scaffold, database add-on, etc).

The component can be like this

An optional template for cookiecutter
compoment.py module

The component module has Component class where we do keep generator logic.
Plus, for fastapi there could be another base class specific to it. Not compatible with Starlette.
In Context we can provide a list of project deps so you can infer which framework the project uses.


Override domain name in dhclient

This is to configure dhclient.conf to override domain-name from dhcp server.

please test this

please test this


Support setting environment variables.

This is a simple patch to support linters setting environment variables in the spawned process.  Since the default is to merge global.process.env with an empty object, linters that do not opt in to this should be unaffected.
More context for this pull request can be found at:

AtomLinter/linter-haml#2
causes/haml-lint#66

This should probably be fixed by #282 instead. Especially if we're asking linters to add in hacks just for us :anguished:
Do you think #282 is the right fix for this?

Any news @jschroeder9000 ?


Directives are broken

They don't work even when using as created without a function or variables or anything it always get Argument 'fn' is not a function, got Object

Hi @flick36
Thanks for reporting the bug.
Directives need to return a function rather than an object
I will fix and bump the generators

Available in generators 2.4.2
You can update by running composer update laravelangular/generators

Thanks!


Detect Docker robustly

&> /dev/null works as a redirection from stdout and stderr to /dev/null in Bash but not in POSIX shell (considered as an asynchronous execution and the result of the command command cannot be retrieved).
As a result, it always assumes that Docker always exists.
This commit makes the redirection robust and portable (uses >/dev/null 2>&1 instead, makes it possible to detect "no Docker" condition correctly).
I didn't meant to do that but it seems this commit also appends a new line character to Makefile's EOF.

Important Note
Whether &> /dev/null works as a redirection from stdout and stderr to /dev/null depends on the /bin/sh installed on the system.
Quick Test
Makefile
all:
	./sample.sh &> /dev/null; echo $$?
.PHONY: all

sample.sh
#! /bin/sh
sleep 10
echo TO_STDOUT
echo TO_STDERR 1>&2
exit 1

Test Results
Fedora 38, CentOS and many Red Hat-based Linux distributions
/bin/sh is Bash.
&> /dev/null works as a redirection as the developer intended.  Running make prints 1 after ten seconds.
Ubuntu 23.04 and many Debian-based Linux distributions
/bin/sh is Dash (Debian Almquist shell), a lightweight shell interpreter which conforms to POSIX and implements a very few extensions (compared to Bash or Zsh).
&> /dev/null does not work as intended.  Running make prints 0 immediately and TO_STDOUT and TO_STDERR (both should be redirected) are printed to the console after ten seconds (and even after make exits!).


Update README.md

Corrects docs for https://github.com/Enough-Software/enough_platform_widgets/pull/9

Thanks, mate!


fix: deploy error on not supplying s3 bucket

Issue #, if available:
Description of changes:
Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

deploy smoke tests failed because with this change you have allowed package to run before deploy. Now package is trying to access creds and fails.
We need to think more deeply about the back-compat story of always running package before deploy. I think it is complicated.


The picture noise

Hello,
Nowadays, I am carying out superresolution tests with different digital cameras with various sensor sizes (and aspect ratios), in indoor conditions. Most obvious finding is, using a bigger sensor camera in low res setting results with minimal noise and small-sensor cameras (point-shoot types) are producing ridiculous amounts of noise despite longer exposures and well lit conditions. Unfortunately, I realized that all this noise is included in superres. images, naturally. And this is killing the clarity of high-res image, stealing from the purpose of sres.
One solution may be applying image denoising prior to sres (available in openCV), this can be integrated as a command line option I believe.
But what else can be done? I am considering training noise-free Hires dataset, along with a Lores set with gaussian-noise introduced before/after bicubic downscale, do you think may it help any? Or can software tweaked to further help with this specific dataset?
Regards,

Hi, @ontheway16
do you try first solution, denoising prior to sres (available in openCV)
is it work in this case?

Hi @suke27
In fact I did, and it helped very little. What's obvious is, if you can detect it (noise is visible), then sres algo can also see and enlarge it. I think pre denoising may be helpful only if noise amount is so little and become practically invisible after denoising treatment. Otherwise, noise is a big problem. I wish it could be possible to generate noise free results from small noisy images, allowing partly regeneration of output. May work with visually very similar (limited) image sets.

what kind of noises are you referring to? Do you have an example or something?


tsconfig-paths contains json5 vulnerability

I am seeing this with our team
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>

for this vulnerability, https://github.com/advisories/GHSA-8cf7-32gw-wr33
now tsconfig-paths has a fix coming out, but there PR is for there major version 4.x (https://github.com/dividab/tsconfig-paths/pull/2320) while i noticed, the eslint-plugin-import library only allows "tsconfig-paths": "^3.14.1" which if i remember correctly, will not pull up the version 4.
is there anything that can be done?

json5 v1.0.2 has already been updated with this fix, and either way, it's not a valid vulnerability.
As is the case with almost every JS CVE, the best course of action is to do nothing until the ecosystem fixes it for you.
This is a duplicate of #2625; a duplicate of #2628; a duplicate of #2626; a duplicate of #2627.

Thanks for the reply, but can you explain what you mean by ecosystem? What do u mean by that fixing it for us?
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jordan Harband @.>
Sent: Saturday, December 31, 2022 1:08:57 AM
To: import-js/eslint-plugin-import @.>
Cc: Tanner Summers @.>; Author @.>
Subject: Re: [import-js/eslint-plugin-import] tsconfig-paths contains json5 vulnerability (Issue #2631)
json5 v1.0.2 has already been updated with this fix, and either way, it's not a valid vulnerability.
As is the case with almost every JS CVE, the best course of action is to do nothing until the ecosystem fixes it for you.
This is a duplicate of #2625https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2625&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8GeEPdaupkXFLmOwENFk%2BnNPsEYiS3evHSS2ppF0m0I%3D&reserved=0; a duplicate of #2628https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2628&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wLx5tYmlYafz%2BMorCq5gZUFw2foQ45nh7kI2ulf6wsI%3D&reserved=0; a duplicate of #2626https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2626&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=LMQvOLhJCv%2Bj4xGlJ7JH8CJvyDlmjXA%2FK0Yo3Eitn44%3D&reserved=0; a duplicate of #2627https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2627&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KDdh2biCQglehQ7lh3FjDIm3ZgMSCent7JJVdxXufUQ%3D&reserved=0.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2631%23issuecomment-1368176477&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=dvuHdT2xyPqrlIbPQktwaNThvbU8NKHWL4XBLTeSJH8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACDUUD4ROMPXDOBE6ZZQ6L3WP7LYTANCNFSM6AAAAAATNMWIJE&data=05|01||2d5998fc9a9640be2c2408daeafde30f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080673400965137|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=79JS4ZL0IrzwPqr2p1SklTrp1lXusjFlW5KKHuJQils%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

I mean that the vulnerability is in the json5 package. tsconfig-paths happens to depend on that, and eslint-plugin-import happens to depend on tsconfig-paths.
The best place for the fix is the vulnerable package itself - luckily, the json5 maintainers published a fix on both the v1 and v2 lines. That means that there's nothing anybody has to do except update their lockfiles - no intermediate maintainers need to release updates, or need issues filed, etc.

Ah ok I understand,
Eslint-plugin-import uses version 3 of tsconfig-paths, which that uses jsin5 version 1
Where they pushed a fix into tsconfig-paths version 4, which uses json5 version 2
So two ways of solving is, update Eslint-plugin-import to version 4 of tsconfig-paths which has the fixed version of Jason 5
Or the better solution
Json5 should have the fixed (ported?/added?) To version 1, and in that case, eslint-plugin-import nor tsconfig-paths has to do anything at all
Sound about correct?
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jordan Harband @.>
Sent: Saturday, December 31, 2022 1:36:18 AM
To: import-js/eslint-plugin-import @.>
Cc: Tanner Summers @.>; Author @.>
Subject: Re: [import-js/eslint-plugin-import] tsconfig-paths contains json5 vulnerability (Issue #2631)
I mean that the vulnerability is in the json5 package. tsconfig-paths happens to depend on that, and eslint-plugin-import happens to depend on tsconfig-paths.
The best place for the fix is the vulnerable package itself - luckily, the json5 maintainers published a fix on both the v1 and v2 lines. That means that there's nothing anybody has to do except update their lockfiles - no intermediate maintainers need to release updates, or need issues filed, etc.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2631%23issuecomment-1368179153&data=05|01||a747440fcb4e4c637e7608daeb01b550|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080689819988241|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wjLH79BlI7G037tZqj8s4jakKOCXHDaeL6iknRTtZqY%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACDUUD3QDU7VAD62D4UGMSTWP7O7FANCNFSM6AAAAAATNMWIJE&data=05|01||a747440fcb4e4c637e7608daeb01b550|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080689819988241|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0ddwSf%2FNT9ZazF00SjNFmJvOSg0mgc5mKvCKW53akVo%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Yes, exactly - and json5 v1.0.2 is that fixed version, it's just that the audit warning hasn't been updated to reflect that yet.

Ah that makes sense! Thanks for helping me learn this.
Do you happen to know what or how long it takes for the audit message to be fixed? Does nom control that?
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jordan Harband @.>
Sent: Saturday, December 31, 2022 1:46:00 AM
To: import-js/eslint-plugin-import @.>
Cc: Tanner Summers @.>; Author @.>
Subject: Re: [import-js/eslint-plugin-import] tsconfig-paths contains json5 vulnerability (Issue #2631)
Yes, exactly - and json5 v1.0.2 is that fixed version, it's just that the audit warning hasn't been updated to reflect that yet.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2631%23issuecomment-1368180128&data=05|01||a642127009d849b8827408daeb030f8f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080695617933915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PeVQHay4KDNyYa2CdXjO8Sspu6BMRvGpjnfYg1UZPSk%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACDUUDZCCY3DOIQ4ANRESQ3WP7QDRANCNFSM6AAAAAATNMWIJE&data=05|01||a642127009d849b8827408daeb030f8f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080695617933915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8%2BJFnL1x%2BEDxAKCEWE%2BsFfWBBFsCBQe8giHPsfLSDWU%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

github/npm controls that. GIven that it's a holiday week, it probably won't happen until Monday.

Good stuff! Thanks for the lesson man
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jordan Harband @.>
Sent: Saturday, December 31, 2022 2:02:02 AM
To: import-js/eslint-plugin-import @.>
Cc: Tanner Summers @.>; Author @.>
Subject: Re: [import-js/eslint-plugin-import] tsconfig-paths contains json5 vulnerability (Issue #2631)
github/npm controls that. GIven that it's a holiday week, it probably won't happen until Monday.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimport-js%2Feslint-plugin-import%2Fissues%2F2631%23issuecomment-1368181751&data=05|01||f0e87d0015464ee3ed3208daeb054d6d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080705254625979|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=uCVQ1lLr%2BBtogVpAwjMSBxQk2B55P6rHoO0qhQ7jmvo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACDUUD4NLIUDKJB65UAOHWLWP7R7VANCNFSM6AAAAAATNMWIJE&data=05|01||f0e87d0015464ee3ed3208daeb054d6d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638080705254625979|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0CdTyl9F0PYsGiSyoBkXu78kJyL8wgGn0coqzIvl%2FE8%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


Support team access

For team access I think it will be a nicer experience for the user to use the team name instead of the team ID. This should be okay because each workspace supports one team access per team. The tfe_team_access requires a team ID, so we can add tfe_team data blocks to our plan for each team which allows reference to the team ID.
Usage
team_access: |-
  - team_name: Platform
    access: write
  - team_name: Backend
    permissions:
        runs: apply
        variables: write
        state_versions: read
        sentinel_mocks: none
        workspace_locking: true
  - team_name: ${data.terraform_remote_state.teams.outputs["read_only"].name}
    access: read
remote_state: |-
  teams:
    backend: remote
    config:
      hostname: app.terraform.io
      organization: ryanwholey
      workspaces:
        name: teams

@bendrucker bump on this guy!
I have a PR branching off this one that adds tf validate tests for the workspace config. Caught some good bugs :)

Good comments, I'll follow up with them on the next PR 🙏


Application fails to build with GLFW3 on Ubuntu 16.04

Hello!
My application which includes GLFW3 dependency fails to build with the following include path error:
fatal error: glfw3.h: No such file or directory
After changing glfw-3.2.1/src/CMakeLists.txt:

target_include_directories(glfw PUBLIC
                           $<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include/GLFW>
                           $<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/>)

the issue seems to dissapear. I'm building GLFW from source as part of my cmake build.  It also seems that after I change this line in the CMakeLists.txt the standalone GLFW3 build is not working anymore. I seem to be missing something during including the GLFW3 build in the top level lists.
Cheers!

Ok, I'm officially going crazy. This is not an issue, the tutorial clearly states that glfw3.h is included as GLFW/glfw3.h


Question: Are [Suggestions] supported?

Apologies for raising an issue to ask a question, but I've spent a lot of time on this and I've been able to get everything else I need working with the exception of suggestions. If there is some documentation I've somehow missed, please point me towards it.
I became aware of Suggestions due to autocomplete in composer. It shows as [Suggestions] with a SuggestedActions property/attribute.
I raised a question on StackOverflow yesterday where I explain the situation.
I am trying to return a suggestion to a user as a CardAction. I define a function called urlCard as so:
# urlCard(title, value)
[CardAction
    Type = openUrl
    Title = ${title}
    Value = ${value}
]

When I try to use this action, like this:
[Suggestions
      SuggestionActions = ${urlCard( 'Google', 'https://google.com/' )}
    ]

Everything validates fine, but I get JSON rendered in the Bot Framework Emulator:

Would appreciate any pointers.

# urlCard(title, value)
[CardAction
    Type = openUrl
    Title = ${title}
    Value = ${value}
]

# activityWithSuggestionActions(title, text)
[Activity
    Text = what do you like
    SuggestedActions = firstItem | ${urlCard(title, text)}
]


Dependency of Bootstrap ?

Apologies, it's a question not an issue but can't see in the docs.
Does Laravel FileManager require Bootstrap /or any CSS framework/ ?

If you are integrating this package with CKEditor or TinyMCE, then it does not require any framework. But if you are stand-alone button, Bootstrap is required to make the button look better like this.


update README.zh-CN.md

the doc is missing the function which to get the day of week dayjs().day()

Codecov Report

Merging #156 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #156   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines         258    258
  Branches       46     46
=====================================
  Hits          258    258

Continue to review full report at Codecov.

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

THX

:tada: This PR is included in version 1.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Extension causes high cpu load

Issue Type: Performance
Extension Name: csharp
Extension Version: 1.17.1
OS Version: Linux x64 4.15.0-45-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/bryan/ms-vscode.csharp-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

@bryanzavala Can you try upgrading to the latest mono version as suggested here and checking if the problem still persists.
Also, we have a beta release containing major improvements on the code load times. You can install it by following the instructions here. Please let us know if that helps.

@bryanzavala We haven't heard back from you in a while so I will close this issue now. Please feel free to reopen if the problem still persists with the latest version(1.18.0).


Add Faculdade Senac Pernambuco

Students domain: @fac.pe.senac.br
Its website: https://faculdadesenacpe.edu.br/
IT course link: https://faculdadesenacpe.edu.br/graduacao/analise-e-desenvolvimento-de-sistemas/

@Glysonn lib/domains/br/senac/pe/fac: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Excessive permissions?

This add-on requires a lot of permissions that don't seem obviously needed.
Could you either scale back to something more reasonable, or but an explainer of why you need this much?

I support this. This excessive amount of permissions scares users away

As far as I understand (note this is forked from the Chrome extension). These permissions are necessary to support all the actions this extension provides.
I hve not had a chance to look into validating each and every permission against the actions.
Feel free to submit a PR / Go through the process.

I just posted some docs about the permissions required to the upstream (Chrome) repo. See https://github.com/mikecrittenden/chrome-shortkeys/wiki/FAQs-and-Troubleshooting#why-are-all-these-permissions-required

I'm closing this, since there is not activity here.


Please make a hackage release

Hi!
This library compiles and works well on LTS-11.14 (with ghc-8.2) when using version from Github. However, last release on Hackage does not compile, since it does not have latest commits with cabal file updates.
Could you please make a new Hackage release with the state of current master? We are using bson-generic at @biocad and we'd like to see it on Hackage.

Sorry, fixed.


CLI

This PR introduces a standard CLI which could be used in most situations. The CLI currently consists only out of the run command but could be extended in the future.

I know that we are not using such structure in our private repos but will be better to use in Open Source project :)


Update README.md

Adds info for running the server elsewhere (in line with the axum example)

Thanks!


Fix polarion report pruning and add or fix arguments

Change testrun-title to title and fix incorrect usage as id
Add arguments for planned-in, assignee, pool-team, arch, platform, build and sample-image custom fields
Don't prune xunit file
fixes #1910

Hi, Thanks for fixing this!
I got this in my test out:
    report
    workdir: /var/tmp/tmt/run-005/plans/local/report
        how: polarion
    finish
    workdir: /var/tmp/tmt/run-005/plans/local/finish
        Doing nothing to stop guest 'localhost'.
        Doing nothing to remove guest 'localhost'.
        summary: 0 tasks completed
Traceback (most recent call last):
  File "/usr/bin/tmt", line 62, in <module>
    tmt.cli.main()
  File "/usr/lib/python3.6/site-packages/click/core.py", line 721, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.6/site-packages/click/core.py", line 1092, in invoke
    return _process_result(rv)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 1030, in _process_result
    **ctx.params)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/tmt/cli.py", line 357, in finito
    click_context.obj.run.go()
  File "/usr/lib/python3.6/site-packages/tmt/base.py", line 2703, in go
    plan.go()
  File "/usr/lib/python3.6/site-packages/tmt/base.py", line 1659, in go
    step.go()
  File "/usr/lib/python3.6/site-packages/tmt/steps/report/__init__.py", line 105, in go
    cast(Union[Action, ReportPlugin], phase).go()
  File "/usr/lib/python3.6/site-packages/tmt/steps/report/polarion.py", line 115, in go
    import_polarion()
  File "/usr/lib/python3.6/site-packages/tmt/export/polarion.py", line 39, in import_polarion
    from pylero.work_item import TestCase as PolarionTestCase
  File "/usr/lib/python3.6/site-packages/pylero/work_item.py", line 1582, in <module>
    vals = bp.get_valid_field_values("workitem-type")
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 1046, in get_valid_field_values
    project_id = getattr(self, "project_id", None) or self.default_project
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 30, in __get__
    return classmethod(self.fget).__get__(instance, cls)()
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 311, in default_project
    cls.session
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 30, in __get__
    return classmethod(self.fget).__get__(instance, cls)()
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 298, in session
    BasePolarion._session = Connection.session()
  File "/usr/lib/python3.6/site-packages/pylero/base_polarion.py", line 177, in session
    cls.session._login()
  File "/usr/lib/python3.6/site-packages/pylero/session.py", line 138, in _login
    id_element = sc.last_received().childAtPath("Envelope/Header/sessionID")
  File "/usr/lib/python3.6/site-packages/pylero/session.py", line 234, in __getattr__
    return getattr(self._suds_client, attr)
AttributeError: 'Client' object has no attribute 'last_received'

No report xunit.xml generated.
# ls /var/tmp/tmt/run-005/plans/local/report
default-0  step.yaml
# ls /var/tmp/tmt/run-005/plans/local/report/default-0/
# ls
plans  stories  tools
# cat plans/local.fmf
......snipped......
execute:
    how: tmt
    framework: shell
report:
    how: polarion
    file: xunit.xml
    project-id: XXXXL
    title: local debug plan
    upload: False
#
# rpm -qa | grep tmt
tmt-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-provision-container-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-report-polarion-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-provision-virtual-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
python3-tmt-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-report-reportportal-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-all-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-report-html-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-report-junit-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch
tmt-test-convert-1.22.dev-1.20230323110924174542.pr1937.50.g5b66d3d.el8.noarch

@jencce Haven't hit this one yet so not sure what is the cause (I tried multiple ways to fail). Please make sure you are using the latest (0.0.8) pylero and either a machine account or your own user with personal access token (upload won't work with token authentication).

@jencce Haven't hit this one yet so not sure what is the cause (I tried multiple ways to fail). Please make sure you are using the latest (0.0.8) pylero and either a machine account or your own user with personal access token (upload won't work with token authentication).

It is 0.0.8 pylero.
With machine account I got this message. With personal account, says my passwd is invalid. Polarion is authenticated via SSO, personal account can't even login.
However I put upload to False, why login with pylero is still needed?

Password is no longer working for personal accounts (for the past couple weeks), you have to use personal access token.
Login to polarion is needed to get info about the cases that you executed, so it's expected that they can be matched, meaning have an id in fmf file and have the same id in relevant polarion case.
However this is failing on import of TestCase class from pylero, which means login issue, it didn't even get to matching the test cases. With machine account it should have no problem as long as you have user and password in the config file or env vars.
maybe @leelavg from pylero project can help here?

Password is no longer working for personal accounts (for the past couple weeks), you have to use personal access token. Login to polarion is needed to get info about the cases that you executed, so it's expected that they can be matched, meaning have an id in fmf file and have the same id in relevant polarion case. However this is failing on import of TestCase class from pylero, which means login issue, it didn't even get to matching the test cases. With machine account it should have no problem as long as you have user and password in the config file or env vars.
maybe @leelavg from pylero project can help here?

Got it. Thanks for the info!
Turns out I missed some dependencies in pip and need to restart pipenv.
I got the xunit file generated but no title, planned-in, and sst name in the xunit.xml.
tail of xunit.xml:
<properties>
<property name="polarion-project-id" value="RHELKERNEL" />
<property name="polarion-user-id" value="kernel_machine" />
<property name="polarion-testrun-id" value="local20230324085407" />
<property name="polarion-project-span-ids" value="RHELKERNEL" />
</properties></testsuites>

part of plan.fmf:
report:
    how: polarion
    file: xunit.xml
    project-id: RHELKERNEL
    title: local debug plan
    planned-in: fedora-32
    pool-team: alpha
    upload: False

From that output I see you don't have this PR with locally built tmt, but rather just using tmt from repos as this PR is not yet merged the code is not there yet :)
you should be able to clone this repo, checkout polarion_report_fixes branch and run sudo ./setup.py install in tmt base folder, that should add the tmt from sources as primary tmt, after that you can try this out
we are actually waiting with the merge for your approval or any additional requests (on this topic), I added more arguments than you requested because those will be useful for my project so I might as well add others if they would be required

@jencce Actually I just noticed you have the packages as per Lukas's comment, maybe you have more versions of tmt locally? Because this clearly looks like a clean tmt without this patch...you can of course install from git repo as well.

@leelavg The error with last_received is fixed with upstream suds, but with RHEL8 still on suds-jurko which have removed that function which I have requested backport with:
https://bugzilla.redhat.com/show_bug.cgi?id=2106152
@jencce @KwisatzHaderach due to the python-suds bug, the pylero package installed with yum using the python-suds (suds-jurko) on EL8 will have the issue, while it works with pip install pylero from upstream release.

From that output I see you don't have this PR with locally built tmt, but rather just using tmt from repos as this PR is not yet merged the code is not there yet :)
you should be able to clone this repo, checkout polarion_report_fixes branch and run sudo ./setup.py install in tmt base folder, that should add the tmt from sources as primary tmt, after that you can try this out
we are actually waiting with the merge for your approval or any additional requests (on this topic), I added more arguments than you requested because those will be useful for my project so I might as well add others if they would be required

Like your later comment, I did installed packages with the patch. For a clear test env, I run those tests in a scratch new provison EL8. I'll check again the next week with installing from git repo, and check what's other needs per Polarion testrun's requirements.
Thanks very much for all the effort! I really appreciate it!

Seems I got pinged here, didn't went through all the conversation

The error  last_received caught my attention, suds dep had this issue and @waynesun09 got this fixed upstream

Maybe some incorrect suds version was installed in your env, could you pls mention your machine info /etc/system-release-cpe?

Pls expect a delayed response.

# cat /etc/system-release-cpe
cpe:/o:redhat:enterprise_linux:8::baseos

Thanks for looking into it! I'll try to install pylero from upstream.

From that output I see you don't have this PR with locally built tmt, but rather just using tmt from repos as this PR is not yet merged the code is not there yet :)
you should be able to clone this repo, checkout polarion_report_fixes branch and run sudo ./setup.py install in tmt base folder, that should add the tmt from sources as primary tmt, after that you can try this out
we are actually waiting with the merge for your approval or any additional requests (on this topic), I added more arguments than you requested because those will be useful for my project so I might as well add others if they would be required

Like your later comment, I did installed packages with the patch. For a clear test env, I run those tests in a scratch new provison EL8. I'll check again the next week with installing from git repo, and check what's other needs per Polarion testrun's requirements.
Thanks very much for all the effort! I really appreciate it!
Install from repo , python3 ./setup.py install hits error:

Processing rpds_py-0.7.1.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-rqv823ep/rpds_py-0.7.1.tar.gz
[root@hp-dl388g8-20 tmt]# git branch -vv
  main 0e9014d [origin/main] Run `chcon` only if SELinux fs supported
* pol  5b66d3d [origin/polarion_report_fixes] Fix polarion report pruning and add or fix arguments
[root@hp-dl388g8-20 tmt]#

Seems I got pinged here, didn't went through all the conversation

The error  last_received caught my attention, suds dep had this issue and @waynesun09 got this fixed upstream
Maybe some incorrect suds version was installed in your env, could you pls mention your machine info /etc/system-release-cpe?

Pls expect a delayed response.

# cat /etc/system-release-cpe
cpe:/o:redhat:enterprise_linux:8::baseos

Thanks for looking into it! I'll try to install pylero from upstream.

Failed to install from pylero repo:
[root@hp-dl388g8-20 pylero]# git branch
* main
[root@hp-dl388g8-20 pylero]# git remote
origin
[root@hp-dl388g8-20 pylero]# pip3 install .
Traceback (most recent call last):
  File "/usr/bin/pip3", line 7, in <module>
    from pip import main
  File "/usr/lib/python3.6/site-packages/pip/__init__.py", line 42, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 27, in <module>
    from pip._vendor import pkg_resources
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3018, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3004, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3046, in _initialize_master_working_set
    dist.activate(replace=False)
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2578, in activate
    declare_namespace(pkg)
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2152, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2092, in _handle_ns
    _rebuild_mod_path(path, packageName, module)
  File "/usr/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2121, in _rebuild_mod_path
    orig_path.sort(key=position_in_sys_path)
AttributeError: '_NamespacePath' object has no attribute 'sort'
[root@hp-dl388g8-20 pylero]#

After checking, except fields in the description, we also need custom fields: "composeid"  and "logs". Thanks!

From that output I see you don't have this PR with locally built tmt, but rather just using tmt from repos as this PR is not yet merged the code is not there yet :)
you should be able to clone this repo, checkout polarion_report_fixes branch and run sudo ./setup.py install in tmt base folder, that should add the tmt from sources as primary tmt, after that you can try this out
we are actually waiting with the merge for your approval or any additional requests (on this topic), I added more arguments than you requested because those will be useful for my project so I might as well add others if they would be required

Like your later comment, I did installed packages with the patch. For a clear test env, I run those tests in a scratch new provison EL8. I'll check again the next week with installing from git repo, and check what's other needs per Polarion testrun's requirements.
Thanks very much for all the effort! I really appreciate it!
Install from repo , python3 ./setup.py install hits error:

Processing rpds_py-0.7.1.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-rqv823ep/rpds_py-0.7.1.tar.gz
[root@hp-dl388g8-20 tmt]# git branch -vv
  main 0e9014d [origin/main] Run `chcon` only if SELinux fs supported
* pol  5b66d3d [origin/polarion_report_fixes] Fix polarion report pruning and add or fix arguments
[root@hp-dl388g8-20 tmt]#

This is gone after using python-3.9

anything required from pylero side? or else I'll be unsubscribing from this issue.

anything required from pylero side? or else I'll be unsubscribing from this issue.

There is no error after installed upstream pylero. I guess you're safe to unsubscribe. Sorry for all the noise I made. :)

By installing from the branch origin/polarion_report_fixes, all intended fields are generated. With some modification it can be submitted to polarion.
Thanks very much!  Sorry for the late.
A tip, to install tmt from source repo, this is needed first:
pip3.9 install junit_xml

Right, yeah I tried with RHEL8 yesterday and just gave up when I realised it will not work with packaged pylero/suds for python 3.6. Thanks for testing it, what modifications are you making? it should be uploadable to polarion without any changes...at least to the 2 projects I tried.
For adding composeid and logs, sure, I'll add it.


Long chat message breaks div

When the user types a long message. It simply breaks⚡ down the div and the user cant see the outside part of a message.

🔨Fixes:

can be fixed with minor CSS changes🧨

But if you guys planning to change Chat UI/UX then we can wait and can be implemented in the new Design.

Hi @Vishv07, First of all, thank you so much for taking out the time to create this issue🚀
Great 💯. I was unaware of that Issue.
As of now, we don't have any plan for changing the UI of the Chat much.
So I think we can work on this issue.
Please let me know if you wish to work on the same.

#33 Opend

@Vishv07 Great 🚀
I am assigning this issue to you 👍


New version: OpenGMK.GM8Decompiler.MSVC version 2.2.0

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 729.)

Manual Validation ended with:

12:07:42 PM:
2024-02-13 12:07:40.597 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-x86_64-pc-windows-msvc.zip Result: 0x80004005

(Automated response - build 732.)

Manual Validation ended with:

12:07:42 PM:
2024-02-13 12:07:40.597 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-x86_64-pc-windows-msvc.zip Result: 0x80004005

(Automated response - build 732.)

Hi @SpecterShell,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 732.)

@wingetbot run

Hi @SpecterShell,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 748.)

[Policy] Needs-Attention
[Policy] Validation-Defender-Error

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-15 10:21:49.441 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-x86_64-pc-windows-msvc.zip Result: 0x80004005 MSI (s) (8C:14) [10:21:39:176]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.38.33135. Product Version: 14.38.33135. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (8C:10) [10:21:40:005]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Additional Runtime - 14.38.33135. Product Version: 14.38.33135. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. [1EF8:1654][2024-02-15T10:21:37]w363: Could not create system restore point, error: 0x80070422. Continuing... 2024-02-15 10:21:24.674 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-i686-pc-windows-msvc.zip Result: 0x80004005 MSI (s) (BC:14) [10:21:11:132]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (BC:78) [10:21:11:898]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Additional Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. [1DE8:1DAC][2024-02-15T10:21:09]w363: Could not create system restore point, error: 0x80070422. Continuing...

(Automated response - build 748.)

@wingetbot run

Hi @SpecterShell,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 788.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-19 13:20:38.392 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 13:20:43.562 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-i686-pc-windows-msvc.zip Result: 0x80004005 2024-02-19 13:20:43.562 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6 MSI (s) (E4:D8) [13:20:30:728]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (E4:E4) [13:20:31:822]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Additional Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. [15B0:174C][2024-02-19T13:20:28]w363: Could not create system restore point, error: 0x80070422. Continuing...

(Automated response - build 788.)

@wingetbot run

Hi @SpecterShell,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 812.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-21 12:40:47.049 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-x86_64-pc-windows-msvc.zip Result: 0x80004005 2024-02-21 12:40:47.049 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6 MSI (s) (70:24) [12:40:35:831]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.38.33135. Product Version: 14.38.33135. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (70:C0) [12:40:36:941]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X64 Additional Runtime - 14.38.33135. Product Version: 14.38.33135. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. [10EC:1D28][2024-02-21T12:40:33]w363: Could not create system restore point, error: 0x80070422. Continuing... 2024-02-21 12:39:48.604 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-21 12:39:53.210 [FAIL] Installer failed security check. Url: https://github.com/OpenGMK/GM8Decompiler/releases/download/v2.2.0/gm8decompiler-v2.2.0-i686-pc-windows-msvc.zip Result: 0x80004005 2024-02-21 12:39:53.210 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6 MSI (s) (A8:98) [12:39:41:801]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. MSI (s) (A8:0C) [12:39:42:691]: Windows Installer installed the product. Product Name: Microsoft Visual C++ 2022 X86 Additional Runtime - 14.38.33130. Product Version: 14.38.33130. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0. [0950:095C][2024-02-21T12:39:39]w363: Could not create system restore point, error: 0x80070422. Continuing...

(Automated response - build 812.)

@wingetbot run