[ imagination-Bugs-3453504 ] project unportable because path to media files ...

1 view
Skip to first unread message

SourceForge.net

unread,
Dec 7, 2011, 7:13:26 AM12/7/11
to SourceForge.net
Bugs item #3453504, was opened at 2011-12-07 04:13
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1125540&aid=3453504&group_id=244319

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Backend
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ggallozz ()
Assigned to: Nobody/Anonymous (nobody)
Summary: project unportable because path to media files ...

Initial Comment:
... is saved as absolute path in the projecy file.
Imagination project, created by TED on his computer, in
/home/TED/show/myproject.osp
which elements as images, sounds, etc... reside on a sub directory like
/home/TED/show/media/
cannot be transferred to another PC.

Let say you copy the whole file structure of "../picture" on a computer which the user is SALLY, thus having a path structure pointing to
/home/SALLY/show/myproject.osp .

Imagination, opening the project, will give error because it will unsuccessfully look for files in
/home/TED/show/media/
because it will trying to retrieve the project elements using the previously stored path.

A Workaround I used is opening the .IMG file in a text editor and search/replace the absolute path
/home/TED/show/
by
./
so that the resulting path for a media file (in the example above) will be:
./media/

Thus I suggest saving in the .IMG file, a relative path to the imported media, this way will give the ability to carry out your project on any PC.


best salutations
GG

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1125540&aid=3453504&group_id=244319

Reply all
Reply to author
Forward
0 new messages