undefined method ‘list_networks’

@agrare
Hey @agrare ， I found the same bug in last version

for nil:NilClass
when i add ovirt as a provider , manageiq can show the compute info, but the network state is error

@agrare

When i want to Add New Network Router ， also find another  bug ----- can not choose Cloud Tenant Placement

@agrare
{"@timestamp":"2023-08-31T06:55:21.034821","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[NoMethodError]: undefined method list_networks' for nil:NilClass  Method:[block (2 levels) in <class:LogProxy>]"} {"@timestamp":"2023-08-31T06:55:21.056907","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(MiqQueue#deliver) Message id: [8748], Error: [undefined method list_networks' for nil:NilClass]"}
{"@timestamp":"2023-08-31T06:55:21.057019","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[ManageIQ::Providers::BaseManager::Refresher::PartialRefreshError]: undefined method `list_networks' for nil:NilClass  Method:[block (2 levels) in class:LogProxy]"}

Hey @kevin-to-LX it sounds like the OVN (aka Ovirt::NetworkManager) refresher is failing can you please attach logs showing the error and full backtrace?

{"@timestamp":"2023-08-31T06:55:21.034821","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[NoMethodError]: undefined method list_networks' for nil:NilClass  Method:[block (2 levels) in class:LogProxy]"} {"@timestamp":"2023-08-31T06:55:21.056907","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(MiqQueue#deliver) Message id: [8748], Error: [undefined method list_networks' for nil:NilClass]"}
{"@timestamp":"2023-08-31T06:55:21.057019","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[ManageIQ::Providers::BaseManager::Refresher::PartialRefreshError]: undefined method `list_networks' for nil:NilClass Method:[block (2 levels) in class:LogProxy]"}

