Trying to modify plugin but crashing

Suggestions and discussion of future versions
ult.nrg
Member
Member
Posts: 10
Joined: Thu Sep 01, 2016 6:41 am
OS or Distro: Windows

Trying to modify plugin but crashing

Postby ult.nrg » Thu Sep 01, 2016 6:48 am

I'm trying to modify the copycompleted plugin to handle some additional parameters, but any line of code I add (other than a comment) seems to break the plugin completely.

I've downloaded the source from github and run it using setup.py (in its unmodified form) and it builds to a 20KB .egg file, which works as expected.

However, when I add a line of code anywhere in core.py and build, the filesize compiles to 16KB, and it outright refuses to work. Even a bit of code that does nothing, i.e. test = "test".

If I add code to an existing line, it builds/works fine.

First time using python, so I'm pretty sure I'm missing something blatantly obvious :)

ult.nrg
Member
Member
Posts: 10
Joined: Thu Sep 01, 2016 6:41 am
OS or Distro: Windows

Re: Trying to modify plugin but crashing

Postby ult.nrg » Fri Sep 02, 2016 8:14 am

So simple....had a tab put in on my new lines, not spaces. Didn't know it was that sensitive :)


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests