xpra icon
Bug tracker and wiki

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


Changes between Initial Version and Version 1 of Ticket #2981


Ignore:
Timestamp:
12/14/20 08:53:05 (3 months ago)
Author:
Antoine Martin
Comment:

Please explain how I can reproduce this bug.

I assume that you used the GUI to connect? How? The connect dialog? The session browser?

I am unable to reproduce this bug no matter which one I use.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2981

    • Property Owner changed from Antoine Martin to fanzhuyifan
  • Ticket #2981 – Description

    initial v1  
    22
    33Debug output: see end
    4 
     4{{{
    55xpra.scripts.config.InitException: connection failed: %i format: a number is required, not str
    6 
    7 Proposed Fix: In host_target_string of xpra.scripts.main, cast port to int.
    8 
    9 System: Xpra version, platform and host information
     6}}}
     7Proposed Fix: In host_target_string of `xpra.scripts.mai`n, cast port to int.
     8* System: Xpra version, platform and host information
     9{{{
    1010argv                             : ['/Applications/Xpra.app/Contents/MacOS/Xpra']
    1111config                           : {'clipboard': 'yes', 'clipboard-direction': 'both', 'notifications': 'yes', 'tray': 'yes', 'system-tray': 'yes', 'pings': '5', 'remote-logging': 'both', 'mmap': 'yes', 'mmap-group': 'auto', 'socket-permissions': '600', 'sharing': 'auto', 'lock': 'auto', 'compressors': 'lz4, lzo, zlib, brotli', 'compression_level': '1', 'packet-encoders': 'rencode, bencode, yaml', 'socket-dirs': '~/.xpra', 'idle-timeout': '0', 'server-idle-timeout': '0', 'bandwidth-limit': 'auto', 'ssl-key': '', 'ssl-cert': '', 'ssl-client-verify-mode': 'optional', 'ssl-server-verify-mode': 'required', 'ssl-check-hostname': 'off', 'ssl-verify-flags': 'X509_STRICT', 'ssl-ciphers': 'DEFAULT', 'ssl-options': 'ALL,NO_COMPRESSION', 'file-transfer': 'auto', 'open-url': 'auto', 'file-size-limit': '100', 'open-files': 'auto', 'printing': 'yes', 'lpadmin': '/usr/sbin/lpadmin', 'add-printer-options': ['-E', '-o printer-is-shared=false', '-u allow:$USER'], 'lpinfo': '/usr/sbin/lpinfo', 'postscript-printer': 'drv:///sample.drv/generic.ppd', 'pdf-printer': '', 'speaker': 'on', 'microphone': 'off', 'av-sync': 'on', 'encodings': 'all', 'encoding': 'auto', 'video-encoders': 'all', 'csc-modules': 'all', 'video-decoders': 'all', 'video-scaling': 'auto', 'quality': 'auto', 'min-quality': '30', 'speed': 'auto', 'min-speed': '30', 'auto-refresh-delay': '0.15', 'pixel-depth': '0', 'webcam': 'no', 'opengl': 'probe', 'challenge-handlers': 'all', 'title': '@title@ on @hostname@', 'ssh': 'auto', 'mousewheel': 'on', 'window-close': 'auto', 'desktop-scaling': 'auto', 'desktop-fullscreen': 'no', 'keyboard-sync': 'yes', 'shortcut-modifiers': 'auto', 'key-shortcut': ['Control+Menu:toggle_keyboard_grab', 'Shift+Menu:toggle_pointer_grab', 'Control+F11:toggle_fullscreen', '#+F1:show_menu', '#+F2:show_start_new_command', '#+F3:show_bug_report', '#+F4:quit', '#+F5:increase_quality', '#+F6:decrease_quality', '#+F7:increase_speed', '#+F8:decrease_speed', '#+F10:magic_key', '#+F11:show_session_info', '#+F12:toggle_debug', '#+plus:scaleup', '#+plusminus:scaleup', '#+minus:scaledown', '#+underscore:scaledown', '#+emdash:scaledown', '#+KP_Add:scaleup', '#+KP_Subtract:scaledown', '#+KP_Multiply:scalereset', '#+bar:scalereset', '#+question:scalingoff', '#+degree:scalereset'], 'swap-keys': 'on', 'mdns': 'yes', 'bind': 'auto', 'min-port': '1024', 'ssl': 'auto', 'html': 'auto', 'rfb-upgrade': '5', 'wm-name': 'Xpra', 'input-method': 'none', 'sync-xvfb': '0', 'fake-xinerama': 'no', 'xvfb': 'Xvfb +extension GLX +extension Composite -screen 0 5760x2560x24+32 -dpi 96 -nolisten tcp -noreset -auth $XAUTHORITY', 'log-dir': 'auto', 'log-file': '$DISPLAY.log', 'start-via-proxy': 'no', 'exit-with-children': 'no', 'dbus-launch': 'dbus-launch --sh-syntax --close-stderr', 'dbus-control': 'no', 'dbus-proxy': 'no', 'start-new-commands': 'yes', 'pulseaudio': 'no', 'pulseaudio-command': '', 'pulseaudio-configure-commands': ['pactl set-default-sink Xpra-Speaker', 'pactl set-default-source Xpra-Microphone.monitor'], 'systemd-run': 'no', 'proxy-start-sessions': 'True', 'proxy-video-encoders': 'none'}
     
    2121platform                         : {'': 'darwin', 'name': 'Mac OS X 10.16', 'release': '20.1.0', 'sysrelease': '10.16', 'platform': 'macOS-10.16-x86_64-i386-64bit', 'machine': 'x86_64', 'architecture': ('64bit', ''), 'processor': b'Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz'}
    2222user                             : {'username': 'yifan', 'name': 'yifan'}
    23 version                          : {'version': '4.0.5', 'local_modifications': 0, 'revision': 27999}
     23version                          : {'version': '4.0.5', 'local_modifications': 0, 'revision': 27999
     24}}}
    2425
    25 Network: Compression, packet encoding and encryption
     26* Network: Compression, packet encoding and encryption
     27{{{
    2628bencode                          : {'': True, 'version': (b'Cython', 4, 0)}
    2729brotli                           : {'': True, 'version': '1.0.9'}
     
    4042yaml                             : {'': True, 'version': '5.3'}
    4143zlib                             : {'': True, 'version': '1.0'}
     44}}}
    4245
    43 Encodings: Picture encodings supported
     46* Encodings: Picture encodings supported
     47{{{
    4448avcodec2                         : (58, 91, 100)
    4549ffmpeg                           : (58, 91, 100)
     
    5155webp                             : (1, 1, 0)
    5256x264                             : 157
     57}}}
    5358
    54 OpenGL: OpenGL driver and features
     59* OpenGL: OpenGL driver and features
    5560not available
    5661
    57 Sound: Sound codecs and GStreamer version information
     62* Sound: Sound codecs and GStreamer version information
     63{{{
    5864bundle-metadata                  : ['True']
    5965decoders                         : ['opus', 'opus+ogg', 'vorbis+mka', 'vorbis+ogg', 'vorbis', 'flac+ogg', 'aac+mpeg4', 'wav+lz4', 'wav+lzo', 'wav', 'speex+ogg', 'vorbis', 'opus+mka', 'flac']
     
    7076source.default                   : ['osxaudiosrc']
    7177sources                          : ['osxaudiosrc', 'oss4src', 'audiotestsrc']
     78}}}
    7279
    73 
    74 Debug Output:
    75 
     80* Debug Output:
     81{{{
    76822020-12-14 15:06:59,087 SocketConnection(<paramiko.Channel 1 (open) window=2097152 -> <paramiko.Transport at 0x171fb220 (cipher aes128-ctr, 128 bits) (active; 1 open channel(s))>>, None, ('localhost', '44444'), ('localhost', '44444'), 'ssh', {'host': 'Archers-Revenge-44444', 'port': 22})
    77832020-12-14 15:06:59,088 Connection(('localhost', '44444'), 'ssh', {'host': 'Archers-Revenge-44444', 'port': 22})
     
    961022020-12-14 15:06:59,091 Warning: failed to connect:
    971032020-12-14 15:06:59,091  connection failed: %i format: a number is required, not str
     104}}}