aMSN Forums
March 13, 2010, 09:23:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Farsight2 access rights problem  (Read 4875 times)
Menion
Newbie

Offline Offline

Posts: 3


View Profile
« on: May 25, 2009, 06:21:42 am »

Hi
I have some access rights problem with Farsight2, running aMSN under Ubuntu 9.04
That is the output of the amsn log:

[07:16:03] Farsight : Preparing
[07:16:03] Farsight debug : Error: Error while creating new audio_session (1): Could not create the rtp muxer element
[07:16:03] Farsight Prepare error :

If I launch amsn as root farsight2 works correctly. I guess it could be the root cause of all this farsight2 problems user are reporting.
Any clue of where could be this access problem. It seems tha under 8.10 and previous you don't have this problem, I guess must be some device either directory ownership that is changed.
Bye
Logged
Stemp
Power user
*
Offline Offline

Posts: 60



View Profile WWW
« Reply #1 on: May 25, 2009, 05:10:17 pm »

Try to remove .gstreamer and .farsight2 dirs in your home

Code:
mv ~/.gstreamer-0.10 ~/.gstreamer-0.10.bak
mv ~/.farsight ~/.farsight.bak
Logged

Menion
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #2 on: May 25, 2009, 06:13:50 pm »

YES, was .gstreamer-0.10 directory (I don't have any .farsight)
Thanks!
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9346


View Profile WWW
« Reply #3 on: May 26, 2009, 05:57:00 pm »

humm... It looks like the gstreamer cache for your user was simply outdated... The farsight cache is actually in ~/.cache/farsight but deleting the gstreamer cache forced farsight to recreate its own cache, so that's good..
a possibility is that maybe you changed your clock or something so gstreamer thought the cache was up to date while in fact, it wasn't...
Logged

KaKaRoTo
tmsbrdrs
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #4 on: July 23, 2009, 01:22:59 am »

I tried the fix and still am having the same problem as the OP.

I also don't have a ~./farsight directory and am getting the exact same error message unless I use aMSN as root.

Would deleting the ~./gstreamer directory be a good next logical step? I'm not familiar enough with the system to try it and troubleshoot my way back if I mess something up.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9346


View Profile WWW
« Reply #5 on: July 23, 2009, 02:29:40 am »

hi tmsbrdrs, the file is ~/.cache/farsight.. the directory has to start with a dot...
Logged

KaKaRoTo
tmsbrdrs
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #6 on: July 23, 2009, 07:51:38 am »

Perhaps I'm being a bit dense here. Should I try moving the farsight directory in the same way I tried moving the gstreamer directory?
I did find the ~/.cache/farsight directory but am not completely sure what to do with it now that I've found it.

Suggestion, in the aMSN repo for Jaunty, I noticed that both farsight and libnice are not available. It might just get rid of these issues if both dependencies were added in to the repository and aMSN itself was set to ask for them.

Just an idea though.

My next step will be to completely remove aMSN and try reinstalling it now that I'm absolutely sure libnice and farsight have been installed.
Logged
marc2009
Power user
*
Offline Offline

Posts: 61


View Profile
« Reply #7 on: July 23, 2009, 08:35:16 am »

Quote from: "tmsbrdrs"
Perhaps I'm being a bit dense here. Should I try moving the farsight directory in the same way I tried moving the gstreamer directory?
I did find the ~/.cache/farsight directory but am not completely sure what to do with it now that I've found it.

Suggestion, in the aMSN repo for Jaunty, I noticed that both farsight and libnice are not available. It might just get rid of these issues if both dependencies were added in to the repository and aMSN itself was set to ask for them.

Just an idea though.

My next step will be to completely remove aMSN and try reinstalling it now that I'm absolutely sure libnice and farsight have been installed.


yes, it would be good to remove amsn ( make uninstall ), then update your distribution ( aptitude update and aptitude upgrade I think ? to update gstreamer-* and libnice/farsight2 ) and then ./configure, make clean, make and sudo make install

++
Logged

I'm French, so please correct me if I make mistakes, thanks a lot.
Stemp
Power user
*
Offline Offline

Posts: 60



View Profile WWW
« Reply #8 on: July 23, 2009, 02:01:12 pm »

Quote from: "tmsbrdrs"
Suggestion, in the aMSN repo for Jaunty, I noticed that both farsight and libnice are not available. It might just get rid of these issues if both dependencies were added in to the repository and aMSN itself was set to ask for them.


Are you talking about the amsn-daily PPA repo ?
because libnice is there (version 0.0.8 ) and farsight2 is also there (farsight is outdated).
Logged

tmsbrdrs
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #9 on: July 23, 2009, 09:54:27 pm »

With them existing in the repo in a form that doesn't help, that means they might as well not be there.

However, when looking through the listing for all apps and dependencies supplied through that repo I did not find farsight2 or libnice. I also tried a search through Synaptic for both farsight2 and libnice and found neither. I updated through synaptic and neither file was installed as a dependency though both are necessary for full functionality so, as I stated, I suggest they both be marked as dependencies for version .98b so that they may be installed through Synaptic and if you're right and the versions supplied are too old to allow this functionality, I'd suggest adding more modern versions of both.

I did uninstall and reinstall and now have farsight2 reporting to work properly through aMSN but have yet to try the call feature to ensure proper functionality on my system.

marc2009

It also works to just uninstall through Synaptic and then reinstall, also takes a little less typing and it's faster. Thanks for the response though.
Logged
Stemp
Power user
*
Offline Offline

Posts: 60



View Profile WWW
« Reply #10 on: July 23, 2009, 10:14:55 pm »

Quote from: "tmsbrdrs"
With them existing in the repo in a form that doesn't help, that means they might as well not be there.

However, when looking through the listing for all apps and dependencies supplied through that repo I did not find farsight2 or libnice. I also tried a search through Synaptic for both farsight2 and libnice and found neither. I updated through synaptic and neither file was installed as a dependency though both are necessary for full functionality so, as I stated, I suggest they both be marked as dependencies for version .98b so that they may be installed through Synaptic and if you're right and the versions supplied are too old to allow this functionality, I'd suggest adding more modern versions of both.

I did uninstall and reinstall and now have farsight2 reporting to work properly through aMSN but have yet to try the call feature to ensure proper functionality on my system.


amsn from the amsn-daily repo depend on libnice0 and libgstfarsight0.10, both are also in this repository : PPA for aMsn Daily
If you properly added this repo in your sources.list you should have the last version.
Logged

tmsbrdrs
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #11 on: July 24, 2009, 12:33:42 am »

Added properly, didn't find them, had to download and install them the long way.

Yes aMSN depends on farsight2 and libnice. However, when installed aMSN .98b, these are not set as dependencies, meaning synaptic doesn't know to look for and install farsight2 and libnice. If it did, we wouldn't be having this conversation.

If it's set as a dependency and should be getting installed as one by synaptic or apt-get or aptitude or whatever other package manager your system uses then there is very obviously a problem since it is not getting installed as one.

If it's not set as a dependency in such a way that synaptic installs it automatically then it should be set like one.
Logged
Stemp
Power user
*
Offline Offline

Posts: 60



View Profile WWW
« Reply #12 on: July 24, 2009, 12:44:57 am »

@tmsbrdrs : I'm sorry but you have a problem  Tongue

here is part of the debian/control file :

Code:
Package: amsn
Architecture: any
Depends: ${shlibs:Depends},
 amsn-data (= ${source:Version}),
 tk8.5,
 tcl-tls,
 libsnack2,
 xdg-utils,
 gstreamer0.10-plugins-good,
 gstreamer0.10-plugins-bad,
 gstreamer0.10-ffmpeg,
 libgstfarsight0.10-0,
 libnice0,
 libgupnp-1.0-2


As you can see the package amsn depend on libnice and libgstfarsight !!

And I really don't understand why you had problems, you're the first one complaining.
For testing, and if you have time, could you please remove amsn, libnice and farsight and install it via apt-get to get the messages ?
Logged

tmsbrdrs
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #13 on: July 24, 2009, 03:14:56 am »

The problem wasn't in a base install. I was testing the upgrade path. I also was testing the use of synaptic package manager which did not see farsight2 until I added an additional repository. I checked your source vs. the PPA and you're right, they're listed right there but they're not installing as dependencies which is the problem. It's not installing in a way that a new user can simply click and be done with it (in other words, it's a bit more difficult than it should be).

My suggestion should not be taken as a complaint. First time users won't be willing to go through and look for farsight2 and libnice and install them separately. What I'm suggesting is that they be set to install as any other dependency which, from my own experience so far, they're not. The new features are a beautiful thing, I'd just like to see farsight2 and libnice installed in a way that lets those features shine.

As I said, it's working now. I uninstalled and reinstalled via synaptic and it found farsight2 but there is a problem, at least when upgrading from the current version to .98b as it's not finding and installing farsight2 and libnice. Without those, the new features might as well not be there. I'll attempt a full install after removing libnice, farsight2 and aMSN to see if an installation from the ground up works without having to install them all separately but the upgrade path still needs some work.
Logged
marc2009
Power user
*
Offline Offline

Posts: 61


View Profile
« Reply #14 on: July 24, 2009, 09:40:42 am »

Is libnice installed ? Or is it asked for installation in Synaptic ?

And libgstfarsight IS NOT farsight2 :p
Logged

I'm French, so please correct me if I make mistakes, thanks a lot.
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!