Gnome software error posting a review for snap app

Bug #1810382 reported by corrado venturini
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Received msg:
Sorry, something went wrong:
Got unknown content type text/html from reviews.ubuntu.com
posting a review for snap app. this does not happen for 'normal' apps

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-software 3.30.2-0ubuntu8
ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
Uname: Linux 4.18.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 3 09:06:57 2019
ExecutablePath: /usr/bin/gnome-software
InstallationDate: Installed on 2018-10-22 (73 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.30.2-0ubuntu8
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
corrado venturini (corradoventu) wrote :

Same problem also with x11 session

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-software (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you describe the steps you take to trigger that issue? How do you write the review/on what page? The review widgets are not supposed to be displayed for snaps (and they are not showing here on bionic or cosmic)

Changed in gnome-software (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
corrado venturini (corradoventu) wrote :

Try to write a review for GNOME characters
corrado@corrado-p3-cosmic:~$ inxi -Fx
System:
  Host: corrado-p3-cosmic Kernel: 4.18.0-15-generic x86_64 bits: 64
  compiler: gcc v: 8.2.0 Desktop: Gnome 3.30.1
  Distro: Ubuntu 18.10 (Cosmic Cuttlefish)
Machine:
  Type: Desktop Mobo: ASRock model: H110M-G/M.2 serial: <root required>
  UEFI: American Megatrends v: P1.10 date: 05/11/2017
CPU:
  Topology: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP
  arch: Kaby Lake rev: 9 L2 cache: 3072 KiB
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31296
  Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800
  3: 800 4: 800
Graphics:
  Device-1: Intel HD Graphics 630 driver: i915 v: kernel bus ID: 00:02.0
  Display: x11 server: X.Org 1.20.1 driver: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
  v: 4.5 Mesa 18.2.2 direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3
  Device-2: Logitech QuickCam Pro 9000 type: USB
  driver: snd-usb-audio,uvcvideo bus ID: 1-2:2
  Sound Server: ALSA v: k4.18.0-15-generic
Network:
  Device-1: Intel Ethernet I219-V driver: e1000e v: 3.2.6-k port: N/A
  bus ID: 00:1f.6
  IF: enp0s31f6 state: up speed: 100 Mbps duplex: full
  mac: 70:85:c2:44:7b:86
Drives:
  Local Storage: total: 931.51 GiB used: 56.44 GiB (6.1%)
  ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
Partition:
  ID-1: / size: 31.25 GiB used: 14.31 GiB (45.8%) fs: ext4 dev: /dev/sda3
  ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 225 Uptime: 13m Memory: 7.50 GiB used: 1.17 GiB (15.6%)
  Init: systemd runlevel: 5 Compilers: gcc: 8.2.0 Shell: bash v: 4.4.19
  inxi: 3.0.24
corrado@corrado-p3-cosmic:~$

Revision history for this message
corrado venturini (corradoventu) wrote :

try again to write a review for GIMP, problem occurred again. I attach journalctl hoping it will help.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you always get that "write a review" button for snaps? It's weird, that control is supposed to be hidden there :/

Changed in gnome-software (Ubuntu):
status: Incomplete → New
Revision history for this message
Andrea Azzarone (azzar1) wrote :

It looks like that since https://gitlab.gnome.org/GNOME/gnome-software/commit/e54b31cc85ddef6f9579cb85bbdf53dbb9d9091d snaps are no longer marked AS_APP_QUIRK_NOT_REVIEWABLE. This because ODRS supports Snap Reviews. Unfortunately, ODRS plugin is disabled for you (and maybe for all cosmic users?) while ubuntu-reviews plugin is still installed/enabled hence the issue. @robert-ancell what's the proper way to fix this? Maybe we should enable ODRS in cosmic and disable ubuntu-reviews?

Changed in gnome-software (Ubuntu):
status: New → Triaged
Revision history for this message
corrado venturini (corradoventu) wrote :

I have the same problem also with Ubuntu 19.04 with all kernels up to Kernel: 5.0.0-050000rc6-generic

Revision history for this message
Sebastien Bacher (seb128) wrote :

@corrado, on 19.04 gnome-software use the ODRS review server and reviewing snaps should work, when you say "same provblem" you mean that you also get the text/html error there?

Revision history for this message
corrado venturini (corradoventu) wrote :

Sorry not same problem, I can write a review and i have NO errors

Revision history for this message
Robert Ancell (robert-ancell) wrote :

@azzar1 correct the upstream change made the snaps reviewable, however the ubuntu-reviews plugin suppresses the ODRS plugin so reviews fail to be posted. We should have patched the NOT_REVIEWABLE quick back in.

I agree it's easier to move forwards and SRU the ODRS change back to Cosmic (bug 1815708). It's been long enough in Disco now to have some confidence this works well.

Revision history for this message
corrado venturini (corradoventu) wrote :

Old problem about Ubuntu 18.10. Changed status to invalid.

Changed in gnome-software (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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