< 282020-01-29⋎30 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
00:34*JustTB has quit (Ping timeout: 260 seconds)
00:46*JustTB has joined
02:27*JustTB has quit (Ping timeout: 268 seconds)
03:11*JustTB has joined
05:54*JustTB has quit (Ping timeout: 265 seconds)
06:09*JustTB has joined
06:31*JustTB has quit (Ping timeout: 260 seconds)
06:45*JustTB has joined
07:18*JustTB has quit (Ping timeout: 265 seconds)
07:33*JustTB has joined
07:59*JustTB has quit (Ping timeout: 265 seconds)
08:47*JustTB has joined
09:15*JustTB has quit (Ping timeout: 265 seconds)
09:30*JustTB has joined
09:57*JustTB has quit (Ping timeout: 265 seconds)
10:11*JustTB has joined
10:35*gunter[m] has joined
12:05*JustTB has quit (Ping timeout: 240 seconds)
12:20*JustTB has joined
15:21*JustTB has quit (Quit: Leaving.)
15:21*JustTB1 has joined
15:53*JustTB1 has quit (Ping timeout: 268 seconds)
15:54*JustTB has joined
19:47skipper_is[m]I'm trying to view the average weights of my kids in Farm OS, using the reports, but it is a blank chart...
19:47*uploaded an image: image.png (20KB) < matrix.org/_matrix/media/r0/download/mat >
19:48skipper_is[m]It throws the following error:
19:48skipper_is[m]> Notice: Undefined variable: table_data in farm_livestock_weight_group_report() (line 491 of /var/www/html/farmOS/profiles/farm/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.module).
19:50*JustTB has quit (Ping timeout: 265 seconds)
19:55mstenta[m]skipper_is: are your weight logs observations? and do they have "Measure: Weight" set?
19:56mstenta[m](they should if they are created through the "Weight" bulk operation button)
19:56skipper_is[m]I created them through each individual animal's page (so, edit the animal, set the weight in the box)
19:56skipper_is[m]There is an observation with the weight measur set
19:56mstenta[m]ok
19:57*uploaded an image: image.png (48KB) < matrix.org/_matrix/media/r0/download/mat >
19:58skipper_is[m]One of the weight logs on one of the kids
19:59mstenta[m]Oh hmm. I wonder if this is related to the modification you put into place to fix the postgresql issue with groups/locations
20:00mstenta[m]It may be using that same query to get the list of group members in your Kids group
20:00skipper_is[m]Ahh ok
20:00skipper_is[m]I'm just updating FarmOS as I think i'm a bit out of date anyways, and I'll try again
20:01mstenta[m]That postgres bug hasn't been fixed yet :-)
20:01mstenta[m] * That postgres bug hasn't been fixed yet :-(
20:01mstenta[m]So if you update, you'll need to maintain those same modifications
20:01mstenta[m]Which means this still won't work :-(
20:01skipper_is[m]Ah yea
20:02mstenta[m]Once that gets fixed, though, this should start working for you
20:03skipper_is[m]The sites folder doesn't need copying across on update does it?
20:04skipper_is[m]Oh, that update broke some other things Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'farm_livestock_weight_group_report_form' not found or invalid function name in drupal_retrieve_form() (line 844 of /var/www/html/farmOS/includes/form.inc).
20:04*JustTB has joined
20:05mstenta[m]How are you updating? `git pull`?
20:06skipper_is[m]wget the drupal file
20:06mstenta[m]Oh yes you always need to preserve the sites directory!
20:06mstenta[m]If I'm understanding you correctly
20:06skipper_is[m]Weird, the weights are still displayed in the animal page, but there is no weight tab anymore
20:07mstenta[m]Ok try going to `/update.php` and clickign through the steps
20:07*uploaded an image: image.png (15KB) < matrix.org/_matrix/media/r0/download/mat >
20:07mstenta[m]You should always do that after updating code, in case there are any db updates
20:07skipper_is[m]Ah I assumed the cron job ran the updates
20:08mstenta[m]The reason the tab isn't showing (I think) is because the menu router table needs to be refreshed
20:08mstenta[m]NOPE! You always need to run updates yourself!
20:08mstenta[m]Very important to do that FIRST THING after changing code
20:08mstenta[m]Just in case any db updates are needed
20:08skipper_is[m]Says no pending updates....
20:08mstenta[m]Ok, still click "Next" or whatever until the end
20:09mstenta[m]I think that will refresh the menu router table
20:09mstenta[m]If not...
20:09skipper_is[m]There is no next page button or anything
20:09mstenta[m]Oh ok
20:09mstenta[m]Is the menu tab working now?
20:09mstenta[m]If not...
20:09skipper_is[m]Nope
20:09mstenta[m]Go to `/admin/modules` and click the "Save Configuration" button
20:09mstenta[m](submitting the modules page definitely rebuilds the menu)
20:10skipper_is[m]That is a negative
20:10mstenta[m]Ok I'm gonna have to defer to paul121
20:10skipper_is[m]If I toggle livestock weight, it'll keep my records right?
20:11skipper_is[m]They're saved as observations, so should be ok
20:11mstenta[m]Yes it won't delete your records
20:11mstenta[m]But that's a good idea to try
20:16skipper_is[m]Nope
20:17skipper_is[m]And all of my reports have gone... Hmm
20:18mstenta[m]You re-enabled it, and now the individual report is gone too?
20:18skipper_is[m]Yup, the tab is empty
20:18mstenta[m]So... I'm not sure what commit you were on before the update... but I do remember moving those report paths around at one point... not sure if that's what you're experiencing though
20:19mstenta[m]The tab is empty? Or the tab doesn't exist?
20:19mstenta[m](can you see the actual tab?)
20:19skipper_is[m]tab is there, but there is nothing in it
20:19mstenta[m]huh.
20:19*uploaded an image: image.png (7KB) < matrix.org/_matrix/media/r0/download/mat >
20:19mstenta[m]and that's the individual animal one, right?
20:19mstenta[m]oh
20:19skipper_is[m]I create the weirdest bugs
20:19skipper_is[m]no that is all reports
20:20mstenta[m]so just to confirm: you can see the "Weight" tab on an animal record, but when you click on it the page is empty
20:20mstenta[m]and: under the /farm/reports tab on the dashboard, there are no options
20:20mstenta[m]?
20:20skipper_is[m]Negative on both
20:20skipper_is[m]Although the current weight is displayed on the asset page
20:20mstenta[m]hmm
20:21mstenta[m]are there any errors in `/admin/reports/dblog`?
20:22skipper_is[m]One page not found for farm/quantity
20:22skipper_is[m]Assorted logs for me enabling and disabling the relevant modules
20:22skipper_is[m]I'll try a clear CC..
20:23mstenta[m]I'm trying to figure out what version you had before updating...
20:23mstenta[m]Did you have the "Reports" tab on the dashboard?
20:23skipper_is[m]I'll have a quick look
20:23skipper_is[m]Yea, tab is there
20:26skipper_is[m]I think it must've been October time
20:26mstenta[m]It sounds like your `{menu_router}` table is not updated
20:26mstenta[m]Do you have drush?
20:26skipper_is[m]No, although I'm sure I used to..
20:27*needs more coffee
20:33*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
20:34*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
20:34mstenta[m]does that return anything?
20:34skipper_is[m]in postgresql?
20:34mstenta[m]yea
20:34skipper_is[m]no return
20:35mstenta[m]ok that's the problem
20:35mstenta[m]one of them anyway
20:36skipper_is[m]Shouldn't the menu router update when a module is enabled?
20:36mstenta[m]I would think
20:37mstenta[m]It should definitely update when the admin modules form is submitted
20:37skipper_is[m]No way to force an update?
20:38mstenta[m]Submit that form will do it
20:38mstenta[m]But if that's not fixing it then something else is going on
20:38mstenta[m]You don't think anything funky happened when you updated files do you?
20:39mstenta[m]You deleted everything except sites, and then unzipped the packaged 7.x-1.x-dev code into the webroot?
20:39mstenta[m](except for sites
20:39skipper_is[m]No, I did an overwrite... You think maybe there is something that wasn't over written?
20:39skipper_is[m]I'll do a full wipe bar sites
20:40mstenta[m]maybe - i'm just taking guesses at this point haha
20:40mstenta[m]i hope that didn't happen, i would be worried about other issues potentially
20:40mstenta[m]of course, you DID take a backup of your database before updating, right? ;-)
20:41skipper_is[m]I did indeed
20:41*sighs in relief
20:41skipper_is[m]Though I've never had to do a restore, so I don't really want to test it!
20:41mstenta[m]:-)
20:41mstenta[m]let's hope you don't have to
20:41skipper_is[m]Indeed!
20:42skipper_is[m]Empty folder bar sites looks so wrong...
20:42mstenta[m]Here is the line of code that defines the `farm/report/weight` path: github.com/farmOS/farmOS/blob/7.x-1.x/mo
20:42mstenta[m]That is what will be read during a menu update
20:42mstenta[m]So also look at that in your code and make sure it's exactly the same
20:43skipper_is[m]Ah it just duplicated everything... what the hell?!
20:43mstenta[m]It should be if the code was properly updated
20:43mstenta[m]duplicated?
20:43skipper_is[m]Yea, I ended up with 2x every folder (except hafl were with (1)...)
20:44skipper_is[m]next time, I will verify it is empty!
20:44mstenta[m]oh do you think the same thing happened before?
20:44skipper_is[m]No, I overwrote before
20:45skipper_is[m]..module in the wrong place XD
20:45skipper_is[m]I put the weather module in the farm/modules not in sites..
20:45skipper_is[m]Now I deleted it..
20:46mstenta[m]ooh... yea if you didn't delete everything first then you might have ended up with some old things till there
20:46mstenta[m] * ooh... yea if you didn't delete everything first then you might have ended up with some old things still there
20:46skipper_is[m]Yea, hopefully that was the issue.. Just got to refind the modules I put in the wrong place the first time around
20:46mstenta[m]not sure if that explains the issue though...
20:46skipper_is[m]No, but it's always good to have a tidy up
20:47mstenta[m]indeed
20:48skipper_is[m]I should probably just use Farmier, but I'd probably break that...
20:50mstenta[m]hahaha
20:51skipper_is[m]PICNIC error...
20:51mstenta[m]FYI skipper_is I just found this issue about PostgreSQL support in Drupal 8: www.drupal.org/project/drupal/issues/256
20:51mstenta[m]haha haven't heard that one before (googled it) :-)
20:52mstenta[m]is it working for you now?
20:52skipper_is[m]Partially...
20:52skipper_is[m]The tab is back in the animal page
20:53skipper_is[m]But I get our old friend SQL error 42601 when I try to do the report
20:53skipper_is[m](The report tab has all it's friends back)
20:53mstenta[m]Oh ok yea, that's to be expected, because you overwrote your modification
20:53skipper_is[m]So the error in the report is due to the postgresql bug]
20:53mstenta[m]And Field Kit won't work for you also until you remodify
20:53skipper_is[m]Yea, I'm just about to do so now
20:53mstenta[m]Right - so that's probably all the same PostgreSQL issue
20:53skipper_is[m]Looks like
20:54mstenta[m]Well - at least it's just ONE issue! haha
20:54mstenta[m]With many children
20:54skipper_is[m]I'll add it to the list :P
20:54mstenta[m]thanks
20:57skipper_is[m]Oh 3 errors it throws!
21:03skipper_is[m]Which were the places to disable? Farm_group.farm_area.inc and there was one other?
21:05mstenta[m]github.com/farmOS/farmOS/issues/193#issu
21:06skipper_is[m]Yea, couldn't find farm_movement_area_assets_property_get()... I assumed farm_movement.locatrion.inc
21:10mstenta[m]github.com/farmOS/farmOS/blob/729e996261
21:13skipper_is[m]Nice one, I'm just going to comment that at the end of my issue log, so next time I break it, I ca find it again!
21:13mstenta[m]cool! sounds good!
21:14skipper_is[m]Right then! Well, everything appears to be, well, if not working, where it was when I started poking!
21:14skipper_is[m]Much appreciated!
21:14skipper_is[m]I'd better go check my incubator.. First time incubating eggs... And there is one poking it's beak out
21:14skipper_is[m]But he's been doing it for the last 24h, so not sure whether to cut him free... Or give him more time
21:14mstenta[m]cool!
21:14mstenta[m]post a pic if you think of it :-)
21:15*uploaded an image: image.png (528KB) < matrix.org/_matrix/media/r0/download/mat >
21:15skipper_is[m]Well, that's all it is at the moment... Dunno how long it is meant to take
22:57*JustTB has quit (Quit: Leaving.)
23:03*berryfarmer[m] has joined
23:07berryfarmer[m]hi @all I was wondering if there is a way to use a , instead of . a decimal separator? I somehow like that the interface is english but input and output numbers are not correct since I am in Germany and we use 1,00 for saying its one point something while in the US 1,00 would mean one hundred right?
23:09berryfarmer[m]So what 1,234,567.89 would be in the US is 1.234.567,89 in Germany. Is this something that can be changed?
23:17berryfarmer[m]According to wikipedia we are not the only ones using this system: others are Argentina, Austria, Belgium (Dutch), Bosnia and Herzegovina, Brazil, Chile, Colombia, Costa Rica, Croatia, Denmark, Germany, Greece, Indonesia, Italy, Netherlands, Romania, Slovenia, Spain, Turkey, Vietnam.
23:48mstenta[m]Hi @berryfarmer[m] thanks for bringing this up
23:49mstenta[m]This is something we can do with Drupal's date formatting features I believe
23:49mstenta[m]Would you mind opening a feature request on GitHub?
23:50mstenta[m]github.com/farmOS/farmOS/issues
23:50*JustTB has joined

< 282020-01-29⋏30 >