owncloud-archive / search_lucene

The ownCloud search_lucene app
GNU Affero General Public License v3.0
18 stars 17 forks source link

pack(): Type H: illegal hex digit & PHP Uninitialized string offset: #62

Closed enoch85 closed 8 years ago

enoch85 commented 9 years ago

Sorry @butonic but it seems like there are more problems now with search_lucene than it was in oC 7. I'm getting numerous errors, and here are some more logs with different errors. Sorry for not knowing what causes them, but I figure that you maybe can interpret this better than I can?

Steps to reproduce

Don´t know.

Expected behavior

No errors

Actual behavior

Look at owncloud.log

Server configuration

Ubuntu Server 12.04

Database: Server version: 5.5.41-0ubuntu0.12.04.1 - (Ubuntu) PHP version: PHP 5.4.37-1+deb.sury.org~precise+1 (cli) (built: Jan 26 2015 11:45:18) Zend OPcache 7.0.4

ownCloud version: (see ownCloud admin page) 8.0 Updated from an older ownCloud or fresh install: 5, 6, 7.

List of activated apps: Activity Calender Contacts Deleted files Documents First Run Wizard Full Text Search PDF Viewer Pictures Share Files Text Editor Updater Versions Video Viewer

Are you using external storage, if yes which one: local/smb/sftp/... No Are you using encryption: yes/no No

Client configuration

Browser: Version 39.0.2171.71 m Operating system: Windows 8.1 Sync Client 1.7.1 stable

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Error   PHP pack(): Type H: illegal hex digit : at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Font.php#253 2015-02-17T20:43:55+00:00
Error   PHP pack(): Type H: illegal hex digit p at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Font.php#253 2015-02-17T20:43:55+00:00
Error   PHP pack(): Type H: illegal hex digit x at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Font.php#253 2015-02-17T20:43:55+00:00
Error   PHP pack(): Type H: illegal hex digit / at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Font.php#253 2015-02-17T20:43:55+00:00
Error   search_lucene   Missing catalog. Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Document.php(250): Smalot\PdfParser\Document->getPages() #1 /var/www/owncloud/apps/search_lucene/document/pdf.php(37): Smalot\PdfParser\Document->getText() #2 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.3\r1 0 ob...', false) #3 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.3\r1 0 ob...') #4 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #5 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #6 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #7 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #8 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #9 {main}    2015-02-17T20:43:39+00:00
Error   search_lucene   Missing catalog. Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Document.php(250): Smalot\PdfParser\Document->getPages() #1 /var/www/owncloud/apps/search_lucene/document/pdf.php(37): Smalot\PdfParser\Document->getText() #2 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.3\r1 0 ob...', false) #3 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.3\r1 0 ob...') #4 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #5 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #6 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #7 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #8 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #9 {main}    2015-02-17T20:43:38+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:43+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:42+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:41+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:40+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:40+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:40+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:40+00:00
Error   PHP Uninitialized string offset: 1 at /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Object.php#413    2015-02-17T20:41:40+00:00
Error   search_lucene   TCPDF_PARSER ERROR: Invalid object reference: Array Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(677): TCPDF_PARSER->Error('Invalid object ...') #1 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(286): TCPDF_PARSER->getIndirectObject('', '111573', true) #2 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(195): TCPDF_PARSER->decodeXrefStream('111573', Array) #3 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(117): TCPDF_PARSER->getXrefData() #4 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Parser.php(87): TCPDF_PARSER->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #5 /var/www/owncloud/apps/search_lucene/document/pdf.php(35): Smalot\PdfParser\Parser->parseContent('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #6 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...', false) #7 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #8 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #9 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #10 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #11 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #12 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #13 {main}   2015-02-17T20:41:38+00:00
Error   PHP Array to string conversion at /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php#677  2015-02-17T20:41:38+00:00
Error   search_lucene   Missing object reference #503_0. Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Header.php(146): Smalot\PdfParser\Header->resolveXRef('Info') #1 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Document.php(122): Smalot\PdfParser\Header->get('Info') #2 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Document.php(86): Smalot\PdfParser\Document->buildDetails() #3 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Document.php(152): Smalot\PdfParser\Document->init() #4 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Parser.php(107): Smalot\PdfParser\Document->setObjects(Array) #5 /var/www/owncloud/apps/search_lucene/document/pdf.php(35): Smalot\PdfParser\Parser->parseContent('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...') #6 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...', false) #7 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...') #8 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #9 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #10 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #11 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #12 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #13 {main} 2015-02-17T20:41:32+00:00
Error   search_lucene   TCPDF_PARSER ERROR: Invalid object reference: Array Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(677): TCPDF_PARSER->Error('Invalid object ...') #1 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(286): TCPDF_PARSER->getIndirectObject('', '53995', true) #2 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(195): TCPDF_PARSER->decodeXrefStream('53995', Array) #3 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(117): TCPDF_PARSER->getXrefData() #4 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Parser.php(87): TCPDF_PARSER->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #5 /var/www/owncloud/apps/search_lucene/document/pdf.php(35): Smalot\PdfParser\Parser->parseContent('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #6 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...', false) #7 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #8 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #9 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #10 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #11 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #12 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #13 {main} 2015-02-17T20:41:15+00:00
Error   PHP Array to string conversion at /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php#677  2015-02-17T20:41:15+00:00
Error   search_lucene   TCPDF_PARSER ERROR: Invalid object reference: Array Trace:\n#0 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(677): TCPDF_PARSER->Error('Invalid object ...') #1 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(286): TCPDF_PARSER->getIndirectObject('', '53604', true) #2 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(195): TCPDF_PARSER->decodeXrefStream('53604', Array) #3 /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php(117): TCPDF_PARSER->getXrefData() #4 /var/www/owncloud/apps/search_lucene/3rdparty/smalot/pdfparser/src/Smalot/PdfParser/Parser.php(87): TCPDF_PARSER->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #5 /var/www/owncloud/apps/search_lucene/document/pdf.php(35): Smalot\PdfParser\Parser->parseContent('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #6 /var/www/owncloud/apps/search_lucene/document/pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...', false) #7 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.3\n%\xC3\xA2\xC3\xA3\xC3...') #8 /var/www/owncloud/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false) #9 /var/www/owncloud/apps/search_lucene/jobs/indexjob.php(41): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array) #10 /var/www/owncloud/lib/private/backgroundjob/job.php(36): OCA\Search_Lucene\Jobs\IndexJob->run(Array) #11 /var/www/owncloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #12 /var/www/owncloud/cron.php(125): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #13 {main} 2015-02-17T20:41:15+00:00
Error   PHP Array to string conversion at /var/www/owncloud/apps/search_lucene/3rdparty/tecnick.com/tcpdf/tcpdf_parser.php#677  2015-02-17T20:41:15+00:00

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...
ghost commented 8 years ago

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)

Thank you!