az aro create command failed with error azure.cli.command_modules.role._msgrpah._graph_client.GraphError: Insufficient privileges to complete the operation

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aro create
Errors:
The command failed with an unexpected error. Here is the traceback:
Insufficient privileges to complete the operation.
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 52, in _send
    r = send_raw_request(self._cli_ctx, method, url, resource=self._resource, uri_parameters=param,
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/util.py", line 993, in send_raw_request
    raise HTTPError(reason, r)
azure.cli.core.azclierror.HTTPError: Forbidden({"error":{"code":"Authorization_RequestDenied","message":"Insufficient privileges to complete the operation.","innerError":{"date":"2023-03-12T17:22:04","request-id":"305e665c-98c8-46fe-852d-f02073c75d7d","client-request-id":"305e665c-98c8-46fe-852d-f02073c75d7d"}}})

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/command_modules/aro/custom.py", line 78, in aro_create
    client_id, client_secret = aad.create_application(cluster_resource_group or 'aro-' + random_id)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/command_modules/aro/_aad.py", line 24, in create_application
    app = self.client.application_create(request_body)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 91, in application_create
    result = self._send("POST", "/applications", body=body)
  File "/opt/homebrew/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 55, in _send
    raise GraphError(ex.response.json()['error']['message'], ex.response) from ex
azure.cli.command_modules.role._msgrpah._graph_client.GraphError: Insufficient privileges to complete the operation.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az group create --name {}--location eastus
az network vnet create --resource-group {} --name {} --address-prefixes <IP_ADDRESS>/22
az network vnet subnet create --resource-group {} --vnet-name {} --name {} --address-prefixes <IP_ADDRESS>/23 --service-endpoints Microsoft.ContainerRegistry
az network vnet subnet create --resource-group {} --vnet-name {} --name {} --address-prefixes <IP_ADDRESS>/23 --service-endpoints Microsoft.ContainerRegistry
az network vnet subnet update --name {} --resource-group {} --vnet-name {} --disable-private-link-service-network-policies true
az aro create --resource-group {} --name {} --vnet {} --master-subnet {} --worker-subnet {} --worker-count {}

Expected Behavior
Environment Summary
macOS-12.0.1-arm64-arm-64bit
Python 3.10.8
Installer: PIP

azure-cli 2.39.0 *

also tried with flowing azure-cli versions  2.43.0 and 2.46.0
Additional Context

Hi @lkalaivanan,
2.39.0 is not the latest Azure CLI(2.46.0).
Please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

tried with flowing azure-cli versions 2.43.0 and 2.46.0

route to CXP team

@yonzhan  Is some one looking into this issue.. We are bloacked due to this bug in CLI please let us know if there is any workaround.

The error message "Insufficient privileges to complete the operation" suggests that the user does not have the necessary permissions to perform the operation. The user needs to have either Contributor and User Access Administrator permissions, or Owner permissions, either directly on the virtual network, or on the resource group or subscription containing it. The user can assign administrator roles to users with Azure Active Directory.

@jsntcy I used azure-cli version 2.50.0, have my service principal added to the resource group where I want to create ARO instance in as an Owner (resource group -> access control), and I am still getting the same error as @lkalaivanan .
The official documentation states also various resource providers that I've checked that they are registered. What could the problem be? At the moment it is impossible for us to install ARO cluster using CLI.

Add @darthhexx, @tsatam, @dem4gus, @SudoBrendan from service team to help take a look.

Greetings,
I'm +1 with other comments here, this doesn't appear to be a bug and instead seems like the person running this command does not have the permissions to create an Application ID (Service Principal) in the tenant. There's two ways to fix this:

Bring your own pre-created service principal by passing the --client-id and --client-secret
Run the az aro create command as a user that has the permissions to modify AAD resources, including creating the cluster Service Principal and assigning it the required permissions on the cluster infrastructure resource group

For a quicker resolution to any ARO issues you may experience in the future, you can go to either Red Hat or Microsoft Azure support, we monitor those much more than GH issues :)


[BUG] IndexError raised by read_parquet when AccessDenied by S3

Start a python interpreter without AWS credentials in the environment.
import dask.dataframe as dd

ddf = dd.read_parquet('s3://some-bucket/some-key/*.parquet')
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-15-d837a927cc1f> in <module>
      1 import dask.dataframe as dd
      2
----> 3 ddf = dd.read_parquet('s3://leadcrunch-data-science/firth/embeddings/test-2019-08-01/*.parquet')

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/core.py in read_parquet(path, columns, filters, categories, index, storage_options, engine, gather_statistics, split_row_groups, **kwargs)
    214         filters=filters,
    215         split_row_groups=split_row_groups,
--> 216         **kwargs
    217     )
    218     if meta.index.name is not None:

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/fastparquet.py in read_metadata(fs, paths, categories, index, gather_statistics, filters, **kwargs)
    181         # correspond to a row group (populated below).
    182         parts, pf, gather_statistics, fast_metadata = _determine_pf_parts(
--> 183             fs, paths, gather_statistics, **kwargs
    184         )
    185

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/fastparquet.py in _determine_pf_parts(fs, paths, gather_statistics, **kwargs)
    119                 parts = paths.copy()
    120     else:
--> 121         if fs.isdir(paths[0]):
    122             # This is a directory, check for _metadata, then _common_metadata
    123             paths = fs.glob(paths[0] + fs.sep + "*")

IndexError: list index out of range

import dask
dask.__version__
'2.7.0'

I would expect dask to raise a PermissionError like pandas does when S3 (botocore) raises a ClientError.
I hope this issue is helpful. Please let me know if you need any more details. Happy to contribute a solution if help is needed.
Thanks for maintaining such an awesome project! 😄

Thanks for opening up an issue @tomorrowleadcrunch! What version of fsspec and fastparquet are you using?

Here are the current versions of fsspec and fastparquet I have:
fastparquet==0.3.2
fsspec==0.5.2
pyarrow==0.15.1

Thanks for the quick reply @jrbourbeau!

Sorry, I should have asked for the s3fs version too. Both s3fs and fsspec published new releases today that fixed several issues. Could you try updating to the latest release for those packages (fsspec==0.6.0 and s3fs==0.4.0) and seeing if the problem still persists?

No worries @jrbourbeau! I wasn't aware of those new releases. I just installed them and tried again with no luck unfortunately. Here's an updated snippet:
import s3fs
import fsspec

print(f's3fs=={s3fs.__version__}')
print(f'fsspec=={fsspec.__version__}')

s3fs==0.4.0
fsspec==0.6.0

ddf = dd.read_parquet('s3://some-bucket/some-key/*.parquet')

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-5-4fa892e0b47e> in <module>
----> 1 ddf = dd.read_parquet('s3://some-bucket/some-key/*.parquet')

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/core.py in read_parquet(path, columns, filters, categories, index, storage_options, engine, gather_statistics, split_row_groups, **kwargs)
    214         filters=filters,
    215         split_row_groups=split_row_groups,
--> 216         **kwargs
    217     )
    218     if meta.index.name is not None:

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/fastparquet.py in read_metadata(fs, paths, categories, index, gather_statistics, filters, **kwargs)
    181         # correspond to a row group (populated below).
    182         parts, pf, gather_statistics, fast_metadata = _determine_pf_parts(
--> 183             fs, paths, gather_statistics, **kwargs
    184         )
    185

/opt/conda/envs/dask-client/lib/python3.7/site-packages/dask/dataframe/io/parquet/fastparquet.py in _determine_pf_parts(fs, paths, gather_statistics, **kwargs)
    119                 parts = paths.copy()
    120     else:
--> 121         if fs.isdir(paths[0]):
    122             # This is a directory, check for _metadata, then _common_metadata
    123             paths = fs.glob(paths[0] + fs.sep + "*")

IndexError: list index out of range

Thanks again, for the quick replies.

This is due to fsspec catching IOErrors when walking a filesystem:
https://github.com/intake/filesystem_spec/blob/9459fffc543e85a4b52c7aeb71499a669cfe920c/fsspec/spec.py#L325-L328
which (I think) is in line with how os.walk behaves
https://github.com/python/cpython/blob/4d231bcc77ac8ce7d11bda0804130dcdd678f710/Lib/os.py#L342-L346
I agree this error raised here could be improved. @TomAugspurger @martindurant do you have any thoughts on if this should be handled in fsspec.AbstractFileSystem level or if we should try to improve things in s3fs?

I'm not sure, but I think that fsspec.get_fs_token_paths('s3://some-bucket/some-key/*.parquet') should raise back up with an error (not sure what kind, ideally some kind of permissions error, but may have to be a FileNotFound error).

The following diff to fsspec fixes things
diff --git a/fsspec/spec.py b/fsspec/spec.py
index 71ca27d..31408f8 100644
--- a/fsspec/spec.py
+++ b/fsspec/spec.py
@@ -325,6 +325,8 @@ class AbstractFileSystem(up, metaclass=_Cached):

         try:
             listing = self.ls(path, detail=True, **kwargs)
+        except PermissionError:
+            raise
         except (FileNotFoundError, IOError):
             return [], [], []

I was a bit surprised that PermissionsError is a subclass of IOError. @martindurant does re-raising for PermissionsError make sense to you?

Yes and no...
I can imagine a user wanting to know if some paths were unaccessible, but I can also imagine the general case where "path/*" means "all the things in path that I can see".
Would a warning be appropriate?

Mmm, that's tricky.
I guess on a linux file system, ls means just the paths I can see, right? So that's probably the model we should follow in ls...

ls means just the paths I can see

Roughly... you might be able to see the name of a dir but not its contents. I'm not sure how granular you can make permissions within a bucket, but I thought that you only see a prefix if there's a file within that you can see.

I am going to close this since it seems like the behavior while possibly confusing is definitely intentional. If you have a suggestion for an improvement I suggest you bring it up on fsspec.


Use miner response time to reward below threshold

We are able to access the response times of the miners by changing deserialze to False in the forward function in the masa/validator/forwarder.py to access the raw synapse object... then:
synapses = await self.validator.dendrite(
    axons=[self.validator.metagraph.axons[uid] for uid in miner_uids],
    synapse=request,
    deserialize=False,
    timeout=timeout
)

responses = [synapse.response for synapse in synapses]
process_times = [synapse.dendrite.process_time for synapse in synapses]
bt.logging.info(f"PROCESS TIMES: {process_times}")

We are able to access the response times of the miners by changing deserialze to False in the forward function in the masa/validator/forwarder.py to access the raw synapse object... then:
synapses = await self.validator.dendrite(
    axons=[self.validator.metagraph.axons[uid] for uid in miner_uids],
    synapse=request,
    deserialize=False,
    timeout=timeout
)

responses = [synapse.response for synapse in synapses]
process_times = [synapse.dendrite.process_time for synapse in synapses]
bt.logging.info(f"PROCESS TIMES: {process_times}")

Branch already started showing the above code in action.  https://github.com/masa-finance/masa-bittensor/tree/feat/miner-response-times

Closing this as the feature has merged - we are tracking latency now along w/ our data validation scores.  As we continue to refine and improve our scoring, latency can now become a secondary factor!


removed deprecated private method Devise::Controllers::Helpers#expire_session_data_after_sign_in!

Thanks! @josevalim Can we merge it right now?


Split the report in "general" and "application log".

Hm, the full application for the current process isn't added to the issue, shouldn't it? You can see this in "review the report", too.

Yes. Only the last 100 lines are kept. A possible solution would be to upload the application log file as a gist.

Sounds like a plan, but it's exactly the log file that may contain sensitive data which I'd still like to be able to review [and change if necessary] before upload. To keep this options this should lead to a two-tab preview: the first one for the general data, the second (if activated) for the log.
The log could be uploaded as gist or send as mail attachment.
In any case one could select "don't include application log / include application log for current session / include complete application log" for making sure it isn't too big.

Sounds good.

Tested on linux (not integrated into OCIDE/HE yet).

