nanogui: Thread: mouse not working...


[<<] [<] Page 1 of 1 [>] [>>]
Subject: mouse not working...
From: Ritesh Saigal ####@####.####
Date: 11 Sep 2000 21:23:47 -0000
Message-Id: <39BD4D46.1C1C1295@metabyte.com>

Hi Guys,

I am having trouble configuring my mouse to work with an application.
When I run a simple demo application in which I create a window, a mouse
is drawn in the center of the screen and I have no control over it. What
do I have to do to enable the mouse.

Please help me with that...

Best Regds,

Ritesh.

--> -->
 
 
<type 'exceptions.UnicodeDecodeError'>
Python 2.7.18: /usr/bin/python2
Fri May 17 06:04:15 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib64/python2.7/runpy.py in _run_module_as_main(mod_name='__main__', alter_argv=0)
    172         sys.argv[0] = fname
    173     return _run_code(code, main_globals, None,
=>  174                      "__main__", fname, loader, pkg_name)
    175 
    176 def run_module(mod_name, init_globals=None,
fname = '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', loader = <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, pkg_name = ''
 /usr/lib64/python2.7/runpy.py in _run_code(code=<code object <module> at 0x7654848072b0, file "/....org/ezmlm-browse/index.cgi/__main__.py", line 1>, run_globals={'__builtins__': <module '__builtin__' (built-in)>, '__doc__': None, '__file__': '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', '__loader__': <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, '__name__': '__main__', '__package__': '', 'main': <module 'main' from '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py'>}, init_globals=None, mod_name='__main__', mod_fname='/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', mod_loader=<zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, pkg_name='')
     70                        __loader__ = mod_loader,
     71                        __package__ = pkg_name)
=>   72     exec code in run_globals
     73     return run_globals
     74 
code = <code object <module> at 0x7654848072b0, file "/....org/ezmlm-browse/index.cgi/__main__.py", line 1>, run_globals = {'__builtins__': <module '__builtin__' (built-in)>, '__doc__': None, '__file__': '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', '__loader__': <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, '__name__': '__main__', '__package__': '', 'main': <module 'main' from '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py'>}
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py in <module>()
      1 import main
=>    2 main.main()
main = <module 'main' from '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py'>, main.main = <function main>
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py in main()
    424 
    425         if path is not None:
    426                 main_path(path)
    427         else:
=>  428                 main_form()
global main_form = <function main_form>
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py in main_form()
    378         except ImportError:
    379                 die(ctxt, "Invalid command")
=>  380         module.do(ctxt)
    381 
    382 def main():
module = <module 'commands.showthread' from '/home/alex/w...g/ezmlm-browse/index.cgi/commands/showthread.py'>, module.do = <function do>, global ctxt = {'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/commands/showthread.py in do(ctxt={'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'})
      9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
     10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
     11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
=>   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
     13         footer(ctxt)
global sub_showmsg = <function sub_showmsg>, ctxt = {'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/globalfns.py in do_list(ctxt={'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, name='msgs', perpage=10, values=[{'author': u'Ritesh Saigal', 'authorid': 'cfegjpblmpojifhbjicb', 'date': '11 Sep 2000 21:23:47 -0000', 'month': 200009, 'msgnum': 2849, 'subject': u'mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968707427.0}, {'author': u'Thomas H\ufffdhenleitner', 'authorid': 'jbmalbheohadcficfbci', 'date': '12 Sep 2000 09:19:52 -0000', 'month': 200009, 'msgnum': 2851, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968750392.0}, {'author': u'Ritesh Saigal', 'authorid': 'cfegjpblmpojifhbjicb', 'date': '12 Sep 2000 17:50:05 -0000', 'month': 200009, 'msgnum': 2854, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968781005.0}, {'author': u'Gary James', 'authorid': 'ahhmeefhckigommeencn', 'date': '12 Sep 2000 19:24:42 -0000', 'month': 200009, 'msgnum': 2855, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968786682.0}, {'author': u'Ritesh Saigal', 'authorid': 'cfegjpblmpojifhbjicb', 'date': '12 Sep 2000 20:52:32 -0000', 'month': 200009, 'msgnum': 2856, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968791952.0}, {'author': u'Greg Haerr', 'authorid': 'hkmebnbghmbpbeiooefn', 'date': '13 Sep 2000 02:47:57 -0000', 'month': 200009, 'msgnum': 2859, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968813277.0}, {'author': u'Scott Scriven', 'authorid': 'ghoefafigmboimjeepna', 'date': '13 Sep 2000 23:59:32 -0000', 'month': 200009, 'msgnum': 2865, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968889572.0}, {'author': u'Gary James', 'authorid': 'ahhmeefhckigommeencn', 'date': '14 Sep 2000 01:33:23 -0000', 'month': 200009, 'msgnum': 2866, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968895203.0}, {'author': u'Greg Haerr', 'authorid': 'hkmebnbghmbpbeiooefn', 'date': '14 Sep 2000 04:01:52 -0000', 'month': 200009, 'msgnum': 2868, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968904112.0}, {'author': u'Alex Holden', 'authorid': 'ilahbednoifoibmfhjig', 'date': '14 Sep 2000 10:03:37 -0000', 'month': 200009, 'msgnum': 2874, 'subject': u'Re: mouse not working...', 'threadid': 'egjmojnoefgnnijecpck', 'timestamp': 968925817.0}], peritem=<function <lambda>>)
    128                 write(template % ctxt)
    129                 if peritem:
=>  130                         peritem()
    131                 ctxt[ROW] += 1
    132 
peritem = <function <lambda>>
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/commands/showthread.py in <lambda>()
      9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
     10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
     11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
=>   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
     13         footer(ctxt)
global sub_showmsg = <function sub_showmsg>, ctxt = {'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/globalfns.py in sub_showmsg(ctxt={'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=2851)
    228         ctxt[MESSAGE] = msg
    229         format_timestamp(ctxt, ctxt)
=>  230         write(html('msg-header') % ctxt)
    231         rec_showpart(ctxt, msg, 0)
    232         write(html('msg-footer') % ctxt)
global write = <function write>, global html = <function html>, ctxt = {'wrapwidth': '0', 'SERVER_SOFTWARE': 'Apache', ...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}
 /home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/globalfns.py in write(s='<b>Subject:</b>\n<a href="mailto:nanogui@linuxhac...e-Id:</b> &lt;00091210313101.28438@iris&gt;\n<br>\n')
     10 
     11 def write(s):
=>   12         sys.stdout.write(s.encode('utf-8'))
     13 
     14 ###############################################################################
global sys = <module 'sys' (built-in)>, sys.stdout = <open file '<stdout>', mode 'w'>, sys.stdout.write = <built-in method write of file object>, s = '<b>Subject:</b>\n<a href="mailto:nanogui@linuxhac...e-Id:</b> &lt;00091210313101.28438@iris&gt;\n<br>\n', s.encode = <built-in method encode of str object>

<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xf6 in position 241: ordinal not in range(128)
      args = ('ascii', '<b>Subject:</b>\n<a href="mailto:nanogui@linuxhac...e-Id:</b> &lt;00091210313101.28438@iris&gt;\n<br>\n', 241, 242, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 242
      message = ''
      object = '<b>Subject:</b>\n<a href="mailto:nanogui@linuxhac...e-Id:</b> &lt;00091210313101.28438@iris&gt;\n<br>\n'
      reason = 'ordinal not in range(128)'
      start = 241