#linuxcnc-devel | Logs for 2013-07-22

[18:54:51] -!- logger[psha] [logger[psha]!~loggerpsh@] has joined #linuxcnc-devel
[18:56:09] -!- Trister has quit [Quit: Page closed]
[19:07:39] -!- maximilian_h [maximilian_h!~bonsai@] has joined #linuxcnc-devel
[19:12:58] -!- dkmc has quit [Client Quit]
[19:20:28] -!- martin__ has quit [Read error: Connection reset by peer]
[19:36:54] <seb_kuzminsky> jthornton: i'm sympathetic to getting rid of our half-baked translations, but i'm not sure what you're proposing exactly
[19:44:10] <seb_kuzminsky> i don't love the po system we use for translating strings in the software, but i like it much better than our "copy and ignore (except for french)" method of translating the docs
[19:44:35] <seb_kuzminsky> i've been meaning to look more at po4a (http://po4a.alioth.debian.org/) but i haven't started playing with it yet
[19:51:03] <cradek> no solution to this problem doesn't suck :-/
[19:52:45] <mhaberler> jepler: still around?
[19:54:17] -!- elmo40 has quit [Quit: Leaving.]
[19:58:09] <mhaberler> delaying to rtapi_init() unfortunately does not solve the problem
[19:59:08] -!- AR_ has quit [Read error: No route to host]
[19:59:18] <mhaberler> the issue is: your sim api rests on the assumption rtapi_shm*() and friends work in isolation, and it doesnt matter who inits the HAL data segment (ulapi or rt environment)
[20:00:30] <jepler> that is OK to give up, because the rtai implementation never acted that way
[20:01:13] -!- skunkworks has quit [Quit: Leaving]
[20:01:25] <mhaberler> I am talking your e30812ef6
[20:01:58] <mhaberler> oh I see - you get the error only if you do hal_init()
[20:02:24] <mhaberler> you do not assume it will work the way sim does in v2.5 onwards (without realtime) which isnt the same thing
[20:02:53] <mhaberler> well that certainly can be done, the dummy rtapi_switch idea works as conceived
[20:03:29] <jepler> since I don't have the code in front of me nor the test results I can only take your word for it
[20:04:29] <mhaberler> ok, lets narrow this down: what this means is: you can link any program and run it without realtime start; as soon as you do a hal_init() (actually an rtapi_init()) you get an error return -ENOSYS
[20:05:01] <mhaberler> that should take care of the runtests issue for rs274
[20:05:16] <jepler> isn't that approximately what happens (modulo the specific -errno) in rtai in v2.5_branch? if so that seems like what I am asking for
[20:05:39] <mhaberler> pretty much so, I just tried that to be bug compatible
[20:05:50] <mhaberler> it does a segfault though which I wont emulate ;)
[20:05:51] <jepler> It is not a bug that it worked that way
[20:06:06] <mhaberler> sure not, that was a joke
[20:06:24] <jepler> you might also make sure that python -c 'import hal' also works
[20:06:30] <mhaberler> sure will
[20:06:45] <jepler> heck it's dumb but we could codify it in a test
[20:07:10] <mhaberler> it really means component creation doesnt work without realtime start, which is what your change was about
[20:07:29] <mhaberler> (on the ulapi side that is)
[20:07:50] <jepler> that's not the intent of e30812ef at all
[20:08:03] <mhaberler> sure we can; actually what we will get for free - since I will wrap ulapi into a .so - is a standalone rtapi library
[20:08:33] <mhaberler> well but if you trace it - say build sim, dont run realtime, start halcmd - you see it wont fail
[20:09:13] <jepler> that is not true, but since rtai never worked that way it's not the part of the behavior that must be preserved.
[20:09:39] <jepler> errr that is true
[20:09:44] <mhaberler> see
[20:09:53] <mhaberler> that was the one I was talking about
[20:10:23] <mhaberler> well at least we're on the same page now
[20:10:27] <jepler> I sure hope so
[20:10:40] <jepler> it would help if I didn't type the opposite from what I intended
[20:11:05] <mhaberler> that is optional since only dumb folk never adjust positions
[20:13:15] <mhaberler> so this is what I can do, and I think it covers the common page: you can link and run any hal/ulapi client (including python) fine regardless of realtime stopped or not; if realtime not running then hal_init() (or rather the underlying rtapi_init()) will fail and return an appropriate error code
[20:13:36] <mhaberler> acuerdo?
[20:14:25] <jepler> ok
[20:14:40] <mhaberler> great, then we have a go
[20:22:10] -!- sirdancealot has quit [Remote host closed the connection]
[20:30:11] -!- gimps_ has quit []
[20:43:36] <mhaberler> confirmed to work as planned - rs274 works fine without realtime start; halcmd will fail with 'realtime not started' because it creates a halcomp right away
[20:44:38] <mhaberler> python 'import hal' fine; fails at h = hal.component("foo")
[20:44:45] -!- skunkworks [skunkworks!~chatzilla@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[21:00:26] -!- joe9 has quit [Remote host closed the connection]
[21:02:13] -!- FinboySlick has quit [Quit: Leaving.]
[21:02:37] -!- arconquit has quit [Quit: Page closed]
[21:11:04] <seb_kuzminsky> the email from Frederic Rible makes me happy
[21:20:57] -!- chillly has quit [Quit: Leaving]
[21:29:44] -!- DJ9DJ has quit [Quit: bye]
[21:38:16] -!- fatpandas has quit [Remote host closed the connection]
[21:47:41] -!- mhaberler has quit [Quit: mhaberler]
[21:48:23] -!- stsydow has quit [Remote host closed the connection]
[21:53:35] <cradek> yep that's just great
[22:00:05] -!- tmcw has quit [Remote host closed the connection]
[22:00:43] -!- zzolo has quit [Quit: zzolo]
[22:08:51] -!- stsydow has quit [Quit: Leaving]
[22:14:53] -!- mourner has quit [Quit: mourner]
[22:15:57] -!- mle has quit [Excess Flood]
[22:21:33] -!- ravenlock has quit [Quit: Leaving]
[22:40:34] -!- tmcw has quit [Ping timeout: 276 seconds]
[23:00:39] -!- Nick001-Shop has quit [*.net *.split]
[23:00:40] -!- martin__ has quit [*.net *.split]
[23:00:40] -!- cevad has quit [*.net *.split]
[23:00:44] -!- Fox_Muldr has quit [*.net *.split]
[23:00:44] -!- roycroft has quit [*.net *.split]
[23:00:45] -!- c-bob|| has quit [*.net *.split]
[23:01:54] -!- sparr has quit [Ping timeout: 246 seconds]
[23:02:51] -!- Brandonian has quit [Quit: Brandonian]
[23:05:00] -!- andypugh has quit [Quit: andypugh]
[23:10:16] -!- toner has quit [Ping timeout: 240 seconds]
[23:11:46] -!- FinboySlick has quit [Remote host closed the connection]
[23:11:48] -!- tmcw has quit [Ping timeout: 245 seconds]
[23:17:44] -!- kjn has quit [Quit: Quit]
[23:38:04] -!- BJfreeman has quit [Read error: Connection reset by peer]