Unable to run Build all thumbnails/resizes task

Narfhimself

Joined: 2005-12-11
Posts: 5
Posted: Mon, 2005-12-19 17:48

Hi,

I'm running G2 on Windows Server 2003 Small Business Edition with Xampp.
When I run the "Build all thumbnails/resizes" task from Site Admin\Maintenance\Build all thumbnails/resizes the progress bar stops at +/- 30 %.
When I go back to the Maintenance it looks like the task wasn't start at all;

Build all thumbnails/resizes Not run yet Not run yet run now
Ensure data files for all derivatives (thumbnails, etc) have been built and rebuild broken ones.

System Information:

Get system details; useful for copy/paste into G2 support forum.
Last Run Details:

Gallery version = 2.0.2 core 1.0.0.2
PHP version = 5.0.5 apache2handler
Webserver = Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5
Database = mysql 5.0.15-nt
Toolkits = ImageMagick, NetPBM, Exif, Gd, Thumbnail, Dcraw, Ffmpeg
Operating system = Windows NT S001 5.2 build 3790
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)

Thnanks in advance for any answers!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-12-19 17:54

please increase your php memory limit, check your apache error log, change the php error_reporting level to E_ALL (2047)

 
Narfhimself

Joined: 2005-12-11
Posts: 5
Posted: Mon, 2005-12-19 18:28

Thanks for your help.
I increased the php memory limit from 8M to 32M.
I cleared the apache log.
I set the error_reporting to level E_ALL

I restarted the apache and mysql services.
Too bad, it didn't help.

This is my Apache2 error.log:
[Mon Dec 19 19:41:04 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 19:41:04 2005] [notice] Digest: done
[Mon Dec 19 19:41:08 2005] [notice] Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5 configured -- resuming normal operations
[Mon Dec 19 19:41:08 2005] [notice] Server built: Oct 15 2005 10:41:53
[Mon Dec 19 19:41:08 2005] [notice] Parent: Created child process 2184
[Mon Dec 19 19:41:12 2005] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 19:41:12 2005] [notice] Digest: done
[Mon Dec 19 19:41:18 2005] [notice] Child 2184: Child process is running
[Mon Dec 19 19:41:18 2005] [notice] Child 2184: Acquired the start mutex.
[Mon Dec 19 19:41:18 2005] [notice] Child 2184: Starting 250 worker threads.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-12-19 20:17

did the php memory limit actually change (see phpinfo.php <?php phpinfo(); ?> )?

is there any php warning/error when it stops suddenly?
is your server extremely slow / old hardware?

also, please disable your current image toolkits and disable only one (e.g. imagemagick), if you get the same problem with imagemagick, disable it and activate another, etc.

 
Narfhimself

Joined: 2005-12-11
Posts: 5
Posted: Tue, 2005-12-20 21:25

Thanks again for you answer.

The php memory limit actually increased:
=======================================================================
eAccelerator
eAccelerator support enabled
Version 0.9.4-dev
Caching Enabled true
Optimizer Enabled true
Memory Size 33,554,392 Bytes
Memory Available 21,569,328 Bytes
Memory Allocated 11,985,064 Bytes
Cached Scripts 177
Removed Scripts 0
Cached Keys 0
=======================================================================

There is no php warning or error when it stops suddenly.
My server is a bit slow, Windows Server 2003 Small Business Edition installed on a Pentium III 450Mhz 384 MB RAM.

I'm currently using multiple image toolkits, Gd, ImageMagick and NetPBM.
I tried to change te priority.
I gave ImageMagick on the highest priority.
Now the progress bar shows the processed images and is filled all the way.
I saw the processess convert.exe and apache.exe peaking to high cpu usage in the task manager.

The following text is displayed:

=======================================================================

Debug output for failed items:
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5004E41.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0/5009.dat)
[1135139479] can't guarantee 10 -- extending!
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5008.inc)
fopen(F:\program\Gallery_Albums\locks\5/0/5009, wb+, 0)
flock(Resource id #9003, 6, )
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0)
is_dir(F:\program\Gallery_Albums\cache\derivative/5/0)
tempnam(F:\program\Gallery_Albums\tmp\, fmpg_)
getParameter path for ffmpeg plugin
file_exists(F:\program\Gallery_Albums\cache\module/ffmpeg/0/0/0.inc)
Executing: cmd /c " "F:\program\Ffmpeggui\ffmpeg.exe" "-i"
"F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_5_Verucchio_en_San_Leo\Dag
5 - Verucchio en San Leo 72.MOV" "-f" "singlejpeg" "-t" "0.001" "-y"
"F:\program\Gallery_Albums\tmp\fmp4E42.tmp" 2>
"F:\program\Gallery_Albums\tmp\g2d4E43.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(F:\program\Gallery_Albums\tmp\g2d4E43.tmp)
filesize(F:\program\Gallery_Albums\tmp\g2d4E43.tmp)
fopen(F:\program\Gallery_Albums\tmp\g2d4E43.tmp, r, 0)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fgets(Resource id #9008, 4096)
feof(Resource id #9008)
fclose(Resource id #9008)
unlink(F:\program\Gallery_Albums\tmp\g2d4E43.tmp)
Regular Output:
Error Output:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice
Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad
--enable-faac --enable-xvid --enable-mingw32 --enable-a52 --enable-dts
--enable-pp --enable-gpl --enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mov,mp4,m4a,3gp,3g2, from
'F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_5_Verucchio_en_San_Leo\Dag
5 - Verucchio en San Leo 72.MOV':
Duration: 00:00:01.0, start: 0.000000, bitrate: 1968 kb/s
Stream #0.0: Video: h263, 309x206, 14.99 fps
Stream #0.1: Audio: pcm_mulaw, 7575 Hz, mono, 60 kb/s
Output #0, singlejpeg, to 'F:\program\Gallery_Albums\tmp\fmp4E42.tmp':
Stream #0.0: Video: mjpeg, 309x206, 14.99 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mjpeg @ 0076A4A8]colorspace not supported in jpeg
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
Status: 1 (expected 0)
realpath(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../../../)

Error (ERROR_TOOLKIT_FAILURE)in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 205 (GalleryStatus::error)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 104 (FfmpegToolkit::_ffmpeg)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 484 (FfmpegToolkit::performOperation)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 313 (GalleryDerivative_core::_rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivativeImage.class
at line 175 (GalleryDerivative_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_advanced.class
at line 703 (GalleryDerivativeImage_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 843 (GalleryDerivativeHelper_advanced::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_simple.class
at line 66 (GalleryCoreApi::rebuildDerivativeCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 830
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\BuildDerivativesTask.class
at line 92 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\AdminMaintenance.inc
at line 104 (BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplateAdapter.class
at line 762
in
F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%0B^0B4^0B4F6589%%theme.tpl.php
at line 275 (GalleryTemplateAdapter::trailer)
in
F:\program\apachefriends\xampp\htdocs\gallery2\lib\smarty\Smarty.class.php
at line 1251
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GallerySmarty.class
at line 90 (Smarty::fetch)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplate.class
at line 228 (GallerySmarty::fetch)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 318 (GalleryTemplate::display)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 87
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 80

copy(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../data/broken-image.gif,
F:\program\Gallery_Albums\cache\derivative/5/0/5009.dat)
file_exists(F:\program\Gallery_Albums\cache\module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0/5009.dat)
filesize(F:\program\Gallery_Albums\cache\derivative/5/0/5009.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5004E44.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
getimagesize(F:\program\Gallery_Albums\cache\derivative/5/0/5009.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5004E45.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5009.inc)
fclose(Resource id #9003)
file_exists(F:\program\Gallery_Albums\locks\5/0/5009)
unlink(F:\program\Gallery_Albums\locks\5/0/5009)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5014E46.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0/5012.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5011.inc)
fopen(F:\program\Gallery_Albums\locks\5/0/5012, wb+, 0)
flock(Resource id #9024, 6, )
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0)
is_dir(F:\program\Gallery_Albums\cache\derivative/5/0)
tempnam(F:\program\Gallery_Albums\tmp\, fmpg_)
getParameter path for ffmpeg plugin
Executing: cmd /c " "F:\program\Ffmpeggui\ffmpeg.exe" "-i"
"F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_5_Verucchio_en_San_Leo\Dag
5 - Verucchio en San Leo 73.MOV" "-f" "singlejpeg" "-t" "0.001" "-y"
"F:\program\Gallery_Albums\tmp\fmp4E47.tmp" 2>
"F:\program\Gallery_Albums\tmp\g2d4E48.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(F:\program\Gallery_Albums\tmp\g2d4E48.tmp)
filesize(F:\program\Gallery_Albums\tmp\g2d4E48.tmp)
fopen(F:\program\Gallery_Albums\tmp\g2d4E48.tmp, r, 0)
feof(Resource id #9027)
fgets(Resource id #9027, 4096)
feof(Resource id #9027)
fgets(Resource id #9027, 4096)
feof(Resource id #9027)
fgets(Resource id #9027, 4096)
feof(Resource id #9027)
fgets(Resource id #9027, 4096)
feof(Resource id #9027)
fgets(Resource id #9027, 4096)
feof(Resource id #9027)
fclose(Resource id #9027)
unlink(F:\program\Gallery_Albums\tmp\g2d4E48.tmp)
Regular Output:
Error Output:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice
Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad
--enable-faac --enable-xvid --enable-mingw32 --enable-a52 --enable-dts
--enable-pp --enable-gpl --enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_5_Verucchio_en_San_Leo\Dag
5 - Verucchio en San Leo 73.MOV: could not find codec parameters
Status: 1 (expected 0)
realpath(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../../../)

Error (ERROR_TOOLKIT_FAILURE)in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 205 (GalleryStatus::error)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 104 (FfmpegToolkit::_ffmpeg)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 484 (FfmpegToolkit::performOperation)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 313 (GalleryDerivative_core::_rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivativeImage.class
at line 175 (GalleryDerivative_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_advanced.class
at line 703 (GalleryDerivativeImage_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 843 (GalleryDerivativeHelper_advanced::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_simple.class
at line 66 (GalleryCoreApi::rebuildDerivativeCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 830
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\BuildDerivativesTask.class
at line 92 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\AdminMaintenance.inc
at line 104 (BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplateAdapter.class
at line 762
in
F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%0B^0B4^0B4F6589%%theme.tpl.php
at line 275 (GalleryTemplateAdapter::trailer)
in
F:\program\apachefriends\xampp\htdocs\gallery2\lib\smarty\Smarty.class.php
at line 1251
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GallerySmarty.class
at line 90 (Smarty::fetch)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplate.class
at line 228 (GallerySmarty::fetch)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 318 (GalleryTemplate::display)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 87
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 80

copy(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../data/broken-image.gif,
F:\program\Gallery_Albums\cache\derivative/5/0/5012.dat)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/0/5012.dat)
filesize(F:\program\Gallery_Albums\cache\derivative/5/0/5012.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5014E49.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
getimagesize(F:\program\Gallery_Albums\cache\derivative/5/0/5012.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0)
is_dir(F:\program\Gallery_Albums\cache\entity/5/0)
file_exists(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/0\5014E4A.tmp,
F:\program\Gallery_Albums\cache\entity/5/0/5012.inc)
fclose(Resource id #9024)
file_exists(F:\program\Gallery_Albums\locks\5/0/5012)
unlink(F:\program\Gallery_Albums\locks\5/0/5012)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\578538A.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7/5781.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5780.inc)
fopen(F:\program\Gallery_Albums\locks\5/7/5781, wb+, 0)
flock(Resource id #12324, 6, )
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7)
is_dir(F:\program\Gallery_Albums\cache\derivative/5/7)
tempnam(F:\program\Gallery_Albums\tmp\, fmpg_)
getParameter path for ffmpeg plugin
file_exists(F:\program\Gallery_Albums\cache\module/ffmpeg/0/0/0.inc)
Executing: cmd /c " "F:\program\Ffmpeggui\ffmpeg.exe" "-i"
"F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_7_Rimini_Golf\Dag
7 - Rimini Golf 77.MOV" "-f" "singlejpeg" "-t" "0.001" "-y"
"F:\program\Gallery_Albums\tmp\fmp538B.tmp" 2>
"F:\program\Gallery_Albums\tmp\g2d538C.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(F:\program\Gallery_Albums\tmp\g2d538C.tmp)
filesize(F:\program\Gallery_Albums\tmp\g2d538C.tmp)
fopen(F:\program\Gallery_Albums\tmp\g2d538C.tmp, r, 0)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fgets(Resource id #12330, 4096)
feof(Resource id #12330)
fclose(Resource id #12330)
unlink(F:\program\Gallery_Albums\tmp\g2d538C.tmp)
Regular Output:
Error Output:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice
Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad
--enable-faac --enable-xvid --enable-mingw32 --enable-a52 --enable-dts
--enable-pp --enable-gpl --enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mov,mp4,m4a,3gp,3g2, from
'F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_7_Rimini_Golf\Dag
7 - Rimini Golf 77.MOV':
Duration: 00:08:53.0, start: 0.000000, bitrate: 1129 kb/s
Stream #0.0: Video: h263, 309x206, 14.99 fps
Stream #0.1: Audio: pcm_mulaw, 7575 Hz, mono, 60 kb/s
Output #0, singlejpeg, to 'F:\program\Gallery_Albums\tmp\fmp538B.tmp':
Stream #0.0: Video: mjpeg, 309x206, 14.99 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mjpeg @ 0076A4A8]colorspace not supported in jpeg
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
Status: 1 (expected 0)
realpath(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../../../)

Error (ERROR_TOOLKIT_FAILURE)in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 205 (GalleryStatus::error)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 104 (FfmpegToolkit::_ffmpeg)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 484 (FfmpegToolkit::performOperation)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 313 (GalleryDerivative_core::_rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivativeImage.class
at line 175 (GalleryDerivative_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_advanced.class
at line 703 (GalleryDerivativeImage_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 843 (GalleryDerivativeHelper_advanced::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_simple.class
at line 66 (GalleryCoreApi::rebuildDerivativeCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 830
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\BuildDerivativesTask.class
at line 92 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\AdminMaintenance.inc
at line 104 (BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplateAdapter.class
at line 762
in
F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%0B^0B4^0B4F6589%%theme.tpl.php
at line 275 (GalleryTemplateAdapter::trailer)
in
F:\program\apachefriends\xampp\htdocs\gallery2\lib\smarty\Smarty.class.php
at line 1251
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GallerySmarty.class
at line 90 (Smarty::fetch)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplate.class
at line 228 (GallerySmarty::fetch)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 318 (GalleryTemplate::display)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 87
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 80

copy(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../data/broken-image.gif,
F:\program\Gallery_Albums\cache\derivative/5/7/5781.dat)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7/5781.dat)
filesize(F:\program\Gallery_Albums\cache\derivative/5/7/5781.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\578538D.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
getimagesize(F:\program\Gallery_Albums\cache\derivative/5/7/5781.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\578538E.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5781.inc)
fclose(Resource id #12324)
file_exists(F:\program\Gallery_Albums\locks\5/7/5781)
unlink(F:\program\Gallery_Albums\locks\5/7/5781)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\578538F.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7/5784.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5783.inc)
fopen(F:\program\Gallery_Albums\locks\5/7/5784, wb+, 0)
flock(Resource id #12343, 6, )
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7)
is_dir(F:\program\Gallery_Albums\cache\derivative/5/7)
tempnam(F:\program\Gallery_Albums\tmp\, fmpg_)
getParameter path for ffmpeg plugin
Executing: cmd /c " "F:\program\Ffmpeggui\ffmpeg.exe" "-i"
"F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_7_Rimini_Golf\Dag
7 - Rimini Golf 78.MOV" "-f" "singlejpeg" "-t" "0.001" "-y"
"F:\program\Gallery_Albums\tmp\fmp5390.tmp" 2>
"F:\program\Gallery_Albums\tmp\g2d5391.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(F:\program\Gallery_Albums\tmp\g2d5391.tmp)
filesize(F:\program\Gallery_Albums\tmp\g2d5391.tmp)
fopen(F:\program\Gallery_Albums\tmp\g2d5391.tmp, r, 0)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fgets(Resource id #12346, 4096)
feof(Resource id #12346)
fclose(Resource id #12346)
unlink(F:\program\Gallery_Albums\tmp\g2d5391.tmp)
Regular Output:
Error Output:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice
Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad
--enable-faac --enable-xvid --enable-mingw32 --enable-a52 --enable-dts
--enable-pp --enable-gpl --enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mov,mp4,m4a,3gp,3g2, from
'F:\program\Gallery_Albums\albums\Vakanties\Italie_Rimini_Augustus_2005\Dag_7_Rimini_Golf\Dag
7 - Rimini Golf 78.MOV':
Duration: 00:02:20.9, start: 0.000000, bitrate: 1362 kb/s
Stream #0.0: Video: h263, 309x206, 14.99 fps
Stream #0.1: Audio: pcm_mulaw, 7575 Hz, mono, 60 kb/s
Output #0, singlejpeg, to 'F:\program\Gallery_Albums\tmp\fmp5390.tmp':
Stream #0.0: Video: mjpeg, 309x206, 14.99 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mjpeg @ 0076A4A8]colorspace not supported in jpeg
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
Status: 1 (expected 0)
realpath(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../../../)

Error (ERROR_TOOLKIT_FAILURE)in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 205 (GalleryStatus::error)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\ffmpeg\classes\FfmpegToolkit.class
at line 104 (FfmpegToolkit::_ffmpeg)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 484 (FfmpegToolkit::performOperation)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivative.class
at line 313 (GalleryDerivative_core::_rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryDerivativeImage.class
at line 175 (GalleryDerivative_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_advanced.class
at line 703 (GalleryDerivativeImage_core::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 843 (GalleryDerivativeHelper_advanced::rebuildCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_simple.class
at line 66 (GalleryCoreApi::rebuildDerivativeCache)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class
at line 830
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\BuildDerivativesTask.class
at line 92 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\AdminMaintenance.inc
at line 104 (BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplateAdapter.class
at line 762
in
F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%0B^0B4^0B4F6589%%theme.tpl.php
at line 275 (GalleryTemplateAdapter::trailer)
in
F:\program\apachefriends\xampp\htdocs\gallery2\lib\smarty\Smarty.class.php
at line 1251
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GallerySmarty.class
at line 90 (Smarty::fetch)
in
F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes\GalleryTemplate.class
at line 228 (GallerySmarty::fetch)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 318 (GalleryTemplate::display)
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 87
in F:\program\apachefriends\xampp\htdocs\gallery2\main.php at
line 80

copy(F:\program\apachefriends\xampp\htdocs\gallery2\modules\core\classes/../data/broken-image.gif,
F:\program\Gallery_Albums\cache\derivative/5/7/5784.dat)
file_exists(F:\program\Gallery_Albums\cache\derivative/5/7/5784.dat)
filesize(F:\program\Gallery_Albums\cache\derivative/5/7/5784.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\5785392.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
getimagesize(F:\program\Gallery_Albums\cache\derivative/5/7/5784.dat)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7)
is_dir(F:\program\Gallery_Albums\cache\entity/5/7)
file_exists(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
unlink(F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
rename(F:\program\Gallery_Albums\cache\entity/5/7\5785393.tmp,
F:\program\Gallery_Albums\cache\entity/5/7/5784.inc)
fclose(Resource id #12343)
file_exists(F:\program\Gallery_Albums\locks\5/7/5784)
unlink(F:\program\Gallery_Albums\locks\5/7/5784)

These are the task details:

Ensure data files for all derivatives (thumbnails, etc) have been built and rebuild broken ones.
Last Run Details:

Checked 5516 items
2362 items built
4 items failed

=======================================================================

The site now performs a lot better.
All the albums are viewed mutch faster.

Too bad, i got an other error instead.
Whem viewing the main page and subalbums i get error messaged like this:

=======================================================================

Notice: Undefined index: MTbg in F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%FC^FC2^FC281CC3%%navigatorThumbs.tpl.php on line 16

Notice: Undefined index: MTbgborder in F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%FC^FC2^FC281CC3%%navigatorThumbs.tpl.php on line 17

=======================================================================

I switched back to Dcraw as primary image processor, that didn't help.
I'm currently using the PGtheme. I switched back to the Matrix theme, everything works fine again. I switched back to ImageMagick and everything is still allright.

What do you recommend me to use as an image processor on my platform?
GD, ImageMagick or NetPBM?

Tommorrow i'm going to reinstall the PGtheme, and check if the previously posted error messages are gone.

Thanks again for your answer!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-12-20 23:30

- if you've got the php information from the command line, it's useless. it must be from a web browser phpinfo page

- you've got a ffmpeg error. the ffmpeg binaries changed something a few months ago, maybe 2 months ago we did the same change in g2 to fix incompatiblity issues.
--> get the latest nightly snapshot of g2 and the ffmpeg problems will go away

we'll see if there are any other issues.

 
Narfhimself

Joined: 2005-12-11
Posts: 5
Posted: Fri, 2005-12-30 10:34

I got the php information from the phpinfo page, so it should be correct.

I don't worry too mutch about de ffmpeg errors, i only have a handfull of movies files anyway.

There is only one issue left.
I mentiond the php errors that i experience with de PGtheme theme.
I can't get rid of them.
I completely removed the PGtheme theme.
Removed all the files that where used by the theme.
I ran all possible maitanence options successfully.
I reinstalled the PGtheme theme RC7.
The errors are back again.

The following errors i receive when viewing the main page:

Notice: Undefined index: child in F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%73^730^730099F4%%album.tpl.php on line 78

Notice: Undefined index: child in F:\program\Gallery_Albums\smarty\templates_c\%%442040910\%%73^730^730099F4%%album.tpl.php on line 78

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-30 11:13

please report PG theme issues in the ph theme topic in the themes forum. thanks.