IRC logs for #farmOS, 2020-02-28 (GMT)

2020-02-27
2020-02-29
TimeNickMessage
[20:52:31]<mstenta[m]>thanks jgaehring !
[20:52:42]<mstenta[m]>i'm still a little confused...
[20:52:47]<mstenta[m]>i'll post a comment in a moment
[20:52:51]<jgaehring[m]>haha, so am I!
[20:53:24]<jgaehring[m]>I thought I had it worked out, but then I dug deeper, and now...
[20:53:29]<jgaehring[m]>🤷
[20:55:22]<mstenta[m]>haha yea same here
[20:55:31]<mstenta[m]>there's something strange afoot
[20:55:54]<mstenta[m]>finishing my comment with some thoughts now...
[22:17:31]<mstenta[m]>> Yes, now it works.
[22:17:32]<mstenta[m]>zedrckr are you absolutely sure it's working for you consistently in https://mstenta.github.io/farmOS-map?
[22:18:27]<mstenta[m]>@yenzand said they tested it an are still experiencing issues, but that it is inconsistent:
[22:18:27]<mstenta[m]>> The first time I refresh the page it remembers the selected base layer. After a random number of page refreshes (sometimes only two) it reverts back to mapbox satellite.
[22:18:53]<mstenta[m]>Can you try refreshing a lot of times and see if it changes for you like that?
[22:19:24]<mstenta[m]>I have some new changes we can test if you do still experience the issue
[05:59:27]* olaf[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[06:02:40]* donblair[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[06:02:50]* alexandros[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[06:03:08]* adinfinitum[m] has quit (Quit: Idle for 30+ days)
[06:04:56]* lablab[m] has quit (Quit: Idle for 30+ days)
[06:05:04]* frederike[m] has quit (Remote host closed the connection)
[06:06:47]* mateo[m] has quit (Quit: Idle for 30+ days)
[06:09:00]* todrobbins[m] has quit (Quit: Idle for 30+ days)
[06:09:48]* friedrich[m] has quit (Quit: Idle for 30+ days)
[06:10:24]* stefan[m]2 has quit (Quit: Idle for 30+ days)
[06:29:36]* botlfarm[m] has quit (Quit: Idle for 30+ days)
[06:29:36]* corlock[m] has quit (Quit: Idle for 30+ days)
[06:29:36]* evert420[m] has quit (Quit: Idle for 30+ days)
[06:29:36]* munjoma[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[06:29:36]* spitz234[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[06:29:38]* sudokita[m] has quit (Quit: Idle for 30+ days)
[06:29:38]* wimpertier[m] has quit (Quit: Idle for 30+ days)
[06:30:28]* leogaggl[m] has quit (Quit: Idle for 30+ days)
[07:00:19]* wimpertier[m] has joined #farmos
[08:36:16]<zedrckr[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/STFRhKgNVxPjlvJz... >
[08:40:23]<zedrckr[m]>mstenta:
[08:40:23]<zedrckr[m]>I had these errors when updating to the latest version do you think some caused the error
[08:40:36]<zedrckr[m]>ACTION uploaded an image: image.png (49KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/reGjErDGrcRuiaZn... >
[08:54:37]<zedrckr[m]>Inglés
[08:54:37]<zedrckr[m]>Tengo este error sabes algo acerca de esto
[08:54:38]<zedrckr[m]>I have this error you know something about this
[08:54:50]<zedrckr[m]> * I have this error you know something about this
[08:55:02]<zedrckr[m]>ACTION uploaded an image: image.png (13KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/pSjhAhbzhpQdJJrP... >
[09:05:21]<mstenta[m]>Did you follow all the instructions on farmOS.org/hosting/updating?
[09:07:12]<zedrckr[m]>Yes it is
[09:08:02]<zedrckr[m]><zedrckr[m] "image.png"> these were the mistakes that I generate
[09:09:28]<mstenta[m]>Where is the first screenshot from?
[09:09:35]<mstenta[m]>I don't recognize that page layout
[09:09:55]<mstenta[m]>It shows a list of the modules that were removed in the new version though.
[09:10:02]<mstenta[m]>Did you run update.php?
[09:10:36]<zedrckr[m]><mstenta[m] "Where is the first screenshot fr"> It's Dashboard
[09:11:25]<zedrckr[m]><mstenta[m] "Did you run update.php?">
[09:13:39]<mstenta[m]>Are you able to restore the old version from a backup?
[09:14:07]<zedrckr[m]>Yes, now I'm on it
[09:17:27]<mstenta[m]>So... When did the trouble start? Because I thought you were able to use the map earlier (and discovered the map bug)
[09:17:42]<mstenta[m]>Is it only the dashboard that is showing an error for you?
[09:17:57]<mstenta[m]>Did the error start happening later? Or right after the update?
[09:19:06]<zedrckr[m]>I had not navigated to the dashboard, I was in areas testing the map, when I navigated there I threw the error
[09:20:39]<mstenta[m]>Thanks ok
[10:28:27]<zedrckr[m]>I already restored the backup
[10:28:49]<zedrckr[m]>Everything is working fine
[10:29:13]<mstenta[m]>Good - so you are back on the old version?
[10:29:28]<zedrckr[m]>Yes
[10:29:45]<zedrckr[m]>I have 7.x-1.2
[10:32:07]<mstenta[m]>Ok great - good to start fresh and try the upgrade again
[10:33:48]<zedrckr[m]><mstenta[m] "Ok great - good to start fresh a">
[10:34:26]<mstenta[m]>Ok, let me know how it goes
[10:34:32]<mstenta[m]>And be sure to follow the instructions on farmOS.org exactly
[10:35:29]<zedrckr[m]>it's okay
[10:35:36]<zedrckr[m]>Speaking of the map problem ...
[10:35:36]<zedrckr[m]>I have a farmier test and I change the base of the map in my Chrome browser and if you remember it.
[11:14:46]<zedrckr[m]><mstenta[m] "And be sure to follow the instru">
[11:43:38]<mstenta[m]>look in /admin/reports/dblog
[11:43:45]<mstenta[m]>that will show PHP errors, if any
[11:44:46]<zedrckr[m]>si hay
[11:46:07]<mstenta[m]>what errors are you seeing?
[11:51:00]<zedrckr[m]>ACTION uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/IdliccNcXCsCGZwZ... >
[12:03:18]<mstenta[m]>oooh interesting
[12:03:21]<mstenta[m]>Oooooooooooh
[12:03:27]<mstenta[m]>Ok I know what's happening
[12:04:01]<mstenta[m]>I introduced a bug that affects users who do not have PHP's BCMath extension installed
[12:04:42]<mstenta[m]>Ok so... two paths forward:
[12:04:42]<mstenta[m]>1. Can you install the PHP BCMath extension?
[12:04:42]<mstenta[m]>2. I will fix the bug in farmOS code
[12:07:29]<zedrckr[m]>ready, install bcmath, fixed
[12:08:04]<mstenta[m]>great!
[12:08:13]<mstenta[m]>thanks for helping to find that zedrckr
[12:08:21]<mstenta[m]>i am opening a bug report right now and will fix it
[12:08:36]<mstenta[m]>so that farmOS without bcmath still works
[12:08:53]<zedrckr[m]><mstenta[m] "thanks for helping to find that ">
[12:09:06]<mstenta[m]>https://github.com/farmOS/farmOS/issues/258
[12:09:27]<mstenta[m]>i know exactly where the problem is
[12:10:46]<zedrckr[m]>@mst It remains only to solve the maps
[12:11:05]<mstenta[m]>yes!
[12:11:11]<zedrckr[m]> * mstenta it remains only to solve the maps
[12:11:23]<mstenta[m]>i had waited to package the new release, because i wasn't sure if it was fixed
[12:11:40]<mstenta[m]>per the discussion in https://github.com/farmOS/farmOS-map/issues/65
[12:12:50]<mstenta[m]>but: if https://mstenta.github.io/farmOS-map/ is working for you, then you can just download https://mstenta.github.io/farmOS-map/farmOS-map.js and put it into your `profiles/farm/libraries/farmOS-map` directory
[12:12:56]<mstenta[m]>that should fix it for you
[12:13:16]<mstenta[m]>so you don't have to wait for the release
[12:13:33]<zedrckr[m]>i will try
[12:15:40]<zedrckr[m]>do I overwrite famOS-map.js?
[12:15:55]<mstenta[m]>Yes
[12:18:40]<zedrckr[m]>not working
[12:18:46]<zedrckr[m]>:(
[12:19:19]<mstenta[m]>oh
[12:19:35]<mstenta[m]>try clearing your drupal cache - do you know how to do that?
[12:20:09]<mstenta[m]>at /admin/config/development/performance
[12:20:39]<zedrckr[m]>Ok
[12:20:51]<mstenta[m]>oh also make sure that the farmOS-map.js file permissions didn't change or something... maybe Apache can't read it?
[12:20:57]<mstenta[m]>just guessing
[12:30:20]<zedrckr[m]>it doesn't work, clean the drupal cache, the chrome cache, and nothing
[12:35:24]<mstenta[m]>do you have any errors in your browser console?
[12:36:00]<mstenta[m]>are you able to load farmOS-map.js itself in the browser?
[12:36:17]<mstenta[m]>(look at the source of the page, find farmOS-map, copy the URL into a new tab)
[12:58:59]<zedrckr[m]><mstenta[m] "do you have any errors in your b"> No
[13:00:49]<zedrckr[m]>ACTION uploaded an image: image.png (241KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/eSLCJFzqrHjLWUGk... >
[13:01:18]<zedrckr[m]>that way?
[13:02:01]<mstenta[m]>ah not quite... can you "View source" on the farmOS page that is not working? and then run a search for "farmOS-map.js"
[13:02:41]<zedrckr[m]>oh i understand
[13:02:43]<zedrckr[m]>Ok
[13:06:42]<zedrckr[m]>is not loading the script
[13:06:50]<zedrckr[m]>ACTION uploaded an image: image.png (93KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jdvTrpoWrxCqJbrs... >
[13:07:27]<mstenta[m]>i wonder if you have the file named correctly in the correct directory, and if the file permissions are correct
[13:07:45]<mstenta[m]>it should be `profiles/farm/libraries/farmOS-map/farmOS-map.js`
[13:08:17]<zedrckr[m]>What permissions should you have?
[13:09:30]<mstenta[m]>should be basically the same as the other libraries in the parent directory
[13:09:39]<mstenta[m]>just want to make sure that apache can read and serve oit
[13:09:45]<mstenta[m]> * just want to make sure that apache can read and serve it
[13:11:40]<zedrckr[m]>ok, assign "chmod a + w" permissions
[13:12:07]<zedrckr[m]>ACTION uploaded an image: image.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GhkmgnblUqbMYyJG... >
[13:13:07]* scrdcow[m] has quit (Ping timeout: 240 seconds)
[13:13:26]* ringo[m]1 has quit (Ping timeout: 256 seconds)
[13:13:28]* dazinism has quit (Ping timeout: 240 seconds)
[13:13:28]* calbasi_matrix has quit (Ping timeout: 240 seconds)
[13:13:46]* ros-agriculture[ has quit (Ping timeout: 240 seconds)
[13:13:46]* paul121[m] has quit (Ping timeout: 240 seconds)
[13:13:46]* Dorn[m] has quit (Ping timeout: 240 seconds)
[13:14:00]* jimsolce[m] has quit (Ping timeout: 256 seconds)
[13:14:00]* abinash[m] has quit (Ping timeout: 256 seconds)
[13:14:23]<mstenta[m]>that makes the file writeable - but that won't be necessary
[13:14:58]<mstenta[m]>what page are you loading in farmOS?
[13:15:00]<mstenta[m]>the dashboard?
[13:16:22]<zedrckr[m]><mstenta[m] "the dashboard?"> yes
[13:16:39]<mstenta[m]>and what do you see?
[13:17:05]<zedrckr[m]>ACTION uploaded an image: image.png (56KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JAwlUKsWEgykNoPh... >
[13:17:30]<mstenta[m]>oh ok - the map is working, but the base layer is not
[13:17:34]<mstenta[m]>and what base layer is selected?
[13:17:45]<mstenta[m]>i misunderstood
[13:17:53]<mstenta[m]>i thought the whole map was broken
[13:19:09]<zedrckr[m]><mstenta[m] "and what base layer is selected?">
[13:20:27]<mstenta[m]>does it show any of the satellite imagery for either of those?
[13:20:35]<mstenta[m]>or is that broken too
[13:23:47]<zedrckr[m]>ACTION sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/KvCAVhMXFUZtJCGy... >
[13:24:43]<mstenta[m]>ok
[13:24:52]<mstenta[m]>thanks
[13:28:59]* scrdcow[m] has joined #farmos
[13:29:58]* ringo[m]1 has joined #farmos
[13:30:11]<mstenta[m]>i am going to send you another farmOS-map.js file to try... one moment
[13:30:37]<zedrckr[m]>ok thanks
[13:32:10]<mstenta[m]>ACTION posted a file: farmOS-map.js (505KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JmLlCHIEjnxTnrWd... >
[13:32:53]<mstenta[m]>this is just a build of the `fixLocalStorage` branch i made last night: https://github.com/farmOS/farmOS-map/compare/master...mstenta:fixLocalSt...
[13:33:15]<mstenta[m]>that has a few fixes is... it could be that your issue is actually multiple issues happening together
[13:33:31]<mstenta[m]>so let's see if this helps
[13:33:40]* calbasi_matrix has joined #farmos
[13:33:41]<zedrckr[m]>ok now i try
[13:33:58]<mstenta[m]>you will need to make sure that your browser is not caching the old version of file when you test too
[13:33:59]* abinash[m] has joined #farmos
[13:34:13]<zedrckr[m]>ok
[13:35:37]* jimsolce[m] has joined #farmos
[13:37:30]* Dorn[m] has joined #farmos
[13:38:18]* ros-agriculture[ has joined #farmos
[13:38:19]* paul121[m] has joined #farmos
[13:43:29]<zedrckr[m]>not working :(
[13:43:48]<mstenta[m]>just google still?
[13:44:45]<zedrckr[m]>yes, only google doesn't work
[13:58:35]<mstenta[m]>i wonder if it has been only google since the beginning?
[13:59:02]<mstenta[m]>maybe we've been trying to fix the wrong thing
[14:02:06]<zedrckr[m]>it's weird, I have a test in farmier and if I select google hybrid, I refresh the page and if you remember it
[14:02:19]<zedrckr[m]>ACTION uploaded an image: image.png (846KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XjvnNZOHAISgtZwz... >
[14:02:57]<mstenta[m]>oh it works for you in farmier?
[14:03:47]<mstenta[m]>this is a very perplexing issue
[14:03:47]<zedrckr[m]>if it works right
[14:04:38]<zedrckr[m]>and also in version 7.x-1.2, if I change the map, it works correctly
[14:05:21]<mstenta[m]>yea... 7.x-1.3 made major changes to the map code
[14:05:39]<mstenta[m]>that is very strange that it works on farmier, but not on yours
[14:06:11]<mstenta[m]>because farmier is not including ANY of the fixes that i made yesterday
[14:07:23]<mstenta[m]>can you test on a different computer? preferrably with a different browser/operating system?
[14:07:29]<mstenta[m]>or a phone?
[14:07:54]<mstenta[m]>i really want to figure out what is different about your setup - because I still have NEVER experienced this issue myself
[14:28:20]<mstenta[m]>ok i have an idea to try something...
[14:44:28]<mstenta[m]>ok... i added google layers to https://mstenta.github.io/farmOS-map/
[14:44:40]<mstenta[m]>can you tell me if the issue is happening on there for you?
[15:00:14]<zedrckr[m]><mstenta[m] "can you test on a different comp"> try in Firefox, in Chrome, but always in Windows. I don't have another operating system to try
[15:01:25]<zedrckr[m]><mstenta[m] "can you tell me if the issue is "> No, here if the map change works
[15:08:49]<zedrckr[m]>ACTION uploaded an image: image.png (41KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YFxbrWzXUsCJTmoI... >
[15:28:32]<zedrckr[m]>do not save in the localstorage
[15:41:23]<mstenta[m]>to confirm: when you select a google layer in https://mstenta.github.io/farmOS-map/ and then refresh the page, it is remembered?
[16:45:48]<zedrckr[m]><mstenta[m] "to confirm: when you select a go">
[16:51:47]<mstenta[m]>ok, i'm going to have to do more debugging later - thanks for helping to figure this out zedrckr
[16:51:51]<mstenta[m]>i will probably have more questions another day
[16:52:44]<zedrckr[m]>Ok, thanks.
[16:52:45]<zedrckr[m]>I'll keep version 7.x-1.2 for now