subtle window manager: sur cannot install sublets because server has moved

Bug #1808913 reported by Ali Norman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subtle (Ubuntu)
New
Undecided
Unassigned

Bug Description

When attempting to install a sublet (extension) with sur (the extension manager), I get an error:

>>> ERROR: Cannot download sublet list: Server error

I tracked this error message to /usr/lib/x86_64-linux-gnu/ruby/vendor/_ruby/2.5.0/subtle/sur/client.rb in the build_remote method (line 915 according to vim). The actual HTTP error is 301, server permantly relocated. On subtle's webpage, dev reports that server has been relocated so that lines up.

Looks like the code just needs to be updated to work with the new server but I'm not versed enough to figure it out and I can't find any more-recent builds.

I'm using Ubuntu 18.04.1 LTS

My subtle build:

subtle:
  Installed: 0.11.3224-xi-2.2build2
  Candidate: 0.11.3224-xi-2.2build2
  Version table:
 *** 0.11.3224-xi-2.2build2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: subtle 0.11.3224-xi-2.2build2 [modified: usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/subtle/sur/client.rb]
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
Date: Mon Dec 17 23:32:24 2018
InstallationDate: Installed on 2018-10-24 (55 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 TERM=rxvt-unicode-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: subtle
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.xdg.subtle.subtle.rb: 2018-12-15T22:24:55.273319

Revision history for this message
Ali Norman (alibnorman) wrote :
Revision history for this message
Christoph Kappel (unexist) wrote :

Oh well, I just use 301 to forward from http to https. I've updated the code, but never rolled a new release. Looks like it is about time.

To be honest, I didn't know that there is any ubuntu package at all.

Until then, for a quickfix these are the required changes:

https://hg.subforge.org/subtle/rev/8570e46e41f3

Revision history for this message
Ali Norman (alibnorman) wrote :

Oh hey! I actually found your mercurial repo and built from source so everything's copacetic on my end. As an aside with the dev build I needed to xsetroot -solid black in my .bashrc because subtle apparently wasn't setting any color(?) and I got ghosting issues when I moved windows. I signed up on your site as alessa, was hoping the bug tracker and forum there still work so I could dig in more and mention the xsetroot thing. Having fun using subtle to learn ruby and shake the rust off my C skills from college years back. It's very enjoyable to use!

Revision history for this message
Christoph Kappel (unexist) wrote :

Yeah, I already activated your account, so it is probably better to move any discussion to IRC or forum, but some quick answers:

1) subtle doesn't set the color of the root window at all, that is the task of other tools.
2) When you move windows around, that isn't ghosting but an outline to mark where the window would be, without forcing the window to render itself multiple times in case of a resize.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.