wandb / nb_helpers

A set of tools to work with notebooks
MIT License
9 stars 3 forks source link

Failed to run /Users/tcapelle/wandb/nb_helpers/tests/data/dummy_folder/fail_nb.ipynb #116

Closed tcapelle closed 2 years ago

tcapelle commented 2 years ago

The following notebooks failed to run: -/Users/tcapelle/wandb/nb_helpers/tests/data/dummy_folder/fail_nb.ipynb

TypeError in ../tests/data/dummy_folder/fail_nb.ipynb:\n===========================================================================\n\nWhile Executing Cell #3:\n\x1b[0;31m---------------------------------------------------------------------------\x1b[0m\n\x1b[0;31mTypeError\x1b[0m                                 Traceback (most recent call last)\nInput \x1b[0;32mIn [1]\x1b[0m, in \x1b[0;36m<cell line: 1>\x1b[0;34m()\x1b[0m\n\x1b[0;32m----> 1\x1b[0m \x1b[43mg\x1b[49m\x1b[43m(\x1b[49m\x1b[38;5;124;43m\'\x1b[39;49m\x1b[38;5;124;43mhola\x1b[39;49m\x1b[38;5;124;43m\'\x1b[39;49m\x1b[43m)\x1b[49m\n\nInput \x1b[0;32mIn [1]\x1b[0m, in \x1b[0;36mg\x1b[0;34m(x)\x1b[0m\n\x1b[1;32m      1\x1b[0m \x1b[38;5;28;01mdef\x1b[39;00m \x1b[38;5;21mg\x1b[39m(x):\n\x1b[0;32m----> 2\x1b[0m     \x1b[38;5;28;01mreturn\x1b[39;00m \x1b[43mf\x1b[49m\x1b[43m(\x1b[49m\x1b[43mx\x1b[49m\x1b[43m)\x1b[49m \x1b[38;5;241m*\x1b[39m \x1b[38;5;241m2\x1b[39m\n\nInput \x1b[0;32mIn [1]\x1b[0m, in \x1b[0;36mf\x1b[0;34m(x)\x1b[0m\n\x1b[1;32m      1\x1b[0m \x1b[38;5;28;01mdef\x1b[39;00m \x1b[38;5;21mf\x1b[39m(x:\x1b[38;5;28mint\x1b[39m):\n\x1b[0;32m----> 2\x1b[0m     \x1b[38;5;28;01mreturn\x1b[39;00m \x1b[43mx\x1b[49m\x1b[43m \x1b[49m\x1b[38;5;241;43m+\x1b[39;49m\x1b[43m \x1b[49m\x1b[38;5;241;43m1\x1b[39;49m\n\n\x1b[0;31mTypeError\x1b[0m: can only concatenate str (not "int") to str\n