Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Plugin Development HowTo

    Scheduled Pinned Locked Moved Enhancements
    6 Posts 2 Posters 2.5k Views 2 Watching
    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.
    • W Offline
      wakatime
      last edited by

      I'm building a new plugin for eric6/pymakr. The plugin activates but I can't find a way to see output from print or logging statements. Any tips?

      1 Reply Last reply Reply Quote 1
      • R Offline
        Roberto
        last edited by

        Hello @wakatime

        First thing you need to do is switch to expert mode.

        • In Pymark go to Settings > Enable expert mode
        • Then go to pymakr.ini (location can vary depending on the OS), go to the UI section and add AdvancedBottomSidebar=true

        After this, restart you PyMakr and you should ba able to see a new tab called Log-Viewer. Here you should be able to see your plugin output

        W 1 Reply Last reply Reply Quote 2
        • W Offline
          wakatime @Roberto
          last edited by

          @Roberto awesome, thank you!

          1 Reply Last reply Reply Quote 0
          • W Offline
            wakatime
            last edited by

            It looks like pymakr.ini should be at ~/.pymakr/pymakr.ini but it's not there. Also, I see the Log-Viewer window in Window -> Windows -> Log-Viewer but getting this error when trying to show that window:

            QStackedWidget::setCurrentWidget: widget 0x7f8698685a00 not contained in stack

            1 Reply Last reply Reply Quote 1
            • W Offline
              wakatime
              last edited by

              Nevermind, found it at ~/.config/Pycom/pymakr.ini and the Log-Viewer window shows the plugin print statements.

              1 Reply Last reply Reply Quote 1
              • W Offline
                wakatime
                last edited by

                Finished the plugin in case anyone is interested in trying it:

                https://github.com/wakatime/eric6-wakatime/

                1 Reply Last reply Reply Quote 2

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom