•   
  • 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 45
  •   
MovieLib - Your movie database on web
I found the error: bad authorization of access to the http group.
I was able to create the cache for a film by movielib. By cons I found a new error:
When I was in "banner", there was a first error that I have not copied. I thought a reset might put things in order and now I have it that appears every time.

Code:
Warning: imagecreatetruecolor(): Invalid image dimensions in /volume2/web/movielib-master/function.php on line 498 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 499 Warning: imagefill() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 500 Warning: Division by zero in /volume2/web/movielib-master/function.php on line 513 Warning: Division by zero in /volume2/web/movielib-master/function.php on line 513 Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 514 Warning: imagecreatetruecolor(): Invalid image dimensions in /volume2/web/movielib-master/function.php on line 518 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 519 Warning: imagefill() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 520 Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 526 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 529 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 530 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 531 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 532 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 533 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 602 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 602 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 602 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 601 Warning: imagettftext() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 602 Warning: imagecopy() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 552 Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 555 Warning: imageline() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 556 Warning: imageline() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 557 Warning: imageline() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 558 Warning: imageline() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 559 Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /volume2/web/movielib-master/function.php on line 562 Warning: Illegal string offset 'w' in /volume2/web/movielib-master/admin.php on line 638 Warning: Illegal string offset 'h' in /volume2/web/movielib-master/admin.php on line 638 Warning: Illegal string offset 'bg_c' in /volume2/web/movielib-master/admin.php on line 639 Warning: Illegal string offset 'lw_c' in /volume2/web/movielib-master/admin.php on line 640 Warning: Illegal string offset 'lw_s' in /volume2/web/movielib-master/admin.php on line 640 Warning: Illegal string offset 'lw_x' in /volume2/web/movielib-master/admin.php on line 640 Warning: Illegal string offset 'lw_y' in /volume2/web/movielib-master/admin.php on line 640 Warning: Illegal string offset 't_c' in /volume2/web/movielib-master/admin.php on line 641 Warning: Illegal string offset 't_s' in /volume2/web/movielib-master/admin.php on line 641 Warning: Illegal string offset 't_x' in /volume2/web/movielib-master/admin.php on line 641 Warning: Illegal string offset 't_y' in /volume2/web/movielib-master/admin.php on line 641 Warning: Illegal string offset 'o_c' in /volume2/web/movielib-master/admin.php on line 642 Warning: Illegal string offset 'o_s' in /volume2/web/movielib-master/admin.php on line 642 Warning: Illegal string offset 'o_x' in /volume2/web/movielib-master/admin.php on line 642 Warning: Illegal string offset 'o_y' in /volume2/web/movielib-master/admin.php on line 642 Warning: Illegal string offset 'i_c' in /volume2/web/movielib-master/admin.php on line 643 Warning: Illegal string offset 'i_s' in /volume2/web/movielib-master/admin.php on line 643 Warning: Illegal string offset 'i_x' in /volume2/web/movielib-master/admin.php on line 643 Warning: Illegal string offset 'i_y' in /volume2/web/movielib-master/admin.php on line 643 Warning: Illegal string offset 'st_c' in /volume2/web/movielib-master/admin.php on line 644 Warning: Illegal string offset 'b_c' in /volume2/web/movielib-master/admin.php on line 645
Reply
Banner is creating by movielib if script don't have permission to write file the banner not created and function return errors.
You must set CHMOD 777 for dirs: cache/ and cache/actors/ to set permission to write otherwise the script will not work correctly.
Reply
As i said, i can now create cache files. When i refresh movie or tv show, a thumbs appear in cache folder and a banner.jpg is created after i watched a tv show.

The error is still there:
Image
Reply
I found mistake in code, try replace this function.php file on server and in banner section click on reset.
function.php
Reply
perfect ^^

I continue to explore the different facets of the script.

Note that I just saw something strange. All genres are gone on the "index.php" from the addition of a last video at the base. I do not have a log for now but I will recharge my base and monitoring of eventual new errors.
Reply
i get an error after reboot : "script error : movielib" :

This is the log :
Code:
07:48:25 T:140180616832768   DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: /home/xbmcbuntu/.xbmc/addons/script.movielib/resources/language/French/strings.po
07:48:25 T:140180616832768   DEBUG: POParser: loaded 11 strings from file /home/xbmcbuntu/.xbmc/addons/script.movielib/resources/language/French/strings.po
07:48:25 T:140180616832768   DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: /home/xbmcbuntu/.xbmc/addons/script.movielib/resources/language/English/strings.po
07:48:25 T:140180616832768   DEBUG: POParser: loaded 21 strings from file /home/xbmcbuntu/.xbmc/addons/script.movielib/resources/language/English/strings.po
07:48:25 T:140182903355328   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
07:48:25 T:140180616832768   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: (u'Etats-Unis',)
                                            Traceback (most recent call last):
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/default.py", line 29, in <module>
                                                Movielib()
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/default.py", line 21, in __init__
                                                sync.start(self)
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/lib/sync.py", line 51, in start
                                                check(self)
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/lib/sync.py", line 132, in check
                                                if syncVideo.sync(self, v) is False:
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/lib/syncVideo.py", line 73, in sync
                                                if add(self, videoToAdd, v, 'add') is False:
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/lib/syncVideo.py", line 119, in add
                                                values = prepareValues.prep(self, self.videosXBMC[video], v)
                                              File "/home/xbmcbuntu/.xbmc/addons/script.movielib/lib/prepareValues.py", line 28, in prep
                                                val.append(self.panelsSITE[panel][l.strip()])
                                            KeyError: (u'Etats-Unis',)
                                            -->End of Python script error report<--
