Page MenuHomeMiraheze

Cant upload audio files on Uonia Wiki
Closed, ResolvedPublic

Description

Getting this error when I try to upload audio files

[259819f748f976b8e28ff540] 2022-05-10 23:02:29: Fatal exception of type "Error"

Event Timeline

Winn triaged this task as Normal priority.Tue, May 10, 23:04
Winn created this task.
Winn raised the priority of this task from Normal to Unbreak Now!.Wed, May 11, 20:16

Yep, no matter how big the file is or what format of audio it is, I get the same fatal exception

RhinosF1 lowered the priority of this task from Unbreak Now! to High.Wed, May 11, 20:21

Call to undefined method FSFile::getTitle()
from /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(68)
#0 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1700): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->MediaWiki\Extension\EmbedVideo\Media\FFProbe\{closure}(boolean, integer, array, NULL, array)
#1 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1532): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#2 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(80): WANObjectCache->getWithSetCallback(string, integer, Closure)
#3 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(104): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->getMetaData(string)
#4 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/AudioHandler.php(316): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->getStream(string)
#5 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/AudioHandler.php(273): MediaWiki\Extension\EmbedVideo\Media\AudioHandler->getFFProbeResult(FSFile)
#6 /srv/mediawiki/w/includes/media/MediaHandler.php(236): MediaWiki\Extension\EmbedVideo\Media\AudioHandler->getMetadata(FSFile, string)
#7 /srv/mediawiki/w/includes/utils/MWFileProps.php(88): MediaHandler->getSizeAndMetadataWithFallback(FSFile, string)
#8 /srv/mediawiki/w/includes/upload/UploadBase.php(552): MWFileProps->getPropsFromPath(string, string)
#9 /srv/mediawiki/w/includes/upload/UploadBase.php(485): UploadBase->verifyPartialFile()
#10 /srv/mediawiki/w/includes/upload/UploadBase.php(391): UploadBase->verifyFile()
#11 /srv/mediawiki/w/includes/upload/UploadFromFile.php(95): UploadBase->verifyUpload()
#12 /srv/mediawiki/w/includes/specials/SpecialUpload.php(550): UploadFromFile->verifyUpload()
#13 /srv/mediawiki/w/includes/specials/SpecialUpload.php(244): SpecialUpload->processUpload()
#14 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(647): SpecialUpload->execute(NULL)
#15 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL)
#16 /srv/mediawiki/w/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#17 /srv/mediawiki/w/includes/MediaWiki.php(930): MediaWiki->performRequest()
#18 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main()
#19 /srv/mediawiki/w/index.php(53): MediaWiki->run()
#20 /srv/mediawiki/w/index.php(46): wfIndexMain()
#21 {main}

Call to undefined method FSFile::getTitle()
from /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(68)
#0 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1700): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->MediaWiki\Extension\EmbedVideo\Media\FFProbe\{closure}(boolean, integer, array, NULL, array)
#1 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1532): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#2 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(80): WANObjectCache->getWithSetCallback(string, integer, Closure)
#3 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/FFProbe/FFProbe.php(104): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->getMetaData(string)
#4 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/AudioHandler.php(316): MediaWiki\Extension\EmbedVideo\Media\FFProbe\FFProbe->getStream(string)
#5 /srv/mediawiki/w/extensions/EmbedVideo/includes/Media/AudioHandler.php(273): MediaWiki\Extension\EmbedVideo\Media\AudioHandler->getFFProbeResult(FSFile)
#6 /srv/mediawiki/w/includes/media/MediaHandler.php(236): MediaWiki\Extension\EmbedVideo\Media\AudioHandler->getMetadata(FSFile, string)
#7 /srv/mediawiki/w/includes/utils/MWFileProps.php(88): MediaHandler->getSizeAndMetadataWithFallback(FSFile, string)
#8 /srv/mediawiki/w/includes/upload/UploadBase.php(552): MWFileProps->getPropsFromPath(string, string)
#9 /srv/mediawiki/w/includes/upload/UploadBase.php(485): UploadBase->verifyPartialFile()
#10 /srv/mediawiki/w/includes/upload/UploadBase.php(391): UploadBase->verifyFile()
#11 /srv/mediawiki/w/includes/upload/UploadFromFile.php(95): UploadBase->verifyUpload()
#12 /srv/mediawiki/w/includes/specials/SpecialUpload.php(550): UploadFromFile->verifyUpload()
#13 /srv/mediawiki/w/includes/specials/SpecialUpload.php(244): SpecialUpload->processUpload()
#14 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(647): SpecialUpload->execute(NULL)
#15 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL)
#16 /srv/mediawiki/w/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#17 /srv/mediawiki/w/includes/MediaWiki.php(930): MediaWiki->performRequest()
#18 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main()
#19 /srv/mediawiki/w/index.php(53): MediaWiki->run()
#20 /srv/mediawiki/w/index.php(46): wfIndexMain()
#21 {main}

Disabling Embedvideo didnt work.

Thanks for the notification.
It seems that the patch was ready a while ago but haven't merged into the master branch yet.

The patch is now merged into master branch.

Universal_Omega claimed this task.
Universal_Omega added a project: Upstream.

I am now updating the extension. Should be updated within 20 minutes.