1. 16 Jun, 2017 3 commits
  2. 15 Jun, 2017 4 commits
  3. 14 Jun, 2017 5 commits
    • Iliya Manolov's avatar
      Shortened the warnings on importing new modules in Jupyter to just one · 4bfcce31
      Iliya Manolov authored
      @Tyagov @kirr 
      
      When someone imported a module in Jupyter they would get a warning for every module they imported like:
      
          WARNING: Your imported from the module numpy without...
          WARNING: Your imported from the module datetime without...
          ...
      
      This fix shortens those to just one warning at the end of output like so:
      
          WARNING: You imported from the modules numpy, datetime, ... without ...
      
      
      
      /reviewed-on nexedi/erp5!278
      4bfcce31
    • Romain Courteaud's avatar
    • Vincent Bechu's avatar
    • Jérome Perrin's avatar
      test: Do not check presence of lockfile in /tmp/ to assume Xvfb is running for this display · fbdb4ec9
      Jérome Perrin authored
      This caused two problems:
       - If Xfvb was killed and left a stale lock file, we don't reuse this
         display. After some time we end up having "All display locked"
         exception but no Xvfb process running.
       - Xvfb's slapos is patched to store control sockets and lockfiles in
         $TMPDIR ( slapos@58462c24 ).
         We don't have $TMPDIR set in testnodes, but this would be a problem
         if we ever set it.
      
      Because Xvfb can detect a stale lock file upon startup and start anyway,
      the easy way running Xvfb for each display and see if it's still running
      after a few seconds.
      fbdb4ec9
    • Iliya Manolov's avatar
      Float64 Numpy array test · 5fb7eb21
      Iliya Manolov authored
      @Tyagov 
       
      Added a test to check int64 and float64 Numpy arrays because an error like this existed before:
      
      ```
      in Base_executeJupyter
           return json.dumps(result)
         Module json, line 244, in dumps
           return _default_encoder.encode(obj)
         Module json.encoder, line 207, in encode
           chunks = self.iterencode(o, _one_shot=True)
         Module json.encoder, line 270, in iterencode
           return _iterencode(o, 0)
         Module json.encoder, line 184, in default
           raise TypeError(repr(o) + " is not JSON serializable")
      TypeError: array([[ -245554.,    19410.,  1453313.],
              [ -238947.,    18888.,  1443651.],
              [ -238416.,    18350.,  1444382.],
              ...,
              [ -250816.,    19482.,  1445528.],
              [ -251464.,    18678.,  1444711.],
              [ -253475.,    18786.,  1444842.]]) is not JSON serializable
      ```
      
      /reviewed-on nexedi/erp5!285
      5fb7eb21
  4. 13 Jun, 2017 4 commits
  5. 12 Jun, 2017 5 commits
  6. 09 Jun, 2017 14 commits
  7. 08 Jun, 2017 1 commit
  8. 07 Jun, 2017 4 commits