nextcloud / documentserver_community

Document server for onlyoffice
https://apps.nextcloud.com/apps/documentserver_community
133 stars 29 forks source link

Uncaught TypeError: d.$T is not a function #185

Closed michel-thomas closed 1 month ago

michel-thomas commented 4 years ago

Hello,

I'm quite confused with some errors with OnlyOffice integration. One of these is Uncaught TypeError: d.$T is not a function. I see some other issues about DoctRenderer and Namespace errors (#149), but I can't find a relevant solution and don't know how to solve this.

My configuration is:

I tried:

I haven't tried yet proposal here (documentserver_community/issues/100). Anyone tried this?

Thanks for your help!

Nextcloud logs ``` [documentserver_community] Error: OCA\DocumentServer\Document\DocumentConversionException: change_code: a){d.WDb=a};hc[AscDFH.nDc]=function(d,a){d.type=a};hc[AscDFH.lGc]=function(d,a){d.NE=a};hc[AscDFH.sBd]=function(d,a){d.gGg=a};hc[AscDFH.mGc]=function(d,a){d.mm=a};hc[AscDFH.j0b]=function(d,a){d.PO=a};hc[AscDFH.h0b]=function(d,a){d.RT=a};hc[AscDFH.i0b]=function(d,a){d.P5=a};hc[AscDFH.g0b]=function(d,a){d.NEa=a};hc[AscDFH.WGc]=function(d,a){d.parent=a};hc[AscDFH.Dgb]=function(d,a){d.Wj=a;d.$T()};hc[AscDFH.iAb]=function(d,a){d.ik=a;d.$T()};hc[AscDFH.Cgb]=function(d,a){d.eb=a;d.Zx()};hc[AscDFH.hAb]=function(d, change: Uncaught TypeError: d.$T is not a function DoctRenderer: namespace error : Namespace prefix wp14 on sizeRelV is not defined docPr id="2" name=""/>> 0. /srv/cloud.domain.com/www/apps/documentserver_community/lib/DocumentConverter.php line 123 OCA\DocumentServer\Document\ConverterBinary->run("/tmp/oc_tmp_S70zYa-.xml", null) 1. /srv/cloud.domain.com/www/apps/documentserver_community/lib/DocumentConverter.php line 78 OCA\DocumentServer\DocumentConverter->runCommand(OCA\DocumentServ ... {}) 2. /srv/cloud.domain.com/www/apps/documentserver_community/lib/Document/DocumentStore.php line 155 OCA\DocumentServer\DocumentConverter->saveChanges("*** sensitive parameter replaced ***", ["78;AgAAADEA//8 ... "], "/srv/cloud.doma ... x", "docx") 3. /srv/cloud.domain.com/www/apps/documentserver_community/lib/LocalAppData.php line 100 OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensitive parameters replaced ***") 4. /srv/cloud.domain.com/www/apps/documentserver_community/lib/Document/DocumentStore.php line 175 OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\SimpleFS\SimpleFolder {}, Closure {}) 5. /srv/cloud.domain.com/www/apps/documentserver_community/lib/Document/SaveHandler.php line 56 OCA\DocumentServer\Document\DocumentStore->saveChanges(4001096229, [OCA\DocumentSer ... }]) 6. /srv/cloud.domain.com/www/apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 69 OCA\DocumentServer\Document\SaveHandler->flushChanges(4001096229) 7. /srv/cloud.domain.com/www/lib/public/BackgroundJob/Job.php line 80 OCA\DocumentServer\BackgroundJob\Cleanup->run(null) 8. /srv/cloud.domain.com/www/cron.php line 126 OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {}) at 2020-11-09T09:35:12+01:00 ```
github-actions[bot] commented 3 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] commented 1 month ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.