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

No attribute decode? #83

Closed
embedthis opened this issue Jun 24, 2013 · 6 comments
Closed

No attribute decode? #83

embedthis opened this issue Jun 24, 2013 · 6 comments

Comments

@embedthis
Copy link

When trying to complete a task with cmd+d, the following traceback is shown in the console. Sublime text 3.

Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 549, in run_
return self.run(edit)
File "/Users/mob/Library/Application Support/Sublime Text 3/Installed Packages/PlainTasks.sublime-package/PlainTasks.py", line 27, in run
File "/Users/mob/Library/Application Support/Sublime Text 3/Installed Packages/PlainTasks.sublime-package/PlainTasks.py", line 73, in runCommand
AttributeError: 'str' object has no attribute 'decode'

@travmik
Copy link
Contributor

travmik commented Jun 24, 2013

Could you provide the example of to-do where you got this message and also pattern for date that you use?
I think this issue belongs to the latest fix of issue with date format.

Thank you.

@embedthis
Copy link
Author

Just simple two liner:

☐ one
☐ two

Then cmd+d.

It seemed to be working yesterday. But now not.
Where do I see the date pattern.

@embedthis
Copy link
Author

The terminal date gives:
Mon Jun 24 16:47:50 PDT 2013

@embedthis
Copy link
Author

Just found it in plaintasks settings: The date format is just the default.

"date_format": "(%y-%m-%d %H:%M)",

@vovkkk vovkkk closed this as completed in 7c959e8 Jun 25, 2013
@embedthis
Copy link
Author

Thank you

@embedthis
Copy link
Author

Confirmed as fixed.

vovkkk added a commit to vovkkk/PlainTasks that referenced this issue Jul 19, 2013
Python 3 doesn't need that; close aziz#83
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