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 2 years, 6 months ago by Paul Ruth.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)