netflix-desktop won't open, several "not found" errors from /usr/bin/wine-browser

Asked by Blaise Alleyne

netflix-desktop was working fine until yesterday, when I ran `aptitude upgrade` and it operated on wine-compholio-i386 and wine-staging-i386...

Now, when running netflix-desktop, the following happens:
$ netflix-desktop --showdebug
/usr/bin/wine-browser: 205: /usr/bin/wine-browser: --patches: not found
/usr/bin/wine-browser: 255: /usr/bin/wine-browser: --version: not found
/usr/bin/wine-browser: 273: /usr/bin/wine-browser: wineboot: not found
Missing necessary environment variables.
Missing necessary environment variables.
/usr/bin/wine-browser: 28: /usr/bin/wine-browser: regedit: not found
/usr/bin/wine-browser: 28: /usr/bin/wine-browser: regedit: not found
/usr/bin/wine-browser: 28: /usr/bin/wine-browser: regedit: not found
################################################################################
# OpenGL Diagnostics #
################################################################################
Direct Rendering: Yes
OpenGL Vendor: VMware, Inc.
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
OpenGL Version: 2.1 Mesa 10.1.3
GLX Version: 1.4
################################################################################
# Firefox #
################################################################################
/usr/bin/wine-browser: 74: /usr/share/wine-browser-installer/wine-silverlight5.1-installer.config-script: regedit: not found
/usr/bin/wine-browser: 1: eval: C:\Program Files\Mozilla Firefox\firefox.exe: not found

I've tried:
  * rm -rf ~/.wine-browser
  * apt-get purge netflix-desktop wine-browser-installer wine-silverlight5.1-installer wine-compholio && apt-get autoremove && apt-get install netflix-desktop

When I reinstall with apt-get, during the install part of the output includes:
netflix-desktop: downloading http://developer.netflix.com/files/Netflix_API2_57x57.png
wine-silverlight5.1-installer: downloading http://silverlight.dlservice.microsoft.com/download/6/B/8/6B885B0B-73D4-4BCE-BFFF-154B4A402D22/20913.00/Silverlight.exe
Everything downloaded and installed.
wine-browser-installer: downloading http://download.mozilla.org/?product=firefox-22.0&os=win&lang=en-US

Silverlight is provided by Microsoft in unmodified form only, you may not redistribute the software.

Everything downloaded and installed.

Yet, then the next time I run netflix-desktop after reinstall, a GTK window pops up from Netflix Desktop saying:
"Not all of the components required by Netflix Desktop were downloaded, would you like to download them now? (requires an Internet connection and sudo permissions)"

When I click "Yes" and authenticate, then Update Notifier pops up with a message about a "Failure to download extra data files" and when I click "Run this action now" (and authenticate *again*), another terminal window pops up with one line about dowloading the Netflix icon... but then disappears and Update Notifier pops up with the *same* message, and I can keep doing the same thing, and it just runs in cycles.

I'm not sure if this is related to the icon being removed ( https://answers.launchpad.net/netflix-desktop/+question/259787 ) and that somehow causing this to cycle or fail to install other extra data files? But eventually when I click "Close" install run action to stop the cycle, I get back to the original "not found" outputs when trying to run netflix-desktop... or if it's something else entirely?

Help?

Question information

Language:
English Edit question
Status:
Solved
For:
Netflix Desktop Edit question
Assignee:
No assignee Edit question
Solved by:
Blaise Alleyne
Solved:
Last query:
Last reply:
Revision history for this message
Sebastian Lackner (slackner) said :
#1

This problem is caused by the recent package rename from wine-compholio to wine-staging, which unfortunately didn't go as well as it was planned. Simple workaround, until the fixed version is available in our repos (still building):

sudo apt-get install wine-compholio-i386 wine-compholio-amd64

Does that fix the issue for you?

Revision history for this message
Blaise Alleyne (balleyne) said :
#2

Hmm, that didn't seem to work. (Thanks for the quick reply though!)

