Paths are not cross-platfrom

Bug #217021 reported by Jacob Godserv
2
Affects Status Importance Assigned to Milestone
Socrates
Confirmed
Medium
Sayers

Bug Description

The paths are not cross-platform and will only work in Linux and Mac. It'd be better to store things in the user's directory, which refers to My Documents in Windows, and the home directory in Mac and Linux.

Revision history for this message
Sayers (sjsayers93) wrote :

How do you suggest I go about doing this, do you suggest I do a check for the OS and then add if's or should I use the system.directory, or I think the way I wrote XML_Create_Book supports , or could easily be modified to support a users choice of directory, however that'd require another GUI.

Sayers (sjsayers93)
Changed in socrates:
assignee: nobody → sjsayers93
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sayers (sjsayers93) wrote :

I tried file.directory in the code but that does not seem to locate my data in /data/ instead if add's it to the name could somebody fix this bug please?

Changed in socrates:
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.