DEV Community

naoyashiga
naoyashiga

Posted on

Flutter iOS build error: os.makedirs(destination, 0744) from rlm_lldb.py

Error message

This error happened when I use Firebase. I don't know why Realm code has problems...

error: module importing failed: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/[your_name]/Library/Application Support/Realm/rlm_lldb.py", line 37
    os.makedirs(destination, 0744)
                                ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
Enter fullscreen mode Exit fullscreen mode

Solution

This is the newest code compatible with Python 3.

https://github.com/realm/realm-cocoa/blob/master/plugin/rlm_lldb.py

Top comments (0)