Author Topic: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory  (Read 3790 times)

Offline AussiePhil

  • Newbie
  • *
  • Posts: 23
    • View Profile
Hi Team.

On my Windows 8.1 machine:

This PC has never had a Xlights install so clean install of 4.0.9.
Install finished and I opened the app by double clicking the desktop icon.
Main page displays so first thing I do is click the default media directory button.
Dialogue box pops up, I select a current but empty directory and click ok.
XL4 immediately pops a debug report box up, leave everything ticked and go ok.
Windows at this point reports the app has crashed and starts writing its own error log
checking the debug zip xl4 writes it contains no data so windows kills xl4 before it writes the log.
This repeats every time even run as full admin.

Tried the same thing on a Windows10 virtual machine.
Big difference is that xl4 pops a select default directories wizard type screen first. this works and the default directories are set.

Over to the team.

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory
« Reply #1 on: March 31, 2015, 05:10:27 PM »
Are you setting the show directory with the icon?

use the RED circle, not the BLUE box.

In xLights 3.6 we had only one directory, the show directory. All media files had to be there, all xml files were created there, all outputfiles.

In 4.0 we started the idea of allowing the media file to be in one place, the show directory a second and the output directory a third.

I wanted the audio directory so that people could point to the existing sound files.
dave wanted the output directory so that the fseq files did not fill up the show directory.

I am not sure we have got this all set up coreectly.

When i use it i just use the RED circle and i put all sound files there (Just like in xlights 3.6)

try that and see if it works.
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory
« Reply #2 on: March 31, 2015, 05:33:42 PM »
If the show directory is not in the registry it was supposed to display a selection dialogue at startup.  Maybe the widgets code we are using to read user settings doesn't work on Windows 8.

Offline AussiePhil

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory
« Reply #3 on: March 31, 2015, 10:24:53 PM »
If the show directory is not in the registry it was supposed to display a selection dialogue at startup.  Maybe the widgets code we are using to read user settings doesn't work on Windows 8.

Hi Gil,
I would suggest that this is the case at least for Win8.1 with update 2, the dialogue fails to appear when the app is launched.
Good news is it currently works under Win10 :)

Sean: I was using that blue box buttons, I will test using the icon when I get home tonight

Cheers

Phil

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory
« Reply #4 on: April 01, 2015, 08:15:08 AM »
Yeah we knew using those blue box buttons was causing a crash if the show directory wasn't set so that's why I added code to prompt for selection of the show directory if it's missing.  I know microsoft loves to change how user settings are accessed every time they update the os just to mess with all the developers.

Offline AussiePhil

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: 4.0.9 - Win8.1 Enterprise - crashes when setting default directory
« Reply #5 on: April 01, 2015, 04:54:54 PM »
Thanks Gil... here's the update from last night.
The Icon works from which point you can change it using the buttons.

Suggestion: fallback would be to default to %user%\documents if OS = 8.x and no initial setting, the documents folder always exists.

Cheers