Author Topic: Nutcracker: Testers Wanted!  (Read 1467 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: Testers Wanted!
« on: September 11, 2012, »
For the last few days the nutcracker software has been undergoing a huge re-architecture.

This redesign is going to allow batch operations such as a single button to go and recreate your entire project. It will allow recreating the 3000 thumbnails so that local installs can have a gallery.

I have touched over 1000 lines of code in 100 modules. I could use some help to make sure i didnt break anything.

How to test:

1) Open two windows in your browser
a) meighan.net/nutcracker   <= this is the original code
b) meighan.net/nutcracker_sean  <= this is the new, batch aware code.
2) Login to both windows and then open the same effect with the same target in both.
3) Create the animated gif's
4) If you get any errors or the gifs dont look the same then please post the two links here in this thread.
to get the links, right click the animated gifs and copy url.
5) If everything checks ok, could you also post that info also?
something like : "Checked OK spirals-3, bars-2"
This will give me positive feedback into the depth of testing


It is taking about 2 hours per effect for me modify them. This means it will be a few more days before all have been converted.

Here is what you can test so far:

bars, butterfly, fire,garlands, spirals

These are not ready to test so please do NOT post any messages about them. As the days go forward this pile will move up to the pile that us ready for test.

chase, color_wash, gif, layer, life, meteors, pictures, single_strand,snowflakes,snowstorm,text,user_defined


There are 72 days until first light for me, Nov 23, 2012.

thanks for any testing you might be able to do
« Last Edit: September 11, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline maffeirw

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 178
Re: Nutcracker: Testers Wanted!
« Reply #1 on: September 11, 2012, »
Nutcracker_sean -- Came up with:

MTH12S Target model needs to be resaved for ../targets/68/MTH12S.dat
ROOFLINE Target model needs to be resaved for ../targets/68/ROOFLINE.dat

When I clicked on MTH12S it wouldn't  populate the mask with the information and when I manually entered the information and submitted it, I got the following screen.


Array
(
    [username] => maffeirw
    [number_segments] => 0
    [gif_model] => single
    [OBJECT_NAME] => MTH12S
    [OBJECT_DESC] => Half of a MegaTree with (12) 110 node strings
    [MODEL_TYPE] => MTREE
    [TOTAL_STRINGS] => 24
    [PIXEL_COUNT] => 110
    [FOLDS] => 2
    [START_BOTTOM] => Y
    [submit] => Submit Form to create your target model
)
exit

When I returned to the models screen the MTH12S had not been recreated.
When I went to EFFECTS the same MTH12S line appeared.
I hit the Submit Form Button and then selected my BAR1 EFFECT
When In tried to run the BAR1 effect the following appeared on screen:


Nutcracker: RGB Effects Builder for user maffeirw
On this page you build an animation of the spiral class and create an animated GIF
get
username   maffeirw
user_target   MTH12S
effect_class   bars
effect_name   BAR1
window_degrees   180
frame_delay   50
number_bars   10
fade_3d   
speed   1
direction   up
color1   #FF8B17
color2   #B35CFF
color3   #FF8B17
color4   #B35CFF
color5   #FF8B17
color6   #B35CFF
highlight   y
seq_duration   4.872
fade_in   
fade_out   
submit   Submit Form to create your effect
Effect Settings
username   maffeirw
user_target   MTH12S
effect_class   bars
effect_name   BAR1
window_degrees   180
frame_delay   50
number_bars   10
fade_3d   
speed   1
direction   up
color1   #FF8B17
color2   #B35CFF
color3   #FF8B17
color4   #B35CFF
color5   #FF8B17
color6   #B35CFF
highlight   y
seq_duration   4.872
fade_in   
fade_out   
submit   Submit Form to create your effect
OBJECT_NAME   bars
batch   0
show_frame   N

Warning: fopen(../targets/68/MTH12S.dat) [function.fopen]: failed to open stream: No such file or directory in /users/meighan.net/htdocs/nutcracker_sean/effects/read_file.php on line 75
can't open file ../targets/68/MTH12S.dat


Sean in the future would it be easier to send you the information in a word file to better preserve the screen formating or is this adequate?
Luceat lux vestra

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Testers Wanted!
« Reply #2 on: September 11, 2012, »
You are not allowed to view links. Register or Login
Nutcracker_sean -- Came up with:

MTH12S Target model needs to be resaved for ../targets/68/MTH12S.dat
ROOFLINE Target model needs to be resaved for ../targets/68/ROOFLINE.dat

When I clicked on MTH12S it wouldn't  populate the mask with the information and when I manually entered the information and submitted it, I got the following screen.


Array
(
    [username] => maffeirw
    [number_segments] => 0
    [gif_model] => single
    [OBJECT_NAME] => MTH12S
    [OBJECT_DESC] => Half of a MegaTree with (12) 110 node strings
    [MODEL_TYPE] => MTREE
    [TOTAL_STRINGS] => 24
    [PIXEL_COUNT] => 110
    [FOLDS] => 2
    [START_BOTTOM] => Y
    [submit] => Submit Form to create your target model
)
exit

When I returned to the models screen the MTH12S had not been recreated.
When I went to EFFECTS the same MTH12S line appeared.
I hit the Submit Form Button and then selected my BAR1 EFFECT
When In tried to run the BAR1 effect the following appeared on screen:


Nutcracker: RGB Effects Builder for user maffeirw
On this page you build an animation of the spiral class and create an animated GIF
get
username   maffeirw
user_target   MTH12S
effect_class   bars
effect_name   BAR1
window_degrees   180
frame_delay   50
number_bars   10
fade_3d   
speed   1
direction   up
color1   #FF8B17
color2   #B35CFF
color3   #FF8B17
color4   #B35CFF
color5   #FF8B17
color6   #B35CFF
highlight   y
seq_duration   4.872
fade_in   
fade_out   
submit   Submit Form to create your effect
Effect Settings
username   maffeirw
user_target   MTH12S
effect_class   bars
effect_name   BAR1
window_degrees   180
frame_delay   50
number_bars   10
fade_3d   
speed   1
direction   up
color1   #FF8B17
color2   #B35CFF
color3   #FF8B17
color4   #B35CFF
color5   #FF8B17
color6   #B35CFF
highlight   y
seq_duration   4.872
fade_in   
fade_out   
submit   Submit Form to create your effect
OBJECT_NAME   bars
batch   0
show_frame   N

Warning: fopen(../targets/68/MTH12S.dat) [function.fopen]: failed to open stream: No such file or directory in /users/meighan.net/htdocs/nutcracker_sean/effects/read_file.php on line 75
can't open file ../targets/68/MTH12S.dat


Sean in the future would it be easier to send you the information in a word file to better preserve the screen formating or is this adequate?

First bug found was that you couldnt resave your targets.

This has now been fixed.

What you pasted here is perfect, i would rather not have to open another document.

now that you can resave your targets, please go and test.

Also, everyone, please always include your nutcracker username. This will help me when i log in as you to verify the bugs.

sean
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline maffeirw

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 178
Re: Nutcracker: Testers Wanted!
« Reply #3 on: September 11, 2012, »
Still get:

MTH12S Target model needs to be resaved for ../targets/68/MTH12S.dat

when I click on MTH12S it now populates the mask but when I submit it I get this screen:

 Array
(
    [submit] => Submit Form to create your target model
    [username] => maffeirw
    [number_segments] => 0
    [gif_model] => single
    [OBJECT_NAME] => MTH12S
    [OBJECT_DESC] => Half of a MegaTree with (12) 110 node strings
    [MODEL_TYPE] => MTREE
    [TOTAL_STRINGS] => 24
    [PIXEL_COUNT] => 110
    [FOLDS] => 2
    [START_BOTTOM] => Y
)


Warning: Cannot modify header information - headers already sent by (output started at /users/meighan.net/htdocs/nutcracker_sean/login/process.php:33) in /users/meighan.net/htdocs/nutcracker_sean/login/process.php on line 160
Luceat lux vestra

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Testers Wanted!
« Reply #4 on: September 11, 2012, »
You are not allowed to view links. Register or Login
Still get:

MTH12S Target model needs to be resaved for ../targets/68/MTH12S.dat

when I click on MTH12S it now populates the mask but when I submit it I get this screen:

 Array
(
    [submit] => Submit Form to create your target model
    [username] => maffeirw
    [number_segments] => 0
    [gif_model] => single
    [OBJECT_NAME] => MTH12S
    [OBJECT_DESC] => Half of a MegaTree with (12) 110 node strings
    [MODEL_TYPE] => MTREE
    [TOTAL_STRINGS] => 24
    [PIXEL_COUNT] => 110
    [FOLDS] => 2
    [START_BOTTOM] => Y
)


Warning: Cannot modify header information - headers already sent by (output started at /users/meighan.net/htdocs/nutcracker_sean/login/process.php:33) in /users/meighan.net/htdocs/nutcracker_sean/login/process.php on line 160

can you try it again. the code worked on my local install with no errors, but when i tried it on nutcracker_sean i got the same error as you.

I have fixed this error.

should now be ok to start testing effects
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline maffeirw

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 178
Re: Nutcracker: Testers Wanted!
« Reply #5 on: September 11, 2012, »
The recreate for the Megatree Model seems to be working now.

I tried my BAR1 Effect (maffeirw account) on Nutcracker_sean
It created and displayed the gif and I was able to transfer and run it in Vixen, The only difference I could find was that the highlight switch was on in both but only the original actually had the white highlight ring in the gif and Vixen export. It was missing in the Nutcracker _sean version


Not sure if your testing anything on single strand but when I try to recreate my roofline model after the mask fills in and I answer the length of the 3 strings (106,100,111) I get the following :


Array
(
    [submit] => Submit Form to create your target model
    [pixel_array] => Array
        (
            [1] => 106
            [2] => 100
            [3] => 111
        )

    [number_segments] => 3
    [gif_model] => single
)
Single Strand
 
Number of Segments   

What Type of Gif Model to preview with    Straight Line
 Window (Assumes four segments)
 Arch (Each segment makes an arch)   

Your virtual strand is 0 Pixels long
Segment 1 starts at virtual pixel#   1   

Segment 2 starts at virtual pixel#   1   

Segment 3 starts at virtual pixel#   1   


Luceat lux vestra

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Testers Wanted!
« Reply #6 on: September 13, 2012, »
I will continue posting in this thread, but you do your testing on the production url,
You are not allowed to view links. Register or Login,

I converted meteors and text.

so you can test what is is in the blue



bars, butterfly, fire,garlands, spirals
color_wash, gif, life
meteors,text


These are not ready to test so please do NOT post any messages about them. As the days go forward this pile will move up to the pile that us ready for test.

chase,  layer,   pictures, single_strand,snowflakes,snowstorm,user_defined


There are 70 days until first light on Friday Nov 23rd.
« Last Edit: September 13, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline mokeefe

  • Sr. Member
  • ****
  • Posts: 508
Re: Nutcracker: Testers Wanted!
« Reply #7 on: September 13, 2012, »
Sean,

Do you want us to post bugs (other than effects) here or would you prefer using GitHub?  Gallery "paging" seems to be broken.

-Mike

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Testers Wanted!
« Reply #8 on: September 14, 2012, »
Update: More effects converted

I will continue posting in this thread, do your testing on the production url,
You are not allowed to view links. Register or Login,

I converted pictures, snowflakes,snowstorm,user_defined. Snowflakes has a bug not related to this so i need to fix it.

you can test what is is in the blue



bars, butterfly, fire,garlands, spirals
color_wash, gif, life
meteors,text
pictures, snowflakes,snowstorm,user_defined


These are not ready to test so please do NOT post any messages about them. As the days go forward this pile will move up to the pile that us ready for test.

chase,   single_strand,layer


I also fixed the gif and picture gallery
Along the way, i found a bug in the gif effect where i could walk out of an array. that is now fixed.

There are 69 days until first light on Friday Nov 23rd.
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login