lazyatom / freeagent-widget
- Source
- Commits
- Network (2)
- Issues (3)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
A widget for tracking time in FreeAgent — Read more
-
Dunno what's up with it, its suddenly not loading data into the forms or able to post data. Is this because of the FAC upgrade the other day perhaps?
B
Comments
-
Hi,
I just got myself a new Mac (been using a PC for far too long..)... but i am having problems with the widget. It shows my projects and tasks but when i hit the "post" button nothing happens.
I am not sure if this is a confrig issue with me being new to a Mac..
Best
David
Comments
I'm going to try and add some better debug information into the log - meanwhile, if you open Console.app (in /Applications/Utilities) and try posting from the widget, you should get some information. Could you post it here?
-
Won't seem to connect up at all, refusing to say hello.
2 comments Created 7 months ago by Andrew111Lovely app. Very clean and well focussed. BUT...I can't get the widget to talk to my account at all!
I fill in the info on the back (very carefully) but the front stays blank. I'm on Mac OS 10.4.11. Such a shame.Comments
Hmm - is there any output in the console (open Console.app to view it)? I can try building a version targetted at 10.4 if there are no clues in the logs...
Hi Lazyatom, I tried it again, without success. Here's the info from the console:
2009-05-28 08:50:05.445 DashboardClient[283] com.lazyatom.widget.FreeAgent: calling: https://.freeagentcentral.com/projects
(event handler):Undefined value 2009-05-28 08:50:05.720 DashboardClient289 file:///Library/Widgets/Address%20Book.wdgt/AddressBook.js: Undefined value (line: 294)
(event handler):Undefined value (event handler):undefined 2009-05-28 08:50:05.790 DashboardClient283 undefined: undefined (line: 0)
(event handler):undefined 2009-05-28 08:50:06.190 DashboardClient[283] com.lazyatom.widget.FreeAgent: status: success
2009-05-28 08:50:06.190 DashboardClient[283] com.lazyatom.widget.FreeAgent: got: [object Document]
(timer):undefined 2009-05-28 08:50:06.191 DashboardClient283 : undefined (line: 0)
2009-05-28 08:50:40.861 DashboardClient[283] com.lazyatom.widget.FreeAgent: saving preferences
2009-05-28 08:50:40.991 DashboardClient[283] com.lazyatom.widget.FreeAgent: calling: https://andrewkingham.freeagentcentral.com/projects
2009-05-28 08:50:42.094 DashboardClient[283] com.lazyatom.widget.FreeAgent: status: success
2009-05-28 08:50:42.094 DashboardClient[283] com.lazyatom.widget.FreeAgent: got: [object Document]
(timer):undefined 2009-05-28 08:50:42.095 DashboardClient283 : undefined (line: 0)
-
Tasks even with simple names are not always created in FreeAgent, and sometimes there is a delay of a couple of minutes.
Comments
If this delay is not consistent, it could be problems with your network connection, or with FreeAgent's response time. Can you give examples of any tasks that consistently fail, or is this covered by your '&' tickets?
-
From the application log:
Apr 22 12:36:42 [25786] INFO: Parameters: {"project_id"=>"6780", "timeslip"=>{"task_id"=>"4495", "dated_on"=>"Wed, 22
Apr 2009 12:36:42 GMT", "user_id"=>"null", "hours"=>"0.0175"}, "action"=>"create", "controller"=>"timeslips"}
Comments
Hmm, because the project/task IDs are there, the authentication must be working, so it can't be that. This part works by asking the server for all users, and then finding one that matches the email you provided on the back of the widget. Does your email match the one that the FreeAgent API returns?
Let me know if you figured this out, hopefully it's something I can guard against.
I'm no longer seeing this issue since downloading the latest :)
-
... no point in recording time against inactive projects, right?
Should be pretty easy to do.
Comments





Let me know if it still doesn't work, even with API access enabled; otherwise I'll close this issue.
I'll close, that was the issue. Offer feedback in the next version perhaps? Thanks for help.
oh... hang on. Menus are loading, but it's not posting successfully.
I'm uploading a new (1.3) release soon (just waiting for DNS to resolve), but you can grab the latest code from here if you have Dashcode installed - I'm curious to see if it helps your problem.
Get the latest version here: http://public.lazyatom.com/FreeAgent-1.3.0.zip
thanks for correction, whatever it was. Working now! One tiny thing: the default time that displayed was something weird like: "NaNaNa".
Does it still show that, after at a successful post? Btw, please update to 1.3.1
I've updated. Seems fine now.
Awesome :)