You are not logged in.

#1 2018-05-02 20:10:50

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Hi all and a nice evening,

I've searched the forum and google, but couldn't find any information.  So I'll try to post here.

If I start cinnamon-settings extensions and try to update the extension cache, then I get http 400 Error on thumbnail images ...

which leads to multiple errors in this form ...

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 356, in _url_retrieve
    urlobj = urlopen(url)
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 337, in _download
    self._url_retrieve(url, outfd, self._update_progress, binary)
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 362, in _url_retrieve
    raise KeyboardInterrupt
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 101, in thread_function_wrapper
    result = func(*data)
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 345, in _download
    raise Exception(_("Download aborted for %s.") % url)
Exception: Download aborted for http://cinnamon-spices.linuxmint.com/files/extensions/opacity-fix@mohammad-sn.png.

I could reproduce this on another machine which was working fine by deleting (better move it to another place) ~/.cinnamon/spices.cache

Any Help appreciated.

Best Robert

Last edited by hifigraz (2018-05-03 19:44:44)

Offline

#2 2018-05-03 08:55:45

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

No idea, but the extension doesn't seem to exist - they're allowing the directory, see https://cinnamon-spices.linuxmint.com/files/extensions/
400 instead of 404 seems to be a server side bug.

So your question is: why does it try to download that image?
The answer is likely somewhere in your ~/.cinnamon

Offline

#3 2018-05-03 13:08:01

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Hi Seth!

Thanks for your answer ... This probably was one of my first thoughts too, but I've tried this with an completely empty home-directory on a different user and the same error occurs.

Kind Regards

Offline

#4 2018-05-03 14:39:17

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

grep -r 'opacity-fix' /usr/share/cinnamon/

?

Offline

#5 2018-05-03 16:04:33

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

https://github.com/linuxmint/cinnamon-s … s/pull/158

Do you still have this extension installed? It should be deleted from the server...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2018-05-03 18:32:30

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

@seth the grep does not show up anything!

@Eschwartz I never had installed the extension...

Offline

#7 2018-05-03 19:07:30

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

I have antother finding....

if I delete the file .cinnamon/spices.cache/extension/index.json

I've added some debugging information to "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py" and in the _download_cache function he claims to download the file

https://cinnamon-spices.linuxmint.com// … sions.json

BUT:
If I download the file with curl I've get another result. And Surprise Surprise ... The one downloaded with the cinnamon-settings contains the faulty extensions and the one downloaded with curl doesn't ...

But still there is no fix. Because the correct file is replaces with the faulty one, if using cinnamon settings.

sad

Offline

#8 2018-05-03 19:43:24

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Dirty fix ....

in

"/usr/share/cinnamon/cinnamon-settings/bin/Spices.py"

change line 33 from: 

URL_SPICES_HOME = "http://cinnamon-spices.linuxmint.com"

to:

URL_SPICES_HOME = "https://cinnamon-spices.linuxmint.com/"
                                   ^^^^^                                                          ^^

                                   https is important   _AND_                     the slash at the end ...

What is the best way to get this "fix" to the arch package repository?

KR
Robert

Last edited by hifigraz (2018-05-03 19:44:15)

Offline

#9 2018-05-03 20:15:08

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

To clarify a little bit more:

using curl for example

getting
https://cinnamon-spices.linuxmint.com// … sions.json

and getting
https://cinnamon-spices.linuxmint.com/j … sions.json

gives different files. So probably the server is missconfigured, But this "fix" would solve the problem at least for us ARCH users.

Kind regards
Robert

Offline

#10 2018-05-03 20:19:14

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Those files  are identical to me. Can you pastebin the files you're seeing?

Last edited by eschwartz (2018-05-03 20:19:28)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#11 2018-05-03 20:22:02

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