07:48:25 T:140182903355328   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
07:48:25 T:140180616832768    INFO: Python script stopped
07:48:25 T:140180616832768   DEBUG: Thread LanguageInvoker 140180616832768 terminating
07:48:25 T:140182903355328   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
07:48:30 T:140181531236096   DEBUG: Thread JobWorker 140181531236096 terminating (autodelete)
07:48:30 T:140181397018368   DEBUG: Thread JobWorker 140181397018368 terminating (autodelete)
07:48:30 T:140181506057984   DEBUG: Thread JobWorker 140181506057984 terminating (autodelete)
07:48:31 T:140182903355328   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
07:48:38 T:140182128932608   DEBUG: CecLogMessage - >> 04:44:0d
07:48:38 T:140182128932608   DEBUG: CecLogMessage - >> TV (0) -> Playback 1 (4): user control pressed (44)
07:48:38 T:140182128932608   DEBUG: CecLogMessage - key pressed: exit (d)
07:48:38 T:140182128932608   DEBUG: PushCecKeypress - received key d8 duration 0
07:48:38 T:140182903355328   DEBUG: OnKey: menu (0xd8) pressed, action is PreviousMenu
07:48:38 T:140182903355328   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
07:48:38 T:140182903355328   DEBUG: Activating window ID: 10000
07:48:38 T:140182903355328   DEBUG: ------ Window Init (Home.xml) ------
07:48:38 T:140182903355328    INFO: Loading skin file: Home.xml, load type: KEEP_IN_MEMORY
07:48:39 T:140182128932608   DEBUG: CecLogMessage - >> 04:45
07:48:39 T:140182128932608   DEBUG: CecLogMessage - >> TV (0) -> Playback 1 (4): user control release (45)
07:48:39 T:140182128932608   DEBUG: CecLogMessage - key released: exit (d)
07:48:39 T:140182128932608   DEBUG: PushCecKeypress - received key d8 duration 204
07:48:41 T:140181506057984  NOTICE: Thread JobWorker start, auto delete: true
07:48:41 T:140181506057984   ERROR: GetDirectory - Error getting include
07:48:41 T:140181397018368   ERROR: Previous line repeats 4 times.
07:48:41 T:140181397018368  NOTICE: Thread JobWorker start, auto delete: true
07:48:41 T:140181506057984   ERROR: GetDirectory - Error getting include
07:48:41 T:140181397018368   ERROR: Previous line repeats 4 times.
07:48:41 T:140181397018368   DEBUG: CRecentlyAddedJob::UpdateMusic() - Running RecentlyAdded home screen update
07:48:41 T:140181397018368   DEBUG: GetRecentlyAddedAlbumSongs() query: SELECT songview.* FROM (SELECT idAlbum FROM albumview ORDER BY idAlbum DESC LIMIT 10) AS recentalbums JOIN songview ON songview.idAlbum=recentalbums.idAlbum
07:48:41 T:140181397018368   DEBUG: GetRecentlyAddedAlbums query: select * from albumview where strAlbum != '' order by idAlbum desc limit 10
07:48:41 T:140181397018368   DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update
07:48:41 T:140182903355328   DEBUG: started alarm with name: widgetmove
07:48:41 T:140181531236096  NOTICE: Thread AlarmClock start, auto delete: false
07:48:41 T:140182903355328   DEBUG: started alarm with name: widget2move
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometileleft
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometileright
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometilemid
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometile2left
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometile2right
07:48:41 T:140182903355328   DEBUG: started alarm with name: hometile2mid
07:48:41 T:140181397018368   DEBUG: RunQuery took 149 ms for 10 items query: select * from movieview  ORDER BY dateAdded desc, idMovie desc LIMIT 10
07:48:42 T:140181397018368   DEBUG: RunQuery took 220 ms for 10 items query: select * from episodeview  ORDER BY dateAdded desc, idEpisode desc LIMIT 10
07:48:42 T:140181506057984   DEBUG: DoWork - took 149 ms to load special://skin/backgrounds/tvshows/makingof4.jpg
07:48:42 T:140181422196480   DEBUG: RunQuery took 277 ms for 986 items query: select * from movieview
07:48:42 T:140182902531840  NOTICE: Thread RSSReader start, auto delete: false
07:48:42 T:140182902531840   DEBUG: CurlFile::Open(0x7f7ee01bdc60) http://www.franceinfo.fr/rss.xml
07:48:42 T:140182902531840    INFO: easy_aquire - Created session to http://www.franceinfo.fr
07:48:42 T:140181397018368   DEBUG: RunQuery took 4 ms for 0 items query: select * from musicvideoview  ORDER BY dateAdded desc, idMVideo desc LIMIT 10
07:48:42 T:140181397018368   DEBUG: CRecentlyAddedJob::UpdateTotal() - Running RecentlyAdded home screen update
07:48:42 T:140182902531840   DEBUG: Got rss feed: http://www.franceinfo.fr/rss.xml
07:48:42 T:140182902531840   DEBUG: RSS feed encoding: UTF-8
07:48:42 T:140182902531840   DEBUG: Parsed rss feed: http://www.franceinfo.fr/rss.xml
07:48:42 T:140182902531840   DEBUG: Thread RSSReader 140182902531840 terminating
07:48:42 T:140180616832768  NOTICE: Thread JobWorker start, auto delete: true
07:48:43 T:140181422196480  NOTICE: Previous line repeats 1 times.
07:48:43 T:140181422196480   DEBUG: RunQuery took 235 ms for 1514 items query: select * from episodeview
07:48:43 T:140181422196480   DEBUG: RunQuery took 3 ms for 0 items query: select * from musicvideoview
07:48:43 T:140181422196480   DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview  WHERE albumview.strAlbum <> ''
07:48:43 T:140181422196480   DEBUG: GetAlbumsByWhere - query took 4 ms
07:48:43 T:140181422196480   DEBUG: GetArtistsByWhere query: SELECT artistview.* FROM artistview  WHERE (artistview.idArtist IN (SELECT song_artist.idArtist FROM song_artist) OR artistview.idArtist IN (SELECT album_artist.idArtist FROM album_artist)) and artistview.strArtist != '' and artistview.strArtist <> 'Artistes divers'
07:48:43 T:140181422196480   DEBUG: Time to retrieve artists from dataset = 3
07:48:43 T:140181422196480   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1))
07:48:43 T:140181422196480   DEBUG: Skin Widgets: Total time needed to request random queries: 0:00:01.652312
07:48:43 T:140181422196480   DEBUG: RunQuery took 81 ms for 147 items query: select * from movieview  WHERE ((movieview.playCount IS NULL OR movieview.playCount = 0))
07:48:44 T:140181422196480   DEBUG: RunQuery took 152 ms for 472 items query: select * from episodeview  WHERE ((episodeview.playCount IS NULL OR episodeview.playCount < 1))
07:48:44 T:140181422196480   DEBUG: RunQuery took 3 ms for 0 items query: select * from musicvideoview
07:48:44 T:140181422196480   DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview  WHERE albumview.strAlbum <> ''
07:48:44 T:140181422196480   DEBUG: GetAlbumsByWhere - query took 4 ms
07:48:44 T:140181422196480   DEBUG: Skin Widgets: Total time needed to request recent items queries: 0:00:01.172292
07:48:49 T:140181506057984   DEBUG: DoWork - took 130 ms to load special://skin/backgrounds/tvshows/tv_shows8.jpg
07:48:57 T:140180616832768   DEBUG: DoWork - took 126 ms to load special://skin/backgrounds/tvshows/tv_shows5.jpg
07:48:59 T:140182903355328    INFO: LIRC Initialize: using: /dev/lircd
07:48:59 T:140182903355328   DEBUG: Failed to connect to LIRC. Giving up.
Reply
I need full debug log.
In addon settings enable debugging and paste full xbmc.log on pastebin.com after error occurs.

