ULX

Author Topic: Couldn't write file 'data\ULib/users.txt'  (Read 3264 times)

0 Members and 2 Guests are viewing this topic.

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Couldn't write file 'data\ULib/users.txt'
« on: December 23, 2009, 02:43:25 PM »
I am getting that error when trying to add people to groups. From what I see, it is using the wrong slash maybe, which is returning an invalid file path? Instead of "data\ULib/users.txt" it should be "data/ULib/users.txt", right? If so, how can I go about fixing this? I don't remember doing anything to ULX to cause a problem like this.


Thanks
Sean

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Couldn't write file 'data\ULib/users.txt'
« Reply #1 on: December 23, 2009, 02:49:08 PM »
Though the slash could be a problem, I'd check file permissions first.
Check your \data\ULib folder, make sure the user running the game has modify permissions on that folder, and all child objects.
Different ways to do that depending on whether it's a windows box, and whether you've had to use FTP to modify.
Google what relates to you. (Windows/Linux/FTP/etc)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Re: Couldn't write file 'data\ULib/users.txt'
« Reply #2 on: December 23, 2009, 02:56:02 PM »
Modify permissions are allowed. And the rest you said makes no sense. Is there a filepath in the configuration settings that may have been changed?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Couldn't write file 'data\ULib/users.txt'
« Reply #3 on: December 24, 2009, 10:20:27 AM »
The slash shouldn't be a problem. Can you post the exact error you get from console? Do you get any other errors during map startup? Mind posting your data/ULib/users.txt file for us?
Experiencing God's grace one day at a time.

Offline LiveTrash

  • Newbie
  • *
  • Posts: 18
  • Karma: -2
Re: Couldn't write file 'data\ULib/users.txt'
« Reply #4 on: December 27, 2009, 08:11:52 PM »
I guess it was just a users.txt file corruption. I removed users.txt and let the game re-create it, and it worked fine. It is weird, it's happened before, and looking through the users file, I can't see why.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Couldn't write file 'data\ULib/users.txt'
« Reply #5 on: December 27, 2009, 08:15:19 PM »
What version of ULX are you using? 3.4 or SVN?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming