Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Solved: Thumbnail Generator Issue in 9.0.0
#20
Hi Tim,

It seems that this statement in thumb-gen.php (line 318) does not return:

$id3v2 = new Zend_Media_Id3v2($path, array('hash_only' => false)); // r44a

Code:
                case 'mp3':
                        require_once __DIR__ . '/../inc/Zend/Media/Id3v2.php';

                        try {
workerLog('thumb-gen: getImage(): 4 (path = ' . $path . ')');
                                $id3v2 = new Zend_Media_Id3v2($path, array('hash_only' => false)); // r44a
workerLog('thumb-gen: getImage(): 5');

                                if (isset($id3v2->apic)) {


The log prints:

Code:
20240528 201917 thumb-gen: getImage(): 4 (path = /var/lib/mpd/music/NAS/NFS/2/stevie wonder - (2001) vocals and instrumentals pt2 (lg100)/11 - for once in my life.mp3)

and then the thumbnail generator stops and I do not get debug output 'thumb-gen: getImage(): 5' anymore...

Now investigating Zend_Media_Id3v2 ...

Seems to fail in /var/www/inc/Zend/Media/Id3v2.php, line 213:

Code:
workerLog('Id3v2 Constructor: 18 classname = ' . $classname);
                $frame = new $classname($this->_reader, $options);
workerLog('Id3v2 Constructor: 19');

Log shows:



Code:
20240528 203325 Id3v2 Constructor: 18 classname = Zend_Media_Id3_Frame_Wcom

Would that be: '/var/www/inc/Zend/Media/Id3/Frame/Wcom.php' ? 
Wcom.php seems to refer to /var/www/inc/Zend/Media/Id3/LinkFrame.php. This file has another constructor. Here the thumbnail generator fails at line 56:


Code:
    public function __construct($reader = null, &$options = array())
    {
        parent::__construct($reader, $options);

workerLog('Zend_Media_Id3_LinkFrame: 1');
        if ($this->_reader !== null) {
workerLog('Zend_Media_Id3_LinkFrame: 2');
            $this->_link = implode
                ($this->_explodeString8
                 ($this->_reader->read($this->_reader->getSize()), 1), '');
        }
workerLog('Zend_Media_Id3_LinkFrame: 3');
    }

Log file shows that debug line '3' is never reached:

Code:
20240528 204059 Id3v2 Constructor: 18 classname = Zend_Media_Id3_Frame_Wcom
20240528 204059 Zend_Media_Id3_LinkFrame: 1
20240528 204059 Zend_Media_Id3_LinkFrame: 2

Seems that 'implode' crashes without any trace... Now its getting too complicated for me, I guess Sad .

-Frank


Messages In This Thread
Thumbnail Generator Issue in 9.0.0 - by haeckse - 05-22-2024, 03:28 PM
RE: Thumbnail Generator Issue in 9.0.0 - by radu- - 05-23-2024, 08:45 AM
RE: Thumbnail Generator Issue in 9.0.0 - by radu- - 05-23-2024, 12:21 PM
RE: Thumbnail Generator Issue in 9.0.0 - by radu- - 05-24-2024, 09:44 AM
RE: Thumbnail Generator Issue in 9.0.0 - by Nutul - 05-27-2024, 12:38 PM
RE: Thumbnail Generator Issue in 9.0.0 - by Mattt - 05-27-2024, 07:43 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-27-2024, 08:30 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-28-2024, 06:23 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-28-2024, 07:06 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-28-2024, 07:20 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-28-2024, 08:06 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-29-2024, 05:59 PM
RE: Thumbnail Generator Issue in 9.0.0 - by Nutul - 05-28-2024, 08:25 PM
RE: Thumbnail Generator Issue in 9.0.0 - by Nutul - 05-28-2024, 08:32 PM
RE: Thumbnail Generator Issue in 9.0.0 - by ftw64 - 05-31-2024, 08:02 PM
RE: Thumbnail Generator Issue in 9.0.0 - by radu- - 06-03-2024, 06:31 AM

Forum Jump: