Hi, I have recently built a plugin dissector successfully in Linux. Now, I'm trying to compile and build the same plugin in Win environment. I have managed to setup my code environment and msbuild was executed successfully (without my plugin) However, once I add my dissector to my project and try to build again, I get the following error: Build FAILED.
I’ve gone through the procedure in README.plugins step by step. I’m using the ‘custom extension’ option. What am I missing here? thanks asked 03 Mar ‘17, 06:18 gerolima |
2 Answers:
Hi, I had a look again as grahamb suggested. The problem was the following part
The double quotes inside the double quotes for the string created the problem. (ie. "FAN Speed") many thanks for the support. answered 05 Mar '17, 23:32 gerolima |
I was able to overcome this issue, by adding in the make-dissector-reg.py, in the open(file) function an extra argument for the encoding so that the script doesn't use the system's default encoding. Please consider this as a dirty solution answered 04 Mar '17, 00:38 gerolima |
in fact this is what I get:
Is this a python problem? (i’m using python 3)
This sounds like you have an odd character in your source file that causes the code page issues. As Python3 has rearranged the deckchairs with regard to Unicode as default for strings this is unlikely to be an issue for Python2.
What is the character you have in your source file (looks to be 0x9c at position 43319)?