xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Closed 3 years ago

Last modified 9 months ago

#2192 closed defect (fixed)

race condition with printer setup

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 2.5
Component: server Version: 2.4.x
Keywords: Cc:


2019-03-05 10:49:01,455 xpra is ready.
2019-03-05 10:49:07,264 got signal SIGINT
2019-03-05 10:49:07,265 exiting
2019-03-05 10:49:11,040 Error: failed to set lpadmin and lpinfo commands
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/server/mixins/fileprint_server.py", line 97, in init_printing
    printer_definitions = pycups_printing.validate_setup()
  File "/usr/lib64/python2.7/site-packages/xpra/platform/pycups_printing.py", line 238, in validate_setup
    defs = get_printer_definitions()
  File "/usr/lib64/python2.7/site-packages/xpra/platform/pycups_printing.py", line 206, in get_printer_definitions
    drv = get_lpinfo_drv(x)
  File "/usr/lib64/python2.7/site-packages/xpra/platform/pycups_printing.py", line 127, in get_lpinfo_drv
    cr = getChildReaper()
  File "/usr/lib64/python2.7/site-packages/xpra/child_reaper.py", line 29, in getChildReaper
    singleton = ChildReaper()
  File "/usr/lib64/python2.7/site-packages/xpra/child_reaper.py", line 90, in __init__
    signal.signal(signal.SIGCHLD, self.sigchld)
ValueError: signal only works in main thread

Change History (2)

comment:1 Changed 3 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Fixed in r21970.

comment:2 Changed 9 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2192

Note: See TracTickets for help on using tickets.