Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Am Getting This Error When Trying To Run A Job, Which Seems To Be Assigned To An Apple Silicon Worker:

I am getting this error when trying to run a job, which seems to be assigned to an Apple silicon worker:

Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
OSError: [Errno 9] Bad file descriptor
Current thread 0x00000001013c8580 (most recent call first):
  <no Python frame>

any ideas?

  
  
Posted 2 years ago
Votes Newest

Answers 13


And how is the agent running? and where?

  
  
Posted 2 years ago

@<1523701087100473344:profile|SuccessfulKoala55> well, afaik, the base Xcode python 3.9.6 is installed with the Xcode tools, in /usr/bin , and then anaconda installed as the user running the clearml-agent ,
conda init is in both the .bashrc and .bash_profile

  
  
Posted one year ago

the problem seems to come and go … really not sure if anything I am changing is resolving it,
e.g. restarting the daemon,
changing to bash shell as the default login for osx

  
  
Posted 2 years ago

@<1607184400250834944:profile|MortifiedChimpanzee9> this really seem to be something related to the OS, but I can't think of anything...

  
  
Posted one year ago

I suspect that this is something to do with system python vs conda python … but, very opaque

  
  
Posted 2 years ago

And the clearml-agent is installed in the “base” conda env

  
  
Posted one year ago

OSX

  
  
Posted 2 years ago

@<1523701087100473344:profile|SuccessfulKoala55> any insight on this? still blocked

  
  
Posted 2 years ago

@<1523701087100473344:profile|SuccessfulKoala55> any insight on this? still blocked

  
  
Posted 2 years ago

the agent is running on the separate worker machine running OSX,
being launched by
clearml-agent daemon --detached

  
  
Posted 2 years ago

Hi @<1607184400250834944:profile|MortifiedChimpanzee9> , what's the OS there? Also, what python versions do you have installed and how are you running the job?

  
  
Posted 2 years ago

I am running the job by:

  • making a git commit
  • running my jupyter notebook locally to create the “base” task
  • cloning that and changing ‘configuration’
  • enqueueing
  
  
Posted 2 years ago

conda has 3.11.6 installed in the base env,
and the base shell appears to not have python installed at all

  
  
Posted 2 years ago
1K Views
13 Answers
2 years ago
one year ago
Tags