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.


    Calculator widget NameError

    Pythonista
    3
    4
    1847
    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.
    • gguman
      gguman last edited by

      when i try to run the script from widgets it raise NameError: name'v' is not defined at line 115

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

        Works as expected for me. You might want to try the "Restore Examples..." option under the gear menu because when I do so, line 115 does contain a variable v.

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

          This is a bug in the example, sorry, It should work if you just replace v with widget_view.

          1 Reply Last reply Reply Quote 1
          • gguman
            gguman last edited by

            repaired. thx

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