Now it has been integrated into OCIDE and tested under windows (see OpenCobolIDE/OpenCobolIDE#300 and OpenCobolIDE/OpenCobolIDE#301)


Doesn't find my targets - any way to troubleshoot?

I have a build.fsx with some targets in my project folder, as well as a build.cmd and build.sh. I can evaluate the build.fsx (it's the bootstrap on in the snippets) and it works. But Ionide doesn't find any targets, nor can it run any.
Any ideas? How can I troubleshoot?

Oh, I get it. I was misinterpreting. I thought Fake:Builds would show me all available targets, but it shows me the builds I did.
Never mind!


Check for age of IERS table fails with untrapped PolPMFlag lookup

I'm having a lot of trouble getting astroplan to run after changing the location of the IERS table download to ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals2000A.all . An example error message is shown here:
`Traceback (most recent call last):
File "mmtscheduler.py", line 210, in
import astroplan
File "/usr/local/lib/python3.6/dist-packages/astroplan/init.py", line 32, in
get_IERS_A_or_workaround()
File "/usr/local/lib/python3.6/dist-packages/astroplan/utils.py", line 57, in get_IERS_A_or_workaround
iers.IERS.iers_table = _get_IERS_A_table()
File "/usr/local/lib/python3.6/dist-packages/astroplan/utils.py", line 93, in _get_IERS_A_table
index_of_last_observation = ''.join(table['PolPMFlag_A']).index('IP')
File "/usr/local/lib/python3.6/dist-packages/astropy/table/table.py", line 1346, in getitem
return self.columns[item]
File "/usr/local/lib/python3.6/dist-packages/astropy/table/table.py", line 190, in getitem
return OrderedDict.getitem(self, item)
KeyError: 'PolPMFlag_A'
`
Basically, in utils.py, _get_IERS_A_table() is trying to use the PolPMFlag_A key to figure out how old the table is, the table does not have this key, and an unrecoverable error is thrown. I am not sure if the missing key is a difference between the IERS table from ftp.cddis.nasa.gov and the previous file or something else. However, the relevant code (currently lines 94-98 of utils.py) should be wrapped in a try / except or something similar to catch the error.

I'm even getting this error when attempting to import astroplan. I don't need the IERS level of accuracy, but I need astroplan to run. I would really like to have some way of consistently running astroplan in low-accuracy mode without being dependent on these IERS files, because the current architecture of trying to download and verify them before falling back to low accuracy seems fragile. This may be an interdependency between astroplan and astropy.iers.

@tepickering and I just got this error to occur in a fresh Docker install with astropy 3.2.3 and astroplan 0.5. We could 'import astroplan' without an error, but when we run our scheduling code, it fails at the 'import astroplan' statement with the above error.

i looked a little deeper and our code turned automatic downloading off and was not manually doing the download, either. removing the bits that turned that stuff off and letting astroplan/astropy do their default things under the hood got the IERS file to properly download and get properly parsed.
note that we were still getting the error even after forcing a download from another python instance (e.g. by hand via interpreter), though. i think somehow bypassing the download also bypassed the finding/parsing of the IERS file which then generated the table KeyErrors. there's still some better checking to be done to handle this case more gracefully. i will try to cook up a test case to more cleanly reproduce what we saw and report back...

Hi @bjweiner, would you try the trick in https://github.com/astropy/astroplan/issues/427#issuecomment-547380768? Sometimes this error occurs when a corrupt or incomplete IERS file has been stored in the astropy cache.

confirmed that i can reproduce this error reliably with this code:
#!/usr/bin/env python

from astropy.utils import iers
iers.IERS_A_URL = 'ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all'
iers.conf.auto_download = False

import astroplan

if there is a cached download of the IERS_A file. if the cache is cleared, then this will run without error. commenting out iers.conf.auto_download = False fixes the error as well. in our use case, however, we would like to disable auto_download so that we don't get tripped up by an unexpected download failure in the middle of an operational night like we did before...

I've been driving myself a little crazy trying to reproduce this because it is state-dependent. Thanks to Tim, I agree. Try this:
from astropy.utils.data import clear_download_cache
clear_download_cache()
from astropy.utils import iers
iers.IERS_A_URL = 'ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all'
import astroplan
astroplan.download_IERS_A()
exit()

# Now we have a cached file.

python
from astropy.utils import iers
iers.IERS_A_URL = 'ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all'
iers.conf.auto_download = False
import astroplan
# PolPMFlag_A error occurs
exit()

# Disconnect network connection

from astropy.utils.data import clear_download_cache
clear_download_cache()
from astropy.utils import iers
iers.IERS_A_URL = 'ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all'
iers.conf.auto_download = False
import astroplan
astroplan.download_IERS_A()
# urllib.error.URLError occurs
exit()

I included the last, network connection error to show why it would be nice to fail more gracefully out of downloading the IERS file, although probably that should be attached to a separate issue.

FTR, my testing was done using clean installs of the latest astropy and astroplan via pip within a docker container to assure a clean-slate environment...

I think one problem in the examples above by @tepickering and @bjweiner has to do with the URL that you're using. The IERS A table is at: ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals2000A.all (see here for earlier discussion), it looks like you dropped the 2000A at the end.

Hi @bmorris3, you are absolutely right - the actual code that we are trying to run uses the finals2000A.all file, and somehow the 2000A got dropped in the examples. However, the same errors do occur when the finals2000A.all filename is used in the above examples.
As I understand it, the finals.all and finals2000A.all files have essentially the same format, but use different models for the Earth precession/nutation. So using the wrong file might give wrong answers for the time offset, but it's not clear why it would cause this crash when the cached file exists (and not when it is downloaded fresh).

Ok I can confirm that following your instructions above I reproduce the missing PolPMFlag_A column error. I wonder if the problem is related to the fact that the file is old. Opening up the file from ftp://cddis.gsfc.nasa.gov reveals that the last date in the table is in 2017... Digging deeper.

the issue is that if IERS_A is available, the returned table has the following columns:
In [3]: t.columns
Out[3]: <TableColumns names=('year','month','day','MJD','PolPMFlag_A','PM_x_A','e_PM_x_A','PM_y_A','e_PM_y_A','UT1Flag_A','UT1_UTC_A','e_UT1_UTC_A','LOD_A','e_LOD_A','NutFlag_A','dX_2000A_A','e_dX_2000A_A','dY_2000A_A','e_dY_2000A_A','PM_X_B','PM_Y_B','UT1_UTC_B','dX_2000A_B','dY_2000A_B','UT1_UTC','UT1Flag','PM_x','PM_y','PolPMFlag','dX_2000A','dY_2000A','NutFlag')>

if it is not available somehow, then the fallback is to use the bundled IERS_B table which has the following columns:
In [4]: t.columns
Out[4]: <TableColumns names=('year','month','day','MJD','PM_x','PM_y','UT1_UTC','LOD','dX_2000A','dY_2000A','e_PM_x','e_PM_y','e_UT1_UTC','e_LOD','e_dX_2000A','e_dY_2000A')>

so the logic needs to be fixed to handle both cases. in the latter case the index you want is simply -1 since the bundled data is only historical up to Nov 2017 currently.


examples/fractal.cpp: Don't use rand()

As @facontidavide points out in #17, some standard libraries have a mutex lock in rand() that can dramatically hurt performance when run across multiple threads.
Instead do subsampling in a regular n x m pattern, removing the need to call rand() at all. This also has the benefit of making the output deterministic.

Competing with #19  :)


Double Agent Training

Hi, just a short question (may be I miss some codes). During the training of DoubleAgents, I see the DoubleAgent class overrides th learn method so both whiteNetwork and blackNetwork have been trained. But DoubleAgent does not override the train_episode and take_action methods. It is still using self.learner for sampling, not using black and white agent. And also self.learner neural network has not been updated.
Did I missed some codes or it's supposed to be like this?
I thought we should use blackAgent and whiteAgent to make moves during sampling...

Hell There :D
first, sorry for my silly grammatical mistakes!

There is no need to override the base class since it will act and store based on whose turn it is, and it will store them in an episodic buffer, respectively.

train_episode does not necessarily train an episode; it will just play it. (Maybe I named it poorly; sorry for that. 😢)

If you take a look at the train method, you will see that it will train after n episodes.

Sorry in advance if I misunderstand any concept, I am just a new beginner of reinforcement learning, just trying to figure something out.
I can see that in DoubleAgents training, the whiteAgent and blackAgent have been trained after n episodes. But in train_episodes, I think it's still the self.learner playing against itself. I am just quiet confused on this part, because I thought whiteAgent and black Agent should play against each other in the train_episode function.

OMG!
now i checked it and you are absolutely right!


Implement local_accessor::get_multi_ptr

Describe the motivation for the feature request
In SYCL 2020 (rev. 8, par. <IP_ADDRESS>.1), local_accessor::get_pointer is marked as deprecated, to be replaced by local_accessor::get_multi_ptr. However, AdaptiveCpp does not implement get_multi_ptr.
Describe the solution you'd like
local_accessor::get_multi_ptr is implemented so users can enjoy writing modern SYCL code without having to use any deprecated functions.
If applicable, describe alternatives you've considered
Don't follow the spec?

Could you please explain the reason of change from get_pointer() to get_multi_ptr in SYCL 2020?

Could you please explain the reason of change from get_pointer() to get_multi_ptr in SYCL 2020?

I was not involved in the decision, but my understanding is that multi_ptr interface was changed a lot between  SYCL 1.2.1 and SYCL 2020, and there is a need to have a distinct way to get the new one and not the legacy one.
I myself haven't looked in depth into what exactly changed; both new and legacy versions are alright for us. Here, I'm just annoyed that to keep the code compatible with AdaptiveCpp I have to deal with deprecation warnings from oneAPI DPC++ :)


About whether there are plans to develop MPR or VR module problem

I wonder whether cornerstone plan to develop Mpr or VR related functions and/or modules,or not? Thanks

Hi there,
MPR and (especially) VR are enormously complex features to build and support. Much of the development of the OHIF / Cornerstone libraries is being funded by grants and private corporate investments. At this time I am not aware of any funding sources that are willing to put up the substantial resources required to build these features.
For now I would suggest looking at AMI (https://github.com/FNNDSC/ami) and VTK-js (https://github.com/Kitware/vtk-js) if you want client-side MPR and volume rendering.

I feel like the spirit of this question has been answered. If you want to collaborate on a plugin that accomplishes MPR or VR, I suggest reaching out to the Google Group.


Rancher needs to automatically update agent-instances when new version is released

https://github.com/rancher/rancher/releases/tag/v0.47.0 states: rancher/agent-instance:v0.6.0
My only hosts insists:
rancher/agent-instance:v0.5.0         "/etc/init.d/agent-in"   2 days ago          Up About a minute   <IP_ADDRESS>:500->500/udp, <IP_ADDRESS>:4500->4500/udp   6f20bcc9-e736-4ca1-bd15-001a95aca621

A loadbalancer is lost in translation:

His short sad life is:
Stopped -> Removed -> Purged
Random thing that comes to my mind for some unclear reasons:

I have a private registry configured in the UI
I updated recently from 0.46 to 0.47
My host's OS is ros v0.4.1 :smile:

As to the loadbalancer, I have symptoms. What debugging should I provide next?

Ok, I admit a blunt database erase did refresh the Networker that. Given, that there is no supported upgrade path, this is probably a closable issue. Until then, I'll leave it for someone to take note.

Is upgrade of the rancher server not supported? I was under the impression it was?

the docs hint at an auto-update of all nodes but I've yet to see the system update gracefully

Confirmed over here as well. Didn't even notice it until seeing this issue.

The docs advert, that until version 1.0, there is no supported upgrade path. I can very well accept this to have occurred under such policy.

I had to stop the agent-instance. It did not start a new one.

Note : I'm on docker 1.9 beta and have this issue so don't know if this is related. https://github.com/docker/docker/issues/17083

Rancher automatically handles upgrading the hosts (i.e. rancher/agent) whenever there is a version change in rancher/agent, but we do not automatically upgrade the network agent/lb agents, which use rancher/agent-instance).
In order to upgrade the version of the network agent, you'd need to manually stop the network agent and remove. Anything that triggers networking on the host that has the network agent will cause a new network agent (with the latest verison) to be started.
In order to upgrade the version of your load balancers, you'll need to re-create them to get the newest version of rancher/agent-instance. One way is to clone them so that you'll get all your targets.

Also, I've just made this issue the official request of creating an upgrade path for the agent-instances.

@deniseschannon definitly cool. +1

+1

As to the loadbalancer, I have symptoms. What debugging should I provide next?

@blaggacao just curious about that, what kind of issues you did experienced?

I'm sorry, my memory is to shallow as to give some helpful hints.
It was hanging in some stat, i think it was "Initating" and never got up and running. But I'm pretty sure this was due to the fact that the agent-instance hasn't been properly updated.
I was just entering the rancher world, so there were/are a lot of unknowns to me. That's why my memory is so blurry...

Closing due to inactivity.


Automate update of metrics

Metrics for the landing page are currently generated manually. They should be automated where possible. In particular, # of publications and # of downloads should be automated.

see also #12

Hi @clyne Can I have higher permissions to this repository so I can add a PAT to the settings for the GitHub actions necessary to do this?

done

I have this working for publications now!!
I reached out to Virginia to get the SIParCS info (#30) which I can then update similarly.
However, I'm not sure how to do the downloads metrics. @clyne Could you post some relevant links to where that info might be? Do we want the total downloads of every VAST package?

I have this working for publications now!!

Awesome!!

I reached out to Virginia to get the SIParCS info (#30) which I can then update similarly.
However, I'm not sure how to do the downloads metrics. @clyne Could you post some relevant links to where that info might be? Do we want the total downloads of every VAST package?

Hmm. That is a question @erogluorhan. Orhan is it possible do script the collection of conda download metrics here?

Hmm. That is a question @erogluorhan. Orhan is it possible do script the collection of conda download metrics here?

Hi @jukent , we have this https://github.com/NCAR/geocat_conda_metrics/blob/main/scrape_metrics.py for our own scraping purposes for several GeoCAT tools distributed in various channels at Conda. I believe a similar scraper code would work to read metrics for VAST tools. Please have a look at it and let me know if you have any questions.

Thanks this helps a lot! I'll look more closely at it tomorrow

@NihanthCW could you give me a list of any relevant VAPOR packages to include?

I created a yaml file of packages indata/packages.yml that just has the package name, team, and repository url. Do we want to turn this into a viewable page as well with a brief summary of each package, current release number, maybe a logo, and documentation link?

@NihanthCW could you give me a list of any relevant VAPOR packages to include?

I don't think we have any additional packages. The upcoming python api could be one candidate to include once it is released. I'll keep you posted on that.

Hi @jukent , I think the automation of scraping metrics is still a work in progress, but'd like to give a few suggestions FWIW:

In the GeoCAT case, we needed to record the daily scraped metrics into a DB for future cases where we'd want to run analysis for date intervals. In the VAST webpage case however, I think you'd not need to record things into a DB. Instead, if you only have a daily-running workflow, that would scrape up-to-date metrics from Conda for each package and then update the metrics numbers of the website, that would suffice. If this makes sense, you can get rid of the DB-related lines from scraper python file or others.
That being said, I think you'd not need an on-demand scraping workflow as well (since a daily automated workflow would work sufficient for the website)

Thank @erogluorhan I believe I've done these steps. I'm going to work on the environment failure and will reach out if I hit a roadblock.

I was having issues with binstar-client. Looks like that moved to now be within anaconda-client. Trying that now. Posting documentation for reference:
https://github.com/Anaconda-Platform/anaconda-client/tree/master/binstar_client/utils


chore(codegen): update snapshot

Current dependencies on/for this PR:

main

PR #1090   👈

This comment was auto-generated by Graphite.

Merge activity

Oct 29, 4:04 AM: @Boshen merged this pull request with Graphite.


Home Assistant: Make entity states real-time

Description
Previously entity states where only partially updated. This PR replace the polling mechanism with a websocket connection, which is the same mechanism as the official home assistant webpage is using. Values of all entities get now updated in real-time 🚀
Type of change

Bug fix / improvement for my extension

Screencast
Real-time of states
e.g. light state (checkout the right side 😉 ).
https://user-images.githubusercontent.com/3163807/137554794-73b26804-3454-4782-ae04-939c8485875d.mp4
Real-time example of cover movement
Covers show the percentage of the current position next to the state.
https://user-images.githubusercontent.com/3163807/137553250-cb5399d6-961a-4830-8d92-9ccb51b971d8.mp4
Climate entities display the current temperature

All Entity Attribtues is renamed to All Entities with Attributes
UI is redesigned to be more user-friendly. This list is also real-time now.

Checklist

[x] I read the documentation about publishing

When trying to use the home assistant plugin I get the an error "Websocket" is not defined. Could it be related to this PR?

When trying to use the home assistant plugin I get the an error "Websocket" is not defined. Could it be related to this PR?

Do you installed it from the store?


Composition of abitration ID

Hey,
I'm currently working on my own hoval gateway for TTE-WEZ. (https://github.com/abichinger/esp_canbus) and
I'm trying to figure out how hoval puts the can ID together.
According to your code
def build_arbitration_id(message_id, priority, device_type, device_id):
    return (message_id << 24) | (priority << 16) | (device_type << 8) | device_id

the device_id should be: can_id & 0xFF and the device_type should be (can_id >> 8) & 0xFF.
I found three can IDs on my bus and after sending some SET_REQUESTS from the control modules, I was able to assign the devices.

TT-BM (control module): 0x1FE09001 -> device_type = 0x90, device_id = 0x01
TT-BM (control module): 0x1FE00801 -> device_type = 0x08, device_id = 0x01
TTE-WEZ (heat generator): 0x1FC00FFF -> device_type = 0x0F, device_id = 0xFF

I would expect both control modules to have the same device_type.
Have I made a mistake or is the can ID composed differently?
More information
Devices listed on the GUI of my control module with device IDs:

TTE-BM (18)
TTE-BM (1)
TTE-WEZ (1)

Device types according to https://raw.githubusercontent.com/wladwnt/CAN-Gateway/master/Operating_manual.pdf (page 34)

TTE-WEZ: 0
TTE-HV: 8
TTE-BM: 16

https://github.com/nliaudat/esp_canbus/issues/7


Account for Safari User-Agent sniffing in logging tests

R: @philipwalton
Fixes #2149
There's a different codepath that's executed based on a User-Agent check, so the tests need to account for that.

Coverage remained the same at 78.781% when pulling 667fe6dfb7b77e652619fc82a0bfc339cbed5786 on fix-safari-logging-test into 5a4bc1bea51734d30420d25ed082fec4ac43fde0 on master.


Help, executor runs error in k8s

executor.go:
	addr, err := sockaddr.GetPrivateIP()
	...
	if addr == "" {
		return nil, errors.Errorf("cannot discover executor listen address")
	}

just got this err, the addr is empty.  I'm using k3s in docker mode.

@huapox I tried with k3s with the default configuration that uses containerd and it works. Probably with the docker mode the pod doesn't have an interface with a valid private ip. Not sure if this is a bug in the docker mode of k3s (that in the k3s doc it's use is discouraged).
To confirm this, can you execute a pod and run ip a on it?
Something like:
k3s kubectl run -i --tty busybox --image=busybox --restart=Never -- ip a
on my k3s using containerd the output is this:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if3603: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
    link/ether 0a:04:4a:02:dc:31 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::804:4aff:fe02:dc31/64 scope link tentative
       valid_lft forever preferred_lft forever

@sgotti I've got these:
[root@(⎈ |default:default) ~]$ kc run -it --rm --tty busybox --image=busybox --restart=Never -- ip a
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs: unable to upgrade connection: container busybox not found in pod busybox_default
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if148: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
    link/ether 22:e1:2f:0c:83:cd brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20e1:2fff:fe0c:83cd/64 scope link
       valid_lft forever preferred_lft forever
pod "busybox" deleted

Whats more:
[root@(⎈ |default:default) ~]$ kc run -it --rm --tty busybox2 --image=busybox sh
kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.
If you don't see a command prompt, try pressing enter.
/ #
/ #
/ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if151: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
    link/ether 16:00:46:18:08:10 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::1400:46ff:fe18:810/64 scope link
       valid_lft forever preferred_lft forever
/ # ping qq.com
PING qq.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=50 time=46.218 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=50 time=46.501 ms

the pod's env is Okay, I just guess may sockaddr "github.com/hashicorp/go-sockaddr" this not work in some situations

inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0

<IP_ADDRESS> is not a private ip. Not sure why this subnet is used.
Anyway we could improve the executor advertized address logic to follow something like already done for consul (https://www.consul.io/docs/agent/options.html#_advertise) (will open an issue to track this).

inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0

<IP_ADDRESS> is not a private ip. Not sure why this subnet is used.
Anyway we could improve the executor advertized address logic to follow something like already done for consul (https://www.consul.io/docs/agent/options.html#_advertise) (will open an issue to track this).

I just specified cidr to <IP_ADDRESS>/16, not private but short and just convinience.
Anyway we could improve the executor advertized address logic to follow something like already done for consul (https://www.consul.io/docs/agent/options.html#_advertise) (will open an issue to track this).

thats good, what's more I',m thinking the executor pod's ip is dynamic and with multi pods, how can advertise ip resolve this?

thats good, what's more I',m thinking the executor pod's ip is dynamic and with multi pods, how can advertise ip resolve this?

A pod ip is dynamic but fixed for the lifetime of the pod, so everytime the executor start it'll get the pod id and advertize it to the runservice scheduler. The executor runs inside a pod but tasks are executed in new pods managed by the executor (these new pods ips are not used since the executor directly execute exec command inside the pod via the k8s api).

executor.go:
	// TODO(sgotti) now the first available private ip will be used and the executor will bind to the wildcard address
	// improve this to let the user define the bind and the advertize address
	addrs, err := net.InterfaceAddrs()

	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}

	addr := "<IP_ADDRESS>"
	for _, address := range addrs {

		// 检查ip地址判断是否回环地址
		if ipnet, ok := address.(*net.IPNet); ok && !ipnet.IP.IsLoopback() {
			if ipnet.IP.To4() != nil {
				//fmt.Println(ipnet.IP.String())
				addr = ipnet.IP.String()
			}

		}
	}

I'm using this to replace the addr, err := sockaddr.GetPrivateIP(), to get agola work in k3s.

What's more there the new using issue in k3s env, I'll close this issue and create a new one. #114


FactoryBot/AssociationStyle nested factories

Makes factory an explicit name to address nested factory edge case
fixes #113

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[ ] Added the new cop to config/default.yml.
[ ] The cop is configured as Enabled: pending in config/default.yml.
[ ] The cop documents examples of good and bad code.
[ ] The tests assert both that bad code is reported and that good code is not reported.
[ ] Set VersionAdded: "<<next>>" in default/config.yml.

If you have modified an existing cop's configuration options:

[ ] Set VersionChanged: "<<next>>" in config/default.yml.

Is it fair to say that this pr fixes #113?
Please feel free to remove this from the description if there will still be something to address wheb this is merged.

Is it fair to say that this pr fixes #113? Please feel free to remove this from the description if there will still be something to address wheb this is merged.

Yes, it does, thank you! I forgot to add the tag. I'll make the update to the changelog and take a look at the spec name as well

Could you rebase it to the latest master branch?

Could you rebase it to the latest master branch?

Done. If you could double-check it for me I'd appreciate it. I think I've got it rebased & squashed correctly but it's always nice to have a 2nd set of eyes
Thanks!


Request to analyze only certain packages from the command line

From @sethladd on September 2, 2015 17:44
Hi,
Would it be possible to add a command-line argument for the analyzer, to let us say, effectively, "please analyze packages, but ONLY these packages"
Right now, we can use --package-warnings, but that pulls in too many errors/warnings from packages we know are violating the analyzer.
Ideally, something like: --package-warnings=foo,bar would be very helpful!
Copied from original issue: dart-lang/sdk#24273

From @bwilkerson on September 2, 2015 17:53
That sounds possible, but could you move this issue over to the analyzer_cli repository? (Someday I need to figure out how to do that myself.)

search for "github issue mover" and you'll land on https://github-issue-mover.appspot.com/
Meanwhile, I'll do it for this one.
Thanks for the review.

cc @pq
Thanks in advance!

A couple of questions:

in practice do we expect the list of packages of interest to be long?  (It seems likely that they could be.)
could we solve this problem by supporting a way to filter out (or in) errors based on source locations (e.g., on file globs)?

The more general question: what problem are you trying to solve? Why not just run the analyzer over each package separately?
We have plans to support analyzing a whole project/directory. Would it be sufficient if dartanalyzer allowed multiple directories to be specified on the command line?

cc @abarth

Here's what we are doing now: https://github.com/domokit/sky_engine/blob/master/sky/tools/skyanalyzer#L32
Though, I'm not exactly sure where/how this script is being run. Hopefully @abarth can point us to a usage so we can learn more.

What problem are you trying to solve?

We're trying to write Dart code that passes the analyzer.  We'd like the analyzer to show us errors from all and only the code we're working on.

Why not just run the analyzer over each package separately?

The analyzer takes a long time to run (multiple seconds).  If we analyzer each package separately, that will multiply the runtime by the number of packages.

Would it be sufficient if dartanalyzer allowed multiple directories to be specified on the command line?

If it were as fast as analyzing a single file that imported all that code, then yes.

This issue was moved to dart-lang/sdk#25146

This issue was moved to dart-lang/sdk#25148


Support for the new Figma share URL

close #239
Figma changed URL structure for the share URL from "/file/..." to "/<anything>/...". This patch updates the URL checking regexp according to their updated embed document.

📦 Published PR as canary version: 8.0.3--canary.240.a2a11ab.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

any updates when this should be merged?


retrospy: 6.5 -> 6.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for retrospy is: Live controller viewer for Nintendo consoles as well as many other retro consoles and computers
meta.homepage for retrospy is: https://retro-spy.com/
meta.changelog for retrospy is: https://github.com/retrospy/RetroSpy/releases/tag/v6.6
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.6 with grep in /nix/store/nr8l0dk96ny0i678g3cr2zgdca53nv6c-retrospy-6.6
found 6.6 in filename of file in /nix/store/nr8l0dk96ny0i678g3cr2zgdca53nv6c-retrospy-6.6

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

retrospy

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/bbc4d99f2e7dfcfcd76fa5c40cfd2b144f4ae809#retrospy

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

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

1 package built:

retrospy

Maintainer pings
cc @Naxdy for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

FYI this broke the RetroSpy binary (GUI).
This is due to an upstream bug in avalonia (https://github.com/AvaloniaUI/Avalonia/issues/16838), which is discussed quite a bit on #331150.
It should be fixed by that PR.


Some more advanced examples would be nice

An example of an advance example could be how to add an IP to a security rule.

Dokumentinformation
⚠ Redigera inte det här avsnittet. Det krävs för docs.microsoft.com ➟ länkning till GitHub-problem.

ID: d1559576-e557-21a3-cd99-81df8978e8d2
Version Independent ID: e33f3fe2-041f-324c-4f42-3cc82ac40c80
Content: az network nsg
Content Source: src/azure-cli/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@MyronFanQiu, please help take a look.

add to S169

add to S171

@batanun Please take a look at az network nsg rule create -h. I think we have enough examples.

closed this issue since it's by design.


Influxql bitwise operators

Relates to #8042
This implements bitwise AND, OR and XOR operators.   They can be used in both the main part of a SELECT statement, and in a WHERE clause.  They accept any non-negative integer (field or constant) on either side.
There is no bitwise-NOT operator, for reasons explained in the documentation.  There is a simple workaround which avoids the need for a new influxql function, also explained in the documentation.
Negative numbers are not supported, because representing a bitfield as a negative number is a very advanced use-case, involving detailed knowledge of twos-complement arithmetic and the underlying int64 implementation.  In practice all this means is that we support bitfields up to 63 bits wide instead of 64.  If you try to use one of these operators with a negative number then you just get 0 as a result - this is the same behaviour as InfluxQL uses for other "invalid operands" like divide-by-zero errors.
Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)
[x] InfluxQL Spec updated
[x] InfluxData Documentation: https://github.com/influxdata/docs.influxdata.com/pull/1067

What's the rationale for restricting this to positive numbers? It might be worth limiting this to int64's only rather than floats, but I'm not sure why any of the relevant operators are affected by if they are positive or negative.

Should these support boolean fields as well?

@jsternberg The rationale for excluding negative integers was explained in the description of the pull request and on the ticket (#8042),  but it seems to be confusing people so I have removed the restriction.
The new operators don't work with floats.
@jwilder I am adding support for booleans too.  But you won't be able to mix integers and booleans.

After the unit tests pass, can you squash this to a single commit and then we'll merge it? Thanks. It looks good to me at the moment.

Can you squash the changelog tweak into the first commit?

Done - sorry, thought you had a magic "squash and merge" button these days!

Apparently, I do have a button that does that. I was not aware of that. Thanks though! I guess I'll try that out next time.


Transfers can only move 1 items at a time. Support stacks and the ability to chose the quantity

fixed: https://github.com/NigelBreslaw/guardian-ghost/pull/1389


Marker base64 Image Src is prepended with path to leaflet images

I have installed the leaflet and ui-leaflet via bower.
This is the line in my html:
<leaflet id="mapid" lf-center="ctrl.courtOnMap" markers="ctrl.courtMarkers"></leaflet>
When I look in the browser debug console at the source code this is what I find for the source of the marker:
<img tabindex="0" class="leaflet-marker-icon leaflet-zoom-animated leaflet-interactive" style="width: 25px; height: 41px; margin-top: -41px; margin-left: -12px; z-index: 125; transform: translate3d(278px, 125px, 0px);" src="http://localhost:9000/bower_components/leaflet/dist/images/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAGmklEQVRYw7VXeUyTZxjvNnfELFuyIzOabermMZEeQC
I have temporarily fixed this issue by pointing the icon images to the leaflet image name.
Starting at line 2092:
if (!isDefined(iconData) || !isDefined(iconData.iconUrl)) {             return new L.Icon.Default({                 iconUrl: "marker-icon.png",//base64icon,                 shadowUrl: "marker-shadow.png",//base64shadow,                 iconSize: [25, 41],                 iconAnchor: [12, 41],                 popupAnchor: [1, -34],                 shadowSize: [41, 41]             });         }

This issue was caused by using leaflet 1.0.1

This issue was caused by using leaflet 1.0.1

Please use leaflet-1.X branch

@ctwoolsey Do u solve this issue?

@morfair Yes

How use leaflet-1.X branch ?

How use leaflet-1.X branch?

@AlexeyKorkoza I'm not sure what your question is.  But http://leafletjs.com has lots of documentation and tutorial on how to use leaflet.js.  It appears they are now on version 1.0.3.

It issue do not solved.

@ctwoolsey sorry, how?

@morfair  It has been a while since I dealt with this issue and I don't remember all of the details of how I got it working.
Here is my relevant code, though:
For the markers & Icon definition:
https://github.com/OpenDataSTL/STLCourts-client/blob/develop/app/scripts/controllers/courtSearchInfo.ctrl.js
For the ui-leaflet usage see line#23:
https://github.com/OpenDataSTL/STLCourts-client/blob/develop/app/views/courtSearchInfo.html
You can check out the index.html file and bower.json files to see the versioning of leaflet & ui-leaflet.  I believe that I ended up using leaflet 1.0.2  and ui-leaflet 3.0 (I downloaded a local copy and referenced it since at the time it was not available via bower.
I hope this helps.

@ctwoolsey You can download leaflet-1.X branch or use bower as:
bower install angular-ui/ui-leaflet#leaflet-1.X --save

I had this issue as well (ui-leaflet 1.0.3 and leaflet 1.0.3) and manually setting the icon as in @morfair link did the trick.

Hi @gecko-8,
You are using ui-leaflet 1.0.3, please use the branch leaflet-1.X, it's 3.0.0 ui-leaflet version.


move notification out of device; more generic; uses json

There's still a uid but it's no longer transmitted with profiles. To be removed in another PR.
Notifications are now topics::notification (no longer inside device::).
Notifications now primarily have a data_type and version, nothing else. The data can be in the format specified in the data_type (which currently supports CUSTOM, JSON, and CBOR). The data is bound at 4096 bytes (from what I saw in the code, it was at 100 before, but that obviously wasn't a limit -- this needs more looking into). Testing shows that, for a L515, the color stream has the most profiles (114) and this comes out to 6741 in raw json or 5034 in CBOR.
Notifications now communicate using JSON. This code mostly resides in the device and device-server. Should be a lot more flexible.
Additionally:

guard against device-server::init() failures

add L515 stream-format

move expected stream number out of device-impl (only used in init())

notification-server no longer starts automatically; on-discovery notifications can only be added when stopped

I actually saw this happen: we saw the reader before all on-discovery messages were defined, so only some of them got sent and the rest got lost

change device destruction in device-watcher to another thread

This was another weird bug that still needs to be understood
I got hangups when exiting python for some reason, and traced it to device destruction
A remote participant crashed (ctrl+c, on purpose) and, when dropping in the current process, the device writer first get removed. This triggers the callback in the watcher and, since it's the only holder of the device, the device gets destroyed...
Placing the destruction in a separate thread seems to alleviate this
Tried using a dispatcher to do this, which didn't work for some weird reason...

There's still a uid but it's no longer transmitted with profiles. To be removed in another PR. Notifications are now topics::notification (no longer inside device::). Notifications now primarily have a data_type and version, nothing else. The data can be in the format specified in the data_type (which currently supports CUSTOM, JSON, and CBOR). The data is bound at 4096 bytes (from what I saw in the code, it was at 100 before, but that obviously wasn't a limit -- this needs more looking into). Testing shows that, for a L515, the color stream has the most profiles (114) and this comes out to 6741 in raw json or 5034 in CBOR. Notifications now communicate using JSON. This code mostly resides in the device and device-server. Should be a lot more flexible.
Additionally:

guard against device-server::init() failures

add L515 stream-format

move expected stream number out of device-impl (only used in init())

notification-server no longer starts automatically; on-discovery notifications can only be added when stopped

I actually saw this happen: we saw the reader before all on-discovery messages were defined, so only some of them got sent and the rest got lost

change device destruction in device-watcher to another thread

This was another weird bug that still needs to be understood
I got hangups when exiting python for some reason, and traced it to device destruction
A remote participant crashed (ctrl+c, on purpose) and, when dropping in the current process, the device writer first get removed. This triggers the callback in the watcher and, since it's the only holder of the device, the device gets destroyed...
Placing the destruction in a separate thread seems to alleviate this
Tried using a dispatcher to do this, which didn't work for some weird reason...

About the data side, I saw a d4xx device with more than 200 profiles,
Not sure I understand you say the previous notification size was 100 bytes? it was a dynamic size and the max profiles was 400 IMO no? or I misunderstood your comment.
So you say you have currently 5034/6741 but the limit is 4096?


fix AnalysisHandler.download when ticket is None

Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

👍

Merging since we need the fix.


getting error from isosurface plot

When I try to generate the isosurface image from "Actions -> isosurface plot...". I got the error message as shown from the image below.
Am I missing something?

You've found a bug that was fixed in October 2019. I assume you are using the old binary distribution we have in GitHub, which was released just a week or so before we found and fixed this bug.
Unfortunately we don't have a way to automatically build binary releases for DIPimage (the MATLAB dependency makes it hard to do this on public build services typically used for open-source software). The best solution is to follow the build instructions for Windows here, it requires you download some free build software, but otherwise is not hard at all.
The quick solution is just downloading the fixed function here and overwrite the one in your installation. This does not, however, fix all the other issues nor add all the other improvements of the software we've made since the release you're using.

Thanks very much for the prompt reply, i will try accordingly


Fails to authenticate to chef zero server

With this Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = '2'

Vagrant.require_version '>= 1.5.0'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.chef_zero.enabled = true
  config.chef_zero.chef_repo_path = "chef"

  config.vm.box = 'ubuntu/trusty32'
  config.vm.provision :chef_client do |chef|
    chef.run_list = []
  end
end

It fails with
The following berks command failed to execute:

    /usr/bin/berks upload --berksfile /home/vilisseranen/co-rabbitmq/Berksfile --no-freeze --force

The stdout and stderr are shown below:

    stdout: E, [2015-07-27T09:33:11.214641 #6659] ERROR -- : Ridley::Errors::ClientKeyFileNotFoundOrInvalid: client key is invalid or not found at: '/etc/chef/client.pem'
E, [2015-07-27T09:33:11.214751 #6659] ERROR -- : /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.2.0/lib/ridley/client.rb:144:in `initialize'

I thought the authentication was handled by the plugin so I don't understand why I can't connect.

When you run vagrant up, do you see a .zero-knife,rb file on the local directory?
If so, could you post the contents?

@vilisseranen Any update on this issue? Or can I close it?

Hi. I have latest version of plugins
vagrant-chef-zero-2.0.0
vagrant-berkshelf-4.1.0
vagrant_1.8.1
and the same error.
==> default: Updating Vagrant's Berkshelf...
==> default: Resolving cookbook dependencies...
==> default: Fetching 'cs-backup' from source at .
==> default: Using cs-backup (0.1.0) from source at .
==> default: Vendoring cs-backup (0.1.0) to /home/user/.berkshelf/vagrant-berkshelf/shelves/berkshelf20160120-2586-1m7b2ms-default/cs-backup
==> default: Uploading cookbooks to http://<IP_ADDRESS>:4000
The following berks command failed to execute:
/usr/bin/berks upload --berksfile /home/user/chef/chef-repo/cookbooks/cs-backup/Berksfile --no-freeze --force

The stdout and stderr are shown below:
stdout: E, [2016-01-20T14:31:09.868415 #4373] ERROR -- : Ridley::Errors::ClientKeyFileNotFoundOrInvalid: client key is invalid or not found at: '/etc/chef/client.pem'

E, [2016-01-20T14:31:09.868501 #4373] ERROR -- : /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.3.2/lib/ridley/client.rb:144:in `initialize'
» cat .zero-knife.rb
        chef_server_url 'http://<IP_ADDRESS>:4000'
        node_name 'zero-host'
        client_key '/tmp/fake_key/fake.pem'

» ls -lha /tmp/fake_key/fake.pem
-rw-r--r-- 1 user user 1,7K січ 20 14:25 /tmp/fake_key/fake.pem

Hi @lesha4ever
My best guess is that vagrant-berkshellf plugin is not picking up on the server configuration that vagrant-chef-zero creates (here: https://github.com/schubergphilis/vagrant-chef-zero/blob/master/lib/vagrant-chef-zero/env_helpers.rb#L29). This could be for several reasons, not blaming the berks plugin.
If you would like to contribute with a PR to integrate with vagrant-berkshelf, that would be great. If not I'm afraid all I can offer you now is a workaround.
The workaround would be:

disable the vagrant-berkshelf plugin in your vagrant file
use berks command line tool to package all the cookbook dependencies: berks vendor TARGET_DIR
configure vagrant-chef-zero to upload the cookbooks from config.chef_zero.cookbooks = "TARGET_DIR"

Can you please try this? I will be happy to assist you if you get stuck.

Thanks,
Looks like this workaround works.
But I do not understand where I should to contact for fixing this bug?

Great to hear that it worked.
This is the palace for asking these things. However, it is not a bug. A bug would be something not working in the plugin. What you would like to see is this plugin integrate with another plugin (berkshelf). That's a feature request, and since we have no planned roadmap for the plugin, it will be difficult to implement it. New features have been added by the people that need them, when they need them.
That's why I say, if you really need the integration with berks, then you are more than welcome to make a pull request to add that, and I will be very happy to help you by reviewing, and testing your change,

Many thanks!


Vice (Ooyala) not working with generic extractor

Looking back at old commits, looks like the Vice functionality was removed from its own IE and added to the Ooyala one. I may be wrong about that. Verbose output:
$ youtube-dl -v http://www.vice.com/the-real/the-real-true-detective-010                                                         10/04/2014 15:55:08 PDT
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.vice.com/the-real/the-real-true-detective-010']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.02
[debug] Python version 2.7.6 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] the-real-true-detective-010: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-real-true-detective-010: Downloading webpage
[generic] the-real-true-detective-010: Extracting information
ERROR: Unsupported URL: http://www.vice.com/the-real/the-real-true-detective-010; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 540, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1549, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 74, column 50
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 191, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 897, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.vice.com/the-real/the-real-true-detective-010; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Vice extractor has been re-added, so it should work with youtube-dl 2014.11.09 and newer. Please update and try, if it works for you (see our FAQ if you have problems updating).
Please note, however, that the URL you had problem's with no longer exists or the URL scheme on Vice.com has changed a bit - I've found it to now be: http://www.vice.com/video/the-real-true-detective-010.
I am closing this now, comment here if the problem still persists after updating and I'll reopen it, or open a new issue.


Error message: Class 'Yajra\DataTables\DataTablesServiceProvider' not found

When I try to install it with https://github.com/balping/ticketit-app I receive this error message

Find the solutions thanks


Unhandled exception in concurrent task!

Hitting this error with CLN at 57d21206dbeb05f085e288b9324c7bb8d76b7180
2023-03-18T13:07:00.073Z DEBUG   lightningd: Calling htlc_accepted hook of plugin clboss
2023-03-18T13:07:00.076Z **BROKEN** plugin-clboss: HtlcAcceptor: Unexpected payload of htlc_accepted: [REDACTED]

Also getting this printed to console repeatedly:
Unhandled exception in concurrent task!
Incorrect type.
...main loop continuing...

This is likely addressed by https://github.com/ZmnSCPxj/clboss/pull/162

Fixed by #162


Background dark in gvim?

Possible?
set background=dark has no effect...

The normal background color is set to none to inherit whatever background color is set in your terminal. This allows for transparency in iTerm on Mac OS X.
To specify your own background color, black for example, add this to your configuration:
hi Normal gui=NONE guifg=#e0e0e0 guibg=#000000 cterm=NONE ctermfg=188 ctermbg=00


Temporarily continue on errors here to fix prod.

Force merging with post-merge review to fix prod.


when using htmldocument.LoadFromBrowser thrown the following exception

ThreadStateException: ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.

Hello @mrtylerzhou ,
Are you using the method LoadFromBrowser? If that's the case, it cannot work for this kind of project.
Unfortunately, this is a limitation of the WebBrowser and there is not so much we can do.
The only way to work around this issue is to create a new thread with STA
If you search for it and find a good please, please try to report it here to improve this answer.
Best Regards,
Jonathan

Help us to keep this library free: Donate

@JonathanMagnan  Thank you for your explaination,I'll try it.I have no better ways.I just tried it following the document in the official site and came across with this problem.

for anyone looking to get around this error, I ran into it using a C# web api, and was able to get around this error using the following pattern
var t = new Thread(() => {
    var web = new HtmlWeb();
    doc = web.LoadFromBrowser(href, o => {
        return true;
    });
});
t.SetApartmentState(ApartmentState.STA);
t.Start();
while (doc == null) {
    Task.WaitAll(Task.Delay(1000));
}


option -tty incompatible with vagrant

Hi,
I have a problem using ansible-silo with vagrant. When doing vagrant provision, I get
the input device is not a TTY
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I see the option is hard coded in the run script
command="${docker_cmd} run --interactive --tty --rm"

For the moment I manually remove the --tty option. Is it possible to add a user option or an environment variable to chose if I want tty option or not?
Thanks
Juan

Thanks Juan. Will take care of it in the next release. I recently stumbled over this myself when trying to run ansible-lint via VS Code plugin.
I assume tty detection should work for you? That way you don't have to set anything. The --tty will only be set if actually it is a tty.

Yes, tty detection will be great. Thanks

No problem. This works fine. Thanks a lot


Single ticks in log plots

@lukashergt: I've been using #328 for some GAMBIT plots, which are now looking great. I'm coming up against a corner-case which is causing us some aesthetic issues.
Here is as close to a minimal working examples as I can make: you have e.g. 5 parameters with very wide ranges in log space (common in particle physics). Plotted at publication width (i.e. 6 inches), we find:
from anesthetic import make_2d_axes, Samples
import numpy as np

N = 5
params = [f'a{i}' for i in range(N)]
fig, axes = make_2d_axes(params, logx=params, logy=params)
samples = Samples(np.exp(10*np.random.randn(1000,N)), columns=params)
samples.plot_2d(axes)
fig.set_size_inches(6, 6)
fig.savefig('log_difficulties.png')

In this, the default log-axis tick choice is somewhat unhelpful, in that for some of the plots there is only one tick (with no minor ticks).
The issue arises I think because where we set the log scales is separated from the tick fiddling, the latter of which I think is only valid for the linear case.
@lukashergt Do you have any thoughts on how this might be fixed?

#372 has fixed this MWE:


jekyll-workflows

mostly identical to dev branch, except for the inclusion of update-documentation.yml which is intended to provide a remote means of updating the app repository from this repo, in the case of changes to the SDK which will reflect changes in the app website (e.g., remote-jekyll)

All commits are cherry-picked into #169 (147- branch). Closing without merging now.


Fixes adds epoch number to the package version

Hello,
Since Clair Version 2.0.0
when I retrieve the fixes for some packages the API adds the epoch to the Version although it is not present in official repository. Example:
GET http://<IP_ADDRESS>:6060/v1/namespaces/centos:7/vulnerabilities/RHSA-2017:0254/fixes
gives me
  "Features": [
    {
      "Name": "spice-server",
      "NamespaceName": "centos:7",
      "VersionFormat": "rpm",
      "Version": "0:0.12.4-20.el7_3"
    }
  ]
}

But the Epoch 0: is not part of the package version when for example I make a yum list available on the VM.
Also here: https://access.redhat.com/errata/RHSA-2017:0254 or https://vulners.com/redhat/RHSA-2017:0254 the epoch is not present

To my understanding, a lack of epoch in the version is equivalent to 0, so we're being more explicit in this case. If this is not true or there's another strong argument to remove the 0 epoch, I'm open to changing this code.

Yes it is true that a lack of epoch in the version is equivalent to 0 but this makes it just pedantic and more difficult to compare with package version coming from the official repository.
I just think it makes more sense to use the exact same version as in official repos.

I don't think we're going to change because it makes comparing versions more reasonable programmatically. Now that Clair maintainers work at Red Hat maybe we can work something out with the data sources.


Fix #58

Thanks for submitting the patch. Could you please help testing the major browsers then let me know it works fine.

@layerssss Sure. I will report if there is a problem :)


Ternary operator does not work with arrays

Hello, thank you for your work of bringing Twig to JavaScript.
However, I have found the following issue (minimal example):
const template1 = twig.twig({
  data: '{{ (true ? ["yay"] : ["nay"])[0] }}'
});
template.render();
// ''

If the condition is false it works:
const template2 = twig.twig({
  data: '{{ (false ? ["yay"] : ["nay"])[0] }}'
});
template.render();
// 'nay'

With strings instead of arrays it works as expected. When I tried it with Twigfiddle (https://twigfiddle.com/ldwyfk) it also worked fine with arrays, so I think it is a problem with Twigjs.
Changing from ternary to if/else also works.

Yep, same for me, here are a few more infos:

{# classes defined as arr #}
{% set classes = ["waffles", "are-the-best"] %}
{{ classes ?: "nope" }} {# // -> 2 #}
{{ classes ? classes : "nope" }} {# // -> 2 #}
{{ classes ? "yep" }} {# // -> "yep" #}

{# classes defined as string #}
{% set classes = "Anyone seen Robin?" %}
{{ classes ?: "nope" }} {# // -> "Anyone seen Robin?" #}
{{ classes ? classes : "nope" }} {# // -> "Anyone seen Robin?" #}
{{ classes ? "yep" }} {# // -> "yep" #}

{# classes null #}
{% set classes = null %}
{{ classes ?: "nope" }} {# // -> "nope" #}
{{ classes ? classes : "nope" }} {# // -> "nope" #}
{{ classes ? "yep" }} {# // -> "" #}

A good fallback while waiting for fix is the default filter
{% set _classes = [
        "stuff"
   ] | merge( overrides | default( [ "iWontThrowNow", "andIhaveMyFallback" ] ) ) %}

Is there any update on this issue? Especially regarding @Kingdutch comment.
A temp workaround is this one, but is not really satisfiable:
{% set modifiers = [
  isDark ? 'c-card--is-dark' : '',
  hasMedia ? 'c-card--has-media' : ''
] %}

Ternaries are still broken in the latest version of the repo.
The following crashes the parser.
{# This breaks the parser. #}
{%
  set classes = [
    title_display == 'after' ? 'option',
    title_display == 'invisible' ? 'visually-hidden',
    required ? 'js-form-required',
    required ? 'form-required',
    'form-label',
  ]
%}

However wrapping the first ternary array entry in a bracket fixes it.
{# No longer breaks the parser. #}
{%
  set classes = [
    (title_display == 'after' ? 'option'),
    title_display == 'invisible' ? 'visually-hidden',
    required ? 'js-form-required',
    required ? 'form-required',
    'form-label',
  ]
%}

For others having issues with twig.js's parser issues, you're better off using Twing. It's a more stable twig implementation.

The original example provided by @4nduril works in the latest version which can be seen here.
As for the other ternary examples given, no simple and clear example was provided, so it's hard to determine which one wasn't working. If there are still issues with those other cases, please open a new issue with a simple example that works on TwigFiddle and the same example not working using this template.

I see I missed a closing square bracket in my previous example.
Twig fiddle shows that that case now works as expected: https://twigfiddle.com/roz6mz


Language skin object has current language in culture tokens

Description of bug
When adding the dnn Language skin object, you can provide values for ItemTemplate, AlternateTemplate, SelectedTemplate.
see https://www.dnnsoftware.com/wiki/language-skin-object or https://www.dnnsoftware.com/community-blog/cid/134633/the-language-skinobject-explained
The values of these attributes could be something like this:
[CULTURE:TWOLETTERISOCODE]
However, in DNN 9.10.1, everything that starts with CULTURE: holds the current language, instead of the language of the item.
See current behavior and expected behavior.
Steps to reproduce

create an .ascx skin
add <%@ Register TagPrefix="dnn" TagName="LANGUAGE" Src="~/Admin/Skins/Language.ascx" %>
add

<dnn:LANGUAGE runat="server" ID="dnnLANGUAGE" ShowLinks="True" ShowMenu="False"
SeparatorTemplate=' '
ItemTemplate='[CULTURE:TWOLETTERISOCODE]'
AlternateTemplate='[CULTURE:TWOLETTERISOCODE]'
SelectedItemTemplate='[CULTURE:TWOLETTERISOCODE]' />

See behavior

Current behavior
Renders this html (portal with 3 languages, I removed the domain names for readability, please note the "nl" 3 times.

nl
nl
nl

Expected behavior
This is the expected result, with the item language. This worked in DNN 8.4

nl
fr
en

Additional context
Content localization is enabled.
All these tokens appear to work: [URL] [FLAGSRC] ...
The ones starting with CULTURE don't: [CULTURE:TWOLETTERISOCODE] [CULTURE:NAME] ...
Affected version

[x] 09.10.01 latest supported release

Affected browser
(NA)

[x] Chrome

It appears to be working fine for me, did you get that just from a clean install or is there something more to it maybe causing it ?

After comparing installations it could be a 3rd party module (I thought the installation was clean).
I will investigate further and close this issue soon if this is the case.

It was after 3rd party software was installed.
I didn't expect this to influence core DNN tokens.


Add functionality for rendering VTTs with nested cues

Set up webVtt hook and handle initial parsing of flat structure into nested cues structure
Update to complete nested structure from a flat array.  Extends beyond one child.
First pass at nested UI display
Update styling for nested UI display
Logging code to track down why the Radix Tab Content component is blocking a new Resource from displaying, when changing active canvas.
Fix potential orphan childed if parent end times are equal.
Remove background styling on nested children.
Remove console logs.

Cherry picked @mathewjordan commits to https://github.com/nulib/react-media-player/pull/54


WIP: Update topic properties

Luke Chen, ready for your SME review. I've applied the policy updates from MGDSTRM-7712 to the topic configs doc. I've also pinged you with a few specific questions. Can you have a look through to verify this PR? Thanks.
Links:

Jira
Doc preview

In long run it will be good to actually generate our limits from api. If you think this is something we want I can create jira for it

@mmusil Thanks so much for the comments! I addressed the things you pointed out. With that taken care of, do you approve?


Add platform detection and use <IP_ADDRESS> in Android

Resolves FormidableLabs/urql-devtools#315

On Android, localhost refers to the emulated device itself. There is a special alias to reach the host machine - <IP_ADDRESS>.
If the exchange is being used within a React Native environment, import Platform and determine if the special Android <IP_ADDRESS> host should be used based on the OS property.

<IP_ADDRESS> is the default host IP when using a NAT (maybe others too?) in Virtualbox so this makes sense.
This wouldn't work for physical devices (plugged in via USB) however and might break cases where loopback over ADB is being used 🤔

The best way to solve this issue seems to be using reverse port forwarding with the adb utility:
adb reverse tcp:7700 tcp:7700

This forwards port 7700 on the emulated device to port 7700 on the host machine, allowing the app to connect to the Electron instance on the local machine.
I'm going to close this PR in favor of that solution.


Installation breaks and cannot be completed or fixed (physical machine)

Last week I successfully built a V3 VM, but now am having a new issue when building a physical V3 machine.  The initial installation had one error that seemed to be a broken ophcrack package.  I figured I could remedy the situation by simply performing another "sudo sift install" to fix things.  Instead I get the following error message:

<EMAIL_ADDRESS>sift-version: notinstalled

downloading v2019.06.0

downloading sift-saltstack-v2019.06.0.tar.gz.asc
downloading sift-saltstack-v2019.06.0.tar.gz.sha256
downloading sift-saltstack-v2019.06.0.tar.gz.sha256.asc
downloading sift-saltstack-v2019.06.0.tar.gz
validating file sift-saltstack-v2019.06.0.tar.gz
validating signature for sift-saltstack-v2019.06.0.tar.gz.sha256
extracting update sift-saltstack-v2019.06.0.tar.gz
performing update v2019.06.0
Log file: /var/cache/sift/cli/v2019.06.0/saltstack.log

Update returned exit code not zero
Error: Update returned exit code not zero
at ChildProcess.update.on (/snapshot/Users/ekristen/Development/sift/sift-cli/sift-cli.js:520:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Any ideas as to why this error is occuring or a better way to fix the installation.  Most tools, posters, desktop appear to be proper for the SIFT V3, but any attempt to update or install causes errors.
I used a fully updated 16.04 base system to build the machine before using the sift cli.

Pleas attach the log file

The log content is as follows:
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in
salt_call()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 386, in salt_call
import salt.cli.call
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 9, in
import salt.cli.caller
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 19, in
import salt.minion
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 90, in
import salt.pillar
File "/usr/lib/python2.7/dist-packages/salt/pillar/init.py", line 18, in
import salt.fileclient
File "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 29, in
import salt.utils.templates
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 31, in
import salt.utils.http
File "/usr/lib/python2.7/dist-packages/salt/utils/http.py", line 71, in
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/init.py", line 95, in
from urllib3.contrib import pyopenssl
File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

Reinstall pyopenssl. It’s not clear why this happens

I get the following result when trying to re-install:
pip install pyopenssl
Requirement already satisfied: pyopenssl in /usr/lib/python2.7/dist-packages
Should I remove it first and then reinstall?

Or force reinstall option
Sent from my iPhone

On Mar 1, 2019, at 13:08, socialcred<EMAIL_ADDRESS>wrote:
I get the following result when trying to re-install:
pip install pyopenssl
Requirement already satisfied: pyopenssl in /usr/lib/python2.7/dist-packages
Should I remove it first and then reinstall?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Dear Erik,
Forcing the reinstallation of pyopenssl followed by a sudo sift install fixed the problem.  Thanks for the tip!


Cannot see changes the blueprint changes in pygame window

i have modified the blueprints for sounds and side mirror in the unreal editor and i could not see the chnages in the pygame window. Is there any specific thing to do, to see changes while i am running pygame window.

Is there a reason you are using pygame? We generally use the unreal editor or the packaged build

I am using pygame for scenario runner.I  have done the changes in the unreal editor and built the package even though I could not see any changes in the pygame window.
Is there any setting to check so that the blueprints edited in the unreal editor reflects to the package when I built it??

You don't need to use pygame for scenario runner. Running the editor and hitting play or using the packaged mode (ofc you have to redo make package) should work.

Sure , I will check on that and get back to you if I face difficulties.
Thank you

Hi, how are you running the manual control script and scenario runner.

firstly we need server and client to run the above scripts.
which client window are you using??
as soon as in run manual  control script pygame window opens up but thats not the case with your project, i believe thats the reason why i am not able to see changes made in the unreal editor not reflecting.

couild you help me with this. thank you

DReyeVR works a bit differently than CARLA. We use the server directly as the "game window". It will spawn an ego vehicle and respond to keyborad/logitech wheel commands directly. No need to spwan an additional pygame window.

Small question regarding the fps, what was your FPS range and if it's higher than 25 how did you achieve that.
Thank you

Hi How to run the manual control script within the server window. Usually it opens the pygame window as soon as i run the manual control script. can you help me with this.
By default it uses pygame window (manual script from the git hub repo).
Thank you
chirudeep

You do not need to use manual control to do manual control. Simply run the simulator and you will be able to control the vehicle with your keyboard

Hi @ajdroid
I am not using VR and also my question is in general what are the things to be modified to use carla server window as client window to display the sensor data (as your repo works) . for now i want to use scenario runner that runs in the carla server window. Which specific part of the code (in carla) should i work on to make this possible.
Thank you.


remove redundant WarningsNotAsErrors

I'm a little surprised by this one. What was redundant about the suppression? I generally want warnings-as-errors turned on, and suppress the ones that I decided were more noise than help.

we have warnings-as-errors. the fact that they can be removed and still build means they are redundant?

eg the obsoletes. i assume at one point you had obsoleted some of your members/types, but still wanted to test them, so u had to suppress the obsolete warnings


flightgear: 2019.1.1 -> 2020.1.3, simgear: 2020.1.{1 -> 3}

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/marvin opt-in

Does this release support the new openscenegraph release?
https://github.com/NixOS/nixpkgs/pull/77799

Flightgear would not build for me with this:
CMake Error at CMakeModules/Translations.cmake:38 (translation_dir_list):
  translation_dir_list Function invoked with incorrect arguments for function
  named: translation_dir_list

Let's ask ofborg to reproduce (might not work because of empty meta.hydraPlatforms):
@GrahamcOfBorg build flightgear

/status needs-work

/status needs_work

I reverted the version to 2020.1.2, this seems to build. Best to have something working at all. We can bump the version further later.

/status needs_review


Update use of cesium-native after the no-priority-inversion changes

Thanks for the pull request @kring!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.


Add a mode that disables reflection

Fixes #6897.
This adds an option to disable generation of reflection data in the compiler.

There is still some work left on the native layout metadata generation side in the compiler - default EqualityComparer/Comparer won't work with this option enabled right now. When this option is enabled, we crash at shutdown because the shutdown path makes a new Dictionary type instance in AppContext and Dictionary touches comparers for annoying reasons.
Native layout metadata generation in the compiler assumes that when reflection is disabled, no native layout is needed - and when reflection is enabled, everything should get native layout metadata. The correct behavior is a middle ground - we're not doing the right thing in either of those cases (in one case we make too much native layout, in the other case we do too little native layout). I'm not in the mood to fix that right now because it looks like a pain to coordinate between Project N and here.

I think it would be better for this no-reflection RuntimeType to live in CoreLib and have (weak) reference to the optional full reflection support. Same as in CoreCLR. It would make the CoreLib sharing easier and it would get us on path to fix the less than ideal memory footprint of CoreRT reflection (the reflection caches stay around forever vs. they are collectible in CoreCLR).
I understand that you may not want to have appetite to do this refactoring. Just mentioning it.

shutdown path makes a new Dictionary type instance in AppContext

Do you happen to have a stack trace for this around?

LGTM otherwise

Do you happen to have a stack trace for this around?

I don't, but it was coming from this line:
https://github.com/dotnet/corert/blob/45f329dfc1fefac150b7e3300b1b09c7761e7ccc/src/System.Private.CoreLib/shared/System/AppContext.cs#L16
Passing a custom comparer didn't help, because the first thing Dictionary does in the constructor is that it checks the passed in comparer is not the default comparer - it calls into the type loader to load it either way.
We are running the cctor because AppContext.OnProcessExit touches the statics.
I'm thinking that maybe having some private API to check if the passed in comparer is the default comparer (without actually loading the default comparer) might be overall goodness.

I think it would be better for this no-reflection RuntimeType to live in CoreLib and have (weak) reference to the optional full reflection support

I know the structure of the reflection stack has been your pet peeve for a while, but I'm focusing my weekend activities on things that have the highest impact with the least amount of work right now. System.Private.DisabledReflection can be deleted without replacement once we restructure the reflection stack in the way you would like. Since this addition doesn't create debt (I placed it in a leaf location that nobody else depends on/is aware of), let's go with this for now.


Missing UserStateManagerMiddleware and ConversationStateManagerMiddleware from AlarmBot samples, probably old and to be removed

The READMEs for both AlarmBot and AlarmBot-Cards include the following:
The UserStateMangerMiddleware() and ConversationStateManagerMiddleware() adds automatic persistence of the context.state.ConversationProperties and context.state.UserProperties objects.
None of the above is found in any of the files for the repo, I think it's probably old and needs to be removed?

@JonathanFingold Could you take a quick look at this and resolve? I believe we're plannning to delete the AlarmBot samples soon, so I'm not sure how much we should invest in this.

By design. We are replacing the alarm bot sample.


Fix switch_on_hover for MenuButton

Previously, embedded Windows (the opened menu) were not accounted for when checking for switch_on_hover.
gui_get_hovered_control() is more appropriate to check for the hover status of other MenuButton nodes at the mouse position.
Explain the usage of the incorrectly used function in a comment.

resolve #99842

Thanks!


Update flutter 3.24 Packaging apk error

The mistake is as follows
What went wrong:
Execution failed for task ':flutter_svprogresshud:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:/Users/qqq/Desktop/app/build/flutter_svprogresshud/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.

How to solve it，please

Use this fork
in pubspec.yaml
  flutter_svprogresshud:
    git:
      url: https://github.com/Syaba999/flutter_svprogresshud

https://github.com/Syaba999/flutter_svprogresshud

ok, thanks

Use this fork
in pubspec.yaml
  flutter_svprogresshud:
    git:
      url: https://github.com/Syaba999/flutter_svprogresshud

Thank you!! Open a PR for this fix please 🙏🏻.

Fixed, please update to 1.1.0


App Localization

Is your feature request related to a problem? Please describe.
Ability to make wallet multilingual based on current iOS System Language. #massaboption
Describe the solution you'd like
Localizable.strings
https://medium.com/lean-localization/ios-localization-tutorial-938231f9f881

New project has been opened