$ sudo apt-get install wine-compholio-i386 wine-compholio-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wine-compholio-amd64

But I'm running a 32-bit system anyways (`uname -m` returns i686), so I just ran:
$ sudo apt-get install wine-compholio-i386

And it did successfully install the package, which is *not* already installed... however, the "not found" messages look the same when I run netflix-desktop.

After that, I also tried installing wine-staging-i386, but same output when trying to run netflix-desktop...

Revision history for this message
Sebastian Lackner (slackner) said :
#3

Please try running

rm -rf ~/.wine-browser

one more time after the installation of the missing package. Do you still see the same "Not found" messages on the next start then?

Revision history for this message
Blaise Alleyne (balleyne) said :
#4

Tried something else... and I've got it working!

I ran `apt-get purge netflix-desktop` and `apt-get install netflix-desktop` and I noticed that it was bringing in wine-staging-i386 as a dependency, but not wine-compholio-i386. I tried installing wine-compholio-i386, but no difference.

But upon inspecting /usr/bin/wine-browser, I noticed that line 40 set WINE="/opt/wine-compholio/bin/wine"... so, I tried changing that to WINE="/opt/wine-staging/bin/wine" and ran netflix-desktop again... and it started a (lengthy) download of Wine Mono Installer, Wine Gecko Installer, etc. -- got past those "not found" errors.

(I should mention that I'd also deleted ~/.wine-browser/ when re-installing netflix-desktop, just to try to make sure it was a clean install.)

But then after those installers completed, I'm still getting this error (but no more "not found" errors):
$ netflix-desktop --showdebug
fixme:winediag:start_process Wine Staging is a testing version containing experimental patches.
fixme:winediag:start_process Please report bugs at http://bugs.wine-staging.com (instead of winehq.org).
################################################################################
# OpenGL Diagnostics #
################################################################################
Direct Rendering: Yes
OpenGL Vendor: VMware, Inc.
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
OpenGL Version: 2.1 Mesa 10.1.3
GLX Version: 1.4
################################################################################
# Firefox #
################################################################################
wine: cannot find 'C:\Program Files\Mozilla Firefox\firefox.exe'

So... in the absence of the "not found" errors... I tried deleting ~/.wine-browser *again*, and then Firefox (wine-browser) opened the next time I tried netflix-desktop!

I even changed back to WINE="/opt/wine-compholio/..." in /usr/bin/wine-browser, and it's working again! (Minus the Netflix icon missing.)

So... I'm not sure exactly which of the steps I took are necessary to reproduce... but the thing that seemed to make a difference for me was switching to WINE="/opt/wine-staging/..." to get the browser install to work I guess...

(I'm having some full screen issues now, can't switch back when I switch away, but not sure if that's related to the reinstall or not -- have had that occasionally in the past.)

Lastly, let me know if I should be doing something differently to get my install fixed the proper way...

Thanks!

Revision history for this message
Blaise Alleyne (balleyne) said :
#5

Oh, sorry, didn't see your earlier message before trying the above... it's possible that the fix could have been as simple as running `rm -rf ~/.wine-browser` again, and my messing around with /usr/bin/wine-browser was totally unnecessary...

Revision history for this message
Sebastian Lackner (slackner) said :
#6

Hi,

the initial problem was not really your fault. We were doing a package rename from "wine-compholio" to "wine-staging", and this process didn't go as well as it was planned (initial version was broken, and the dpkg is sometimes really stupid....). Nevertheless, there normally should be no need to change to the path, because the new "wine-compholio" package installs symlinks pointing to "wine-staging".

I guess removing ~/.wine-browser would have been sufficient after installing wine-compholio-i386 (or alternatively installing the updated packages now), but we will have to do some further investigation to be sure that everything is working again.

Concerning the fullscreen issues, please check:

/opt/wine-staging/bin/wine --check-libs

You are probably missing 32-bit libxcomposite.

@Erich: Would you mind pushing an updated version of netflix-desktop which directly depends on wine-staging? That should hopefully allow to solve the remaining dependency issues a bit easier.