WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Audacity scm Bug Feedback  (Read 7329 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Audacity scm Bug Feedback
« on: March 12, 2012, 07:49:17 AM »
Download
When downloading links2 an error is reported in the wget window
Code: [Select]
/usr/bin/scm-load: line 41: can't open /etc/sysconfig/icons: no such fileIs this a known and common issue as it was also observed today when downloading Links2?


Starting
The app fails to start via the JWM menu.  In a terminal an error message is obtained:
Code: [Select]
/audacity-1.3-bin: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directoryMissing graphics-lib-1?
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #1 on: March 12, 2012, 09:36:52 PM »
Do you have wbar.tcz loaded?  Not doing so will result in that error.

Also, do you have the latest audacity-1.3.scm?  It works here, both icon, menu, and command line.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacity scm Bug Feedback
« Reply #2 on: March 13, 2012, 05:45:22 AM »
Do you have wbar.tcz loaded?  Not doing so will result in that error.
None of the systems I build use wbar.  It is unlikely that I am alone in this based upon it regularly being raised in the forum.  My understanding is that wbar is now a separate and optional package.  Is this incorrect?



Also, do you have the latest audacity-1.3.scm?  It works here, both icon, menu, and command line.
Scm browser reports v1.3.  No pending updates.  Symptoms remain unchanged.
Code: [Select]
/apps/audacity-1.3/bin/audacity-1.3
/audacity-1.3-bin: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory

Separately installing and loading graphics-lib-1.tcz allows Audacity to start.
   
A thought...
This test rig is using OSS.  Is yours using ALSA?  If so is graphics-lib-1 a dependency of one of the installed ALSA packages?
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #3 on: March 13, 2012, 06:07:05 AM »
Ok, I will test again tonight, maybe I overlooked something.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #4 on: March 13, 2012, 08:17:38 PM »
I am using OSS a bit with the scm's, and I try to build with support for both alsa and OSS when possible, and so far that has been possible.

I added the tiff dependency, as I use Icewm that is already installed via tcz's so I did not notice.  Thanks for finding.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacity scm Bug Feedback
« Reply #5 on: March 14, 2012, 07:42:58 AM »
I am using OSS a bit with the scm's, and I try to build with support for both alsa and OSS when possible, and so far that has been possible.

I added the tiff dependency, as I use Icewm that is already installed via tcz's so I did not notice.  Thanks for finding.
Delete Audacity configs in home dir
Update via ScmApps-->Local-->Updates OK
md5=c14024654d775dd2a21c1c74a091468
Audacity now loads and starts via menu JWM entry OK



Now Observed
SCM
Using OSS
scm manually loaded via Local-->Install



Start from terminal
Code: [Select]
/apps/bin/audacity-1.3
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /apps/audacity-1.3/lib/alsa-lib/libasound_module_pcm_oss.so
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /apps/audacity-1.3/lib/alsa-lib/libasound_module_pcm_oss.so



Menu bar
A single alteration made to app setup
Edit-->Preferences-->Import/Export-->Show Metadata Editor prior to export=disable
Result:
This prevented display of some entries in the app menu bar
Minimize then maximize window returned all entries



Recording
Preliminary (quick and dirty) tests
Successfully records static produced by audio card (no audio signal input)
Successfully manipulate recording by removing dc offset
Successfully replay recording
Fails to save via export to wav file; error message "cannot export in this format"


Audacity manually shut down and restarted


Importing
File-->Import-->test.wav (method=read directly from original)
Fails to import file
Auadcity catastrophically closes
Error message in terminal "Segmentation Fault"



Eliminate Hardware
Repeat tests on different hardware on which Audacity has been in continuous use since TC3.3
Results:
Identical to those above
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #6 on: March 14, 2012, 02:07:04 PM »
I have found wav files problematic in other apps as well, but I will check it out with audacity tonight.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #7 on: March 23, 2012, 08:59:22 PM »
It seems audacity tries to use ffmpeg to function with wav files.  I have a build script to create a static ffmpeg, I will build it and plug it in the extension soon.  But for now, installing ffmpeg-ffserver will work.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #8 on: March 26, 2012, 03:23:12 PM »
I added a shared build of ffmpeg version 0.7.11, as audacity looks for libavcodec.so.52 for ffmpeg functionality.  If one imports wavs that show up when searching for ffmpeg compatible files, they should work.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacity scm Bug Feedback
« Reply #9 on: March 27, 2012, 11:21:51 AM »
I added a shared build of ffmpeg version 0.7.11, as audacity looks for libavcodec.so.52 for ffmpeg functionality.  If one imports wavs that show up when searching for ffmpeg compatible files, they should work.
I'm not certain what is meant by this. 

Successfully tested the import and export of various formats mp3, flac, wma...  All work OK.

The problems with wav files are still present.  Importing closes Audacity, exporting generates the previously mentioned error message.

To see if they might be related to the version of Audacity on which the scm is based, I tried v2.0.0 from the Debian 6 testing repo in another distro.  Note, this is not identified as beta.  All worked OK including the import/export of wav files.  Might it be worth looking at the newer release?
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #10 on: March 27, 2012, 03:05:54 PM »
Audacity uses libavcodec from ffmpeg to deal with things like a wav. 

But I will look into a rebuild and an update to 2.0 to see if that will fix it.  Actually building against ffmpeg instead of just plugging it in, though the libavcodec library is still recognized, may make things better.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacity scm Bug Feedback
« Reply #11 on: March 31, 2012, 08:49:55 PM »
After many rebuild tweaks and updating to 2.0, I found that alsa must be used as the sound system when dealing with wavs in audacity.

I have built a 2.0 version that I will upload shortly, but the 1.3 version works with wavs if alsa is used as the sound system.