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

Can't run app from experimental branch #10

Closed
samundra opened this issue May 19, 2016 · 2 comments
Closed

Can't run app from experimental branch #10

samundra opened this issue May 19, 2016 · 2 comments
Labels

Comments

@samundra
Copy link
Member

I checked out experimental branch and tried running it. I ended up with following errors.

developer@PC-256:~/personal/anubad (experimental)ॐ $ make
cd src; make
make[1]: Entering directory `/home/developer/personal/anubad/src'
./main.py
glossary: ~/.cache/anubad/gloss/foss/en2np/ 3675
glossary: ~/.cache/anubad/gloss/foss/np2en/ 81
Traceback (most recent call last):
  File "./main.py", line 69, in on_startup
    self.root = ui.home.main(core, rc, app=self)
  File "/home/developer/personal/anubad/src/ui/home.py", line 636, in main
    return Home(core, rc, app)
  File "/home/developer/personal/anubad/src/ui/home.py", line 129, in __init__
    self.makeWidgets()
  File "/home/developer/personal/anubad/src/ui/home.py", line 166, in makeWidgets
    hpaned.add2(self.makeWidgets_viewer())
  File "/home/developer/personal/anubad/src/ui/home.py", line 341, in makeWidgets_viewer
    self.viewer = ui.view.Display(self, PWD)
  File "/home/developer/personal/anubad/src/ui/view.py", line 30, in __init__
    self.makeWidgets()
  File "/home/developer/personal/anubad/src/ui/view.py", line 60, in makeWidgets
    self.textview.set_top_margin(-15) # hack for next search separation '\n'
AttributeError: 'TextView' object has no attribute 'set_top_margin'
Traceback (most recent call last):
  File "./main.py", line 116, in on_activate
    self.root.show_all()
AttributeError: 'App' object has no attribute 'root'

Basically, AttributeError: 'TextView' object has no attribute 'set_top_margin' seems to be the problem. Maybe I am using the older Gtk.

@samundra samundra added the bug label May 19, 2016
@krazedkrish
Copy link
Member

Seems so!
It's working in mine
FYI, I have gtk3 3.20.4-2
and pygtk 2.24.0-6

@samundra
Copy link
Member Author

I don't know what could be other problem. The last time I remember @rhoit mentioned something about the py3 and gtk version compatibility.

I don't have problem running the application from master branch. When I run application from master branch the icon are missing which I believe is due to older gtk version.

rhoit added a commit that referenced this issue May 26, 2016
rhoit added a commit that referenced this issue May 26, 2016
@rhoit rhoit closed this as completed May 26, 2016
rhoit added a commit that referenced this issue Jun 16, 2016
rhoit added a commit that referenced this issue Jun 20, 2016
its cause problem with the old gtk version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants