Debugging Torch with Zerobrane

I am kind of new to Zerobrane studio and followed this guide to try to debug Torch code. However, I came across with the error

attempt to index a nil value (global 'utils')


printf = utils.printf

It turns out that the path was not setup correctly. In the config file (Edit | Preferences | Settings: User), instead of something like

path.torch = [[/home/user/torch/install/bin/]],
path.torch = '/home/user/torch/install/bin/th'

works for me.


Leave a Reply

Your email address will not be published. Required fields are marked *