Skip to content

How to get started with Python plugins? #2382

@faerot

Description

@faerot

I am trying to write a Python plugin, but I have faced a number of problems right off the bat:

  1. Not just zero documentatation, but also zero comments in the python sources. Is there any info that can be read to at least get things started? I've browsed the included plugin samples to get at least some kind of idea, but I have faced second problem:
  2. How to debug? The plugin is absolutely silent about errors or crashes. I have seen logging.ini has logger setup which should write logs to /tmp/far2l-py but there is nothing there. I have tried to copy it to ~/.config/far2l/plugins/python/ just like I did with plugins but it didn't change anything.

It is a shame, because Python is such and easy and powerful language that would allow to quickly re-implement most of the plugins for windows FAR, if only it had proper documentation and debug tools. Right now the barrier to entry for most of the new users looks impossible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions