Bug#654306: reportbug: Can't launch browser for more details

2012-01-15 Thread Per Olofsson
2012-01-14 23:13, Stéphane Aulery skrev:
  Yes, it used to work in the console as well. I think I broke the
  functionality in a recent version. I will fix it for the next upload.
 Maybe xdg-open-browser-multiword.diff patch ?

No, it was a change made upstream (which I forgot to patch).

-- 
Pelle



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-15 Thread Stéphane Aulery
Le dimanche 15 janvier 2012 à 11:33:05, Per Olofsson a écrit :
 2012-01-14 23:13, Stéphane Aulery skrev:
   Yes, it used to work in the console as well. I think I broke the
   functionality in a recent version. I will fix it for the next upload.
  Maybe xdg-open-browser-multiword.diff patch ?
 
 No, it was a change made upstream (which I forgot to patch).

I have tested the source not patched from the xdg-utils source-package and it
works fine. Do I miss somethings ?

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-15 Thread Per Olofsson
2012-01-15 12:02, Stéphane Aulery skrev:
 Le dimanche 15 janvier 2012 à 11:33:05, Per Olofsson a écrit :
 2012-01-14 23:13, Stéphane Aulery skrev:
 Yes, it used to work in the console as well. I think I broke the
 functionality in a recent version. I will fix it for the next upload.
 Maybe xdg-open-browser-multiword.diff patch ?

 No, it was a change made upstream (which I forgot to patch).
 
 I have tested the source not patched from the xdg-utils source-package and it
 works fine. Do I miss somethings ?
 

Are you running scripts/xdg-open from the source directly? That file is
built from scripts/xdg-open.in when building the package. The version
from the source is outdated. (I don't know why upstream keeps outdated
built files in their git repository, but they do.)

In any case, I just uploaded a new version of xdg-utils with this bug fixed.

-- 
Pelle



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-15 Thread Stéphane Aulery
Le dimanche 15 janvier 2012 à 12:16:00, Per Olofsson a écrit :
 2012-01-15 12:02, Stéphane Aulery skrev:
  Le dimanche 15 janvier 2012 à 11:33:05, Per Olofsson a écrit :
  2012-01-14 23:13, Stéphane Aulery skrev:
  Yes, it used to work in the console as well. I think I broke the
  functionality in a recent version. I will fix it for the next upload.
  Maybe xdg-open-browser-multiword.diff patch ?
 
  No, it was a change made upstream (which I forgot to patch).
  
  I have tested the source not patched from the xdg-utils source-package and 
  it
  works fine. Do I miss somethings ?
  
 
 Are you running scripts/xdg-open from the source directly? That file is
 built from scripts/xdg-open.in when building the package. The version
 from the source is outdated.

Yes.

 In any case, I just uploaded a new version of xdg-utils with this bug fixed.

Ok. Thanks.

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Sandro Tosi
On Sat, Jan 14, 2012 at 01:35, Stéphane Aulery lk...@free.fr wrote:
 Le vendredi 13 janvier 2012 à 05:42:21, Sandro Tosi a écrit :
 On Mon, Jan 9, 2012 at 02:10, Stéphane Aulery lk...@free.fr wrote:
  Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
 
  - do you have xdg-utils installed? reportbug uses xdg-open to launch urls
 
  Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)

 does

 $ xdg-open 'http://www.debian.org'

 works from the same env where reportbug doesn't?

 No.

Ok, so that's the problem: reportbug uses xdg-open (if installed) to
open any URL, which is the preferred way to be platform/DE/whatever
independent; but in your case xdg-open fails to open a URL, that might
be a bug in xdg-open (it *seems* to be able to use these browsers:
links2 elinks links lynx w3m) or a missing textual browser. In any of
these cases it's not a bug in reportbug, so if it's in xdg-open we
should reassign this bug to xdg-open else we should close it.

