Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2021 (closed)

Opened 9 years ago

Closed 9 years ago

BUG: SpinButton is not a function

Reported by: atarkowska Owned by: cneves
Priority: n.a. Milestone: OMERO-Beta4.2
Component: n.a. Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-03-19 (5)

Description (last modified by atarkowska)

$("INPUT.spin-button").SpinButton is not a function

because link /appmedia/webgateway/ does not exist.

Is there any problem for you if we keep link structure other way arround, like: /application_name/media_catalog/...?

Carlos:
So that clearly explains it. I was sure I had mentioned it, but it looks like I didn't... To allow serving media statically from nginx (or other web server) we need the media to be somewhere accessible, and in an effort to make life more manageable I've decided (long ago, for JCB) to put everything under a single directory. So there is an extra step after installation that you need to do in order to create that common directory with all media files linked (not copied).
I've added that function to the web plugin, so call bin/omero web syncmedia at least once, and then anytime you add an app. Changes should not need a rerun unless you add a new directory under some app media/.
Please revert the changed paths, call syncmedia and try again. In fact, there is a %url static % notation you can use so if we change our minds later we don't need to change lotsa stuff.

As for keeping the /app/media structure, we can if you have a strong reason for it, but it will kill us when developing other apps that don't live inside omeroweb/ because configuring the web server becomes a royal pain. Also, there are a few more hooks on web.py to help using nginx as the web server, and these depend on that syncmedia step currently. We need to talk about that soon.

Change History (2)

comment:1 Changed 9 years ago by atarkowska

  • Owner set to cneves-x

comment:2 Changed 9 years ago by atarkowska

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.80535 sec.)

We're Hiring!