IRC logs for #farmOS, 2020-04-10 (GMT)

2020-04-09
2020-04-11
TimeNickMessage
[20:46:46]<mstenta[m]>paul121: NO MAP
[21:14:31]<mstenta[m]>Ok... I'm getting closer....
[22:01:02]<mstenta[m]>Well this is very strange indded
[22:01:14]<mstenta[m]> * Well this is very strange indeed
[22:07:09]<paul121[m]>ruh roh
[22:12:46]<mstenta[m]>paul121: go to /admin/appearance
[22:13:10]<mstenta[m]>the farmOS theme is not enabled (dramatic music)
[22:14:35]<paul121[m]>ahhh
[22:14:42]<mstenta[m]>that's why `farm_theme_block_info_alter()` is not running
[22:15:01]<mstenta[m]>now i'm trying to figure out WHY
[22:15:11]<paul121[m]>From what you mentioned earlier with Skipper I tried going to `/admin/appearance/farm_theme/settings` (or similar) and it failed.. thought that was weird
[22:16:15]<paul121[m]>did our OAuth PR break something?
[22:16:42]<mstenta[m]>i am watching the database entry in the `{system}` table for the `farm_theme`... it gets enabled in `farm_install()` successfully (https://github.com/farmOS/farmOS/blob/7.x-1.x/farm.install#L63)
[22:18:36]<mstenta[m]>but then that db record seems to get deleted/reset ... at some point between the "Install profile" and "Configure farmOS" install steps
[22:18:53]<mstenta[m]>ACTION uploaded an image: Screenshot from 2020-04-09 22-17-33.png (31KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/fWhmIJrSAcyiynUH... >
[22:19:04]<mstenta[m]>Which is BEFORE the `farm_api` module (and therefore oauth stuff) gets installed...
[22:19:13]<mstenta[m]>So no... I don't think it was the oauth changes
[22:19:51]<mstenta[m]>I am re-running an install right now, with xdebug... going to see if I can pinpoint it
[22:20:47]<mstenta[m]>(And I'm still confounded by why this is happening locally with the `farmos/farmos:dev` image, but NOT on Farmier... which is running the same exact code)
[22:23:10]<paul121[m]>I wonder, does 7.x-1.x work locally?
[22:23:38]<paul121[m]>Then the prob might be something additional in the dev env?
[00:04:44]<mstenta[m]>jgaehring: check this out! https://github.com/farmOS/farmOS-map/issues/45#issuecomment-611867511
[00:33:38]<jgaehring[m]><mstenta[m] "jgaehring: check this out! https"> Awesome!
[00:34:08]<jgaehring[m]>I'd love to figure out something like that for the precipitation module
[05:19:03]* JustTB has quit (Quit: Leaving.)
[05:20:59]* JustTB has joined #farmos
[06:57:54]* JustTB has quit (Quit: Leaving.)
[07:13:52]* JustTB has joined #farmos
[08:12:31]<mstenta[m]>jgaehring: https://github.com/jgaehring/farm_precipitation/pull/3
[08:12:50]<mstenta[m]>:-D
[08:14:28]<mstenta[m]>> Then the prob might be something additional in the dev env?
[08:14:28]<mstenta[m]>paul121: I've narrowed the issue down into the deep dark depths of Drupal :-/
[08:14:36]<mstenta[m]>it feels like I'm descending into a fractal
[08:15:00]<mstenta[m]>the farther I go, the farther it seems I have to keep going
[08:15:52]<mstenta[m]>tldr: it is literally happening DURING php's `exit` function
[08:16:39]<mstenta[m]>😱
[08:17:24]<mstenta[m]>So yes... I suspect it is something specific to the dev environment...
[08:17:33]<mstenta[m]>And not our code...
[08:18:09]<mstenta[m]>(or maybe something with our code that is interacting differently with the dev environment...)
[08:19:10]<mstenta[m]>I had to give up last night, and need to focus on some other things this morning... but I have a testing setup that allows me to rapidly test the specific point in time that it occurs (without having to re-run the first install steps repeatedly, which takes way too long)
[08:19:18]<mstenta[m]>So... we'll get there :-)
[08:19:51]<mstenta[m]>One thing I wonder is if it's related to the MariaDB version
[08:20:10]<mstenta[m]>That feels like a long shot... but it could explain the difference in environments
[08:20:31]<mstenta[m]>That's something that's pretty easy to test with Docker, though... so might just give that a quick go right now
[08:28:36]<mstenta[m]>> tldr: it is literally happening DURING php's `exit` function
[08:28:36]<mstenta[m]>(also worth mentioning: PHP lets you define other code that runs during `exit` via "shutdown functions" (https://www.php.net/manual/en/function.register-shutdown-function.php), which Drupal does... so there is more to dig into there...)
[09:00:51]<mstenta[m]>paul121: OH SNAP!
[09:01:22]<mstenta[m]>> One thing I wonder is if it's related to the MariaDB version
[09:01:22]<mstenta[m]>I just tried with `image: mariadb:10.3` and IT WORKED! the theme remains enabled between those install steps!
[09:01:30]<mstenta[m]>time to open an issue to document this :-)
[09:15:54]<mstenta[m]>https://github.com/farmOS/farmOS/issues/272
[10:05:40]<paul121[m]>wow! good find.
[10:07:22]* lpuro[m] has joined #farmos
[10:09:07]<lpuro[m]>Good Morning all. I just wanted to introduce myself. My name is Leah Puro and I'm the new research coordinator at Wolfe's Neck Center. I'm just getting started on data entry in FarmOs as I get access to historical Wolfe's Neck Management data. I'm looking forward to working with all of you!
[10:11:03]<paul121[m]>Nice to meet you, Leah! Sounds like a sweet gig! :D
[10:12:01]<paul121[m]>Let us know if you have any questions, ideas, etc... any feedback is helpful!
[10:58:33]* cpm has joined #farmos
[11:05:27]<mstenta[m]>Hi lpuro - welcome!
[11:05:36]<mstenta[m]>I was just on a call with Dorn :-)
[11:06:13]<mstenta[m]>Definitely feel free to ask questions here - or on the farmOS forum (maybe better for long-term visibility and discussions): https://farmOS.discourse.group
[11:46:56]* JustTB has quit (Quit: Leaving.)
[11:48:47]* JustTB has joined #farmos
[12:24:58]<jgaehring[m]>great to see you here, lpuro! 👋
[12:36:35]* skipper_is[m] has quit (Ping timeout: 246 seconds)
[12:36:43]* skipper_is[m] has joined #farmos
[12:53:24]* phantomse[m] has quit (Ping timeout: 246 seconds)
[12:54:20]* phantomse[m] has joined #farmos
[13:37:54]* JustTB has quit (Ping timeout: 265 seconds)
[13:59:35]* ethanrublee[m] has quit (*.net *.split)
[13:59:35]* symbioquine[m] has quit (*.net *.split)
[13:59:36]* scrdcow[m] has quit (*.net *.split)
[13:59:36]* dazinism has quit (*.net *.split)
[14:03:51]* ethanrublee[m] has joined #farmos
[14:03:51]* symbioquine[m] has joined #farmos
[14:03:51]* scrdcow[m] has joined #farmos
[14:03:51]* dazinism has joined #farmos
[15:32:19]* JustTB has joined #farmos
[18:07:47]* JustTB has quit (Quit: Leaving.)
[18:51:05]* JustTB has joined #farmos
[19:08:54]* JustTB has quit (Ping timeout: 256 seconds)
[19:24:44]* JustTB has joined #farmos
[19:49:53]* ralphyb[m] has joined #farmos