#emc-devel | Logs for 2010-02-19

[07:14:21] <ries_> ries_ is now known as ries
[14:03:24] <jt-plasma> I get an error about failed to fetch when following the instructions at http://emc2-buildbot.colorado.edu/~buildmaster/ do download 2.4
[14:03:46] <jt-plasma> Err http://emc2-buildbot.colorado.edu v2.4_branch/master-rt Packages
[14:03:48] <jt-plasma> 404 Not Found
[14:04:00] <jt-plasma> Err http://emc2-buildbot.colorado.edu v2.4_branch/master-rt Sources
[14:04:02] <jt-plasma> 404 Not Found
[14:04:15] <jt-plasma> W: Failed to fetch http://emc2-buildbot.colorado.edu/~buildmaster/dists/v2.4_branch/master-rt/binary-i386/Packages.gz 404 Not Found
[14:04:26] <jt-plasma> W: Failed to fetch http://emc2-buildbot.colorado.edu/~buildmaster/dists/v2.4_branch/master-rt/source/Sources.gz 404 Not Found
[14:04:36] <jt-plasma> E: Some index files failed to download, they have been ignored, or old ones used instead.
[14:04:53] <jt-plasma> well 4 errors actually
[14:05:24] <jt-plasma> same thing yesterday when I tried
[14:08:50] <jepler> it looks like you have the wrong thing in your sources
[14:08:55] <jepler> the thing from the buildbot website is wrong
[14:09:19] <jt-plasma> ok
[14:09:26] <jepler> you probably want this for v2.4_branch:
[14:09:26] <jepler> deb http://emc2-buildbot.colorado.edu/~buildmaster hardy v2.4_branch-rt
[14:09:26] <jepler> deb-src http://emc2-buildbot.colorado.edu/~buildmaster hardy v2.4_branch-rt
[14:09:49] <jepler> let me check that the machine where I have those lines will upgrade to the latest..
[14:09:50] <jt-plasma> thanks
[14:10:11] <jepler> yes, it's going to download http://emc2-buildbot.colorado.edu/~buildmaster/dists/hardy/v2.4_branch-rt/binary-i386/emc2-dev_2.4.0~pre1-12-g6725cc0_i386.deb
[14:13:15] <jt-plasma> jepler: thanks that is working now
[14:17:32] <jepler> great, bbl
[14:39:13] <jt-plasma> it almost worked Preparing to replace emc2 1:2.3.4-1 (using .../emc2_1%3a2.4.0~pre1-12-g6725cc0_i386.deb) ...
[14:39:15] <jt-plasma> Unpacking replacement emc2 ...
[14:39:16] <jt-plasma> Errors were encountered while processing:
[14:39:18] <jt-plasma> /var/cache/apt/archives/emc2-dev_1%3a2.4.0~pre1-12-g6725cc0_i386.deb
[14:39:20] <jt-plasma> E: Sub-process /usr/bin/dpkg returned an error code (1)
[14:39:22] <jt-plasma> bbl
[20:02:43] <jepler> jt-plasma: well I have no idea what the heck that's about
[20:02:50] <jepler> mine set up and installed just fine
[20:03:03] <jepler> last line of output was: Setting up emc2-dev (1:2.4.0~pre1-12-g6725cc0) ...
[20:27:53] <micges> jepler: hi
[20:28:53] <micges> is there someone who prepared emc sim packages for redhat or suse?
[20:29:08] <micges> or puppy?
[20:54:42] <jepler> At various times in the past there have been, but I don't think anyone is keeping them up to date.
[20:55:04] <jepler> the most recent non-ubuntu package I'm aware of was a russian version of emc2+puppy announced this month: http://mid.gmane.org/E1Ncca9-00076X-00.evgeni_atel-mail-ru@f180.mail.ru
[20:56:02] <micges> thanks
[21:59:06] <jt-plasma> jepler: should I try the download again?
[22:04:17] <jepler> jt-plasma: yes, and do the 'apt get' in a terminal (rather than going through synaptic) just in case that gives more information .. then pastebin the full output if it still didn't work.
[22:04:32] <jt-plasma> ok thanks
[22:44:00] <alex_joni> jt-plasma: if that still causes issues, try sudo apt-get -f install
[22:44:18] <jt-plasma> ok
[22:46:46] <jt-plasma> the apt-get seemed to go well but when I try and run emc I get this http://pastebin.ca/1803140
[22:48:10] <jt-plasma> this is dmesg http://pastebin.ca/1803145
[22:48:35] <jt-plasma> trying sudo apt-get -f install now
[22:49:31] <jt-plasma> jet@plasma:~$ sudo apt-get -f install
[22:49:33] <jt-plasma> Reading package lists... Done
[22:49:34] <jt-plasma> Building dependency tree
[22:49:36] <jt-plasma> Reading state information... Done
[22:49:37] <jt-plasma> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[22:50:25] <alex_joni> can you check if /usr/share/doc/emc2/examples/sample-configs/sim/sim.var is there?
[22:50:27] <jt-plasma> could it be this IOError: [Errno 2] No such file or directory: 'sim.var'
[22:50:38] <alex_joni> jt-plasma: that's why it doesn't start
[22:52:19] <jt-plasma> alex_joni: no it is not there
[22:52:43] <alex_joni> ah, I think I know what happened
[22:52:59] <alex_joni> * alex_joni checks
[22:53:09] <jt-plasma> I'm glad you know what happened LOL
[22:53:36] <alex_joni> sim.var has been removed (as have all .var files)
[22:53:48] <alex_joni> usually (for run-in-place) that's no problem
[22:54:00] <alex_joni> as emc2 creates that file on startup if it doesn't exist
[22:54:23] <alex_joni> in this case however, since the config is in /usr/share/..., it can't create the file because of missing permissions
[22:54:57] <alex_joni> so the real answer is create a copy of the config (as the launcher tells you to), and run that for now
[22:55:03] <alex_joni> jepler: ^^
[22:55:04] <jt-plasma> so if I save the config it should work
[22:55:20] <alex_joni> we'll have to find a way around this before the release
[22:55:51] <jt-plasma> ok, that works :)
[22:55:55] <alex_joni> there are 2 probable fixes: 1. restore the var files
[22:56:18] <alex_joni> 2. make AXIS not fail if the var file is missing, and just use an internal default like emc2 does
[22:56:34] <alex_joni> jt-plasma: try sim/tkemc.ini without copying the file, bet that works
[22:56:40] <jt-plasma> ok
[22:57:01] <jt-plasma> yep it works
[22:58:50] <jepler> pickconfig should have prompted you to copy the sample configuration. did you say "no" at that prompt?
[22:59:00] <jepler> or was it not shown?
[22:59:11] <alex_joni> jepler: he said no
[22:59:41] <jepler> well, I can't get too worked up about that failing
[23:00:12] <alex_joni> it "used to" work
[23:00:19] <jepler> I "don't care" about that
[23:00:36] <alex_joni> "too" bad
[23:01:11] <jepler> http://pastebin.ca/1803154
[23:01:37] <jepler> or some even stronger rewording
[23:02:39] <jt-plasma> so you won't be able to run a sim from the LiveCD without installing first?
[23:03:05] <alex_joni> jt-plasma: you can run it, but you need to copy the config to your home dir (still on the livecd)
[23:03:34] <jt-plasma> you can write to the cd after it is burned?
[23:03:45] <alex_joni> no, the /home is not on the CD
[23:03:54] <alex_joni> it's a ramdisk
[23:04:04] <jt-plasma> ah OK
[23:17:00] <jt-plasma> * jt-plasma tries to remember how to fix this error libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at offset 60 from buffer of size 10208.
[23:17:24] <jt-plasma> * jt-plasma hands jepler a cold (beverage of your choice)
[23:20:16] <jt-plasma> * jt-plasma has to go and get clean clothes on to take my wife out to dinner...
[23:20:38] <jepler> it means your emc.nml is not compatible with 2.4
[23:20:50] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingConfigurationsForDevelopmentVersions 1.1