Windows versus Apple
-
On 09/10/2013 at 01:51, xxxxxxxx wrote:
When developing plugins I know the main difference is file naming and the use of 'escape' characters.
Are there any other issue I should be aware of?I get a strange error when using the plugin on a Mac, no issue on Windows.
E.g. TypeError: Sized() takes exactly 3 arguments (1 given)
But the code seems alright and no error in Windows:
def Sized(self, w, h) : # Windows was resized.
# Set flag to disable rendering during resizing
self.redraw = TrueE.g. AttributeError: 'Area' object has no attribute 'redraw'
But the code seems alright and no error in Windows:
if (not self.redraw) : #resize message, do not renderOne thing I notice when looking at Niklas code is an additional r when commenting.
r""", is that something Mac specific? -
On 09/10/2013 at 05:31, xxxxxxxx wrote:
The r means that the following string is a raw string, nothing os specific about that. I think he
is doing it because he is using these docstrings to feed sphinx and he wants to make sure that
they are processed correctly / he does not have to to double type every backlash.Cannot really say anything about the mac problem , but sounds odd :).
-
On 09/10/2013 at 06:15, xxxxxxxx wrote:
Ok, thanks for your thoughts.
The thing is, I do not a Mac myself, so testing / debugging is difficult.
I'll start with outputting more debug lines- information.