training of maskrcnn not work at all.

Describe the issue
I try to use my own dataset which has the coco format, and use them for training a mask Rcnn model. I followed the step in the Tutorial. I modify the config files, and have my new configuration in a path (configs/human).
Reproduction

What command or script did you run?
i do the same as this tutorial (https://mmdetection.readthedocs.io/en/latest/2_new_data_model.html)
i used the training command ''!python tools/train.py configs/human/mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_person.py''
and i have only one class.

What config dir you run?
i used a new director contains all three main config needs in maskRcnn detector;

Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use? my own small sample of my dataset in coco form.

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
i did it in colab

could it be a problem in mmcv installation? how can i be sure it is like that.

The first error shows your annotation file cannot be decoded. Try to make sure you converted your dataset to coco format correctly.

thank you . i checked my dataset format , and i think it is similar to COCO dataset form. attached an image of my dataset.
i did not use any script to convert my dataset, i produced it as json file from AVI annotator , and do some checkup and changing by hand . then used it for training.
is there any software that can check my dataset format automatically? if so , could you please give me the link of such.
your help will be highly appreciated.

i checked the dataset , and correct the config file , but i still get the same error of
TypeError: init() missing 2 required positional arguments: 'doc' and 'pos'
attached an image, i did not understand what is 'doc' and 'pos' related to ?

TypeError: init() missing 2 required positional arguments: 'doc' and 'pos'  means that your JSON file is still incorrect. Refer to https://docs.python.org/3/library/json.html#json.JSONDecodeError
I'm not sure what caused this, but I found that there is  (1) in your json filename. Try to rename it.

thank you very much , i changed the json file and checked it through some online json file checker, now it is working.
but unfortunately , i face another problem.
attached the image of it

i changed the batch_size to 16 and the num_workers to 0 , as some repository said, but i did not understand and it dose not work either.
i did not find such error in any issue here in mmdetection.  any help . thanks

You can use this script to check whether the dataset can be loaded correctly. https://github.com/open-mmlab/mmdetection/blob/master/tools/misc/browse_dataset.py
And here is a similar issue: #4687

here is the result of check the loading status of my dataset.

is it loaded completely ? it dose not give me any error , but like complete :0 ? what dose that means?
here also my system versions and installation:

I am sorry , i am so new here , so i still need some guides ,
here my configuration file , which i am running as training (with command python tools/train.py configs/'this file as py".)
is there any mistake , something missing here ?

here is the result of check the loading status of my dataset.

is it loaded completely ? it dose not give me any error , but like complete :0 ? what dose that means?
here also my system versions and installation:

Normally, browse_dataset.py will visualize the images and annotations. I think your dataset format is incorrect. No data is loaded.

thank you , i am still wondering . is my way of using  (browse_dataset.py ) correct ?
I put after it the script that contains the configuration of my dataset. (as config.py)
my config.py script contains
Modify dataset related settings
dataset_type = 'CocoDataset'  # Dataset type, this will be used to define the dataset
data_root = 'image0/'  # Root path of data
img_norm_cfg = dict(  # Image normalization config to normalize the input images
mean=[123.675, 116.28, 103.53],  # Mean values used to pre-training the pre-trained backbone models
std=[58.395, 57.12, 57.375],  # Standard variance used to pre-training the pre-trained backbone models
to_rgb=True
)  # The channel orders of image used to pre-training the pre-trained backbone models
train_pipeline = [  # Training pipeline
dict(type='LoadImageFromFile'),  # First pipeline to load images from file path
dict(
type='LoadAnnotations',  # Second pipeline to load annotations for current image
with_bbox=True,  # Whether to use bounding box, True for detection
with_mask=True,  # Whether to use instance mask, True for instance segmentation
poly2mask=False),  # Whether to convert the polygon mask to instance mask, set False for acceleration and to save memory
dict(
type='Resize',  # Augmentation pipeline that resize the images and their annotations
img_scale=(1333, 800),  # The largest scale of image
keep_ratio=True
),  # whether to keep the ratio between height and width.
dict(
type='RandomFlip',  # Augmentation pipeline that flip the images and their annotations
flip_ratio=0.5),  # The ratio or probability to flip
dict(
type='Normalize',  # Augmentation pipeline that normalize the input images
mean=[123.675, 116.28, 103.53],  # These keys are the same of img_norm_cfg since the
std=[58.395, 57.12, 57.375],  # keys of img_norm_cfg are used here as arguments
to_rgb=True),
dict(
type='Pad',  # Padding config
size_divisor=32),  # The number the padded images should be divisible
dict(type='DefaultFormatBundle'),  # Default format bundle to gather data in the pipeline
dict(
type='Collect',  # Pipeline that decides which keys in the data should be passed to the detector
keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'])
]
test_pipeline = [
dict(type='LoadImageFromFile'),  # First pipeline to load images from file path
dict(
type='MultiScaleFlipAug',  # An encapsulation that encapsulates the testing augmentations
img_scale=(1333, 800),  # Decides the largest scale for testing, used for the Resize pipeline
flip=False,  # Whether to flip images during testing
transforms=[
dict(type='Resize',  # Use resize augmentation
keep_ratio=True),  # Whether to keep the ratio between height and width, the img_scale set here will be suppressed by the img_scale set above.
dict(type='RandomFlip'),  # Thought RandomFlip is added in pipeline, it is not used because flip=False
dict(
type='Normalize',  # Normalization config, the values are from img_norm_cfg
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(
type='Pad',  # Padding config to pad images divisable by 32.
size_divisor=32),
dict(
type='ImageToTensor',  # convert image to tensor
keys=['img']),
dict(
type='Collect',  # Collect pipeline that collect necessary keys for testing.
keys=['img'])
])
]
data = dict(
samples_per_gpu=2,  # Batch size of a single GPU
workers_per_gpu=2,  # Worker to pre-fetch data for each single GPU
train=dict(  # Train dataset config
type='CocoDataset',  # Type of dataset, refer to https://github.com/open-mmlab/mmdetection/blob/master/mmdet/datasets/coco.py#L19 for details.
ann_file='image0/train/train_coco.json',  # Path of annotation file
img_prefix='image0/train/',  # Prefix of image path
pipeline=[  # pipeline, this is passed by the train_pipeline created before.
dict(type='LoadImageFromFile'),
dict(
type='LoadAnnotations',
with_bbox=True,
with_mask=True,
poly2mask=False),
dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(
type='Collect',
keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'])
]),
val=dict(  # Validation dataset config
type='CocoDataset',
ann_file='image0/val/val_coco_klein.json',
img_prefix='image0/val/',
pipeline=[  # Pipeline is passed by test_pipeline created before
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]),
test=dict(  # Test dataset config, modify the ann_file for test-dev/test submission
type='CocoDataset',
ann_file='image0/val/val_coco_klein.json',
img_prefix='image0/val/',
pipeline=[  # Pipeline is passed by test_pipeline created before
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
],
samples_per_gpu=2  # Batch size of a single GPU used in testing
))
i change the path of the data in this script ,
was it correct?

I have met the same promble,finally I figure out it is caused by the dataset config in the configs. The dataset_type should be set as 'mmdet.CocoDatasets'

I changed the dataset_type from 'CocoDataset' to 'mmdet.CocoDatasets' in my config file, unfortunately it dose not work.
here is my dataset config:

it gives me this error;
KeyError: 'mmdet.CocoDatasets is not in the dataset registry'
could you please share with me your configuration ?

I have met the same problem,finally I figure out it is caused by the dataset config in the configs. The dataset_type should be set as 'mmdet.CocoDatasets'

i think you are right , although i still have an error message pop out. here it is

it seems that something in python is missing, I did the downloading and matching between versions (torch, cuda and mmcv) many times , and sure that the match is correct. as the testing of any existing model is working correctly.

I changed the dataset_type from 'CocoDataset' to 'mmdet.CocoDatasets' in my config file, unfortunately it dose not work.
here is my dataset config:

it gives me this error;
KeyError: 'mmdet.CocoDatasets is not in the dataset registry'
could you please share with me your configuration ?

again the same error ,
`` KeyError: 'mmdet.CocoDatasets is not in the dataset registry'
how can i add a dataset to the registry? taken into consideration that my dataset is in the coco format.

The dataset_type should be your dataset class name. Are you creating a new dataset class? If not, there is no need to change the dataset_type. I still think the problem is about the JSON file.

The dataset_type should be your dataset class name. Are you creating a new dataset class? If not, there is no need to change the dataset_type. I still think the problem is about the JSON file.

you are right , I did not create a new dataset, so i should keep working with coco dataset, without changing.
my problem was the path of my data, i fixed now exactly as what they wrote in the coco dataset type.
then i run the test code bellow ,
python tools/test.py \
    configs/faster_rcnn/faster_rcnn_r50_fpn_1x.py \
    checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth \
    --show-dir faster_rcnn_r50_fpn_1x_results

this code in the doc : https://github.com/open-mmlab/mmdetection/blob/master/docs/1_exist_data_model.md
it is working correctly with my test annotation , it reads them  and i got a quit good results, which means my json is correct. as i think.
when trying to run the training , i noticed that the cuda is not available , i check the installation again and find on that error :

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.2'
this means that my problem in cuda installation ...
now i don't know where should i put this instruction.
export CUDA_HOME='/usr/local/cuda-10.2'  , and export FORCE_CUDA="1" which are  mentioned in another issue as a solution for this problem.
any ideas?
thank you so much

the system is not working at all with me . can any one tell me the requirement that i should have in my ubuntu Linux system , so i can run this module. I  can not understand why nothing working well.. even i read all other issues that are similar to mine and follow there suggestions. I have cuda 10.2 in my toolkit , but cuda 11.0 when running nvidia-smi.
i download pytorch 1.7 for toolkit cuda 10.2 , and have a version of mmcv =1.3.7
the error still give me message of
ValueError: need at least one array to concatenate
i can not continue with such things , no clue to solve it..
when download mmcv ,sometimes give me this:

Thank you all , I figure out my problem and solved it finally , one was related to the dataset , the other one is related to the config  file.

@alaa-shubbak
Hey, Could you share your solution to this problem ?
I caught the same problem as yous.

@alaa-shubbak
Hey, Could you share your solution to this problem ?
I caught the same problem as yous.

yes , sure with my pleasure.
as you did the download of mmdetection correctly as mentioned in the main page, only you need to be sure that you have a correct from of dataset, and you have correct config file.
i used coco dataset format, that means i made my annotation of my dataset to be fit with coco format.
the main problems i faced that segmentation polygon data should be written inside [[ ]] not  only single [].
for the configuration ,

be sure that your configuration file is as same as the one in the configs folder here in this repository. cope it from the configs folder is the best way, and change the name to be fit with your work
then  change the dictionary of the place of your dataset and the annotation , you can do this in your config file or in the file name (coco_detection.py) on the folder base in configs folder (configs/base/datasets/coco_detection.py)
finally , change the number of class that you want to detect . it is easy to done through your new config file ,but you should be sure that you change it in all head of your backbone model, for example for faster rcnn you change it once , while for mask rcnn you need to change it twice.
you also need to change the name of classes to be fit with this new number of classes in the (coco_detection.py) file.

i hope this will help you. good luck

@alaa-shubbak
Hey, Could you share your solution to this problem ?
I caught the same problem as yous.

yes , sure with my pleasure.
as you did the download of mmdetection correctly as mentioned in the main page, only you need to be sure that you have a correct from of dataset, and you have correct config file.
i used coco dataset format, that means i made my annotation of my dataset to be fit with coco format.
the main problems i faced that segmentation polygon data should be written inside [[ ]] not only single [].
for the configuration ,

be sure that your configuration file is as same as the one in the configs folder here in this repository. cope it from the configs folder is the best way, and change the name to be fit with your work
then  change the dictionary of the place of your dataset and the annotation , you can do this in your config file or in the file name (coco_detection.py) on the folder base in configs folder (configs/base/datasets/coco_detection.py)
finally , change the number of class that you want to detect . it is easy to done through your new config file ,but you should be sure that you change it in all head of your backbone model, for example for faster rcnn you change it once , while for mask rcnn you need to change it twice.
you also need to change the name of classes to be fit with this new number of classes in the (coco_detection.py) file.

i hope this will help you. good luck

Thank you very much.
I checked the coco dataset format and retried agian according to your detailed steps, but I failed again.
I used the coco api to load dataset and found my annotation works well.  I created the coco annotation by this helper functions.
Would you mind sharing your way to annotate your dataset?
I really appreciate your detailed reply.


Fix k8s tests to pass on kind

skip go-fmt
skip unit-tests
skip compile-tests
skip functional-tests-backend-elasticsearch
skip functional-tests-backend-orientdb
skip scale-tests
skip cdd-overview-tests
skydive-ovn-k8s-tests

run ovn-k8s-tests


Defender for APIs is not enabled by default

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.9.5
azure provider: 3.116.0
module: 6.1.0
Description
Describe the bug
Defender for cloud policy initiative does not enable "Defender for Apis".
Looks like there are multiple versions of the 'Deploy-MDFC-Config' initiative being worked on within the repository. The current version being assigned through the es_root archetype definition is definition "Deploy-MDFC-Config_20240319" which is deployed using the archetype assignment called "Deploy-MDFC-Config-H224".
This initiative does not currently include the built-in definition for deploying defender for API which results in Azure Security Benchmark policy compliance failing on a new ES deployment.
Steps to Reproduce

Deploy module with default settings for es_root policy assignments
check Azure Policy compliance for the newly deployed management group structure
view Microsoft Cloud Security Benchmark initiative compliance
view 'Monitor anomalies and threats targeting sensitive data' compliance
view 'Microsoft Defender for APIs should be enabled'

Screenshots

Additional context
It looks like the other version of these policies/assignments within the repo already have configuration to deploy and enable this feature (policySetDefinitions/Deploy-MDFC-Config) - can we migrate over so that this feature of Defender is enabled by default?
Also worth tidying up the multiple revisions of these policies?
Would have raised a PR but it looks like the work is done, just needs to be moved across?

@robsissons-contino You can deploy your Defender for Cloud policies using custom configuration and then set the enable_defender_for_apis to false. This will give you the opportunity to create and assign a built-in policy in your alz deployment. See configuration in the link below.
Deploy-Management-Resources-With-Custom-Settings
Now, you need to create a custom policy assignment using the built-in policy name Configure Microsoft Defender for APIs plan specifically to MDFC for APIs. Follow the instruction provided in the link below to achieve this.
Assign-a-Built-in-Policy
In the meantime, I'm creating a PR for a new MDFC policy initiatives which will have below definition configuration with P1 plan as the default value.
{
        "policyDefinitionReferenceId": "defenderForAPIs",
        "policyDefinitionId": "${root_scope_resource_id}/providers/Microsoft.Authorization/policyDefinitions/Deploy-ASC-APIs",
        "parameters": {
          "effect": {
            "value": "[parameters('enableAscForAPIs')]"
          },
          "subPlan": {
            "value": "[parameters('enableAscForAPIsSubPlan')]"
          }
        },
        "groupNames": []
}

With that being said, once the PR is approved, you would have to create a directory lib in your alz root module and a file archetype_extension_es_landing_zones.tmpl.json under the lib directory and add below code to set the plan as needed to either of the allowed values "P1 or P2".
{
  "extend_es_root": {
    "policy_assignments": ["Deploy-MDFC-Config-H324"],
    "policy_definitions": [],
    "policy_set_definitions": [],
    "role_definitions": [],
    "archetype_config": {
      "parameters": {
        "Deploy-MDFC-Config-H324": {
          "enableAscForAPIsSubPlan": "P1" //use either P1, P2, P3, P4, and P5 here
        }
      },
      "access_control": {}
    }
  }
}

Finally, you need to add library_path   = "${path.root}/lib" to your module block. See below for example.
  module "enterprise_scale" {
  source  = "Azure/caf-enterprise-scale/azurerm"
  version = "<version>" # change this to your desired version, https://www.terraform.io/language/expressions/version-constraints

  providers = {
    azurerm              = azurerm
    azurerm.connectivity = azurerm
    azurerm.management   = azurerm
  }

  root_parent_id = data.azurerm_client_config.core.tenant_id
  root_id        = "myorg"
  root_name      = "My Organization"
  library_path   = "${path.root}/lib"
}

Hope that helps

Fixed by #1201

Hi @matt-FFFFFF
Apologies but I am confused by the last comment where you advise that the policies come from the Enterprise-Scale repo. This is the ES repo we are discussing?
It doesn't appear that the defender for APIs have been enabled in the latest release as expected, can you confirm if this is still being looked at?

@robsissons-contino
The repo upstream is Azure/Enterprise-Scale.
This is where the policies come from so any changes would have to be made there first.

Thanks @matt-FFFFFF  for the speedy reponse.
Apologies, I wasn't aware of the upstream repo being the owners of the policies deployed here - thanks for the info.
Looking at the Azure/Enterprise-Scale repo, they have a definition which should do the trick - how do we go about requesting this being made live here?
https://github.com/Azure/Enterprise-Scale/blob/main/src/resources/Microsoft.Authorization/policySetDefinitions/Deploy-MDFC-Config.json
            {                 "policyDefinitionReferenceId": "defenderForApis",                 "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e54d2be9-5f2e-4d65-98e4-4f0e670b23d6",                 "parameters": {                     "effect": {                         "value": "[[parameters('enableAscForApis')]"                     }                 },                 "groupNames": []             },


US-12018 - Custom Constellation DX component created for GDS task list presentation

TASK LIST
Overview
This PR includes a custom Constellation DX component for rendering embedded data in the style of a GDS task list component
Whilst it went through a number of iterations, in the end we settled on the data being returned in the case view - this ensures the data is always sent back in the context of the appropriate case and removes the need for a data page API call.
Component type
Initially set as type widget, but these types are contrained to use on full case views and landing pages, so went on to use a "template" type.

Dependency updates
IMPORTANT
In order to support the GDS task list component styles, the govuk-frontend and hmrc-frontend dependencies have been bumped a major version to 5.0.0 and 6.0.0 respectively.
As part of this change the dist directoy has changed.  This has been updated in the code included here.
Pega configuration

Clean up
@ModyGhaly - I've noticed some styles relating to task list in appStyles.scss - given the upgrade to the govuk-fronend dependency, these are redundant and should be removed.

@ModyGhaly has confirmed styles no longer required and I have removed them


how to solove this question ???

from curl_cffi import requests

headers = {
    'cookie': 'pin=1;',
    'user-agent': 'JD4iPhone/167774 (iPhone; iOS 14.6; Scale/2.00)',
    'content-type': 'application/json',
    'accept-language': 'zh-Hans-CN;q=1, en-CN;q=0.9',
}

data = 'lmt=0&body=%7B%22action%22%3A%22to%22%2C%22to%22%3A%22https%253A%252F%252Fcarry.m.jd.com%252FbabelDiy%252FZeus%252F3KSjXqQabiTuD1cJ28QskrpWoBKT%252Findex.html%253FbabelChannel%253D121%22%7D'

sign = "st=1687759001409&sign=eced209ab189039cb4b7fe5a145620ad&sv=111"

print(sign)

response = requests.post(
    f'https://api.m.jd.com/client.action?functionId=genToken&lmt=0&clientVersion=11.2.2&build=98247&client=android&partner=huawei&oaid=b50f99bb238ee85b&eid=eidAe613812220s54zzbCO0oQ3qYYiWCDagnkOM83JG2xJv3bHHjzEPljqlnnfR9JS4zQm455baKi8MgUvmDZMEM7yoCBoqVGcwVm6E9OL04gYjhQec2&sdkVersion=33&lang=zh_CN&harmonyOs=0&networkType=wifi&ef=1&ep=%7B%22hdid%22%3A%22JM9F1ywUPwflvMIpYPok0tt5k9kW4ArJEU3lfLhxBqw%3D%22%2C%22ts%22%3A1687712539414%2C%22ridx%22%3A-1%2C%22cipher%22%3A%7B%22area%22%3A%22CJvpCJY1DV8zCNu3XzK%3D%22%2C%22d_model%22%3A%22CtSmDNOyCJPLGm%3D%3D%22%2C%22wifiBssid%22%3A%22dW5hbw93bq%3D%3D%22%2C%22osVersion%22%3A%22CJC%3D%22%2C%22d_brand%22%3A%22WQvrb21f%22%2C%22screen%22%3A%22CtS4CMenCNqm%22%2C%22uuid%22%3A%22CzTvDtTsENS3CwVtYzK5Cm%3D%3D%22%2C%22aid%22%3A%22CzTvDtTsENS3CwVtYzK5Cm%3D%3D%22%2C%22openudid%22%3A%22CzTvDtTsENS3CwVtYzK5Cm%3D%3D%22%7D%2C%22ciphe\nrtype%22%3A5%2C%22version%22%3A%221.2.0%22%2C%22appname%22%3A%22com.jingdong.app.mall%22%7D&{sign}',
    data=data,
    impersonate="chrome101"
)

print(response.text)

Traceback (most recent call last):
  File "C:\Users\a1140\Desktop\pybot\demo\指纹tls\testtls.py", line 19, in <module>
    response = requests.post(
               ^^^^^^^^^^^^^^
  File "C:\Users\a1140\AppData\Local\Programs\Python\Python311\Lib\site-packages\curl_cffi\requests\__init__.py", line 46, in request
    return s.request(
           ^^^^^^^^^^
  File "C:\Users\a1140\AppData\Local\Programs\Python\Python311\Lib\site-packages\curl_cffi\requests\session.py", line 438, in request
    raise RequestsError(e)
curl_cffi.requests.errors.RequestsError: Failed to perform, ErrCode: 3, Reason: ''

Please check the libcurl error page first. In your case, there is a \n in the url.

好滴！！谢谢啦！搞定了


Test failures with numpy master

This PR was merged into NumPy a couple of days ago: https://github.com/numpy/numpy/pull/8165. It fixes the behavior of equal_nan in assert_allclose.
Some of our tests have been relying on the buggy behavior, and now that it has been fixed they fail.

Issue resolved on the NumPy side https://github.com/numpy/numpy/pull/8184, so closing


Export font information for font loader js

Jira
http://vjira2:8080/browse/BDS-212
Summary
MOve from manual adding a critical font to using generated JSON file.
Details
This is the first step to move to use generated file. Now we move those file in the critical-font component but in the final result, we want this file will be generated automatically or use file generated via webpack but running as pre webpack build.
How to test
Run this code locally.
Check if the website is run correctly.

@adamszalapski are these Jest tests stalling locally for you or is this just an issue on Travis?
https://travis-ci.com/boltdesignsystem/bolt/jobs/240704435

@danielamorse, @sghoweri I add the missing file, sorry for that. Right now should be all right.

Thanks @adamszalapski!
I saw the failing tests, pulled down the latest and ran npm run lint and I see the errors locally, too:
><EMAIL_ADDRESS>lint:scss /Users/morsd/sites/bolt
> stylelint 'packages/**/*.scss' 'docs-site/**/*.scss' --config .stylelintrc

/Users/morsd/sites/bolt/packages/components/bolt-icons/src/index.js
    2:15  error  Unable to resolve path to module './icons/academy.min'                        import/no-unresolved
    4:15  error  Unable to resolve path to module './icons/add-open.min'                       import/no-unresolved
...

Any idea what's happening here?

Thanks @adamszalapski!
I saw the failing tests, pulled down the latest and ran npm run lint and I see the errors locally, too:
><EMAIL_ADDRESS>lint:scss /Users/morsd/sites/bolt
> stylelint 'packages/**/*.scss' 'docs-site/**/*.scss' --config .stylelintrc

/Users/morsd/sites/bolt/packages/components/bolt-icons/src/index.js
    2:15  error  Unable to resolve path to module './icons/academy.min'                        import/no-unresolved
    4:15  error  Unable to resolve path to module './icons/add-open.min'                       import/no-unresolved
...

Any idea what's happening here?

That was my fault because i push icons related files to this PR but right now is fixed.

PR was released with v2.14.0


Enable logging to a file

For GUI logging to a file is enabled by default. For other apps it's off with an option to enable it explicitly.

I should probably mention why I refactored the functions inside runner.rs
Mainly to separate initialization of folders and logging from actually running the node and to be able to log command line options before everything else. Also now it also seems like a better structure overall then before.


webpack.production takes development instead of production react

Problem:
Despite setting environment variable to production gore-gulp takes dev react build instead of prod react build.
What I did:
SET NODE_ENV=production
gulp webpack
What I got:
finished "webpack.production" - OK
there are react debug warnings in console - NOT OK

I've found easy solution in this article http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/ hence my pull request


new version of mathjs improves simplification at lot

With the improved simplification I could remove the 2 hacks that I added.
I verified the hacks with the tests first before and after upgrading.

@kswenson is that library version is in a branch that isn't pushed? I thought you might have updated it, but I didn't see a change in main.

@kswenson is that library version in a branch that isn't pushed? I thought you might have updated it, but I didn't see a change in main.

https://github.com/concord-consortium/quantity-playground/blob/40029cb0e0e9d46a90fdacdfae7fe2ecc6cf1013/diagram-view/package.json#L88

Ah. I didn't realize the diagram view with rollup had its own separate package.json file.

It needs to because some of the shared dependencies become peerDependencies, the build scripts are different, etc.


Automated PR: Cookstyle Changes

Hey!
I ran Cookstyle 7.24.1 against this repo and here are the results.
This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with recipes/authd.rb

25:4 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. (https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper)

Released as: 1.2.5


Devices are not shown or not all sensors show up correctly

First off thank you for your effort,  its really nice to see the smartthings integration being picked up especially not that the official one is basically no longer maintained.
I just installed the integration on my docker HA setup (version 2024.6.3) through HACS, setting up went fine.
I have my Samsung refrigerator, current television and old no longer used TV setup in smartthings. The fridge is shown as a device in the integration but sensors are not working neither of the TVs are shown as devices in the integration but do seem to show up as detected in the logs.
For the fridge temperature measurement is shown with a value unknown but nothing else. Looking at the device capabilities (see attached device.attributes.json) a few more should show up. At least the contact sensor is a standard capability I believe.
fridge: Device Attributes.json
The television does not show up, but the logs seem to indicate it is detected
television: Device Attributes tv.json
Any ideas what is going wrong with the devices?
Looking in the logs I see the following messages:
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:766
integration: Sensor (documentation, issues)
First occurred: 1:13:41 PM (4 occurrences)
Last logged: 1:13:41 PM
Platform smartthings does not generate unique IDs. ID fa45ec93-b07e-2548-f7e8-0697243098c6-smartthings-temperature already exists - ignoring sensor.refrigerator_temperature_measurement
Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:337
integration: SmartThings (documentation, issues)
First occurred: 1:13:41 PM (1 occurrences)
Last logged: 1:13:41 PM
Failed to create subscription for 'samsungce.softwareUpdate' under app '43e62ebc-2158-4c77-8c37-d654bf6ddf71': Unprocessable Entity (422): {"requestId": "1499796930955481181", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:390
integration: SmartThings (documentation, issues)
First occurred: 1:13:40 PM (1 occurrences)
Last logged: 1:13:40 PM
Some device attributes may not receive push updates and there may be subscription creation failures under app '43e62ebc-2158-4c77-8c37-d654bf6ddf71' because 46 subscriptions are required but there is a limit of 40 per app
full log: home-assistant_smartthings_2024-06-21T11-29-35.771Z.log

Sorry, but this integration is heavily customized for my personal setup and only supports the specific devices I use. Unfortunately, I don't use TVs or any refrigerators through SmartThings so no future support is planned for these. You're welcome to fork and tinker for your own setup though.


Empty screen after saving product discount

#21 Bug summary
After saving the product discount, it throws an error in the browser console.

Expected behavior
The Toast message is display
Actual behavior
It's display an empty sreen

Steps to reproduce the problem

Add a product discount
Click Save

Hi @gustavo807, this is a tricky one to debug! I'd take another look at the tutorial (perhaps here) and double check that no steps were missed.
I'll be closing this for now as it does not appear to be an issue with this repo but if you do have more questions like this, the best place to ask them would be in the Shopify Community forums.


Debug how we got clientip

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "proxy-protocol",
    "component": "backend",
    "pr-id": "520",
    "commit-sha": "cfaa3515c6c416ff29cce2bf2421653d6417f4e0"
  },
  {
    "project": "proxy-protocol",
    "component": "elemental",
    "pr-id": "49",
    "commit-sha": "f44d1f977daa63487ed352835704711c88fa0955"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "proxy-protocol",
    "component": "backend",
    "pr-id": "520",
    "commit-sha": "cd7ad6962431f6e523a04426b8697a7d8ece0f2b"
  },
  {
    "project": "proxy-protocol",
    "component": "elemental",
    "pr-id": "49",
    "commit-sha": "f44d1f977daa63487ed352835704711c88fa0955"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "proxy-protocol",
    "component": "backend",
    "pr-id": "520",
    "commit-sha": "e4c1bcaee1991f061a5d2e5597ed514cba6e8597"
  },
  {
    "project": "proxy-protocol",
    "component": "elemental",
    "pr-id": "49",
    "commit-sha": "f44d1f977daa63487ed352835704711c88fa0955"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "proxy-protocol",
    "component": "backend",
    "pr-id": "520",
    "commit-sha": "e0a7b080b7cd5fbacbc5150cd72f1f7d3871424f"
  },
  {
    "project": "proxy-protocol",
    "component": "elemental",
    "pr-id": "49",
    "commit-sha": "f44d1f977daa63487ed352835704711c88fa0955"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "proxy-protocol",
    "component": "backend",
    "pr-id": "520",
    "commit-sha": "9d9cce5761e3a3d5806e4df8c803d01c538f5039"
  },
  {
    "project": "proxy-protocol",
    "component": "elemental",
    "pr-id": "49",
    "commit-sha": "f44d1f977daa63487ed352835704711c88fa0955"
  }
]


feat(printer) Print ThrowStatement

Current dependencies on/for this PR:

main

PR #1272

PR #1273

PR #1274

PR #1275   👈

This stack of pull requests is managed by Graphite.


Why does the dependency upon inherited resources has to be strictly less than 1.3.0?

is there any compatibility problems with 1.3.0?
1.3.0 fixes a helper-reloading bug, which is important for developers.

+1

I'm closing this issue. If you have questions, the mailing list is a great place to ask them.
I've created a ticket to upgrade support, it has a brief reason why we had to lock to IR < 1.3.0

Ooops. Here's the ticket I referenced above is #808


Unable start new Recording

From<EMAIL_ADDRESS>on March 03, 2015 02:33:49
What steps will reproduce the problem? 1. Create New Robotium test
2.add .apk file
3.Click on Start recording What is the expected output? What do you see instead? Should start an AVD and start recording What version of the product are you using? On what operating system? Trial version
OS: Windows 7. Please provide any additional information below. Recording was working fine earlier, Once I changed the AVD's Configuration unable record new test and Run the existing tests
I get following error when I start new recording
"[2015-03-03 15:54:50 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2015-03-03 15:54:51 - DeviceMonitor] Connection attempts: 1
[2015-03-03 15:57:25 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2015-03-03 15:57:26 - DeviceMonitor] Connection attempts: 1
"
I get below error when I run the existing test
"[2015-02-24 12:00:24 - MyAppExecutor] ------------------------------
[2015-02-24 12:00:24 - MyAppExecutor] Android Launch!
[2015-02-24 12:00:24 - MyAppExecutor] adb is running normally.
[2015-02-24 12:00:24 - MyAppExecutor] Performing android.test.InstrumentationTestRunner JUnit launch
[2015-02-24 12:00:24 - MyAppExecutor] Automatic Target Mode: using device 'FA44GWM06469'
[2015-02-24 12:00:24 - MyAppExecutor] Uploading MyAppExecutor.apk onto device 'FA44GWM06469'
[2015-02-24 12:00:24 - MyAppExecutor] Installing MyAppExecutor.apk...
[2015-02-24 12:00:25 - MyAppExecutor] Success!
[2015-02-24 12:00:25 - MyAppExecutor] Launching instrumentation android.test.InstrumentationTestRunner on FA44GWM06469
[2015-02-24 12:00:34 - MyAppExecutor] Test run failed: Instrumentation run failed due to 'java.lang.IncompatibleClassChangeError'
"
Original issue: http://code.google.com/p/robotium/issues/detail?id=665

From<EMAIL_ADDRESS>on March 03, 2015 16:58:26
What happens if you delete the current AVD and create a new one?
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on March 04, 2015 01:52:14
Recording doesn't happen . It just shows "starting.." message and hangs the recorder.

From<EMAIL_ADDRESS>on March 04, 2015 09:56:14
Something is wrong with your environment. What you could try is in the command prompt write: "adb kill-server" and then "adb start-server". If that doesnt help you can delete all your AVDs and Robotium Recorder willl automatically create a new for you.

From<EMAIL_ADDRESS>on March 29, 2015 08:58:00
Status: Invalid

From<EMAIL_ADDRESS>on March 31, 2015 22:55:06
Same issue here.
What steps will reproduce the problem?

Create New Robotium test
2.add .apk file
3.Click on Start recording

What is the expected output? What do you see instead?
using Nexus 5, app installed and start recording, application lunched in the device but no action is recorded. Message Wait for Activity is not present
What version of the product are you using? On what operating system?
Trial version
OS: Windows 8.

From<EMAIL_ADDRESS>on April 01, 2015 10:47:52
@vgarcia094 you need to add have external storage (SD card) in your device.


ttnn.angle_bw binary inconsistent documentation regarding the input tensors datatype

ttnn.angle_bw doesn't support bfloat8_b on input_tensor_a. Fatal error "Unsupported DataType" is thrown when input_tensor_a has bfloat8_b.
To Reproduce
Steps to reproduce the behavior:
Sweep test for angle_bw is located in 'tests/sweep_framework/sweeps/eltwise/unary_complex/angle_bw/angle_bw.py'

Checkout main branch
Go to 'tests/sweep_framework/sweeps/eltwise/unary_complex/angle_bw/angle_bw.py'
Remove next lines of code from the invalidate_vector function:

    if test_vector["input_a_dtype"] == ttnn.bfloat8_b:
        return True, "bfloat8_b is not supported on input_tensor_a"

Generate new parameter vectors and run the sweep test

python3 tests/sweep_framework/sweeps_parameter_generator.py --elastic cloud --module-name eltwise.unary_complex.angle_bw.angle_bw
python3 tests/sweep_framework/sweeps_runner.py --elastic cloud --module-name eltwise.unary_complex.angle_bw.angle_bw

See error. Results can be found on elastic cloud as explained here: https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework

Expected behavior
For vectors with input_a_dtype being bfloat8_b, test will fail with the message "Unsupported DataType".

closing as completed


Reduce node permissions in local provisioner

Right now the example specs bind to the "system:node" role, but the provisioner really only needs Read permissions on Node objects.
/area local-volume

/assign @ianchakeres


bpytop: 1.0.65 -> 1.0.66

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bpytop/versions.
meta.description for bpytop is: "A resource monitor; python port of bashtop"
meta.homepage for bpytop is: "https://github.com/aristocratos/bpytop"
meta.changelog for bpytop is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/0ydf79bj1lplk2qxk5bixpa5qs4i7s6y-bpytop-1.0.66/bin/bpytop passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 1.0.66 with grep in /nix/store/0ydf79bj1lplk2qxk5bixpa5qs4i7s6y-bpytop-1.0.66

found 1.0.66 in filename of file in /nix/store/0ydf79bj1lplk2qxk5bixpa5qs4i7s6y-bpytop-1.0.66

directory tree listing: https://gist.github.com/a87c0974268a3b32db68d2e6542be352

du listing: https://gist.github.com/3b392cd262bddf423b0b7cf922b8b267

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bpytop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ydf79bj1lplk2qxk5bixpa5qs4i7s6y-bpytop-1.0.66 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bpytop https://github.com/r-ryantm/nixpkgs/archive/f61dc8420d1b7287fc654f1e108a3743e4cd74d0.tar.gz

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bpytop

Maintainer pings
cc @herrwiese for testing.

Result of nixpkgs-review pr 125074 at f61dc842 run on x86_64-linux 1

1 package built successfully:

bpytop

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/system/bpytop/default.nix:32:3:
   |
32 |   installPhase = ''
   |   ^

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

1 package built:

bpytop


Set context classloader to the one used to load the hdfs extension in HdfsDataSegmentPusher

Fixes https://github.com/druid-io/druid/issues/1714

@himanshug I'm not sure if this will cause *.xml files on the execution classpath to be not found. Do you know any good ways to test that this doesn't clobber hdfs-site.xml and other configs?

I don't think this will necessarily fix the issue because FileSystem caches a scheme to FileSystem map at class level. So, if even a single FileSystem.getFileSystem() call happens before this code is reached, setting this classloader will not do anything. This patch will make things unpredictable depending upon whether FileSystem builds the cache on call to this code or before.
I submitted a patch to HDFS for potentially fixing this issue [build failure in the JIRA is unrelated like our transitive failures :) ]
see https://issues.apache.org/jira/browse/HDFS-8750
regarding clobbering, yes it might(and unpredictably so) as Configuration really caches stuff at class level first time it is used.

@himanshug I think your HDFS patch is the better solution, and I agree with your assessment about the unpredictability in class-level caching (noted in https://github.com/druid-io/druid/issues/1714#issuecomment-139094059 , should have noted here as well). As such I'm closing this PR since this will only make things more unsteady in general, while only solving a very specific use case.

@drcrallen thought more today, and this can work if we ensure that classloader switch happens before FileSystem internal initialization , which can be made possible by forcing it inside HdfsStorageDruidModule .
created another PR https://github.com/druid-io/druid/pull/1721


PATH Error using ScanCode as a Scanner on Cygwin

When I execute gradlew cli:run --args="--info scan -f JSON -i <ort_file_path>\ort\analyzer\analyzer-result.json -o <folder_path>\ort\scanner" I get:
> Configure project :
Reckoned version: 0.1.0-beta.0.4184+20191104T155526Z

> Task :cli:run
________ _____________________
\_____  \\______   \__    ___/ the OSS Review Toolkit, version 0.1.0-beta.0.4184+20191104T155526Z.
 /   |   \|       _/ |    |    Running 'scan' on Java 12.0.2 and Windows 10 with
/    |    \    |   \ |    |    OS = Windows_NT
\_______  /____|_  / |____|    COMSPEC = C:\WINDOWS\system32\cmd.exe
        \/       \/
More environment variables:
TERM = cygwin
JAVA_HOME = C:\Program Files\Java\jdk-12.0.2
ANDROID_HOME = C:\Program Files (x86)\Android\android-sdk

Using scanner 'ScanCode' with storage 'FileBasedStorage'.
16:55:38.481 [main] INFO  com.here.ort.commands.ScannerCommand - Local file storage has 0 scan results files.
16:55:41.674 [main] INFO  com.here.ort.scanner.LocalScanner - Bootstrapping scanner 'ScanCode' as required version 3.0.2 was not found in PATH.
16:55:41.675 [main] INFO  com.here.ort.scanner.scanners.ScanCode - Downloading ScanCode from https://github.com/nexB/scancode-toolkit/archive/v3.0.2.zip...
16:55:43.077 [main] INFO  com.here.ort.scanner.scanners.ScanCode - Retrieved ScanCode from local cache.
16:57:16.856 [main] INFO  com.here.ort.scanner.scanners.ScanCode - Unpacking '<my_user_path>\AppData\Local\Temp\ort13965838901154634866ScanCode-v3.0.2.zip' to '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2'...
16:57:55.651 [main] INFO  com.here.ort.utils.ProcessCapture - Running '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\scancode.bat --version' in '<my_user_path>\Documents\04_oss-review-toolkit\oss-review-toolkit\cli'...
Exception in thread "main" java.io.IOException: Running '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\scancode.bat --version' in '<my_user_path>\Documents\04_oss-review-toolkit\oss-review-toolkit\cli' failed with exit code 1:
  The script chardetect.exe is installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts futurize.exe and pasteurize.exe are installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script pygmentize.exe is installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts csv2rdf.exe, rdf2dot.exe, rdfgraphisomorphism.exe, rdfpipe.exe and rdfs2dot.exe are installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script spdx-tv2rdf.exe is installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script calc-prorate.exe is installed in '<my_user_path>\AppData\Local\Temp\ort16223165339819254102ScanCode-3.0.2\scancode-toolkit-3.0.2\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

        at com.here.ort.utils.ProcessCapture.requireSuccess(ProcessCapture.kt:145)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.run(CommandLineTool.kt:90)
        at com.here.ort.scanner.scanners.ScanCode$getVersion$tool$1.run(ScanCode.kt:245)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.getVersion(CommandLineTool.kt:99)
        at com.here.ort.scanner.scanners.ScanCode$getVersion$tool$1.getVersion(ScanCode.kt:245)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.getVersion$default(CommandLineTool.kt:97)
        at com.here.ort.scanner.scanners.ScanCode.getVersion(ScanCode.kt:249)
        at com.here.ort.scanner.LocalScanner$scannerDir$2.invoke(LocalScanner.kt:117)
        at com.here.ort.scanner.LocalScanner$scannerDir$2.invoke(LocalScanner.kt:74)
        at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
        at com.here.ort.scanner.LocalScanner.getScannerDir(LocalScanner.kt)
        at com.here.ort.scanner.LocalScanner.getVersion$default(LocalScanner.kt:148)
        at com.here.ort.scanner.LocalScanner.getDetails(LocalScanner.kt:165)
        at com.here.ort.scanner.LocalScanner.scanPackages$suspendImpl(LocalScanner.kt:169)
        at com.here.ort.scanner.LocalScanner.scanPackages(LocalScanner.kt)
        at com.here.ort.scanner.Scanner$scanOrtResult$results$1.invokeSuspend(Scanner.kt:135)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:270)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:79)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:54)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at com.here.ort.scanner.Scanner.scanOrtResult(Scanner.kt:135)
        at com.here.ort.commands.ScannerCommand.runCommand(ScannerCommand.kt:192)
        at com.here.ort.CommandWithHelp.run(CommandWithHelp.kt:55)
        at com.here.ort.Main.runCommand(Main.kt:139)
        at com.here.ort.CommandWithHelp.run(CommandWithHelp.kt:55)
        at com.here.ort.Main.run(Main.kt:122)
        at com.here.ort.Main.main(Main.kt:99)

> Task :cli:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cli:run'.
> Process 'command 'C:\Program Files\Java\jdk-12.0.2\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 40s
44 actionable tasks: 21 executed, 23 up-to-date

I hope I don't need to further downgrade my OpenJDK version :-), by the way there is a newer available version of the scancode-toolkit (v3.1.1).

by the way there is a newer available version of the scancode-toolkit (v3.1.1).

Yes, but that's just a pre-release / "A release candidate 2 for 3.1.x".

Actually, it just occurred to me that the Python version you're using might also be a Cygwin Python, is that correct? If that's the case, that might actually be the root cause. I highly recommend to use a native Python version and run ORT under "pure" Windows. or under real Linux, but not under an emulation layer like Cygwin.

This is weird. My Python 2.x and 3.x versions came from the official Python web page.

Well, then regarding Python all might be fine, except if you also have the Python Cygwin package installed, and run from a Cygwin shell.
To rule out any Cygwin-related issues you should run from a pure native Windows cmd command prompt, and verify that the Python in your PATH is a native Windows version of Python (e.g. by running where python.exe and ensuring that the reported path(s) do not point to your Cygwin installation directory).

where python.exe

Returned the usual install paths when installing Python using the official Python web page.

TERM = cygwin

I see you're running on Cygwin, which might do some path mangling. Do you get the same error when running the same command from a cmd prompt?

This is also strange because I don’t have Cygwin or any Cygwin packages installed. When I execute the command in Cmder tool then this TERM is being shown but when I execute it in the native window cmd Then the TERM is not showing at all.
Nevertheless, the error message is still there when using native cmd

@pombredanne, as this seems to be a Python issue, do you have any idea what's goiong on?

@CleanHit @sschuberth Not sure what is going on, but a simple way to rule out issues would be to download the same version (e.g. 3.0.2) and run something to see if there is an issue there too.
@CleanHit That would mean fetching https://github.com/nexB/scancode-toolkit/releases/tag/v3.0.2
then extracting and running a simple scancode --version then scancode --verbose --info --json-pp - samples and report the output here.

@sschuberth @pombredanne I can check it only next week Wednesday.

@pombredanne @sschuberth I'm suspecting that the issue is my Python 2.7 x64 version. But when I install the x86 version of Python 2.7.x (MSI) I get the missing python27.dll error.

I'm suspecting that the issue is my Python 2.7 x64 version.

Correct, I recall having problems with 64-bit Python, too, and it's also documented at https://github.com/nexB/scancode-toolkit#installation to use 32-bit Python.

But when I install the x86 version of Python 2.7.x (MSI) I get the missing python27.dll error.

Hm, that actually worked for me just fine... when does the error occur, and what's the exact message?

But when I install the x86 version of Python 2.7.x (MSI) I get the missing python27.dll error.

Hm, that actually worked for me just fine... when does the error occur, and what's the exact message?

Well the missing python.dll error is gone after deleting the folder and cloning the repository again, First I've cloned the master branch, executed scancode --version and everything works fine. When I checkout the 3.0.2 tag and execute scancode --version I get

(scancode-toolkit) λ scancode --version
========================================================================
ERROR: UNABLE TO IMPORT SCANCODE PLUGINS.
Check your installation configuration (setup.py) or re-install/re-configure ScanCode.
The following plugin(s) are referenced and cannot be loaded/imported:
cannot import name get_package_instance
========================================================================
Traceback (most recent call last):
  File "c:\scancode\scancode-toolkit\Scripts\scancode-script.py", line 11, in <module>
    load_entry_point('scancode-toolkit', 'console_scripts', 'scancode')()
  File "c:\scancode\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "c:\scancode\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "c:\scancode\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2443, in load
    return self.resolve()
  File "c:\scancode\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "c:\scancode\scancode-toolkit\src\scancode\cli.py", line 214, in <module>
    raise e
ImportError: cannot import name get_package_instance

even when checking out the master branch again. Maybe I need to reconfigure it again after checking out a different version. I didn't find such command using scancode -h when it was first working by pooling the master branch at first.

Maybe I need to reconfigure it again after checking out a different version.

Yes, you do! Please just run configure --clean after switching versions.

I did it and it worked, now I can use the v3.0.2. running scancode --verbose --info --json-pp - samples executed without problems:
Scanning done.
Summary:        info with 1 process(es)
Errors count:   0
Scan Speed:     10.67 files/sec. 366.71 KB/sec.
Initial counts: 44 resource(s): 33 file(s) and 11 directorie(s)
Final counts:   44 resource(s): 33 file(s) and 11 directorie(s) for 1.11 MB
Timings:
  scan_start: 2019-11-12T115937.078000
  scan_end:   2019-11-12T115940.238000
  scan: 3.09s
  output:json-pp: 0.42s
  output: 0.42s
  total: 3.58s
Removing temporary files...done.

But executing .\ort.bat --info scan -f JSON -i <ort_file_path>\ort\analyzer\analyzer-result.json -o <folder_path>\ort\scanner in my project results in a different error than I've posted at the begining of the post. Now I get:
12:53:34.364 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running '<my_user_path>\AppData\Local\Temp\ort13167018435145380138ScanCode-3.0.2\scancode-toolkit-3.0.2\scancode.bat --copyright --license --ignore *.ort.yml --info --strip-root --timeout 300 --ignore HERE_NOTICE --ignore META-INF/DEPENDENCIES --processes 7 <folder_path>\ort\scanner\downloads\Maven\androidx.annotation\annotation\1.0.0 --json-pp <folder_path>\ort\scanner\native-scan-results\Maven\androidx.annotation\annotation\1.0.0\scan-results_ScanCode.json' in 'C:\oss-review-toolkit\cli\build\install\ort\bin'...
Exception in thread "main" java.lang.NullPointerException
        at com.here.ort.scanner.scanners.ScanCode.getFileCount(ScanCode.kt:359)
        at com.here.ort.scanner.scanners.ScanCode.generateSummary$scanner(ScanCode.kt:366)
        at com.here.ort.scanner.scanners.ScanCode.scanPath(ScanCode.kt:327)
        at com.here.ort.scanner.LocalScanner.scanPackage(LocalScanner.kt:333)
        at com.here.ort.scanner.LocalScanner.access$scanPackage(LocalScanner.kt:74)
        at com.here.ort.scanner.LocalScanner$scanPackages$2$invokeSuspend$$inlined$map$lambda$1$4.invokeSuspend(LocalScanner.kt:205)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)
        Suppressed: java.lang.NullPointerException
                ... 11 more

Can you share the raw scan result (the JSON file) from that scan, eventually with all file results stripped? ORT seems to think this is a scan result from ScanCode <= 2.9.7 and handles it accordingly.

In particular, there should be a header with a files_count field similar to this one:
  "headers": [
    {
      "tool_name": "scancode-toolkit",
      "tool_version": "3.0.2",
      "options": {
        "input": "/home/getting-started/mime-types",
        "--copyright": true,
        "--ignore": [
          "*.ort.yml",
          "HERE_NOTICE",
          "META-INF/DEPENDENCIES"
        ],
        "--info": true,
        "--json-pp": "/home/getting-started/out/scanner/native-scan-results/mime-types_ScanCode.json",
        "--license": true,
        "--processes": "3",
        "--strip-root": true,
        "--timeout": "300.0"
      },
      "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
      "start_timestamp": "2019-08-13T074443.361209",
      "end_timestamp": "2019-08-13T074524.131834",
      "message": null,
      "errors": [],
      "extra_data": {
        "files_count": 10
      }
    }
  ],

The scan process doesn't end successfully so no JSON file gets generated. I have only the download and native-scan-results folders in my <folder_path>\ort\scanner\.

Ok, that particular issue should be fixed by https://github.com/heremaps/oss-review-toolkit/pull/1952.

In particular, there should be a header with a files_count field similar to this one:

Here is my header of the failed scan:

"headers":[{
	"tool_name":"scancode-toolkit",
	"tool_version":"3.0.2",
	"options":{
		"input":"<folder_path>\\ort\\scanner\\downloads\\Maven\\androidx.appcompat\\appcompat-resources\\1.1.0",
		"--copyright":true,
		"--ignore":[
			"*.ort.yml",
			"HERE_NOTICE",
			"META-INF/DEPENDENCIES"
			],
			"--info":true,
			"--json-pp":"<folder_path>\\ort\scanner\\native-scan-results\\Maven\\androidx.appcompat\\appcompat-resources\\1.1.0\\scan-results_ScanCode.json","--license":true,
			"--processes":"7",
			"--strip-root":true,
			"--timeout":"300.0"
		},
		"notice":"Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
		"start_timestamp":"2019-11-12T114948.376000",
		"end_timestamp":"2019-11-12T115129.982000",
		"message":null,
		"errors":[],
		"extra_data":{
			"files_count":13
		}
	}
],

Hmm, are you sure this is from the failed scan, as it has "errors":[] (no errors) and "files_count":13 (non-zero files count)?

Hmm, are you sure this is from the failed scan, as it has "errors":[] (no errors) and "files_count":13 (non-zero files count)?

It's from the file loceated in <my_result_location>\ort\scanner\native-scan-results\Maven\androidx.appcompat\appcompat-resources\1.1.0\scan-results_ScanCode.json

Unfortunately, that does not tell me anything in this case. To me it looks like the scan succeeded. What makes you believe it failed?

Unfortunately, that does not tell me anything in this case. To me it looks like the scan succeeded. What makes you believe it failed?

I see this at the end but if this is how the command execution should end then the scan succeeded.
Exception in thread "main" java.lang.NullPointerException
        at com.here.ort.scanner.scanners.ScanCode.getFileCount(ScanCode.kt:359)
        at com.here.ort.scanner.scanners.ScanCode.generateSummary$scanner(ScanCode.kt:366)
        at com.here.ort.scanner.scanners.ScanCode.scanPath(ScanCode.kt:327)
        at com.here.ort.scanner.LocalScanner.scanPackage(LocalScanner.kt:333)
        at com.here.ort.scanner.LocalScanner.access$scanPackage(LocalScanner.kt:74)
        at com.here.ort.scanner.LocalScanner$scanPackages$2$invokeSuspend$$inlined$map$lambda$1$4.invokeSuspend(LocalScanner.kt:205)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)
        Suppressed: java.lang.NullPointerException
                ... 11 more

Please try again with current master. You should not see this NullPointerException anymore.

I've pulled the latest master branch updates and this exception is gone. The runtime of the scan took about 1 hour  and +/- 15 minutes, after that it exited with this exception.
11:45:20.668 [ScanCode-1] INFO  com.here.ort.scanner.storages.FileBasedStorage - Could not read scan results for 'Maven:cglib:cglib-nodep:3.2.9' from path 'Maven/cglib/cglib-nodep/3.2.9/scan-results.yml': FileNotFoundException: <my_user_path>\.ort\scanner\results\Maven\cglib\cglib-nodep\3.2.9\scan-results.yml (Das System kann den angegebenen Pfad nicht finden)
11:45:20.691 [ScanCode-1] INFO  com.here.ort.scanner.storages.FileBasedStorage - Stored scan result for 'Maven:cglib:cglib-nodep:3.2.9' at path 'Maven/cglib/cglib-nodep/3.2.9/scan-results.yml'.
11:45:20.692 [ScanCode-1] INFO  kotlinx.coroutines.CoroutineScope - Finished scanning Maven:cglib:cglib-nodep:3.2.9 (49/256).
Exception in thread "main" java.io.IOException: Cannot run program "cvs": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
        at com.here.ort.utils.ProcessCapture.<init>(ProcessCapture.kt:86)
        at com.here.ort.utils.ProcessCapture.<init>(ProcessCapture.kt:29)
        at com.here.ort.utils.ProcessCapture.<init>(ProcessCapture.kt:33)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.run(CommandLineTool.kt:90)
        at com.here.ort.downloader.vcs.Cvs.run(Cvs.kt:41)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.getVersion(CommandLineTool.kt:99)
        at com.here.ort.downloader.vcs.Cvs.getVersion(Cvs.kt:41)
        at com.here.ort.utils.CommandLineTool$DefaultImpls.getVersion$default(CommandLineTool.kt:97)
        at com.here.ort.downloader.vcs.Cvs.getVersion(Cvs.kt:50)
        at com.here.ort.downloader.vcs.Cvs$download$1.invoke(Cvs.kt:168)
        at com.here.ort.downloader.vcs.Cvs$download$1.invoke(Cvs.kt:41)
        at org.apache.logging.log4j.kotlin.SuppliersKt$asLog4jSupplier$1.get(Suppliers.kt:21)
        at org.apache.logging.log4j.util.LambdaUtil.getMessage(LambdaUtil.java:91)
        at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1997)
        at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1860)
        at org.apache.logging.log4j.kotlin.KotlinLogger.info(KotlinLogger.kt:355)
        at com.here.ort.downloader.vcs.Cvs.download(Cvs.kt:168)
        at com.here.ort.downloader.VersionControlSystem.download$default(VersionControlSystem.kt:218)
        at com.here.ort.downloader.Downloader.downloadFromVcs(Downloader.kt:238)
        at com.here.ort.downloader.Downloader.download(Downloader.kt:144)
        at com.here.ort.downloader.Downloader.download$default(Downloader.kt:129)
        at com.here.ort.scanner.LocalScanner.scanPackage(LocalScanner.kt:300)
        at com.here.ort.scanner.LocalScanner.access$scanPackage(LocalScanner.kt:74)
        at com.here.ort.scanner.LocalScanner$scanPackages$2$invokeSuspend$$inlined$map$lambda$1$4.invokeSuspend(LocalScanner.kt:205)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden
        at java.base/java.lang.ProcessImpl.create(Native Method)
        at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:420)
        at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:151)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
        ... 30 **more**