Let me know,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Stéphane Aulery
Le samedi 14 janvier 2012 à 10:39:01, Sandro Tosi a écrit :
 On Sat, Jan 14, 2012 at 01:35, Stéphane Aulery lk...@free.fr wrote:
  Le vendredi 13 janvier 2012 à 05:42:21, Sandro Tosi a écrit :
  On Mon, Jan 9, 2012 at 02:10, Stéphane Aulery lk...@free.fr wrote:
   Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
  
   - do you have xdg-utils installed? reportbug uses xdg-open to launch 
   urls
  
   Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)
 
  does
 
  $ xdg-open 'http://www.debian.org'
 
  works from the same env where reportbug doesn't?
 
  No.
 
 Ok, so that's the problem: reportbug uses xdg-open (if installed) to
 open any URL, which is the preferred way to be platform/DE/whatever
 independent; but in your case xdg-open fails to open a URL, that might
 be a bug in xdg-open (it *seems* to be able to use these browsers:
 links2 elinks links lynx w3m) or a missing textual browser. In any of
 these cases it's not a bug in reportbug, so if it's in xdg-open we
 should reassign this bug to xdg-open else we should close it.

The problem is that xdg-utlis description say : xdg-utils contains utilities
for integrating applications with the desktop environment, regardless of which
desktop environment is use.

Does xdg-utils have a console equivalent like urlview ? (See
/etc/urlview/url_handler.sh)

If no, I propose to reassign this bug to xdg-utils.

Regards,

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Sandro Tosi
reassign 654306 xdg-utils
retitle 654306 xdg-open: can't detect browser in console
thanks

On Sat, Jan 14, 2012 at 12:37, Stéphane Aulery lk...@free.fr wrote:
 Le samedi 14 janvier 2012 à 10:39:01, Sandro Tosi a écrit :
 On Sat, Jan 14, 2012 at 01:35, Stéphane Aulery lk...@free.fr wrote:
  Le vendredi 13 janvier 2012 à 05:42:21, Sandro Tosi a écrit :
  On Mon, Jan 9, 2012 at 02:10, Stéphane Aulery lk...@free.fr wrote:
   Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
  
   - do you have xdg-utils installed? reportbug uses xdg-open to launch 
   urls
  
   Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)
 
  does
 
  $ xdg-open 'http://www.debian.org'
 
  works from the same env where reportbug doesn't?
 
  No.

 Ok, so that's the problem: reportbug uses xdg-open (if installed) to
 open any URL, which is the preferred way to be platform/DE/whatever
 independent; but in your case xdg-open fails to open a URL, that might
 be a bug in xdg-open (it *seems* to be able to use these browsers:
 links2 elinks links lynx w3m) or a missing textual browser. In any of
 these cases it's not a bug in reportbug, so if it's in xdg-open we
 should reassign this bug to xdg-open else we should close it.

 The problem is that xdg-utlis description say : xdg-utils contains utilities
 for integrating applications with the desktop environment, regardless of which
 desktop environment is use.

but it should work in console too.

 Does xdg-utils have a console equivalent like urlview ? (See
 /etc/urlview/url_handler.sh)

 If no, I propose to reassign this bug to xdg-utils.

done.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Stéphane Aulery
Le samedi 14 janvier 2012 à 01:46:31, Sandro Tosi a écrit :
 reassign 654306 xdg-utils
 retitle 654306 xdg-open: can't detect browser in console
 thanks
 
 On Sat, Jan 14, 2012 at 12:37, Stéphane Aulery lk...@free.fr wrote:
  Le samedi 14 janvier 2012 à 10:39:01, Sandro Tosi a écrit :
 
  Ok, so that's the problem: reportbug uses xdg-open (if installed) to
  open any URL, which is the preferred way to be platform/DE/whatever
  independent; but in your case xdg-open fails to open a URL, that might
  be a bug in xdg-open (it *seems* to be able to use these browsers:
  links2 elinks links lynx w3m) or a missing textual browser. In any of
  these cases it's not a bug in reportbug, so if it's in xdg-open we
  should reassign this bug to xdg-open else we should close it.
 
  The problem is that xdg-utlis description say : xdg-utils contains 
  utilities
  for integrating applications with the desktop environment, regardless of 
  which
  desktop environment is use.
 
 but it should work in console too.

Ok.

  Does xdg-utils have a console equivalent like urlview ? (See
  /etc/urlview/url_handler.sh)
 
  If no, I propose to reassign this bug to xdg-utils.
 
 done.

Ok. Thank you very much.

Regards,

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Per Olofsson
Hi,

2012-01-14 14:35, Stéphane Aulery skrev:
 On Sat, Jan 14, 2012 at 12:37, Stéphane Aulery lk...@free.fr wrote:
 Le samedi 14 janvier 2012 à 10:39:01, Sandro Tosi a écrit :

 Ok, so that's the problem: reportbug uses xdg-open (if installed) to
 open any URL, which is the preferred way to be platform/DE/whatever
 independent; but in your case xdg-open fails to open a URL, that might
 be a bug in xdg-open (it *seems* to be able to use these browsers:
 links2 elinks links lynx w3m) or a missing textual browser. In any of
 these cases it's not a bug in reportbug, so if it's in xdg-open we
 should reassign this bug to xdg-open else we should close it.

 The problem is that xdg-utlis description say : xdg-utils contains 
 utilities
 for integrating applications with the desktop environment, regardless of 
 which
 desktop environment is use.

 but it should work in console too.

Yes, it used to work in the console as well. I think I broke the
functionality in a recent version. I will fix it for the next upload.

-- 
Pelle



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-14 Thread Stéphane Aulery
Le samedi 14 janvier 2012 à 06:52:00, Per Olofsson a écrit :
 Hi,
 
 2012-01-14 14:35, Stéphane Aulery skrev:
  On Sat, Jan 14, 2012 at 12:37, Stéphane Aulery lk...@free.fr wrote:
  Le samedi 14 janvier 2012 à 10:39:01, Sandro Tosi a écrit :
 
  Ok, so that's the problem: reportbug uses xdg-open (if installed) to
  open any URL, which is the preferred way to be platform/DE/whatever
  independent; but in your case xdg-open fails to open a URL, that might
  be a bug in xdg-open (it *seems* to be able to use these browsers:
  links2 elinks links lynx w3m) or a missing textual browser. In any of
  these cases it's not a bug in reportbug, so if it's in xdg-open we
  should reassign this bug to xdg-open else we should close it.
 
  The problem is that xdg-utlis description say : xdg-utils contains 
  utilities
  for integrating applications with the desktop environment, regardless of 
  which
  desktop environment is use.
 
  but it should work in console too.
 
 Yes, it used to work in the console as well. I think I broke the
 functionality in a recent version. I will fix it for the next upload.

Maybe xdg-open-browser-multiword.diff patch ?

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-13 Thread Sandro Tosi
On Mon, Jan 9, 2012 at 02:10, Stéphane Aulery lk...@free.fr wrote:
 Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
 On Mon, Jan 2, 2012 at 22:12, Stéphane Aulery lk...@free.fr wrote:
  When I try to view the complete discussion attached to a bug with More
  details (launch browser) sub-menu, reportbug works into space (without
  message) then return to the same menu without crash.

 It's not that clear what's happening (works into space  friends)

 Sorry. It displays a blank line on the bottom of the screen, runs 2 to 3 
 seconds
 without doing anything, then it is up on the same screen.

 but if I get it right, reportbug in Urwid interface can't launch
 external browser: is that correct?

 Correct.

 If so, then I have some questions for you:

 - does launch browser works for other UIs (text  gtk2)?

 Yes.

 - do you have xdg-utils installed? reportbug uses xdg-open to launch urls

 Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)

does

$ xdg-open 'http://www.debian.org'

works from the same env where reportbug doesn't?

 - does this command line launch a browser? python -c import
 webbrowser; webbrowser.open('http://google.com')

 Yes.

 - are you running in a text-only env, so without a GUI?

 Yes, on linux console.

a real console or a terminal emulator?

 I have an idea that you have finded a solution.

