mjdescy / TodoTxtMac

TodoTxtMac is a minimalist, keyboard-driven to-do manager for Mac OS X (10.8 Mountain Lion and higher) that conforms to the todo.txt format spec.
Other
240 stars 40 forks source link

todo.txt is not opening on todotxtmac #32

Closed lalthomas closed 10 years ago

lalthomas commented 10 years ago

I am unable to open my todo.txt on this program.It is bigger in size (>25 KB). I am able to open the same on todo.txt cli.

mjdescy commented 10 years ago

Hi, @lalthomas.

A todo.txt file over 25 KB should not present a problem to TodoTxtMac. I tested with my done.txt file of 175 KB, and temporary todo.txt files of over 1 MB, without any problems. Larger files load more slowly, but other than that TodoTxtMac handles them without incident.

lalthomas commented 10 years ago

Hi Micheal,

Actually the problem is now solved.I created a new file and copied the content to the new file.I also deleted '(' that were present in the todo.txt, which i used after the priority labels.Now it is working fine. I use windows and mac interchangeably.Thank you for the quick response.

On 8/26/14 1:20 AM, Michael Descy wrote:

Hi, @lalthomas https://github.com/lalthomas.

A todo.txt file over 25 KB should not present a problem to TodoTxtMac. I tested with my done.txt file of 175 KB, and temporary todo.txt files of over 1 MB, without any problems. Larger files load more slowly, but other than that TodoTxtMac handles them without incident.

  • What version of TodoTxtMac are you on? (Please use the most recent.)
  • What version of OS X are you on, how much RAM, and what model Mac?
  • What is TodoTxtMac doing when you try to load the file? Is it crashing? Can you send a screenshot?
  • Could you send me your todo.txt file for testing (post a Droxbox link)? I wonder if there is some invisible character in the file causing a problem.

— Reply to this email directly or view it on GitHub https://github.com/mjdescy/TodoTxtMac/issues/32#issuecomment-53318219.

lalthomas commented 9 years ago

Later I had the same problem, I found that it is because of the OS specific line endings. Please refer this stack overflow answer for resolving this issue.

mjdescy commented 9 years ago

@lalthomas Thanks for your bug report. I don't think there's any more code I can add to support different line endings, though. From the start, TodoTxtMac supported both Windows and Unix (Mac OS X) line endings--even weird combinations of the two in the same file. I did a lot of testing in the early development phases, and even went and committed changes to Todotxt.net on Windows to ensure cross-platform compatibility.