Running interwiki.py in the background produces infrequent but steady stream of beeps, which I can't figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer's volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?
I run interwiki.py from DOS command line in Windows XP.
Jarosław Tuszyński, PhD.
Science Applications International Corporation (SAIC)
703-516-7406 (Office)
571-245-5824 (BlackBerry)
On Dec 23, 2011 10:59 PM, "Tuszynski, Jaroslaw W." < JAROSLAW.W.TUSZYNSKI@saic.com> wrote:
Running interwiki.py in the background produces infrequent but steady
stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?
I run interwiki.py from DOS command line in Windows XP.
Have you tried redirecting stdout somewhere? e.g. `python x.py > x.out` (does windows have a stderr?)
Also, try mucking in the DOS CLI options. (Right click the title bar)
-Jeremy
I tried the redirect like python x.py > x.out and got unexpected results. Although output was not successfully redirected into a text file as expected, the output shown lost most of the fancy formatting like colors and transliterations for non-English alphabets. Not the output is quite unreadable, but no more beeps.
I guess that is progress.
Thanks
Jarek T.
(user:Jarekt)
From: pywikipedia-l-bounces@lists.wikimedia.org [mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf Of Jeremy Baron Sent: Friday, December 23, 2011 11:18 PM To: Pywikipedia discussion list Subject: Re: [Pywikipedia-l] Noisy interwiki.py
On Dec 23, 2011 10:59 PM, "Tuszynski, Jaroslaw W." JAROSLAW.W.TUSZYNSKI@saic.com wrote:
Running interwiki.py in the background produces infrequent but steady stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?
I run interwiki.py from DOS command line in Windows XP.
Have you tried redirecting stdout somewhere? e.g. `python x.py > x.out` (does windows have a stderr?)
Also, try mucking in the DOS CLI options. (Right click the title bar)
-Jeremy
Simply add line to your user-config.py
ring_bell = False
JAnD
Dne 24. prosince 2011 4:59 Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI@saic.com napsal(a):
Running interwiki.py in the background produces infrequent but steady stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?
I run interwiki.py from DOS command line in Windows XP.
Jarosław Tuszyński, PhD.
Science Applications International Corporation (SAIC)
703-516-7406 (Office)
571-245-5824 (BlackBerry)
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
2011/12/28 Jan Dudík jan.dudik@gmail.com
Simply add line to your user-config.py
ring_bell = False
Fortunately, this has already been the default for some years. When I
began to use Pywiki back in 2006, I suffered from this in the first time, because then True was default. Nowadays it is switched on only if you do that explicitely.
On 28 December 2011 22:51, Jan Dudík jan.dudik@gmail.com wrote:
ring_bell = False
ring_bell = False refers to whether the bell will ring when user input is required. The issue noted by Jarek is a problem where printing non-western characters on a windows cmd.exe will result in beeps.
Redirecting stdout to a file will turn off transliteration, which solves this problem, even though it shouldn't change anything when the output is to stderr..
Ah well, it's good to know there is a workaround.
Merlijn
2011/12/24 Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI@saic.com
Running interwiki.py in the background produces infrequent but steady stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?****
Under which codepage are you running? You can check this using 'chcp' in the cmd.exe shell.
I cannot reproduce this problem with codepage 850 under windows 7.
Merlijn
On Mon, Jan 2, 2012 at 3:51 PM, Merlijn van Deen valhallasw@arctus.nl wrote:
2011/12/24 Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI@saic.com
Running interwiki.py in the background produces infrequent but steady stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?
Under which codepage are you running? You can check this using 'chcp' in the cmd.exe shell.
I cannot reproduce this problem with codepage 850 under windows 7.
I have several times met this problem, same codepage, same windows version.
Impatient readers scroll to the bottom. :-)
2012/1/2 Merlijn van Deen valhallasw@arctus.nl
2011/12/24 Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI@saic.com
Running interwiki.py in the background produces infrequent but steady
stream of beeps, which I can’t figure out how to turn off. It seems like occasionally when program tries to display am non English character it beeps. The beep does not respond to computer’s volume or mute control. I was looking for an option for less verbose output, but could not find one. Is there any other way to control it other than disabling motherboard speaker?****
Under which codepage are you running? You can check this using 'chcp' in the cmd.exe shell.
I cannot reproduce this problem with codepage 850 under windows 7.
Hmm. I wanted to write: here is a page to reproduce: http://hu.wikipedia.org/wiki/Port%C3%A1l:Fer%C3%B6er/Keresett_cikkek Try to run a dummy replace.py on it. E. g. change a to b. This is an extreme example with some minutes of continous beeping. Not only beeps it, but in some cases (when there are many beeps, not just 2-3) freezes the command window for a time. After seeng a few examples, I am quite sure that source of the problem is the dot used as separator template because it occured in many beeping pages and has plenty of occurences on this page. The whole story reminds me of good old times when we hid beep characters (CHR(7)) into the text to make the computer beep on type command.
But now I cannot reproduce myself! This page was marked here for a while because I wanted to write you the example, but in the moment it does not beep. Neither beeps http://hu.wikipedia.org/wiki/P._Mobil-diszkogr%C3%A1fia(12 beeps counted) that does not have the separator dot character. I don't know if I had marked them before your change to transliteration or later so it would be good to know if other people still have the problem.
But I catched something very important just in this minute! It still beeps set back my console to raster fonts, but not with Consolas!
The problem is that beeping began when I moved to this computer, Hungarian Windows 7 Prof, Python 2.7 from the old English Windows XP Home, Python 2.5, too many changes to choose. :-)
Excluse me for these many curves in my story, but I was checking and experimenting during comosing this letter. *Summa summarum:* the problem is still alive with raster fonts, but ceased with Consolas. Thank you, Merlijn! So this is the advice to anyone suffering from it. The difference is not only in noise, but the velocity of pywikibot.showDiff(). (I don't use interwiki.py, just replace.)
pywikipedia-l@lists.wikimedia.org