-
Notifications
You must be signed in to change notification settings - Fork 18
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
Install on a Mac #12
Comments
Hi, |
Sure, I will obviously do the testing. Thanks to you for making tasknc. :-) |
:) |
(Ouch, did I delete the comment?) Thank you, that indeed fixed the bug. There is also a problem with "sudo make install", because it fails because of the "-D" option. I'm not sure what it does, but without that option it worked. "tasknc" hangs on first run while "configuring...", but because I can see you can't test/debug on a Mac, I'm going to debug it myself, if that's okay with you. I will let you know if I'm successful. Again, thank you. |
I'm glad that worked! Would you be able to send me a git patch with the changes you needed to make to install? Then I can add some instructions in the README (I will credit you there too) for other people who want to install on Mac? That sounds great to me! Feel free to contact me with any questions you have. -l 8 is your friend here too :) |
Hey, any progress on this issue? I've been wanting to test out |
Same here. Hoped to help @mjheagle8 out because it seems he doesn't have a Mac, but I really don't have a clue. :-( |
Do you see a CPU spike when it hangs? What are the last few lines of the log file when tasknc is run with -l8? |
Also helpful would be if you run tasknc in gdb, then abort using a ctrl-c or a kill signal, and run backtrace in gdb to see what the location in the code is when it hangs. |
Running with
Running through
Running through
Hope that helps! Let me know if you need any more info... |
What is the output of task --version ? |
Just |
Update: I updated to 2.1.2 and tasknc would err out. After adding some tasks and rerunning it worked fine though. |
I am having this issue with the latest tasknc and taskwarrior 2.5.0 |
mjheagle8 @alberteddu @ding444, @garignon : The problem is that for some reason (POSIX 2008 compatibility ?) the mac does not process correctly the %m format specifier in the fscanf and sscanf. It is really bizarre, but clearly this is the problem. I had to change all these commands (e.g.: convert %ms into %s) and introduce a 'malloc' to make it to work. If you are interested, I made the changes and I am happy to push them. and also introduced support for "Urgency" and "Totalactivetime" + made some more edits for better processing start/stop, and also improve the formatting. It begins to work quite well, but will probably keep crafting this nice application to my own need. For example, I did not like the fact that 'add' was automatically launching an editor, and preferred to make it work like "modify". |
I would like to try tasknc on a Mac, but I'm getting an error with
make
.Anyway, the idea is great, hope I can try it soon. :)
The text was updated successfully, but these errors were encountered: