Unable to test extended attributes at location '/home/username/.wine-browser'.

Asked by James Angelo

Netflix Desktop was working perfectly fine until I started getting this error message " Unable to test extended attributes at location '/home/username/.wine-browser'." I opened fstab and added user_xattr to the fourth column of the root filesystem line. I remounted the main filesystem after. However, that didn't seem to work. How can I fix this issue?

Question information

Language:
English Edit question
Status:
Answered
For:
Netflix Desktop Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Erich E. Hoover (ehoover) said :
#1

Does it actually say '/home/username/.wine-browser' or is "username" replaced with your username?

Revision history for this message
James Angelo (jamesangelo89) said :
#2

username is replaced with my username. This is the actual error message " Unable to test extended attributes at location '/home/james/.wine-browser'. " Thanks!

Revision history for this message
Erich E. Hoover (ehoover) said :
#3

Could you please run the following command?:
/usr/share/wine-browser-installer/test-xattr $HOME/.wine-browser; echo "$?"

Revision history for this message
James Angelo (jamesangelo89) said :
#4

This is what I got:
Traceback (most recent call last):
  File "/usr/share/wine-browser-installer/test-xattr", line 3, in <module>
    import xattr
ImportError: No module named xattr

Revision history for this message
Erich E. Hoover (ehoover) said :
#5

Are you running Ubuntu? If so then then the package "python-xattr" should be installed automatically by the package manager...

Revision history for this message
James Angelo (jamesangelo89) said :
#6

Yes, I'm running Ubuntu. After running /usr/share/wine-browser-installer/test-xattr $HOME/.wine-browser; echo "$?", I download "python-xattr" and tried to install it using python setup.py install. I had errors about the the libffi package not found. I installed the libffi-dev from the synaptic package manager, and I ran "/usr/share/wine-browser-installer/test-xattr $HOME/.wine-browser; echo "$?" again. It returned 0.

Revision history for this message
Erich E. Hoover (ehoover) said :
#7

Hi James, that should fix your problem then. There should actually be a package dependency on python-xattr, so that should not have been necessary. Do you have a custom python install?

Revision history for this message
James Angelo (jamesangelo89) said :
#8

It didn't fix the issue. I have Enthought Canopy installed on my machine, so Enthought Canopy Python 2.7.6 is set as the default version. I'm thinking it conflicted with Python 2.7.6 since I have both Enthought Canopy Python 2.7.6 and Python 2.7.6 installed on my machine. I also have Python 3.4.0.

Revision history for this message
Erich E. Hoover (ehoover) said :
#9

So, to be clear:
/usr/share/wine-browser-installer/test-xattr $HOME/.wine-browser; echo "$?"
returns "0". But launching netflix-desktop still returns an error?

Revision history for this message
James Angelo (jamesangelo89) said :
#10

Yes.

Revision history for this message
Erich E. Hoover (ehoover) said :
#11

Hmm, I'm not sure how that's possible... The exact lines are:
"${PKG_DIR}/test-xattr" "${WINEPREFIX}";
XATTR="$?";
if [ "${XATTR}" -ne "0" ]; then
    ... <-- create appropriate error message
fi

previously it sets:
PKG_DIR="/usr/share/wine-browser-installer";
and in your case:
export WINEPREFIX="/home/james/.wine-browser";

So, if that command you tested before works then netflix-desktop should work as well. You could try editing /usr/bin/wine-browser to give you some diagnostics, but at this point it should really be working.

Revision history for this message
rafi rosenberg (rafi-0) said :
#12

i am having the same problem and i got "0" as a response to

 /usr/share/wine-browser-installer/test-xattr $HOME/.wine-browser; echo "$?"

Revision history for this message
Erich E. Hoover (ehoover) said :
#13

Well, you could try copying /usr/bin/wine-browser to another place (like your home directory) and then add a line after these two lines:
"${PKG_DIR}/test-xattr" "${WINEPREFIX}";
XATTR="$?";
to read something like:
echo "${PKG_DIR}/test-xattr ${WINEPREFIX}: $XATTR";

That should give us a better idea as to why it's failing.

Can you help with this problem?

Provide an answer of your own, or ask James Angelo for more information if necessary.

To post a message you must log in.