Hi all!
I finally got my hands on the G2 from CVS today, and started installing/testing it. Everything seems to work ok, until i try to use the CreateRandomTree with 500 iterations. The debug info I get is:
----
Test: core :: CreateRandomTree [500 iteration(s)]
Timing: 0.0825 elapsed, 6062.3682 per second
Error: Error (ERROR_COLLISION)
in modules/core/classes/GalleryAlbumItem.class at line 166
in modules/core/test/TestCase/CreateRandomTree.class at line 82
in modules/core/test/TestCase/CreateRandomTree.class at line 46
in setup/test/TestCase.class at line 31
in setup/test/index.php at line 203
Output:
Warning: mkdir() failed (No such file or directory) in /var/www/html/beta/gallery2/modules/core/classes/GalleryPlatform.class on line 380
----
What dir is it trying to create, and where? :smile:
As soon as I get this up'n'running i'll start the Norwegian translation process, as I volunteered to do a couple of months ago... :grin:
h0bbel
Posts: 13451
And then I did a ReInitializeGallery and tried again, now everything works perfectly.
I guess it's time to sleep, its 03:22 here in norway now.....:smile:
h0bbel
Posts: 7994
What you saw was probably an actual file name collision. That test case choose random file names and every once in a while the random number generator picks the same name twice. The odds are 1 in 4,000. You win a prize!
Posts: 13451
Hehe. :smile:
But, I never win anything!! :smile: Could you PLEASE make a lottery ticket generator for me? :smile:
h0bbel