text:
?sqi=true&rcn=10&smf=PREFIX... vs  ?fu=1&smf=PREFIX...

Hello,
I have been dealing with the ACME Semantic Descriptor support and now I am blocked on the way to get parent resources from a smf discovery.
I have created a AE with a descriptor with RDF...
When I execute a discover like this:    ...?sqi=true&rcn=10&smf=PREFIX... I get the right result:
{"m2m:qres": "{"results": {"bindings": [{"device": {"type": "uri", "value": "http://example.com/devices/1\"}}]}, "head": {"vars": ["device"]}}"}
but when I execute the same but now using:     ?fu=1&smf=PREFIX...  to get parent resources (e.g. AE) I get:
{"m2m:uril": []}
Do ACME supports the returning of parent resources when the smf query hits?
Thank you
Alex

For this little test I have just one AE, with one cont and a SD both suns of AE.
In the discovery operation I am passing path to the parent AE, e.g.
'http://192.168.122.1:8081/cse-mn/CSensorIndoorTemperature?fu=1&smf=PREFIX+
I also tried to pass 'http://192.168.122.1:8081/cse-mn?fu=1&smf=PREFIX+  but the return is the same:
{"m2m:uril": []}
Does ACME supports discover based on smf?

Yes, it does. The issue is that with fu=1 the CSE does first a oneM2M "discovery" operation, which means a list of URI's of the child resources of your target, here the AE. In the next step, the CSE applies the semantic filtering on that list.  In your example the list contains Uris to the cnt and smd of the AE. Semantic filtering is working on child (!) resources of the target resources that are SMD resources. But since there are none, the result is empty.
Roughly:
Resource tree:
AE
  + cnt
  + smd

step: discovery: list = [ AE/cnt, AE/smd]
step: semantic filter:

look for  AE/cnt/smd -> none
look for AE/smd/smd -> none

result: list = [ ]

I am following document TR-0045... That is why I created the SD inside AE
I have just created the same SD but now inside cont and discovery returns {"m2m:uril": []}

Ok.
But as you wrote the algorithm used to answer discover operations:
step: discovery: list = [ AE/cnt, AE/smd]
step: semantic filter:
    look for AE/cnt/smd -> none
    look for AE/smd/smd -> none
result: list = [ ]

I thought that if I created the SD inside the container that it would be returned by executing a successful SPARQL query, but it is not. Please could you present the ordered steps to create the oneM2M resources including SD to be possible to return the parent of a (successful processed) SD?
Thank you

In fact I have thought once to create a oneM2M implementation as you did and as you are doing, because the majority of open source implementations have serious dependencies problems and... etc. Except ACME of course. I am dealing with standardization and have chosen oneM2M and I have just adopted ACME which seems to be a good piece of software and well written. Congratulations! So it is expected that in future days I will post new questions here when things get "blur". :-)
Great link and very useful!
Thanks once again.
Alex

Thank you very much for your kind words!
You are saying you are dealing with standardization. Are your planning to attend the oneM2M standardization meetings? We, the oneM2M standardization group, are just meeting this week at ETSI in France.
Please keep the questions coming. Perhaps also consider to ask them on StackOverflow (if they are general oneM2M question). Then the discussion will help a broader audience.

I am very interested in interoperability and in oneM2M in particular.
Can anyone attend oneM2M meetings? Do you belong to the oneM2M board?
Is it possible to attend via online? (no possibility to go to France). If so I would like to attend.

Could you try contact me on the discord channel? I'd like to introduce you to the technical plenary chair to arrange things

When I try to access https://discord.com/invite/6ryMHQC2Uj I have been getting "Invite Invalid"...
You said that meeting is in this week but when? Friday, Saturday, Sunday? I am going to talk about this with my R. Coordinator and probably he is also interested (if available) to attend the meeting.
Here is a (secondary) email for exchanging details: acptab630@gmail.com

When I try to access https://discord.com/invite/6ryMHQC2Uj I have been getting "Invite Invalid"...

