Skip to content

Running source code in Linux #3

@karagiannis

Description

@karagiannis

Hi, I am interested in running from source code, but there are few instructions
Entered Chap1 folder and ran at the command prompt "python3 RunChap1.py" and got this
$ python3 RunChap1.py
Traceback (most recent call last):
File "RunChap1.py", line 65, in
runChap()
File "RunChap1.py", line 53, in runChap
frame = gui.ChapGUI(root) # populate the root window with widgets
File "/home/lasse/Documents/Kurs/Astronomins Grunder/Celstial Calculations/CELCALC-MITPress-src-v3-0/Python/Chap1/ChapGUI.py", line 84, in init
root.iconbitmap('BlueMarble.ico')
File "/usr/lib/python3.6/tkinter/init.py", line 1871, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "BlueMarble.ico" not defined

Why does the interpreter think that "BlueMarble.ico" is not defined? It is there in the same source folder for Chap1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions