User Details
- User Since
- Feb 4 2015, 1:34 AM (525 w, 3 d)
- Availability
- Available
Jan 23 2017
OK, it seems utcInstanceEpoch is only used in child event of recurring events according to the code. After I canceled the recurring event(E4), there is no more error in phd log.
I just created a simple test event and the utcInstanceEpoch column is still NULL. What does this column mean?
just FYI, I checked the database and found the utcInstanceEpoch is NULL for some old events, which maybe caused by bug in data migration during upgrade.
Jan 22 2017
I added some log in src/applications/calendar/storage/PhabricatorCalendarEvent.php before line 728 like this:
if ($this->isChildEvent()) { $parent = $this->getParentEvent(); error_log("utc string:".$this->getUTCInstanceEpoch(),3,"/tmp/phadebug.log"); $instance_datetime = PhutilCalendarAbsoluteDateTime::newFromEpoch( $this->getUTCInstanceEpoch()); $recurrence_id = $instance_datetime->getISO8601(); $rrule = null; }
It indicates $this->getUTCInstanceEpoch() returns empty or null. Any help for this? And I guess it should be related to some recurring events.
No idea, I guess this is something related to the Calendar events in my install as you mentioned. I'm wondering if there is some place in the code I can add some lines to log/debug the actual event and the date/time string which caused the error? I can edit the source and run it again.
I'm still seeing this in the latest code:
phabricator
c63ba8337ec7e7f021f17c972e9a2a751f6280e2 (Sat, Jan 21)
arcanist
9503b941cc02be637d967bb50cfb25f852e071e4 (Sat, Jan 7)
phutil
6d8f5a783ebe7993b78632091507f6d7d8cbc215 (Sat, Jan 21)
Jan 20 2017
Actually this error started quite long ago. In my memory it started after some big changes on Calendar app. I have updated several versions before I fired this bug report. I will try to update to the latest version later. Regarding the reproduction steps, this is a background daemon log, not triggered by direct human action. I have no idea how to provide the reproduction steps. Any hint?
Jul 25 2016
Any estimation how long can this be fixed? If it takes long, I will break the parent/subproject relationship. Otherwise I can just wait for the fix.
Jul 22 2016
Jul 11 2016
Jul 8 2016
Well, it turns out I mis-typed the project name! It's just the error message not so friendly. I can reproduce the error with this:
./move_beneath.php --parent aaa --child bbb --keep-members both --subproject
OK, I got it worked for 2 other projects. So there must be something special with the 2 projects I tried previously.
Thanks, I will try to test more.
Yes, It was some local encoding handling related and should not be related to the error. My code base is this:
Jul 7 2016
It seems the move_beneath.php doesn't work any more with the latest code.
May 25 2016
May 24 2016
I just looked the description in 74e117ae41dd.
I understand that. Will try to find reproduce steps.
May 23 2016
Aug 10 2015
well, I can still see the same error with new tasks.
Aug 9 2015
OK, as @shrinidhirao suggested, the fix only works for new tasks. I canceled all failing tasks and wait to see how new tasks work.
Aug 8 2015
I have the same error with the latest code even after I applied the fix from @shrinidhirao.
May 30 2015
There is nowhere to delete/disable the package after this fix?
May 27 2015
I got the same problem. Any fix for it?
Feb 4 2015
yes. It's not related to php. Even this bash script hangs on my system:
$ cat /tmp/hw.sh
#!/usr/bin/env TERM=dumb bash
echo "hello world"