Jump to content


Photo

Windows 7 Errors


23 replies to this topic

#1 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 17 January 2010 - 11:43 AM

I got several errors on Windows 7 Systems. Most go together with Xenocide wanting write access to it's installation directory (for the logfiles). Maybe we should change the location of these.

One error I can't make heads or tails out - I suspect it got something to do with x64. Could somebody with an x64 Vista or Windows 7 please confirm?

downloaded on 17 jan 2010, onto windows 7 64 bit and got following error after running windows 7 compatability (got error prior to doing this as well)

Exception: No Imageset named \'TaharezLook\' is present in the system.
StackTrace:
   at CeGui.ImagesetManager.GetImageset(String name) in E:\\ProjectX\\trunk\\Dependancies\\CeGui\\CeGui\\Source\\ImageSetManager.cs:line 197
   at ProjectXenocide.Xenocide.InitializeCegui() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Xenocide.cs:line 136
   at ProjectXenocide.Xenocide.Initialize() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Xenocide.cs:line 118
   at Microsoft.Xna.Framework.Game.Run()
   at ProjectXenocide.Program.Main() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Program.cs:line 52

Edited by Mad, 17 January 2010 - 11:44 AM.

Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#2 kafros

kafros

    Creative Text Department

  • Xenocide Creative-Text Departmen
  • 1,800 posts

Posted 17 January 2010 - 01:32 PM

Concerning the write access, we should probably move to AppData on Win7: http://www.computerp...ws7_appdata.htm

Concerning the second error, I can only make 2-3 wild guesses. I'm working on WinXP SP3 x86 so I cannot test, sorry.

#3 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 18 January 2010 - 03:13 AM

This problem is eliminated when running the game as admin. So I guess using the Appdata folder might clear this too.
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#4 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 18 January 2010 - 01:03 PM

I got several errors on Windows 7 Systems. Most go together with Xenocide wanting write access to it's installation directory (for the logfiles). Maybe we should change the location of these.

I'm a bit confused, what log files are we talking about here?
Also, as regards Documents and Settings vs Users, that should be taken care of automatically for the save files. (We're using API calls to find the user's directory for them.)

One error I can't make heads or tails out - I suspect it got something to do with x64. Could somebody with an x64 Vista or Windows 7 please confirm?

downloaded on 17 jan 2010, onto windows 7 64 bit and got following error after running windows 7 compatability (got error prior to doing this as well)

Exception: No Imageset named \'TaharezLook\' is present in the system.
StackTrace:
   at CeGui.ImagesetManager.GetImageset(String name) in E:\\ProjectX\\trunk\\Dependancies\\CeGui\\CeGui\\Source\\ImageSetManager.cs:line 197
   at ProjectXenocide.Xenocide.InitializeCegui() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Xenocide.cs:line 136
   at ProjectXenocide.Xenocide.Initialize() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Xenocide.cs:line 118
   at Microsoft.Xna.Framework.Game.Run()
   at ProjectXenocide.Program.Main() in E:\\ProjectX\\trunk\\Xenocide\\Source\\Program.cs:line 52

IIRC, Darkhomb was running at least one version of Xenocide under 64 bit Vista. Other than that I can't help you much.
Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#5 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 18 January 2010 - 02:04 PM

I got several errors on Windows 7 Systems. Most go together with Xenocide wanting write access to it's installation directory (for the logfiles). Maybe we should change the location of these.

I'm a bit confused, what log files are we talking about here?
Also, as regards Documents and Settings vs Users, that should be taken care of automatically for the save files. (We're using API calls to find the user's directory for them.)


We're talking about install.log and CEgui.log. Those two go into the installation directory. The first one is not a problem, the second one is.

IIRC, Darkhomb was running at least one version of Xenocide under 64 bit Vista. Other than that I can't help you much.


Yes, he was, but he was running as Admin. Is there a way to ensure that the game won't need admin rights to run? Or if it absolutely does, could we check for it and pop up a box "Needs admin rights" or something like this?
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#6 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 18 January 2010 - 06:13 PM

We're talking about install.log and CEgui.log. Those two go into the installation directory. The first one is not a problem, the second one is.

The first sounds like an installer file, and I didn't have anything to do with that. The other, if it's Cegui logging, should be easy enough to fix.

Yes, he was, but he was running as Admin. Is there a way to ensure that the game won't need admin rights to run? Or if it absolutely does, could we check for it and pop up a box "Needs admin rights" or something like this?

Well, we really shouldn't require running as an Admin. We should fix anything that requires it. However, if we do require it, then you add a manifest that requires Admin rights. http://msdn.microsof...y/bb756929.aspx
Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#7 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,417 posts

Posted 18 January 2010 - 10:09 PM

I've got Windows 7 x64 and I don't have any problems running Xenocide, although I run as admin.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image

Posted Image

#8 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 19 January 2010 - 02:10 AM

We're talking about install.log and CEgui.log. Those two go into the installation directory. The first one is not a problem, the second one is.

The first sounds like an installer file, and I didn't have anything to do with that.

