johnthepink Posted November 25, 2014 Posted November 25, 2014 (edited) Alfred 2 Basecamp Workflow --------------------------------------------------------- Edit: 4/13/2016 Basecamp 3 Support! Info here --------------------------------------------------------- Provides easy access to Basecamp Projects inside Alfred 2. Allows you to quickly open a project in your default browser, or copy the url to the clipboard using "Cmd". This also supports multiple Basecamp organizations. This does not support Basecamp Classic. Find it on Packal: http://www.packal.org/workflow/basecamp Github: https://github.com/johnthepink/alfred2-basecamp Setup Right click on the “bc” Script Filter and click “Configure”. Fill out your Basecamp information. Note that if you belong to more than one organization, you can enter them separated by commas. Have fun. Please let me know if you have feedback, or send a pull request on Github. Thanks! Edited April 13, 2016 by johnthepink toddmc 1
toddmc Posted November 26, 2014 Posted November 26, 2014 Thanks for this. My only question is what is "basecamp_company_ids="? From your description it sounds like I need to find a number. Where do I find this? Thanks in advance.
johnthepink Posted November 26, 2014 Author Posted November 26, 2014 Each Basecamp "organization" or "company" that you're a part of as a unique ID. You can find this number just to the right of the URL in your browser: https://basecamp.com/xxxxxxx. The x's represent the number you want. If you are on a project page, the URL will be https://basecamp.com/xxxxxxx/projects/yyyyyyy. The x's are still the number you want. If you are a part of several organizations, then you will have to find each organization's ID and assign them to "basecamp_company_ids" as comma separated: basecamp_company_ids=xxxxxxx,xxxxxxx,xxxxxxx. Does that help? I'd be happy to help if you have more questions. I will also add this tomorrow to the instructions to make it a little more clear. Thanks!
bgdbgdbgd Posted January 23, 2015 Posted January 23, 2015 Can't seem to get this to work. When I type bc and then the beginning of the name of one of my projects, I get a "Fatal Error!" in Alfred and an Alfred-Workflow.log. When I try open the .log, I get a dialog box that says "There is no application set to open the URL /Users/cag-bryce/Library/Logs/Alfred-Workflow.log" I guess the first thing to figure out is what application I can use to open the log.
johnthepink Posted January 26, 2015 Author Posted January 26, 2015 That stinks. You should be able to open the log file in any kind of text editor, such as TextEdit. Let me know what you find in there.
bgdbgdbgd Posted January 26, 2015 Posted January 26, 2015 Hmm, still not able to get the log file to open out of Alfred (even if I select TextEdit as the application I want to use to do so).
grantholle Posted February 20, 2015 Posted February 20, 2015 (edited) Hey John, I have it configured, but when I do "bc ", it only offers me a google search. Am I missing something? https://www.dropbox.com/s/vv3er2smnr7csva/Screenshot%202015-02-21%2007.54.35.png?dl=0 https://www.dropbox.com/s/1iz5e51s9is9hmk/Screenshot%202015-02-21%2007.54.41.png?dl=0 Edited February 20, 2015 by grantholle
johnthepink Posted February 23, 2015 Author Posted February 23, 2015 @grantholle Try putting your variables in quotes like this: basecamp_username="xxxxxx". If that doesn't work, try this for me: open Alfred preferences click on the Basecamp workflow click the little bug in the top right corner to bring up the debug panel run "bc " see if it puts out any errors and post them here
bgdbgdbgd Posted February 23, 2015 Posted February 23, 2015 Replacing the brackets in my variables with quotes solved my issue! It totally works for me now! Thank you!
grantholle Posted February 26, 2015 Posted February 26, 2015 I ended up changing my password, and that solved it! I had a lot of random characters in it originally, which wrapping in quotes might have solved. Thanks John
johnthepink Posted February 26, 2015 Author Posted February 26, 2015 Glad you figured it out! I need to update the docs to encourage wrapping in quotes.
guiluchesi Posted July 29, 2015 Posted July 29, 2015 Greeeeeat workflow! Changing the "[ ]" for quotes solved my issue as well. Thank you so much :DD
austinmann Posted January 13, 2016 Posted January 13, 2016 Hey John, I love this workflow and use it daily for Basecamp. I've just switched to Basecamp 3, and wondering if you will modify to make it for for BC3 as well? I tried to it myself to no avail… thanks a bunch! Austin
johnthepink Posted January 13, 2016 Author Posted January 13, 2016 Austin, Glad you're getting some use out of it . I will try to take a look soon concerning Basecamp 3 support. Thanks for the heads up!
johnthepink Posted January 15, 2016 Author Posted January 15, 2016 Hey Austin, I just looked in to adding Basecamp 3 support, and it looks like Basecamp hasn't released their API for v3 yet. They mention here that they plan on offering an API, but there is currently no timeline for it. I'm tracking the issue, so as soon as they announce it I will update the workflow. Sorry about the wait. Thanks! austinmann 1
austinmann Posted January 28, 2016 Posted January 28, 2016 Thanks for checking man -- I'll keep an eye on that thread, too… sounds like it's overdue.
johnthepink Posted March 22, 2016 Author Posted March 22, 2016 Just an update. Basecamp have begun to open up their Basecamp 3 API. I have gotten early access, and am chatting with them about the best way to proceed. Hopefully I will have some more information soon. Thanks!
johnthepink Posted March 24, 2016 Author Posted March 24, 2016 Hey all. I have got Basecamp 3 support working, and I will be shipping it shortly. They are about to make a breaking change that I am waiting on before I hand it over to you guys. See here if you're interested: https://github.com/basecamp/bc3-api/issues/2 Thanks!
Davduf Posted March 27, 2016 Posted March 27, 2016 Hi ! I'd love so much to use it, as a hardcore BC user :-) ! But whenI type bc and then the beginning of the name of one of my projects, I get this : [ERROR: alfred.workflow.input.scriptfilter] Code 255: <items><item arg='Fatal Error!' uid='Rescue Feedback' valid='yes'><title>Fatal Error!</title><subtitle>Check the log file below for extra debug info.</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item><item arg='/Users/davduf/Library/Logs/Alfred-Workflow.log' autocomplete='Alfred-Workflow.log' type='file' uid='/Users/MYNAME/Library/Logs/Alfred-Workflow.log' valid='yes'><title>Alfred-Workflow.log</title><subtitle>/Users/MYNAME/Library/Logs/Alfred-Workflow.log</subtitle><icon type='fileicon'>/Users/MYNAME/Library/Logs/Alfred-Workflow.log</icon></item></items> And then, in the Alfred-Workflow.log E, [2016-03-26 21:22:29 #4437] ERROR -- me.johnpinkerton.alfred2-basecamp: A fatal error has occurred. You may seek help in the Alfred supporting site, forum or raise an issue in the bug tracking site. #<URI::InvalidURIError: bad URI(is not URI?): https://basecamp.com/[dufresne@davduf.net]/api/v1/projects.json> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:176:in `split' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:211:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:747:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:996:in `URI' ./main.rb:30:in `get_project_json' ./main.rb:46:in `block in load_projects' ./main.rb:46:in `map' ./main.rb:46:in `load_projects' ./main.rb:73:in `block in <main>' How can I fix this ? All my best! D
johnthepink Posted March 27, 2016 Author Posted March 27, 2016 Hey Davduf, Could you double check your settings by right clicking on the "bc" script and clicking "Configure"? basecamp_username="putusernamehere" basecamp_password="putpasswordhere" basecamp_email="putemailhere" basecamp_company_ids="basecamp,ids,separated,by,commas,here" It looks like you may be using the brackets, either remove those, or wrap your credentials in quotes like above.
Davduf Posted March 27, 2016 Posted March 27, 2016 Thx John! But I use only quotes :-) One thing is there is a space un my User_Name... do you think it could be the problem ? All my best, David
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