I am getting an error while writing my first app as shown in developer get-started tutorial
- by TrickyJ
I am trying to learn to develop apps in ubuntu and currently i am going through this tutorial.
As shown in the video I am writing the below given codes:
self.refreshbutton = self.builder.get_object("refreshbutton")
def on_refreshbutton_clicked(self, widget):
print "Refresh"
As soon as I try to run my application it is giving me an error :
I type this command to run my application : quickly run
(trickybrowser:4418): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1971:11: Not using units is deprecated. Assuming 'px'.
(trickybrowser:4418): Gtk-WARNING **: Failed to parse /usr/share/themes/mac-os-lion-theme-v2/gtk-3.0/settings.ini: Key file contains line '/* ' which is not a key-value pair, group, or comment
Traceback (most recent call last):
File "bin/trickybrowser", line 32, in <module>
import trickybrowser
File "/home/tricky/trickybrowser/trickybrowser/__init__.py", line 14, in <module>
from trickybrowser import TrickybrowserWindow
File "/home/tricky/trickybrowser/trickybrowser/TrickybrowserWindow.py", line 32
print "Refresh"
^
IndentationError: expected an indented block