omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    scene.text() won't show strings

    Pythonista
    2
    3
    2107
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jugisto135
      jugisto135 last edited by

      I ran into a problem with scene.text() when trying to show some strings in a simple scene. Most of the times scene.text() will work as expected, but in some cases the text appears to be empty. In fact, the string seems fine, it will print to console without any problems. What might be the problem?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        Can we see some sample code? It is easier to debug Python code that English prose.

        If your sample is a long one, then you can go to http://gist.github.com and create an anonymous gist and paste in your code. You can then paste the URL to that gist here.

        1 Reply Last reply Reply Quote 0
        • jugisto135
          jugisto135 last edited by

          Yes, thanks. That would have been better. But right now I've truncated the dtring to a fixed length and the problem is gone.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors