Bug 188078 - can't save levels from level-editor
Summary: can't save levels from level-editor
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: njam
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-05 20:33 UTC by julian
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-05-09 19:38:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description julian 2006-04-05 20:33:06 UTC
Description of problem:
levels built with the level-editor aren't saved

How reproducible:
always

Steps to Reproduce:
1. open njam
2. open the level edit
3. make a level and mark it as playable
4. save it with "save" or "save as"
  
Actual results:
the level isn't written to disk

Expected results:
the level is stored to disk

Comment 1 Hans de Goede 2006-04-08 06:54:04 UTC
I'll take a look into this when time permits.


Comment 2 Wart 2006-04-22 20:01:54 UTC
njam changes to the game directory /usr/share/njam on startup, and tries to save
levels to levels/<name> when saving new levels.  The user doesn't have write
permission to this directory, so the save fails, but no error is reported back
to the user.

Comment 3 Hans de Goede 2006-05-09 19:38:51 UTC
I've written a patch that fixes this 1.25-3 should show up on a mirror near you
soon, here is the ChangeLog entry:
* Tue May  9 2006 Hans de Goede <j.w.r.degoede> 1.25-3
- Add Patch2, which fixes the leveleditor to save custom made levels under
  $HOME/.njam-levels instead of trying to write them under /usr/share.
  Also teach njam to look for levels under both $HOME/.njam-levels and
  /usr/share (bug 188078).




Note You need to log in before you can comment on or make changes to this bug.