raguay.customct Posted June 17, 2013 Author Share Posted June 17, 2013 Thank you for responding. I can now enter a project using addproject, and the new projects appears in the projects.txt file. However, when I choose to use that project using the ATK:project command, while the added project appears in the list, I get the error "Can [sic] not read the projects file." Hi, Found that one too. Just pushed an update. You can update with AlleyOOP or redownload. Link to comment
maxstad Posted June 19, 2013 Share Posted June 19, 2013 I'm having the same issue as Dan. I just downloaded and installed the workflow for the first time (the GitHub link updated on 6/17/13) and it's giving an error: "Could not open the project file: [file path]". Is there something different I need to be doing? Thanks Link to comment
raguay.customct Posted June 20, 2013 Author Share Posted June 20, 2013 I'm having the same issue as Dan. I just downloaded and installed the workflow for the first time (the GitHub link updated on 6/17/13) and it's giving an error: "Could not open the project file: [file path]". Is there something different I need to be doing? Thanks Yep, I was testing that when you wrote. Trying to get go to set permissions correctly. Not sure what I am doing wrong, but I am working on it. Thanks. Link to comment
raguay.customct Posted June 20, 2013 Author Share Posted June 20, 2013 I finally fixed the error. Please update your workflow at the normal place. I was thinking in hex when the mode is set in octal. Dumb mistake. Sorry about that. I also updated the library. Link to comment
Sebastian Daza Posted June 3, 2014 Share Posted June 3, 2014 Hello, I have the following problem: I can't add any project... Any ideas? Starting debug for 'Alfred Time Keeper' [ERROR: alfred.workflow.action.script] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) Link to comment
raguay.customct Posted June 4, 2014 Author Share Posted June 4, 2014 Wow. That's a new one on me. go should static link, so I do not know where the DYLD reference comes from. I will look into it. What is your system stats? (OS version, etc). Also, can you compile the go file yourself in the directory and see if that works. My article on Alfred Timekeeper shows how to do that: http://computers.tutsplus.com/tutorials/track-project-time-with-alfred-timekeeper--cms-20981 Link to comment
raguay.customct Posted June 4, 2014 Author Share Posted June 4, 2014 Doing a little research and it looks like an older version of my go routine was compiled with a bug on some systems. The latest version is using the latest compiler. Try redownloading it and re-installing it to see if it fixes the issue. You can get the latest version from my GitHub: https://github.com/raguay/MyAlfred Link to comment
raguay.customct Posted June 4, 2014 Author Share Posted June 4, 2014 Also, if you compile it yourself, make sure you do not have this environment variable set: DYLD_INSERT_LIBRARIES That is know to cause programs with the go compiler. Let me know if any of this helps. Link to comment
Sebastian Daza Posted June 4, 2014 Share Posted June 4, 2014 Hello, I am using Maverick and Alfred 2.3 I re-installed your workflow, but I still have the same problem. [ERROR: alfred.workflow.input.scriptfilter] Code 2: fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) runtime stack: Sorry, I am not an expert using Alfred. I don't know how to compile the go file. Thanks! Link to comment
raguay.customct Posted June 5, 2014 Author Share Posted June 5, 2014 (edited) Okay. Just uploaded a newly compiled version using the go version 1.3beta2 and able to specify no dynamic link libraries. The problem we are seeing is due to the go compiler creating executables that look linkable, but are not. OS X is trying to link their DYLD library into the executable when running, which throughs this error. It was suppose to of been fixed in go 1.1, but evidently it has showed up again. Therefore, re-download the workflow from my GitHub account, delete the old workflow, and install the new workflow. If it still errors, go to a terminal window and type "env" and post the results here. If it works, please let me know so I can upload it to Packal as well. I will not bother to if it still errors. Sorry for all the problems. Edited June 5, 2014 by raguay.customct Link to comment
Sebastian Daza Posted June 5, 2014 Share Posted June 5, 2014 Thanks! It is working now, but I have some problems: 1. I don't see the name of the current project: https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-06-05_07.54.45.png 2. atk:project results in: sorry no match 3. My files seems to be right. https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2014-06-05_07.53.29.png Link to comment
raguay.customct Posted June 5, 2014 Author Share Posted June 5, 2014 Hi, Great. The latest compiler fixed it. You did not set a current project, or at least it is acting like you haven't. The file list you show does not have "project.txt" which keeps the name of the currently active project. The "projects.txt" keeps a list of each possible project. Use "atk:project" and pick the project you want to use. The create a project should of set the last created project as the current, but I believe some of your files might be out of sink due to the bad compiled program before. Try the "atk:project" action to set a project and see if it helps. I need to write an action to "doctor" the files in case of them getting out of sink like that. On the todo.... Link to comment
Sebastian Daza Posted June 5, 2014 Share Posted June 5, 2014 Ok, I created the file project.txt, and now it is working... Thanks! Link to comment
raguay.customct Posted June 5, 2014 Author Share Posted June 5, 2014 Yep, I forgot to add the setting current project to the creating a project action. I just added that and recompiled. If you need it, you can redownload the workflow. Link to comment
raguay.customct Posted June 5, 2014 Author Share Posted June 5, 2014 Just pushed a new update to the workflow. If the current project is not set, it will display all projects and therefore remove the deadlock you experienced. Link to comment
shan199105 Posted June 5, 2014 Share Posted June 5, 2014 http://shan.us/974S When I run atk:addproject test, it gives me an error. I just downloaded your workflow and this is my first try. I think this is a very good workflow and hope that I am able to use it. This is my system information: http://shan.us/NEGC Link to comment
raguay.customct Posted June 6, 2014 Author Share Posted June 6, 2014 (edited) The proper order for running it is to set the time record folder first with "atk:setdir". This allows you to set your directory so that it can be in dropbox and used by many systems. It should just default to the Alfred normal data directory. I will check the code for defaulting properly. In the meantime, just use the "atk:setdir" first, then use "atk:addproject" to create your projects, then "atk:project" to set the current project, and "atk:state" to toggle stop/start timing. Just noticed you are running 10.10. I have only tested on 10.9, but it should run fine on 10.10 as well. I am not a registered developer, so I do not have the full preview. Edited June 6, 2014 by raguay.customct Link to comment
raguay.customct Posted June 6, 2014 Author Share Posted June 6, 2014 Okay. I just uploaded to GitHub the fix. I went through all the code and did some cleanup on error condition handling. It should handle defaulting to defaults better now. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now