[Libreoffice-bugs] [Bug 106215] Debugging Python is hard and activating it needs editing essential files

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 6 10:51:23 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=106215

XTR <xtr at bk.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from XTR <xtr at bk.ru> ---
Confirm  for  LO 6.0.0.0beta x64  Windows 7 

There is missing folders
to get needed log.txt:
1. Create folder
C:\Users\%User%\AppData\Roaming\LibreOfficeDev\4\user\Scripts\python  or 
   %LibreofficeUSERDIR%/Scripts/python
  log.txt is created here
2. in file pythonscript.py  set
LogLevel.use = LogLevel.DEBUG
LOG_STDOUT = False

to fix:
in pythonscript.py:
1. check folder existence in   def getLogTarget():
2. LOG_STDOUT = os.environ.get(PYSCRIPT_LOG_STDOUT_ENV, "1") != "0"
   fix this to work well in windows environment

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171206/afe606f4/attachment.html>


More information about the Libreoffice-bugs mailing list