MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (82):

aloril, amessina, Anssi, Beirdo_, brfransen, Captain_Murdoch, Chutt, clever, coling, Cougar, danielk22, danielk221, dblain, dekarl1, Draiodoir_, ElmerFudd, ephemer0l, fetzerch, foxbuntu`, ghoti, Gibby_, gigem, GreyFoxx, Guest21244, IReboot, J-e-f-f-A, jams, jarle, jarryd, jheizer, joe______, joki, jpabq, jpabq_, jpharvey, jst, jwhite, kc, kenni, kormoc, kurre2, kwmonroe, laga, len, MaverickTech, moparisthebest, mrand1, MythBuild, MythLogBot, neufeld, NightMonkey, petefunk, poptix, purserj_, rhpot1991, rsiebert_, RSpliet, Seeker`, seld, Sharky-Sleep, skd5aner, sl1ce, SmallR2002_, sphery, sraue, stuarta, stuartm, superm1, taylorr, tgm4883, Tobbe5178, toeb, tonsofpcs, tris, unforgiven512, wagnerrp, wahrhaft, wilmoore-misc, wolfgang3, XDS2010, xris, _charly_
Tuesday, May 7th, 2013, 00:06 UTC
[00:06:06] wahrhaft (wahrhaft!~quassel@cpe-24-210-69-143.columbus.res.rr.com) has joined #mythtv
[00:08:01] wilmoore-misc (wilmoore-misc!~wilmoore@vlandnat.mystrotv.com) has quit (Remote host closed the connection)
[00:11:33] wahrhaft (wahrhaft!~quassel@cpe-24-210-69-143.columbus.res.rr.com) has quit (Remote host closed the connection)
[00:14:29] wahrhaft (wahrhaft!~quassel@cpe-24-210-69-143.columbus.res.rr.com) has joined #mythtv
[00:18:27] stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has quit (Ping timeout: 252 seconds)
[00:18:59] davidshay (davidshay!~davidshay@ip-64-134-170-204.public.wayport.net) has joined #mythtv
[00:22:00] IReboot (IReboot!~doug@CPE10bf48e67915-CM78cd8e7e342d.cpe.net.cable.rogers.com) has quit (Quit: Ex-Chat)
[00:23:04] Mousey (Mousey!~r0dent_@ross154.net) has quit (Quit: Read Error: Connection reset by beer)
[00:23:34] NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has quit (Remote host closed the connection)
[00:25:19] Draiodoir_ (Draiodoir_!~Draiodoir@c-75-73-31-51.hsd1.mn.comcast.net) has joined #mythtv
[00:27:38] Draiodoir (Draiodoir!~Draiodoir@c-75-73-31-51.hsd1.mn.comcast.net) has quit (Ping timeout: 245 seconds)
[00:58:19] wilmoore-misc (wilmoore-misc!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net) has joined #mythtv
[01:29:14] danielk221: jya: Yep I noticed the new safe_read code. Looks good.
[01:33:43] danielk221: If you point me to the the socket creation and deletion I can give it a read. To display the creation on a deletion threads you can just put a log message in the constructor and the destructor. The logging code should be printing the thread name to the log.
[01:39:55] danielk221: If you don't have a tcpSocket->moveToThread() call it will be owned and it's events handled by the thread that created it, including the calling of any callbacks. So if you call any of it's methods from another thread things can go boom.
[01:41:10] danielk221: I think the common problem is that a socket is passed to another thread that calls read() & write() methods on the socket, but the socket is still owned by the original thread, so the buffers that read() & write() touch are being updated in a non-threadsafe way in a different thread.
[01:43:25] davidshay: do you believe this is the issue with the slave backend causing the master to crash?
[01:44:42] danielk221: davidshay: No, I think that issue has to do with a mixup of the two socket types somewhere + some code that isn't handling bad data properly (i.e. accessing arrays past their bounds.
[01:45:47] davidshay: hmm. ok. seems like the slaves are sending things the master isn't expecting, esp. around QUERY_FREE_SPACE
[01:46:02] davidshay: almost all of the time, the things it seems to be crashing on contain the host name
[01:46:22] davidshay: and the slave logs when traced more completely are sending the response to QUERY_FREE_SPACE
[01:46:38] davidshay: which starts with host name, then directory, then numbers
[01:47:04] danielk221: oh? Can you add that info to the ticket? I think QUERY_FREE_SPACE is just one of the more frequent messages sent, but it might be meaningful.
[01:51:07] davidshay: ok. if you look at 11272 this is basically the same thing, and it gets the host name as an unknown command
[01:51:46] davidshay: It seems like it's getting the response to QUERY_FREE_SPACE and seeing it as a command rather than a response to a command, which is why I didn't know if what you were talking about above might be related.
[01:56:11] mad_enz (mad_enz!~Enz@CPE00508b114c3e-CM68b6fc3f96c0.cpe.net.cable.rogers.com) has joined #mythtv
[01:59:28] dmfrey (dmfrey!~dmfrey@65-78-98-83.c3-0.smt-ubr1.atw-smt.pa.cable.rcn.com) has joined #mythtv
[02:08:30] davidshay: Added to ticket, let me know if there is anything else you need me to do with debugging this one.
[02:23:43] davidshay (davidshay!~davidshay@ip-64-134-170-204.public.wayport.net) has quit (Quit: davidshay)
[02:24:43] stichnot (stichnot!~stichnot@adsl-69-110-157-184.dsl.pltn13.pacbell.net) has joined #mythtv
[02:24:43] stichnot (stichnot!~stichnot@adsl-69-110-157-184.dsl.pltn13.pacbell.net) has quit (Changing host)
[02:24:43] stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has joined #mythtv
[02:26:18] mad_enz (mad_enz!~Enz@CPE00508b114c3e-CM68b6fc3f96c0.cpe.net.cable.rogers.com) has quit (Quit: Leaving)
[03:26:14] dmfrey (dmfrey!~dmfrey@65-78-98-83.c3-0.smt-ubr1.atw-smt.pa.cable.rcn.com) has quit (Quit: Ex-Chat)
[03:40:28] fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has quit (Ping timeout: 256 seconds)
[03:41:29] fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has joined #mythtv
[04:22:13] hlcQuestion (hlcQuestion!46be2371@gateway/web/freenode/ip.70.190.35.113) has joined #mythtv
[04:22:40] hlcQuestion (hlcQuestion!46be2371@gateway/web/freenode/ip.70.190.35.113) has left #mythtv ()
[04:38:25] jya: danielk221: That's in Airplay server code:
[04:39:52] jya: libs/libmythtv/AirPlay/mythairplayserver.cpp
[04:41:34] jya: the tcp socket is received by the read connect ; there could be many, they are stored in a APHTTPRequest class instance. When a new client connects, it disconnects all the previously connected client by issuing a socket->disconnect() on all those sockets… from time to time, it crashes during that disconnect
[05:50:06] dekarl1 (dekarl1!~dekarl@p4FCEEAF2.dip0.t-ipconnect.de) has joined #mythtv
[05:50:28] dekarl (dekarl!~dekarl@p4FCEFF02.dip0.t-ipconnect.de) has quit (Ping timeout: 256 seconds)
[06:02:31] SteveGoodey (SteveGoodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has joined #mythtv
[06:06:58] FabriceMG (FabriceMG!~Thunderbi@217.112.59.207) has joined #mythtv
[06:14:07] SteveGoodey (SteveGoodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has quit (Quit: Konversation terminated!)
[06:34:45] toeb_ (toeb_!~tob@HSI-KBW-37-49-118-160.hsi14.kabel-badenwuerttemberg.de) has joined #mythtv
[06:40:24] toeb_ (toeb_!~tob@HSI-KBW-37-49-118-160.hsi14.kabel-badenwuerttemberg.de) has quit (Quit: leaving)
[06:41:38] toeb (toeb!~tob@HSI-KBW-37-49-118-160.hsi14.kabel-badenwuerttemberg.de) has quit (Remote host closed the connection)
[06:42:00] toeb (toeb!~tob@HSI-KBW-37-49-118-160.hsi14.kabel-badenwuerttemberg.de) has joined #mythtv
[08:19:21] sybolt (sybolt!~sybolt@dhskadaj.xs4all.nl) has joined #mythtv
[08:30:24] Lomion0815 (Lomion0815!~markus@93-82-81-44.adsl.highway.telekom.at) has joined #mythtv
[08:30:26] sybolt (sybolt!~sybolt@dhskadaj.xs4all.nl) has quit (Quit: Leaving)
[08:43:34] len (len!~quassel@75-161-175-43.mpls.qwest.net) has quit (Remote host closed the connection)
[09:58:03] IReboot (IReboot!~doug@CPE10bf48e67915-CM78cd8e7e342d.cpe.net.cable.rogers.com) has joined #mythtv
[10:26:10] Oxyz (Oxyz!~Oxyz@213-65-197-142-no98.tbcn.telia.com) has joined #mythtv
[11:11:36] joki (joki!~joki@p54865E5E.dip0.t-ipconnect.de) has quit (Ping timeout: 264 seconds)
[11:17:06] joki (joki!~joki@p548633D6.dip0.t-ipconnect.de) has joined #mythtv
[11:49:25] wilmoore-misc (wilmoore-misc!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net) has quit (Remote host closed the connection)
[13:32:39] Jordack (Jordack!~jordack@h69-131-44-221.plmomi.dedicated.static.tds.net) has joined #mythtv
[14:52:24] stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has quit (Ping timeout: 252 seconds)
[14:56:48] gregL (gregL!~greg@cpe-74-76-105-205.nycap.res.rr.com) has quit (Remote host closed the connection)
[15:39:42] Lomion0815 (Lomion0815!~markus@93-82-81-44.adsl.highway.telekom.at) has quit (Ping timeout: 258 seconds)
[15:40:04] danielk22 (danielk22!~danielk@exchange.wgen.net) has joined #mythtv
[15:41:30] Lomion0815 (Lomion0815!~markus@93-82-137-183.adsl.highway.telekom.at) has joined #mythtv
[15:47:30] FabriceMG (FabriceMG!~Thunderbi@217.112.59.207) has quit (Quit: FabriceMG)
[15:52:23] wilmoore-misc (wilmoore-misc!~wilmoore@vlandnat.mystrotv.com) has joined #mythtv
[16:04:41] Oxyz (Oxyz!~Oxyz@213-65-197-142-no98.tbcn.telia.com) has quit (Quit: Leaving.)
[16:26:10] vncsvc_ (vncsvc_!~jams@cpe-24-92-95-170.wi.res.rr.com) has joined #mythtv
[16:31:52] wahrhaft (wahrhaft!~quassel@cpe-24-210-69-143.columbus.res.rr.com) has quit (Read error: Operation timed out)
[16:32:21] wahrhaft (wahrhaft!~quassel@cpe-24-210-69-143.columbus.res.rr.com) has joined #mythtv
[16:35:04] moparisthebest (moparisthebest!~quassel@66.55.92.38) has quit (Quit: No Ping reply in 180 seconds.)
[16:35:39] moparisthebest (moparisthebest!~quassel@66.55.92.38) has joined #mythtv
[16:36:47] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv
[16:53:25] Merlin83b (Merlin83b!~Daniel@2a00:1ee0:3:1337:2856:2c81:e5d7:1966) has quit (Read error: Connection reset by peer)
[16:53:38] Lomion0815 (Lomion0815!~markus@93-82-137-183.adsl.highway.telekom.at) has quit (Remote host closed the connection)
[17:14:03] NightMonkey (NightMonkey!~NightrMon@nat1.sp.collab.net) has joined #mythtv
[17:14:04] NightMonkey (NightMonkey!~NightrMon@nat1.sp.collab.net) has quit (Changing host)
[17:14:04] NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has joined #mythtv
[17:22:16] vncsvc_ is now known as jams
[17:28:57] stichnot (stichnot!stichnot@nat/google/x-xdrejchouomseajh) has joined #mythtv
[17:28:57] stichnot (stichnot!stichnot@mythtv/developer/stichnot) has joined #mythtv
[17:28:57] stichnot (stichnot!stichnot@nat/google/x-xdrejchouomseajh) has quit (Changing host)
[18:21:58] stichnot: stuartm, knightr: Translation question. A themed menu may look something like this: <menu text="Playback Menu"> <menu text="Audio"> <menu text="Select Audio Track"> ... </menu> </menu> </menu> . We need the theme translation tool to extract all the "text" attribute values. When the mythfrontend C++ code parses a "text" attribute from the xml file, how does it apply the translation? Is...
[18:21:59] stichnot: ...it as simple as calling tr() ?
[18:52:34] SteveGoodey (SteveGoodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has joined #mythtv
[18:59:43] unforgiven512 (unforgiven512!~unforgive@65-78-111-218.c3-0.smt-ubr1.atw-smt.pa.cable.rcn.com) has quit (Ping timeout: 245 seconds)
[19:11:32] unforgiven512 (unforgiven512!~unforgive@65-78-96-168.c3-0.smt-ubr1.atw-smt.pa.cable.rcn.com) has joined #mythtv
[19:14:48] SteveGoodey (SteveGoodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has quit (Quit: Konversation terminated!)
[19:16:53] RSpliet (RSpliet!~RSpliet@53537511.cm-6-4b.dynamic.ziggo.nl) has joined #mythtv
[19:19:06] Steve-Goodey (Steve-Goodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has joined #mythtv
[19:31:50] stuartm: stichnot: qApp->translate("context", string.toUtf8(), NULL, QCoreApplication::UnicodeUTF8);
[19:32:00] stuartm: where in mythui the context is ThemeUI
[19:56:22] sraue (sraue!~stephan@xbmc/staff/sraue) has quit (Read error: Connection reset by peer)
[19:58:38] stichnot: stuartm: I would be doing the translation within a method of the TV class, and the context for the translation should actually be the TV context, so is it correct to just use tr() ?
[20:01:57] sraue_ (sraue_!~stephan@145-171-255-46-pool.cable.fcom.ch) has joined #mythtv
[20:02:38] sraue_ is now known as sraue
[20:02:48] sraue (sraue!~stephan@145-171-255-46-pool.cable.fcom.ch) has quit (Changing host)
[20:02:48] sraue (sraue!~stephan@xbmc/staff/sraue) has joined #mythtv
[20:22:59] len (len!~quassel@75-161-175-43.mpls.qwest.net) has joined #mythtv
[20:45:42] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Ping timeout: 264 seconds)
[21:03:14] Steve-Goodey (Steve-Goodey!~steve@host86-140-98-12.range86-140.btcentralplus.com) has quit (Quit: Konversation terminated!)
[21:06:50] len (len!~quassel@75-161-175-43.mpls.qwest.net) has quit (Remote host closed the connection)
[21:11:41] coling (coling!~colin@cpc7-sgyl36-2-0-cust267.18-2.cable.virginmedia.com) has quit (Ping timeout: 245 seconds)
[21:12:39] rsiebert_ (rsiebert_!~quassel@g226061123.adsl.alicedsl.de) has joined #mythtv
[21:15:30] rsiebert (rsiebert!~quassel@g225063108.adsl.alicedsl.de) has quit (Ping timeout: 258 seconds)
[21:38:22] brfransen (brfransen!~brfransen@64.179.141.163) has quit (Ping timeout: 246 seconds)
[21:39:45] brfransen (brfransen!~brfransen@64.179.141.163) has joined #mythtv
[21:55:09] Jordack (Jordack!~jordack@h69-131-44-221.plmomi.dedicated.static.tds.net) has quit (Quit: reset by pear)
[21:59:05] coling (coling!~colin@cpc7-sgyl36-2-0-cust267.18-2.cable.virginmedia.com) has joined #mythtv
[23:07:16] knightr: stichnot, if you just use tr() the class name is used as context. If I understood what you said correctly that's exactly what you want (a TV context in a TV class)
[23:07:44] wilmoore-misc (wilmoore-misc!~wilmoore@vlandnat.mystrotv.com) has quit (Remote host closed the connection)
[23:09:57] knightr: however, the theme string extraction tool always put everythiing in the ThemeUI context. We could make it use other contexts (which you would have to specify as XML attributes I guess but I am not sure yet it would be such a good idea... What do you want to do?
[23:18:21] NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has quit (Ping timeout: 245 seconds)
[23:24:47] knightr: Another thing is that, usually, your class must be derived from QObject to define tr() but there are ways around this... ( Q_DECLARE_TR_FUNCTIONS(context)...)
[23:30:25] stichnot (stichnot!stichnot@mythtv/developer/stichnot) has quit (Ping timeout: 258 seconds)
[23:31:40] NightMonkey (NightMonkey!~NightrMon@nat1.sp.collab.net) has joined #mythtv
[23:31:41] NightMonkey (NightMonkey!~NightrMon@nat1.sp.collab.net) has quit (Changing host)
[23:31:41] NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has joined #mythtv
[23:35:14] stichnot (stichnot!~stichnot@67.218.103.231) has joined #mythtv
[23:35:14] stichnot (stichnot!~stichnot@67.218.103.231) has quit (Changing host)
[23:35:14] stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has joined #mythtv
[23:37:27] stichnot: knightr: I think the theme extraction tool should use a specified context. It could be provided on the command line, or maybe even better is to set it as an attribute in the top-level document element.
[23:38:12] knightr: stichnot, it's not as simple as that...
[23:38:33] knightr: you would also have to use different output files for example...
[23:39:04] knightr: and we already have tw extractions tools and a fairly complex script to run that one...
[23:39:32] knightr: what do you want to do that can't be done with the current context?
[23:40:10] knightr: s/tw/two... another one was made by some devs without even consulting me IIRC...
[23:40:59] len (len!~quassel@75-161-175-43.mpls.qwest.net) has joined #mythtv
[23:41:53] ** knightr is believing to think everybody would want to be a translation dev... :-) **
[23:42:55] knightr: s/believeing/beginning oops...
[23:46:00] stichnot: knightr: let me post an example
[23:47:09] stichnot: knightr: http://pastebin.com/aSs0VGF4
[23:47:45] wilmoore-misc (wilmoore-misc!~wilmoore@ip-64-134-62-108.public.wayport.net) has joined #mythtv
[23:47:57] knightr: stichnot, unknown paste id...
[23:48:39] stichnot: In this example, all the "text" attributes within the "menu" elements are strings that would be moved from the TV class into this menu_playback.xml file in the theme directory.
[23:48:57] stichnot: knightr: hmm, it works for me in two different browsers...
[23:49:30] knightr: that's weird, it works now...
[23:49:40] knightr: some sort of caching on their side perhaps?
[23:50:57] knightr: where would that be used, in an OSD theme?
[23:51:43] stichnot: Yes, the idea that a themer can customize how the complex playback OSD menu is laid out.
[23:52:01] stichnot: And this would extend to other menus as well.
[23:53:05] stichnot: The "XXXtext" attributes would not need translation, they are just there to document what the default "text" attributes are, which are already translated in the TV class.
[23:56:53] stichnot: There are probably other ways to structure this to keep the translation process simpler, and I'm totally open to ideas. For example, we could just keep references to those menu title strings in the TV class and use that as the basis for translation, though it would be less convenient to have to keep the .xml and .cpp strings in sync.
[23:57:01] knightr: stichnot, did you know that we already have to chose which theme the translators translate because if we translated all of them we would most likely have double the number of strings and with a lot of very similar strings...
[23:57:34] knightr: what happens if they don't define this, does it fallback to a dedault?
[23:57:37] knightr: default...
[23:58:06] knightr: that's actually what we do...
[23:58:35] knightr: the theme string tool puts all the strings in a .cpp file which is parse by the Qt translation tools...
[23:58:45] knightr: s/parse/parsed
[23:59:25] knightr: how are these translated currently, hardcoded in the application?

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.