Search found 4 matches
- Mon Dec 31, 2018 10:25 pm
- Forum: General Discussion and Questions
- Topic: "Function takes 0 positional arguments" - but it should take self
- Replies: 5
- Views: 4715
Re: "Function takes 0 positional arguments" - but it should take self
Thanks for the code review! I fixed the string issue last night, but forgot to mention it. I wasn't too concerned about the sensor_test() function, as it was meant to be temporary, but I've changed esp_transmit to convert input to string before it does anything else, so that everything is consistent...
- Mon Dec 31, 2018 11:27 am
- Forum: General Discussion and Questions
- Topic: "Function takes 0 positional arguments" - but it should take self
- Replies: 5
- Views: 4715
Re: "Function takes 0 positional arguments" - but it should take self
Thanks for your replies. I actually got the same errors when I tried again shortly after posting. As soon as I fixed the self.resistance problem everything was fine. I'm not sure why those issues didn't show up the first time. I'm also not sure why the positional argument error showed up. Once I fix...
- Mon Dec 31, 2018 7:54 am
- Forum: General Discussion and Questions
- Topic: "Function takes 0 positional arguments" - but it should take self
- Replies: 5
- Views: 4715
"Function takes 0 positional arguments" - but it should take self
Hi all, Really sorry about the lack of code tags. I have them turned on in my account settings, but they're off for this post, and I can't see a button to change that. I saw a note in the forum documentation saying an administrator has to enable this. If there's a way for me to turn them on, let me ...
- Mon Dec 31, 2018 7:50 am
- Forum: General Discussion and Questions
- Topic: "Function takes 0 positional arguments" - but it should take self
- Replies: 1
- Views: 1520
"Function takes 0 positional arguments" - but it should take self
Hi all, Really sorry about the lack of code tags. I have them turned on in my account settings, but they're off for this post, and I can't see a button to change that. I saw a note in the forum documentation saying an administrator has to enable this. If there's a way for me to turn them on, let me ...