Cannot run program "cvs": CreateProcess error=2, Das System kann die angegebene Datei nicht finden

Like the error message indicates, you're lacking the cvs command line tool. This needs to be installed if the source code of any of your dependencies is hosted in CVS, so ORT can use it to check out the source code in order to scan it.

Ok now it has a problem with not finding svn, I'll install the tortoiseSVN and run it again.

It is running the scan for 3 hours now and is stuck in the last 1.5 hours on one place.

Depending on the size of the source code of the current package that might be ok. We've seen scan times > 10 hours in extreme cases.

Ok, but I don’t see any resource (CPU, RAM) usage.

Depending on the size of the source code of the current package that might be ok. We've seen scan times > 10 hours in extreme cases.

Can I restrict the depth of the scan?

Not the depth (in terms of the transitivity level), but the scopes.

Not the depth (in terms of the transitivity level), but the scopes.

Since I'm only interested in the dependencies and their license adding --scopes dependencies should do the trick, right?

Probably not. What needs to get passed to --scopes is a package-manager-specific name of the scope of dependencies you want to scan. At the example of Maven, --scope compile would only scan the source code of "compile dependencies", but not e.g. of "test dependencies".
Confusingly enough, some package managers (e.g. NPM) call their "compile dependencies" just "dependencies".
TL;DL: The argument to --scopes is the literal name of a dependency scope, not an abstract term of what to scan.

