Changes

Jump to navigation Jump to search
Line 88: Line 88:  
Assume you made a typing error, you accidentally deleted the closing quote mark " in activity.py line 70 when you were editing "Hello World!". The activity would not run, you might get an error like this:[[File:Failedtostart.jpg]]
 
Assume you made a typing error, you accidentally deleted the closing quote mark " in activity.py line 70 when you were editing "Hello World!". The activity would not run, you might get an error like this:[[File:Failedtostart.jpg]]
   −
Click on the Show log files button [[File:Show-logfiles.jpg]] , the left hand pane will show the list of logfiles. Because our Activity is named testgtk2, we are looking for the file org.sugarlabs.testgtk2. If you have started testgtk2 multiple times then there are multiple logfiles. Click on org.sugarlabs.testgtk to read the logfile. The error message tells that it is line 70 of activity.py , In the string "Hello World!, it got confused at the opening quote. It got to the end of line EOL while scanning the string.
+
Click on the Show log files button [[File:Show-logfiles.jpg]] , the left hand pane will show the list of logfiles. Because our Activity is named testgtk2, we are looking for the file org.sugarlabs.testgtk2. If you have started testgtk2 multiple times then there are multiple logfiles. Click on org.sugarlabs.testgtk to read the logfile. The error message tells that it is line 70 of activity.py , in the string "Hello World!, it got confused at the opening quote. It got to the end of line (EOL) while scanning the string.
    
[[File:Develop-logfiles.jpg]]
 
[[File:Develop-logfiles.jpg]]
2,486

edits

Navigation menu