Import from Things 3


#21

@mate You’re so right… I moved from OF2 to Things 2 just a few years back.

I encountered an error I can’t pinpoint at the moment: „OmniFocus“ hat einen Fehler erhalten: „status of inbox task id “dR4Zilwvkls” of default document“ can’t be set to „done“."

Do you have any idea what that could mean?

Or do you know of a way to not exit the applescript when that error comes up but keep on going with the rest of the actions?

Best,
David


#22

@mate In case you could offer your perspective on that: I checked the script with Script Debugger and it looks like it breaks after hundreds of actions here:

-- handle completed
				if theStatus is "completed" then
					mark complete newTask
					set completion date of newTask to theCompletionDate
				else if theStatus is "canceled" then
					mark complete newTask
					**set status of newTask to done** - error exit here
					set completion date of newTask to theCompletionDate
				else if theStatus is "open" then
					mark incomplete newTask
					set completion date of newTask to missing value
				end if

The error message is: Error: no such object (e.g. specifier asked for the 3rd, but there are only 2) (errAENoSuchObject:-1728)

The task title in question is:
“xxxx Rückmeldung // eine ohne weitere Termine & eine mit Rechnungsproblemen anrufen”

Checking the variables I was surprised that there is no “status” field within newTask. Might that be a hint?

Would be very happy for the expert perspective here.