[robert@Titan robert] (130) $ curl https://cinnamon-spices.linuxmint.com//json/extensions.json -o doubleslash.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10088  100 10088    0     0  44245      0 --:--:-- --:--:-- --:--:-- 44245
[robert@Titan robert] $ curl https://cinnamon-spices.linuxmint.com/json/extensions.json -o singleslash.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10516  100 10516    0     0  47156      0 --:--:-- --:--:-- --:--:-- 47156
[robert@Titan robert] $ diff doubleslash.json singleslash.json 
1c1
< {"gTile@shuairan": {"description": "Tile your windows as you like. It even supports multiscreen ! -EDIT: - See README.md file for configuration -", "icon": "/files/extensions/gTile@shuairan.png", "created": 1350161219, "screenshot": "/git/extensions/gTile@shuairan/screenshot.png", "name": "gTile", "score": 8, "author_user": "none", "file": "/files/extensions/gTile@shuairan.zip", "spices-id": 21, "author_id": "0", "last_edited": 1524129089, "uuid": "gTile@shuairan"}, "gnome2alttab@savagetiger.org": {"description": "\\\"Replaces the standard alt-tab window with a Gnome2 look and feel version\\\"", "icon": "/files/extensions/gnome2alttab@savagetiger.org.png", "created": 1328097600, "screenshot": "/git/extensions/gnome2alttab@savagetiger.org/screenshot.png", "name": "\\\"Gnome2 AltTab LookALike\\\"", "score": 0, "author_user": "SavageTiger", "file": "/files/extensions/gnome2alttab@savagetiger.org.zip", "spices-id": 7, "author_id": "0", "last_edited": 1496749802, "uuid": "gnome2alttab@savagetiger.org"}, "opacify@anish.org": {"description": "Fade out the current window that the user is resizing or dragging.", "icon": "/files/extensions/opacify@anish.org.png", "created": 1386051897, "screenshot": "/git/extensions/opacify@anish.org/screenshot.png", "name": "Opacify Windows", "score": 3, "author_user": "none", "file": "/files/extensions/opacify@anish.org.zip", "spices-id": 25, "author_id": "0", "last_edited": 1505211602, "uuid": "opacify@anish.org"}, "desktop-icons-per-workspace@cardsurf": {"description": "Set positions of desktop icons per workspace", "icon": "/files/extensions/desktop-icons-per-workspace@cardsurf.png", "created": 1524244802, "screenshot": "/git/extensions/desktop-icons-per-workspace@cardsurf/screenshot.png", "name": "Desktop icons per workspace", "score": 0, "author_user": "cardsurf", "file": "/files/extensions/desktop-icons-per-workspace@cardsurf.zip", "spices-id": 47, "author_id": "0", "last_edited": 1524244076, "uuid": "desktop-icons-per-workspace@cardsurf"}, "CinnaDockP2@norbusan": {"description": "Revamped^2 CinnaDock with previews and native configuration and theming, for Cinnamon 1.8+", "icon": "/files/extensions/CinnaDockP2@norbusan.png", "created": 1432263902, "screenshot": "/git/extensions/CinnaDockP2@norbusan/screenshot.png", "name": "CinnaDock++", "score": 4, "author_user": "norbusan", "file": "/files/extensions/CinnaDockP2@norbusan.zip", "spices-id": 35, "author_id": "0", "last_edited": 1485102302, "uuid": "CinnaDockP2@norbusan"}, "Flipper@connerdev": {"description": "Fancy workspace switching extension", "icon": "/files/extensions/Flipper@connerdev.png", "created": 1432537452, "screenshot": "/git/extensions/Flipper@connerdev/screenshot.png", "name": "Flipper", "score": 5, "author_user": "none", "file": "/files/extensions/Flipper@connerdev.zip", "spices-id": 36, "author_id": "0", "last_edited": 1510827553, "uuid": "Flipper@connerdev"}, "desktop-scroller@ccadeptic23": {"description": "Switch between desktops by scrolling at left and right edges of the screen.", "icon": "/files/extensions/desktop-scroller@ccadeptic23.png", "created": 1339384961, "screenshot": "/git/extensions/desktop-scroller@ccadeptic23/screenshot.png", "name": "Desktop Scroller", "score": 5, "author_user": "none", "file": "/files/extensions/desktop-scroller@ccadeptic23.zip", "spices-id": 17, "author_id": "0", "last_edited": 1524129089, "uuid": "desktop-scroller@ccadeptic23"}, "blur-overview@nailfarmer.nailfarmer.com": {"description": "Blur background in overview", "icon": "/files/extensions/blur-overview@nailfarmer.nailfarmer.com.png", "created": 1338935567, "screenshot": "/git/extensions/blur-overview@nailfarmer.nailfarmer.com/screenshot.png", "name": "Blur Overview", "score": 1, "author_user": "none", "file": "/files/extensions/blur-overview@nailfarmer.nailfarmer.com.zip", "spices-id": 14, "author_id": "0", "last_edited": 1524129089, "uuid": "blur-overview@nailfarmer.nailfarmer.com"}, "rnbdsh@negateWindow": {"description": "A Cinnamon extension that allows to negate the window-color when you press super+i.", "icon": "/files/extensions/rnbdsh@negateWindow.png", "created": 1498720502, "screenshot": "/git/extensions/rnbdsh@negateWindow/screenshot.png", "name": "Negate Window on Super+I", "score": 4, "author_user": "rnbdsh", "file": "/files/extensions/rnbdsh@negateWindow.zip", "spices-id": 45, "author_id": "0", "last_edited": 1524143841, "uuid": "rnbdsh@negateWindow"}, "Win7AltTab@entelechy": {"description": "Replaces icons with thumbnails in the Alt-Tab and shows window previews, a la Win7", "icon": "/files/extensions/Win7AltTab@entelechy.png", "created": 1354400165, "screenshot": "/git/extensions/Win7AltTab@entelechy/screenshot.png", "name": "Win7 Alt-Tab", "score": 7, "author_user": "none", "file": "/files/extensions/Win7AltTab@entelechy.zip", "spices-id": 22, "author_id": "0", "last_edited": 1505211602, "uuid": "Win7AltTab@entelechy"}, "wobbly-windows@mecheye.net": {"description": "Compiz shall live again!", "icon": "/files/extensions/wobbly-windows@mecheye.net.png", "created": 1378865338, "screenshot": "/git/extensions/wobbly-windows@mecheye.net/screenshot.png", "name": "Wobbly Windows", "score": 4, "author_user": "none", "file": "/files/extensions/wobbly-windows@mecheye.net.zip", "spices-id": 24, "author_id": "0", "last_edited": 1505211603, "uuid": "wobbly-windows@mecheye.net"}, "smart-panel@mohammad-sn": {"description": "Switch between workspaces, show desktop, activate overview or expo, ... by scrolling, double click, mouse gestures etc on free space of the panel.", "icon": "/files/extensions/smart-panel@mohammad-sn.png", "created": 1428718638, "screenshot": "/git/extensions/smart-panel@mohammad-sn/screenshot.png", "name": "Smart Panel", "score": 4, "author_user": "mohammad-sn", "file": "/files/extensions/smart-panel@mohammad-sn.zip", "spices-id": 32, "author_id": "0", "last_edited": 1497295502, "uuid": "smart-panel@mohammad-sn"}, "workspace-grid@daemonl": {"description": "Workspace grid, based on hernejj\\'s one", "icon": "/files/extensions/workspace-grid@daemonl.png", "created": 1418454795, "screenshot": "/git/extensions/workspace-grid@daemonl/screenshot.png", "name": "Workspace grid", "score": 1, "author_user": "none", "file": "/files/extensions/workspace-grid@daemonl.zip", "spices-id": 31, "author_id": "0", "last_edited": 1505211603, "uuid": "workspace-grid@daemonl"}, "CinnaDockPlus@entelechy": {"description": "Revamped CinnaDock with previews and native configuration and theming, for Cinnamon 1.8+", "icon": "/files/extensions/CinnaDockPlus@entelechy.png", "created": 1374028558, "screenshot": "/git/extensions/CinnaDockPlus@entelechy/screenshot.png", "name": "CinnaDock Plus", "score": 0, "author_user": "none", "file": "/files/extensions/CinnaDockPlus@entelechy.zip", "spices-id": 23, "author_id": "0", "last_edited": 1524129089, "uuid": "CinnaDockPlus@entelechy"}, "ShadowParameters@mikhail-ekzi": {"description": "Customizable shadow parameters", "icon": "/files/extensions/ShadowParameters@mikhail-ekzi.png", "created": 1488630302, "screenshot": "/git/extensions/ShadowParameters@mikhail-ekzi/screenshot.png", "name": "Custom Shadows", "score": 1, "author_user": "mikhail-ekzi", "file": "/files/extensions/ShadowParameters@mikhail-ekzi.zip", "spices-id": 43, "author_id": "0", "last_edited": 1524129916, "uuid": "ShadowParameters@mikhail-ekzi"}, "transparent-panels@germanfr": {"description": "Transparentize your panels when there are no any maximized windows", "icon": "/files/extensions/transparent-panels@germanfr.png", "created": 1480854693, "screenshot": "/git/extensions/transparent-panels@germanfr/screenshot.png", "name": "Transparent panels", "score": 34, "author_user": "germanfr", "file": "/files/extensions/transparent-panels@germanfr.zip", "spices-id": 42, "author_id": "0", "last_edited": 1525084091, "uuid": "transparent-panels@germanfr"}, "workspace-scroller@ori": {"description": "Switch workspaces using mouse scroll at screen edges.", "icon": "/files/extensions/workspace-scroller@ori.png", "created": 1444857079, "screenshot": "/git/extensions/workspace-scroller@ori/screenshot.png", "name": "Workspace Scroller", "score": 3, "author_user": "none", "file": "/files/extensions/workspace-scroller@ori.zip", "spices-id": 38, "author_id": "0", "last_edited": 1514936703, "uuid": "workspace-scroller@ori"}, "slider@mohammad-sn": {"description": "Yet another nice transition effect for ws switching.", "icon": "/files/extensions/slider@mohammad-sn.png", "created": 1434114336, "screenshot": "/git/extensions/slider@mohammad-sn/screenshot.png", "name": "Slider", "score": 10, "author_user": "mohammad-sn", "file": "/files/extensions/slider@mohammad-sn.zip", "spices-id": 37, "author_id": "0", "last_edited": 1507500336, "uuid": "slider@mohammad-sn"}, "DesktopCube@yare": {"description": "Compiz Cube-like animation for workspace switching", "icon": "/files/extensions/DesktopCube@yare.png", "created": 1395702436, "screenshot": "/git/extensions/DesktopCube@yare/screenshot.png", "name": "Desktop Cube", "score": 9, "author_user": "none", "file": "/files/extensions/DesktopCube@yare.zip", "spices-id": 27, "author_id": "0", "last_edited": 1505211602, "uuid": "DesktopCube@yare"}, "watermark@germanfr": {"description": "Place a watermark on the desktop.", "icon": "/files/extensions/watermark@germanfr.png", "created": 1522689903, "screenshot": "/git/extensions/watermark@germanfr/screenshot.png", "name": "Watermark", "score": 7, "author_user": "germanfr", "file": "/files/extensions/watermark@germanfr.zip", "spices-id": 46, "author_id": "0", "last_edited": 1525084036, "uuid": "watermark@germanfr"}, "cinnamon-maximus@fmete": {"description": "Undecorate windows its maximised.", "icon": "/files/extensions/cinnamon-maximus@fmete.png", "created": 1396653477, "screenshot": "/git/extensions/cinnamon-maximus@fmete/screenshot.png", "name": "Cinnamon Maximus", "score": 10, "author_user": "none", "file": "/files/extensions/cinnamon-maximus@fmete.zip", "spices-id": 29, "author_id": "0", "last_edited": 1505211602, "uuid": "cinnamon-maximus@fmete"}}
\ No newline at end of file
---
> {"gnome2alttab@savagetiger.org": {"description": "\\\"Replaces the standard alt-tab window with a Gnome2 look and feel version\\\"", "icon": "/files/extensions/gnome2alttab@savagetiger.org.png", "created": 1328097600, "screenshot": "/git/extensions/gnome2alttab@savagetiger.org/screenshot.png", "name": "\\\"Gnome2 AltTab LookALike\\\"", "score": 0, "author_user": "SavageTiger", "file": "/files/extensions/gnome2alttab@savagetiger.org.zip", "spices-id": 7, "author_id": "0", "last_edited": 1496749802, "uuid": "gnome2alttab@savagetiger.org"}, "ShadowParameters@mikhail-ekzi": {"description": "Customizable shadow parameters", "icon": "/files/extensions/ShadowParameters@mikhail-ekzi.png", "created": 1488630302, "screenshot": "/git/extensions/ShadowParameters@mikhail-ekzi/screenshot.png", "name": "Custom Shadows", "score": 1, "author_user": "mikhail-ekzi", "file": "/files/extensions/ShadowParameters@mikhail-ekzi.zip", "spices-id": 43, "author_id": "0", "last_edited": 1523246590, "uuid": "ShadowParameters@mikhail-ekzi"}, "Flipper@connerdev": {"description": "Fancy workspace switching extension", "icon": "/files/extensions/Flipper@connerdev.png", "created": 1432537452, "screenshot": "/git/extensions/Flipper@connerdev/screenshot.png", "name": "Flipper", "score": 5, "author_user": "none", "file": "/files/extensions/Flipper@connerdev.zip", "spices-id": 36, "author_id": "0", "last_edited": 1510827553, "uuid": "Flipper@connerdev"}, "workspace-scroller@ori": {"description": "Switch workspaces using mouse scroll at screen edges.", "icon": "/files/extensions/workspace-scroller@ori.png", "created": 1444857079, "screenshot": "/git/extensions/workspace-scroller@ori/screenshot.png", "name": "Workspace Scroller", "score": 2, "author_user": "none", "file": "/files/extensions/workspace-scroller@ori.zip", "spices-id": 38, "author_id": "0", "last_edited": 1514936703, "uuid": "workspace-scroller@ori"}, "blur-overview@nailfarmer.nailfarmer.com": {"description": "Blur background in overview", "icon": "/files/extensions/blur-overview@nailfarmer.nailfarmer.com.png", "created": 1338935567, "screenshot": "/git/extensions/blur-overview@nailfarmer.nailfarmer.com/screenshot.png", "name": "Blur Overview", "score": 1, "author_user": "none", "file": "/files/extensions/blur-overview@nailfarmer.nailfarmer.com.zip", "spices-id": 14, "author_id": "0", "last_edited": 1505211602, "uuid": "blur-overview@nailfarmer.nailfarmer.com"}, "rnbdsh@negateWindow": {"description": "A Cinnamon extension that allows to negate the window-color when you press super+i.", "icon": "/files/extensions/rnbdsh@negateWindow.png", "created": 1498720502, "screenshot": "/git/extensions/rnbdsh@negateWindow/screenshot.png", "name": "Negate Window on Super+I", "score": 3, "author_user": "rnbdsh", "file": "/files/extensions/rnbdsh@negateWindow.zip", "spices-id": 45, "author_id": "0", "last_edited": 1513361141, "uuid": "rnbdsh@negateWindow"}, "CinnaDockPlus@entelechy": {"description": "Revamped CinnaDock with previews and native configuration and theming, for Cinnamon 1.8+", "icon": "/files/extensions/CinnaDockPlus@entelechy.png", "created": 1374028558, "screenshot": "/git/extensions/CinnaDockPlus@entelechy/screenshot.png", "name": "CinnaDock Plus", "score": 0, "author_user": "none", "file": "/files/extensions/CinnaDockPlus@entelechy.zip", "spices-id": 23, "author_id": "0", "last_edited": 1505211602, "uuid": "CinnaDockPlus@entelechy"}, "CinnaDockP2@norbusan": {"description": "Revamped^2 CinnaDock with previews and native configuration and theming, for Cinnamon 1.8+", "icon": "/files/extensions/CinnaDockP2@norbusan.png", "created": 1432263902, "screenshot": "/git/extensions/CinnaDockP2@norbusan/screenshot.png", "name": "CinnaDock++", "score": 4, "author_user": "norbusan", "file": "/files/extensions/CinnaDockP2@norbusan.zip", "spices-id": 35, "author_id": "0", "last_edited": 1485102302, "uuid": "CinnaDockP2@norbusan"}, "DesktopCube@yare": {"description": "Compiz Cube-like animation for workspace switching", "icon": "/files/extensions/DesktopCube@yare.png", "created": 1395702436, "screenshot": "/git/extensions/DesktopCube@yare/screenshot.png", "name": "Desktop Cube", "score": 9, "author_user": "none", "file": "/files/extensions/DesktopCube@yare.zip", "spices-id": 27, "author_id": "0", "last_edited": 1505211602, "uuid": "DesktopCube@yare"}, "center-center-panel@mohammad-sn": {"description": "center it", "icon": "/files/extensions/center-center-panel@mohammad-sn.png", "created": 1428858817, "screenshot": "/git/extensions/center-center-panel@mohammad-sn/screenshot.png", "name": "Center Center Panel", "score": 0, "author_user": "mohammad-sn", "file": "/files/extensions/center-center-panel@mohammad-sn.zip", "spices-id": 33, "author_id": "0", "last_edited": 1485102302, "uuid": "center-center-panel@mohammad-sn"}, "gTile@shuairan": {"description": "Tile your windows as you like. It even supports multiscreen ! -EDIT: - See README.md file for configuration -", "icon": "/files/extensions/gTile@shuairan.png", "created": 1350161219, "screenshot": "/git/extensions/gTile@shuairan/screenshot.png", "name": "gTile", "score": 7, "author_user": "none", "file": "/files/extensions/gTile@shuairan.zip", "spices-id": 21, "author_id": "0", "last_edited": 1513361163, "uuid": "gTile@shuairan"}, "smart-panel@mohammad-sn": {"description": "Switch between workspaces, show desktop, activate overview or expo, ... by scrolling, double click, mouse gestures etc on free space of the panel.", "icon": "/files/extensions/smart-panel@mohammad-sn.png", "created": 1428718638, "screenshot": "/git/extensions/smart-panel@mohammad-sn/screenshot.png", "name": "Smart Panel", "score": 4, "author_user": "mohammad-sn", "file": "/files/extensions/smart-panel@mohammad-sn.zip", "spices-id": 32, "author_id": "0", "last_edited": 1497295502, "uuid": "smart-panel@mohammad-sn"}, "Win7AltTab@entelechy": {"description": "Replaces icons with thumbnails in the Alt-Tab and shows window previews, a la Win7", "icon": "/files/extensions/Win7AltTab@entelechy.png", "created": 1354400165, "screenshot": "/git/extensions/Win7AltTab@entelechy/screenshot.png", "name": "Win7 Alt-Tab", "score": 6, "author_user": "none", "file": "/files/extensions/Win7AltTab@entelechy.zip", "spices-id": 22, "author_id": "0", "last_edited": 1505211602, "uuid": "Win7AltTab@entelechy"}, "wobbly-windows@mecheye.net": {"description": "Compiz shall live again!", "icon": "/files/extensions/wobbly-windows@mecheye.net.png", "created": 1378865338, "screenshot": "/git/extensions/wobbly-windows@mecheye.net/screenshot.png", "name": "Wobbly Windows", "score": 3, "author_user": "none", "file": "/files/extensions/wobbly-windows@mecheye.net.zip", "spices-id": 24, "author_id": "0", "last_edited": 1505211603, "uuid": "wobbly-windows@mecheye.net"}, "cinnamon-maximus@fmete": {"description": "Undecorate windows its maximised.", "icon": "/files/extensions/cinnamon-maximus@fmete.png", "created": 1396653477, "screenshot": "/git/extensions/cinnamon-maximus@fmete/screenshot.png", "name": "Cinnamon Maximus", "score": 9, "author_user": "none", "file": "/files/extensions/cinnamon-maximus@fmete.zip", "spices-id": 29, "author_id": "0", "last_edited": 1505211602, "uuid": "cinnamon-maximus@fmete"}, "opacify@anish.org": {"description": "Fade out the current window that the user is resizing or dragging.", "icon": "/files/extensions/opacify@anish.org.png", "created": 1386051897, "screenshot": "/git/extensions/opacify@anish.org/screenshot.png", "name": "Opacify Windows", "score": 3, "author_user": "none", "file": "/files/extensions/opacify@anish.org.zip", "spices-id": 25, "author_id": "0", "last_edited": 1505211602, "uuid": "opacify@anish.org"}, "workspace-grid@daemonl": {"description": "Workspace grid, based on hernejj\\'s one", "icon": "/files/extensions/workspace-grid@daemonl.png", "created": 1418454795, "screenshot": "/git/extensions/workspace-grid@daemonl/screenshot.png", "name": "Workspace grid", "score": 1, "author_user": "none", "file": "/files/extensions/workspace-grid@daemonl.zip", "spices-id": 31, "author_id": "0", "last_edited": 1505211603, "uuid": "workspace-grid@daemonl"}, "transparent-panels@germanfr": {"description": "Transparentize your panels when there are no any maximized windows", "icon": "/files/extensions/transparent-panels@germanfr.png", "created": 1480854693, "screenshot": "/git/extensions/transparent-panels@germanfr/screenshot.png", "name": "Transparent panels", "score": 32, "author_user": "germanfr", "file": "/files/extensions/transparent-panels@germanfr.zip", "spices-id": 42, "author_id": "0", "last_edited": 1523556106, "uuid": "transparent-panels@germanfr"}, "slider@mohammad-sn": {"description": "Yet another nice transition effect for ws switching.", "icon": "/files/extensions/slider@mohammad-sn.png", "created": 1434114336, "screenshot": "/git/extensions/slider@mohammad-sn/screenshot.png", "name": "Slider", "score": 8, "author_user": "mohammad-sn", "file": "/files/extensions/slider@mohammad-sn.zip", "spices-id": 37, "author_id": "0", "last_edited": 1507500336, "uuid": "slider@mohammad-sn"}, "opacity-fix@mohammad-sn": {"description": "No more ugly shadows when you adjust opacity of windows.", "icon": "/files/extensions/opacity-fix@mohammad-sn.png", "created": 1429024954, "screenshot": "/git/extensions/opacity-fix@mohammad-sn/screenshot.png", "name": "Better Transparency for Windows", "score": 1, "author_user": "mohammad-sn", "file": "/files/extensions/opacity-fix@mohammad-sn.zip", "spices-id": 34, "author_id": "0", "last_edited": 1485102302, "uuid": "opacity-fix@mohammad-sn"}, "desktop-scroller@ccadeptic23": {"description": "Switch between desktops by scrolling at left and right edges of the screen.", "icon": "/files/extensions/desktop-scroller@ccadeptic23.png", "created": 1339384961, "screenshot": "/git/extensions/desktop-scroller@ccadeptic23/screenshot.png", "name": "Desktop Scroller", "score": 5, "author_user": "none", "file": "/files/extensions/desktop-scroller@ccadeptic23.zip", "spices-id": 17, "author_id": "0", "last_edited": 1505211602, "uuid": "desktop-scroller@ccadeptic23"}, "watermark@germanfr": {"description": "Place a watermark on the desktop.", "icon": "/files/extensions/watermark@germanfr.png", "created": 1522689903, "screenshot": "/git/extensions/watermark@germanfr/screenshot.png", "name": "Watermark", "score": 4, "author_user": "germanfr", "file": "/files/extensions/watermark@germanfr.zip", "spices-id": 46, "author_id": "0", "last_edited": 1523556066, "uuid": "watermark@germanfr"}}
\ No newline at end of file
[robert@Titan robert] (1) $ 

