| Summary: | x11-misc/xdg-user-dirs package missing | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | echtler |
| Component: | [OLD] GNOME | Assignee: | Freedesktop bugs <freedesktop-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | mikel, morgoth6 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
echtler
2008-05-03 13:24:59 UTC
Odd... Bluez-gnome obex works fine for me. As does a2dp and a bt mouse. I can even send text messages via my phone with bluetooth. (In reply to comment #1) > Odd... Bluez-gnome obex works fine for me. As does a2dp and a bt mouse. I can > even send text messages via my phone with bluetooth. Well, the only thing thats affected by this is OBEX. Do you have a ~/.config/user-dirs.dirs or something similar in /etc? (In reply to comment #2) > (In reply to comment #1) > > Odd... Bluez-gnome obex works fine for me. As does a2dp and a bt mouse. I can > > even send text messages via my phone with bluetooth. > Well, the only thing thats affected by this is OBEX. Do you have a > ~/.config/user-dirs.dirs or something similar in /etc? Could you explain exactly what you're doing with bluez-gnome? A series of steps for us to try to reproduce the problem would be great. > > Well, the only thing thats affected by this is OBEX. Do you have a
> > ~/.config/user-dirs.dirs or something similar in /etc?
> Could you explain exactly what you're doing with bluez-gnome? A series of steps
> for us to try to reproduce the problem would be great.
Ok, let's see..
1. Check if your account has ~/.config/user-dirs.dirs
2. If yes, temporarily move it away.
3. Start bluetooth-applet from a terminal
4. Error message appears: Bluetooth OBEX start failed: Invalid path
5. Set the computer to discoverable in the bluetooth-applet menu.
6. Try to send a file from your mobile phone to the computer.
7. Phone shows error about service not supported (or similar).
(In reply to comment #4) > Ok, let's see.. > > 1. Check if your account has ~/.config/user-dirs.dirs > 2. If yes, temporarily move it away. Didn't have it. > 3. Start bluetooth-applet from a terminal > 4. Error message appears: Bluetooth OBEX start failed: Invalid path No error. > 5. Set the computer to discoverable in the bluetooth-applet menu. > 6. Try to send a file from your mobile phone to the computer. > 7. Phone shows error about service not supported (or similar). For some reason my phone doesn't discover my laptop, even though it's discoverable. I am, however, able to browse my phone through Nautilus as well as copy files, so some OBEX stuff is working fine. > > 1. Check if your account has ~/.config/user-dirs.dirs > > 2. If yes, temporarily move it away. > Didn't have it. Do you have any environment variables set that start with "XDG_" ? If yes, could you post them? > > 3. Start bluetooth-applet from a terminal > > 4. Error message appears: Bluetooth OBEX start failed: Invalid path > No error. Interesting.. I run bluez-gnome-0.26, which version do you have? > > 5. Set the computer to discoverable in the bluetooth-applet menu. > > 6. Try to send a file from your mobile phone to the computer. > > 7. Phone shows error about service not supported (or similar). > For some reason my phone doesn't discover my laptop, even though it's > discoverable. I am, however, able to browse my phone through Nautilus as well > as copy files, so some OBEX stuff is working fine. Maybe your phone doesn't show devices which don't offer the OBEX reception service. Even if the error occurs, I can still browse my phone via Nautilus, too. Florian gnome is in the freedesktop alias, removing to avoid double spam. crap, failure (In reply to comment #6) [...] > Do you have any environment variables set that start with "XDG_" ? > If yes, could you post them? XDG_DATA_DIRS=/usr/share:/usr/kde/3.5/share:/usr/local/share is the only one [...] > > > 4. Error message appears: Bluetooth OBEX start failed: Invalid path > > No error. > Interesting.. I run bluez-gnome-0.26, which version do you have? The same. [...] > Maybe your phone doesn't show devices which don't offer the OBEX reception > service. Even if the error occurs, I can still browse my phone via Nautilus, > too. This used to work at some point of time. My phone has been behaving a little strangely of late, so I'm not sure what to blame. I will try this with another phone in a while and let you know if it works. No .config/user-dirs.dirs. XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ I get the error. I cannot connect to my laptop from my phone; but I've never transferred from my phone to anything before. I can browse my phone from the bt-applet fine, and copy files over. I can find my laptop on my n810; it says the only supported profile is HFP, and it (obviously) cannot browse the laptop. I tried playing with xdg-user-dirs, but it didn't make a difference either to that error message or whether or not obex is available. Are you sure it's related to xdg-user-dirs, and not something else that's missing? The obex server gives this output when the applet is started: ** Message: obex-data-server 0.3 ** Message: Using Session bus ** Message: server socket created ** Message: Server created by: :1.62 ** Message: Disposing Server ** Message: Server disposed at once ** Message: server closed ** Message: Removing listened DBUS name :1.62 (object: /org/openobex/server0) ** Message: Removed from listened DBUS names list > XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ Same for me. > I tried playing with xdg-user-dirs, but it didn't make a difference either to > that error message or whether or not obex is available. Are you sure it's > related to xdg-user-dirs, and not something else that's missing? Quite sure - I dug through the code of bluez-gnome, obex-data-server and glib to find the relevant parts. My user-dirs.dirs contains: XDG_DOWNLOAD_DIR="$HOME/." XDG_PUBLICSHARE_DIR="$HOME/public" Note that there's almost no syntax variation possible, according to what I've read in the glib code. You definitely need: - double quotes and - $HOME at the beginning of the path > The obex server gives this output when the applet is started: > > ** Message: obex-data-server 0.3 > ** Message: Using Session bus > ** Message: server socket created > ** Message: Server created by: :1.62 > ** Message: Disposing Server > ** Message: Server disposed at once > ** Message: server closed > ** Message: Removing listened DBUS name :1.62 (object: /org/openobex/server0) > ** Message: Removed from listened DBUS names list When I start the server from a console, I also get this output when the connection fails. Same problem here. It works previously if I remember correctly, but now I can observe: G_USER_DIRECTORY_DOWNLOAD is not set G_USER_DIRECTORY_PUBLIC_SHARE is not set No user-dire.dirs in ~/.config I think adding this package to portage would be a good idea as obexd for example use this variables too. I've just commited x11-misc/xdg-user-dirs and x11-misc/xdg-user-dirs-gtk to the tree. xdg-user-dirs should probably be added to glib (because it has API that exposes these dirs) RDEPEND at some point. For now, closing as fixed. |