Open yamsu opened 2 days ago
Thank you for this. Running on Mac I would never have seen it. Do you know if this solution works outside of Linux? I'd like to code a general solution, rather than a Linux-specific one. (But branching code, based on platform is a possibility. Yeuch!)
One tip: I always use the -v
for "verbose" on the command line. It doesn't affect this bug, though.
Candidate fix - using username = os.getenv('USER') or os.getenv('LOGNAME') or os.getenv('USERNAME')
- coded. Have one other (minor) issue to fix before shipping v0.6.9. Other issue is Issue 27 - for which there is a candidate fix.
Shipped in v0.6.9.
Keeping issue open for a few days.
Great! Will leave open for a few days in case any Windows user has a problem.
I use md2pptx, hence, this felt like the right templating tool, if that an appropriate classification, to use. Great work!
Unfortunately, running mdpre on a Ubuntu terminal resulted in the following error:
Error
The solution was to use os.getenv('LOGNAME'), as os.getlogin() seems to have documented issue: https://github.com/dblossom-marist/PerfMon/issues/20