bluefish spams on commandline with debug output (stdout/stderr)

Bug #1026942 reported by Martin Weis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bluefish
Confirmed
Wishlist
bluefish (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

bluefish has a bad habit of outputting debug messages not only to stderr, but also on stdout.

1) reproduce: start bluefish from commandline (see example below)
1) expected behaviour: being able to use that commandline further.
2) what happens: bluefish output makes commandline barely usable

Each character typed into the gui text area will trigger one debug message.
This is annoying and might be just due to compiler options not properly set.

For now I added this alias to ~/.bashrc:
alias bluefish="bluefish &>/dev/null"

This appears already since some releases of ubuntu, at least on precise it is apparent.

Thank you for looking into it,
Martin

Example:

# on commandline, run:
echo "<?php ?>" > /tmp/bluefish_bug.php
\bluefish /tmp/bluefish_bug.php 2>/tmp/log.stderr 1>/tmp/log.stdout
# type something in gui
# output on commandline as found in /tmp/log.std* (on 11.04/natty here):

::::::::::::::
/tmp/log.stdout
::::::::::::::
htmlbar_build_menu, finished
cleanup_scanner, num_marks=0, fblock_refcount=0,fcontext_refcount=0,fstack_refcount=0
cleanup_scanner, num_marks=0, fblock_refcount=0,fcontext_refcount=0,fstack_refcount=0
group disabled, class=php_short_open_tag, notclass=(null), skip to end of group, my depth=3
cleanup_scanner, num_marks=0, fblock_refcount=0,fcontext_refcount=0,fstack_refcount=0
Language statistics for PHP from /usr/share/bluefish/bflang//php.bflang2
table 45133 (11283,25 Kbytes)
contexts 140 (6,56 Kbytes)
matches 7467 (525,02 Kbytes)
cleanup_scanner, num_marks=0, fblock_refcount=0,fcontext_refcount=0,fstack_refcount=0
scanning run 1 (0 ms): 0, 0, 0, 0; loops=12,chars=9,blocks 1/1 (1) contexts 1/1 (1) scancache 2 refcs 1(0Kb),1(0Kb),2(0Kb) marks 0
scanning run 2 (0 ms): 0, 0, 0, 0; loops=13,chars=11,blocks 0/0 (0) contexts 0/0 (0) scancache 2 refcs 1(0Kb),1(0Kb),2(0Kb) marks 0
[...snip...]

::::::::::::::
/tmp/log.stderr
::::::::::::::

(process:6243): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(process:6243): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(process:6243): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 6
---
Architecture: i386
DistroRelease: Ubuntu 11.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
NonfreeKernelModules: wl
Package: bluefish 2.0.2-1
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-15.64-generic 2.6.38.8
Tags: natty
Uname: Linux 2.6.38-15-generic i686
UpgradeStatus: Upgraded to natty on 2011-05-10 (444 days ago)
UserGroups:

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Hi Martin and thank you for reporting.

Could you please run

apport-collect 1026942

from terminal.

We need the information which apport will attach for furter handling.

On Precise it should run out of the box, when you are on Quantal please install first the

python-launchpadlib

Thank you in advance

melchiaros

Changed in bluefish (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Weis (martin-weis-newsadress) wrote : Dependencies.txt

apport information

tags: added: apport-collected natty
description: updated
Revision history for this message
Martin Weis (martin-weis-newsadress) wrote :

This is a natty system, the same applies to oneiric, but I cannot use apport/launchpad via ssh/elinks.

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Sorry Martin,
I am sure you know it, but anyway. Natty has reached end of live.

I have seen your comment that Oneiric is also affected. Oneiric has still support.

------------------------------------------------------

So, here comes the info how it in fact worked, but should not:

In principle you can stand on the point that when there is support, than there is support, but we depend also on the help of the original developers and they are in common only willing to handle, when the software version is mostly up to date to their last work.

Conclusion of this: For handling this you should be at minimum(I know: strange condition) on the last final release, which is in moment Ubuntu12.04 Precise.

So:

Please upgrade your systems. And when you can still reproduce the issue rerun the apport-collect command.

For Upgrading:

https://help.ubuntu.com/community/UpgradeNotes

choose the right link for your version and please bring your systems to Precise.

Revision history for this message
Martin Weis (martin-weis-newsadress) wrote :

I tested with precise, and there situation is better, so please close this bug.

Just to have the workaround again for previous releases:
For now I added this alias to ~/.bashrc:
alias bluefish="bluefish &>/dev/null"

Thank you for looking into it!
Martin

P.S: These are the only messages remaining while starting, no other debug info output while running.

bluefish /tmp/file.php &>/tmp/log.stdboth
more /tmp/log.stdboth

error reading list 1 Error opening file: No such file or directory

** (bluefish:13769): WARNING **: no configfile rcfile-2.0, try to convert config
 files from older versions

config file migration error 1:Error opening file: No such file or directoryerror
 reading list 1 Error opening file: No such file or directory
Possible error in language file, id - / pattern } has ends_context=2, but has on
ly 2 parent contexts
Possible error in language file, id end-style-tag / pattern </style> has ends_co
ntext=3, but has only 3 parent contexts
Language statistics for PHP from /usr/share/bluefish/bflang//php.bflang2
reference size 773.66 Kbytes
largest table 32000 ( 8000.00 Kbytes)
total tables 51101 ( 12775.25 Kbytes)
contexts 181 ( 8.48 Kbytes)
matches 8113 ( 570.45 Kbytes)
Possible error in language file, no textstyle found for highlight css-draft-prop
erty

Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

I won't close this report. Indeed, often there is debugging output added, which IMHO (I'm part of the authors team) spams the terminal. There is no consistent policy, when and where errors, warnings, debugging output or user information shall be printed. This should be fixed. Please leave this item open. I'll make it an item for bluefish 2.2.4 or 2.2.5.

Changed in bluefish (Ubuntu):
status: Incomplete → New
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Command line output in Ubuntu Quantal:

 bluefish
error reading list 1 Fehler beim Öffnen der Datei: Datei oder Verzeichnis nicht gefunden

** (bluefish:3338): WARNING **: no configfile rcfile-2.0, try to convert config files from older versions

config file migration error 1:Fehler beim Öffnen der Datei: Datei oder Verzeichnis nicht gefundenerror reading list 1 Fehler beim Öffnen der Datei: Datei oder Verzeichnis nicht gefunden

tags: added: oneiric precise
Changed in bluefish (Ubuntu):
status: New → Confirmed
tags: added: quantal
Changed in bluefish:
importance: Unknown → Wishlist
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.