Edit: Pasting the urls to a browser gives me the identical files too ... but not using curl or python.

Last edited by hifigraz (2018-05-03 20:24:59)

Offline

#12 2018-05-03 20:49:52

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Can someone reproduce? Here the same issues are monitored on two machines ...

Offline

#13 2018-05-03 21:13:14

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Yes and the singleslash version has the opacity-fix extension.

The single-slash version is

< last-modified: Fri, 13 Apr 2018 11:15:02 GMT

while the double-slash version is newer

< last-modified: Thu, 03 May 2018 21:15:02 GMT

Offline

#14 2018-05-03 21:21:23

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

phhhuuu .... I'm glad I'm not alone smile

Offline

#15 2018-05-04 06:44:06

hifigraz
Member
Registered: 2017-05-01
Posts: 33

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

ok another info

adding the slash is sufficient you don't have to change to https, the redirect works. ...

Offline

#16 2018-05-04 07:04:49

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

You should probably file a bug at cinnamon resp. cinnamon-spices.linuxmint.com (ie. linuxmint) because their server setup is clearly broken and this *might* imply more severe issues.

According to linuxmint.com, "root ät linuxmint døt com"

Offline

#17 2018-05-04 11:58:27

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

Via private discussion:

clem wrote:

it looks like a sucuri cache
server-side blah/blah and blah//blah is exactly the same
apache will serve the same content
but for the global firewall in sucuri, these are two different URLs
so they could correspond to two different caches (edited)
that could explain the difference in content and date
other than this diff, can you summarize the issue for me?
i.e. what does not work?
we're set up to use no cache, but to use compression so maybe...
anyhow I forced a cache clear() in case it helps

Does this work now? I'm not sure what else to suggest...

Aside: the fault tolerance inside the spices code is obviously not very good, and they're working on improving it... feel free to create a cinnamon bugreport to keep track of this.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#18 2018-05-04 13:03:31

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Cinnamon Extensions HTTP Error 400 (reproduceable) [DIRTY FIXED]

At least the same file (w/o "opacity-fix" grep) is now delivered for both paths.

Offline

Board footer

Powered by FluxBB