Cannot enter info panel on manually categorized movies

Bug #389050 reported by Ugo Riboni
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Moovida
Invalid
High
Olivier Tilloy

Bug Description

After manually categorizing a movie it is not possible to access the information panel for it. The movie also doesn't show its runtime in the list.

To reproduce:
1) drop a new movie inside a folder that seen by moovida (i used a 720p trailer from apple trailers)
2) go to the movies -> unclassified videos menu
3) choose the recategorize context action on the movie you just added
4) choose "movie" on the right hand menu
5) don't choose any movie title from the list but pick "refine search"
6) insert any title and select enter
7) don't choose any movie title from the list but pick "manual entry"
8) insert any title and select enter
9) go back to the main menu and enter the movie -> library
10) select your movie and then activate the "info" context menu

What should happen: the information context menu should pop up
What happens: nothing, and on console we get the message below

WARN MainThread default Jun 18 17:30:54 Entering controller with path /poblesec/database/movie/synopsis failed. Full failure log at /tmp/elisa_vUomn0.txt (elisa/plugins/poblesec/history.py:75)
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/home/uriboni/Projects/elisa-branches/main/elisa-plugins/elisa/plugins/poblesec/history.py", line 80, in append_controller
    dfr = self.frontend.create_controller(path, **kwargs)
  File "/home/uriboni/Projects/elisa-branches/main/elisa-plugins/elisa/plugins/pigment/pigment_frontend.py", line 168, in create_controller
    dfr.addCallback(self._set_frontend)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 195, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 186, in addCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/uriboni/Projects/elisa-branches/main/elisa-plugins/elisa/plugins/pigment/pigment_frontend.py", line 225, in _set_frontend
    controller.set_frontend(self)
  File "/home/uriboni/Projects/elisa-branches/main/elisa-plugins/elisa/plugins/database/video_controller.py", line 403, in set_frontend
    self._populate()
  File "/home/uriboni/Projects/elisa-branches/main/elisa-plugins/elisa/plugins/database/video_controller.py", line 409, in _populate
    caption.runtime.label = _('%(runtime)d min') % {'runtime': self.movie.runtime}
exceptions.TypeError: %d format: a number is required, not NoneType

What is probably happening: the runtime information is missing but the info panel controller is assuming it will be present.

Revision history for this message
Ugo Riboni (uriboni) wrote :
Olivier Tilloy (osomon)
Changed in elisa:
importance: Undecided → Medium
status: New → Confirmed
Changed in elisa:
importance: Medium → High
Olivier Tilloy (osomon)
summary: - Can not access info panel on manually categorized movies
+ Cannot enter info panel on manually categorized movies
tags: added: ui
Olivier Tilloy (osomon)
tags: added: impairs-ux
removed: ui
tags: added: user-experience
removed: impairs-ux
Olivier Tilloy (osomon)
Changed in moovida:
milestone: none → bug-fixing-day
Revision history for this message
Olivier Tilloy (osomon) wrote :

A fix is pending a review at https://www.moovida.com/quality/review/request/%<email address hidden>%3E.

Changed in moovida:
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Revision history for this message
dino99 (9d9) wrote :

The latest free moovida 1.09 does not get any maintenance since a while. Now moovidadb.com is supporting Linux and support can be found at : http://www.fluendo.com/faq/

Changed in moovida:
status: In Progress → 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.