Menu

Python console is not available

Help
2024-05-22
2024-05-23
  • Yoichi Miyahara

    Yoichi Miyahara - 2024-05-22

    Hello all,

    I complied GXSM3 which is obtained from Github on Ubuntu 22.04.4 LTS.
    The GXSM3 works as usual except that I cannot find Python Console from Windows list. I tried the source from SVN but it did not resolve the issue.

    There may be missing libraries. Can you let me know what is missing?

    Yoichi

     
  • Percy Zahl

    Percy Zahl - 2024-05-23

    This sounds like the related plugin is missing -- possible was not installed as of a compile issue, may be missing lib, etc? Have a look if you can find the libpyremote.so plugin build and the lib installed, depending on your install mode in usr/local or usr:

    /usr/[local]/lib/gxsm3-plugins/common/libpyremote.so

     
  • Thorsten Wagner

    Thorsten Wagner - 2024-05-23

    Hi Yoichi.

    Please check if you have installed all dependencies (includind build-debendencies) listed in the file https://github.com/pyzahl/Gxsm3/blob/master/debian/control_ubuntu22.04

    If you have to install additional libraries, do not forget to "reconfigure" your makefile. In GXSM3

    ./autogen.sh

    should do the job.

    Thorsten :-)

     
  • Yoichi Miyahara

    Yoichi Miyahara - 2024-05-23

    Hi Percy and Thorsten,

    Thanks for the quick response.

    I confirmed that libpyremote.so exists in /usr/local/lib/gxsm3-plugins/common.
    I also installed all the required libraries by installing gxsm3 from Thorsten's PPA repository.
    In fact, the gxsm3 from the repository has Python console. I recompiled the source from Git by

    make clean
    ./autogen.sh
    make
    make install

    as usual. The compilied version still does not show Python Console. Please let me know what else I should check.

    Thanks,
    Yoichi

     
  • Percy Zahl

    Percy Zahl - 2024-05-23

    Try starting gxsm3 with debug option -P 10 (may use -D 10 -P10 for even more details) as shown below and see if you see messages from "pyremote" listed -- see a potential missing lib error at load time:

    ~~~
    percy@ltncafm:~$ gxsm3 -h no -s -P 10
    GXSM3 comandline option parsing results:
    => xsmres.HardwareTypeCmd = no
    => xsmres.DSPDevCmd .... = (null)
    => xsmres.UnitCmd ....... = (null)
    => xsmres.force_config .. = 0
    => force gxsm defaults .. = 0
    => debug_level .......... = 0
    => pi_debug_level ....... = 10
    => logging_level ........ = 2
    USING COMPILED IN RESCOURCES -- gxsm3-menu.ui.
    ** (ProbeIndicator.C: ProbeIndicator_init) Gxsm-PlugIn-DEBUG-MESSAGE :
    - ProbeIndicator Plugin Init
    ** Message: 11:03:32.694: pyremote Plugin Init
    ** Message: 11:03:32.694: pyremote: PYTHONPATH is not set.
    ** Message: 11:03:32.694: pyremote: Setting to '.'
    ** Message: 11:03:32.694: pyremote Plugin :: console_run()
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: AppWindoInit() -- building Console AppWindow.
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: setup file menu
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: header button
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: setup titlbar
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: AppWindoInit() -- building Console AppWindow -- calling GUI builder.
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: create_gui() -- building GUI elements.
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: create_gui() -- building GUI elements..
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: create_gui() -- building GUI elements...
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: create_gui() -- building GUI elements....
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: console_create_gui() -- building GUI elements.... hooking up
    ** (pyremote.C: create_gui) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - pyremote Plugin :: console_create_gui() -- building GUI elements.... completed.
    ** (pyremote.C: AppWindowInit) Gxsm-PlugIn-DEBUG-MESSAGE :
    - pyremote Plugin :: AppWindoInit() -- Console AppWindow ready.
    ** Message: 11:03:32.741: Pyremote console opening >remote.py<
    ** Message: 11:03:32.828: pyremote Plugin :: console_run() -- startup finished and ready. Standing by.
    ** (PanView.C: PanView_init) Gxsm-PlugIn-DEBUG-MESSAGE
    :
    - PanView Plugin Init
    ...
    ~~~

     

Log in to post a comment.