xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 3 years ago

#1330 closed defect (fixed)

fedora 23 server giving error importing ffmpeg encoder

Reported by: alas Owned by: alas
Priority: major Milestone: 1.0
Component: android Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

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?

Attachments (2)

ticket1330_ffmpeg-import-error-xpra-info.txt (45.6 KB) - added by alas 3 years ago.
xpra info for server outputting ffmpeg import error
ticket1330-loader-py-output.txt (19.3 KB) - added by alas 3 years ago.
loader.py -v output (1.0 r13979)

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by alas

xpra info for server outputting ffmpeg import error

comment:1 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to alas

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.

Last edited 3 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 3 years ago by alas

It looks like the output was a bit bulky, so I'll just add as an attachment.

Changed 3 years ago by alas

loader.py -v output (1.0 r13979)

comment:3 Changed 3 years ago by alas

Owner: changed from alas to Antoine Martin

comment:4 Changed 3 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas

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)

comment:5 Changed 3 years ago by alas

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.