dissent
dissent copied to clipboard
Bug: zero-byte config files and cached images on Windows
No images load for me when running Dissent on Windows 11. Looking at %LOCALAPPDATA%\Dissent\img2, there's a bunch of 0-byte files in the directory; similarly the config files in %APPDATA%\Dissent are also empty, and trying to change any settings results in two of these dialog boxes opening:
Version: git (a788773) (dirty)
Build Info:
go go1.23.2
path libdb.so/dissent
mod libdb.so/dissent (devel)
dep github.com/KarpelesLab/weak v0.1.1 h1:fNnlPo3aypS9tBzoEQluY13XyUfd/eWaSE/vMvo9s4g=
dep github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek=
dep github.com/danieljoos/wincred v1.2.1 h1:dl9cBrupW8+r5250DYkYxocLeZ1Y4vB1kxgtjxw8GQs=
dep github.com/diamondburned/adaptive v0.0.2-0.20221227093656-fa139be203a8 h1:ZMe7aut1RcAE52EpSmfuIiKhaIw3MGVw9qOiCcj8R+w=
dep github.com/diamondburned/arikawa/v3 v3.4.0 h1:wI3Qv8h2E2dkeddF1I35nv4T6OQ3RtA21rbghW/fnd0=
dep github.com/diamondburned/chatkit v0.0.0-20240614105536-5788b19145bc h1:SL8VaknB7joR9TfPhoxkh9JXc1k42f2IV7fXwAZkW2U=
dep github.com/diamondburned/gotk4-adwaita/pkg v0.0.0-20240712143708-824c3ce8a5f4 h1:LIOh9NaVui4TaCLbWHe3Yn/7liGdWgH2LsUp+xhTqkw=
dep github.com/diamondburned/gotk4/pkg v0.3.1 h1:uhkXSUPUsCyz3yujdvl7DSN8jiLS2BgNTQE95hk6ygg=
dep github.com/diamondburned/gotkit v0.0.0-20241016202055-5751b5af7e5e h1:HzB3RIHWo7SqpEMrfuC9FSmm0LoaVdNWGWv9QMPjcYQ=
dep github.com/diamondburned/ningen/v3 v3.0.1-0.20240808103805-f1a24c0da3d8 h1:wgvgSzI4N+BHhCWhGhHKfW4gm0UtBVptiDaBGPdHmcs=
dep github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
dep github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
dep github.com/enescakir/emoji v1.0.0 h1:W+HsNql8swfCQFtioDGDHCHri8nudlK1n5p2rHCJoog=
dep github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
dep github.com/gorilla/schema v1.4.1 h1:jUg5hUjCSDZpNGLuXQOgIWGdlgrIdYvgQ0wZtdK1M3E=
dep github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
dep github.com/leonelquinteros/gotext v1.6.0 h1:IYL2+dKsaYYvqGAOafaC7mpAGBhMrD/vKjHUGyp8V64=
dep github.com/lmittmann/tint v1.0.4 h1:LeYihpJ9hyGvE0w+K2okPTGUdVLfng1+nDNVR4vWISc=
dep github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
dep github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
dep github.com/puzpuzpuz/xsync/v3 v3.1.0 h1:EewKT7/LNac5SLiEblJeUu8z5eERHrmRLnMQL2d7qX4=
dep github.com/sahilm/fuzzy v0.1.1 h1:ceu5RHF8DGgoi+/dR5PsECjCDH1BE3Fnmpo7aVXOdRA=
dep github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg=
dep github.com/yalue/merged_fs v1.3.0 h1:qCeh9tMPNy/i8cwDsQTJ5bLr6IRxbs6meakNE5O+wyY=
dep github.com/yuin/goldmark v1.7.1 h1:3bajkSilaCbjdKVsKdZjZCLBNPL9pYzrCakKaf4U49U=
dep github.com/zalando/go-keyring v0.2.4 h1:wi2xxTqdiwMKbM6TWwi+uJCG/Tum2UV0jqaQhCa9/68=
dep go4.org v0.0.0-20230225012048-214862532bf5 h1:nifaUDeh+rPaBCMPMQHZmvJf+QdpLFnuQPwx+LxVmtc=
dep go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 h1:lGdhQUN/cnWdSH3291CUuxSEqc+AsGTiDxPP3r2J0l4=
dep golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
dep golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
dep golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
dep golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
dep golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
dep libdb.so/ctxt v0.0.0-20240229093153-2db38a5d3c12 h1:Yhdfv7kODmi9SqvX8dEoglc3Mr+RvfYQp5GFKc+i7vk=
dep libdb.so/go-emoji v0.0.0-20240508073816-39776eee41ac h1:fL1eVICs1WolgTePtsH6ykhRFA5XRkTrxtnP5qu2pzo=
build -buildmode=exe
build -compiler=gc
build -ldflags="-H windowsgui"
build -tags=nogtksource
build DefaultGODEBUG=asynctimerchan=1,gotypesalias=0,httplaxcontentlength=1,httpmuxgo121=1,httpservecontentkeepheaders=1,tls10server=1,tls3des=1,tlskyber=0,tlsrsakex=1,tlsunsafeekm=1,winreadlinkvolume=0,winsymlink=0,x509keypairleaf=0,x509negativeserial=1
build CGO_ENABLED=1
build CGO_CFLAGS=
build CGO_CPPFLAGS=
build CGO_CXXFLAGS=
build CGO_LDFLAGS=
build GOARCH=amd64
build GOOS=windows
build GOAMD64=v1
build vcs=git
build vcs.revision=a788773d034653b04b1bf5ca0b680d401a788f49
build vcs.time=2024-10-17T23:48:55Z
build vcs.modified=true
Last 50 log lines:
time=2024-12-01T15:58:08.586+01:00 level=ERROR msg="unhandled image error" err="failed to close PixbufLoader: Unrecognized image file format"
time=2024-12-01T15:58:08.586+01:00 level=ERROR msg="unhandled image error" err="failed to close PixbufLoader: Unrecognized image file format"
time=2024-12-01T15:58:08.586+01:00 level=ERROR msg="unhandled image error" err="failed to close PixbufLoader: Unrecognized image file format"
time=2024-12-01T15:58:08.586+01:00 level=ERROR msg="unhandled image error" err="failed to close PixbufLoader: Unrecognized image file format"
time=2024-12-01T15:59:04.440+01:00 level=ERROR msg="failed to play sound with canberra" module=sounds id=message err="exec: \"canberra-gtk-play\": executable file not found in %PATH%"
time=2024-12-01T15:59:04.690+01:00 level=WARN msg="Notifications are not yet supported on Windows." glib_old_log_api=1 priority=4 glib_domain=GLib-GIO
time=2024-12-01T15:59:06.732+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:06.732+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T15:59:06.733+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:06.733+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T15:59:12.335+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:12.336+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T15:59:12.336+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:12.336+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T15:59:15.236+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T15:59:15.237+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T15:59:15.439+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T15:59:15.439+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T15:59:41.591+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:41.591+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T15:59:41.591+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T15:59:41.591+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:05.506+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:05.506+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:05.675+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:05.676+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:07.440+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:07.440+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:07.596+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:07.597+01:00 level=INFO msg="error: cannot save prefs: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\prefs.json: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:00:27.422+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:27.422+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:27.422+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:27.422+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:35.717+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:35.717+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:35.717+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:35.717+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:51.754+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:51.754+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:00:51.754+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:00:51.754+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:02:10.084+01:00 level=INFO msg="cannot save kvstate: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\last-guild-state: The process cannot access the file because another process has locked a portion of the file."
time=2024-12-01T16:02:10.098+01:00 level=INFO msg="preference \"W:\\\\Users\\\\ender\\\\AppData\\\\Roaming\\\\dissent\\\\guild-last-open\" has invalid JSON: EOF"
time=2024-12-01T16:02:10.098+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:02:10.099+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:02:10.099+01:00 level=WARN msg="unsupported image type" mime=text/plain module=imgutil.loadPixbuf
time=2024-12-01T16:02:10.099+01:00 level=ERROR msg="gdk_pixbuf_loader_write: assertion 'buf != NULL' failed" glib_old_log_api=1 priority=4 glib_domain=GdkPixbuf
time=2024-12-01T16:02:10.099+01:00 level=ERROR msg="unhandled image error" err="failed to close PixbufLoader: Unrecognized image file format"
time=2024-12-01T16:02:10.362+01:00 level=INFO msg="cannot save kvstate: write W:\\Users\\ender\\AppData\\Roaming\\dissent\\last-guild-state: The process cannot access the file because another process has locked a portion of the file."
Having the same issue here
Still broken in v0.0.32