Menu

#74 Can't create the log file in windows distribution

closed
nobody
None
2015-06-19
2015-06-09
No

If Timeline is installed in the 'Program files' directory the user has normally only read access to that directory which means that any logging when an exception occurs can't be written to the log file.

Discussion

  • roger lindberg

    roger lindberg - 2015-06-09

    Suggested solution: Find out how if it's possible to define a log file directory in Py2exe. If so, try to define a writeable user directory for the logging.

     
  • roger lindberg

    roger lindberg - 2015-06-19

    The log file should now be created in a standard user temp directory.
    The boot_common_py file in the py2exe library was edited to use wx.StandardPaths.Get().GetTempDir() + "\timeline.log" as logfile.

     
  • roger lindberg

    roger lindberg - 2015-06-19
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB