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

Closed
metska opened this Issue Mar 12, 2013 · 3 comments

3 participants

@metska

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.

@vpetersson
WireLoad Inc. member

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.

@mcbuddha mcbuddha was assigned Mar 12, 2013
@vpetersson
WireLoad Inc. member

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
@vpetersson
WireLoad Inc. member

@mcbuddha Can you please jump on this?

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

@mcbuddha mcbuddha closed this in 8730486 Mar 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment