Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: str() takes at most 1 argument (2 given) #14

Open
ghost opened this issue Mar 3, 2018 · 3 comments
Open

TypeError: str() takes at most 1 argument (2 given) #14

ghost opened this issue Mar 3, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 3, 2018

The planner looks clean and very useful. Unfortunately after managing to install all the python modules I encounter the error below. I've encountered the issue on both Windows 7 and Linux.

daily_planner.py
Traceback (most recent call last):
File "C:\JoshTemp20180301\daily-planner-master\daily_planner.py", line 29, in
f.write(bytes('\def\author{' + author + '}\n', 'UTF-8'))
TypeError: str() takes at most 1 argument (2 given)

@hantuzun
Copy link
Owner

hantuzun commented Mar 9, 2018

Hi,

What's your python version? It's been a long while and I guess I was using Python 3.5 back then. I hope it's not broken with a new Python version.

Either case it'll be a trivial fix.

@hantuzun
Copy link
Owner

hantuzun commented Mar 9, 2018

Another issue is I've only tested this on macOS, and handling LaTeX dependencies is a pain on any platform. Hence, I've opened another issue: #15

@ghost
Copy link
Author

ghost commented Mar 12, 2018

You're right. I was using Python 2.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant