Skip to content
This repository

Server Error: Could not retrieve file. Check the asset URL. #97

Closed
metska opened this Issue · 3 comments

3 participants

Kai M Viktor Petersson Marton Somogyi
Kai M

Hello,

what I have do wrong with Raspberry and Screely?

First try:

I installed & updated Raspbian Wheezy. Played little with it, then installed Screenly Ose with Option 2: Install Screenly OSE yourself. Updated it.

Website asset working fine, but with photos I get error message: Server Error: Could not retrieve file. Check the asset URL.

Second try:

I make image to sdcard with: Option 1: Download the custom image. Everything is working fine.

Third try:

I installed & updated Raspbian Wheezy. Installed Screenly Ose with Option 2: Install Screenly OSE yourself. Updated it.

With upload and webpage assets I get error message: Server Error: Could not retrieve file. Check the asset URL.

Videos not tested.

Viktor Petersson
Owner

Dang. Thanks for reporting.

I was able to reproduce this myself. This bug must have sneaked in the last few commits.

We're on it.

Viktor Petersson
Owner

Here's the error from the backend:

Traceback (most recent call last):
  File "/home/pi/screenly-ose/server.py", line 203, in api_view
    return make_json_response(view(*args, **kwargs))
  File "/home/pi/screenly-ose/server.py", line 217, in add_asset
    raise Exception("Could not retrieve file. Check the asset URL.")
Exception: Could not retrieve file. Check the asset URL.
62.182.216.24 - - [12/Mar/2013 10:36:18] "POST /api/assets HTTP/1.1" 500 58
Viktor Petersson
Owner

@mcbuddha Can you please jump on this?

We also need a unit test to prevent this from happening in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.