Monday, May 16th, 2022, 00:20 UTC | ||
[00:20:38] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[00:21:14] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[00:21:14] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[00:52:12] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[01:36:49] | peper03 (peper03!~peper03@mythtv/developer/peper03) has joined #mythtv | |
[01:38:20] | peper03_ (peper03_!~peper03@mythtv/developer/peper03) has quit (Ping timeout: 252 seconds) | |
[02:34:53] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[02:44:20] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[05:41:47] | xris (xris!~xris@seagl/staff/xris) has quit (*.net *.split) | |
[05:42:03] | xris (xris!~xris@75.172.195.146) has joined #mythtv | |
[05:42:33] | xris (xris!~xris@75.172.195.146) has quit (Changing host) | |
[05:42:34] | xris (xris!~xris@seagl/staff/xris) has joined #mythtv | |
[05:42:34] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v xris | |
[07:16:21] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv | |
[07:43:01] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has joined #mythtv | |
[12:40:57] | mad_enz (mad_enz!~mad_enz@lnsm4-toronto12-50-101-118-206.internet.virginmobile.ca) has quit (Ping timeout: 256 seconds) | |
[12:48:37] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[12:48:38] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[12:49:58] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Client Quit) | |
[12:53:57] | mad_enz (mad_enz!~mad_enz@2605:8d80:480:372a:9f35:7c4c:bfb5:910b) has joined #mythtv | |
[13:19:32] | mad_enz (mad_enz!~mad_enz@2605:8d80:480:372a:9f35:7c4c:bfb5:910b) has quit (Ping timeout: 248 seconds) | |
[13:45:08] | paul-h (paul-h!~paul@86.23.154.107) has joined #mythtv | |
[13:45:08] | paul-h (paul-h!~paul@mythtv/developer/paul-h) has joined #mythtv | |
[13:45:08] | paul-h (paul-h!~paul@86.23.154.107) has quit (Changing host) | |
[13:45:08] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v paul-h | |
[13:46:07] | ** stuarta waves to paul-h ** | |
[13:46:20] | paul-h: | good afternoon |
[13:47:32] | paul-h: | I hear Peter was having problems with translations – I'm just adding a translation to see if it all works still |
[13:48:54] | stuarta: | great |
[13:49:09] | paul-h: | All seems to be working OK for me using the en_GB translation |
[13:50:05] | stuarta: | are you able to write up the process? |
[13:52:10] | paul-h: | There is some basic instructions in the wiki I could expand on those |
[13:53:18] | paul-h: | I use Linga VSC extension which does most of the work for you but it can be a little finicky to get it to behave sometimes |
[13:53:58] | paul-h: | That pretty much sums up VSC if I'm honest |
[13:53:58] | stuarta: | ah cool. i see the stuff you've done on the wiki. should be enough to get started |
[13:56:14] | paul-h: | My guess would be he is expecting it to work in the Angular dev server without first doing an install of the backend or at least the html directory since it is the backend that is serving up the translation files |
[13:56:43] | paul-h: | Or maybe he is trying it on a dev |
[13:56:49] | stuarta: | that was my thought too (not installing) |
[13:57:36] | paul-h: | ..server before doing the npm run build or whatever the command is |
[13:58:44] | stuarta: | would symlinking the assets dir (or assests/i18n) help? |
[14:01:19] | paul-h: | Not sure. Not being able to just put stuff in the assets directory and have it just work is a pain though |
[14:29:41] | stuarta: | must be a way |
[14:32:17] | stuarta: | a variation of the rewrite code to serve '/assets' from a different root dir, combined with some installation tweaks (possibly build tweaks) to put it where we want it |
[14:38:48] | paul-h: | I've updated the wiki a little hopefully it makes sense |
[14:38:55] | stuarta: | might even be simpler than that, put it where angular expects it for the dev env to work, then ensure that `make install` copies it under the html dir |
[14:40:29] | paul-h: | Just realised something I never commits my .lingua file so the plugin won't able to find translation json files |
[14:40:49] | stuarta: | doh |
[14:42:33] | paul-h: | Translations should still work it's just the Lingua extension wont work without it to be able to add/edit them |
[14:49:28] | DevMythNotifyBot: | COMMIT: paul-h pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/0cb9 . . . d303e3de3a21 |
[15:01:30] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[15:01:30] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[15:15:48] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[15:18:30] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[15:18:30] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[15:23:08] | paul-h: | just a suggestion for the network error messages maybe we could use a p-messages? https://www.primefaces.org/primeng/messages |
[15:23:53] | stuarta: | that's what i need to warn the user they don't have a default SG defined |
[15:24:14] | stuarta: | paul-h: fyi, i've been working on adding storage group stuff to the setup wizard |
[15:24:35] | stuarta: | which is where those cleanup and re-orgs came from. killing off a bunch of errors angular was throwing |
[15:26:15] | stuarta: | oh and i may end up moving the "next" buttons to the RHS |
[15:26:30] | stuarta: | seems a bit more logical |
[15:26:56] | paul-h: | OK cool I kept putting that off and finding something else to so :) |
[15:27:22] | stuarta: | hah, figured i would try to get what we have working first, then move onto more stuff |
[15:29:16] | stuarta: | also i can see the dashboard just using the data from the status page, just being nicer |
[15:29:25] | stuarta: | s/from/same as |
[15:33:44] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Ping timeout: 250 seconds) | |
[15:46:15] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[15:46:16] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[15:48:11] | peterbennett: | paul-h: I can change my messages to use prime message |
[15:51:29] | stuarta: | it'll make for a consistent interface if we can all use those |
[15:54:50] | peterbennett: | It seems to get its translation strings by magic. I did a grep on the entire source directory an deleted every file with the "Please note this is a work in progress" text in it. Shut down the backend, running with ng serve still finds the text. |
[15:55:10] | peterbennett: | deleted angular cache |
[15:56:52] | stuarta: | they come from the assets which are served from the backend and are under html/assets/i18n |
[15:57:06] | stuarta: | ie. outside the html/backend tree |
[15:57:18] | stuarta: | we were just discussing if we can improve that |
[15:57:21] | peterbennett: | Hmmm it still finds them when the backend is down |
[15:57:43] | peterbennett: | but does not find my additions when the backend is up or down |
[15:58:13] | peterbennett: | This is with ng serve testing |
[15:58:51] | stuarta: | but have you done a `make install` in the html dir, once you do your changes? |
[15:59:12] | peterbennett: | i did a full make install on the whole mythtv |
[15:59:20] | peterbennett: | and restarted the backend |
[16:01:32] | peterbennett: | if I run http://localhost:6744/assets/i18n/en_US.json on a browser I get the json file with the changes in it |
[16:06:05] | paul-h: | Are you using http://localhost:4200/ to view it? |
[16:07:29] | paul-h: | http://localhost:6744/ wont work unless you have rebuild the webapp using npm run build and install the result |
[17:12:27] | paul-h (paul-h!~paul@mythtv/developer/paul-h) has quit (Quit: Konversation terminated!) | |
[17:25:32] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Ping timeout: 250 seconds) | |
[17:26:00] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[17:26:01] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[17:26:49] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Client Quit) | |
[18:03:36] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[18:03:37] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[18:53:52] | mad_enz (mad_enz!~mad_enz@24.114.83.11) has joined #mythtv | |
[18:55:05] | mad_enz (mad_enz!~mad_enz@24.114.83.11) has quit (Max SendQ exceeded) | |
[18:55:31] | mad_enz (mad_enz!~mad_enz@2605:8d80:580:7f8b:5fd5:b5aa:66a9:e56e) has joined #mythtv | |
[19:04:05] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[19:21:31] | mad_enz (mad_enz!~mad_enz@2605:8d80:580:7f8b:5fd5:b5aa:66a9:e56e) has quit (Remote host closed the connection) | |
[19:33:17] | DevMythNotifyBot: | COMMIT: kmdewaal pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/d303 . . . b44bd89a32a9 |
[19:36:01] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[19:36:02] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[19:44:38] | DevMythNotifyBot: | COMMIT: kmdewaal pushed 1 commit(s) to branch fixes/32: https://github.com/MythTV/mythtv/compare/2607 . . . 53c77f01324e |
[20:08:01] | ooshlablu (ooshlablu!~ooshlablu@98.217.124.239) has quit (Remote host closed the connection) | |
[20:09:10] | ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has joined #mythtv | |
[20:09:49] | ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has quit (Client Quit) | |
[20:16:44] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[20:22:02] | DevMythNotifyBot: | COMMIT: kmdewaal pushed 1 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/b44b . . . be229569fed0 |
[20:42:03] | DevMythNotifyBot: | COMMIT: paul-h pushed 2 commit(s) to branch master: https://github.com/MythTV/mythtv/compare/be22 . . . 71c7e8687d3a |
[21:01:21] | paul-h (paul-h!~paul@pres-25-b2-v4wan-161467-cust2666.vm29.cable.virginm.net) has joined #mythtv | |
[21:01:21] | paul-h (paul-h!~paul@mythtv/developer/paul-h) has joined #mythtv | |
[21:01:21] | paul-h (paul-h!~paul@pres-25-b2-v4wan-161467-cust2666.vm29.cable.virginm.net) has quit (Changing host) | |
[21:01:21] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v paul-h | |
[21:03:42] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[21:03:42] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett | |
[21:20:23] | paul-h: | peterbennett: you could use your browsers debug tools to see which *.json file is being downloaded and what it contains |
[21:20:34] | paul-h: | don't know what browser you use but In Firefox the network tab allows you to see all that stuff easily |
[21:20:44] | peterbennett: | I am using chrome |
[21:21:27] | peterbennett: | Maybe the browsers cache stored an old version – I did not think of that... |
[21:21:37] | peterbennett: | I will try clearing the cache |
[21:22:10] | paul-h: | Oddly I see the same problem with Chrome!! |
[21:23:00] | peterbennett: | Perhaps oour web serve does not return a correct file updated time so the browser uses teh cache |
[21:24:45] | stuarta: | you should see in the chrome debugger if it was served from memory or downloaded again |
[21:25:41] | stuarta: | i normally have "disable cache" turned on in the chrome debugger whilst developing. just find it easier |
[21:25:49] | paul-h: | For me Chrome works on port 4744 but not on 4200 |
[21:26:17] | stuarta: | so the angular dev web server is the one not working quite right |
[21:26:30] | stuarta: | perhaps has it cached |
[21:27:34] | peterbennett: | No but that file is apparently served for mythbackend as per your proxy |
[21:27:45] | peterbennett: | from mythbackend |
[21:29:30] | stuarta: | ooo, so it is :-) |
[21:29:49] | peterbennett: | where do I turn off the cache in chrome? |
[21:30:27] | stuarta: | open the web debugger (ctrl-shift-j) whilst on the webapp page and it's on the network tab |
[21:32:04] | peterbennett: | Ahh ok that looks like it has a bunch of useful things |
[21:32:18] | stuarta: | many many many useful things!! |
[21:32:53] | stuarta: | there's even an angular plugin for the chrome developer tools (aka web debugger) |
[21:33:30] | peterbennett: | I did install teh angualr plugin bit I have not found much use for it so far |
[21:33:37] | peterbennett: | the console is very useful |
[21:34:01] | stuarta: | no it's not hugely useful, it's mainly for inspecting the state of components, which is far too low level for our needs |
[21:36:36] | peterbennett: | yes en_US.json is loading from cache |
[21:37:10] | peterbennett: | yep – disable cache fixed it |
[21:38:04] | peterbennett: | We probably need to find why it is caching the file, it could affect end users |
[21:38:40] | peterbennett: | OK I can get moving on finishing up the i18n for miscellaneous and then work on other pages |
[21:38:49] | stuarta: | it's unlikely though, as they would only be using it as shipped, and an upgrade to change it would normally have a BE restart |
[21:39:13] | peterbennett: | I restarted BE many times and still got the cached version |
[21:39:38] | stuarta: | weird, will have to pull apart the headers and see why |
[21:39:41] | peterbennett: | Days later it was still using teh cached version |
[21:40:50] | peterbennett: | Can you add a nocache parameter somewhere? The header would have to be changed |
[21:43:12] | stuarta: | probably, but would like to understand why |
[21:43:30] | ** stuarta is currently working on some paperwork ** | |
[21:43:34] | peterbennett: | paul-h: Is it ok if I continue with the next tabs of the concertina ? Are you woking on any of it? |
[21:44:06] | paul-h: | Sure I'm not working on any of it |
[21:44:11] | stuarta: | peterbennett: fyi, i'm doing storage groups within setup wizard |
[21:44:52] | peterbennett: | OK this is all in the backend settings, not the wizard, so we should be OK. |
[21:44:56] | stuarta: | oddly i'm finding the webapp development the most fun atm |
[21:45:02] | stuarta: | peterbennett: agreed they are separate |
[21:45:32] | peterbennett: | I should also look at why the program guide hangs the system when there is no program data |
[21:46:27] | stuarta: | yeah, i would expect that to return an empty dataset, which iirc, it did on my test box, which is why i proxied /Guide to my other backend |
[21:49:16] | peterbennett: | on my test box mysql goes into 100%utilization when there is no data |
[21:49:24] | stuarta: | which is just weird |
[21:52:39] | Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!) | |
[22:01:10] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.) | |
[22:01:26] | paul-h (paul-h!~paul@mythtv/developer/paul-h) has quit (Quit: Konversation terminated!) | |
[22:47:21] | SteveGoodey (SteveGoodey!~steve@2a00:23c5:7d83:6501:fa68:6631:5ed6:d871) has quit (Quit: Konversation terminated!) | |
[23:58:06] | peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv | |
[23:58:07] | Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.