Yes, I know, that's why I said it's not a problem (if it's created by the installer Windows doesn't mind. I just mentioned it to have a complete "list" of all logfiles)

The other, if it's Cegui logging, should be easy enough to fix.

That would be perfect. Thank you!

I've got Windows 7 x64 and I don't have any problems running Xenocide, although I run as admin.

I don't think there are any problems when running as admin. It's only if people use the standard setting (not an admin) when they develop difficulties.

Edited by Mad, 19 January 2010 - 02:12 AM.

Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#9 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 20 January 2010 - 08:13 PM

I don't think I run as admin, I will try this out tomorrow and let you know and yes I use Win7 x64

#10 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 21 January 2010 - 11:50 AM

I don't think I run as admin, I will try this out tomorrow and let you know and yes I use Win7 x64

Thanks
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#11 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 22 January 2010 - 04:27 PM

Just tried it, no errors, I do not change anything, no compatibility. I just launch the exe.


Exception: No Imageset named \'TaharezLook\' is present in the system

This isn't a windows error. I think you are just missing the actual image set.

Edit 2 - Just deleted, and recompiled and tested. Works fine.

Edit 3 - If you'd like we could try some desktop sharing to see if I can figure out what is wrong.

Edited by Darkhomb, 22 January 2010 - 04:37 PM.


#12 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 23 January 2010 - 02:05 PM

Just tried it, no errors, I do not change anything, no compatibility. I just launch the exe.


Exception: No Imageset named \'TaharezLook\' is present in the system

This isn't a windows error. I think you are just missing the actual image set.

Edit 2 - Just deleted, and recompiled and tested. Works fine.

Edit 3 - If you'd like we could try some desktop sharing to see if I can figure out what is wrong.

Thanks for the offer, but the thing is, it's not a problem I have - it's a user who just installed Xenocide. But he doesn't experience the problem when runnig the game as admin. So I don't see where it could no tbe the game...?
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#13 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 23 January 2010 - 03:08 PM

Sorry must have read that wrong. I am not sure, As it works fine for me. Do we have any details about what build this is? Who compiled it? You said installation directory. So this is a build thats been packaged. Can you give me the link? I run stright from compiling. Maybe that is the problem of how its installed.

#14 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 24 January 2010 - 05:35 AM

Sorry must have read that wrong. I am not sure, As it works fine for me. Do we have any details about what build this is? Who compiled it? You said installation directory. So this is a build thats been packaged. Can you give me the link? I run stright from compiling. Maybe that is the problem of how its installed.

It's the current build available on the website (http://www.projectxe....0.4.0.1836.exe). I compiled it (AFAIK). But I guess the problem won't occur on a PC with the development environment installed. We've had several problems which only showed on "virgin" installations. But I don't know where the administrator joins in the picture.
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#15 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 09 February 2010 - 12:51 PM

I won't be able to test this for a while, but I do plan to do a format/ reinstall in a month or so and can try then. I don't see this as a huge problem as it works in admin mode.

#16 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 10 February 2010 - 06:29 AM

I won't be able to test this for a while, but I do plan to do a format/ reinstall in a month or so and can try then. I don't see this as a huge problem as it works in admin mode.

No, it's not a top priority. Just something we should keep in mind.
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#17 Encha

Encha

    Squaddie

  • Forum Members
  • PipPip
  • 9 posts

Posted 06 April 2010 - 12:12 PM

i got the 2nd error. i run under Win7 32bit Ultimate.

based on
""""
Exception: Access to the path 'C:\Program Files\Xenocide\CEGUI.log' is denied.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at CeGui.Logger..ctor(String name, Boolean append) in E:\ProjectX\trunk\Dependancies\CeGui\CeGui\Source\Logger.cs:line 80
at CeGui.GuiSystem..ctor(Renderer renderer) in E:\ProjectX\trunk\Dependancies\CeGui\CeGui\Source\GuiSystem.cs:line 166
at CeGui.GuiSystem.Initialize(Renderer renderer) in E:\ProjectX\trunk\Dependancies\CeGui\CeGui\Source\GuiSystem.cs:line 139
at CeGui.Renderers.Xna.GuiManager.createRenderer() in E:\ProjectX\trunk\Dependancies\CeGui\CeGui.Renderers.Xna\Source\GuiManager.cs:line 101
at CeGui.Renderers.Xna.GuiManager.Initialize() in E:\ProjectX\trunk\Dependancies\CeGui\CeGui.Renderers.Xna\Source\GuiManager.cs:line 57
at Microsoft.Xna.Framework.Game.Initialize()
at ProjectXenocide.Xenocide.Initialize() in E:\ProjectX\trunk\Xenocide\Source\Xenocide.cs:line 116
at Microsoft.Xna.Framework.Game.Run()
at ProjectXenocide.Program.Main() in E:\ProjectX\trunk\Xenocide\Source\Program.cs:line 52

""""

but when i run in Admin Mode the game runs. but with some glitches. to the GeoGlobe. but its to be expected youre game isnt complete.
Posted Image
Posted Image

