1. Pip fabrictestbed-extensions 1.2.4 – “Exception ignored in”

Pip fabrictestbed-extensions 1.2.4 – “Exception ignored in”

Home Forums FABRIC General Questions and Discussion Pip fabrictestbed-extensions 1.2.4 – “Exception ignored in”

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2655
    ADAM GRIFFITH
    Participant

      First, thank you for the fabrictestbed-extensions 1.2.4 Pip package. While setting up the Fabric environment on my local machine I am getting several ignored exceptions.

      from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager
      fablib = fablib_manager()
      
      -----------------------------------  -------------------------------------------------------------------------
      credmgr_host                         cm.fabric-testbed.net
      orchestrator_host                    orchestrator.fabric-testbed.net
      fabric_token                         /path/to/repo/fabric_config/token.json
      project_id                           XXXX
      bastion_username                     XXXX
      bastion_key_filename                 /path/to/repo/fabric_config/fabric-bastion-key
      bastion_public_addr                  bastion-1.fabric-testbed.net
      bastion_passphrase                   None
      slice_public_key_file                /path/to/repo/fabric_config/slice_key.pub
      slice_private_key_file               /path/to/repo/fabric_config/slice_key
      fabric_slice_private_key_passphrase  None
      fablib_log_file                      /tmp/fablib/fablib.log
      fablib_log_level                     INFO
      -----------------------------------  -------------------------------------------------------------------------
      Exception ignored in: 
      Traceback (most recent call last):
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/site-packages/fabric_cm/credmgr/swagger_client/api_client.py", line 78, in __del__
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/pool.py", line 645, in close
      AttributeError: 'NoneType' object has no attribute 'debug'
      Exception ignored in: 
      Traceback (most recent call last):
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/pool.py", line 268, in __del__
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/queues.py", line 372, in put
      AttributeError: 'NoneType' object has no attribute 'dumps'
      Exception ignored in: 
      Traceback (most recent call last):
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/site-packages/fabric_cf/orchestrator/swagger_client/api_client.py", line 78, in __del__
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/pool.py", line 645, in close
      AttributeError: 'NoneType' object has no attribute 'debug'
      Exception ignored in: 
      Traceback (most recent call last):
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/pool.py", line 268, in __del__
        File "/home/agriffith/.conda/envs/slate-fabrictestbed/lib/python3.9/multiprocessing/queues.py", line 372, in put
      AttributeError: 'NoneType' object has no attribute 'dumps'
      

      Just passing these along in case they are not known. Here are the versions of the Pip packages:

      $ pip list | grep fabric
      fabric-credmgr-client      1.2.1
      fabric-fim                 1.2.4
      fabric-orchestrator-client 1.2.3
      fabrictestbed              1.2.5
      fabrictestbed-extensions   1.2.4
      

      And the Python version:

      $ python --version
      Python 3.9.12
      
      #2656
      ADAM GRIFFITH
      Participant

        Oops, missing fablib.show_config() for the first line above.

        #2657
        Paul Ruth
        Keymaster

          There is some threading functionality available in fablib.  I think this error is just a missing dependency for the thread pool. I suspect we need to add a pip requirement.

          thanks,

          Paul

          • This reply was modified 1 year, 8 months ago by Paul Ruth.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.