Skip to content

Instantly share code, notes, and snippets.

View jrabbit's full-sized avatar
🍡

Jack Laxson jrabbit

🍡
View GitHub Profile
{% if debug %}
<script type="module" src="{% static 'pizza/js/bundle.js' %}"></script>
{% else %}
<script type="module" src="https://storage.googleapis.com/static_final/pizza/js/bundle.js" integrity="sha384-"></script>
{% endif %}
package adormit
import (
"fmt"
"github.com/godbus/dbus"
"github.com/gotk3/gotk3/glib"
"reflect"
"time"
)
@cli_base.command()
@click.option("--conf-file", default=os.path.join(folder, "pyborg.twitter.toml"))
def twitter_debug_shell(conf_file):
api = get_api(conf_file)
from IPython import embed
embed()
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
var RootCmd = &cobra.Command{
Use: "task-client",
Short: " makes quick connections to taskd",
sudo apt install nvidia-driver/experimental
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '384.90-1' (Debian:experimental [amd64]) for 'nvidia-driver'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
INFO:gnome-todo-plugin:taskwarrior:{'modified': '20170924T100246Z', 'project': 'TW inbox', 'description': 'timmy', 'uuid': '6e5e45b3-68a6-5050-b06e-16b81d5ac8a2', 'status': 'pending', 'entry': '20170924T100246Z'}
INFO:gnome-todo-plugin:taskwarrior:<Gtd.Task object at 0x7f84218c5828 (GtdTask at 0x5555560614e0)>
INFO:gnome-todo-plugin:taskwarrior:saving task
Thread 1 "gnome-todo" received signal SIGSEGV, Segmentation fault.
0x00007f8458d20d2f in g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0 0x00007f8458d20d2f in g_type_check_instance_is_fundamentally_a () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007f8423467b22 in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
#2 0x00007f842345f97b in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
#0 0x000055555557a8f6 in GTD_IS_TASK (ptr=0x55555605e620) at ../src/gtd-task.h:30
#1 0x000055555557a8f6 in gtd_task_get_parent (self=0x55555605e620) at ../src/gtd-task.c:1098
#2 0x000055555557adb9 in share_same_ancestor (t2=<optimized out>, t1=<optimized out>) at ../src/gtd-task.c:90
#3 0x000055555557adb9 in compare_by_subtasks (t2=<optimized out>, t1=<optimized out>) at ../src/gtd-task.c:138
#4 0x000055555557adb9 in gtd_task_compare (t1=0x555556065ba0, t2=0x55555605e620) at ../src/gtd-task.c:999
#5 0x00007f676679b5e1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f676679b58c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007f676679b58c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007f676679b58c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.:
Thread 1 "gnome-todo" received signal SIGSEGV, Segmentation fault.
0x00007ff03a8e91e0 in g_str_hash () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ff03a8e91e0 in g_str_hash () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ff03a8e7e9b in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x000055555557b9cd in gtd_task_list_save_task (list=0x555556058040, task=0x55555605de10) at ../src/gtd-task-list.c:508
#3 0x00007ff032140038 in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#4 0x00007ff03213fa9a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#5 0x00007ff0075a1df4 in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
#6 0x00007ff0075a39a8 in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
INFO:gnome-todo-plugin:taskwarrior:{"description":"foo","entry":"20170126T063059Z","modified":"20170126T063100Z","status":"pending","uuid":"e8cb5a2d-41ff-4206-9da9-ce5a0b499aae"}
INFO:gnome-todo-plugin:taskwarrior:saving task
[1] 8483 segmentation fault gnome-todo
Building documentation for gnome-todo
Error in gtkdoc helper script:
'gtkdoc-scan' failed with status 2
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(.*?){ <-- HERE / at /usr/bin/gtkdoc-scan line 735.
Can't open source directory /home/jack/Projects/gnome-todo/_build/src/engine: No such file or directory at /usr/bin/gtkdoc-scan line 223.
Failed to run install script '/usr/bin/python3 /usr/share/meson/meson --internal gtkdoc --sourcedir=/home/jack/Projects/gnome-todo --builddir=/home/jack/Projects/gnome-todo/_build --subdir=doc/reference --headerdirs=/home/jack/Projects/gnome-todo/src@@/home/jack/Projects/gnome-todo/_build/src@@/home/jack/Projects/gnome-todo/src/engine@@/home/jack/Projects/gnome-todo/_build/src/engine@@/home/jack/Projects/gnome-todo/src/interfaces@@/home/jack/Projects/gnome-todo/_build/src/interfaces@@/home/jack/Projects/gnome-todo/src/notification@@/home/jack/Projects/gnome-todo/_build/src/notification --m