[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-14 Thread Scott Howard
The debian maintainer returned from vacation and had this to say about the bug: " Eagle looks for its data files in the same directory as the executable like so (more or less): prefix=$(dirname $(dirname $(realpath $(which $argv0 We can set argv[0] using the -a option of exec. See `help exec`

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-08 Thread sigvdr
There is no problem with the VIA Hardware! I tried eagle on a 4. installation with a different hardware. The problem is exactly the same. Recapitulation of my older posts: - start Eagle - open board and/or schematic - zoom into detail - - press a mousekey - - move to a second position ( i see a

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-08 Thread Scott Howard
Thank you again for all your help! The original debian maintainer is away on vacation, so I haven't had his input yet. I don't think it's the VIA chipset, since copying the file to your home directory fixes it. The good news is that the newest version of eagle (in lucid and squeeze) will not have t

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-08 Thread sigvdr
On a new (3.) installation of Karmic ( not upgraded from older Ubuntu's ) i have the exactly same crash behavior. Result from "find /usr -name eagle" is the same as shown in the last post. "do you have an idea why some users (e.g. fabrice and I) are able to run the program without segfaulting" A

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-08 Thread sigvdr
Result from "find /usr -name eagle" - /usr/bin/eagle /usr/lib/eagle /usr/lib/eagle/bin/eagle /usr/share/eagle /usr/share/doc/eagle /usr/share/menu/eagle -- This "find" was done on a 64Bit version of Karmic. I remember that i had tried to install a d

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-07 Thread Scott Howard
I just re-read your comment: "The executable binary tries to open ( and save after work ) "eagle.key" in the same path as the binary is started from. So if you copy the executable binary to /usr/bin and start /usr/bin/eagle you will get an error "can not open /usr/bin/eagle.key", and for example i

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-12-07 Thread Scott Howard
Thanks for all your help, sigvdr. Your situation seems unique, it may not be good for an SRU, but I'd still like to get to the bottom of this! The debian installation and the binary you download from cadsoft install the files to different places in order to conform to debian policy and keeping sys

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-17 Thread sigvdr
The executable binary tries to open ( and save after work ) "eagle.key" in the same path as the binary is started from. So if you copy the executable binary to /usr/bin and start /usr/bin/eagle you will get an error "can not open /usr/bin/eagle.key", and for example if you copy the executable b

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-17 Thread sigvdr
/usr/share/eagle/bin/eagle does not exist, so i can not delete that file. ln -s /usr/lib/eagle/bin/* ~/.eagle/bin/ Now eagle ask me for a "license.key" . I tried to point to the "freeware.key" in ~/.eagle/bin or /usr/share/eagle/bin, but always i get an error "Could not open eagle.key" . cp /u

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-16 Thread Scott Howard
Thanks for the testing! One more test: rm /usr/share/eagle/bin/eagle and then see if eagle crashes (if you can't delete that file, could you: ls /usr/share/eagle/bin/* and see if anything is there?) Finally (after the testing) to get functionality back, first try: ln -s /usr/lib/eagle/bin/* ~/.e

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-16 Thread sigvdr
I have done rm ~/.eagle/bin/eagle ( without using any debdiff ) and the program crashes again. Open schematic -> zoom -> crash How can i use fixoldbinaryinhome.debdiff ? -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification becaus

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-15 Thread Scott Howard
@sigvdr: Can you try the following to confirm our theory: rm ~/.eagle/bin/eagle and see if the program crashes? Attached is a debdiff using Jon's most recent comments (delete the offending binary rather than propagating the bug) ** Attachment added: "fixoldbinaryinhome.debdiff" http://launc

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-15 Thread fabrice_sp
Good explanation, Scott! -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-15 Thread John Dong
Scott, This explanation makes a lot of sense and I'll buy it. Now, I think the correct fix would have to be a wrapper for the eagle binary that detects the presence of a mismatched ~/.eagle/bin and offers to delete it upon startup, or to stop Eagle from attempting to load things from the user's h

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-15 Thread Scott Howard
** Bug watch added: Debian Bug tracker #450529 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450529 ** Bug watch added: Debian Bug tracker #535868 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535868 ** Bug watch added: Debian Bug tracker #392414 http://bugs.debian.org/cgi-bin/bugr

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-15 Thread Scott Howard
OK, I think I have a satisfactory answer. In short: previous versions copied the executable binary to the users home directory, but in newer versions, the executable binary was moved to /usr/lib so it is no longer needed to be copied to the home directory. However, if you had the old version and th

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread Scott Howard
Agree - I don't like sending hacks up the SRU chain anyways! I'll try to contact Shaun (the Debian maintainer) and see what the problem was. -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread fabrice_sp
Hi, As spoken with jdong iby IRC, let's look for a cleaner solution to this problem for the SRU: I'd say let's try to come up with a more satisfactory explanation of why it's broken before attempting to shove through silly one-liner hacks when we still don't agree what the symptoms are yet :

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread John Dong
Uh ok. so why is this only a bug on upgrade, and not fresh install, and what do you mean by a fresh install will fix it? I'd appreciate it if the hand-wavy procedural explanation could be augmented with some technical explanation of the cause of the bug, too. -- eagle crashes on: zoom int

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread fabrice_sp
putting back as new to get some motu-sru feedback according to the last comments (jdong? :-) ) ** Changed in: eagle (Ubuntu) Status: Incomplete => New -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a mem

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread Scott Howard
I apologize: the best part of the FOSS world is both choice and the freedom to contribute, add, change the code. The major downside of eagle is that it is not FOSS, and I wholly encourage others to try to find which one they like best (especially FOSS choices). However, at work, I must use Eagle, a

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread Peter Clifton
I couldn't resist chiming in here.. even though I know it is inappropriate. Not to detract from it, but I wouldn't call Eagle _the_ industry standard for PCB design. Protel, Altium, PADs, OrCad...? Eagle is very popular with hobbyists, and is important to see its package working on Ubuntu from a

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-13 Thread Scott Howard
Thanks again Fabrice! LaserJock has been helping me with this one, we've been discussing it off-LP. It turns out it is a bug on upgrade; fresh installs don't see this problem. Since a work around exists (copying the file) and a fresh install should also fix it, should we even follow through with an

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-12 Thread fabrice_sp
Hi, Sorry about that, but I'm not able to reproduce this problem in a karmic chroot (not even the problem described in Debian). Can you explain a bit more how to reproduce the bug? Thanks, Fabrice ** Changed in: eagle (Ubuntu) Status: In Progress => Incomplete ** Changed in: eagle (Ubu

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-12 Thread fabrice_sp
** Changed in: eagle (Ubuntu) Status: New => In Progress ** Changed in: eagle (Ubuntu) Assignee: (unassigned) => fabrice_sp (fabricesp) ** Also affects: eagle (Ubuntu Karmic) Importance: Undecided Status: New -- eagle crashes on: zoom into schematic https://bugs.launchpad

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-09 Thread Bug Watch Updater
** Changed in: eagle (Debian) Status: Unknown => Fix Released -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bug

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-09 Thread Scott Howard
Sure thing, here's the debdiff (I was away and couldn't make it at the time, that's what I asked) ** Attachment added: "crash_one_zoom.debdiff" http://launchpadlibrarian.net/35420035/crash_one_zoom.debdiff -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You re

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread John Dong
Ah whoops, shame on me for reading slowly. The above diff is fine for motu-sru review though typically a debdiff is preferred by sponsors who will upload the package on your behalf. At any rate, consider this an ACK from motu-sru for the above debdiff with its versioning. archive admins: As was d

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
Thank John, I know SRUs are a very delicate beast, and I appreciate having all the layers of feedback, actually! I have a bzr diff at comment #8. http://launchpadlibrarian.net/35390010/475891fix.diff Would a debdiff be needed too? (I'm still learning what is acceptable forms of files, if this is

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread John Dong
Well I'll accept that explanation, Scott, from a MOTU-SRU standpoint, for both your explanation of why the software requires this to be done in such an odd manner, and the precedence that Debian is doing the same. I cannot guarantee that that the archive admins accepting the upload will agree thou

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
I took this fix line from line from Debian (see the bug report). What the debian maintainer is doing is creating ~/.eagle which contains symlinks to all the "data" in /usr/share/eagle and contains a copy (not a symlink) of /usr/lib/eagle/bin/eagle. His original package included the symlinks,

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread John Dong
Hmm. This is admittedly one of the most unusual fixes that I've reviewed. Can someone take a stab at explaining why the binary needs to be copied to the user's home directory? -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification becau

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
** Changed in: eagle (Ubuntu) Importance: Critical => Medium ** Changed in: eagle (Ubuntu) Status: Triaged => New -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
See attached branch for merge and .diff patch. ** Attachment added: "475891fix.diff" http://launchpadlibrarian.net/35390010/475891fix.diff ** Changed in: eagle (Ubuntu) Importance: Undecided => Critical -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You r

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
Here is the formal SRU request: 1) This program is will load and run in karmic. However, when you try to zoom on a schematic, it will crash. 2) This has been addressed in the development branch upstream with this exact fix. I cherry-picked it from a later release. 3) Attached is the minimal pat

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~showard314/ubuntu/karmic/eagle/bug475891 -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@list

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread Scott Howard
Thanks! needs a merge to 5.6.0-3 from debian, I'll work on it. ** Changed in: eagle (Ubuntu) Status: New => Triaged ** Changed in: eagle (Ubuntu) Assignee: (unassigned) => Scott Howard (showard314) -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread sigvdr
I have done cp /usr/lib/eagle/bin/eagle ~/.eagle/bin/ and now i can zoom without a crash. -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-08 Thread sigvdr
I have done cp /usr/lib/eagle/bin/eagle ~/.eagle/bin/ and now i can zoom without a crash. Scott Howard wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > subscribe showard314 > > Thank you for your report and helping make Ubuntu better. > > Could you try the following and see if you

Re: [Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-05 Thread Scott Howard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 subscribe showard314 Thank you for your report and helping make Ubuntu better. Could you try the following and see if you can zoom: cp /usr/lib/eagle/bin/eagle ~/.eagle/bin/ that's from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546237 I

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-05 Thread Scott Howard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 subscribe me Thank you for your report and helping make Ubuntu better. Could you try the following and see if you can zoom: cp /usr/lib/eagle/bin/eagle ~/.eagle/bin/ that's from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546237 If so, we

[Bug 475891] Re: eagle crashes on: zoom into schematic

2009-11-05 Thread sigvdr
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/35195182/Dependencies.txt ** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/35195183/XsessionErrors.txt -- eagle crashes on: zoom into schematic https://bugs.launchpad.net/bugs/475891 You received