goshng / treeviewx

Automatically exported from code.google.com/p/treeviewx
GNU General Public License v2.0
0 stars 0 forks source link

Crashes loading tree on Ubuntu Lucid 64-bit #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Run Ubuntu 10.04LTS 64-bit (no idea about 32-bit)
2. Try to load any tree in treeviewx

What is the expected output? What do you see instead?

App crashes with backtrace.  See 
https://bugs.launchpad.net/ubuntu/+source/treeviewx/+bug/606316

What version of the product are you using? On what operating system?

Both official Ubuntu package and compiled from source against WX2.6 and Wx2.8.  
Only tried on Ubuntu 10.04LTS 64-bit

Please provide any additional information below.

See the bug report on Launchpad.  No idea if this is a WX bug or a treeview bug 
or a 64-bit issue or what.  If you have trouble reproducing this bug I can send 
more details or do more testing.

Cheers,

TIM

Original issue reported on code.google.com by environm...@ceh.ac.uk on 6 Oct 2010 at 3:59

GoogleCodeExporter commented 8 years ago
The same problem occurs to me as well, and I am using Ubuntu 10.10 64-bit. Does 
it only affect 64-bit Ubuntu? Can anyone get it working under 32-bit version?

Original comment by super.ar...@gmail.com on 18 Jan 2011 at 10:43

GoogleCodeExporter commented 8 years ago
I did a bit more digging on this and the crash actually occurs due to a Unicode 
conversion step.  It is possible to bypass this by just commenting out the 
offending line of code and to load the tree but then it doesn't render properly 
at all.  I think the problem boils down to Treeview being written for an old 
non-Unicode version of Wx and needing some real work by someone who knows about 
Wx debugging to get it functional again.  I'd be surprised if 32 vs. 64-bit 
makes any difference.

TIM

Original comment by environm...@ceh.ac.uk on 18 Jan 2011 at 11:00

GoogleCodeExporter commented 8 years ago
Thanks, but I have no idea how to do this. =p
I installed Treeview x using Ubuntu software centre.

Arthur

Original comment by super.ar...@gmail.com on 18 Jan 2011 at 11:23

GoogleCodeExporter commented 8 years ago
Hi, I made a small patch to fix this problem.

I've tested this on Ubuntu 11.10 64bit, and it seemed to work correctly. And, I 
also added a small fix to repair the refreshing problem after resizing a window.

Please, try it. I hope it work for you too. :)

Original comment by ryo.dair...@gmail.com on 20 Jul 2012 at 1:19

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, I will try it when I have the chance. :)

Original comment by super.ar...@gmail.com on 20 Jul 2012 at 8:49

GoogleCodeExporter commented 8 years ago
I've applied the patch and made a new .deb.  See:

https://launchpad.net/~tbooth/+archive/ppa1/+sourcepub/2591728/+listing-archive-
extra

I've also notified the package maintainer in Debian so the fix should percolate 
up to Ubuntu in the end, but I'm not sure who I need to prod to get the update 
made in Precise.

Original comment by environm...@ceh.ac.uk on 2 Aug 2012 at 10:29