#18 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 08 April 2010 - 01:58 PM

Oops. I can see what's going wrong. I can probably have this fixed in a couple of days.
At which point we may want to update the prebuilt version available for download.

i got the 2nd error. i run under Win7 32bit Ultimate.

based on
""""
Exception: Access to the path 'C:\Program Files\Xenocide\CEGUI.log' is denied.
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)


Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#19 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 10 April 2010 - 02:55 PM

I belive I've fixed the problem with Xenocide not running as a User on Windows 7.
Specifically, the problem was the CeGUI library tried to write a log file to the Xenocide directory, and under Win7 security policy, User level apps are not allowed to write to ?Program Files? or any of its sub-directories.
I've changed the code so that GeGUI now writes its log to the My Documents directory. While not the best solution, it should work (not having Win7, I'm unable to test.)
Note, other solutions are:
  • Write to the Xenocide Save Game directory. Problem with this is the code to figure it out depends on XNA, and it is unacceptable to to code the core CeGUI library to require XNA.
  • Write the logging to System.Diagnostics.Trace(). Probably a better solution. (This is what Xenocide does.) The down side is it would mix the CeGUI and Xenocide logging.

Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#20 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 12 April 2010 - 12:37 AM

I belive I've fixed the problem with Xenocide not running as a User on Windows 7.
Specifically, the problem was the CeGUI library tried to write a log file to the Xenocide directory, and under Win7 security policy, User level apps are not allowed to write to ?Program Files? or any of its sub-directories.
I've changed the code so that GeGUI now writes its log to the My Documents directory. While not the best solution, it should work (not having Win7, I'm unable to test.)
Note, other solutions are:

  • Write to the Xenocide Save Game directory. Problem with this is the code to figure it out depends on XNA, and it is unacceptable to to code the core CeGUI library to require XNA.
  • Write the logging to System.Diagnostics.Trace(). Probably a better solution. (This is what Xenocide does.) The down side is it would mix the CeGUI and Xenocide logging.

Great! thanks! However, I won't be able to build this for a few more days (It's crazy out here right now). If anybody else can jump in, please, be my guest! I'll even test if it works under W7 64bit.
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#21 watchtv

watchtv

    Squaddie

  • Forum Members
  • PipPip
  • 1 posts

Posted 12 September 2010 - 11:48 AM

I belive I've fixed the problem with Xenocide not running as a User on Windows 7.
Specifically, the problem was the CeGUI library tried to write a log file to the Xenocide directory, and under Win7 security policy, User level apps are not allowed to write to ?Program Files? or any of its sub-directories.
I've changed the code so that GeGUI now writes its log to the My Documents directory. While not the best solution, it should work (not having Win7, I'm unable to test.)
Note, other solutions are:

  • Write to the Xenocide Save Game directory. Problem with this is the code to figure it out depends on XNA, and it is unacceptable to to code the core CeGUI library to require XNA.
  • Write the logging to System.Diagnostics.Trace(). Probably a better solution. (This is what Xenocide does.) The down side is it would mix the CeGUI and Xenocide logging.


2nd solution seems the easiest
Watch TV Online - Overseas, Abroad, On PC, TV, Mobile, Iphone - IPTV

US TV & UK TV

URL removed by J'ordos

#22 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 14 September 2010 - 03:13 AM

I belive I've fixed the problem with Xenocide not running as a User on Windows 7.
Specifically, the problem was the CeGUI library tried to write a log file to the Xenocide directory, and under Win7 security policy, User level apps are not allowed to write to ?Program Files? or any of its sub-directories.
I've changed the code so that GeGUI now writes its log to the My Documents directory. While not the best solution, it should work (not having Win7, I'm unable to test.)
Note, other solutions are:

  • Write to the Xenocide Save Game directory. Problem with this is the code to figure it out depends on XNA, and it is unacceptable to to code the core CeGUI library to require XNA.
  • Write the logging to System.Diagnostics.Trace(). Probably a better solution. (This is what Xenocide does.) The down side is it would mix the CeGUI and Xenocide logging.


2nd solution seems the easiest

You're welcome to provide a patch...
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image

#23 j'ordos

j'ordos

    Alien Concept Task Force

  • Xenocide Artwork Department
  • 5,059 posts

Posted 14 September 2010 - 07:32 AM

Think you're talking to a bot here :)
"You can't trust your eyes if your imagination's out of focus" - Mark Twain
"The mind is like an umbrella, it functions best when open" - Walter Gropius
Posted Image
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG

Now presented in DoubleVision™ (where drunk)

#24 Mad

Mad

    Creative Text Department

  • [Xenocide Senior Members]
  • 1,958 posts

Posted 18 September 2010 - 06:16 AM

Think you're talking to a bot here :)

At least someone who's posting... ;)
Keep smiling while dying

Of course I have gone mad with power! It would be completely ridiculous to go mad without power!
And no, this is not a quote from the Simpson's movie, I want it on paper, that I actually wrote that quite some time before the movie came out.

Posted Image



Reply to this topic