← Back to team overview

openlp-core team mailing list archive

[Bug 941966] Re: OpenLP can't continue when saving service with linked audio

 

Er, I think I might be using the wrong nightly build. I tested
"latest.exe" from your downloads page http://openlp.org/en/download last
night, which was OpenLP-1.9.8-bzr1904-setup.exe
(MD5=134a72a43cbbf15aed20f1091bc2ad65). Both problems still occur (debug
log attached). I assumed I had just tested it too soon so waited a day
and tried again tonight but find that "latest.exe" still downloads the
same file. So neither problem seems to be fixed in the 1904 windows
build that I am picking up.

I am now more strongly suspicious that this bug #941966 is caused by the audio track not being where it was when it was linked to the song originally. Two reasons:
1. A particular song I've just been looking at is definitely in a different location on this laptop from the machine on which the song/audio were linked originally.
2. Copying the track from Roaming\openlp\data\songs\audio to the Desktop and linking that copy to the song instead fixes the problem for that particular song. 

One more piece of info, about bug #888815: once the  problem has been
triggered by saving service, the time-remaining counter that you have
(very usefully thank you) added beside the pause button in the Live
panel does not change when hitting unpause to start (unsuccessfully)
playing the track. Neither does it change if then hit pause (don't
expect it to). Hitting unpause again though changes it to -1:59, where
it remains however many times you toggle the pause button. I've tried
this for 3 different songs - the time it sticks at is always -1:59. I'll
now add this to the #888815 bug where it belongs.

** Attachment added: "openlp build bzr1904.log"
   https://bugs.launchpad.net/openlp/+bug/941966/+attachment/2873132/+files/openlp%20build%20bzr1904.log

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/941966

Title:
  OpenLP can't continue when saving service with linked audio

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  **OpenLP Bug Report**
  Version: {u'full': u'1.9.8', u'version': u'1.9.8', u'build': None}

  --- Details of the Exception. ---

  This happens on saving a service that includes a song with linked
  audio. The error seems to mean just
  "C:\Users\Derek\AppData\Roaming\openlp\data\servicemanager\audio\74327d51-5f94-11e1
  -871d-f04da2c5376a\10 Misericordias Domini.m4a is missing".

  Three workarounds
  a. Identify the song with the linked audio, remove from service and proceed with the Save.
  b. Unlink the audio, update the song in the service and Save
  c. If the audio track is available, copy it into the empty parent folder, in this case data\servicemanager\audio\74327d51-5f94-11e1-871d-f04da2c5376a, and Save

  Can't really see how this situation arises though - the audio is
  present in AppData\Roaming\openlp\data\songs\audio\260.

  Couple of possible culprits:

  1. I do a lot of export/import of services between various machines,
  relying mainly on the automatic song import that is performed when a
  service contains a new song. Deliberately failing to send audio tracks
  as separate files and hence not relinking them on the target machine
  do not trigger this problem (although I can only test this with mp3
  files today whereas I have only seen the problem with m4a files).

  2. Also, following a disk crash and reload of Windows 7 from scratch I
  reinstated the entire AppData\Roaming\openlp\data folder from a Norton
  Ghost before doing anything else with OpenLP.

  The system is Dell M5010; Athlon II P360 running Windows 7 Home
  Premium 64-bit service pack 1.

   --- Exception Traceback ---
  Traceback (most recent call last):
    File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.core.ui.servicemanager", line 579, in saveFile
    File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\shutil", line 84, in copy
    File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\shutil", line 48, in copyfile
  Error: `C:\Users\Derek\AppData\Roaming\openlp\data\servicemanager\audio\74327d51-5f94-11e1-871d-f04da2c5376a\10 Misericordias Domini.m4a` and `C:\Users\Derek\AppData\Roaming\openlp\data\servicemanager\audio\74327d51-5f94-11e1-871d-f04da2c5376a\10 Misericordias Domini.m4a` are the same file

  --- System information ---
  Platform: Windows-7-6.1.7601-SP1

  --- Library Versions ---
  Python: 2.6.6
  Qt4: 4.7.1
  Phonon: 4.4.0
  PyQt4: 4.8.3
  QtWebkit: 533.3
  SQLAlchemy: 0.6.6
  SQLAlchemy Migrate: 0.7.1
  BeautifulSoup: 3.2.0
  lxml: 2.2.4
  Chardet: 1.0.1
  PyEnchant: 1.6.5
  PySQLite: 1.0.1
  Mako: 0.4.1
  pyUNO bridge: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/941966/+subscriptions


References