I'm just looping in the code and trying to identify what might go wrong.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-13 Thread Stéphane Aulery
Le vendredi 13 janvier 2012 à 05:42:21, Sandro Tosi a écrit :
 On Mon, Jan 9, 2012 at 02:10, Stéphane Aulery lk...@free.fr wrote:
  Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
 
  - do you have xdg-utils installed? reportbug uses xdg-open to launch urls
 
  Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)
 
 does
 
 $ xdg-open 'http://www.debian.org'
 
 works from the same env where reportbug doesn't?

No.

  - are you running in a text-only env, so without a GUI?
 
  Yes, on linux console.
 
 a real console or a terminal emulator?

A real console.


Regards,

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-08 Thread Sandro Tosi
On Mon, Jan 2, 2012 at 22:12, Stéphane Aulery lk...@free.fr wrote:
 When I try to view the complete discussion attached to a bug with More
 details (launch browser) sub-menu, reportbug works into space (without
 message) then return to the same menu without crash.

It's not that clear what's happening (works into space  friends)
but if I get it right, reportbug in Urwid interface can't launch
external browser: is that correct? If so, then I have some questions
for you:

- does launch browser works for other UIs (text  gtk2)?
- do you have xdg-utils installed? reportbug uses xdg-open to launch urls
- does this command line launch a browser? python -c import
webbrowser; webbrowser.open('http://google.com')
- are you running in a text-only env, so without a GUI?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-08 Thread Stéphane Aulery
Le lundi 09 janvier 2012 à 01:13:01, Sandro Tosi a écrit :
 On Mon, Jan 2, 2012 at 22:12, Stéphane Aulery lk...@free.fr wrote:
  When I try to view the complete discussion attached to a bug with More
  details (launch browser) sub-menu, reportbug works into space (without
  message) then return to the same menu without crash.
 
 It's not that clear what's happening (works into space  friends)

Sorry. It displays a blank line on the bottom of the screen, runs 2 to 3 seconds
without doing anything, then it is up on the same screen.

 but if I get it right, reportbug in Urwid interface can't launch
 external browser: is that correct?

Correct.

 If so, then I have some questions for you:

 - does launch browser works for other UIs (text  gtk2)?

Yes.

 - do you have xdg-utils installed? reportbug uses xdg-open to launch urls

Yes, xdg-utils 1.1.0~rc1+ 1.1.0~rc1+ (from testing)

 - does this command line launch a browser? python -c import
 webbrowser; webbrowser.open('http://google.com')

Yes.

 - are you running in a text-only env, so without a GUI?

Yes, on linux console.

I have an idea that you have finded a solution.

Regards,

-- 
Stéphane Aulery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654306: reportbug: Can't launch browser for more details

2012-01-02 Thread Stéphane Aulery
Package: reportbug
Version: 6.3.1
Severity: normal

Dear Maintainer,

When I try to view the complete discussion attached to a bug with More
details (launch browser) sub-menu, reportbug works into space (without
message) then return to the same menu without crash.

Regards,



-- Package-specific info:
** Environment settings:
EDITOR=vim
DEBEMAIL=lk...@free.fr
DEBFULLNAME=Stéphane Aulery
INTERFACE=urwid

** /home/lkppo/.reportbugrc:
reportbug_version 6.3
mode standard
ui urwid
realname Stéphane Aulery
email lk...@free.fr

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt   0.8.15.9
ii  python2.7.2-9
ii  python-reportbug  6.3.1

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils  1.5.41
ii  debsums2.0.50
ii  dlocate1.02
ii  emacs22-bin-common | emacs23-bin-commonnone
ii  exim4  4.77-1
ii  exim4-daemon-light [mail-transport-agent]  4.77-1+b1
ii  file   5.09-2
ii  gnupg  1.4.11-3
ii  python-gtk22.24.0-2
ii  python-gtkspell2.25.3-11
ii  python-urwid   1.0.1-2
ii  python-vte 1:0.28.2-4
ii  xdg-utils  1.1.0~rc1+git20111210-3

Versions of packages python-reportbug depends on:
ii  apt   0.8.15.9
ii  python2.7.2-9
ii  python-debian 0.1.21
ii  python-debianbts  1.10
ii  python-support1.0.14

python-reportbug suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org