{"@timestamp":"2023-08-31T06:55:20.080462","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh) EMS: [engine233.com-new Network Manager], id: [6]   ManageIQ::Providers::Ovirt::NetworkManager [engine233.com-new Network Manager] id [6]"}
{"@timestamp":"2023-08-31T06:55:20.080613","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#collect_inventory_for_targets) Filtering inventory for ManageIQ::Providers::Ovirt::NetworkManager [engine233.com-new Network Manager] id: [6]..."}
{"@timestamp":"2023-08-31T06:55:20.953226","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#collect_inventory_for_targets) Filtering inventory...Complete"}
{"@timestamp":"2023-08-31T06:55:20.953500","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh_targets_for_ems) EMS: [engine233.com-new Network Manager], id: [6] Refreshing target ManageIQ::Providers::Ovirt::NetworkManager [engine233.com-new Network Manager] id [6]..."}
{"@timestamp":"2023-08-31T06:55:21.032201","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"Wrong password format, just numeric passwords are not accepted."}
{"@timestamp":"2023-08-31T06:55:21.032710","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"fog","level":"warning","message":"MIQ(OpenstackHandle::Handle.detect_service) detect service error: Numeric-only passwords are not accepted"}
{"@timestamp":"2023-08-31T06:55:21.033089","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh) EMS: [engine233.com-new Network Manager], id: [6] Refresh failed"}
{"@timestamp":"2023-08-31T06:55:21.034821","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[NoMethodError]: undefined method list_networks' for nil:NilClass  Method:[block (2 levels) in <class:LogProxy>]"} {"@timestamp":"2023-08-31T06:55:21.034925","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/collector/network_manager.rb:11:in block in cloud_networks'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:52:in safe_call'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:78:in safe_list'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/collector/network_manager.rb:11:in cloud_networks'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/parser/network_manager.rb:15:in cloud_networks'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/parser/network_manager.rb:5:in parse'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-ovirt-ef9377723b0a/app/models/manageiq/providers/ovirt/inventory/parser/network_manager.rb:3:in parse'\n/var/www/miq/vmdb/app/models/manageiq/providers/inventory.rb:42:in block in parse'\n/var/www/miq/vmdb/app/models/manageiq/providers/inventory.rb:39:in each'\n/var/www/miq/vmdb/app/models/manageiq/providers/inventory.rb:39:in parse'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-ovirt-ef9377723b0a/app/models/manageiq/providers/ovirt/network_manager/refresher.rb:22:in block in parse_targeted_inventory'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:20:in realtime_store'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:56:in realtime_block'\n/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-ovirt-ef9377723b0a/app/models/manageiq/providers/ovirt/network_manager/refresher.rb:21:in parse_targeted_inventory'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:96:in block in refresh_targets_for_ems'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:20:in realtime_store'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:56:in realtime_block'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:95:in refresh_targets_for_ems'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:41:in block (2 levels) in refresh'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:20:in realtime_store'\n/opt/manageiq/manageiq-gemset/gems/more_core_extensions-4.4.0/lib/more_core_extensions/core_ext/benchmark/realtime_store.rb:62:in realtime_block'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:41:in block in refresh'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:31:in each'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:31:in refresh'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:11:in refresh'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:74:in block in refresh'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:73:in each'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:73:in refresh'\n/var/www/miq/vmdb/app/models/miq_queue.rb:517:in block in dispatch_method'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:186:in block in timeout'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:41:in handle_timeout'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:195:in timeout'\n/var/www/miq/vmdb/app/models/miq_queue.rb:515:in dispatch_method'\n/var/www/miq/vmdb/app/models/miq_queue.rb:484:in block in deliver'\n/var/www/miq/vmdb/app/models/user.rb:382:in with_user_group'\n/var/www/miq/vmdb/app/models/miq_queue.rb:484:in deliver'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:98:in deliver_queue_message'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:124:in deliver_message'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:146:in block in do_work'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:142:in loop'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:142:in do_work'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:295:in block in do_work_loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:292:in loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:292:in do_work_loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:142:in run'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:100:in start_rails_worker'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:95:in start'\n/var/www/miq/vmdb/lib/workers/bin/run_single_worker.rb:128:in <main>'"} {"@timestamp":"2023-08-31T06:55:21.035002","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh) EMS: [engine233.com-new Network Manager], id: [6] Unable to perform refresh for the following targets:"} {"@timestamp":"2023-08-31T06:55:21.035097","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh)  --- ManageIQ::Providers::Ovirt::NetworkManager [engine233.com-new Network Manager] id [6]"} {"@timestamp":"2023-08-31T06:55:21.056681","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::NetworkManager::Refresher#refresh) Refreshing all targets...Complete"} {"@timestamp":"2023-08-31T06:55:21.056907","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"MIQ(MiqQueue#deliver) Message id: [8748], Error: [undefined method list_networks' for nil:NilClass]"}
{"@timestamp":"2023-08-31T06:55:21.057019","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"[ManageIQ::Providers::BaseManager::Refresher::PartialRefreshError]: undefined method list_networks' for nil:NilClass  Method:[block (2 levels) in <class:LogProxy>]"} {"@timestamp":"2023-08-31T06:55:21.057193","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"err","message":"/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:68:in refresh'\n/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:11:in refresh'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:74:in block in refresh'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:73:in each'\n/var/www/miq/vmdb/app/models/ems_refresh.rb:73:in refresh'\n/var/www/miq/vmdb/app/models/miq_queue.rb:517:in block in dispatch_method'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:186:in block in timeout'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:41:in handle_timeout'\n/opt/manageiq/manageiq-gemset/gems/timeout-0.4.0/lib/timeout.rb:195:in timeout'\n/var/www/miq/vmdb/app/models/miq_queue.rb:515:in dispatch_method'\n/var/www/miq/vmdb/app/models/miq_queue.rb:484:in block in deliver'\n/var/www/miq/vmdb/app/models/user.rb:382:in with_user_group'\n/var/www/miq/vmdb/app/models/miq_queue.rb:484:in deliver'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:98:in deliver_queue_message'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:124:in deliver_message'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:146:in block in do_work'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:142:in loop'\n/var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:142:in do_work'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:295:in block in do_work_loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:292:in loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:292:in do_work_loop'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:142:in run'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:100:in start_rails_worker'\n/var/www/miq/vmdb/app/models/miq_worker/runner.rb:95:in start'\n/var/www/miq/vmdb/lib/workers/bin/run_single_worker.rb:128:in '"}
{"@timestamp":"2023-08-31T06:55:21.057325","hostname":"182a3c77fb6d","pid":678,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#delivered) Message id: [8748], State: [error], Delivered in [0.990655065] seconds"}
{"@timestamp":"2023-08-31T06:55:22.741364","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqPriorityWorker::Runner#get_message_via_drb) Message id: [8878], Zone: [default], Role: [automate], Server: [], MiqTask id: [], Handler id: [MiqWorker 49], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqAeEngine.deliver], Timeout: [3600], Priority: [20], State: [dequeue], Deliver On: [], Data: [], Args: [{:object_type=>"ManageIQ::Providers::Ovirt::InfraManager::Host", :object_id=>1, :attrs=>{:event_type=>"host_add_to_cluster", "Host::host"=>1, :host_id=>1, "EmsCluster::ems_cluster"=>2, :ems_cluster_id=>2, "MiqEvent::miq_event"=>215, :miq_event_id=>215, "EventStream::event_stream"=>215, :event_stream_id=>215}, :instance_name=>"Event", :user_id=>1, :miq_group_id=>1, :tenant_id=>1, :automate_message=>nil}], Dequeued in: [4.81180769] seconds"}
{"@timestamp":"2023-08-31T06:55:22.741797","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#deliver) Message id: [8878], Delivering..."}
{"@timestamp":"2023-08-31T06:55:22.746772","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"User [admin] with current group ID [1] name [Tenant My Company/1 access]"}
{"@timestamp":"2023-08-31T06:55:23.068685","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"Delivering {:event_type=>"host_add_to_cluster", "Host::host"=>1, :host_id=>1, "EmsCluster::ems_cluster"=>2, :ems_cluster_id=>2, "MiqEvent::miq_event"=>215, :miq_event_id=>215, "EventStream::event_stream"=>215, :event_stream_id=>215} for object [ManageIQ::Providers::Ovirt::InfraManager::Host.1] with state [] to Automate"}
{"@timestamp":"2023-08-31T06:55:23.069217","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Instantiating [/System/Process/Event?EmsCluster%3A%3Aems_cluster=2&EventStream%3A%3Aevent_stream=215&Host%3A%3Ahost=1&MiqEvent%3A%3Amiq_event=215&MiqServer%3A%3Amiq_server=1&User%3A%3Auser=1&ems_cluster_id=2&event_stream_id=215&event_type=host_add_to_cluster&host_id=1&miq_event_id=215&object_name=Event&vmdb_object_type=host]"}
{"@timestamp":"2023-08-31T06:55:23.077992","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Updated namespace [/System/Process/Event?EmsCluster%3A%3Aems_cluster=2&EventStream%3A%3Aevent_stream=215&Host%3A%3Ahost=1&MiqEvent%3A%3Amiq_event=215&MiqServer%3A%3Amiq_server=1&User%3A%3Auser=1&ems_cluster_id=2&event_stream_id=215&event_type=host_add_to_cluster&host_id=1&miq_event_id=215&object_name=Event&vmdb_object_type=host  ManageIQ/System]"}
{"@timestamp":"2023-08-31T06:55:23.322455","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Following Relationship [miqaedb:/System/Event/MiqEvent/POLICY/host_add_to_cluster#create]"}
{"@timestamp":"2023-08-31T06:55:23.333050","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Updated namespace [miqaedb:/System/Event/MiqEvent/POLICY/host_add_to_cluster#create  ManageIQ/System/Event/MiqEvent]"}
{"@timestamp":"2023-08-31T06:55:23.337241","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Instance [/ManageIQ/System/Event/MiqEvent/POLICY/host_add_to_cluster] not found in MiqAeDatastore - trying [.missing]"}
{"@timestamp":"2023-08-31T06:55:23.346253","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Following Relationship [miqaedb:/System/event_handlers/event_enforce_policy#create]"}
{"@timestamp":"2023-08-31T06:55:23.351590","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Updated namespace [miqaedb:/System/event_handlers/event_enforce_policy#create  ManageIQ/System]"}
{"@timestamp":"2023-08-31T06:55:23.368361","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Updated namespace [System/event_handlers/event_enforce_policy  ManageIQ/System]"}
{"@timestamp":"2023-08-31T06:55:23.371238","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Invoking [builtin] method [/ManageIQ/System/event_handlers/event_enforce_policy] with inputs [{}]"}
{"@timestamp":"2023-08-31T06:55:23.374687","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqEvent#process_evm_event) Event Raised [host_add_to_cluster]"}
{"@timestamp":"2023-08-31T06:55:23.375746","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"policy","level":"info","message":"MIQ(policy-enforce_policy): Event: [host_add_to_cluster], To: [node231.com]"}
{"@timestamp":"2023-08-31T06:55:23.417352","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqEvent#process_evm_event) Alert for Event [host_add_to_cluster]"}
{"@timestamp":"2023-08-31T06:55:23.417583","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqAlert.evaluate_alerts) [host_add_to_cluster] Target: ManageIQ::Providers::Ovirt::InfraManager::Host Name: [node231.com], Id: [1]"}
{"@timestamp":"2023-08-31T06:55:23.424445","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"warning","message":"MIQ(MiqAlert.evaluate_alerts) [host_add_to_cluster] Target: ManageIQ::Providers::Ovirt::InfraManager::Host Name: [node231.com], Id: [1] Result: No enabled alerts are assigned to target!  Nothing to do."}
{"@timestamp":"2023-08-31T06:55:23.424779","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Followed  Relationship [miqaedb:/System/event_handlers/event_enforce_policy#create]"}
{"@timestamp":"2023-08-31T06:55:23.426181","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"automation","level":"info","message":"Followed  Relationship [miqaedb:/System/Event/MiqEvent/POLICY/host_add_to_cluster#create]"}
{"@timestamp":"2023-08-31T06:55:23.426949","hostname":"182a3c77fb6d","pid":305,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#delivered) Message id: [8878], State: [ok], Delivered in [0.685147382] seconds"}
{"@timestamp":"2023-08-31T06:55:25.235147","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [8879], Zone: [default], Role: [], Server: [], MiqTask id: [], Handler id: [MiqWorker 48], Ident: [generic], Target id: [], Instance id: [2], Task id: [], Command: [ManageIQ::Providers::Ovirt::InfraManager::Vm.classify_with_parent_folder_path], Timeout: [600], Priority: [200], State: [dequeue], Deliver On: [], Data: [], Args: [true], Dequeued in: [5.595603034] seconds"}
{"@timestamp":"2023-08-31T06:55:25.235559","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#deliver) Message id: [8879], Delivering..."}
{"@timestamp":"2023-08-31T06:55:25.295303","hostname":"182a3c77fb6d","pid":301,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [8880], Zone: [default], Role: [], Server: [], MiqTask id: [], Handler id: [MiqWorker 47], Ident: [generic], Target id: [], Instance id: [1], Task id: [], Command: [ManageIQ::Providers::Ovirt::InfraManager::Template.classify_with_parent_folder_path], Timeout: [600], Priority: [200], State: [dequeue], Deliver On: [], Data: [], Args: [true], Dequeued in: [5.633395507] seconds"}
{"@timestamp":"2023-08-31T06:55:25.295724","hostname":"182a3c77fb6d","pid":301,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#deliver) Message id: [8880], Delivering..."}
{"@timestamp":"2023-08-31T06:55:25.344792","hostname":"182a3c77fb6d","pid":319,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue.put) Message id: [8892], Zone: [], Role: [], Server: [], MiqTask id: [], Handler id: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqQueue.check_for_timeout], Timeout: [600], Priority: [50], State: [ready], Deliver On: [], Data: [], Args: []"}
{"@timestamp":"2023-08-31T06:55:25.559931","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::InfraManager::Vm#classify_with_parent_folder_path) Classifying VM: [HostedEngine] with Category: [folder_path_blue => Parent Folder Path (VMs & Templates)], Entry: [datacenters:default:vm => Datacenters/Default/vm]"}
{"@timestamp":"2023-08-31T06:55:25.720468","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"automation","level":"info","message":"MiqAeEvent.build_evm_event >> event=<:assigned_company_tag> inputs=<{"MiqEvent::miq_event"=>216, :miq_event_id=>216, "EventStream::event_stream"=>216, :event_stream_id=>216}>"}
{"@timestamp":"2023-08-31T06:55:25.754366","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue.put) Message id: [8893], Zone: [default], Role: [automate], Server: [], MiqTask id: [], Handler id: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqAeEngine.deliver], Timeout: [3600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: [{:object_type=>"ManageIQ::Providers::Ovirt::InfraManager::Vm", :object_id=>2, :attrs=>{:event_type=>"assigned_company_tag", "MiqEvent::miq_event"=>216, :miq_event_id=>216, "EventStream::event_stream"=>216, :event_stream_id=>216}, :instance_name=>"Event", :user_id=>1, :miq_group_id=>1, :tenant_id=>1, :automate_message=>nil}]"}
{"@timestamp":"2023-08-31T06:55:25.909551","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(ManageIQ::Providers::Ovirt::InfraManager::Vm#classify_with_parent_folder_path) Classifying VM: [HostedEngine] with Category: [folder_path_yellow => Parent Folder Path (Hosts & Clusters)], Entry: [datacenters => Datacenters]"}
{"@timestamp":"2023-08-31T06:55:25.966152","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"automation","level":"info","message":"MiqAeEvent.build_evm_event >> event=<:assigned_company_tag> inputs=<{"MiqEvent::miq_event"=>217, :miq_event_id=>217, "EventStream::event_stream"=>217, :event_stream_id=>217}>"}
{"@timestamp":"2023-08-31T06:55:25.981776","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue.put) Message id: [8894], Zone: [default], Role: [automate], Server: [], MiqTask id: [], Handler id: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqAeEngine.deliver], Timeout: [3600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: [{:object_type=>"ManageIQ::Providers::Ovirt::InfraManager::Vm", :object_id=>2, :attrs=>{:event_type=>"assigned_company_tag", "MiqEvent::miq_event"=>217, :miq_event_id=>217, "EventStream::event_stream"=>217, :event_stream_id=>217}, :instance_name=>"Event", :user_id=>1, :miq_group_id=>1, :tenant_id=>1, :automate_message=>nil}]"}
{"@timestamp":"2023-08-31T06:55:25.982056","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqQueue#delivered) Message id: [8879], State: [ok], Delivered in [0.746469668] seconds"}
{"@timestamp":"2023-08-31T06:55:26.241144","hostname":"182a3c77fb6d","pid":303,"tid":"94d4","service":"evm","level":"info","message":"MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [8881], Zone: [default], Role: [], Server: [], MiqTask id: [], Handler id: [MiqWorker 48], Ident: [generic], Target id: [], Instance id: [3], Task id: [], Command: [ManageIQ::Providers::Ovirt::InfraManager::Vm.classify_with_parent_folder_path], Timeout: [600], Priority: [200], State: [dequeue], Deliver On: [], Data: [], Args: [true], Dequeued in: [6.549005512] seconds"}

Thanks @kevin-to-LX this is very helpful
This the original error from the Openstack Neutron API:
Wrong password format, just numeric passwords are not accepted.
MIQ(OpenstackHandle::Handle.detect_service) detect service error: Numeric-only passwords are not accepted

Then we do not check if the connection failed and try to collect cloud_networks anyway which results in
[NoMethodError]: undefined method `list_networks' for nil:NilClass  Method:[block (2 levels) in <class:LogProxy>]
opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/collector/network_manager.rb:11:in `block in cloud_networks'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:52:in `safe_call'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:78:in `safe_list'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/collector/network_manager.rb:11:in `cloud_networks'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/parser/network_manager.rb:15:in `cloud_networks'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-openstack-c22bd4b9a1a8/app/models/manageiq/providers/openstack/inventory/parser/network_manager.rb:5:in `parse'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-ovirt-ef9377723b0a/app/models/manageiq/providers/ovirt/inventory/parser/network_manager.rb:3:in `parse'
/var/www/miq/vmdb/app/models/manageiq/providers/inventory.rb:42:in `block in parse'

@kevin-to-LX I am working on improved error handling so that we don't blow up with a NoMethodError when we are unable to login to neutron, but I cannot fix the Numeric-only passwords are not accepted error since that comes from Ovirt OVN.  I assume that you don't have external networking actually working since this would also fail for Ovirt when they went to hit the neutron API?

would

But i can create logical network and subnet in oivrt with ovn。

Hey @kevin-to-LX I forgot about this but we were working around a bug in fog which failed for passwords which were all numbers, but the bug has since been fixed and so we can drop this check.  https://github.com/ManageIQ/manageiq-providers-openstack/pull/859 should resolve this for you.

I can not find the TAG which named petrosian-1 at https://hub.docker.com/
@agrare

Hey @kevin-to-LX unfortunately https://github.com/ManageIQ/manageiq-providers-openstack/pull/859 didn't land in petrosian-1

I can not find the TAG which named petrosian-1 at https://hub.docker.com/

cc @bdunne

error: undefined method ‘list_networks’ for nil:NilClass
I downloaded the latest version, but the error still exists：

undefined method `list_networks' for nil:NilClass

docker pull manageiq/manageiq:latest
this verison is not the master ？


config.py not considered / loaded

Describe the bug
config.py is not read by the continue server (it seems).
To Reproduce
Steps to reproduce the behavior:

Change config.py in ~/.continue to use ggml (and let some ggml be running)
Start vscode
Ask "Who are you"
See that it is GPT-3

Expected behavior
Depending on the ggml model, it should output the ggml model name
Environment

Operating System: Windows 11
Python Version: 3.11.4
Continue Version:  v0.0.218

Thanks for reporting, @TKlerx! We will look into this and update this issue soon

Hi @TKlerx . Could you share your config.py by chance? The two steps to get ggml running are

setup the server,
change default_model in config.py to "ggml"

and it sounds like you've done both of these. Also important is that the config file won't be updated until you refresh the VS Code window.

Yes, the server is running (I can access the Swagger UI)
Exactly, change default model to "ggml".
Then close vscode, kill (possibly) still running continue server via task manager; start vscode

my config.py:
"""
This is the Continue configuration file.

If you aren't getting strong typing on these imports,
be sure to select the Python interpreter in ~/.continue/server/env.
"""

import subprocess

from continuedev.src.continuedev.core.main import Step
from continuedev.src.continuedev.core.sdk import ContinueSDK
from continuedev.src.continuedev.core.config import CustomCommand, SlashCommand, ContinueConfig
from continuedev.src.continuedev.plugins.context_providers.github import GitHubIssuesContextProvider
from continuedev.src.continuedev.plugins.context_providers.google import GoogleContextProvider

class CommitMessageStep(Step):
    """
    This is a Step, the building block of Continue.
    It can be used below as a slash command, so that
    run will be called when you type '/commit'.
    """
    async def run(self, sdk: ContinueSDK):

        # Get the root directory of the workspace
        dir = sdk.ide.workspace_directory

        # Run git diff in that directory
        diff = subprocess.check_output(
            ["git", "diff"], cwd=dir).decode("utf-8")

        # Ask gpt-3.5-16k to write a commit message,
        # and set it as the description of this step
        self.description = await sdk.models.gpt3516k.complete(
            f"{diff}\n\nWrite a short, specific (less than 50 chars) commit message about the above changes:")

config = ContinueConfig(

    # If set to False, we will not collect any usage data
    # See here to learn what anonymous data we collect: https://continue.dev/docs/telemetry
    allow_anonymous_telemetry=True,

    # GPT-4 is recommended for best results
    # See options here: https://continue.dev/docs/customization#change-the-default-llm
    default_model="ggml",

    # Set a system message with information that the LLM should always keep in mind
    # E.g. "Please give concise answers. Always respond in Spanish."
    system_message=None,

    # Set temperature to any value between 0 and 1. Higher values will make the LLM
    # more creative, while lower values will make it more predictable.
    temperature=0.5,

    # Custom commands let you map a prompt to a shortened slash command
    # They are like slash commands, but more easily defined - write just a prompt instead of a Step class
    # Their output will always be in chat form
    custom_commands=[CustomCommand(
        name="test",
        description="This is an example custom command. Use /config to edit it and create more",
        prompt="Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
    )],

    # Slash commands let you run a Step from a slash command
    slash_commands=[
        # SlashCommand(
        #     name="commit",
        #     description="This is an example slash command. Use /config to edit it and create more",
        #     step=CommitMessageStep,
        # )
    ],

    # Context providers let you quickly select context by typing '@'
    # Uncomment the following to
    # - quickly reference GitHub issues
    # - show Google search results to the LLM
    context_providers=[
        # GitHubIssuesContextProvider(
        #     repo_name="<your github username or organization>/<your repo name>",
        #     auth_token="<your github auth token>"
        # ),
        # GoogleContextProvider(
        #     serper_api_key="<your serper.dev api key>"
        # )
    ]
)

´´´

I just ran into similar problems. I found [DEBUG] Error loading config.py: No module named 'continuedev.src' within the ~/.continue/continue.log.
Upon editing ~/.continue/config.py and updating the imports the config.py file is loading.
Imports look something like this now:
from continuedev.core.main import Step
from continuedev.core.sdk import ContinueSDK
from continuedev.core.config import CustomCommand, SlashCommand, ContinueConfig
from continuedev.plugins.context_providers.github import GitHubIssuesContextProvider
from continuedev.plugins.context_providers.google import GoogleContextProvider

I have had to do a similar dance of quitting VSCode, killing the Continue server process and then starting VSCode to get the Continue server reloaded.

This is the correct fix, thank you @colinmcardell ! I've since fixed the imports in the default config file, and if there is an error in your config file it will now be shown in the UI. Let me know if there are any more questions, otherwise considering this issue closed.


Class representing observed data

Goal
The module lacks a standardized way to process/represent observed data. We should have a class (implemented as an independent module) for processing epi data to facilitate the implementation of the package.
Context
This becomes clear as soon as we start working with time series data.
Required features

A class that reads in a dataset.
Possibly store the data using either polars.DataFrame or a named tuple of jax.numpy.Array.
The getter functions should raise exceptions when the user tries to pull some epi data.
The class should have a function (possibly a static method) to process the desired data.
Possibly implement a metaclass so each model could have their way to address data needs.

Specifications
TBD
Out of scope

None noted

Related documents

ADR on CDCent side (link)

Cross-posted from teams; I see three possible routes:

Have no class at all; leave data processing to the user.

Have a metaclass called EpiData that can be used as a baseline for each model (so models can include their own data needs), thus: HospitalizationsData(EpiData), WastewaterData(EpiData), etc

I like the third option, as we can always have a default implementation of the metaclass that models can use if there's no need for a specialized implementation.

I also like the third option. It's the approach I am taking in Pyter and so far it's working well there.

@damonbayer suggested I compose this comment. The following is a non-unkempt outline for the data classes I created some time back. I imagine that, even if most of these classes and methods end up not being used, posting these classes and methods is still worthwhile given ht at they might facilitate further discussion or be employed in some capacity. Most non-self arguments have been removed to make it easier for others to use this code outline.
# -*- coding: utf-8 -*-

"""
The EpiData Abstract Base Class. This
class support downstream subclassing
to cover all data objects supported
by MSR.
"""

from __future__ import annotations

from abc import ABC, abstractmethod

class EpiData(ABC):  # numpydoc ignore=GL08,PR01
    """
    An abstract base class MSR data objects.

    Notes
    -----
    The EpiData abstract data object should not
    receive data itself.
    """

    def __init__(
        self, source=None, metadata=None
    ):  # numpydoc ignore=GL08,PR01
        self.source = source
        self.metadata = metadata

    @abstractmethod
    def process(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def summary(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def validate(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def to_dict(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def to_json(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def to_polars(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def from_dict(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def from_json(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def from_polars(self):  # numpydoc ignore=GL08
        pass

    @abstractmethod
    def plot(self):  # numpydoc ignore=GL08
        pass

"""
TimeSeries class subclassed from EpiData.
Used for Infections and HospitalAdmissions.
"""

from __future__ import annotations

from pyrenew.data.epidata import EpiData

class TimeSeries(EpiData):  # numpydoc ignore=GL08,PR01

    def __init__(
        self, source=None, metadata=None
    ):  # numpydoc ignore=GL08,PR01
        self.source = source
        self.metadata = metadata

    def process(self):  # numpydoc ignore=GL08
        pass

    def summary(self):  # numpydoc ignore=GL08
        pass

    def validate(self):  # numpydoc ignore=GL08
        pass

    def to_dict(self):  # numpydoc ignore=GL08
        pass

    def to_json(self):  # numpydoc ignore=GL08
        pass

    def to_polars(self):  # numpydoc ignore=GL08
        pass

    def from_dict(self):  # numpydoc ignore=GL08
        pass

    def from_json(self):  # numpydoc ignore=GL08
        pass

    def from_polars(self):  # numpydoc ignore=GL08
        pass

    def plot(self):  # numpydoc ignore=GL08
        pass

    def population_scaled():  # numpydoc ignore=GL08
        pass

    def first_difference(self):  # numpydoc ignore=GL08
        pass

    def second_difference(self):  # numpydoc ignore=GL08
        pass

    def time_units(self):  # numpydoc ignore=GL08
        pass

    def moving_average(self, window_size: int):  # numpydoc ignore=GL08
        pass

    def resample(self, interval: str):  # numpydoc ignore=GL08
        """
        Here resample means map from something like days to weeks.
        """
        pass

class HospitalAdmissions(TimeSeries):  # numpydoc ignore=GL08,PR01
    """
    Supports observed and simulated hospital
    admissions.
    """

    def __init__(
        self, source=None, metadata=None
    ):  # numpydoc ignore=GL08,PR01
        self.source = source
        self.metadata = metadata

    def process(self):  # numpydoc ignore=GL08
        pass

    def summary(self):  # numpydoc ignore=GL08
        pass

    def validate(self):  # numpydoc ignore=GL08
        pass

    def to_dict(self):  # numpydoc ignore=GL08
        pass

    def to_json(self):  # numpydoc ignore=GL08
        pass

    def to_polars(self):  # numpydoc ignore=GL08
        pass

    def from_dict(self):  # numpydoc ignore=GL08
        pass

    def from_json(self):  # numpydoc ignore=GL08
        pass

    def from_polars(self):  # numpydoc ignore=GL08
        pass

    def plot(self):  # numpydoc ignore=GL08
        pass

    def population_scaled(self):  # numpydoc ignore=GL08
        pass

    def first_difference(self):  # numpydoc ignore=GL08
        pass

    def second_difference(self):  # numpydoc ignore=GL08
        pass

    def time_units(self):  # numpydoc ignore=GL08
        pass

    def admission_rate(self):  # numpydoc ignore=GL08
        pass

    def moving_average(self, window_size: int):  # numpydoc ignore=GL08
        pass

    def resample(self):  # numpydoc ignore=GL08
        pass

class Infections(TimeSeries):  # numpydoc ignore=GL08,PR01
    """
    Supports latent estimated and simulated
    infections.
    """

    def __init__(
        self, source=None, metadata=None
    ):  # numpydoc ignore=GL08,PR01
        self.source = source
        self.metadata = metadata

    def process(self):  # numpydoc ignore=GL08
        pass

    def summary(self):  # numpydoc ignore=GL08
        pass

    def validate(self):  # numpydoc ignore=GL08
        pass

    def to_dict(self):  # numpydoc ignore=GL08
        pass

    def to_json(self):  # numpydoc ignore=GL08
        pass

    def to_polars(self):  # numpydoc ignore=GL08
        pass

    def from_dict(self):  # numpydoc ignore=GL08
        pass

    def from_json(self):  # numpydoc ignore=GL08
        pass

    def from_polars(self):  # numpydoc ignore=GL08
        pass

    def plot(self):  # numpydoc ignore=GL08
        pass

    def population_scaled(self):  # numpydoc ignore=GL08
        pass

    def first_difference(self):  # numpydoc ignore=GL08
        pass

    def second_difference(self):  # numpydoc ignore=GL08
        pass

    def time_units(self):  # numpydoc ignore=GL08
        pass

    def moving_average(self):  # numpydoc ignore=GL08
        pass

    def resample(self):  # numpydoc ignore=GL08
        pass

@damonbayer, is this still relevant?

For now, this is handled differently by different PyRenew-dependent projects. Willing to revisit making this a part of PyRenew in the future.


[Bug]: Arctic Terminal not support comments #

What happened?
When I write a comment with # in Arctic Terminal, it doesn't work.
However, -- and /*  */ work.
Affects Versions
master/0.4.0/
What engines are you seeing the problem on?
AMS
How to reproduce
Type to Terminal like
# comment
insert into test.table124 values (4,3)

Relevant log output
No response
Anything else
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The TerminalSessionContext.execute()  has handled the line starting with --, adding an addition check could solve the problem.


do_until breaks

Do until breaks

https://media.discordapp.net/attachments/262926723803381761/608365502531633162/unknown.png


[FSDE-20775] Fix Sidenav component invalid selector console error

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-394/2/. :x:

The CI pipeline has run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-394/3/. :white_check_mark:

You can check this PRs instance in https://79b6ed79debc927ed869538e681ca2bc42cdb832-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-394-ux-chi.kubeodc-test.corp.intranet/ (internal)


Bugfix/mandatory and optional args

📚 Description
PR to solve the route pattern match in case of mandatory and optional args.
🔖 Changes

Added a pathPattern class variable in Route class to make this customizable in route definition
Thank pathPattern class variable the pathPattern is calculated only one time
introduced new method calculateDefaultPathPattern that try to split the route path on / and for each part find is a mandatory arg or an optional arg. This method has a TODO refactoring, due this ist just a first idea to calculate better the pattern, but maybe it have to be moved to own class and refactored to make it stable and smart.

PR is a draft!

@Chemaclass This PR is not fully completed and it is just a first draft to try to solve the problem.

Hello @ynnoig ! I've taken a quick look at your proposal, and I honestly think it has the potential to become the final solution we're looking for. However, I have some questions and would like to hear your opinion.
One of the indirectly related changes you made is adding a new attribute called "pathPattern" to the routes. In this attribute, you're storing the calculations performed by the "getPathPattern" method so that they don't need to be repeated when the method is called again later.
All my questions are focused on this attribute. I want to fully understand your perspective.
This method "getPathPattern" is typically called once per route until a match is found. Once this happens, it is called two more times within the implementation of the RouteParams constructor (which could be reduced to one if we store the result in a variable and use that variable). In any case, except for the matching route, the calculation is performed between 0 and 1 times for the rest of the routes. Have you conducted any tests to see if there are performance or resource usage improvements? Are there any other reasons why you believe this is a better approach?
Additionally, you not only added this attribute to the Route, but you also allow it to be optionally defined during construction. In what cases could this new functionality be useful? If we decide to keep this attribute, wouldn't it be better for it to be simply an internal attribute that cannot be defined during construction?
Keep in mind that Gacela's premise is simplicity, both in the interfaces we expose in our classes and in the implementations we provide. We like to ensure that there is a significant benefit before going against our goals. We don't want to add these types of optimizations prematurely, especially when we don't have a guarantee of results. Even though it's just one more attribute, adding another option to the API, along with others, can gradually increase complexity without us realizing it.
When I have some more time, I'll delve deeper. We're eager to have this in production. Thank you again for your time and contribution.

After checking this out in detail, I found that adding this in RouteParams::55
'string' => $pathParams[$paramName] ?? '',

most precisaly the ?? '', then it makes the feature test pass. The only missing thing now is 2 "mutant tests" that need some attention (aka there are no tests covering this new behavior completely.) @ynnoig @Tito-Kati

This is just what i have in my working copy. I have only to add some more tests and then I push everything.

Hallo @Tito-Kati
Thank you for taking a look at my suggested solution (as said is still a draft, wip).
To answer your first question I think you did it yourself by asking the second question. As you precisely noted I included the possibility of deciding in the configuration phase of a routing the definition of a custom pattern. In this case the default pattern calculation method is not called and the pattern injected at configuration time is used. Hence the choice to insert the class variable to achieve precisely this change. The reason might be simpler than you might think: for example, the user can define that a given parameter should be hexadecimal or numeric and so on...
At the level of performance or resource usage, I don't think there is an impact that we need to consider, other than that we have an extra class variable that contains a string. The pattern is always as before calculated on the fly (in case is not provided from user) at the time the route match is required, and then as you have well pointed out the calculation is performed 0 or maximum 1 time for the rest of the routes.


Move Project to organization

Maybe this repo could be moved to a organization to ensure further development.
Basic idea: http://fabien.potencier.org/about-personal-github-accounts.html
Two possible orgs could be: twigphp or thephpleague.

:+1:

@h4cc I agree. I'll try to reach out to some folks.

:+1:

Really useful to improve this plugin, right now there is an importatn issue with the dependencies, i cant install it on a drupal 9


Goals for 10/3

@gkiar
@ewalke31

[ ] Run fngs pipeline on subset of BNU_2 dataset. The data is found at /mnt/ssd2/data_fmri/BNU_2. Run on all subjects found here. (2mm atlases in place of s4)
[ ] Debug EM KF algorithm by constricting parameters and seeing which is causing the issue
[ ] Create R Markdown to demonstrate progress

@ronnyb29
@ebridge2

[ ] #43
[ ] run dataset for tanay to compare to

@02agarwalt

[ ] Run fngs pipeline on all subjects of a dataset (BNU_3 ???) and produce corresponding correlation and time/intensity plots. Will present R Markdown with an outline of the process, automation code, and resulting plots.
[ ] Compare my plots with @ebridge2 's plots to show that the pipeline is deterministic (include in R Markdown final product?)
[ ] Debug and finalize Kalman EM with ewok

@ewalke31 the 2nd and 3d bullets of yours are related, yes? I.e. the R markdown demonstrates your debug process? Also, can you please define what the derivative you will produce will be for running the BNU dataset?

and everyone else?

If you're talking to me, no one else has added any content yet. If you're talking to them, I agree, @ronnyb29 @ebridge2 @02agarwalt should all make their tasks.

i'm talking to them :)

@jovo @gkiar updated!

@02agarwalt that seems to be all running code which @ebridge2 says works, could you add a task that is you writing some code as well? Perhaps working on the EM/Kalman filter with @ronnyb29 or @ewalke31; as @jovo said yesterday: you are a team, you should work together! :)

Agreed. Updated!

👌  @02agarwalt. Still waiting on commitments from @ebridge2 and @ronnyb29

Whoops, updated

@ebridge2 isn't your second bullet done? You have already run all that data? Will you also carry over all the things from last week that you didn't get done?

Yah, fair, and I actually finished all that stuff but we piled more on before I ran the simulations so I held off hitting "go" (and hence didnt have the deliverable) since it takes like 4 days of my comp continually running when I do that (which is annoying, especially if I then would have needed to run it again after I added #43 changes a day after that finished).

👌 , @ebridge2


Color picker only works once

The color picker worked the first time I used it, but returns all zeros after that first time, across more than one lighting effect. Or maybe it's just putting it in the wrong field IDK.

Color fields were only retrievable with attr("value") and not val()
Wrote a special case for them in the pseudoConfig generator.


Feature: Server/client architecture to manage multiple instances

I love Felix! Almost everything works "just like that," without much configuration. Even the Vim shortcuts are almost perfect.
What I still need is a server/client architecture and remote commands to manage multiple instances.
When I open multiple tabs or windows in Kitty or split a window, I could start two Felix instances and use Felix like the Norton Commander (or Total Commander, etc.).
to quote lf:

It is often useful to open a file manager in multiple paths at the same time to copy files between directories. Instead of implementing tabs or panes, lf uses a server/client architecture for this purpose to fit your existing workflow. A server process is automatically launched in the background when you run lf command for the first time. This process saves the names of files to be copied or moved so that you can copy files in one client and paste them in another. This feature requires no configuration and it can be used with either multiple terminals or a multiplexer such as screen or tmux:

NNN uses a different approach and implements a realy fast 1,2,3,4 tab system. But I think this is a complex solution and lacks the benefit of a better overview.
But I am aware that a server/client architecture is also complex and requires a lot of work.
Cudos!

First of all thank you! Such words are huge to me.
And about the architecture, let me understand what to think:

For what you'd like to run multiple instances of this app?

Like, to yank & put, or share PWD(i.e. when you open the second instance, it automatically opens PWD of the first)?

IMO the client-server architecture is different from multi-tab/multi-pane, because the latter is the UI thing (client-server may enable you to open the instance in another terminal/multiplexer, which I think the quote you gave says). What would be better for you, according to what you'd like to accomplish?


Add possibility to remove the index contents while restoring

Could it be possible to add an option to remove the output index contents while running elasticdump with these parameters:
elasticdump --input=/data/my_index_data.json --output=http://production.es.com:9200/my_index

the --delete option will remove data from --input (so you can mv rather than cp).   Can you explain in more detail what you are asking for?

I'm thinking about an option for restoring the index contents from the dumped json file.
When the destination index already exists and has some documents the --restore option would remove the index contents and then apply those from json file.

Wouldn't that be the same thing as running curl -X DELETE http://ES:9200/index before your restore?

Closing due to lack of response


SW-5056 Created default voters table

#1763  👈
main

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

Join @tommylau523 and the rest of your teammates on  Graphite

Test failure here is unrelated to this change; there are a couple tests for the random plot selection code that have a very tiny but nonzero chance of failing if the random number generator happens to pick particular values a few dozen times in a row. I've kicked off another test run.


New-Item -Type Directory -Force fails quietly when a file by that name already exists.

Steps to reproduce
# Create and change to temp dir.
($tempDir = New-Item -Type Directory temp:/$PID) | Push-Location

# Create a *file* named 'foo'
New-Item 'foo'

# Now try to create it as a *directory*, with -Force.
# This should *fail*, but currently doesn't and quietly does nothing.
# Without -Force, it works as expected.
{ New-Item -ea Stop -Type Directory 'foo' -Force } | Should -Throw

# Clean-up.
Pop-Location; Remove-Item -Recurse -Force $tempDir

Expected behavior
The test should succeed.
The test only succeeds if you remove -Force, in which case a a non-terminating "An item with the specified name ... already exists." is (sensibly) emitted.
As for what -Force should do in this case: I think it should emit a non-terminating error stating that the target is a file and that -Force can only be used with preexisting directories (to return them as-is); see also: #14730
Actual behavior
The test fails, because nothing is output, and no error is reported.
 Expected an exception, to be thrown, but no exception was thrown.

Environment data
PowerShell Core 7.2.0-preview.2

Oops! Duplicate of #5290.


Flutter 3.7 TextFormField IOS causing permanent magnification bubble to appear on text copy

Steps to Reproduce

Create a TextFormField widget on IOS version of the app.

Hold right click on the text in the TextFormField on your real IOS device.

Click Select All, Copy.

The IOS native text magnification bubble will never disappear as long as your app is open.
TextFormField(
onTap: () => paycontroller.clear(),
textAlign: TextAlign.center,
decoration: const InputDecoration(
errorMaxLines: 2,
border: InputBorder.none,
hintText: 'enter pay'),
controller: paycontroller,
keyboardType: TextInputType.number,
textInputAction: TextInputAction.done,
inputFormatters: [
InputFormat.payFormatter,
],

Seeing this as well.

Seeing this as well.

I rolled back to 3.3.10 for our production build and this is not an issue for anyone wondering.

@LegendAF I tested with below minimal sample code but didn't see the issue.

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Scaffold(
        body: Center(child: TextField()),
      ),
    );
  }
}

Please retry with this sample code. If the issue doesn't happen, please provide a completed and minimal reproducible code sample so that we may verify this. Also, please provide the output of flutter doctor -v as well.
Thank you!

`import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State createState() => _MyAppState();
}
class _MyAppState extends State {
TextEditingController controller = TextEditingController();
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
body: Center(
child: TextFormField(
textAlign: TextAlign.center,
style: const TextStyle(fontSize: 14),
textInputAction: TextInputAction.done,
controller: controller,
decoration: const InputDecoration(
focusedBorder: InputBorder.none,
enabledBorder: InputBorder.none,
hintText: 'enter text',
border: InputBorder.none,
),
),
),
),
);
}
}
`

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  TextEditingController controller = TextEditingController();
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: Center(
          child: TextFormField(
            textAlign: TextAlign.center,
            style: const TextStyle(fontSize: 14),
            textInputAction: TextInputAction.done,
            controller: controller,
            decoration: const InputDecoration(
              focusedBorder: InputBorder.none,
              enabledBorder: InputBorder.none,
              hintText: 'enter text',
              border: InputBorder.none,
            ),
          ),
        ),
      ),
    );
  }
}

@Painwraith I tested with my devices: iPhone 7, iOS 15.7.2 (physical device) and iPhone 14 Pro, iOS 16.1 (emulator device), but can not reproduce this issue. Verified on both latest Flutter stable and master channels.
Please see my demo below and check if I miss any steps to reproduce this issue.

Demo - iPhone 7, iOS 15.7.2
https://user-images.githubusercontent.com/104349824/215655054-00d7dc3c-7f6f-49a4-a45a-1105a52359d8.MP4

Could you please provide a recorded video for this issue?

I've encountered the same issue with Flutter 3.7.0 on an iPhone SE 2020 and iPad 10, both running iOS 16.2.

I don't have the device in my possession which is having the issue. It occurs with an Iphone 14 Plus running 16.1.2 when they attempt to copy text from a TextFormField widget, they get a permanent magnification bubble on the screen.

From your screenshot, it looks like your widgets are placed inside a scrolling view. This is indeed similar to https://github.com/flutter/flutter/issues/121522 and https://github.com/flutter/flutter/issues/119711 which has been confirmed to be fixed on the master channel (see https://github.com/flutter/flutter/issues/119711#issuecomment-1413612348).
So I suggest you try on the latest master to see if the feature working properly. The fix would most probably be available in the next stable release.
flutter channel master
flutter upgrade

I'll be closing this issue as above explanation. If you still experience this issue, kindly leave a comment below and I will reopen this. Thank you!

The bug is still present in v3.7.6

The bug is still present in v3.7.8 in release mode, however, in debug mode, it seems to be fixed.


[JENKINS-54351] Avoid skipping enforcer in builds

JENKINS-54351
Avoid skipping the enforcer in builds. Exclude a couple dependencies that were raising upper bound errors.
@oleg-nenashev @fcojfernandez

@oleg-nenashev I executed the CWP demo and everybody seems fine. Any other test that you think could be useful to execute here?

@oleg-nenashev I avoided exclusions by reducing the versions, but I don't have context on why those were used.

Thanks @varyvol !


Replace most Equals methods with go-cmp Equal

This removes most of the Equals methods from astmodel types - only the ones that need some non-default behaviour are kept.
This was done to explore #123 but we might not want to actually land it, for reasons that are called out in the go-cmp docs.

cmp.Equal panics when it encounters a problem comparing things - in our codebase it panics on structs with unexported fields. I've handled this by adding all the types encountered to an allow list, but we might see this for new types that are added.
It's noticeably slower - on my machine time bin/k8sinfra-gen gen azure-arm.yaml went from about 15s to about 45s.

Neither of these are deal-breakers for the code generation but the savings in terms of removed Equals methods isn't huge either. What do people think?

Pull Request Test Coverage Report for Build 145688994

-6 of 12 (50.0%)  changed or added relevant lines in 6 files are covered.
193 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-3.7%) to 30.628%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hack/generator/pkg/astmodel/file_definition.go
0
2
0.0%

hack/generator/pkg/astmodel/one_of_json_marshal_function.go
0
2
0.0%

hack/generator/pkg/astmodel/type_name.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

hack/generator/pkg/astmodel/array_type.go
1
14.29%

hack/generator/pkg/astmodel/map_type.go
1
10.34%

hack/generator/pkg/astmodel/primitive_type.go
1
15.0%

pkg/zips/env.go
3
0%

pkg/zips/types.go
25
54.76%

pkg/zips/client.go
75
3.96%

pkg/zips/template.go
87
26.32%

Totals

Change from base Build 144071013:
-3.7%

Covered Lines:
1600

Relevant Lines:
5224

💛  - Coveralls

I don't understand what's happening with the coverage numbers - this PR is a net removal of code lines but not test lines. Shouldn't  coverage have gone up?

Every build gets reported as a reduction in coverage by ~3.5%, not sure why.

@theunrepentantgeek, I think any PR that comes from a fork only runs the unit tests (tests without secrets). If a PR is opened with a main repo branch, then it will be a "trusted" branch and secrets will be available and integration tests will run also.

We've got a bunch of work to come on the code generator - serialization of fields with fixed values (e.g. api-version), ownership & references, versioning & conversion methods, unit tests, etc.
A short runtime is going to be critical to our inner-loop so that we can iterate quickly and get these features delivered. Pushing the runtime out to close to a minute therefore seems like a deal breaker to me.

After discussion we agreed that the increased runtime would push this into the "Oh, I'll just check email/whatever while this is running..." zone which is definitely a productivity killer. It was worth trying but we don't want to merge it.


Add a button to download the report as JSON

Tooltip says: "Save report as JSON"
Thoughts @davkal ? I'm not sure about the icon, but didn't know which would be a better one. Maybe it would be better to have one button that saves both report and svg?

+1 on the icon, because it suggests debugging. Not sure about the title. "Report" is scope jargon. What's the user goal, maybe a better title can spring from that?

The user goal is for me, really. To save a report so I can attach it to an issue.

I prefer "Save raw data as JSON" for now. Lets add it and see how often we ask to use it.


Shell integration is not working for zsh

          2024-02-02 09:09:29.686 [info] Shell integration is not working for zsh

2024-02-02 09:09:29.686 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
Im getting this info and warning, which maybe relevant. Shell integration is active, and previously worked fine
Originally posted by @rhizodigital in https://github.com/microsoft/vscode-python/issues/22822#issuecomment-1924267034

@rhizodigital
Please provide the debug logs which can help diagnose the issue:

Run Developer: Set log level command
Select Trace
Run Developer: Reload Window command
Provide the output:

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

2024-02-02 17:09:32.047 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonSurveyNotification' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-02 17:09:32.047 [info] Experiment 'pythonTestAdapter' is active
2024-02-02 17:09:32.047 [info] Default formatter is set to ms-python.black-formatter for workspace /Users/myusername/Sites/django-project
2024-02-02 17:09:32.047 [info] Test server listening.
2024-02-02 17:09:32.047 [info] Python interpreter path: ./.venv/bin/python
2024-02-02 17:09:32.075 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-02 17:09:35.735 [info] Starting Pylance language server.
2024-02-02 17:10:09.061 [info] Discover tests for workspace name: django-project - uri: /Users/myusername/Sites/django-project/.vscode/settings.json
2024-02-02 17:10:45.821 [info] Discover tests for workspace name: django-project - uri: /Users/myusername/Sites/django-project
2024-02-02 17:10:45.861 [info] > ./.venv/bin/python -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.403 [info] > conda info --json
2024-02-02 17:11:02.409 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-02-02 17:11:02.413 [info] > ~/.pyenv/versions/3.12.0/bin/python -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.415 [info] Found<EMAIL_ADDRESS>--><EMAIL_ADDRESS>2024-02-02 17:11:02.419 [info] Found: /opt/homebrew/bin/python3 --><EMAIL_ADDRESS>2024-02-02 17:11:02.419 [info] Found: /opt/homebrew/bin/python3.11 --><EMAIL_ADDRESS>2024-02-02 17:11:02.425 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.499 [info] ><EMAIL_ADDRESS>-I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:02.521 [info] > /opt/homebrew/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/interpreterInfo.py
2024-02-02 17:11:15.526 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-02 17:11:15.527 [info] shell: bash
2024-02-02 17:11:50.982 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:11:58.437 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:13:21.510 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:16:22.305 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-02 17:16:23.266 [info] Discover tests for workspace name: undefined - uri: /Users/myusername/Library/Application Support/Code/User/settings.json
2024-02-03 09:57:34.418 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonSurveyNotification' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-03 09:57:34.418 [info] Experiment 'pythonTestAdapter' is active
2024-02-03 09:57:34.418 [debug] Getting roots
2024-02-03 09:57:34.418 [debug] Getting roots
2024-02-03 09:57:34.418 [debug] Found roots
2024-02-03 09:57:34.418 [debug] Start watching file for changes /Users/myusername/.conda/environments.txt
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/.conda with pattern environments.txt using VSCode API
2024-02-03 09:57:34.418 [debug] Found roots
2024-02-03 09:57:34.418 [debug] Start watching root /Users/myusername/Sites/django-project for globs ["python","/python","/bin/python"]
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern python using VSCode API
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern */python using VSCode API
2024-02-03 09:57:34.418 [debug] Start watching: /Users/myusername/Sites/django-project with pattern */bin/python using VSCode API
2024-02-03 09:57:34.418 [info] Default formatter is set to ms-python.black-formatter for workspace /Users/myusername/Sites/django-project
2024-02-03 09:57:34.418 [debug] Waiting for test server to start...
2024-02-03 09:57:34.420 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.421 [debug] Needed to validate /usr/bin/python3 with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate<EMAIL_ADDRESS>with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /opt/homebrew/bin/python3 with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /Users/myusername/.pyenv/versions/3.12.0/bin/python with latest info
2024-02-03 09:57:34.422 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.423 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.542 [debug] Needed to validate /Users/myusername/Sites/django-project/.venv/bin/python with latest info
2024-02-03 09:57:34.542 [info] Python interpreter path: ./.venv/bin/python
2024-02-03 09:57:34.542 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.543 [info] Test server listening.
2024-02-03 09:57:34.543 [debug] Test server started.
2024-02-03 09:57:34.543 [debug] Testing: Setting up watcher for /Users/myusername/Sites/django-project
2024-02-03 09:57:34.553 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.553 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.554 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.555 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.695 [info] Send text to terminal: echo /bin/zsh
2024-02-03 09:57:34.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.716 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.717 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:34.717 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:34.718 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.718 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.719 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:34.719 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-03 09:57:34.721 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.721 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.722 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/Sites/django-project/.venv/bin/python","id":"/Users/myusername/Sites/django-project/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/Sites/django-project/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/Users/myusername/Sites/django-project/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project","external":"file:///Users/myusername/Sites/django-project","path":"/Users/myusername/Sites/django-project","scheme":"file"},"name":"django-project","index":0}},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]"},"tools":["Venv"]},"id":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.723 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9"},"version":{"major":3,"minor":9,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.9.6 (default, Dec  7 2023, 05:42:47) \n[Clang 15.0.0 (clang-15<IP_ADDRESS>.5)]"},"tools":[]},"id":"/usr/bin/python3"}
2024-02-03 09:57:34.724 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/opt/homebrew/opt/python@3.11/libexec/bin/python","id":"/opt/homebrew/opt/python@3.11/libexec/bin/python","executable":{"uri":{"$mid":1,"path":"/opt/homebrew/opt/python@3.11/libexec/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11"},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0<EMAIL_ADDRESS>2024-02-03 09:57:34.725 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/opt/homebrew/bin/python3","id":"/opt/homebrew/bin/python3","executable":{"uri":{"$mid":1,"path":"/opt/homebrew/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11"},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]"},"tools":[]},"id":"/opt/homebrew/bin/python3"}
2024-02-03 09:57:34.726 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","id":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","executable":{"uri":{"$mid":1,"path":"/Users/myusername/.pyenv/versions/3.12.0/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/.pyenv/versions/3.12.0"},"version":{"major":3,"minor":12,"micro":0,"release":{"level":"final","serial":0},"sysVersion":"3.12.0 (main, Oct  5 2023, 23:21:56) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]"},"tools":["Pyenv"]},"id":"/Users/myusername/.pyenv/versions/3.12.0/bin/python"}
2024-02-03 09:57:34.727 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.728 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.729 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.738 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.739 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-03 09:57:34.742 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/Users/myusername/Sites/django-project/.venv/bin/python","id":"/Users/myusername/Sites/django-project/.venv/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/myusername/Sites/django-project/.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/Users/myusername/Sites/django-project/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"/Users/myusername/Sites/django-project","external":"file:///Users/myusername/Sites/django-project","path":"/Users/myusername/Sites/django-project","scheme":"file"},"name":"django-project","index":0}},"version":{"major":3,"minor":11,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.11.6 (main, Oct  2 2023, 13:45:54) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]"},"tools":["Venv"]},"id":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.777 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:34.784 [debug] Extension ms-python.black-formatter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.785 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.785 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.786 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.786 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.787 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.787 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.788 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.788 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.789 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.789 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.790 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.790 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.824 [debug] Searching for conda.
2024-02-03 09:57:34.836 [debug] Probing conda binary: conda
2024-02-03 09:57:34.841 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:34.843 [debug] Dump environment variables {
"BUN_INSTALL": "/Users/myusername/.bun",
"COMMAND_MODE": "unix2003",
"HOME": "/Users/myusername",
"HOMEBREW_CELLAR": "/opt/homebrew/Cellar",
"HOMEBREW_PREFIX": "/opt/homebrew",
"HOMEBREW_REPOSITORY": "/opt/homebrew",
"INFOPATH": "/opt/homebrew/share/info:",
"LESS": "-R",
"LOGNAME": "myusername",
"LSCOLORS": "Gxfxcxdxbxegedabagacad",
"LS_COLORS": "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43",
"MANPATH": "/Users/myusername/.nvm/versions/node/v18.17.1/share/man:/opt/homebrew/share/man::",
"MallocNanoZone": "0",
"NVM_BIN": "/Users/myusername/.nvm/versions/node/v18.17.1/bin",
"NVM_CD_FLAGS": "-q",
"NVM_DIR": "/Users/myusername/.nvm",
"NVM_INC": "/Users/myusername/.nvm/versions/node/v18.17.1/include/node",
"OLDPWD": "/",
"ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
"P9K_SSH": "0",
"PAGER": "less",
"PWD": "/",
"PYENV_ROOT": "/Users/myusername/.pyenv",
"PYENV_SHELL": "zsh",
"SHELL": "/bin/zsh",
"SHLVL": "0",
"SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.cB7InqFknf/Listeners",
"TMPDIR": "/var/folders/9x/lyg69c8j2952hgf95fj2tz1h0000gn/T/",
"USER": "myusername",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"VSCODE_CODE_CACHE_PATH": "/Users/myusername/Library/Application Support/Code/CachedData/05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
"VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
"VSCODE_CWD": "/",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "/Users/myusername/Library/Application Support/Code/1.86-main.sock",
"VSCODE_NLS_CONFIG": "{"locale":"en-gb","osLocale":"en-gb","availableLanguages":{},"languagePackSupport":true}",
"VSCODE_PID": "61801",
"XPC_FLAGS": "0x0",
"XPC_SERVICE_NAME": "application.com.microsoft.VSCode.85822493.85822499",
"ZSH": "/Users/myusername/.oh-my-zsh",
"": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron",
"__CFBundleIdentifier": "com.microsoft.VSCode",
"__CF_USER_TEXT_ENCODING": "0x1F5:0:2",
"ELECTRON_RUN_AS_NODE": "1",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
"PATH": "/Users/myusername/.pyenv/shims:/Users/myusername/.nvm/versions/node/v18.17.1/bin:/Users/myusername/.bun/bin:/Users/myusername/.local/bin:/opt/homebrew/opt/python@3.11/libexec/bin:/Users/myusername/bin:/usr/local/bin:/Users/myusername/.nvm/versions/node/v18.17.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public:/Users/myusername/.cargo/bin"
}
2024-02-03 09:57:34.845 [info] > conda info --json
2024-02-03 09:57:34.845 [debug] Worker id 1 for file plainExec.worker.js with data {"file":"conda","args":["info","--json"],"options":{"timeout":45000,"useWorker":true}}
2024-02-03 09:57:34.903 [debug] Activation Commands received source /Users/myusername/Sites/django-project/.venv/bin/activate for shell bash, resource /Users/myusername/Sites/django-project and interpreter /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:34.903 [debug] Activating Environment to capture Environment variables, . /Users/myusername/Sites/django-project/.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/myusername/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-03 09:57:34.903 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.0.0/pythonFiles/printEnvVariables.py
2024-02-03 09:57:34.903 [info] shell: bash
2024-02-03 09:57:34.904 [debug] Failed to spawn conda binary conda Error: spawn conda ENOENT
at Process.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-02-03 09:57:34.971 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-03 09:57:34.972 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-03 09:57:35.602 [debug] Couldn't locate the conda binary.
2024-02-03 09:57:36.111 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:36.548 [info] Starting Pylance language server.
2024-02-03 09:57:36.551 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:36.561 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:36.562 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-03 09:57:37.065 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:37.066 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/Users/myusername/Sites/django-project/.venv/bin/python","path":"/Users/myusername/Sites/django-project/.venv/bin/python"}
2024-02-03 09:57:37.067 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-03 09:57:37.310 [debug] Clearing context for python dependencies not installed: /Users/myusername/Sites/django-project/templates/components/icons/admin/facebook.svg
2024-02-03 09:57:37.695 [info] Shell integration is not working for zsh
2024-02-03 09:57:37.696 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-02-03 09:57:37.696 [debug] Activating environments in terminal is disabled for /Users/myusername/Sites/django-project
2024-02-03 09:57:37.696 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:40.382 [debug] Terminal shell path '/bin/zsh' identified as shell 'zsh'
2024-02-03 09:57:40.383 [debug] Shell identified as zsh
2024-02-03 09:57:40.384 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:52.695 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-03 09:57:52.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:57:52.695 [debug] Found cached env for /Users/myusername/Sites/django-project/.venv/bin/python
2024-02-03 09:58:19.909 [debug] Worker id 1 exited with code 0

You are likely running into this issue: https://github.com/microsoft/vscode/issues/199611, more details on https://github.com/microsoft/vscode-python/issues/22774#issuecomment-1926219370, please stay tuned for the pre-release in a day or two which should make that warning go away.

You are likely running into this issue: microsoft/vscode#199611, more details on #22774 (comment), please stay tuned for the pre-release in a day or two which should make that warning go away.

I'm using the pre-release and I am still having this issue. I'm using zsh.

Can you please create a new issue using Python: Report Issue command ? We'll be happy to have a look, make sure to provide the logs.

Can you please create a new issue using Python: Report Issue command ? We'll be happy to have a look, make sure to provide the logs.

https://github.com/microsoft/vscode-python/issues/22881 with all the logs and the screenshot.


Problem with multiprocessing plugin on Windows

0.6.11rc1
Python: 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:37:30) [MSC v.1927 32 bit (Intel)]
Executable: C:\Users\andre\AppData\Local\Programs\Python\Python38-32\python.exe
OS: Windows
Arch: x86

Input:
 -m nuitka --mingw64 --windows-uac-admin --assume-yes-for-downloads --windows-icon-from-ico=E:\TEST\TEST\test.ico --output-dir=E:\TEST\TEST\Current_build --standalone --plugin-enable=multiprocessing  --plugin-enable=numpy --recurse-all  "E:\TEST\TEST\test.py"
Output:
Problem with statement at internal:1:
->
Problem with statement at internal:1:
->
Problem with statement at internal:1:
->
Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:466:
->              return self._get_good_object_(

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:465:
->      def _ApplyTypes_(self, dispid, wFlags, retType, argTypes, user, resultCLSID, *args):

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:465:
->      def _ApplyTypes_(self, dispid, wFlags, retType, argTypes, user, resultCLSID, *args):

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:428:
-> class DispatchBaseClass:

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:428:
-> class DispatchBaseClass:

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:428:
-> class DispatchBaseClass:

Problem with statement at C:\Users\andre\AppData\Local\Programs\Python\Python38-32\lib\site-packages\win32com\client\__init__.py:428:
-> class DispatchBaseClass:

Nuitka:INFO: Interrupted while working on '<Node 'COMPILED_PYTHON_PACKAGE' with {'filename': 'C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python38-32\\lib\\site-packages\\win32com\\client\\__init__.py', 'module_name': <ModuleName win32com.client>, 'code_flags': ''}>'.

Nuitka-Plugins:INFO: multiprocessing: Injecting pre-module load code for module 'multiprocessing':
Nuitka-Plugins:INFO: multiprocessing:     Monkey patching "multiprocessing" load environment.
Nuitka-Plugins:INFO: multiprocessing: Injecting post-module load code for module 'multiprocessing':
Nuitka-Plugins:INFO: multiprocessing:     Monkey patching "multiprocessing" for compiled methods.
Nuitka-Plugins:WARNING: Use '--plugin-enable=pylint-warnings' for: Understand PyLint/PyDev annotations for warnings.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating C source code for backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C level backend compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: C:\Users\andre\AppData\Local\Nuitka\Nuitka\gcc\x86_64\10.2.0-11.0.0-9.0.0-r3\mingw64\bin\gcc.exe (gcc.exe).
Nuitka-Scons:INFO: Slow C compilation detected, used 60s so far, this might indicate scalability problems.
Nuitka-Scons:INFO: Running 'C:\\Users\\andre\\AppData\\Local\\Nuitka\\Nuitka\\ccache\\v3.7.12\\ccache.exe gcc.exe -o "module.numpy.ma.core.o" -c -std=c11 -fwrapv -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -O3 -pipe -D_WIN32_WINNT=0x0501 -D_NUITKA_STANDALONE -D__NUITKA_NO_ASSERT__ -DMS_WIN64 -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=165 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python38\\include -I. -IC:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python38\\lib\\SITE-P~1\\nuitka\\build\\include -IC:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python38\\lib\\SITE-P~1\\nuitka\\build\\static_src "module.numpy.ma.core.c"' took 75.42 seconds
Nuitka-Scons:INFO: Compiled 264 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 264
Nuitka:INFO: Sucessfully created 'E:\\test\\Build\\Current_build\\test.dist\\test.exe'.

0.6.10 stable, doesn't work either.

Factory is not supported, do not use it for bug reports, unless requested so.

Closing, as "doesn't work either" without example code doesn't cut it, although I can believe there is a real issue behind this, I need to know more.

Main.py
from Test import *
if __name__=="__main__":
    import multiprocessing
    p_out, p_in = multiprocessing.Pipe()
    p1 = multiprocessing.Process(target=test1, args=(p_in,))
    p2 = multiprocessing.Process(target=test2, args=(p_out,))
    p3 = multiprocessing.Process(target=menu)
    p2.start()
    p1.start()
    p3.start()
    def test1bind():
        print("F pressed")
        global p1
        global p2
        if p1.is_alive():
            p1.terminate()
            p2.terminate()
        else:
            p1 = multiprocessing.Process(target=test1, args=(p_in,))
            p2 = multiprocessing.Process(target=test2, args=(p_out,))
            p1.start()
            p2.start()

    def test2bind():
        print("G pressed")
        global p1
        global p2
        p1.terminate()
        p2.terminate()
        p1 = multiprocessing.Process(target=test1, args=(p_in,))
        p2 = multiprocessing.Process(target=test2, args=(p_out,))
        p1.start()
        p2.start()

    import keyboard
    keyboard.add_hotkey("F", test1bind)
    keyboard.add_hotkey("G", test2bind)

Test.py
from time import sleep

def test1(p_in):
    from time import sleep
    test = 0
    while True:
        sleep(0.1)
        test = test + 1
        p_in.send(test)

def test2(p_out):
    from time import sleep
    while True:
        img = p_out.recv()
        print(img)

def menu():
    sleep(99999)

This line always changes, depending on the use of different libraries:
Nuitka:INFO: Interrupted while working on '<Node 'COMPILED_PYTHON_PACKAGE' with {'filename': 'C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\keyboard\\__init__.py', 'module_name': <ModuleName keyboard>, 'code_flags': ''}>'.

Didn't reproduce it on Linux just now, and as it's a compile time problem, I don't think it matters. At run time I had this:
Main.dist/keyboard/_nixkeyboard.py:110: UserWarning: Failed to create a device file using `uinput` module. Sending of events may be limited or unavailable depending on plugged-in devices.
Traceback (most recent call last):
  File "/home/hayen/repos/Py2C/Main.dist/Main.py", line 36, in <module>
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/__init__.py", line 639, in add_hotkey
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/_generic.py", line 35, in start_if_necessary
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/__init__.py", line 196, in init
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/_nixkeyboard.py", line 113, in init
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/_nixkeyboard.py", line 110, in build_device
  File "/home/hayen/repos/Py2C/Main.dist/keyboard/_nixcommon.py", line 168, in aggregate_devices

Interestingly, on Windows, I did reproduce it. That's unusual, but apparently factual.

Seems the multiprocessing plugin is causing it, which limits the issue to Windows. Probably as old as 0.6.9 and has to do with the demise of the __internal__ module contents now living in __main__.

So, the multiprocessing module injects the slave module used for multiprocessing during the operation of __main__ itself, where things may not yet be all that good. It's using the onModuleEncounter which is probably a bad idea. I guess it ought to do that only after it's finished with the __main__ module and not in the middle of it.

I added a better interface to the plugin to add itself after the initial root module set is established, to contribute itself, eliminating a race there. The code is on factory and seems to work better.
Not sure really how this got triggered. I think, Nuitka is not normally switching modules in optimization, but with this code it did, and that might have been all there is to it.
This is of course going into a first hotfix once I do it.

thanks, it's working)

We keep issues open for as long as the stable version is affected.

This was in <IP_ADDRESS> hotfix already.

This was in <IP_ADDRESS> hotfix already.


Automated bdd  docker image

Description
Add docker image and build_deploy script
Type of change
N/A
Testing steps
N/A
Checklist

[ ] Pylint passes for Python sources
[ ] sources has been pre-processed by Black
[ ] updated documentation wherever necessary

Isn't build_deploy.sh tight to services onboarded into Clowder?

I don't think so. We had our services in app-interface for a long time without being onboarded nor using clowder. But I do think it is necessary if I want this to build the image and push it to our quay.

Sorry, I have not used the right wording. I believe that build_deploy.sh is a script used by services in app-interface. I think this repo is not one of them.


Removing open collective dependency

As open-collective is a unnecessary dependency. I should be removed from node-cron.

Pull Request Test Coverage Report for Build 222

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.655%

Totals

Change from base Build 220:
0.0%

Covered Lines:
222

Relevant Lines:
222

💛  - Coveralls