Thinking about it, IIUC what you want is (in ORT-speak) to skip the scan of the project source code, and only scan the source code of all dependency packages. WHich is somehting that is currently not supported, but which could probably be easily added as part of the work in my branch to specify a different scanner for projects: You could simply set that scanner to none then.

You could simply set that scanner to none then.

Without any scope defined or do I need to set the scope flag to something?

If that feature was implemented (it is not currently, also not in my branch) then you would only pass --project-scanner=none but no --scopes argument at all.

I've tried building the separate-project-scanner branch with .\gradlew.bat installDist and got:
λ .\gradlew.bat installDist
Configuration on demand is an incubating feature.

> Configure project :
Reckoned version: 0.1.0-beta.0.3879+20191114T152133Z

> Task :scanner:compileKotlin FAILED
e: C:\oss-review-toolkit\scanner\src\main\kotlin\Scanner.kt: (106, 41): Cannot access 'scanPackages': it is protected in 'Scanner'
e: C:\oss-review-toolkit\scanner\src\main\kotlin\Scanner.kt: (133, 68): Unresolved reference: config

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':scanner:compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork
   > Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9s
32 actionable tasks: 14 executed, 18 up-to-date

But as you already said, what I actually want is not yet implemented anyway.

Yeah, currently the branch does not not even build, I'm aware of that.

