YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

AlloCine Plugin error (XML format is now unavailable) #2614

Closed Omertron closed 9 years ago

Omertron commented 9 years ago

Original issue 2615 created by Omertron on 2013-03-03T11:31:49.000Z:

Hello,

Allocine plugin isn't working sinc allocine have deactivate the XML result. All results are in JSON format :/

It's result a lot of errors in the yamj error log

A extract of my log : [quote] [12:27:57 - Thread-3] ERROR com.moviejukebox.plugin.AllocinePlugin - javax.xml.bind.UnmarshalException

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2013-03-03T12:10:17.000Z:

<empty>

Omertron commented 9 years ago

Comment #2 originally posted by Omertron on 2013-03-03T23:35:17.000Z:

I just started to implement the JSON part of the allocine api (until now just on the branch).

When successfully tested I will merge the changes into the trunk, so that the XML or JSON could be used. Perhaps XML will work again later, so no need to refactor it out.

Omertron commented 9 years ago

Comment #3 originally posted by Omertron on 2013-03-04T12:36:51.000Z:

Having the same problem and searching for a solution.

To : mod...@abwesend.de Could you tell me (be email?) how allocine-api project should be installed on eclipse IDE ? Import existing maven project doesn't work well : having a lot of java problems. No problem with the two others projects (yamj & yamj-distribution)

Omertron commented 9 years ago

Comment #4 originally posted by Omertron on 2013-03-05T16:13:06.000Z:

This issue was updated by revision r3617.

Merged allocine api with json into trunk

Omertron commented 9 years ago

Comment #5 originally posted by Omertron on 2013-03-05T17:45:47.000Z:

This issue was updated by revision r3619.

Enhanced proxy support for accessing allocine

Omertron commented 9 years ago

Comment #6 originally posted by Omertron on 2013-03-05T21:48:13.000Z:

Hi,

Allocine plugin isn't working yet :(

[21:33:19 - Thread-2] ERROR com.moviejukebox.plugin.AllocinePlugin - javax.xml.bind.UnmarshalException

Omertron commented 9 years ago

Comment #7 originally posted by Omertron on 2013-03-05T22:23:29.000Z:

No working, cause not fixed until now! Just merged the new allocine API into the trunk.

Omertron commented 9 years ago

Comment #8 originally posted by Omertron on 2013-03-05T22:38:18.000Z:

This issue was updated by revision r3622.

Added new property to wiki page

Omertron commented 9 years ago

Comment #9 originally posted by Omertron on 2013-03-05T22:40:30.000Z:

This issue was closed by revision r3623.

Omertron commented 9 years ago

Comment #10 originally posted by Omertron on 2013-03-06T14:23:05.000Z:

Still error message with the r3627 : [15:19:07 - Thread-3] ERROR com.moviejukebox.plugin.AllocinePlugin - AllocinePlugin: Failed retrieving allocine infos for movie : 46940 [15:19:07 - Thread-3] ERROR com.moviejukebox.plugin.AllocinePlugin - java.lang.NullPointerException at com.moviejukebox.allocine.JSONAllocineAPIHelper.parseListValues(JSONAllocineAPIHelper.java:349) at com.moviejukebox.allocine.JSONAllocineAPIHelper.getMovieInfos(JSONAllocineAPIHelper.java:202) at com.moviejukebox.plugin.AllocinePlugin.getMovieInfos(AllocinePlugin.java:251) at com.moviejukebox.plugin.AllocinePlugin.updateMovieInfo(AllocinePlugin.java:274) at com.moviejukebox.plugin.AllocinePlugin.scan(AllocinePlugin.java:413) at com.moviejukebox.plugin.DatabasePluginController.scan(DatabasePluginController.java:117) at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1946) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:937) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:918) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecutor.java:105)

Omertron commented 9 years ago

Comment #11 originally posted by Omertron on 2013-03-06T18:30:05.000Z:

This issue was updated by revision r3628.

Fixed possible null pointer exception

Omertron commented 9 years ago

Comment #12 originally posted by Omertron on 2013-03-06T18:42:32.000Z:

This issue was updated by revision r3629.

Fixed possible null pointer exceptions

Omertron commented 9 years ago

Comment #13 originally posted by Omertron on 2013-03-07T18:35:10.000Z:

Hello,

The Allocine Plugin does not work in YAMJ 3632 revision :

[19:31:08 - Thread-1] ERROR com.moviejukebox.plugin.AllocinePlugin - java.io.IOException: Server returned HTTP response code: 503 for URL: http://api.allocine.fr/rest/v3/movie?partner=[APIKEY]&profile=large&mediafmt=mp4-lc&format=json&filter=movie&striptags=synopsis,synopsisshort&code=33907 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.moviejukebox.allocine.JSONAllocineAPIHelper.getMovieInfos(JSONAllocineAPIHelper.java:168) at com.moviejukebox.plugin.AllocinePlugin.getMovieInfos(AllocinePlugin.java:251) at com.moviejukebox.plugin.AllocinePlugin.updateMovieInfo(AllocinePlugin.java:274) at com.moviejukebox.plugin.AllocinePlugin.scan(AllocinePlugin.java:413) at com.moviejukebox.plugin.DatabasePluginController.scan(DatabasePluginController.java:117) at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1946) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:937) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:918) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecutor.java:105)

Thx to fixe issue

Omertron commented 9 years ago

Comment #14 originally posted by Omertron on 2013-03-07T21:24:23.000Z:

This is not a YAMJ issue.

java.io.IOException: Server returned HTTP response code: 503

HTTP response code means, that the service is not available. Can be due server downtime or another server problem.

Just now it works; just try again ...

Omertron commented 9 years ago

Comment #15 originally posted by Omertron on 2013-03-08T00:09:16.000Z:

with this balise ? : [APIKEY] in url

Omertron commented 9 years ago

Comment #16 originally posted by Omertron on 2013-03-08T09:01:28.000Z:

That is just a place holder for the real API key. The API key should not be logged ...