Best if you enable the private messages on forum.
Reply
i can't send a full log... i don't have a pro account on pastebin.

I don't sur if it was on web but : Levi59...bmc.log
Reply
You must enable debbuging in Movielib addon settings not in XBMC settings.
Reply
Wonderful tool !!

I am getting errors though, maybe due to time out? I don't know...
The log is too big for pastebin, so I added the beginning and the end of the log.
It should have all the details you need.

http://pastebin.com/x4PJeM5K

Thank you for looking into this.
Reply
Found the issue. It was a corrupt database.
Thank you for this awesome addon!!
Reply
Thank you for this wonderful tool.


I ve added some feature for my use:
  - A new image for last add, it will disappear after a few days
  - The star image for rating

Image


Addon:
In the file sync.py missing "file" in ligne 122 to sync episodes file in the database.



sorry for my english.
Reply
(2014-12-02, 21:52)Chpoubs Wrote: Thank you for this wonderful tool.


I ve added some feature for my use:
  - A new image for last add, it will disappear after a few days
  - The star image for rating

Image


Addon:
In the file sync.py missing "file" in ligne 122 to sync episodes file in the database.



sorry for my english.

Can you share a code for these features? And images also? Smile
Reply
I implement star rating but "new movie" flag could be a icon not a string. To maintain multiple languages.
Reply
Maybe it would be better if there are 10 stars for rating score, becouse for rating from 8.5 to 9.4 there are 9 and a half stars...
I think smaller stars and 10 of them would look better...
Put stars in Rating row.. so it would be something like Rating: * * * * * * * * * * (8.5)
Just my opinion. Smile
Reply
  •   
  • 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 45
  •   
 
Thread Rating:
  • 8 Vote(s) - 4.63 Average



Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web4.638
This forum uses Lukasz Tkacz MyBB addons.