Skip to content

Unable to enable the plugin in gedit #9

@pradeepdsmk

Description

@pradeepdsmk

When I try to enable the plugin from gedit -> Edit -> Preferences -> Plugins -> Addiks - DBGp client (XDebug), the plugin greys out with a red 'minus' icon. Then i tried running gedit from terminal and i got this error

File "/home/pradeepsmk/.local/share/gedit/plugins/addiks-dbgp/addiks-dbgp.py", line 17, in <module>
    from AddiksDBGP.AddiksDBGPApp import AddiksDBGPApp
  File "/home/pradeepsmk/.local/share/gedit/plugins/addiks-dbgp/AddiksDBGP/AddiksDBGPApp.py", line 26, in <module>
    from AddiksDBGP.ProfileManager import ProfileManager
  File "/home/pradeepsmk/.local/share/gedit/plugins/addiks-dbgp/AddiksDBGP/ProfileManager.py", line 21, in <module>
    from AddiksDBGP.DebugSession import DebugSession
  File "/home/pradeepsmk/.local/share/gedit/plugins/addiks-dbgp/AddiksDBGP/DebugSession.py", line 23, in <module>
    from AddiksDBGP.GladeHandler import GladeHandler
  File "/home/pradeepsmk/.local/share/gedit/plugins/addiks-dbgp/AddiksDBGP/GladeHandler.py", line 20, in <module>
    from AddiksDBGP import AddiksDBGPApp
ImportError: cannot import name 'AddiksDBGPApp'

I thought that the import statement is not able to find the file, and it appears to be circular reference. So I commented that line 20 in GladeHandler.py file on my machine and I am able to activate the plugin in gedit.

I am not a python developer so not sure about that import statement.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions