← Back to team overview

openlp-core team mailing list archive

[Bug 1095742] Re: Portable apps storing drive letter in db

 

Funny: I added a background MP3 to a song in the db (left) and added
that song to the service list (right). After that I deleted the song in
the db (left) and wanted to save the service list (right):

Traceback (most recent call last):
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.servicemanager", line 473, in saveFile
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.servicemanager", line 647, in saveFileAs
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.servicemanager", line 574, in saveFile
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\shutil", line 117, in copy
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\shutil", line 69, in copyfile
Error: `D:\OpenLPPortable\Data\songs\audio\4\John Waller - While I'm Waiting (from the FIREPROOF Soundtrack).mp3` and `D:\OpenLPPortable\Data\songs\audio\4\John Waller - While I'm Waiting (from the FIREPROOF Soundtrack).mp3` are the same file

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

Title:
  Portable apps storing drive letter in db

Status in OpenLP - Worship Presentation Software:
  New
Status in OpenLP 2.0 series:
  New
Status in OpenLP trunk series:
  New

Bug description:
  From Bob Donkin
  http://forums.openlp.org/discussion/2014/portable-app-assigning-drive-letter-in-sqlite-database

  I am using the portable app version of openlp.  I have linked many songs
  to audio files(mp3). 

  The problem I have is the sqlite database has 
  given an absolute address for the audio file eg:  F:\PortableApps\OpenLPPortable\Data\songs\audio\205\09-I cannot tell.mp3 .

  However
  when I plug in the USB stick at Church the computer assigns it the 
  drive letter E: so none of the audio works.  Would it be possible on the
  next release to use a relative address eg: songs\audio\205\09-I cannot 
  tell.mp3

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


References