I left the scanner to work for 14 hours and it is stuck for about 12.5 hours on the same place.
17:41:39.441 [ScanCode-1] INFO  com.here.ort.downloader.Downloader - Using processed VcsInfo(type=Git<EMAIL_ADDRESS>revision=, resolvedRevision=null, path=). Original was VcsInfo(type=Git, url=git@github.com:cbeust/jcommander.git, revision=, resolvedRevision=null, path=).
17:41:39.442 [ScanCode-1] INFO  com.here.ort.downloader.Downloader - Detected VCS type 'Git' from type name 'Git'.
17:41:39.466 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git --version' in 'C:\oss-review-toolkit\cli\build\install\ort\bin'...
17:41:39.568 [ScanCode-1] INFO  com.here.ort.downloader.VersionControlSystem - Using Git version 2.24.0.windows.2.
17:41:39.590 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git init' in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:39.736 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git remote add origin<EMAIL_ADDRESS>in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:39.871 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git --version' in 'C:\oss-review-toolkit\cli\build\install\ort\bin'...
17:41:39.991 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git config protocol.version 2' in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:40.124 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git config core.longpaths true' in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:40.258 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git status -sb --porcelain=v2' in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:40.395 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git remote show -n' in 'C:<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...
17:41:40.523 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git -c credential.helper= -c core.askpass=echo ls-remote --refs origin refs/tags/*' in '<scanner_output_path>\Android_ort\scanner3\downloads\Maven\com.beust\jcommander\1.48'...

It's maybe related to the fact that I have a general problem using git clone<EMAIL_ADDRESS>in Windows at the moment, using git clone https://github.com/cbeust/jcommander.git worked fine.


Changing hamburger icon

Issue Type:
[  ] Bug Report
[ x ]  Feature Request
[  ] Documentaion
Describe the bug
Changing the burger icon of the menu to some other icon
Possible solution
I will change the hamburger menu icon to another icon
Screenshots

If applicable, add screenshots to help explain your problem.

Great to see you contributing !! Please let us know which icon will you display in place of Hamburger ?

https://image.shutterstock.com/image-vector/minimal-set-hamburger-menu-flat-260nw-1501430735.jpg
One of these.

We can go with the one in the circle what you think @himanshu007-creator


Sample Download Link crash

The Download button of SplashScreen(Sample) redirects to the error page. Can anyone fix that?

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

ID: 5823a3fa-87be-0b27-155b-b44130c67e84
Version Independent ID: c90633f5-22b9-f7dd-fd08-c9affc251dd4
Content: Splash Screen - Xamarin
Content Source: docs/android/user-interface/splash-screen.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @conceptdev
Microsoft Alias: crdun

This appears to be a redirect issue that has been fixed.


Fix comment typo

Thanks, but I don't think this is a typo: https://en.wikipedia.org/wiki/If_and_only_if

Ah yep, that should have clicked for me. Time for bed I think.

@RyanWarnock No worries, thanks for the PR!


Support job dependencies

It would be great if there were dependencies between jobs, so that a Job 'B' can be started after Job 'A' was finished.

Think there are two different scenarios:

Dependencies like run jobB only if jobA has been run before|within X hours
A flow like after jobA run jobB and jobC - Which would run jobB and jobC in parallel otherwise define after jobA run jobB and after jobB run jobC

We have to think about how to distribute the flow across java vm's

We have to think about how to distribute the flow across java vm's

We could just run them within the same vm. This might be an issue if multiple jobs with high memory or cpu demands should run in parallel. We don't have this situation, so running dependent jobs within the same vm would be ok for us. Do you see any other issues?


Update MD file on new branch 2017-11-10_10-32-58

:warning: Validation status: warnings

File
Status
Preview URL
Details

split/ref1.yml
:warning:Warning

Details

split/updateTestRef1.md
:white_check_mark:Succeeded

split/ref1.yml

[Warning] Uid(Microsoft.SqlServer.Server) has already been defined in test_link_to_con.yml.
Line 1: [Warning] Invalid file link:(~/content1.md).

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


Javascript error in prod env

Hi,
after
npm run prod
I get following javascript error on a clean installation:
Uncaught ReferenceError: webpackJsonp is not defined

For production you'll have to set the APP_ENV=production in your .env file.

I tried again but no luck...
This are the steps for the installation:

git clone git@github.com:cretueusebiu/laravel-vue-spa.git
cd laravel-vue-spa/
cp .env.example .env
update APP_ENV=production
composer install --no-dev
php artisan key:generate
php artisan jwt:secret
Edit .env and set your database connection details
php artisan migrate
yarn
npm run production
php artisan serve

But I get always this error:

What do you get if you dd(app()->environment()); ?

Where should I write dd(app()->environment());
php artisan env returns
Current application environment: production
npm run production returns no error.
I get the error Uncaught ReferenceError: webpackJsonp is not defined when I open http://<IP_ADDRESS>:8000

Try using a domain for your app with Valet or Homestead.

Same problem here http://inmobiliariaforti.com/administracion_alquileres/public/ ...


JPG Format not supported

Hi Chris. I tried to load a jpg image but nothing displayed. And i have this message :

Could you help me please ?

JPG is not enabled by default so requires a manual installation with a custom build of raylib that enables it.


Action name uniqueness constraint

As discussed over at https://groups.google.com/forum/#!topic/siren-hypermedia/cwyIzM4jwOc

The description is good, but the location in the document is strange sandwiched between name and class.
Seems like it belongs under the Action header above name

I'm happy with is position, but I agree it's confusing because of the switch from name's  heading to Uniqueness Constraint's non-code heading. I've switched it to a level 6 heading and I think that make's it clearer that it's a sub-heading to name.
Let me know what you think.

Now that you've adjusted it I see the intent better. Seems to me the sub-heading is unnecessary.  It's just part of the name spec/doc

Should the behavior of clients be undefined?  Would it make sense to say clients should default to picking the last-defined action with the same name?
On formatting: The emphasis on MUST and undefined are inconsistent with the rest of the document.  I agree that the sub-heading is a little much, but I don't feel too strongly about it.

Layout and formatting updated.
I specified the behaviour as undefined, because that's the only option that is backward compatible with existing clients. I can change it to "When parsing a document that violated this constraint, clients MUST ignore all but the last action for a repeated name." However, making that change would make a unknown number of existing clients non-conforming with the spec. Are you ok with that?
I'd prefer the spec to more specific (i.e. take the last action rather than undefined), but being new to this, I don't know how important it is to avoid making existing clients non-conforming. What's your guidance?

makes sense to me to keep it backward compatible unless there is some versioning on the spec

@kevinswiber, do you want me to keep it backward compatible or would you prefer me to increment the spec version number?
If the later, should the new version be 0.6.2, 0.7.0, or something else?

@tompahoward @apsoto Backwards compatibility is the right approach.  If we had a "client implementation considerations" document, and we probably should, we could suggest handling it that way.  I'm good to merge!


Using Swiper with jQuery UI Sortable

This is a (multiple allowed):

[ ] bug

[x] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 3.3.1

Platform/Target and Browser Versions: macOS chrome.

What you did
I want to use swiper to ordering each items with some buttons. see demo like this:

clicking buttons can order each card with jquery sortable
http://jsfiddle.net/5grL9ngb/1/

and clicking cards is using swiper
http://jsfiddle.net/hkwufa4n/4/

Expected Behavior
How should I combine above two things together.
Actual Behavior
or is swiper api supported? have any ideas?
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Thanks

thanks i solved
http://jsfiddle.net/qoLLrnqu/


Deactivated the PlantUML self test part from GenPackageDoc

Hi Thomas,
??????????????????
PlantUML requires JAVA. Without JAVA available, the self test of GenPackageDoc will fail. That is the reason to deactivate the PlantUML test case from self test of GenPackageDoc in this pull request.

As per Ngoan the SelfTest machines configure JAVA already before our installer is executed.
Therefore it's not required to check for JAVA in this case.

Hi Thomas,
please discard this pull request. Doesn't make sense any more.


A big Wednesday night

Learn to code example

Nevermind, You don't want these changes, these are for my own personal repository


Status update feature

Hi Carsten,
would it be possible to have a way to update the status of a task ?
eg. Something like a drop down menu whose options would be the different status values related to the project workflow the task belongs to.
Changing to a particular status would update the related task status in JIRA.
And when the task is done, clear the corresponding dropdown menu in JIRA StopWatch.
Thanks
Eric

In what context do you think this would apply best? When submitting the worklog (ie. in the worklog dialog)?

My first thought was on the main screen next to the timer.
It would be useful to be able to select the status right after you start/stop the timer. (ie change the status to In progress...)
In the worklog dialog, why not an option to mark the task as Done on submission.
But in that case, how to deal with a complete custom workflow ?

IMHO it's a bit outside the original scope of this tool. Also the available status changes of a task is bound to the actual workflow, that has been defined fot the project AFAIK. Also some transitions may require certain fields to be filled out - that depends on the actual Jira setup. So it's a bit more complicated to make it work in all cases.
You are very welcome to give it a shot yourself, and if you can make it work without too much hassle, I'll happily accept a pull request.
As I can see you'll have to start by digging into the API's "Get transitions" and "Do transition"
https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-getTransitions
https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-doTransition

I've actually gone and done the part about doing a transition when pressing play. In the settings you can write the name of the state transitions, that you want StopWatch to apply when pressing play:

Try to build the latest source and test it. I am going to do the final release of version 1.9.0 next week, where this feature will be included.

Hi Carsten,
thanks for taking into account this proposal.
It works great.
Should it be possible to add a checkbox (unchecked by default) on the worklog submission panel in a way to close a task ?
Maybe the user has to fill the possible state names for closing a task in the settings as you've done for "In Progress".
Are states defined in the setting panel case sensitive ?
Eric

The process of closing a Jira issue is much more complicated than starting it. Based on the project templates, closing an issue may require additional fields to be filled out. And this is configurable on each Jira installation - indeed for each project. So I see no easy solution to this.

Oh and I don't think that the state names are case sensitive - I send them as written to the Jira API - you will just have to check for yourself. :-)


[#11498] Add tooltips to charts

All charts (except maybe one that was deemed redundant) now have a "tooltip" when you hover over data points.  In some cases it's 1:1-- the data point you hover over is expanded into a tooltip. In other cases, a voronoi is used to calculate the closest intersection of corresponding data points on the dependent axis and all data points are displayed in the tooltip for that point on the x-axis. It makes more sense when you just look at it.
There were a few changes that seemed to have effective performance a bit, so it makes some sense to put these changes to a bit of a stress test both locally and on staging.

Updated GroupedBar.js to include a toolTipFontSize prop since it looked a bit silly being so enlarged compared to the other graph tooltips. So I set it to a smaller font-size until we get feedback from the client.
Before:

After:

@copelco This is ready for a review.


Update the comments of the method createQueryTo in ActiveRecordFactory so that the IDE can automatically identify the specific class of ActiveRecord

Q
A

Is bugfix?
✔/❌

New feature?
✔/❌

Breaks BC?
✔/❌

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

Also need to check that tests passed

🎉 It has been tests passed


updated text

updated text
updated text

#29  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @leonchike and the rest of your teammates on  Graphite


Add NSLocale extension

Add observable to NSLocale for the current locale and display names

I think it would be enough if we had just something simple as
extension NSLocale {
  public var bnd_currentLocale: Observable<NSLocale>
}


Add DockerComposeV1 task and refactoring DockerComposeV0

Task name: DockerComposeV0, DockerComposeV1
Description: This PR adds DockerComposeV1 and remove the feature flag USE_DOCKER_COMPOSE_V2_COMPATIBLE_MODE from DockerComposeV0
Documentation changes required: N
Added unit tests: N
Attached related issue: AB#2168817
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

@ivanduplenskikh  Hi, when will this be released? I don't see any docs change here, and the official website is not yet updated https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/docker-compose-v0?view=azure-pipelines.
So the message suggesting end users to use DockerCompose@1 is misleading.

Is There an official date to remove the @0 version?

Is There an official date to remove the @0 version?

Reading from the commited code, it's 24th July.

I am using DockerCompose@1 and have the above error. I have already removed "Version" in my docker compose file. This error is for the generated docker compose file

Hi @ivanduplenskikh , @sandywangkpmg @peruzzof @benoityip @DergachevE ,
Any update on the official, Docker-compose v2(DockerCompose@1)  version in azure devops..?

@vinayprakash893, @sandywangkpmg, the official DockerCompose@1 task documentation can be found at this link DockerCompose@1


Scenario/c186/multilingual sign in and connect

Manditory Checks

[x] I added new tests for the issue I fixed or the feature I built
[x] I ran npm test for the package I'm modifying
[ ] I used npm run commit instead of git commit

Add @motorcycle/i18n driver to handle language stream internals.
Add i18next-xhr-backend to pass as module/plugin to the i18n driver
for loading language specific translations on demand.
Add lang query string to enable language selection from URL.
Add locales es-ES and en-US translations.

 IA: multilingual sign in and connect


Update log4j to 2.17 to address CVE-2021-45105.

log4j and log4j2 have been updated to address CVE-2021-45105.
Learn more about the vulnerability here:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45105

Thanks for the PR.


Add upgrade v3 to update endtime for validator vesting accounts

Part of #420
TODOs:

add logic to update end date for vesting accounts

Codecov Report

Merging #439 (fb7f56a) into main (7916c09) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   56.88%   56.88%
=======================================
  Files          74       74
  Lines        5805     5806    +1
=======================================
+ Hits         3302     3303    +1
  Misses       2181     2181
  Partials      322      322

Impacted Files
Coverage Δ

app/app.go
87.59% <100.00%> (+0.03%)
:arrow_up:


Added many new tooltips, cleaned up copy and text styling

CHANGES

Added tooltips to delete icons in Add / Edit listing screen (within shipping option, variants, coupons)
Added tooltip to close icons within the modal overlays
Added tooltip to the Grid/List button on the store page
Added tooltip to the Bitcoin price ticker in the wallet and about OpenBazaar section
Made icon buttons a bit smaller globally
Made text darker within the order modal
Changed notification text from Your payment has been received to Your payment has been delivered
Hovering an avatar within listing search results now displays tooltip for store name and location
Improved the colors within the chat panel
Added a href to the user avatar / name in top of transaction section to link back to your page

PROBLEMS

Tooltips are not working correctly in some areas. The delete/close icon no longer display when i add the toolTipNoWrap class. (see below)
The grid/list view toggle button on the store page acts strange when the toolTipNoWrap class is added too. (see below)

@jjeffryes I'm going to need help on those issues ^

thank you @jjeffryes very much appreciated!


how to show icon widget behind the date text?

I want to add a background color to the specific marked dates. How can I do it? Adding customize widget hides the date.

Currently, this is not smoothly supported in current status. You'll have to make your own widget and overlap it.

Please set showIconBehindDayText to true to achieve this with flutter_calendar_carousel 1.3.23.


SNOW-1490800: Error starting Streamlit: No warehouse found for the Streamlit object

SnowCLI version
2.4.1
Python version
3.8.19
Platform
Linux-6.9.5-zen1-1-zen-x86_64-with-glibc2.34
What happened
Deploying a streamlit app does not assign a warehouse to the app despite query_warehouse being set in snowflake.yml.

I need to manually select a warehouse and reboot the app for it to work.
Console output
N/A

How to reproduce

Init a streamlit app
Set your warehouse of choice in snowflake.yml
Deploy and launch the app in Snowflake
Observe the above error message

I couldn't replicate the bug - could you provide output of snow streamlit describe NAME after the deployment?
Did snow deploy command throw any errors or warnings?

Thanks for the quick reply, nothing out of the ordinary during the deploy command, I use GitLab CI with a temporary connection defined as CI variables, it was ported over from a similar pipeline I wrote for snowpark. Running the command locally produces the same result.
$ snow streamlit deploy -x --replace
Streamlit successfully deployed and available under https://app.snowflake.com/redacted/redacted/#/streamlit-apps/REDACTED

describe shows query_warehouse is set to None.

The only way I manage to replicate that result is when I explicitly set query_warehouse parameter to null in snowflake.yml, nothing in the code seem to override this parameter.
Could you run deploy command with --debug and check what SQL query is executed?

Closing the issue as we could't replicate the bug


Error: Object reference not set to an instence of object

My configuration:
VS 2013 Version 12.0.30501.0 - installed via a company installer
Anaconda 4.2.0 Python 2.7 64bit
PTVS 2.2.2 VS 2013
VS2013 and Python were already installed and are working fine. I just installed PTVS and created a new Python Application.
When I now press start, I get an error Box from VS showing the error "Object reference not set to an instence of object".
From the A quick overview I would have expected that I get a dialog to select the interpreter.
Any help would be very appeciated.

Here is a screenshot of the Options Dialog on VS.

It looks like your install may have been corrupted. Can you try deleting the contents of C:\Users\you\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache and restarting VS? Hopefully that will fix it.


Support compas 2 private Data API

Supporting the new compas 2 private Data API.
What type of change is this?

[ ] Bug fix in a backwards-compatible manner.
[ ] New feature in a backwards-compatible manner.
[x] Breaking change: bug fix or new feature that involve incompatible API changes.
[ ] Other (e.g. doc update, configuration, etc)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[ ] I ran all tests on my computer and it's all green (i.e. invoke test).
[ ] I ran lint on my computer and there are no errors (i.e. invoke lint).
[ ] I added new functions/classes and made them available on a second-level import, e.g. compas_fab.robots.CollisionMesh.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

Note to myself that this branch is currently running against compas 2.0.0b4 with an unmerged fix:
https://github.com/compas-dev/compas/tree/bugfix/sphere_intersection
compas_robot is still under active fix

At the moment, the two failing CI are:
build / windows-ironpython
Need to change workflow to install compas_robots
integration / ubuntu-py38-integration
doctest is failing
=========================== short test summary info ============================
SKIPPED [2] ../../../../../opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/doctest.py:460: all tests skipped by +SKIP option
FAILED docs/examples/03_backends_ros/03_forward_and_inverse_kinematics.rst::line:36,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/03_forward_and_inverse_kinematics.rst::line:49,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/03_forward_and_inverse_kinematics.rst::line:54,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/04_plan_motion.rst::line:23,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/04_plan_motion.rst::line:32,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/05_collision_objects.rst::line:33,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/05_collision_objects.rst::line:50,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/03_backends_ros/05_collision_objects.rst::line:70,column:1 - roslibpy.core.RosTimeoutError: Failed to connect to ROS
FAILED docs/examples/05_backends_pybullet/01_pybullet_examples.rst::line:55,column:1 - AttributeError: 'Color' object has no attribute 'get_urdf_element'

Mostly due to geometry __str__ no longer printing in the same way.
Except the case where the error caused by compas_robot : AttributeError: 'Color' object has no attribute 'get_urdf_element'