For me the link works. It seems that sometimes discord has troubles with the verification :(


text:
🐞 [BUG] - Site Overflow

Description
Website is not having its overflow hidden.
Current behaviour
Overflow is not hidden.
Expected behaviour
It should be hidden.
Reproduction steps
..

Screenshots
Screencast from 14-06-23 11:50:25 PM IST.webm
Logs
No response
Browsers
Chrome
OS
Linux
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

yeah! On mentor page.... please fix it!

source: gharchive/issue

repo: anmode/grabtern-frontend

license: MIT

license_type: permissive

license_source: github-api


text:
FEAT: Darkmode for Dashboard & Pre-loader

Related Issue

Closes: #778
Description of Changes

I've made the changed the pre-loader theme for the darkmode and mentor dashboard, I still need to test user login page on the dashboard.

Added code for initialising theme according to user on pre-load
Fixed dashboard (Mentor)
Need to test user dashboard

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[ ] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

Looks cool!... I test it tomorrow morning! Thanks for making it!

source: gharchive/pull-request

authors: anmode vatsalsinghkv


text:
Tinymce组件value双向绑定的BUG

文档中提到Tinymce组件应当是value(v-model)
但是

prop中既有modelValue，也有value
emit中只有modelValue，没有value
初始化只有value有效，modelValue无效

这导致这个组件既不能使用modelValue双向绑定（因为无法初始化），也不能使用value双向绑定（因为无法emit到外部）

请看富文本在表单中的使用例子------------------ 原始邮件 ------------------
@.>
发送时间: 2021年7月26日(星期一) 中午1:53
@.>;
@.***>;
主题: [anncwb/vue-vben-admin] Tinymce组件value双向绑定的BUG (#981)

文档的例子我看了，但是问题如图所示，v-model中的value是没变的，但文档说是双向绑定。
value(v-model)在组件上不是应该写成v-model:value="xxxx"吗？

你所使用的版本？

经测试没有问题。
如果你使用的是较老的版本，请更新或者根据commits记录做对应的代码同步。
遇到问题请先在当前版本测试是否已修复，或者查阅更新日志看是否有相关fix。

authors: Weilence mynetfan

repo: anncwb/vue-vben-admin


text:
🛑 Rainbow is down

In 1c5097b, Rainbow (https://радуга-талантов.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rainbow is back up in a275f14 after 25 minutes.

repo: ano-pedproject/repo


text:
🛑 Радуга-талантов.РФ is down

In 8147646, Радуга-талантов.РФ (https://радуга-талантов.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Радуга-талантов.РФ is back up in 6098781 after 11 minutes.


text:
Improve encodings handling

DoD:

Both client and server support same encodings (or specifiy supported encodings in documentation)
Support ANSI codepages (via codepage or something)

Probably will be never resolved

repo: anpur/line-navigator

license: mit

license_source: bigquery


text:
Deploy to vercel: Playwright test is only supported in runtime 2022.02 and above.

我刚部署完是没问题的

having the same issue while trying to deploy to vercel

This is a checkly specific error, I fixed mine by switching the runtime version to >20.02 on their website at /settings/account/runtimes

authors: AndPuQing DawnMagnet Emilstromberg turbowars

repo: anse-app/chatgpt-demo


text:
[Narratif] erreur code dans scenario inactivation d'une anomalie

Description du problème
dans le scenario https://interop.esante.gouv.fr/ig/fhir/ror/specifications_techniques_6.html#scénario-2-inactivation-dune-anomalie le code attendu est 03 pour Annulé
Fichier•s concerné•s
specifications_techniques_6.md
Solution proposée
corrigé l'exmple

Attente validation PR


text:
NOS --> SMT - Règles de création spécifique pour la première version des JDV d'une TRE

Description du problème
Re-bonjour @3abdel3ali
Nouvelle Question Finess+
Serait-il possible d'initialiser la première version d'un JDV  avec la totalité des codes de la  TRE reférencée (actifs ou non)
Ensuite , pour les nouvelles versions du JDV, appliquer une règle de maj du JDV,  comme par exemple l'ensemble des codes actifs de la TRE
Merci
Page•s concernée•s
Fichier•s concerné•s
Solution proposée

Hello @dcohenAns
Yes, si j'ai bien compris, c'est tout à fait possible

OK Merci bien

repo: ansforge/IG-terminologie-de-sante


text:
Upgrade to 2.1.0 broke env var interpolation in molecule.yml

Hello,
after upgrading from v2.0.0 to v.2.1.0, molecule create started failing with:
TASK [Wait for instance(s) creation to complete] *******************************
FAILED - RETRYING: [localhost]: Wait for instance(s) creation to complete (300 retries left).
failed: [localhost] (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': '487630708826.39491', 'results_file': '/Users/Giovanni.Toraldo/.ansible_async/487630708826.39491', 'changed': True, 'item': {'name': 'common-instance', 'image': '${MOLECULE_ROLE_IMAGE:-centos:7}', 'dockerfile': '../../../../tests/molecule/Dockerfile-noprivs.j2', 'command': '/lib/systemd/systemd', 'privileged': True, 'cgroupns_mode': 'host', 'tmpfs': ['/run', '/run/lock', '/tmp'], 'volume_mounts': ['/sys/fs/cgroup:/sys/fs/cgroup:rw'], 'groups': ['search']}, 'ansible_loop_var': 'item'}) => {"ansible_job_id": "487630708826.39491", "ansible_loop_var": "item", "attempts": 2, "changed": false, "finished": 1, "item": {"ansible_job_id": "487630708826.39491", "ansible_loop_var": "item", "changed": true, "failed": 0, "finished": 0, "item": {"cgroupns_mode": "host", "command": "/lib/systemd/systemd", "dockerfile": "../../../../tests/molecule/Dockerfile-noprivs.j2", "groups": ["search"], "image": "${MOLECULE_ROLE_IMAGE:-centos:7}", "name": "common-instance", "privileged": true, "tmpfs": ["/run", "/run/lock", "/tmp"], "volume_mounts": ["/sys/fs/cgroup:/sys/fs/cgroup:rw"]}, "results_file": "/Users/Giovanni.Toraldo/.ansible_async/487630708826.39491", "started": 1}, "msg": "Error pulling image molecule_local/${MOLECULE_ROLE_IMAGE:-centos:7} - 400 Client Error for http+docker://localhost/v1.41/images/create?tag=7%7D&fromImage=molecule_local%2F%24%7BMOLECULE_ROLE_IMAGE: Bad Request (\"invalid reference format: repository name must be lowercase\")", "results_file": "/Users/Giovanni.Toraldo/.ansible_async/487630708826.39491", "started": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

this seems caused by my molecule.yml that contains an image that can be overriden via env var:
platforms:
  - name: common-instance
    image: ${MOLECULE_ROLE_IMAGE:-centos:7}
    dockerfile: ../../../../tests/molecule/Dockerfile-noprivs.j2
    command: "/lib/systemd/systemd"
    privileged: true
    tmpfs:
      - /run
      - /run/lock
      - /tmp
    volume_mounts:
      - "/sys/fs/cgroup:/sys/fs/cgroup:ro"

we use that to easily switch the base image to test multiple OS in our CI matrix.

Closing due to the recent migration towards molecule-plugins

authors: gionn ssbarnea

repo: ansible-community/molecule-plugins


text:
AttributeError: 'Docker' object has no attribute 'vagrantfile' although not using Docker

Issue Type

Bug report

Molecule and Ansible details
ansible 2.8.3
  config file = None
  configured module search path = [u'/Users/rhyscampbell/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/virtenv/lib/python2.7/site-packages/ansible
  executable location = /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/virtenv/bin/ansible
  python version = 2.7.10 (default, Feb 22 2019, 21:55:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
molecule, version 2.20.2

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Detail any linters or test runners used:
Disabled at the moment.
Desired Behavior
A more appropriate error message.
Issue in brief
I specify the following in my molecule.yml file...
---
driver:
  name: vagrant
  provider:
    name: virtualbox

When attempting either molecule test or converge I get the following error...
AttributeError: 'Docker' object has no attribute 'vagrantfile'

Uncertain what this error is referring to as I'm not using Docker in this project.
Please give some details of the feature being requested or what
should happen if providing a bug report.
Actual Behaviour
The error was:
AttributeError: 'Docker' object has no attribute 'vagrantfile'

molecule.yml
---
driver:
  name: vagrant
  provider:
    name: virtualbox
lint:
  name: yamllint
  options:
    config-data:
      ignore: virtenv/
platforms:
  - name: nrpeyum01
    groups:
      - nrpe
    provisioner:
      name: ansible
      playbooks:
        create: playbooks/nrpe.yml
  - name: nrpepip02
    groups:
      - nrpe
  - name: nrpescript03
    groups:
      - nrpe
  - name: nrpeyumpip04
    groups:
      - nrpe
  - name: nrpeyumscript05
    groups:
      - nrpe
  - name: nrpepipscript06
    groups:
      - nrpe
  - name: nrpeall07
    groups:
      - nrpe
  - name: testnagios01
    groups:
      - nagios
  - name: testnagios02
    groups:
      - nagios
  - name: testnagios03
    groups:
      - nagios
  - name: testnagios04
    groups:
      - nagios
provisioner:
  name: ansible
  lint:
    name: ansible-lint
    options:
      exclude:
        - virtenv/
    enabled: False # Turn off for now
verifier:
  name: testinfra
  lint:
    name: flake8
```

*create.yml*

```
---
- hosts: localhost
  connection: local
  tasks:
    - name: Create nrpe instances
      molecule_vagrant:
        instance_name: "{{ item }}"
        platform_box: "bento/centos-7.5"
        provider_name: virtualbox
        provider_memory: 1024
        provider_cpus: 1
        provider_raw_config_args:
          - "customize ['modifyvm', :id, '--name', '{{ item }}']"
          - "vm.synced_folder './', '/vagrant', disabled: true'"
          - "config.vm.hostname {{ item }}"
        state: up
        provision: true
      with_items:
        - nrpeyum01
        - nrpepip02
        - nrpescript03
        - nrpeyumpip04
        - nrpeyumscript05
        - nrpepipscript06
        - nrpeall07
    - name: Create nagios instances
      molecule_vagrant:
        instance_name: "{{ item }}"
        platform_box: "bento/centos-7.5"
        provider_name: virtualbox
        provider_memory: 1024
        provider_cpus: 1
        provider_raw_config_args:
          - "customize ['modifyvm', :id, '--name', '{{ item }}']"
          - "vm.synced_folder './', '/vagrant', disabled: true'"
          - "config.vm.hostname {{ item }}"
        state: up
        provision: true
        with_items:
          - testnagios01
          - testnagios02
          - testnagios03
          - testnagios04
```

Full output of molecule --debug converge

```
--> Validating schema /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    ├── dependency
    ├── create
    ├── prepare
    └── converge

--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'create'
DEBUG: ANSIBLE ENVIRONMENT
---
ANSIBLE_CONFIG: /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/ansible.cfg
ANSIBLE_COW_SELECTION: random
ANSIBLE_FILTER_PLUGINS: /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/filters:/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/plugins/filters:/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/plugins/filters
ANSIBLE_LIBRARY: /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries:/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/library:/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/library
ANSIBLE_ROLES_PATH: /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/roles:/Users/rhyscampbell/Documents/git/msgansible/roles

DEBUG: MOLECULE ENVIRONMENT
---
MOLECULE_DEBUG: 'True'
MOLECULE_DEPENDENCY_NAME: galaxy
MOLECULE_DRIVER_NAME: docker
MOLECULE_ENV_FILE: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/.env.yml
MOLECULE_EPHEMERAL_DIRECTORY: /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default
MOLECULE_FILE: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/molecule.yml
MOLECULE_INSTANCE_CONFIG: /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/instance_config.yml
MOLECULE_INVENTORY_FILE: /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory/ansible_inventory.yml
MOLECULE_LINT_NAME: yamllint
MOLECULE_PROJECT_DIRECTORY: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks
MOLECULE_PROVISIONER_LINT_NAME: ansible-lint
MOLECULE_PROVISIONER_NAME: ansible
MOLECULE_SCENARIO_DIRECTORY: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default
MOLECULE_SCENARIO_NAME: default
MOLECULE_VERIFIER_LINT_NAME: flake8
MOLECULE_VERIFIER_NAME: testinfra
MOLECULE_VERIFIER_TEST_DIRECTORY: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/tests

DEBUG: SHELL REPLAY
ANSIBLE_CONFIG=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/ansible.cfg ANSIBLE_COW_SELECTION=random ANSIBLE_FILTER_PLUGINS=/usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/filters:/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/plugins/filters:/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/plugins/filters ANSIBLE_LIBRARY=/usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries:/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/library:/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/library ANSIBLE_ROLES_PATH=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/roles:/Users/rhyscampbell/Documents/git/msgansible/roles MOLECULE_DEBUG=True MOLECULE_DEPENDENCY_NAME=galaxy MOLECULE_DRIVER_NAME=docker MOLECULE_ENV_FILE=/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/.env.yml MOLECULE_EPHEMERAL_DIRECTORY=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default MOLECULE_FILE=/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/molecule.yml MOLECULE_INSTANCE_CONFIG=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/instance_config.yml MOLECULE_INVENTORY_FILE=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory/ansible_inventory.yml MOLECULE_LINT_NAME=yamllint MOLECULE_PROJECT_DIRECTORY=/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks MOLECULE_PROVISIONER_LINT_NAME=ansible-lint MOLECULE_PROVISIONER_NAME=ansible MOLECULE_SCENARIO_DIRECTORY=/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default MOLECULE_SCENARIO_NAME=default MOLECULE_VERIFIER_LINT_NAME=flake8 MOLECULE_VERIFIER_NAME=testinfra MOLECULE_VERIFIER_TEST_DIRECTORY=/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/tests

DEBUG: COMMAND
/usr/local/bin/ansible-playbook --skip-tags=molecule-notest,notest --inventory=/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory --diff /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/create.yml -vvv

    ansible-playbook 2.8.2
      config file = /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/ansible.cfg
      configured module search path = ['/usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries', '/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/library', '/Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/library']
      ansible python module location = /usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ansible
      executable location = /usr/local/bin/ansible-playbook
      python version = 3.6.4 (default, Jan  6 2018, 11:51:59) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
    Using /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/ansible.cfg as config file
    host_list declined parsing /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory/ansible_inventory.yml as it did not pass it's verify_file() method
    script declined parsing /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory/ansible_inventory.yml as it did not pass it's verify_file() method
    Parsed /var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/molecule/nrpe_checks/default/inventory/ansible_inventory.yml inventory source with yaml plugin

    PLAYBOOK: create.yml ***********************************************************
    1 plays in /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/create.yml
 [WARNING]: Skipping plugin (/usr/local/lib/python2.7/site-
packages/molecule/provisioner/ansible/plugins/filters/molecule_core.py) as it
seems to be invalid: No module named 'molecule'

    PLAY [localhost] ***************************************************************

    TASK [Gathering Facts] *********************************************************
    task path: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/create.yml:2
    <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: rhyscampbell
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220 `" && echo ansible-tmp-1564586232.6179368-30181508130220="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220 `" ) && sleep 0'
    Using module file /usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ansible/modules/system/setup.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmpyhm39ies TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220/AnsiballZ_setup.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220/AnsiballZ_setup.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220/AnsiballZ_setup.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586232.6179368-30181508130220/ > /dev/null 2>&1 && sleep 0'
    ok: [localhost]
    META: ran handlers

    TASK [Create nrpe instances] ***************************************************
    task path: /Users/rhyscampbell/Documents/git/msgansible/roles/nrpe_checks/molecule/default/create.yml:5
    <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: rhyscampbell
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321 `" && echo ansible-tmp-1564586238.82686-153337832843321="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmp4fl2m8ud TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_dh0805fp/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpeyum01) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpeyum01",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586238.82686-153337832843321/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_dh0805fp/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589 `" && echo ansible-tmp-1564586239.441809-112919692053589="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmpp0uzl3m_ TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_gzf8ac49/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpepip02) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpepip02",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.441809-112919692053589/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_gzf8ac49/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663 `" && echo ansible-tmp-1564586239.963576-254320288210663="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmpdtfkhmqq TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_3ubytwr3/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpescript03) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpescript03",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586239.963576-254320288210663/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_3ubytwr3/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372 `" && echo ansible-tmp-1564586240.289265-201307844580372="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmpld6eq6me TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_tisfgbx2/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpeyumpip04) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpeyumpip04",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.289265-201307844580372/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_tisfgbx2/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104 `" && echo ansible-tmp-1564586240.586549-237306901235104="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmp2kihlau_ TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload__mp9pv_8/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpeyumscript05) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpeyumscript05",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.586549-237306901235104/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload__mp9pv_8/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248 `" && echo ansible-tmp-1564586240.939206-276892265950248="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmp5c9yx7fk TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_ch7397iq/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpepipscript06) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpepipscript06",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586240.939206-276892265950248/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_ch7397iq/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }
    <127.0.0.1> EXEC /bin/sh -c 'echo ~rhyscampbell && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481 `" && echo ansible-tmp-1564586241.2456-106244649089481="` echo /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481 `" ) && sleep 0'
    Using module file /usr/local/lib/python2.7/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
    <127.0.0.1> PUT /Users/rhyscampbell/.ansible/tmp/ansible-local-37585qs1a4ef7/tmp__cc1y8n TO /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py
    <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/ /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c '/usr/local/bin/python /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py && sleep 0'
    <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/ > /dev/null 2>&1 && sleep 0'
    The full traceback is:
    Traceback (most recent call last):
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py", line 114, in <module>
        _ansiballz_main()
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py", line 106, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py", line 49, in invoke_module
        imp.load_module('__main__', mod, module, MOD_DESC)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 235, in load_module
        return load_source(name, filename, file)
      File "/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 170, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 618, in _exec
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_t0napi8g/__main__.py", line 30, in <module>
    ModuleNotFoundError: No module named 'molecule'

    failed: [localhost] (item=nrpeall07) => {
        "ansible_loop_var": "item",
        "changed": false,
        "item": "nrpeall07",
        "module_stderr": "Traceback (most recent call last):\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py\", line 114, in <module>\n    _ansiballz_main()\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py\", line 106, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/Users/rhyscampbell/.ansible/tmp/ansible-tmp-1564586241.2456-106244649089481/AnsiballZ_molecule_vagrant.py\", line 49, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/var/folders/j2/1gzr80lj0l95hl94p4brqtt40000gn/T/ansible_molecule_vagrant_payload_t0napi8g/__main__.py\", line 30, in <module>\nModuleNotFoundError: No module named 'molecule'\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
        "rc": 1
    }

    PLAY RECAP *********************************************************************
    localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

ERROR:
```

I am almost sure you have somewhere an export MOLECULE_DRIVER_NAME=docker which will override the driver.

You are possibly correct. After a reboot I don't have the issue. I certainly don't set that variable anywhere and I never have. All I did was install molecule in a venv and start working. Is that for some reason set on first initialisation? Anyway, I'll close. Cheers.

authors: rhysmeister ssbarnea

repo: ansible/molecule


text:
grpc error raised using IronPython desktop object

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
When attempting to use IronPython commands in PyAEDT, a grpc error is invoked on line:
oProject = dt.GetActiveProject()
with traceback to grpc_plugin.py
Steps To Reproduce
using PyAEDT v0.8.8
Start with an open HFSS project in AEDT (I've tried 2024R1 and 2024R2)
Open the PyAEDT console under Automation > PyAEDT > Console
Paste the following code into the console:
version = '2024.2'
import pyaedt

desktop = Desktop(
    specified_version=version,
    new_desktop_session=False,
    non_graphical=False,
    close_on_exit=False,
    student_version=False,
)

dt = desktop.odesktop
oProject = dt.GetActiveProject() # The script fails on this line, but only sometimes.  Traceback to grpc_plugin.py
desktop.release_desktop(False, False)

The first time, the code will usually run.  Paste and execute the code a few more times until it fails.  Once it fails, a pattern of working, then failing every other time can be observed.
The error is:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~\AppData\Roaming\pyaedt_env_ide\v242\lib\site-packages\pyaedt\generic\grpc_plugin.py:120, in AedtObjWrapper.__Invoke__(self, funcName, argv)
    119 try:
--> 120     return _retry_ntimes(
    121         settings.number_of_grpc_api_retries, AedtAPI.InvokeAedtObjMethod, self.objectID, funcName, argv
    122     )  # Call C function
    123 except Exception:  # pragma: no cover

File ~\AppData\Roaming\pyaedt_env_ide\v242\lib\site-packages\pyaedt\generic\general_methods.py:833, in _retry_ntimes(n, function, *args, **kwargs)
    832 if "__name__" in dir(function):
--> 833     raise AttributeError("Error in Executing Method {}.".format(function.__name__))
    834 else:

AttributeError: Error in Executing Method InvokeAedtObjMethod.

During handling of the above exception, another exception occurred:

GrpcApiError                              Traceback (most recent call last)
Cell In[5], line 13
      4 desktop = Desktop(
      5     specified_version=version,
      6     new_desktop_session=False,
   (...)
      9     student_version=False,
     10 )
     12 dt = desktop.odesktop
---> 13 oProject = dt.GetActiveProject() # Every other time, the script fails on this line.  Traceback to grpc_plugin.py
     14 desktop.release_desktop(False, False)

File ~\AppData\Roaming\pyaedt_env_ide\v242\lib\site-packages\pyaedt\generic\grpc_plugin.py:133, in AedtObjWrapper.__GetObjMethod__.<locals>.DynamicFunc(self, *args)
    132 def DynamicFunc(self, *args):
--> 133     return self.__Invoke__(funcName, args)

File ~\AppData\Roaming\pyaedt_env_ide\v242\lib\site-packages\pyaedt\generic\grpc_plugin.py:124, in AedtObjWrapper.__Invoke__(self, funcName, argv)
    120     return _retry_ntimes(
    121         settings.number_of_grpc_api_retries, AedtAPI.InvokeAedtObjMethod, self.objectID, funcName, argv
    122     )  # Call C function
    123 except Exception:  # pragma: no cover
--> 124     raise GrpcApiError("Failed to execute grpc AEDT command: {}".format(funcName))

GrpcApiError: Failed to execute grpc AEDT command: GetActiveProject

The application is a customer using a mix of PyAEDT and IronPython commands all within the PyAEDT environment.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
annotated-types==0.6.0
ansys-pythonnet==3.1.0rc3
anyio==4.3.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
Babel==2.14.0
beautifulsoup4==4.12.3
bleach==6.1.0
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
clr-loader==0.2.6
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
et-xmlfile==1.1.0
exceptiongroup==1.2.0
executing==2.0.1
fastjsonschema==2.19.1
fiona==1.9.6
fonttools==4.51.0
fpdf2==2.7.8
fqdn==1.5.1
geopandas==0.14.3
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
imageio==2.34.0
ipycanvas==0.13.1
ipyevents==2.0.2
ipykernel==6.29.4
ipython==8.23.0
ipython-genutils==0.2.0
ipyvtklink==0.2.3
ipywidgets==7.8.1
isoduration==20.11.0
jedi==0.19.1
Jinja2==3.1.3
json5==0.9.25
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.14.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.6
jupyterlab-widgets==1.1.7
jupyterlab_pygments==0.3.0
jupyterlab_server==2.26.0
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.8.4
matplotlib-inline==0.1.7
mistune==3.0.2
nbclient==0.10.0
nbconvert==7.16.3
nbformat==5.10.4
nest-asyncio==1.6.0
networkx==3.3
notebook==7.1.2
notebook_shim==0.2.4
numpy==1.26.4
openpyxl==3.1.2
osmnx==1.9.2
overrides==7.7.0
packaging==24.0
pandas==2.2.2
pandocfilters==1.5.1
parso==0.8.4
pillow==10.3.0
platformdirs==4.2.0
plumbum==1.8.2
pooch==1.8.1
prometheus_client==0.20.0
prompt-toolkit==3.0.43
psutil==5.9.8
pure-eval==0.2.2
pyaedt==0.8.8
pycparser==2.22
pydantic==2.6.4
pydantic_core==2.16.3
pyedb==0.7.1
Pygments==2.17.2
pyparsing==3.1.2
pyproj==3.6.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pytomlpp==1.0.13
pytz==2024.1
pyvista==0.43.5
pywin32==306
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==26.0.0
referencing==0.34.0
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.18.0
rpyc==6.0.0
scikit-rf==0.32.0
scipy==1.13.0
scooby==0.9.2
Send2Trash==1.8.3
shapely==2.0.3
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
SRTM.py==0.3.7
stack-data==0.6.3
terminado==0.18.1
tinycss2==1.2.1
toml==0.10.2
tomli==2.0.1
tornado==6.4
traitlets==5.14.2
types-python-dateutil==2.9.0.20240316
typing_extensions==4.11.0
tzdata==2024.1
uri-template==1.3.0
urllib3==2.2.1
utm==0.7.0
vtk==9.2.6
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
widgetsnbextension==3.6.6

Hi @daneansys ,
I have installed from scratch (delete the previous virtual environment v241, remote Toolkit PersonalLib folder) then I have installed again PyAEDT using the script from the documentation, and everything works:

It even works with Ironpython (having PyAEDT inside the PersonalLib):

FYI, IronPython compatibility is deprecated, so we do not suggest using PyAEDT and IronPython.

@Samuelopez-ansys, yes, it works the first time.  Try pasting the whole code into the command prompt several times.  It will usually fail on the 2nd try, succeed on the 3rd, fail on the 4th, succeed on the 5th, etc.
Of course IronPython is not recommended, but a customer is using a code base they have built up over time, which uses a mixture of native PyAEDT commands and IronPython.

Hi @daneansys ,
I think we fixed the issue on this PR: #4530
The problem is not 100% PyAEDT or AEDT, it is Python and how internally works at the memory cache level. If you run this code it should work with the new PyAEDT main:
version = '2024.1'
import pyaedt

for i in range(0, 10):
    print(str(i))
    desktop = pyaedt.Desktop(
        specified_version=version,
        new_desktop_session=False,
        non_graphical=False,
        close_on_exit=False,
        student_version=False,
    )

    oProject = desktop.odesktop.GetActiveProject()
    desktop.release_desktop(False, False)

If you save in a variable "desktop" like: dt = desktop.odesktop
You will have the same problem, and you will need to delete it, for that reason the previous code is better because I did not save in a variable the object.
version = '2024.1'
import pyaedt

for i in range(0, 10):
    print(str(i))
    desktop = pyaedt.Desktop(
        specified_version=version,
        new_desktop_session=False,
        non_graphical=False,
        close_on_exit=False,
        student_version=False,
    )
    dt = desktop.odesktop
    oProject = dt.GetActiveProject()
    desktop.release_desktop(False, False)
    dt = None

Hi @Samuelopez-ansys,
Thank you for deciphering a workaround.  Running either of the below repetitively in the command prompt work:
desktop = Desktop(     specified_version=version,     new_desktop_session=False,     non_graphical=False,     close_on_exit=False,     student_version=False, ) oProject = desktop.odesktop.GetActiveProject() # The script fails on this line, but only sometimes.  Traceback to grpc_plugin.py desktop.release_desktop(False, False)
desktop = Desktop(     specified_version=version,     new_desktop_session=False,     non_graphical=False,     close_on_exit=False,     student_version=False, ) dt = desktop.odesktop oProject = dt.GetActiveProject() # The script fails on this line, but only sometimes.  Traceback to grpc_plugin.py dt = None desktop.release_desktop(False, False)
The original code block, when run repetitively, still fails every other time, but you stated that is an issue with Python caching.  So this method should not be run:
desktop = Desktop(     specified_version=version,     new_desktop_session=False,     non_graphical=False,     close_on_exit=False,     student_version=False, ) dt = desktop.odesktop oProject = dt.GetActiveProject() # The script fails on this line, but only sometimes.  Traceback to grpc_plugin.py desktop.release_desktop(False, False)

@daneansys could we close the issue?

@Samuelopez-ansys, yes!  Thank you!  I see the "Close with comment" option, so will try that.  Hopefully that is the right place to close.

authors: Samuelopez-ansys daneansys

repo: ansys/pyaedt


text:
changing Hfss simulation AdaptType doesn't not preserve the setup name

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
When we change HFSS simulation type to Single frequency, multi freuqnecy or brandband, the grpc EBD api removes the setup name with replacing as an empty string.
📝 Steps to reproduce
NA
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
NA
🐍 Which Python version are you using?
3.10
📦 Installed packages
NA

@svandenb-dev This fix required a server side change and should now be fixed in the R24.2 install

repo: ansys/pyedb-core


text:
Issue to run migaration

Hi Sir
I am trying to run this project on my localhost server but its not work correctly i have solve many issues but at the end when i run the migration it show this error in my browser please guide me or upload the database file of this project...thanks

can you post the issue?

Yes Sir I have some problem in migrations when I run migration of this
command "php artisan migrate" it through error like this..error image
attach inside the mail.
[image: Inline image 1]
[image: Inline image 2]
Profound Regards
Aoon Raza
03157628577
On Wed, Mar 1, 2017 at 3:03 AM, Gustavo Ocanto notifications@github.com
wrote:

can you post the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ant-vel/Shop/issues/1#issuecomment-283175665, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXFYJI9ugqk6rG-TCnfRiOODoJ9-JtEXks5rhJmZgaJpZM4MOpiM
.

I am not able to see the posted pics.. can you please, resend them back up

Sure Sir I attach again the pics inside the mail please check it and guide
me how to solve this issue
Profound Regards
Aoon Raza
03157628577
On Thu, Mar 2, 2017 at 2:07 AM, Gustavo Ocanto notifications@github.com
wrote:

I am not able to see the posted pics.. can you please, resend them back up
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ant-vel/Shop/issues/1#issuecomment-283470303, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXFYJOMu2HgVsSyXGpnl2C9I7OQZHj3Bks5rhd4XgaJpZM4MOpiM
.

Dont see the pictures yet

Sir Are you have a Skype id or whatsapp or other communication meadia if
yes then send me you id or send me your gmail,outlook  or yahoo email
address.
Profound Regards
Aoon Raza
03157628577
On Thu, Mar 2, 2017 at 7:34 PM, Gustavo Ocanto notifications@github.com
wrote:

Dont see the pictures yet
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ant-vel/Shop/issues/1#issuecomment-283669143, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXFYJNDjR8Qm_1HJ2rp0xuixyzIDLVqzks5rhtNtgaJpZM4MOpiM
.

where is this happening?

give me your email to add you to slack

Sir this is my gmail account: aoonuos2013@gmail.com
Skype ID: aoonuos74
Phone No: +923157628577
Profound Regards
Aoon Raza
03157628577
On Fri, Mar 3, 2017 at 10:09 AM, Gustavo Ocanto notifications@github.com
wrote:

give me your email to add you to slack
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ant-vel/Shop/issues/1#issuecomment-283866982, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXFYJJSTcVxNYdeaC3APIJhiDKat14ugks5rh6B0gaJpZM4MOpiM
.

I sent you the slack invitation.

repo: ant-vel/Shop


text:
Copy table results as php array

Is possible to add in results at copy menu the ability to copy as PHP Array?
Thanks 🙏

repo: antares-sql/antares


text:
[ShortTopMenu] Lack of "Alerts" button

ShortTopMenu
On the menu bar at the top of page, there should be "Alerts" button nex to "Notifications"
https://image.prntscr.com/image/k6SZOU2kS_eqZNwx0tQW4Q.png

@mountstone Should ShortMenuTemplate have alerts?

@dawid-g @tehaiks nope, on ShortMenuTemplate we will use only notifications

Ok, closed.

authors: dawid-g mountstone tehaiks

repo: antaresproject/antares-front-end


text:
String Usage: Memory Reduction

C# strings are immutable.
Hence, changing a string variable frequently (e.g. UI text for score) allocates memory at runtime and generates garbage which will invoke a GC call.

We can can do an explicit GC.Collect() call in between levels to clean all unreferenced memory.
We can use a mutable string of characters, as provided by the StringBuilder class in System.Text.

A third option could be to use a cache for data driven strings.
string str = CachedFormat("Level {0}", level);

Internally, it can see if "Level {0}" has been generated with the argument provided through 'level' and in that case return a premade string. After N amount of strings have been stored, evict the least likely string to be used again. This approach doesn't work nice if the arguments supplied are unique per call. It works if the arguments always, or usually, are within a determined range.

We can can do an explicit GC.Collect() call in between levels to clean all unreferenced memory.

Sounds like a good approach to me.

We can use a mutable string of characters, as provided by the StringBuilder class in System.Text

But remember that if you need to get a string out from it, a new copy will be constructed (i.e. ToString()). Your systems must accept a StringBuilder reference, I guess, to read characters without instantiating a string instance.
... Unless I am missing your train of thought.

But remember that if you need to get a string out from it, a new copy will be constructed

Yeah, I was expecting that. Just thought I'd throw that option out there for discussion.
I guess there's no real way to use C# strings without generating garbage somehow.
The explicit GC.Collect() is unnoticeable anyhow between level setup.

authors: antfarmar devmelon

license: Unlicense


text:
error on already imported component

An already imported component throws an error due to double import.
seems that the regex  /\bimport\s*([\w_$]*?),?\s*\{([\s\S]*?)\}\s*from\b/g,  in
https://github.com/antfu/unplugin-auto-import/blob/c1d51601edd8bb4b70760e4b46a83a06c1cd11d2/src/core/transform.ts#L6
doesn't match the simple import format:
import IconBiX from "~icons/bi/x";

the part {...} in the regex should be optional

Fixed in the latest version

authors: antfu jfgodoy

repo: antfu/unplugin-auto-import


text:
🛑 Students@VNU-HCMUS is down

In 8de1793, Students@VNU-HCMUS (https://student.hcmus.edu.vn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Students@VNU-HCMUS is back up in 9b9ec16 after 11 minutes.


text:
Things could be improve when using Navigation Component

Use Navigation Component "safeArgs", you imported it but still using the traditional passing Bundle and null check type: https://github.com/anticafe/survey_app/blob/4c79d8fc64347199a6648c19d576425d2ab8b694/app/src/main/java/com/myapp/ui/detail/DetailFragment.kt#L52 and here https://github.com/anticafe/survey_app/blob/4c79d8fc64347199a6648c19d576425d2ab8b694/app/src/main/java/com/myapp/ui/main/MainFragment.kt#L108

Hi @luongvo Please check my latest code. I think this issue has been improved 2 days ago in commit 21d48c02
https://github.com/anticafe/survey_app/blob/bbb97216c6bd87bd29c9f7fe857811fa3d5e3859/app/src/main/java/com/myapp/ui/detail/DetailFragment.kt#L39-L47

hi @anticafe, I'm @luongvo's colleague, kindly notice that the assessment we took was based on the submission date, any progress comes after won't get counted at first, though, we always appreciate your effort on completing and improving the submission, we definitely take it into account but I just want to clarify on our assessment process. happy coding 💻

Hi @sleepylee and @luongvo
It's fair to do code review base on the revision on submission date, although I don't know about that process before. However, it's good that you found something in my code needs to improve, like NavComponent SafeArgs 👍 . Now it was fixed via PR #18, so I will close this issue now.

I found you used RedundantOverride to ignore unreachable code https://github.com/anticafe/survey_app/pull/18/files#diff-707b08b050921281054addbbfd660849R35? Any reason for this or just because of laziness 🤔

Nice catch 👍  @luongvo . Thanks for pointing it. That is my mistake when replacing the BackPressedDispatcher by NavComponent - the onCreate method useless and should be removed instead.
Fixed in 56f3219.

authors: anticafe luongvo sleepylee


text:
Arty A7 35T - Etherbone/build error

Whenever I build the bitstream for the Arty-A7 35T I receive the warnings:
WARNING: [Synth 8-3331] design VexRiscv has unconnected port iBusWishbone_ERR
WARNING: [Synth 8-3331] design VexRiscv has unconnected port dBusWishbone_ERR
WARNING: [Synth 8-3331] design digilent_arty has unconnected port eth_rx_er
WARNING: [Synth 8-3331] design digilent_arty has unconnected port eth_col
WARNING: [Synth 8-3331] design digilent_arty has unconnected port eth_crs
Along with some other bit errors.
The bit stream generates and flashes to the device but the ethernet IP address is unreachable.
make srv does not connect and shows the error:
[CommUDP] ip: 192.168.100.50 / port: 1234 / tcp port: 1234
Traceback (most recent call last):
File "/rowhammer-tester/venv/bin/litex_server", line 33, in
sys.exit(load_entry_point('litex', 'console_scripts', 'litex_server')())
File "/rowhammer-tester/third_party/litex/litex/tools/litex_server.py", line 283, in main
server.open()
File "/rowhammer-tester/third_party/litex/litex/tools/litex_server.py", line 90, in open
self.comm.open()
File "/rowhammer-tester/third_party/litex/litex/tools/remote/comm_udp.py", line 33, in open
self.probe(self.server, self.port)
File "/rowhammer-tester/third_party/litex/litex/tools/remote/comm_udp.py", line 66, in probe
raise Exception(f"Unable to probe Etherbone server at {self.server}.")
Exception: Unable to probe Etherbone server at 192.168.100.50.
make: *** [Makefile:81: srv] Error 1
Vivado Versions Tested: 2019.1, 2020.2, 2022.1

User error

repo: antmicro/rowhammer-tester


text:
Hash gzipped files if AWS_IS_GZIPPED is True

replaces #108
closes #46
@rehandalal Huge thanks for fixing such a long-running feature request, your contribution is very appreciated! 🍰 I will try to get this out in a release soon!

Thanks!! Much appreciated!

authors: antonagestam rehandalal

repo: antonagestam/collectfast


text:
library -> assets folder refactoring

Rename library folder to assets.

Done with PR #52 https://github.com/antoniodeluca/dn2a.js/pull/52


text:
How to include RDF/XML parser

Hi,
we are currently using this great library into one of our academical projects. However, I am working with backend (NodeJS) and I would like to upload also rdf/xml files.
The problem is that I don't know where this parser is so I downloaded this file https://raw.githubusercontent.com/antoniogarrote/rdfstore-js/a894cd7d5aa68de569b4dfd65b18b0ed583a50c7/src/js-communication/src/rdfxml_parser.js
Now - how do I load it into rdfstore so that I can upload an rdf/xml file?
What I am looking for is something like:
store.load("application/rdf+xml" , ontology, "graph", function(err, results)

where ontology = local file
Anticipately thanks and thanks for everyone's efforts so far on this project!
i.

Hi.
To add a parser for a particular media-type, you need to pass the information during the instantiation of the store.
An example can be found in the frontend directory, where a RDFa parser is registered.
This is an example of how to register the parser:
rdfstore.create({"communication": {
                     "parsers": {
                       "text/html" :           rdfstore_frontend.rdfaParser,
                       "application/rdf+xml":  rdfstore_frontend.rdfParser
                     },
                   "precedences": ["text/n3", "text/turtle", "application/rdf+xml", "text/html", "application/json"] }
                  }, callback);

The 'communication' argument receives an object with two properties:

'parsers': a map of media types to parsers for each of this media types.
'precedences': a list of media types indicating which format is preferred during content negotiation when loading a remote resource.

The other important thing to take into account is the interface for the parser.
The parser object must implement a 'parse' function accepting the raw data of the serialised RDF graph, a graph object for the named graph where the RDF data will be inserted, an options argument that can be ignored and a callback function that must be invoked with the parsed data or indicating an error.
Again, an example from the frontend:
RDFaParser.parse = function(data, graph, options, callback) {
  // parsing logic here

  callback(null, quads);
}

The 'quads' objects returned in the parser callback must meet the format expected by the store:
// named node
{'uri': uri}

// blank node
{'blank' : '_:'+counter}

// literal
{'literal': literalLexicalForm}

Take a look at the files in the frontend for a working example:

For the registration of the parser: https://github.com/antoniogarrote/rdfstore-js/blob/master/frontend/index.html
For the implementation of the parser wrapper: https://github.com/antoniogarrote/rdfstore-js/blob/master/frontend/js/rdfstore_frontend.js

Cheers.

Thanks so much for the answer :+1:

authors: antoniogarrote iulitaro

repo: antoniogarrote/rdfstore-js


text:
Cannot use root domain port

I cannot use the root domain port for my website, is there a way I can bind it with another port or disable it if possible ?

@sonntuet1997 could you provide a bit more context here? I'm sorry but I don't think I'm following very clearly.

My guess is that he still wants his domain (ex: mydomain.com) to point to his website/webserver and only use subdomains with sish (ex: home.mydomain.com). I suspect this comes down to DNS configuration/provider settings but obviously you're better suited to answer this than me.

@lahma0 I think you're probably right. I'm gonna close this while we get more context from @sonntuet1997.

repo: antoniomika/sish


text:
Checking do_not_track_routes after start session

You call session_start() that sends Cache-control: no-cache headers before checking do_not_track_routes. So it is inpossible to set http cache.

Yes, this is a problem.

repo: antonioribeiro/tracker


text:
Random error when applying Egress Manifest, it never consistently happens - Internal error occurred: failed calling webhook "egressvalidator.antrea.io"

Describe the bug
I use Egress IPs to allow me to distiguish the source Pods for network traffic, it has worked flawlessly for about a year - But for the past few weeks, I get this random error when I apply the Manifest below, and when I say random, I can run kubectl apply -f manifest.yml, it will fail on the first 2 times, and then successfully apply on the 3rd attempt and work without any problems:
Error:
Error from server (InternalError): error when creating "02-egress-ips.yml": Internal error occurred: failed calling webhook "egressvalidator.antrea.io": failed to call webhook: Post "https://antrea.kube-system.svc:443/validate/egress?timeout=5s": EOF

Egress Manifest (This is what generates the error)
apiVersion: crd.antrea.io/v1alpha2
kind: Egress
metadata:
  name: egress-pirate-pods
spec:
  appliedTo:
    namespaceSelector:
      matchLabels:
        kubernetes.io/metadata.name: pirate
  externalIPPool: prod-external-ip-pool
  egressIP: 10.10.40.104

The other piece to this, is the ExternalIPPool, which just a global-pool, which I take IPs from, such as the Egress above:
apiVersion: crd.antrea.io/v1alpha2
kind: ExternalIPPool
metadata:
  name: prod-external-ip-pool
spec:
  ipRanges:
  - start: 10.10.40.100
    end: 10.10.40.120
  - cidr: 10.10.40.0/24
  nodeSelector: {}     # All Nodes can be Egress Nodes

To Reproduce
Setup a K3S node, install Antrea 1.9.0 standard, apply the above ExternalIPPool, then apply the Egress... Its random when it will occors.. I can re-install the cluster several times before I see the issue, but its frustrating, as my cluster-build is automated, and when this issue occurs, it breaks everything.
Expected
For the manifest to apply without error!
Versions:
Running Antrea 1.9.0 on K3S 1.2.4, on Ubuntu 20.04 with Kernel 5.4.0-131-generic

Hi @projx, I tried the manifests on K3S and didn't reproduce the problem. Could you use antctl supportbundle to collect necessary support information and upload to the issue for us to identify the cause? It looks like the apiserver is not able to connect antrea-controller via the service IP.
Did the problem start happening after upgrading to Antrea 1.9.0 or upgrading K3S, or any event that may be relevant?

Hi
I've literally just re-installed the Cluster, and it happened immediately:
support-bundles_20221110T212617Z.zip
I had to run "kubectl import -f . " several times before it eventually actually worked...
I was previous running K3S v1.22 and Antrea 1.8.0, and had seen it happen sometimes with this, but nowhere near as frequently - At present, it fails more than it succeeds, with a failure rate above 50%.. and I can't identify a pattern, it happens when I freshly install the cluter from Scratch.. or it can happen if I'm just making modification to Antrea CRDs etc.

@projx thanks for the support bundle. I have checked it and everything in Antrea seems fine, especially antrea-controller was running well but kube-apiserver was not able to reach it when validating webhook was called, which looks like an issue on client side (kube-apiserver, or the apiserver in k3s). After searching the symptom in k3s repo, I see many k3s users encountered the same issue regardless of the CNI plugin: https://github.com/k3s-io/k3s/issues/5835, and the root cause was indeed an issue in apiserver network proxy used by k3s.
I saw they backported the fix to k3s 1.23 and 1.24, you may need to consider upgrading to a fixed version to get rid of the problem, or downgrade to an early 1.22 release which doesn't include the issue.

Thank you @tnqn, and apologies, I should have looked wider a field (I did try searching for it, but couldn't find any other indicators).

authors: projx tnqn

repo: antrea-io/antrea


text:
漏斗图怎么180旋转过来，梯形在最下面？https://g2.antv.vision/zh/examples/funnel/funnel#pyramid

G2 Version:
Platform:
Mini Showcase(like screenshots):
CodePen Link:

进行坐标系变换：
chart
  .coordinate('rect')
  .transpose()
  .scale(-1, 1);

authors: ZengZhenfei simaQ


text:
自定义节点，设置fill为渐变色，定制动画后，fill颜色不生效

问题描述
把render设置为svg
自定义节点no-animation，定义动画为width从0～100，fill设置为 fill: l(0) 0:#f0f0f0 1:#108ee9
背景色仅在第一次渲染时生效，后续数据更新，背景色为白色
重现链接
https://codesandbox.io/s/svg-render-6ypl33
重现步骤
sandbox可复现
预期行为
期望数据更新时，保持渐变色动画
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
G6 版本: [4.5.1 ... ]

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

更新数据 graph.changeData。看起来没有问题
https://codesandbox.io/s/svg-render-forked-edm5rl

authors: Yanyan-Wang momogugu


text:
Graphin自定义combo添加text拓扑图卡死

问题描述
在自定义combo中试图像node那样加个二级文本，结果加是加上了，图表卡死，难道自定义combo不支持加文本？
重现链接
无
重现步骤

预期行为
无
平台

操作系统: Windows
网页浏览器: Google Chrome
G6 版本: 105.0.5148.2

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

请提供 G6 的在线复现 demo

尊敬的用户，您好。我们很重视您的 issue，但由于长时间没有答复，我们暂时认为这个问题已经解决。如果还有任何问题，请随时根据 issue 模版再开启新的 issue。


text:
chore: use jsdom in screenshot

使用 JSDOM 进行截图测试，相比 node-canvas 有以下好处：

无需本地环境编译不会出现安装失败问题
SVG 字符串与平台环境无关，最大程度兼容性
运行速度快
方案详见：https://www.yuque.com/antv/ou292n/sf9hp989kfme4gln

存在差异的截图上传到 github workflow artifacts，便于下载到本地和基准图片进行比对。
原有的测试用例逻辑无需更改，断言需要修改：
// before
await expect(canvas).toMatchCanvasSnapshot(dir, 'anchor-empty');

// after
await expect(canvas).toMatchSVGSnapshot(dir, 'anchor-empty');

生成截图存放路径发生改变，只存在 SVG 截图：
// before
snapshots/canvas/anchor

// after
snapshots/anchor

另外断言需要放在 try / catch 中，测试不过也要销毁掉 graph：
try {
  await expect(canvas).toMatchSVGSnapshot(dir, 'combo-circle');
} finally {
  graph.destroy();
  done();
}

其他问题：

G6 存在多层画布，可以分别截图。如果想合并两层画布的 SVG，可以用 JSDOM 操作
WebGL / Canvas 截图如何测试？由底层渲染引擎保证效果一致性
3D 大图测试可以参考：g2-extension-3d 使用 Playwright 截图

playwright 测试环境区别导致文字差异的问题可以通过设置统一的字体规避吗

playwright 测试环境区别导致文字差异的问题可以通过设置统一的字体规避吗

我在 G2 测试下来不行。同样的 Playwright 安装相同版本的 Chrome，在 CI 环境和本地，文本效果也不一致：

playwright 测试环境区别导致文字差异的问题可以通过设置统一的字体规避吗

我在 G2 测试下来不行。同样的 Playwright 安装相同版本的 Chrome，在 CI 环境和本地，文本效果也不一致：

这种看起来像是字体问题，可能是 ci 机器上没有对应的字体文件？
我们可以这样吗，比如在测试环境下 G 渲染的字体强制设置为不同操作系统都支持的字体，例如 Arial, Times New Roman

playwright 测试环境区别导致文字差异的问题可以通过设置统一的字体规避吗

我在 G2 测试下来不行。同样的 Playwright 安装相同版本的 Chrome，在 CI 环境和本地，文本效果也不一致：

这种看起来像是字体问题，可能是 ci 机器上没有对应的字体文件？ 我们可以这样吗，比如在测试环境下 G 渲染的字体强制设置为不同操作系统都支持的字体，例如 Arial, Times New Roman

即使是相同的字体，在不同环境下也会有差异的。
比如上面图上的 label 实际是 G2 用 HTML 绘制的，CI 和本地都用 Chrome 也会有 diff。

authors: Aarebecca xiaoiver


text:
🐛 [BUG] Invalid Object: LngLat(NaN, NaN)

官网案例
全国气温图
自己本地运行报错
Invalid Object: LngLat(NaN, NaN)
`

<script>
    const { Dot } = L7Plot;

fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
.then((response) => response.json())
.then((data) => {
new Dot('container', {
map: {
type: 'amap',
style: 'dark',
center: [102.447303, 37.753574],
zoom: 5,
pitch: 0,
},
source: {
data: data.list,
parser: {
type: 'json',
x: 'j',
y: 'w',
},
},
color: {
field: 't',
value: [
'#03071e',
'#370617',
'#6a040f',
'#9d0208',
'#d00000',
'#dc2f02',
'#e85d04',
'#f48c06',
'#faa307',
'#ffba08',
].reverse(),
scale: { type: 'quantize' },
},
size: {
field: 't',
value: [2, 18],
},
style: {
opacity: 0.5,
strokeWidth: 0,
},
state: { active: { color: '#FFF684' } },
autoFit: true,
label: {
visible: false, // 是否显示标签图层
field: 't',
style: {
fill: '#fff',
opacity: 0.6,
fontSize: 12,
textAnchor: 'top', // 文本相对锚点的位置 center|left|right|top|bottom|top-left
textOffset: [0, 20], // 文本相对锚点的偏移量 [水平, 垂直]
spacing: 1, // 字符间距
padding: [5, 5], // 文本包围盒 padding [水平，垂直]，影响碰撞检测结果，避免相邻文本靠的太近
stroke: '#ffffff', // 描边颜色
strokeWidth: 0.3, // 描边宽度
strokeOpacity: 1.0,
},
},
tooltip: {
items: ['s', 't'],
},
zoom: {
position: 'bottomright',
},
scale: {
position: 'bottomright',
},
layerMenu: {
position: 'topright',
},
legend: {
position: 'bottomleft',
},
});
});

`

检查下是否给dom添加了height

检查下是否给dom添加了height

给了高度就可以了 谢谢！

authors: Peter-FrontEnd surongm


text:
chore(react-componnets): 分析配置组件包初始化

👀 PR includes

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[ ] CI / workflow
[ ] Release version
[x] Other ( @antv/s2-react-componnets 初始化)

📝 Description

确定的点:

新增 主题风格配置面板/宽高调整面板/文本对齐 三个配置组件

后面可以做的 (待讨论的点):

现有分析组件 (行列切换/高级排序) 等从 s2-react 迁移至 s2-react-components 中, 很多人其实不需要用到这些, 包解耦, 减少体积

移除 SheetComponents 的 header (switcher/advanceSort) 配置, 只保留导出, 如果需要使用分析组件, 自行组合使用即可.

该 PR 改动点:

初始化 s2-react-components 包
React 升级到 18.3, 移除废弃的 defaultProps 写法
新增 prettier-plugin-packagejson 和 prettier-plugin-organize-imports 插件, 自动移除未使用的导入
修复 pnpm 和 typescript 类型 reference 问题

🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

ref: #1790，看看这个是不是可以顺带优化

ref: #1790，看看这个是不是可以顺带优化

可以, 后面分不同的 PR 优化吧, 这个 PR 只做初始化和代码格式化

Codecov Report
Attention: Patch coverage is 97.67442% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 80.16%. Comparing base (ecdc9c8) to head (15ae8bd).
Report is 380 commits behind head on next.

Files
Patch %
Lines

packages/s2-core/src/cell/data-cell.ts
50.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2751      +/-   ##
==========================================
+ Coverage   75.77%   80.16%   +4.39%
==========================================
  Files         257      176      -81
  Lines       11994    10210    -1784
  Branches     2464     2311     -153
==========================================
- Hits         9088     8185     -903
+ Misses       1398      599     -799
+ Partials     1508     1426      -82

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:tada: This PR is included in version @antv/s2-v2.0.0-next.24 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.23 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-vue-v2.0.0-next.15 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-components-v1.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: codecov-commenter lijinke666 wjgogogo


text:
new Graph设置selecting后，连线的时候会报错

cell.js文件
getRootRotateMatrix方法
Error:cell.getAngle is not a function

@miaocunzhi 提供一个 codesandbox 吧，就仅仅上面的描述我不知道怎么复现，或者贴上完整的代码。

@bubkoo 就拿官方的x6-example-features中edge的示例
const graph = new Graph({
      container: this.container,
      width: 800,
      height: 1400,
      grid: 10,
      selecting:{
        enabled:true
      },
    })

只要加上selecting效果，在节点上拖动添加连线时就会报错

@miaocunzhi 我在其他场景下遇到同样的错误，已经修复，请更新到最新版。

authors: bubkoo miaocunzhi


text:
how color transparent?

if i use color method like this:
chart.area().position('date*quantity').color('l(90) 0:#51E3FC 1:rgba(xxx,xxx,xxx, 0.x)')

it not working, but i can't find any simple way to get i wanted transparent gradient?
any suggestion?

It works

@troy351 oh it's my fault，it works now; thanks


text:
Zy/44 redesign login buttons

For issue #44

Resolved conflict. Merged.

authors: gjwgit zheyxu

repo: anusii/solid


text:
Private NPM Registry

How to setup this to be used by a private NPM registry?
I tried changing https://github.com/anvaka/npmgraph.an/blob/master/src/scripts/config.js#L1 with my registry

https://registry.npmjs.mycompany.net
https://registry.npmjs.mycompany.net/_design/scratch/_view/byField

I'm getting the following error while loading the app in the browser

Questions

Can I use it for private Registries/Proxy?
Does it support Scoped modules?

Thanks and awesome Job!
Marcello

I've never tried this myself.
Couple questions:

If you don not modify config.js - does it work?
If step 1 works, try cloning https://github.com/anvaka/corsregistry and set endpoint to the root of your proxy (https://registry.npmjs.mycompany.net) - would it work?

No response, closing. Please reopen if you have more feedback.

@anvaka Sorry I did not see your response on time...
So, here's the primary difference between the output of the servers:
https://skimdb.npmjs.com/registry/_design/scratch/_view/byField
{"total_rows":267661,"offset":0,"rows":[
{"id":"0","key":"0","value":{"name":"0","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"scripts.test":"echo \"Error: no test specified\" && exit 1","author":"","license":"BSD-2-Clause","_id":"0@0.0.0","dist":{"shasum":"beabacb0a099c1dd215eaec15bb201318db7de6a","tarball":"http://registry.npmjs.org/0/-/0-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"zolmeister","email":"zolikahan@gmail.com"},"maintainers":[{"name":"zolmeister","email":"zolikahan@gmail.com"}]}},
{"id":"0.0","key":"0.0","value":{"name":"0.0","version":"0.0.0","description":"ready","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"scripts.test":"echo \"Error: no test specified\" && exit 1","author":"","license":"MIT","_id":"0.0@0.0.0","_shasum":"62b0187e11da7ef5f648568c756963d0fdffe607","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.2","_npmUser":{"name":"spikef","email":"Spikef@Foxmail.com"},"dist":{"shasum":"62b0187e11da7ef5f648568c756963d0fdffe607","tarball":"http://registry.npmjs.org/0.0/-/0.0-0.0.0.tgz"},"maintainers":[{"name":"spikef","email":"Spikef@Foxmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/0.0-0.0.0.tgz_1461563004932_0.8684320959728211"}}},
{"id":"0.0.1","key":"0.0.1","value":{"name":"0.0.1","version":"1.0.1","description":"This module is belong to tanawat khwanrod","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"scripts.test":"echo \"Error: no test specified\" && exit 1","author":{"name":"tanawat khwanrod"},"license":"ISC","dependencies":{"express":"^4.13.3"},"_id":"0.0.1@1.0.1","_shasum":"d74d77fbad42b7c7aacb6094f694c8db25a3df5d","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"hall","email":"tanawat025tot@gmail.com"},"dist":{“

https://registry.npmjs.mycompany.net/_design/scratch/_view/byField
{
error: "failed to proxy package JSON from remote"
}

I will check with NPM and verify what the problem is.

would love to get step by steps on how to continue progressing this direction

Try pointing registryUrl to your endpoint now . I slightly changed the way graph builder works, so maybe it will help with graph generation at least.
Autocomplete for the search field will likely remain broken - I don't have enough knowledge about private npm registries to understand why byField view returns no data.

authors: EMCP anvaka marcellodesales


text:
Return message as soon as the (GET) process is completed (without errors)

Current behavior:
The Node returns the message as soon as the readstream is piped to the writestream. Furthermore there is an uncateched error writing to a non-existing local file.
Disired behavior:
Catch errors and send message after process is completed.
suggestion:
(this or something simliar)
//excerpt of 'this.sendMsg' callback

if (operation == 'get') {

	try {
	    result.once('close', function () { conn.end(); });

	    node.status({ fill: 'yellow', shape: 'dot', text: 'pending...' });
	    let writestream = fs.createWriteStream(localFilename);

	    writestream.on('error', (err) => {
	          node.handleErrors(err);
	    });

	    result.on('end', function(){
	          node.status({ fill: 'green', shape: 'ring', text: 'GET Successful' });
	          msg.filename = filename;
	          msg.localFilename = localFilename;
	          msg.payload = 'GET operation successful. ' + localFilename;
	          node.send(msg);
	    });

	  result.pipe(writestream);

	}catch (err) {
            node.handleErrors(err);
	}

}

//...

//(at the end of 'this.sendMsg' function)
if(operation !== 'get'){
    send(msg);
}

//seperated function for error handling
this.handleErrors = function (err){

	node.status({ fill: 'red', shape: 'ring', text: 'something went wrong...' });

	if (done) {

		// Node-RED 1.0 compatible

		if (throwError) done(err);

	} else {

		// Node-RED 0.x compatible

		if (throwError) node.error(err, msg);

	}

}

Hi schefa,
I take note of your request and I'll see how to implement it as quickly as possible,
Thanks for your help!

Hi schefa,
I take note of your request and I'll see how to implement it as quickly as possible,
Thanks for your help!

Hi anversoft,
thanks for the fast respond. I'm looking forward to the update.

Hi anversoft,
thanks for the fast respond. I'm looking forward to the update.

Hi schefa,  sorry for the delay but I have had to work a lot in this last period, I updated the operating logic of the GET function as you suggested. Soon it will be available in the Node Red catalog, Thanks again.

repo: anversoft/node-red-contrib-advanced-ftp


text:
Generic defaults break TS inference when wrapping queries

What are the steps to reproduce this issue?

With React Query generated, I want to wrap some queries with some default options, like:
export const useGetCommonConfig = <
  TData = Awaited<ReturnType<typeof getCommonConfig>>,
  TError = UtilsAPIError
>(options?: {
  query?: UseQueryOptions<Awaited<ReturnType<typeof getCommonConfig>>, TError, TData>
}): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {
// ...
}

export const useCustomGetCommonConfig = (...args: Parameters<typeof useGetCommonConfig>) => {
  return useGetCommonConfig({
    query: {
      staleTime: Stale.DAY,
      ...args[0]?.query,
    },
  })
}

But this will cause the TData type return by the wrapper to be unknown:

Since the TData generic type is no constraint but accepts a default type, the TS compiler cannot infer the final type from the parameters if the generic type is not filled in manually.

What happens?
See above.
What were you expecting to happen?
Use TData extends Awaited<ReturnType<typeof getCommonConfig>> rather than TData = Awaited<ReturnType<typeof getCommonConfig>>, this also prevents the user from filling in some wrong type, if there is no constraint then the user can use an unintended type such as number type here.
Any logs, error output, etc?
…
Any other comments?
@anymaniax I'm willing to help improve this if that's okay with you. 😃
You can also find the actual code related to this issue at https://github.com/chaos-mesh/chaos-mesh/pull/3748/files#diff-3a5ef0dc8a96c626a60dfa618f5c93bbfcc8e053fd66e98dc3e88ac21dbe1030.
What versions are you using?
Operating System: …
Package Version: v6.10.3
Browser Version: …

Hello @g1eny0ung, with orval@alpha you can now provide a queryOptions mutator in the orval config. Like that you can quickly provide some shared options. I don't know if it would solve your problem.

and It's not an extend because otherwise, the options select would break if you return something that doesn't extend that type.

Hello @g1eny0ung, with orval@alpha you can now provide a queryOptions mutator in the orval config. Like that you can quickly provide some shared options. I don't know if it would solve your problem.

Thanks. I will take it a try.

and It's not an extend because otherwise, the options select would break if you return something that doesn't extend that type.

Indeed. 😮 I missed that React Query also has a select option, thanks for your help. I will now close this issue.

repo: anymaniax/orval


text:
deps: Upgrade bs58 to 0.5.1

Problem
The bs58 dependency in the monorepo is out of date, but as part of the work for #1464 , we need to pick up the newest version for const-decoding that was added in https://github.com/Nullus157/bs58-rs/pull/116
Summary of Changes
To start, bump bs58 to 0.5.1
Fixes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.7%. Comparing base (32cdbd6) to head (3452a92).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1465   +/-   ##
=======================================
  Coverage    82.7%    82.7%
=======================================
  Files         871      871
  Lines      370384   370384
=======================================
+ Hits       306532   306567   +35
+ Misses      63852    63817   -35

authors: codecov-commenter joncinque

repo: anza-xyz/agave