Problem with Clockify API, how to get estimate working again - clockify

API stopped working last night when creating a project. Specificly the problem is when you enter a estimate on the project. This has worked well for months, but now since last night i am getting an error. Commenting out that line in my code makes it work.

(can't comment...) If you are still having issues with this, if you could post your code and the error message you are getting, I may be able to help you out.

Related

GTM Preview mode keeps returning "Out of Memory" error

Recently, I started to experience "out of memory" error while previewing in GTM and it is getting more frequent now.
I am certain whenever I try submitting a form in a preview mode, this error would definitely occur while others are pretty random.
Have anyone experienced the same thing, started 2 weeks ago? Any idea how to resolve it?
Thanks in advance
Roman
Try tracing the variables and overall code that fires on the form submission. Looks like something in the container causes rapid memory leak.
There are a few approaches to debugging. I would just read the code and see if certain parts of it are poorly structured. If I can't see anything immediately, which is pretty unlikely, I would start inserting breakpoints in devtools to get closer to the bug.
A simpler, but longer approach would be disabling parts of logic in GTM and reproducing the out of memory error to find the exact trigger/variable/tag/template that causes the issue. After that just debug the code in question.

Unable to load CoreML model using MLModel.compileModel

The CoreML couldn't be loaded. The first line is successful, but the second line gives an error called: The file couldn’t be saved.
The model does exist and modelUrl is correct.
The same issue is also found here
Unable to load CoreML model using MLModel.compileModel(at:)
Does someone know what the cause is?
var modelUrl = NSBundle.MainBundle.GetUrlForResource("SentimentPolarity", "mlmodel");
var compiledModelUrl = MLModel.CompileModel(modelUrl, out var error);
I found the answer just now. I encountered this problem when I deploy an app to an iphone from Mac in debug mode. Actually, there is nothing wrong with the code, it is something else. I did two things, first sign in to icloud(does icloud have anything to do with the iphone's provisioning profile for development?), secondly delete the app and re-deploy the app to the iphone. It solves the problem now.
Although I am not sure which one solves my problem, I assume it is the second thing I did. Let me know if anyone found the reason behind.

Daydream (automated testing script writer) skipping random clicks, why is this?

Daydream is a chrome extension (by /segmentio on github) that records your actions into a Nightmare (automated testing) script.
I'm trying to create a tutorial for how to use it but it is not producing a consistent/accurate script when I repeat a simple user journey. Some actions are being missed from the end script in some instances and then being recorded successfully on another occasion.
This is the issue documenting my exploration on github: https://github.com/dwyl/learn-daydream-and-nightmare/issues/8
Initially I recognised the issue when navigating to a new tab in a test and so I commented on an existing issue on the subject on Segment's repo: https://github.com/segmentio/daydream/issues/31
The issue was first raised by another user in September 2016 and has not received any response so I think it's unlikely they will respond.
- Has anyone come across this problem using Daydream? and did you find a solution?
- Is there a specific action which may be causing this bug?
- Can anyone see any issues in the segmentio code that could be causing this?
Thanks :)

Linkedin SlideShare API "get_user_leads" 500 Internal Server Error and 410 Gone Error on apiexplorer.slideshare.net

Looking for help from a Linkedin SlideShare engineer on the SlideShare API here. Very frustrated that I was told to use StackExchange after being kicked all over the place by them and now I can't post enough detail (personal account info would be needed and StackExchange is limiting me to 2 links in this message).
Anyhow, I’m trying to install the SlideShare-Marketo Connector (http://launchpoint.marketo.com/assets/Uploads/SlideShare-MarketoConnector-Guide.pdf) on to an ancillary server. I’ve uploaded the PHP files just fine.
The expected output from my page should be “X leads synced from SlideShare.” (where “X” is a number), but instead I get a blank page. I added some echos to see if I could figure out the last spot the code was executing to. I found that it’s getting hung up in SSUtil.php at this line in the function “get_userLeads”:
$data=$this->LeadXMLtoArray($this->get_data("get_user_leads","&username=$user&password=$pass&begin=$begin"));
From what I can tell though the issue isn’t really with this line but when the get_data function tries to get the data at this line:
$res=file_get_contents($this->apiurl.$call."?api_key=$this->key&ts=$ts&hash=$hash".$params);
I echoed the URL to the browser see what it was looking for:
http://www.slideshare.net/api/2/get_user_leads?api_key=XXXXXXXX&ts=XXXXXXXX&hash=XXXXXXXX&username=XXXXXXXX&password=XXXXXXXX&begin=201603311600
Obviously I can't make this link clickable here without give away a bunch of account information but when I click on a real version of the link I get a 500 Internal Server Error.
I used apiexplorer.slideshare.net (but now it seems SlideShare has taken this down in the last day) and the URL it’s using looks the same as what I’ve got above but has a slightly different result: 410 Gone Error. Any idea what’s going wrong?

Why does NullReferenceException in Asp.net 2.0 clear itself?

Yesterday I was getting a NullReferenceException in my asp .net 2.0 web app. I couldn't figure out what was going wrong and at the end of my work day I decided to give up for the day, get some rest and come back to the problem and actually trace through my code and find where it broke.. Today (next day) I launch the web app and the problem is gone.
I know that it was pointing to a Page_Load in my code for the initial page (Default.aspx).
I guess I'm just kinda wondering how that happens? I know that when I started getting the exception I was really stumped because there were no code changes made or published to the server so that was the first thing that grabbed my attention and made me think that there was a problem with the server-client connection.
Anyways, no biggie if there isn't an answer out there, just kinda seemed silly. Sorry that I can't provide more details but I can't trace down the problem now. If it occurs again I'll be sure to trace the exception down in the code to exactly which line breaks it.
Maybe the reason why the exception was happening was because a correct value has been placed into an object? That error just doesn't go away by itself. NullReferenceException is common if you don't test for things like:
if (myObj != null)
//ok to assign
else
//not so ok handle it
So maybe from the time that you went and got rest and came back the following day a valid value was placed where this exception was occurring. But this exception can be thrown from anywhere, are you tapping into some sort of database?
Are you reading column data that should not be nullable?
Are you trying to access .ToString() on a null object, etc etc.
Hundreds of reasons.....

Resources