UnpicklingError: invalid load key, '<'.

When running in the Colab Notebook :
model = model_type.model(backbone=backbone(pretrained=True), num_classes=len(parser.class_map), **extra_args)
Getting the following error. Hope you may kindly suggest how to fix this!
load checkpoint from local path: checkpoints/vfnet/vfnet_r50_fpn_mstrain_2x_coco_20201027-7cc75bd2.pth
---------------------------------------------------------------------------
UnpicklingError                           Traceback (most recent call last)
[<ipython-input-10-696c7b7efa47>](https://localhost:8080/#) in <module>()
      1 # Instantiate the model
----> 2 model = model_type.model(backbone=backbone(pretrained=True), num_classes=len(parser.class_map), **extra_args)

7 frames
[/usr/local/lib/python3.7/dist-packages/torch/serialization.py](https://localhost:8080/#) in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
    775             "functionality.")
    776
--> 777     magic_number = pickle_module.load(f, **pickle_load_args)
    778     if magic_number != MAGIC_NUMBER:
    779         raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, '<'.

experienced the same issue with some mmdet models/backbones

@dnth any suggestions on how to fix this issue?

Do you face this with other mmdet models? I think there are some changes to the mmdet models recently causing this issue.
I'd suggest trying out other mmdet models such as retinanet, or use efficientdet models.

Hi @jlvahldiek we are in the process of fixing this on the IceVision repo.
If you're in a hurry, here is a Colab notebook as a workaround to make VFNet work again.
https://colab.research.google.com/gist/dnth/aea556c86ee3ca2e812ceb5eb8968caa/getting_started_object_detection.ipynb

This still seems to be an issue.
load checkpoint from local path: checkpoints/vfnet/vfnet_r50_fpn_mstrain_2x_coco_20201027-7cc75bd2.pth
---------------------------------------------------------------------------
UnpicklingError                           Traceback (most recent call last)
Input In [29], in <cell line: 2>()
      1 # Instantiate the model
----> 2 model = model_type.model(backbone=backbone(pretrained=True), num_classes=len(parser.class_map), **extra_args)

File /usr/local/lib/python3.9/dist-packages/icevision/models/mmdet/common/bbox/single_stage/model.py:20, in model(backbone, num_classes, checkpoints_path, force_download, cfg_options)
     12 def model(
     13     backbone: MMDetBackboneConfig,
     14     num_classes: int,
   (...)
     17     cfg_options=None,
     18 ) -> nn.Module:
---> 20     return build_model(
     21         model_type="one_stage_detector_bbox",
     22         backbone=backbone,
     23         num_classes=num_classes,
     24         pretrained=backbone.pretrained,
     25         checkpoints_path=checkpoints_path,
     26         force_download=force_download,
     27         cfg_options=cfg_options,
     28     )

File /usr/local/lib/python3.9/dist-packages/icevision/models/mmdet/common/utils.py:79, in build_model(model_type, backbone, num_classes, pretrained, checkpoints_path, force_download, cfg_options)
     76 _model.init_weights()
     78 if pretrained and (weights_path is not None):
---> 79     load_checkpoint(_model, str(weights_path))
     81 _model.param_groups = MethodType(param_groups, _model)
     82 _model.cfg = cfg  # save the config in the model for convenience

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:528, in load_checkpoint(model, filename, map_location, strict, logger, revise_keys)
    503 def load_checkpoint(model,
    504                     filename,
    505                     map_location=None,
    506                     strict=False,
    507                     logger=None,
    508                     revise_keys=[(r'^module\.', '')]):
    509     """Load checkpoint from a file or URI.
    510
    511     Args:
   (...)
    526         dict or OrderedDict: The loaded checkpoint.
    527     """
--> 528     checkpoint = _load_checkpoint(filename, map_location, logger)
    529     # OrderedDict is a subclass of dict
    530     if not isinstance(checkpoint, dict):

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:467, in _load_checkpoint(filename, map_location, logger)
    450 def _load_checkpoint(filename, map_location=None, logger=None):
    451     """Load checkpoint from somewhere (modelzoo, file, url).
    452
    453     Args:
   (...)
    465            information, which depends on the checkpoint.
    466     """
--> 467     return CheckpointLoader.load_checkpoint(filename, map_location, logger)

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:245, in CheckpointLoader.load_checkpoint(cls, filename, map_location, logger)
    242 class_name = checkpoint_loader.__name__
    243 mmcv.print_log(
    244     f'load checkpoint from {class_name[10:]} path: {filename}', logger)
--> 245 return checkpoint_loader(filename, map_location)

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:262, in load_from_local(filename, map_location)
    260 if not osp.isfile(filename):
    261     raise IOError(f'{filename} is not a checkpoint file')
--> 262 checkpoint = torch.load(filename, map_location=map_location)
    263 return checkpoint

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:608, in load(f, map_location, pickle_module, **pickle_load_args)
    606             return torch.jit.load(opened_file)
    607         return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
--> 608 return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:777, in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
    771 if not hasattr(f, 'readinto') and (3, 8, 0) <= sys.version_info < (3, 8, 2):
    772     raise RuntimeError(
    773         "torch.load does not work with file-like objects that do not implement readinto on Python 3.8.0 and 3.8.1. "
    774         f"Received object of type \"{type(f)}\". Please update to Python 3.8.2 or newer to restore this "
    775         "functionality.")
--> 777 magic_number = pickle_module.load(f, **pickle_load_args)
    778 if magic_number != MAGIC_NUMBER:
    779     raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, '<'.

cat checkpoints/vfnet/vfnet_r50_fpn_mstrain_2x_coco_20201027-7cc75bd2.pth
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  AccessDenied
  <Message>Access denied by bucket policy.</Message>
  <RequestId>62FAB855D4FE7D31395A743C</RequestId>
  <HostId>openmmlab.oss-cn-hangzhou.aliyuncs.com</HostId>
  <Bucket>openmmlab</Bucket>
  <User>nosuchuser</User>
</Error>

This still seems to be an issue.
I was running getting_started_object_detection.ipynb that I just got from git today.
load checkpoint from local path: checkpoints/vfnet/vfnet_r50_fpn_mstrain_2x_coco_20201027-7cc75bd2.pth
---------------------------------------------------------------------------
UnpicklingError                           Traceback (most recent call last)
Input In [29], in <cell line: 2>()
      1 # Instantiate the model
----> 2 model = model_type.model(backbone=backbone(pretrained=True), num_classes=len(parser.class_map), **extra_args)

File /usr/local/lib/python3.9/dist-packages/icevision/models/mmdet/common/bbox/single_stage/model.py:20, in model(backbone, num_classes, checkpoints_path, force_download, cfg_options)
     12 def model(
     13     backbone: MMDetBackboneConfig,
     14     num_classes: int,
   (...)
     17     cfg_options=None,
     18 ) -> nn.Module:
---> 20     return build_model(
     21         model_type="one_stage_detector_bbox",
     22         backbone=backbone,
     23         num_classes=num_classes,
     24         pretrained=backbone.pretrained,
     25         checkpoints_path=checkpoints_path,
     26         force_download=force_download,
     27         cfg_options=cfg_options,
     28     )

File /usr/local/lib/python3.9/dist-packages/icevision/models/mmdet/common/utils.py:79, in build_model(model_type, backbone, num_classes, pretrained, checkpoints_path, force_download, cfg_options)
     76 _model.init_weights()
     78 if pretrained and (weights_path is not None):
---> 79     load_checkpoint(_model, str(weights_path))
     81 _model.param_groups = MethodType(param_groups, _model)
     82 _model.cfg = cfg  # save the config in the model for convenience

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:528, in load_checkpoint(model, filename, map_location, strict, logger, revise_keys)
    503 def load_checkpoint(model,
    504                     filename,
    505                     map_location=None,
    506                     strict=False,
    507                     logger=None,
    508                     revise_keys=[(r'^module\.', '')]):
    509     """Load checkpoint from a file or URI.
    510
    511     Args:
   (...)
    526         dict or OrderedDict: The loaded checkpoint.
    527     """
--> 528     checkpoint = _load_checkpoint(filename, map_location, logger)
    529     # OrderedDict is a subclass of dict
    530     if not isinstance(checkpoint, dict):

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:467, in _load_checkpoint(filename, map_location, logger)
    450 def _load_checkpoint(filename, map_location=None, logger=None):
    451     """Load checkpoint from somewhere (modelzoo, file, url).
    452
    453     Args:
   (...)
    465            information, which depends on the checkpoint.
    466     """
--> 467     return CheckpointLoader.load_checkpoint(filename, map_location, logger)

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:245, in CheckpointLoader.load_checkpoint(cls, filename, map_location, logger)
    242 class_name = checkpoint_loader.__name__
    243 mmcv.print_log(
    244     f'load checkpoint from {class_name[10:]} path: {filename}', logger)
--> 245 return checkpoint_loader(filename, map_location)

File /usr/local/lib/python3.9/dist-packages/mmcv/runner/checkpoint.py:262, in load_from_local(filename, map_location)
    260 if not osp.isfile(filename):
    261     raise IOError(f'{filename} is not a checkpoint file')
--> 262 checkpoint = torch.load(filename, map_location=map_location)
    263 return checkpoint

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:608, in load(f, map_location, pickle_module, **pickle_load_args)
    606             return torch.jit.load(opened_file)
    607         return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
--> 608 return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:777, in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
    771 if not hasattr(f, 'readinto') and (3, 8, 0) <= sys.version_info < (3, 8, 2):
    772     raise RuntimeError(
    773         "torch.load does not work with file-like objects that do not implement readinto on Python 3.8.0 and 3.8.1. "
    774         f"Received object of type \"{type(f)}\". Please update to Python 3.8.2 or newer to restore this "
    775         "functionality.")
--> 777 magic_number = pickle_module.load(f, **pickle_load_args)
    778 if magic_number != MAGIC_NUMBER:
    779     raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, '<'.

cat checkpoints/vfnet/vfnet_r50_fpn_mstrain_2x_coco_20201027-7cc75bd2.pth
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  AccessDenied
  <Message>Access denied by bucket policy.</Message>
  <RequestId>62FAB855D4FE7D31395A743C</RequestId>
  <HostId>openmmlab.oss-cn-hangzhou.aliyuncs.com</HostId>
  <Bucket>openmmlab</Bucket>
  <User>nosuchuser</User>
</Error>

Which version of IceVision are you running on? Try installing IceVision from the master branch and see if this still happens.


Update MLLifecycleManager to expose builder overload for UseAzureBlobStorage

Instead of passing in the connectionstring in the constructor, let's use a method, e.g.
public MLLifecycleManger UseAzureBlobStorage(string connectionString)
{
     //do stuff here
     return this;
}

Hi @aslotte , Just curious how you intended to be used?
Would it be like below?
MLLifecycleManger manager = new MLLifecycleManger();
manager.UseAzureBlobStorage(connString);
Are there plans to support other types of storage?

Hi @AnoojNair - great questions, so I'm envisioning something like this with method chaining
var manager = new MLLifecycleManager().UseAzureStorage(connectionString);

We're currently trying to use the simplest approach possible that will work when integrated into a GitHub action, thus an Azure Storage account is used (Blob storage for the model and a NoSQL Table Storage to store the metadata). We would also eventually need to store local mode, and I was envisioning a fileshare and a SQL database at that point but is totally open for ideas :)

With that said, I think it would be awesome if we can have this as a separate project (package). For example it could be named MLOps.NET.Azure

@AnoojNair would you like me to assign this issue to you to work on? Just want to make sure I don't accidentally work on it during my stream tomorrow if you want to have a look at it :)

Hi @aslotte , Yes sure you can assign it to me.

Thanks @AnoojNair!


Fixed swagger API documentation for POST /tasks/{id}/data endpoint

fix #1543

Motivation and context
Swagger Documentation is showing "/tasks[POST]" Request JSON for "/tasks/{id}/data" which is wrong.
How has this been tested?
Manual testing
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6676

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 69.08%

Totals

Change from base Build 6672:
0.04%

Covered Lines:
11182

Relevant Lines:
15669

💛  - Coveralls


[Bug] Fork and edit buttons can both appear simultaneously

Description
Fork and edit buttons can both appear simultaneously
Steps to reproduce:
[TODO]

@rishabhsaxena can we merge this?


Death on join

Everytime i join the server when the plugin is on, i die and lose all my stuff.
I dont know what is causing it and nothing is appearing in the console.

What version are you using?


How to use docker-php?

Downloaded docker-php and did "composer install".
My question is how to include docker-php in my php project.
Sorry for that dumb question but I never used composer before.
Thanks.

1/ install composer getcomposer.org
2/ require docker-php library composer require docker-php/docker-php inside your project folder
3/ include vendor/autoload.php in your php script

Thanks. So that's what my test php looks like:
$client = new Docker\DockerClient([
    'remote_socket' => 'tcp://debianserver:2375',
    'ssl' => false,
]);

$docker = new Docker\Docker($client);

$containers = $docker->getContainerManager()->findAll();

My docker daemon is up and 2 containers running. Firewall is disabled.

/usr/bin/docker daemon -H tcp://<IP_ADDRESS>:2375

And that's the output of the php script:

Array ( )

What am I doing wrong?

Do you have any container running ?
By default it will only show running containers, if you wish to retrieve all containers you should use the all parameters :
$containers = $docker->getContainerManager()->findAll(['all' => true]);

if use the ssl  how to config?
I set it like below:

$docker_certs_path = storage_path('certs');
$cafile = $docker_certs_path.DIRECTORY_SEPARATOR.'ca.pem';
$certfile = $docker_certs_path.DIRECTORY_SEPARATOR.'cert.pem';
$keyfile = $docker_certs_path.DIRECTORY_SEPARATOR.'key.pem';
$options['ssl'] = true;
$options['stream_context_options']['ssl'] = [
'cafile' => $cafile,
'local_cert' => $certfile,
'local_pk' => $keyfile,
'peer_name' => 'boot2docker',
];
$options['remote_socket'] = 'tcp://<IP_ADDRESS>:3376';
$client = new Docker\DockerClient($options);
$docker = new Docker\Docker($client);
$containers = $docker->getContainerManager()->findAll();
dd($containers);

it doesn't work. help me! thanks!

What is the error ?

@joelwurtz
can't enable tls
this is my enviroment:

php-curl php php-pdo php-pdo_mysql php-mcrypt php-openssl php-fpm php-zip php-xml php-xmlrpc php-pear php-sockets php-gettext php-iconv php-sysvsem php-sysvmsg php-pdo_pgsql php-snmp php-shmop php-sysvshm php-pdo_sqlite php-posix php-imap php-zlib php-xsl php-wddx php-intl php-ldap php-pcntl php-exif php-calendar php-ftp php-bz2 php-enchant php-json php-dom php-phar php-ctype php-gd php-bcmath php-bz2 php-memcache php-soap nginx

I use docker container to develope, and see :  https://github.com/simcu/docker-laravel
and  i have a issue #168 ,  both swarm or docekr daemon have the trouble.

@Mellnik does it work for you ? I will close this, if you still have a problem don't hesitate to reopen this.


Organize  team tournament.

Hello!
team tournaments are also held regularly. You plan to create organize  team tournament feature?.

I do not intend on implementing this. Anyone is able to write the code and create a pull request, though, if they'd like to create the functionality.


[Feature] Use TypeScript

🚀 Feature Proposal
Update this library to use TypeScript.
Motivation
Several developers have requested TypeScript types for this library. We could solve that problem in a few different ways. One way is to convert this codebase to TypeScript and include types for all publicly exported functions.
Here's a good doc about the advantages of TypeScript.
Related PRs
#30 - @camsjams shared some really helpful types here which would be a good starting point: https://gist.github.com/camsjams/b843637df7a30c260b341daf97a96d60
#53
Additional Info
The current use of PropTypes is powering the Storybook docs: https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalbuttons--default. We want to continue supporting PropTypes like this with using TypeScript. That may be one of the more challenging parts of the migration.
Any objections to migrating to TypeScript?
Any volunteers to take this work up?

@gregjopa I would like to work on this. I am learning TypeScript. So I guess it would be great if I take that.

@sahaparamjit that would be awesome! Happy to answer any questions you may have along the way.

Hi @sahaparamjit just wanted to check in. Have you had a chance to work on this? Let me know if you have any questions.

@gregjopa  I would also like to work on this. you made a great component... in javascript ha. I'm pretty good with typescript and would like to help. right now, i'm creating interfaces for my project and would like to contribute them the ts version of this when it's ready

@isaacewing that sounds great! I'd appreciate the help.

Hey there! I know this started a few days ago but would it be possible to have some updates? I am working on a React+Typescript project and I would be really happy to see this library updated to its TS version :smile:

Hello TypeScript friends! I started hacking on TypeScript for paypal-js and would appreciate a code review if anyone has time: https://github.com/paypal/paypal-js/pull/55. The idea is to add TypeScript to paypal-js and then to this library (which depends on paypal-js).
The idea with this design is paypal-js would provide type definitions for the whole JS SDK so everyone will know what's possible with window.paypal. I also think the rollup config work from this PR could be applied to react-paypal-js.

Hello guys! Happy New Year 😄
I see that paypal/paypal-js#55 is merged. Can we have an update on this issue as well please?

Hello guys! Happy New Year 😄
I see that paypal/paypal-js#55 is merged. Can we have an update on this issue as well please?

Hi @HunteRoi! Happy new year! I put together a PR for adding TypeScript: #71
Please review the PR and test out the beta!
Also, there are a lot of @ts-expect-error statements being used to avoid errors. I could use some help with cleaning these up. I would gladly accept PRs to this "typescript" branch.

Hi @HunteRoi! Happy new year! I put together a PR for adding TypeScript: #71
Please review the PR and test out the beta!
Also, there are a lot of @ts-expect-error statements being used to avoid errors. I could use some help with cleaning these up. I would gladly accept PRs to this "typescript" branch.

<EMAIL_ADDRESS>has been published to npm which includes TypeScript type definitions! Please upgrade to v4 and let me know your feedback!

<EMAIL_ADDRESS>has been published to npm which includes TypeScript type definitions! Please upgrade to v4 and let me know your feedback!


Introspection endpoint fails with JWT profile

Installed nuget package version: 5.0.14
Following the documentation from here: Authentication in Web APIs the Basic Auth with client_id and client_secret successfully validates the access token whereas the JWT profile does not. I'm able to load and parse the JSON from string and from file but the endpoint returns Unauthorized with the same test user in contrast to when using Basic Auth.
Are you able to reproduce this on your end?
Thanks & best regards

Hey @rebsp
Can you try to successfully parse the application from the JSON? RSA keys are picky sometimes when used in JSON.
In another project, we use it like follows:
public sealed class OidcConfig
{
    public string Issuer { get; init; } = string.Empty;

    public string JwtProfile { get; init; } = string.Empty;
}

.AddZitadeltrospection(
                "zitadel-v2",
                options =>
                {
                    options.Authority = _appConfig.Oidc.Issuer;
                    options.JwtProfile = Application.LoadFromJsonString(_appConfig.Oidc.JwtProfile);
                });

When you're able to successfully parse the application, the lib should allow you to authorize correctly. We do not experience the same issues. (This is an application that runs in production with 3000 users)

Hey @buehler thanks for the fast response!

Can you try to successfully parse the application from the JSON?

It parses successfully, but yeah I'll try again with your approach. I assume you are mapping a config section to that OidcConfig, right?

Exactly.
The JSON is correctly escaped, and the application is correctly parsed.
Do you use ZITADEL v1 or v2 (the cloud one)?
Do you have a ZITADEL instance and the correct issuer url and other configs?

v2.17.1 via Docker but you are right the issuer could actually be the culprit, I'll let you know asap

In my case, most of the time I forget the trailing slash in the issuer url.


Netlify Build Errors for middleman-core and thor

Hello,
I finished integrating a Middleman Project with Contentful and have been able to build the site locally. The problem I'm running into, though, is when building the site with Netlify. Netlify's build log prints the following:
11:27:17 AM: Gem bundle installed
11:27:18 AM: /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/data.rb:163:in `method_missing': undefined method `site' for #<Middleman::CoreExtensions::Data::DataStore:0x0000000320a820> (NoMethodError)
from /opt/build/repo/config.rb:66:in `initialize'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/extensions.rb:162:in `instance_eval'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/extensions.rb:162:in `initialize'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/data.rb:31:in `initialize'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/application.rb:213:in `initialize'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/request.rb:56:in `new'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/core_extensions/request.rb:56:in `inst'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/cli/build.rb:95:in `shared_instance'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/cli/build.rb:62:in `build'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/cli.rb:72:in `method_missing'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /opt/build/cache/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/lib/middleman-core/cli.rb:20:in `start'
from /opt/build/cache/bundle/ruby/2.1.0/gems/middleman-core-3.4.1/bin/middleman:18:in `<top (required)>'
from /opt/build/cache/binstubs/middleman:17:in `load'
from /opt/build/cache/binstubs/middleman:17:in `<main>'
11:27:18 AM: Cached ruby gems
11:27:19 AM: Cleaning up docker container
11:27:19 AM: Error running command: Build script returned non-zero exit code: 1
11:27:19 AM: Error running command: Build script returned non-zero exit code: 1
11:27:20 AM: Finished processing build request

I'm currently running Ruby 2.3.0p0 and Middleman 3.4.1 and you can find the project's repo here.
Any tips/help would be appreciated.

Hey @claudiovallejo,
Looks like you're doing somewhere in your code data.site. ... and the site key is not being recognized.
This can happen due to 2 different things:

Your data has not been pulled yet (either by running middleman contentful or other script that generates data)
You don't have any subfolder within your data folder called site (probably because the space alias in the contentful activation is different than site).

Hope that helps.
Cheers

Hi @dlitvakb, thank you for your help. Your suggestions helped me realize I was missing several steps to correctly integrate my Middleman project with Contentful.
Just for reference, the steps I was missing were the following:

Missing bundle exec middleman contentful && bundle exec middleman build in Netlify Build Command to pull the latest content changes prior to building Middleman project.
My .gitignore was ignoring /data, which prevents Netlify from pulling the most up-to-date content from Contentful
Created a Webhook with Contentful and integrated with Netlify and Middleman.

Also, I found this article on Contentful's blog which helped me understand what steps I was missing -> (Dynamic Product Management in a Static E-commerce Workflow)[https://www.contentful.com/blog/2016/02/10/snipcart-middleman-contentful/]


pin to macos-13 until arm64 is fixes

PR to pin to macos-13 since macos-latest now defaults to arm64 and there is a mismatch in expected architecture when running the unit test, as seen in https://github.com/hardbyte/netchecks/actions/runs/8819242277/job/24211182336

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on use-macos-13 at 91.541%

Totals

Change from base Build<PHONE_NUMBER>:
91.5%

Covered Lines:
303

Relevant Lines:
331

💛  - Coveralls


I have close button in overlay

hi,when I open a jbox and at the top right position in overlay element,I got a close button,I do not know how to cancel it.

You can set the option closeButton to false. See more about closing a jBox here: https://stephanwagner.me/jBox/options#closing-jbox

that button is on the overlay element,not the button on the title.
it's a SVG element.
I do not know how to disable it.
-_-!!!

Should work just fine: https://jsfiddle.net/StephanWagner/0rsLh7cb/

Thank you for your patience！！！
In the '#jBox-overlay' element , I got these elements :
<div class="jBox-closeButton jBox-noDrag">
    <svg viewBox="0 0 24 24">
        <path d="M22.2,4c0,0,0.5,0.6,0,1.1l-6.8,6.8l6.9,6.9c0.5,0.5,0,1.1,0,1.1L20,22.3c0,0-0.6,0.5-1.1,0L12,15.4l-6.9,6.9c-0.5,0.5-1.1,0-1.1,0L1.7,20c0,0-0.5-0.6,0-1.1L8.6,12L1.7,5.1C1.2,4.6,1.7,4,1.7,4L4,1.7c0,0,0.6-0.5,1.1,0L12,8.5l6.8-6.8c0.5-0.5,1.1,0,1.1,0L22.2,4z"></path>
    </svg>
</div>

Yes, thats the close button. Just check out the fiddle I posted, you can use the option closeButton: false to remove it:
Without close button: https://jsfiddle.net/StephanWagner/0rsLh7cb/
With close button: https://jsfiddle.net/StephanWagner/0rsLh7cb/3/
Feel free to update the fiddle to reproduce the issue you are having.

Yes, but what really puzzles me is  if  I set the option like this :
closeButton: 'title'
I got two close button , one is on the title and the other one is on the overlay !

and also if I set the option:
closeButton: false
I still got a close button on the overlay!

Can you show me an example, seems to work fine here:
https://jsfiddle.net/StephanWagner/0rsLh7cb/4/
Also, which version are you using, the newest one?

no ,not the newest one, it's 0.3.2.

I have updated it to the newest version and it work fine.
I have downloaded it for a long time and did not realize the updating.
Thanks for your patience,again!!!

Ok, I think I know what's happening, in version 0.3.2 jBox still shares the overlay, which I changed in a sub-version of 0.4.
You can try the following: In the onOpen method of the jBox which only should have the closeButton in the title, hide the button with CSS, and when jBox is closed, show it again.
add following to the options:
onOpen: function () {
  $('body').addClass('jBoxHideCloseButton');
},
onCloseComplete: function () {
  $('body').removeClass('jBoxHideCloseButton');
}

And add following CSS to your CSS file:
.jBoxHideCloseButton .jBox-closeButton {
  display: none;
}

See this fiddle:
https://jsfiddle.net/StephanWagner/c729na2s/1/

Oh OK, just seen you updated... Glad its works now.
If you have more questions, feel free to open another issue!


Getting "Visual Studio Code has crashed" a few times

The last three days, when I come into work, I get this dialog. Is there an error log or crash dump I can attach that will help to diagnose?

@gwynjudd is this happening when you leave Code running over night e.g.?

Yes that's when I've noticed it. When I login in the morning it has happened.

We need to improve our crash handling to find out what the cause of this crash actually is. This is on our backlog.

Has the same issue. I'm on Windows 10 Pro 64 bit and the Code always stop working around half an hour or so. Well... It's not responding to any input (although the task manager didn't say "Not responding"). But after a while, the Code will show, "... not responding.  Is there any particular issue regarding php editing?

Yes, #160

Closing as duplicate of #160.


NotImplementedError

Environment Information

OS: ubuntu 14.04
Neovim version: NVIM 0.1.3-dev

Provide a minimal init.vim with less than 50 lines (Required!)
" Your minimal init.vim
set runtimepath+=~/path/to/deoplete.nvim/
set runtimepath+=~/path/to/deoplete-jedi/
let g:deoplete#enable_at_startup = 1

Screen shot (if possible)

@yevhen-m Maybe same as https://github.com/zchee/deoplete-jedi/issues/30
The debug information is less, So tries to resolve in that thread.

Solved https://github.com/zchee/deoplete-jedi/issues/30
Could you test it?
and, If you still have occur errors, Please reopen the issue.


[release-0.23] Upgrade to latest dependencies

webhook fixes -dprotaso
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/networking ace2d33...4b1712c:
  > 4b1712c Update Knative dependency for release-0.23 (# 433)
bumping knative.dev/hack 93ad912...509255f:
  > 509255f Do not print debug info when running release.sh (# 71)
bumping knative.dev/pkg 4564797...8d4b5e0:
  > 8d4b5e0 [release-0.23] allow unknown metadata fields (# 2256)
  > a0d1c92 Drop redundant pointers and decoders (# 2261)

noop


Irrelevent folder JSprojects>Weather-App-main deleted

Title and Issue number

Irrelevant folder needs to be deleted #2845
Close #2845

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented the code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121
kindly merge it.

Hello @MohitGupta121 ,
Title
Irrelevant folder name node modules are there which is not required
Location: Dev-Geeks\Js-Projects\Weather-App-main
Need to delete it.
Why is it required: Organising the code
Already mention in the issue.

Hello @MohitGupta121 ,
Title
Irrelevant folder name node modules are there which is not required
Location: Dev-Geeks\Js-Projects\Weather-App-main
Need to delete it.
Why is it required: Organising the code
Already mention in the issue.


Missing dependency on lxml

The results of generateDS are supposed to be compatible with the standard library's XML parser, but in my experience, that doesn't work.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/velovix/.virtualenvs/cooltest/lib/python3.8/site-packages/pyfixm/__init__.py", line 32121, in parse
    rootObj.build(rootNode, gds_collector_=gds_collector)
  File "/home/velovix/.virtualenvs/cooltest/lib/python3.8/site-packages/pyfixm/__init__.py", line 28761, in build
    self.ns_prefix_ = node.prefix
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'prefix'

However, if lxml is installed, the parsing works fine.

wait hold up... this seems very similar to the error we got when using the xmlschema library?


so it's only me or anybody else is also getting slower rendering

i have just chcked lighthouse report and for performance it's terrible,

In my case I don't have any slow render issue

have you checked your lighthouse report?

@bharat5604 check this out

yes see FCP, LCP and speed index, this is slow

@bharat5604 hmm I think it's just okay because the project is under development and we need to focus on features, bug etc..
It's not perfect time to discuss about speed and performance

I'm rewriting the thing to make it more optimize and stuffs. Will follow the new mental models of next.js 14. Will support ppr, optimistic from updates and so on.

okay cool,


[NOT TO MERGE] Jpa example h2 mem hibernate

Adapted the H2 mem in other to test JDBC changes in Lagom 1.4.0-SNAPSHOT

merger master into h2 mem branch
added H2 dependency
removed front-end because of webjar dependencies issues (didn't want to lose time with it)
added ServiceCall in Chirp Service to retrieve data from JPA

I don't even remember what was that. Closing...


added jwt-key-file option

Description
This adds the ability to have a JWT Key file for login.gov to be specified by a filesystem path as well as the environment variable.  It also adds some stuff to the build process so that a jwt key file can be copied in at build time.
Motivation and Context
This is useful for GCP App Engine custom runtime builds, because you cannot use multiline variables in their app.yaml, so you have to build the key into the container and then tell it where it is by setting OAUTH2_PROXY_JWT_KEY_FILE=/etc/ssl/private/jwt_signing_key.pem in app.yaml instead.
How Has This Been Tested?
I have tested this through go test ./... and through using this code in my own GCP pilot project.
Checklist:

[X] My change requires a change to the documentation or CHANGELOG.
[X] I have updated the documentation/CHANGELOG accordingly.
[X] I have created a feature (non-master) branch for my PR.

Just in case it's not clear, the empty jwt key file that is generated in the Dockerfiles should have zero effect on anything.  It's only there so that you can copy a signing key in while doing a custom build and use it in GCP with the login.gov provider.  An example of that can be found here:  https://github.com/18F/gcp-appengine-template/blob/3c9c979c1f519b7546c77feecfeca4189e79e835/.circleci/config.yml#L311-L341

Any comments here?  This is the last change remaining that is preventing me from using upstream for my project.  No rush or anything, but I just wanted to make sure that this wasn't forgotten.  :-)

OK.  I think I have incorporated all your suggestions.  The commandline option list in the README looks big, but I just updated it to the output of oauth_proxy -h from master, which seems to have a different format now.  Let me know what you think!

OK.  Travis is unstuck now.  Should be ready to go!

Done!  Rebasing/squashing is not something that I normally do, so please check my work.  :-)
Thanks for being responsive!


[instagram:user] Broken

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.06. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.11.06

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
WARNING: The url doesn't specify the protocol, trying with http
[instagram:user] prattprattpratt: Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 506, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2195, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Instagram suddenly not working. Http Error 404 on all downloads. SUDDEN: was working fine last night.

I heard something about an Instagram site change.. This might be the cause.

Usually, if I type youtube-dl

http://www.instagram.com/

and a non-private username, youtube-dl will download all the videos for that user. This has worked for years . Since yesterday, it gets to page 1, then returns and http Error 404 user not found error. This is a very sudden bug as it has always worked for years. I tried below (with kin kardashian as an example):
'''
Mac-mini:~$ youtube-dl --verbose https://www.instagram.com/kimkardashian/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.instagram.com/kimkardashian/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.06
[debug] Python version 2.7.10 - Darwin-17.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[instagram:user] kimkardashian: Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 506, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2195, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
result = self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
result = self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
'''

It seems instagram dropped (or just currently broke?) support for public URLs in the form instagram.com/USERNAME/media, used by the extractor.
See also recent comments at:
https://stackoverflow.com/questions/35120738/why-does-instagram-com-user-media-give-the-json-for-that-users-feed
https://stackoverflow.com/questions/17373886/how-can-i-get-a-users-media-from-instagram-without-authenticating-as-a-user/

See also recent comments at:
...

There is a  solution proposed on the stackoverflow pages I linked above.
I've tested it in another project and it seems to work, though I'm not able to implement it for youtube-dl, sorry. Anyway, the changes required in /extractor/instagram.py are:

The URL for downloading the relevant JSON has changed from: http://instagram.com/USER/media to http://instagram.com/USER/?__a=1
To get the next JSON block of data (next 20 items), you can append &max_id=ID to the URL, where ID is the one of the last item in the current page, i.e. the JSON object user.media.nodes.id (the JSON syntax has changed, the items object doesn't exist anymore)

Any chance of a fix for this in a future update? It has completely hamstrung pretty much everything I do on instagram.

Thanks for the fix! But, there's a problem when using the --write-pages option: all the pages are saved with the same file name, so they get overwritten and I'm left only with the last page. The previous implementation correctly had unique file names by including a max_id=... chunk in the name

Has this been fixed? Still not working for me.

How do I implement the fix? I've tried Youtube -U but still the same problem

Wait for the next release.


docs(readme): Update features list and documentation

Current coverage is 100% (diff: 100%)

Merging #111 into master will not change coverage

@@           master   #111   diff @@
====================================
  Files          13     13
  Lines         180    180
  Methods        42     42
  Messages        0      0
  Branches       25     25
====================================
  Hits          180    180
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 3dd17d7...c350109


Lore Warden and Warlord cannot be chosen

I use 'multiple archetype' mod simutaneously, and that may cause fighter archetypes Lore Warden and Warlord not able to be selected which are gray, can't be clicked.
Eldritch Guaedian should lose his bravery at lv 18, incidentally.

Multiple archetype works fine for me, hmm.
I'll remove that extra bravery next patch!

It breaks somehow when using a certain mod. Since my code looks fine? it's probabaly has something to do with their content.
We are unable to narrow down which mod it is at the moment, so if anyone else encounter this issue, post your mod list here and we can cross check

I trigger it when testing something else lol
Investigating...

The problem mods are EnduringRework and MicroscopicContentExpansion.

I have no problem running with those while I trigger the bug when I make myself load after TTT-base
So I did something about it...
Hopefully v1.5.0 won't have this issue!

Problem solved. Thanks for the fix!


[Feature]: Show subcategories in mobile navigation menu

How the project can be improved?
Hi, is it possible to add subcategories in mobile menu pls ?

Hi,
the feature will be released in v1.2.0, so I close this issue ;)


Keyboard Shortcut to Reset Window Positions in manual GUI view

Also return focus to Averaged waveform after window position reset (maybe not working because I also have the PSTH window open)

Keyboard shortcut  1 is assigned to reset window positions when the Main window is selected. The focus is returned back to the main window (v4.5.6).


fix(CobbAngle): Show angle measurement text box

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? Bug fix

What is the current behavior? https://github.com/cornerstonejs/cornerstoneTools/issues/714

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? NO

Other information:

Thanks for this PR! It looks like we may be hitting an issue in our build where a version of event-stream was removed for security reasons, so npm install is broken.
I'll look into fixing this in a separate PR so I can unblock your fix from a merge. I hope that makes sense.

Working in the netlify preview!

@all-contributors please add @daniel2101 for this awesome code contribution! ^_^

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Only one day account available - unable to connect

Hi
I have an issue with using JavaSkype. When I create new account Skypebot works good. But after one - two days I am unable to use skype.connect() method. The code is stuck on this method and the only way to avoid it is to create a new account and use connect for a new account. I only used connect method and I didn't use disconnect method. It is possible if I will not use disconnect method my bot account will be blocked?
Regards,
Wojciech

@rissekwow I have the same issue. Did you solve it?

@rissekwow  @ChmilevFA I don't know if it's the same problem, but you mentioned the code is stuck on connect(), and we also experienced this.
Could you please test again with the changes on #46 and see if it helps? We've been succesfully (until now) using it with our accounts. This change to NotifConnector in particular should solve the infinite loop:
https://github.com/delthas/JavaSkype/pull/46/commits/bd951a1180b1e5690de6e1bf8462b81deca51830#diff-648855617f289116bbea49858961ee7fR703
authenticated = false;
The debug logs could be helpful as well, if you could post them here.

Hi all,  Same issue here.  Yesterday I used JavaSkype for this first time.    Worked perfectly.
Fast forward one day and now as previously reported it just hangs on the connect() method.
I have enabled debugging and attached my log file.  (My username has been replaced by xxxxxxx and my contact names changed, otherwise it is as is).  ps.  Is my decrypted password here?  (In which case I should change it).
javaskypelog.txt
Thanks/Steve


Is it possible to suspend the view manually?

I'm using background mode (geolocation) to handle long-running TCP/IP connection while the application running in the background.
I have a case, the TCP/IP connection can be terminated by remote side and I want to suspend the app. I'm turning off geolocation tracking, but WKSuspendInBackground=false option prevents app to be suspended as I expect.
When the TCP/IP connection terminate I send Local Notification to the user about that. So, without WKSuspendInBackground=false it doesn't work. Because webview suspended immediately when application enters background mode. So, I can't notify a user (JS suspended).
The best solution for me is to suspend webview manually, after TCP/IP connection termination. Is it possible to do that?

No, it's not possible and WKSuspendInBackground is going away soon.
If it's the server what terminates the connection, what about sending a push notification?

Hi, it's 3rd party server, I have no access, unfortunately.


Async data tree bug

Hello,
I discovered a bug(?) in v3 async tree. This bug can be replicated in the Async data tree demo.
First if a user opens e.g. three levels of child nodes under a parent, then closes the parent and opens another parent, some of the previous parents nodes pop open as well.
See gif =>

@atarvainen, thanks, that's definitely a bug. I'll take a look.

@atarvainen, thanks, that's definitely a bug. I'll take a look.

@Lodin I'm currently running into the same issue.
I did some digging and I believe I found the bug.
In generateNewTree, when it's traversing over the nodes, it says
if (currentRecord.isShown) {  order.push(currentRecord.public.data.id);  }
Meaning it adds it to the list to show regardless of whether or not it's parent is showing
This should take care of that issue it checks to see if there is a parent and if there is, verify my parent is also being shown
if (currentRecord.isShown && (!currentRecord.parent || currentRecord.parent.isShown))

I opened a pull request https://github.com/Lodin/react-vtree/pull/53

Any luck getting the pull request in?

For what it's worth I did some local testing with the PR above - It seems to work as long as you are using a 1-level deep tree structure. If you have children of children, it does not persist all the way back, leaving the root issue still exposed.

How would I go about doing the local testing @CoreAutomation-JD? It's probably a simple thing to do it, but I'm not sure how

Here is the updated pull request https://github.com/Lodin/react-vtree/pull/54

Fixed in #54

Released in<EMAIL_ADDRESS>Note that now you need to use the beta tag to install the 3.0.0 version because I have released 3.0.0-beta.0 as latest by mistake.


DataTable warning after update to  crud 3.4 when using enableDetailsRow

Bug report
With: Crud Listview with ->enableDetailsRow() - List view shows following warning:
DataTables warning: table id=crudTable - Requested unknown parameter '7' for row 0. For more information about this error, please see http://datatables.net/tn/4
What I did:
Upgraded from Crud 3.3 to Crud 3.4
What I expected to happen:
Datatable is loaded without warnings, Details Row shows up.
What happened:
What I've already tried to fix it:
disabledDetailsRow() -> Warning disappears
Backpack, Laravel, PHP, DB version:
"php": ">=7.1.3",
"backpack/base": "^0.9.0",
"backpack/crud": "^3.4.0",
"laravel/framework": "5.6.*",
mysql 5.7.11

Sorry, there was a custom list.blade.php without @include('crud::inc.details_row_logic')


Getting Exceptional Error in Product Preview in Admin End.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
Master
Issue Description
When we create/view a product in admin end, catalog section, there in product create/edit form is having preview button, when clicking on same we are  getting exceptional error.
Preconditions
Setup was done with English locale.
Admin Should be logged.
Now Change the Admin Locale en to it, in .env file.
Create a product.
Shop Page should be in English Locale.
Steps to reproduce

Go to Admin -> Catalog -> Products -> Create/Edit -> Preview Button.
Click on it -> See the exceptional error.
This is appearing in other locale except English.

Expected Result
There should be no exceptional error. and product should preview.
Actual Result
Please check  the video for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/eff51c2e-f9f1-404c-b657-18288dd7d001
Screenshots
No response
Additional context
No response

As per the discussion, this issue seems to be an invalid issue.

First when installing Bagisto if English locale is seleted, that means admin is added with English locale.
If any product is created and if you want to see that product to be visible with other locale then while creating/editing the product, we need to add Details in that locale.
This is the  complete scenario for the working of product locale.


Nested tabs no longer working

Current behavior
Previously, when rendering a nested tab UI inside of a TabPanel, the nested tabs behaved normally. Now, selecting an inner tab affects the pattern tabs.
Steps to reproduce the bug
Version 0.3.14 works fine
https://stackblitz.com/edit/ariakit-rbzvhn?devToolsHeight=33&file=src%2FApp.tsx
Version 0.4.0 no longer works
https://stackblitz.com/edit/ariakit-gkymik?devToolsHeight=33&file=src%2FApp.tsx,package.json,src%2Findex.tsx
Expected behavior
When clicking a nested tab, I don't expect it to have any effect on a parent tab.
Workaround
Don't use nested tabs?

Thanks for reporting. Indeed, there's a regression in v0.4.2.
For now, you can circumvent this issue by explicitly passing composite={null} to the TabProvider component:
// TODO: Remove the composite prop when https://github.com/ariakit/ariakit/issues/3550 is resolved
<TabProvider composite={null}>

Also, could you elaborate on your use case for nested tabs? It would help us create an example and ensure we don't break this again in the future.


Build app for ios

Hello. I have problem where build application for IOS.

@Anton-1408 We have published a new version 1.1.2 with the fixes which will be available soon. Please try that.
Thanks

@arpansharma7474  Cool. Thank!


Can you post an example with TabBar and Icon,Thanks

Current behaviour

Expected behaviour

Code sample

Screenshots (if applicable)

What have you tried

Your Environment

software
version

ios or android

react-native

react-native-tab-view

react-native-gesture-handler

react-native-reanimated

node

npm or yarn

https://github.com/react-native-community/react-native-tab-view/blob/master/example/src/TabBarIconExample.js


Improved instance of blist

Hello,
this is not an issue but an improvement.
When instance the blist with:
a=blist([1,2,3])
when building large nested lists I loose a lot of time because we instance a list and afterwards the blist object (we have to instance two objects).
It would be better to use:
a=blist(1,2,3,4)
and in case somebody want's to put a list he must use:
mylist=[1,2,3,4]
a=blist(*mylist)
I know the impact is very high because this is a change in the interface which makes the old codes of the users incompatible. But maybe you can provide a second blist class (blist2) in the package which uses this way of instancing.
I like your package a lot!

After some more investigations I found that quickest way to instance a blist with just one element is:
a=blist((yield 1))
Maybe this can be mentioned in the description.


IFU-0: Reaction to environment things from helfi

This is to either expose or correct the issue of server error and can be tested on dev environment. Try different browsers, clearing cache, etc. Inform if you get a 404 or 500 error on either frontend or backend in dev.

This needs further investigation.


Update DEV_DB_CONN_STRING so that it is renamed to TEST_DB_CONN_STRING

A minor issue: DEV_DB_CONN_STRING should be renamed to TEST_DB_CONN_STRING for clarity in the following places:

Where it is referenced in the code.
The README
The Github Action variable name (not the Github Secret reference, which can remain so we don't have to go through the pain of changing it)

This is as a point of clarity more than anything else, as a way to make it clear that this is for running tests.
Alternatively, it's an open question as to whether this environment variable should be eliminated entirely in favor of keeping DO_DATABASE_URL. In practice, these two variables are almost always the same. However, DO_DATABASE_URL is used solely for functionality of app.py, and it may be worthwhile to maintain that separation of concerns, even if there is redundancy involved.

Nice! all in favor of naming consistency! github secrets aren't too hard to change, are they?


Allow forwarding event handlers without wrapper function in Components

Closes #48. solid/reactivity has a warning in place to let people know about the following:

Events are never rebound and the bindings are not reactive, as it is expensive to attach and detach listeners. Since event handlers are called like any other function each time an event fires, there is no need for reactivity; shortcut your handler if desired.

However, a demo revealed that this doesn't apply to components, and passing a function-valued prop as an expression (ex. <Comp onClick={props.onClick}) works normally. I adjusted the rule to treat event handlers on components the same as other props.

Any update on this? 😀


Error S is not supported

On running the workflow it shows an error "S is not supported"

S has been renamed to 12 in the following commit: https://github.com/erfanoabdi/ErfanGSIs/commit/c7bc816b5c8496c182469f9a86203ca26a74ace1


Update streamlit_app.py

Fixed issue with number_of_datasets

@YoussefO07 your solution is correct. So that you are aware
len(df)

should work as well.


chore: ansible improvements

Issue being fixed or feature implemented

Errors and deprecation warnings were being thrown in ansible:

Error processing new output from Terraform 1.0.5 update
Error while testing Insight container status
General difficulty reading errors
Deprecation warning about Ansible docker_container community plugin syntax
Deprecated package warnings
Linter warnings

What was done?

Fix Terraform output
Register variable before test and test correct variable
Format output
Specify future behaviour after default behaviour deprecation
Update some packages and linter to resolve build warnings

How Has This Been Tested?

Tested deploying devnet-schnapps with latest Terraform (1.0.5) and Ansible (2.11.4)
Breaking Changes

None
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

Dockerfile does not need updating because Ansible is installed from pip, which always has the latest versions. Ansible itself will update rapidly (mostly due to rolling release on 3 week schedule to always have up-to-date included community plugins) but ansible-core follows a more conservative release schedule and will through warnings and deprecations for many months before failing.
Ansible requirements have been updated and are tested on devnet-schnapps. Elastic was not updated yet due to licensing uncertainty and because 7.11.1 (last fully open source version) is still working fine, maybe we can do this separately if it becomes necssary.


[BUG] Slash command with "Attachment" option type gives an error

Describe the bug.
When trying to accept an attachment argument in a slash command, the library gives an error:
AttributeError: 'Attachment' object has no attribute '_client'
List the steps.
Example test script
import interactions

if __name__ == "__main__":
    bot = interactions.Client(token="YOUR_TOKEN_HERE")

    @bot.command(
        name="attach",
        description="Some description",
        scope=YOUR_SCOPE_HERE,
        options= [
            interactions.Option(
                name="image",
                description="Attached image",
                type=interactions.OptionType.ATTACHMENT,
                required=True
            )
        ]
    )
    async def attach(ctx: interactions.CommandContext, image: interactions.Attachment):
        await ctx.send("Success")

    bot.start()

What you expected.
I expected the bot to reply with "Success".
What you saw.
Instead, I received this traceback error given from my Python terminal:
Traceback (most recent call last):
  File "................/test.py", line 23, in <module>
    bot.start()
  File "................/python3.9/site-packages/interactions/client.py", line 109, in start
    self._loop.run_until_complete(self._ready())
  File "................/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "................/python3.9/site-packages/interactions/client.py", line 307, in _ready
    await self._login()
  File "................/python3.9/site-packages/interactions/client.py", line 312, in _login
    await self._websocket._establish_connection(self._shard, self._presence)
  File "................/python3.9/site-packages/interactions/api/gateway.py", line 209, in _establish_connection
    await self._handle_connection(stream, shard, presence)
  File "................/python3.9/site-packages/interactions/api/gateway.py", line 277, in _handle_connection
    self._dispatch_event(event, data)
  File "................/python3.9/site-packages/interactions/api/gateway.py", line 340, in _dispatch_event
    _type[option.value]._client = self._http
AttributeError: 'Attachment' object has no attribute '_client'

What version of the library did you use?
release
Code of Conduct

[X] I agree to follow the contribution requirements.

Closing in favour of #568 .


device property question

What is the HIP device property corresponding to the maximum memory allocation size in OpenCL ?
Thanks

@jinz2014 Apologies for the lack of response.  Do you still need assistance with this ticket? Thanks!

Could HIP add a property for the maximum memory allocation size if it is not available ?

@jinz2014 HIP is constrained by the Cuda API.  There is no plan to add this feature at the moment. Thanks!


qt6Packages.quazip: init

Description of changes
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Any qt6 program that depending on this lib so we can test it's functionality?

Any qt6 program that depending on this lib so we can test it's functionality?

I used it to build PolyMC and it works. We probably don't have anything that depends on Qt6 build of this library in nixpkgs.
Also added qt5compat to propagatedBuildInputs because:
find_dependency(Qt6 REQUIRED COMPONENTS Core Core5Compat)


fixed policies problem to githubaction role

Terraform Format and Style 🖌failure
Terraform Initialization ⚙success
Terraform Validation 🤖success
Validation Output

Success! The configuration is valid.

 Resource actions are indicated with the following symbols:
  + create
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.my-vpc.aws_eip.nat[0] is tainted, so must be replaced
-/+ resource "aws_eip" "nat" {
      ~ allocation_id            = "eipalloc-007ea1c52ebf7f6fc" -> (known after apply)
      ~ arn                      = "arn:aws:ec2:eu-west-3:227522807132:elastic-ip/eipalloc-007ea1c52ebf7f6fc" -> (known after apply)
      + association_id           = (known after apply)
      + carrier_ip               = (known after apply)
      + customer_owned_ip        = (known after apply)
      ~ id                       = "eipalloc-007ea1c52ebf7f6fc" -> (known after apply)
      + instance                 = (known after apply)
      + ipam_pool_id             = (known after apply)
      ~ network_border_group     = "eu-west-3" -> (known after apply)
      + network_interface        = (known after apply)
      + private_dns              = (known after apply)
      + private_ip               = (known after apply)
      + ptr_record               = (known after apply)
      ~ public_dns               = "ec2-15-237-35-162.eu-west-3.compute.amazonaws.com" -> (known after apply)
      ~ public_ip                = "<IP_ADDRESS>" -> (known after apply)
      ~ public_ipv4_pool         = "amazon" -> (known after apply)
        tags                     = {
            "Name"                                 = "my-vpc-eu-west-3a"
            "kubernetes.io/cluster/my-eks-cluster" = "shared"
        }
      ~ vpc                      = true -> (known after apply)
        # (3 unchanged attributes hidden)
    }

  # module.my-vpc.aws_nat_gateway.this[0] will be created
  + resource "aws_nat_gateway" "this" {
      + allocation_id                      = (known after apply)
      + association_id                     = (known after apply)
      + connectivity_type                  = "public"
      + id                                 = (known after apply)
      + network_interface_id               = (known after apply)
      + private_ip                         = (known after apply)
      + public_ip                          = (known after apply)
      + secondary_private_ip_address_count = (known after apply)
      + secondary_private_ip_addresses     = (known after apply)
      + subnet_id                          = "subnet-087ff0990e7ff97bf"
      + tags                               = {
          + "Name"                                 = "my-vpc-eu-west-3a"
          + "kubernetes.io/cluster/my-eks-cluster" = "shared"
        }
      + tags_all                           = {
          + "Name"                                 = "my-vpc-eu-west-3a"
          + "kubernetes.io/cluster/my-eks-cluster" = "shared"
        }
    }

  # module.my-vpc.aws_route.private_nat_gateway[0] will be created
  + resource "aws_route" "private_nat_gateway" {
      + destination_cidr_block = "<IP_ADDRESS>/0"
      + id                     = (known after apply)
      + instance_id            = (known after apply)
      + instance_owner_id      = (known after apply)
      + nat_gateway_id         = (known after apply)
      + network_interface_id   = (known after apply)
      + origin                 = (known after apply)
      + route_table_id         = "rtb-06b7ebce9ba877de0"
      + state                  = (known after apply)

      + timeouts {
          + create = "5m"
        }
    }

  # module.s3_bucket.aws_s3_bucket.this[0] will be created
  + resource "aws_s3_bucket" "this" {
      + acceleration_status         = (known after apply)
      + acl                         = (known after apply)
      + arn                         = (known after apply)
      + bucket                      = "nasa-data-bucket"
      + bucket_domain_name          = (known after apply)
      + bucket_prefix               = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = false
      + policy                      = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = (known after apply)
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + cors_rule (known after apply)

      + grant (known after apply)

      + lifecycle_rule (known after apply)

      + logging (known after apply)

      + object_lock_configuration (known after apply)

      + replication_configuration (known after apply)

      + server_side_encryption_configuration (known after apply)

      + versioning (known after apply)

      + website (known after apply)
    }

  # module.s3_bucket.aws_s3_bucket_acl.this[0] will be created
  + resource "aws_s3_bucket_acl" "this" {
      + acl    = "private"
      + bucket = (known after apply)
      + id     = (known after apply)

      + access_control_policy (known after apply)
    }

  # module.s3_bucket.aws_s3_bucket_ownership_controls.this[0] will be created
  + resource "aws_s3_bucket_ownership_controls" "this" {
      + bucket = (known after apply)
      + id     = (known after apply)

      + rule {
          + object_ownership = "ObjectWriter"
        }
    }

  # module.s3_bucket.aws_s3_bucket_public_access_block.this[0] will be created
  + resource "aws_s3_bucket_public_access_block" "this" {
      + block_public_acls       = true
      + block_public_policy     = true
      + bucket                  = (known after apply)
      + id                      = (known after apply)
      + ignore_public_acls      = true
      + restrict_public_buckets = true
    }

  # module.s3_bucket.aws_s3_bucket_versioning.this[0] will be created
  + resource "aws_s3_bucket_versioning" "this" {
      + bucket = (known after apply)
      + id     = (known after apply)

      + versioning_configuration {
          + mfa_delete = (known after apply)
          + status     = "Enabled"
        }
    }

Plan: 8 to add, 0 to change, 1 to destroy.

Changes to Outputs:
  + bucket_name = (known after apply)

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @jingxp, Action: pull_request


Available on NPM

Is there any reason why this package is not available on npm?
IMO, it seems like it would be significantly easier to use (install, update, track, etc.), if it was installable via a package manager.
Also, you could take advantage of npx for the CLI use cases and execute it via something like the following:
npx health-cards-validator --path data.smart-health-card --type healthcard

I think it'd be good to publish to NPM, but do keep in mind that currently you can still use via CLI from github, e.g. to install based on the current default branch:
 npm install github:smart-on-fhir/health-cards-validation-SDK

Or a specific release:
npm install github:smart-on-fhir/health-cards-validation-SDK#v1.0.0-4

(I think we'd need to configure package.json differently for this project to work with npx -- whether via github URLs or via NPM package registry. Might need to set up default scripts / commands to support this, with ts-node? I'm not sure what's required, but npx right now suggests it "can't find" the "executable".)

I opened a PR, which makes shc-validator available as a command (#141) and then updated the docs to make some things a bit clearer. For me at least, it was a bit confusing figuring out how to use the tool. I'm open to feedback and happy to make any changes to the PR (or split it up). Let me know.

Is there any reason why this package is not available on npm?

Originally, the SDK (which in retrospect isn't the best name, because it's not a SDK to develop software, but a tool to validate other implementations) was meant as an end-user tool, not to be incorporated into other apps through npm. We were thinking about reducing its footprint with common, reusable code and make that a npm package; this hasn't materialized and we've since added skd-ish functionality (such as a callable API). It makes sense now to revisit the npm distribution.
Thanks for the PR; @ljoy913 has been working with the API and the related portals (and also looked at npm packaging before), so I'll let him review to make sure your approach is compatible with the roadmap.

I need to validate a smart health card in another project and have started to write my own validator logic. I decode the JWS, inflate the payload, resolved the issuer's public key, check the signature, parse out the FHIR bundle, etc. It's not trivial, and I have run into a few gotchas. Personally, I think the QRCode translation between numeric and ut8 is particularly confusing.
IMO, I think it makes sense for there to be a reusable node / npm package that correctly implements all of those features. It would make it quite a bit easier for other projects that want to adopt and implement smart health card functionality (ie - I'd rather contribute to this project than write my own validator from scratch and I'm sure a lot of people just want a plug and play implementation of the spec, rather than having to code it themselves).

Yes, having libraries/package for implementing validation of SMART Health Cards would be valuable (for node/npm and other languages), but that's not something we set out to do since we don't implement a validation app; our goal was always to create a implementation validation tool, to insure conformance with the spec. Our code contains more checks and validations than needed, with extra on-failure steps to figure out how a failure occurs to give feedback to an implementer. This being said, someone could take our code and extract the minimum functionality to create such a package.

Hi ,
How to implement health-cards-validation-SDK in angular9 Project

Hi ,
How to implement health-cards-validation-SDK in angular9 Project

The health-cards-validation-SDK was originally designed as a command-line tool to validate SMART Health Cards.
It does have an exposed API to allow programmatic use, however it cannot currently be used standalone in a client.
You could create a server that performs the validation calls - and have your Angular client make calls to the server for its validation.

Thank you for the response.
How to validate QR image getting as  input from client side,instead of command-line

Closing this as a stale issue. The tool is available to install through NPM using a GitHub based dependency.


Feature request: Global .env picker

In my workflow I often switch between 2-3 .env files while running couple of different test suites from the same project.
In order to do this I have to navigate to run/debug settings then to EvnVar tab and make selection there.
For my case it would be great if there was a easily accessible global place (e.g. toolbar or menu) where I can switch between files and selection would automatically apply to all run/debug settings that I have in my workspace.

Can't believe this issue is old 11 days only. This feature should be there a long time ago.

Would welcome contributions!


support ansible version 1.9.x

System Information:
Mac - 10.10.2
Python - 2.7.5 / 2.7.6
config.yml
---
cache_dir: ~/Library/Caches/battleschool

sources:
#  local:
#    - playbook.yml

  url:
    - name: playbook.yml
      url: https://db.tt/VcyI9dvr

  git:
    - name: 'osx'
      repo: 'https://github.com/spencergibb/ansible-osx'
      playbooks:
         - homebrew.yml                 #must come before any use of homebrew module

Error
(python-2.7.5)kapasdevmac12fm:~ rhasija$ battle
Traceback (most recent call last):
File "/usr/local/bin/battle", line 7, in
sys.exit(main(sys.argv[1:]))
File "/Library/Python/2.7/site-packages/battleschool/main.py", line 95, in main
help="set additional key=value variables from the CLI")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/optparse.py", line 1020, in add_option
self._check_conflict(option)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/optparse.py", line 995, in _check_conflict
option)
optparse.OptionConflictError: option -e/--extra-vars: conflicting option string(s): -e, --extra-vars
(python-2.7.5)kapasdevmac12fm:~ rhasija$

@RaviH what version of ansible?

<IP_ADDRESS>

It seems the error is originating in Python. Do you think something is
wrong with the python installed on my machine?
On Apr 6, 2015 3:30 PM, "Spencer Gibb"<EMAIL_ADDRESS>wrote:

@RaviH https://github.com/RaviH what version of ansible?
—
Reply to this email directly or view it on GitHub
https://github.com/spencergibb/battleschool/issues/25#issuecomment-90251215
.

Same here, Yosemite 10.10.2 too, Python 2.7.6, ansible <IP_ADDRESS> (the one installed by sudo pip install battleschool).
Battleschool was basically the very first thing I ran on that machine, right after this:
sudo easy_install pip
sudo python -m easy_install pyyaml
sudo pip install battleschool
battle

It's definitely a problem with ansible <IP_ADDRESS>.  I upgraded from 1.8.x and get the same error.  I'll look at fixing it tonight (after work) unless someone wants to jump in before then.

Correct. It seems like ansible <IP_ADDRESS> issue. I removed that and installed
1.8.4 and now I get:
Mac OSX: 10.10.2
Python: 2.7.6
Ansible: 1.8.4
*## Executing playbook
/Users/rhasija/Library/Caches/battleschool/osx/sublime2.yml
################################ *

Task OK: setup

Task FAILED: mac_pkg Traceback (most recent call last):

  File
"/Users/rhasija/.ansible/tmp/ansible-tmp-1428420410.62-215587963418155/mac_pkg",
line 2184, in <module>

    main()

  File
"/Users/rhasija/.ansible/tmp/ansible-tmp-1428420410.62-215587963418155/mac_pkg",
line 579, in main

    installer.install(acquire_only)

  File
"/Users/rhasija/.ansible/tmp/ansible-tmp-1428420410.62-215587963418155/mac_pkg",
line 492, in install

    failed = pkg.install(archive.pkg_path())

  File
"/Users/rhasija/.ansible/tmp/ansible-tmp-1428420410.62-215587963418155/mac_pkg",
line 413, in install

    shutil.copytree(pkg_path, self._app_creates, symlinks=True)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py",
line 171, in copytree

    names = os.listdir(src)

OSError: [Errno 2] No such file or directory: '/Volumes/Sublime Text
2/Sublime Text'

* Failed playbook:
/Users/rhasija/Library/Caches/battleschool/osx/sublime2.yml*

           to retry, use: --limit @/Users/rhasija/sublime2.retry

 Playbook FAILED, *ok=1*, changed=0, unreachable=0, failed=1

kapasdevmac12fm:ansible-osx rhasija$

kapasdevmac12fm:ansible-osx rhasija$ ls /Volumes/Sublime\ Text

Applications Sublime Text.app

kapasdevmac12fm:ansible-osx rhasija$

Sincerely,
Ravi Hasija.
http://javawithravi.com
Cell:<PHONE_NUMBER>
On Tue, Apr 7, 2015 at 8:28 AM, Spencer Gibb<EMAIL_ADDRESS>wrote:

It's definitely a problem with ansible <IP_ADDRESS>. I upgraded from 1.8.x and
get the same error. I'll look at fixing it tonight (after work) unless
someone wants to jump in before then.
—
Reply to this email directly or view it on GitHub
https://github.com/spencergibb/battleschool/issues/25#issuecomment-90585406
.

can you open a separate issue for that?

For now battleschool 0.5.0 need ansible < 1.9.x.
sudo pip install -Iv ansible==1.8.4

I have released 0.5.1 that requires ansible <= 1.8.4.  https://github.com/spencergibb/battleschool/releases/tag/v0.5.1

I believe this would solve the problem https://github.com/dochang/battleschool/commit/e54ded165dd80060741b844cb2f09877b1b4f6d6

@eyadsibai thanks!


Provide an OSX app

It may be due to the ways lines are ended in the file.
If you're on Windows, the editors are using different invisible characters than on Unix to represent the jump to the next line.
Good text editors like vscode or sublime will allow you to choose which format the file is using, try to switch it to the Unix format.
You can also paste your config.ini there and I will check it.

I opened the config.ini with sublimetext but didn't see any abnormal characters.
here's the mac config.ini:
title = Amshay
core = ./blastem_libretro.dylib
rom = .././Amshay.bin
swap_interval = 1
fullscreen = true
scale = 3
hide_cursor = true
map_analog_to_dpad = true
shader = zfast-crt
filter = linear
aspect_ratio = 1.777778

I opened the config.ini with sublimetext but didn't see any abnormal characters.
here's the mac config.ini:
title = game
core = ./blastem_libretro.dylib
rom = .././Game.bin
swap_interval = 1
fullscreen = true
scale = 3
hide_cursor = true
map_analog_to_dpad = true
shader = zfast-crt
filter = linear
aspect_ratio = 1.777778

It's normal that you don't see them. Files have invisible characters in them. (see https://en.wikipedia.org/wiki/Newline )
I can't see them if you paste like this.
Try to find how to manually tell Sublime to use Unix line endings. I think it's in View -> Line Endings

had another person try and they got this result:
❯ ./romname-mac
Product ID: 08800880
SHA1: 89ba169e6d10c6c663f46e099d3eb07c00f441b4
Not found in ROM DB, examining header

alloc_code: Cannot allocate memory
Failed to allocate memory for generated code


CI: Fix and reenable windows tests

Closes #122

Fixes the Windows CI.
Force qemu install to the latest working version
The November 2020 release doesn't seem to be working, even when
adjusting the path to the new install location install 'C:\Program Files (x86)'

bors r+


Cannot login with token

Resin-sdk: 6.9.0
resin.auth.loginWithToken doesn't log me in. I've tried valid tokens from multiple accounts.
resin = require('resin-sdk')()
resin.auth.loginWithToken "A VALID TOKEN"
	.then resin.auth.isLoggedIn
	.then (isLoggedIn) ->
		console.log isLoggedIn is false

Hi @Arwid, I've just tested this, and it's definitely working for me (using v6.12.1), and we do have automated tests that use this successfully too: https://github.com/resin-io/resin-sdk/blob/master/tests/integration/auth.spec.coffee#L81-L82.
I'd like a little more information to debug this further:

I'm assuming you're running this in Node - is that correct? Which version?
After you run this, is the correct token stored in ~/.resin/token?
What happens if you set $JWT_TOKEN, and run curl --request GET --url https://api.resin.io/whoami --header 'authorization: Bearer $JWT_TOKEN' by hand? (This is what isLoggedIn does under the hood).
If you're familiar with a HTTP proxying tool (don't worry about it otherwise), like Fiddler, can you set one up in your process (e.g. using global-tunnel), and take a look at the api.resin.io/whoami request that the SDK is making? It should include an authorization header, like the curl one above, and get a 200 back if all's well, or a 401 otherwise.

Hi @pimterry, thanks for the help.
I've tried again and the same code works now (both with v6.9.0 and the latest v6.14.0) using current tokens from the dashboard (looks like they're refreshed on every login).
Closing issue. If it ever occurs again, I'll reopen with that debug information.

Glad to hear it's sorted. Thanks for the report @Arwid!


MatSelect opens to the wrong direction

Bug, feature request, or proposal:
Bug
What is the expected behavior?
When enough space exists on the bottom, the mat-select should open downwards.
What is the current behavior?
Opens upwards.
What are the steps to reproduce?
https://in-office.wekudo.com/experience/12/new/time
Click on the number 12 to see the bug.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

mat-select tries to position the dropdown on top of the selected option. Since 12 is the last one, the panel has to open upwards. You can disable this behavior through the disableOptionCentering option.

Thank you

@crisbeto is there any plan to make this global by overriding a constant? adding this input to each and every select doesn't seem right.
thank you


add a docker-compose example to the oss setup docs

We should add the following docker-compose file to the oss setup section of the docs so that someone setting up docker can see an example using the docker setup env vars:
version: '3'
services:
  influxdb:
    image: influxdb:latest
    volumes:
      - influxdbv2:/.influxdbv2
      - ./ssl/influxdb-selfsigned.crt:/etc/ssl/influxdb-selfsigned.crt
      - ./ssl/influxdb-selfsigned.key:/etc/ssl/influxdb-selfsigned.key
    environment:
      - DOCKER_INFLUXDB_INIT_MODE=setup
      - DOCKER_INFLUXDB_INIT_USERNAME=russ
      - DOCKER_INFLUXDB_INIT_PASSWORD=something
      - DOCKER_INFLUXDB_INIT_ORG=InfluxData
      - DOCKER_INFLUXDB_INIT_BUCKET=telegraf
      - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=mytoken
      - INFLUXD_TLS_CERT=/etc/ssl/influxdb-selfsigned.crt
      - INFLUXD_TLS_KEY=/etc/ssl/influxdb-selfsigned.key
    ports:
      - "8086:8086"
volumes:
  influxdbv2:

see also #2699

Running this file with docker-compose up, the process exited with an error:
influxdb_1  | ts=2021-07-28T15:54:55.741047Z lvl=info msg=Starting log_id=0VcT3MFl000 service=telemetry interval=8h
influxdb_1  | ts=2021-07-28T15:54:55.742025Z lvl=error msg="Failed to load x509 key pair" log_id=0VcT3MFl000 service=tcp-listener cert-path=/etc/ssl/influxdb-selfsigned.crt key-path=/etc/ssl/influxdb-selfsigned.key
influxdb_1  | Error: read /etc/ssl/influxdb-selfsigned.crt: is a directory
influxdb_1  | See 'influxd -h' for help
comp_influxdb_1 exited with code 1

Do we need to document creating the self-signed certs? What's the best way to go about that? @russorat

https://docs.influxdata.com/influxdb/v2.0/security/enable-tls/#configure-influxdb-to-use-tls

@russorat : I'm not able to reproduce the correct setup here. Can you share the directory structure that has worked for you?

i think you just need this:
➜  influxdb-telegraf-docker ls -l
total 48
-rw-r--r--  1 rsavage  staff   1714 Jul  6 12:41 docker-compose.yml
drwxr-xr-x  4 rsavage  staff    128 Jun 11 12:37 ssl/
-rw-r--r--  1 rsavage  staff  10046 Jun 11 16:06 telegraf.conf
➜  influxdb-telegraf-docker ls -l ssl
total 16
-rwxrwxrwx  1 root  staff   956 Jun 11 12:34 influxdb-selfsigned.crt
-rwxrwxrwx  1 root  staff  1708 Jun 11 12:34 influxdb-selfsigned.key


[ci] aptly purge script removing more packages than expected

should keep the latest 2 debs but only keeps the latest 1 - investigate

fixed in 95036b6


Add Hue dimmer and Hue Tap sensors

Description:
Add Hue dimmer and Hue Tap sensors
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

Hi @Cyr-ius,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Oups so fast

In which version will this be available to end users?

See #23597

So it is still in "work in progress", right? Can these dimmers also be "pressed" within home assistant? Would be cool!


Cdk DialogRef.afterClosed is called twice

Bug, feature request, or proposal:
const dialogRef = this.dialog.openFromComponent(FooComponent);
dialogRef.afterClosed().subscribe(() => console.log('close'));

The above code logs "close" twice. From debugging i can see that the _onAnimationDone callback in cdk-dialog-container.ts is called twice.
What is the expected behavior?
It should emit an afterClosed once.
What is the current behavior?
Emits afterClosed twice.
What are the steps to reproduce?
https://angular-material2-issue-s2bybt.stackblitz.io
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6.0.*
Is there anything else we should know?

The first time _onAnimationDone is called is for enter => exit. The second for exit => void.

Workaround for now: dialogRef.afterClosed().pipe(take(1)).subscribe(...)

MatDialog does this properly by also taking 1:
    // Dispose overlay when closing animation is complete
    _containerInstance._animationStateChanged.pipe(
      filter(event => event.phaseName === 'done' && event.toState === 'exit'),
      take(1)
    )
    .subscribe(() => {
      this._overlayRef.dispose();
      this._locationChanges.unsubscribe();
      this._afterClosed.next(this._result);
      this._afterClosed.complete();
      this.componentInstance = null!;
    });

Thanks, this patched an issue we were seeing with Microsoft Edge


There is a probability that saving annotations may fail, resulting in annotation loss

The ng version has shown significant speed improvements compared to the original version—great work on this! However, I’ve encountered an issue that occurs randomly. When this issue arises, I’m unable to switch tools or continue annotating. The annotations I’ve already completed disappear.
Whenever I try to switch tools, the following error appears in the console:

When I try to save, the console will get same error.
Do you have any ideas about this?

Added some additional information

Thank's for report.
I actually don't find a way to reproduce the problem.
If looking at warning "@ Annotator.vue:461", it seem's I have a problem relative to setActiveTool() function.
Only possible problem could happen in "src/composables/toolBar/tools.js" file where tool passed as argument is a variable.
But if looking at logs, tool name seem's to be defined before.
So it could be a race condition on tool.name passed as argument of setActiveTool() while DOM is being refreshed ?
I will keep on trying to reproduced the problem.
If you find a way to reproduce it, it could help me.

I have a similar error/warning, even if it's not exactly the same, playing with save button and "Select" and "Brush" shortcuts.
Does your problem also happen when changing tool using shortcuts ?

It will not be easy to fix

At least, I fixed a bug in SelectTool.vue (https://github.com/SixK/coco-annotator-ng/commit/6abe3865d9e6d5a1c67caf8c28311b10e5cb7620)
in this code, I was not checking compoundPath exists:
        if (hover.value.annotation && hover.value.annotation.compoundPath) {
          hover.value.annotation.compoundPath.selected = false;
        }

But this mistake, may not be the root cause of your problem.

Thank you very much for your reply and fix !
Using shortcut modification tools can also trigger this issue. Is this related to me using dev env (docker-compose.dev.yml) to start the project?
By the way,  When I deployed using the docker-compose.yml, I found that refreshing the page on any route (except for the root route) would result in a 404 error.
Refer to #11

Thank you very much for your reply and fix ! Using shortcut modification tools can also trigger this issue. Is this related to me using dev env (docker-compose.dev.yml) to start the project? By the way, When I deployed using the docker-compose.yml, I found that refreshing the page on any route (except for the root route) would result in a 404 error.
Refer to #11

After applying the changes in https://github.com/SixK/coco-annotator-ng/commit/2eaa1067efd8cf3e7186c5896fb6392bddbdc166 , I switched to using the docker-compose.yml in production mode to start the project. This seems to have resolved the issue, and so far, I haven't encountered any similar problems when running in production mode.
I really appreciate your help!👍