xpra icon
Bug tracker and wiki

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

Opened 9 years ago

Closed 9 years ago

Last modified 17 months ago

#303 closed defect (invalid)

invalid literal Value error when attaching with 32 bit xp via cmd

Reported by: alas Owned by: alas
Priority: major Milestone: 0.9
Component: client Version:
Keywords: Cc:


Trying to connect to an xpra session using a 32 bit windows xp client (0.9.0) with the cmd shell with the following command:

xpra_cmd.exe attach tcp:

The client generates the following error:

xpra client 0.9.0
   File "xpra_cmd.py", line 12 in (module) 
Value Error: invalid literal for int() with base 10: ''

The launch GUI works fine.

Change History (5)

comment:1 Changed 9 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas

Please include the full stacktrace - it is missing the most important part.

Please also try running with -d all

comment:2 Changed 9 years ago by Antoine Martin

Milestone: 0.9
Priority: minormajor

comment:3 Changed 9 years ago by alas

Resolution: invalid
Status: newclosed

I can't seem to reproduce this bug when using --opengl=off . I'm going to assume it was an opengl issue and close this.

comment:4 Changed 9 years ago by Antoine Martin

The opengl probing does not happen until much later, after the connection has been established.

And I managed to reproduce it, not with the command line posted in this ticket but with this one (an invalid one):

$ xpra attach tcp:
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
xpra client version 0.9.0
Traceback (most recent call last):
  File "/bin/xpra", line 6, in <module>
    sys.exit(xpra.scripts.main.main(__file__, sys.argv))
  File "xpra/scripts/main.py", line 404, in main
    return run_client(parser, options, args, mode)
  File "xpra/scripts/main.py", line 630, in run_client
    conn = connect_or_fail(pick_display(parser, opts, extra_args))
  File "xpra/scripts/main.py", line 502, in pick_display
    return parse_display_name(parser.error, opts, extra_args[0])
  File "xpra/scripts/main.py", line 476, in parse_display_name
    port = int(parts[-1])
ValueError: invalid literal for int() with base 10: ''

This is "fixed" in r3043: we show a better error message:

error: invalid tcp connection string, use tcp/HOST/PORT or tcp:host:port
Last edited 9 years ago by Antoine Martin (previous) (diff)

comment:5 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.