RyanofTinellb / Smeagol

A suite of programs for creating and maintaining a constructed language website.
http://www.tinellb.com
0 stars 0 forks source link

Bug when exiting SiteEditor #26

Closed RyanofTinellb closed 5 years ago

RyanofTinellb commented 5 years ago
 File "C:\Program Files\Python27\lib\lib-tk\Tkinter.py", line 1536, in __call__
    return self.func(*args)
  File "C:\Users\Ryan\Documents\TinellbianLanguages\ConlangWebsiteCreation\cwsmeagol\editor\site_editor.py", line 459, in quit
    if self.save_wholepage():
  File "C:\Users\Ryan\Documents\TinellbianLanguages\ConlangWebsiteCreation\cwsmeagol\editor\site_editor.py", line 331, in save_wholepage
    k = '\n'.join(map(self._save_wholepage, g))
  File "C:\Users\Ryan\Documents\TinellbianLanguages\ConlangWebsiteCreation\cwsmeagol\editor\site_editor.py", line 352, in _save_wholepage
    self.errorstring += 'Error in ' + page.folder + '/' + page.name + '\n'
AttributeError: 'dict' object has no attribute 'folder'
RyanofTinellb commented 5 years ago

Seems to be because of whatever page is.

RyanofTinellb commented 5 years ago

So that's fixed, but now exiting doesn't even work because of errors in every page. image

RyanofTinellb commented 5 years ago

Now it works!