I've been seeing this for a little while in the ouptut while starting servers, but it doesn't seem to be causing any real problems.
1.0 r13979 fedora 23 server.
2016-10-03 12:06:42,129 Error importing ffmpeg encoder (enc_ffmpeg) 2016-10-03 12:06:42,130 cannot import name bytestostr
I'm usually starting with xpra --no-daemon --bind-tcp=0.0.0.0:1203 --start-child=xterm --mdns=no --start-new-commands=yes start :13
.
I'll attach an xpra info - there's probably just a library that I'm not grabbing/updating?
xpra info for server outputting ffmpeg import error
There used to be a bug like this, introduced in r13648 but it has been fixed since r13648:changeset/13648/xpra/trunk/src/xpra/codecs/enc_ffmpeg/encoder.pyx.
Please post the output of:
xpra/codecs/loader.py -v
Which should include the full stacktrace.
It looks like the output was a bit bulky, so I'll just add as an attachment.
loader.py -v output (1.0 r13979)
Your build is not up to date, from the output:
Error importing ffmpeg encoder (enc_ffmpeg) cannot import name bytestostr Traceback (most recent call last): File "loader.py", line 61, in codec_import_check ic = __import__(class_module, {}, {}, classname) File "xpra/codecs/enc_ffmpeg/encoder.pyx", line 15, in init xpra.codecs.enc_ffmpeg.encoder (xpra/codecs/enc_ffmpeg/encoder.c:10829) ImportError: cannot import name bytestostr
The import is not on line 15: browser/xpra/trunk/src/xpra/codecs/enc_ffmpeg/encoder.pyx and hasn't been on line 15 since r13648: browser/xpra/trunk/src/xpra/codecs/enc_ffmpeg/encoder.pyx.
Try making a new build, and more importantly try to figure out why you're not running the revision that you think you are! (as this could cause us endless debugging problems)
Well, poked and prodded and eventually asked smo to take a look. Turns out it was an issue with the trunk/src/build directory... deleted it and did a new build, and the error goes away.
There's probably some other things that should be fixed, but this works for now. Closing.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1330