- Code: Select all
reloading plugin myproject.myfile
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 96, in reload_plugin
obj = t()
TypeError: __init__() missing 1 required positional argument: 'view'
If I go to the file which contains my plugin_loaded() function and save it, the plugin is reloaded without errors. If someone knows a procedure which prevents this error I would be very pleased to hear it.