aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-09-20 15:54:03 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-09-20 15:54:03 +1000
commit3bdece945d1831fc6069984aff080287b4a669bc (patch)
treef8a244793375127a1bbed4498a678bd5cd9cdcd0
parent96de552f5e90382eb2880f29ca67dd57cfbb5d17 (diff)
downloadmediagoblin-3bdece945d1831fc6069984aff080287b4a669bc.tar.lz
mediagoblin-3bdece945d1831fc6069984aff080287b4a669bc.tar.xz
mediagoblin-3bdece945d1831fc6069984aff080287b4a669bc.zip
Actually add the page. :)
-rw-r--r--docs/source/siteadmin/troubleshooting.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/source/siteadmin/troubleshooting.rst b/docs/source/siteadmin/troubleshooting.rst
new file mode 100644
index 00000000..48eb7fe0
--- /dev/null
+++ b/docs/source/siteadmin/troubleshooting.rst
@@ -0,0 +1,51 @@
+.. MediaGoblin Documentation
+
+ Written in 2011, 2012, 2013, 2020, 2021 by MediaGoblin contributors
+
+ To the extent possible under law, the author(s) have dedicated all
+ copyright and related and neighboring rights to this software to
+ the public domain worldwide. This software is distributed without
+ any warranty.
+
+ You should have received a copy of the CC0 Public Domain
+ Dedication along with this software. If not, see
+ <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+.. _troubleshooting-chapter:
+
+===============
+Troubleshooting
+===============
+
+Sometimes it doesn't all go to plan! This page describes some of the problems
+that community members have reported and how to fix them.
+
+
+TypeError: object() takes no parameters
+---------------------------------------
+
+Backtrace::
+
+ 2021-04-04 06:04:55,244 WARNING [mediagoblin.processing] No idea what happened here, but it failed: TypeError('object() takes no parameters',)
+ 2021-04-04 06:04:55,262 ERROR [waitress] Exception while serving /submit/
+ ...
+ File "/opt/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 338, in __setup_videoscale_capsfilter
+ caps_struct.set_value('pixel-aspect-ratio', Gst.Fraction(1, 1))
+ TypeError: object() takes no parameters
+
+This is caused by not having the package python3-gst-1.0 on Debian:
+
+http://gstreamer-devel.966125.n4.nabble.com/How-to-use-Gst-Fraction-in-python-td4679228.html
+
+
+alembic.util.exc.CommandError: Can't locate revision identified by 'e9212d3a12d3'
+---------------------------------------------------------------------------------
+
+This is caused when you've enabled a plugin, run dbupdate and then disabled the
+plugin again. Currently we recommend reinstalling the plugin, but we understand
+this is not ideal. See the outstanding issue raised here:
+
+https://issues.mediagoblin.org/ticket/5447
+
+It's possible that manually manipulating the ``alembic_version`` table may help
+you, but that approach is only recommended for experienced developers.