Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to enable the plugin in gedit #9

Open
pradeepdsmk opened this issue Aug 28, 2016 · 2 comments
Open

Unable to enable the plugin in gedit #9

pradeepdsmk opened this issue Aug 28, 2016 · 2 comments
Assignees

Comments

@pradeepdsmk
Copy link

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.

@addiks
Copy link
Owner

addiks commented Aug 28, 2016

I could reproduce this in ubuntu 14.04, it does not happen in ubuntu 16.04 (the two systems i regularly test on). I will now try to find out why that happens and see if i can find a solution that works in both systems.

@addiks addiks self-assigned this Aug 28, 2016
@addiks addiks added the bug label Aug 28, 2016
@addiks
Copy link
Owner

addiks commented Aug 29, 2016

I have now pushed a fix for this problem. Can you please try the new version and report back if this is fixed for you? If not, please describe exactly what you are doing and provide detailed information about the distribution you are using and what version it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants