VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: medit crashes on print  (Read 1061 times)

Pita

  • Vectorian
  • ****
  • Posts: 1326
medit crashes on print
« on: October 02, 2010, 07:54:14 pm »

I have never used medit now when I tried it crashes when clicking on print or
Ctrl-p giving segmentation fault. Version 0.9.4 in my VL6 box.

It does not crash in VL7 version 0.10.4, however, if I open this version in VL6
it again crashes when trying to print.

Any suggestion?
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: medit crashes on print
« Reply #1 on: October 07, 2010, 11:05:27 am »

I have never used medit now when I tried it crashes when clicking on print or
Ctrl-p giving segmentation fault. Version 0.9.4 in my VL6 box.

Can't say I often print from Medit, but I just tried from VL6.0 Light. My printer is a Brother mono laser, which hangs off my Amahi server, shared as a Samba printer. No problem printing here. Well, apart from the fact that the printer (and Cups) is set for A4 paper, but it looks as though Medit is calibrated for Letter.

Quote
It does not crash in VL7 version 0.10.4, however, if I open this version in VL6
it again crashes when trying to print.

I'm a bit surprised that 0.10.4 runs under VL6.0 at all. Even when I updated cmake for VL6.0, I still couldn't get anything later than 0.94 to build under VL6.0.

Quote
Any suggestion?

What printer are you using, and how is it configured?

Paul.
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: medit crashes on print
« Reply #2 on: October 07, 2010, 11:23:51 am »

I'm willing to bet this is related to gnomeprintui or gnomeprintcups

Pita

  • Vectorian
  • ****
  • Posts: 1326
Re: medit crashes on print
« Reply #3 on: October 08, 2010, 08:23:39 pm »

I'm willing to bet this is related to gnomeprintui or gnomeprintcups

I will not challenge your bet so we leave it that way since I will not remove those programs
and I am happy with gedit.

My printers are an Epson LQ300 and a Brother DCP-385C both connected to an USB port.

When I used medit 0.10.4 in VL6 I opened /mnt /VL7/usr/bin/medit.
Logged

zhanghuxyz

  • Member
  • *
  • Posts: 1
Re: medit crashes on print
« Reply #4 on: October 13, 2010, 07:04:16 pm »

for me the example works in Puppy 4.12.
I attach the project.
Extract it in the project folder ugg stiefel, and open it in the Valaide.

Or compile main.gs by hand:


Maybe you added something, or there was an error caused by copy&paste from your webbrowser.
I had encountered this in the ugg, maybe webbrowsers add different linefeeds or whatever.

I use
gtksourceview-2.4.2.pet
valide-0.4-1-i686-svn-2009-03-27.pet
I run the vala-IDE by typing "validestart", or from the menu: "Valide -Puppy4"
Mark
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1326
Re: medit crashes on print
« Reply #5 on: November 20, 2010, 08:35:18 pm »

I got it to print now:

File > Page Setup > Paper size, change from A4 to US Letter, > Apply

After that medit will print w/o crashing. The setting to US Letter is not stored and reverts back
to A4 at each new opening of medit.
« Last Edit: November 21, 2010, 12:48:11 am by Pita »
Logged