[RELEASE] Calendar (Script) for XBMC
#61
XBMC crashes, or actually gets stuck in a font loop which makes me kill xbmc from console. Maybe all the changes to new fonts has caused this error. This plugin does not work in english.

Here is some info.

xbmc 10.1
Ubuntu Maverick 2.6.35-28-generic #49

Code:
219.10:44:00 T:2859953008 M:1920196608  NOTICE: -->Python Interpreter Initialized<--
220.10:44:02 T:2859953008 M:1918803968  NOTICE: Mode AddOn ON
221.10:44:02 T:2859953008 M:1918803968  NOTICE: true
222.10:44:03 T:2859953008 M:1918054400  NOTICE: /usr/share/xbmc/addons/skin.confluence/fonts/
223.10:44:03 T:2859953008 M:1918054400  NOTICE: /home/xbmc/.xbmc/addons/script.calendar/resources/fonts
224.10:44:03 T:2859953008 M:1918054400  NOTICE: analyse du fichier: /usr/share/xbmc/addons/skin.confluence/720p/Font.xml
225.10:44:03 T:2859953008 M:1918054400  NOTICE: font name not installed!
226.10:44:03 T:2859953008 M:1918054400  NOTICE: calendar45caps_title
227.10:44:03 T:2859953008 M:1918500864  NOTICE: modification du fichier: /usr/share/xbmc/addons/skin.confluence/720p/Font.xml
228.10:44:03 T:2859953008 M:1918500864  NOTICE: Traceback (most recent call last):
229.10:44:03 T:2859953008 M:1918500864  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/resources/libs/MyFont.py", line 93, in addFont
230.10:44:03 T:2859953008 M:1918500864  NOTICE:     tree.write(fontxml_path)
231.10:44:03 T:2859953008 M:1918500864  NOTICE:   File "/home/xbmc/.xbmc/addons/script.module.elementtree/lib/elementtree/ElementTree.py", line 694, in write
232.10:44:03 T:2859953008 M:1918754816  NOTICE:     file = open(file, "wb")
233.10:44:03 T:2859953008 M:1918754816  NOTICE: IOError: [Errno 13] Permission denied: '/usr/share/xbmc/addons/skin.confluence/720p/Font.xml'
234.10:44:04 T:2859953008 M:1918754816  NOTICE: Mode AddOn ON
235.10:44:04 T:3054987136 M:1918230528   ERROR: invalid rss url set referenced in skin
236.10:44:06 T:2859953008 M:1914736640   ERROR: Exception in python script's onAction
237.10:44:06 T:2859953008 M:1914736640  NOTICE: Traceback (most recent call last):
238.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 714, in onAction
239.10:44:06 T:2859953008 M:1914736640  NOTICE: if action == ACTION_PREVIOUS_MENU :
240.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 109, in onInit
241.10:44:06 T:2859953008 M:1914736640  NOTICE: self.pDialog.update(0)
242.10:44:06 T:2859953008 M:1914736640  NOTICE: SystemError
243.10:44:06 T:2859953008 M:1914736640  NOTICE: :
244.10:44:06 T:2859953008 M:1914736640  NOTICE: Error: Window is NULL, this is not possible :-)
245.10:44:06 T:2859953008 M:1914736640   ERROR: Exception in python script's onAction
246.10:44:06 T:2859953008 M:1914736640  NOTICE: Traceback (most recent call last):
247.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 733, in onAction
248.10:44:06 T:2859953008 M:1914736640  NOTICE: if (self.pDialog.iscanceled()):
249.10:44:06 T:2859953008 M:1914736640  NOTICE: SystemError
250.10:44:06 T:2859953008 M:1914736640  NOTICE: :
251.10:44:06 T:2859953008 M:1914736640  NOTICE: Error: Window is NULL, this is not possible :-)
252.10:44:06 T:2859953008 M:1914736640   ERROR: Exception in python script's onAction
253.10:44:06 T:2859953008 M:1914736640  NOTICE: Traceback (most recent call last):
254.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 733, in onAction
255.10:44:06 T:2859953008 M:1914736640  NOTICE: if (self.pDialog.iscanceled()):
256.10:44:06 T:2859953008 M:1914736640  NOTICE: SystemError
257.10:44:06 T:2859953008 M:1914736640  NOTICE: :
258.10:44:06 T:2859953008 M:1914736640  NOTICE: Error: Window is NULL, this is not possible :-)
259.10:44:06 T:2859953008 M:1914736640   ERROR: Exception in python script's onAction
260.10:44:06 T:2859953008 M:1914736640  NOTICE: Traceback (most recent call last):
261.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 733, in onAction
262.10:44:06 T:2859953008 M:1914736640  NOTICE: if (self.pDialog.iscanceled()):
263.10:44:06 T:2859953008 M:1914736640  NOTICE: SystemError
264.10:44:06 T:2859953008 M:1914736640  NOTICE: :
265.10:44:06 T:2859953008 M:1914736640  NOTICE: Error: Window is NULL, this is not possible :-)
266.10:44:06 T:2859953008 M:1914736640   ERROR: Exception in python script's onAction
267.10:44:06 T:2859953008 M:1914736640  NOTICE: Traceback (most recent call last):
268.10:44:06 T:2859953008 M:1914736640  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 733, in onAction
269.10:44:07 T:2859953008 M:1914748928  NOTICE: if (self.pDialog.iscanceled()):
270.10:44:07 T:2859953008 M:1914748928  NOTICE: SystemError
271.10:44:07 T:2859953008 M:1914748928  NOTICE: :
272.10:44:07 T:2859953008 M:1914748928  NOTICE: Error: Window is NULL, this is not possible :-)
273.10:44:07 T:2859953008 M:1914748928   ERROR: Exception in python script's onAction
274.10:44:07 T:2859953008 M:1914748928  NOTICE: Traceback (most recent call last):
275.10:44:07 T:2859953008 M:1914748928  NOTICE:   File "/home/xbmc/.xbmc/addons/script.calendar/default.py", line 733, in onAction

Pastebin:
http://pastebin.com/7LvgXXD8
Reply
#62
I can't find this plugin in the passion-xbmc repo. Has it been taken down and is there anywhere else that I can find it?
Reply
#63
Yo!

Well, i have to unsuscribe from this forum... it's not necessary to develop this subject.

http://www.fileserve.com/file/FBcgr4k

If someone from the team could explain me how to put my work in the official repository, i have a few good plugins/scripts to release.

Cheers
Reply
#64
cinpou Wrote:Yo!

Well, i have to unsuscribe from this forum... it's not necessary to develop this subject.

http://www.fileserve.com/file/FBcgr4k

If someone from the team could explain me how to put my work in the official repository, i have a few good plugins/scripts to release.

Cheers

Thanks! To get your script in the official repo you need to set up a git repository and then email them the info about it.

Here is the link on how to do it
Reply
#65
Yo!

A release for Eden is available in this repo :
https://github.com/CinPoU/XBMC-Calendar

I'm using this kind of tools (github) for the first time. Tell me if something is not correct.

Something is wrong with this release.
1 - The first time, already work fine.
2 - Exit the addon
3 - Lunch it again (a google calendar is configured) : xbmc freeze...

An Eden Bug?
Reply
#66
oups
Reply
#67
cinpou Wrote:Yo!

A release for Eden is available in this repo :
https://github.com/CinPoU/XBMC-Calendar

I'm using this kind of tools (github) for the first time. Tell me if something is not correct.

Something is wrong with this release.
1 - The first time, already work fine.
2 - Exit the addon
3 - Lunch it again (a google calendar is configured) : xbmc freeze...

An Eden Bug?

tested with beta2, same problem...

why this script works only the first time...
Huh
Reply
#68
Any chance of a new working version of this plugin? XBMC could really benefit from a shared family calendar right in the living room.

FFY
Reply
#69
Yo!

I've seen the track ticket was open, but no replies from the dev team...

Absolutely no way to solve it alone...
Reply
#70
Well - let's hope some of them sees this thread then. The addon seems to have come quite a long way already. I have some problems with getting it to read two of my .ics-files without hanging, and it would be great it it could store the calendars in a local database and refresh automatically in the background as a service. Oh - and then some widgets as well Smile

FFY
Reply
#71
Tongue 
I don't use ics file, and have no reply about it, so i had no idea about this proble. If you have a debug log, you can send it to me.
anyway, ics is an awful protocol, there's problem with recurrent events...

i will think about a local database. But i don't think it's good to use a local base, which can't be use by another standard application, or internet service... So, it's not my priority at all Tongue

I've already in my mind a service mode, and a way to integrate the script in a skin. I will develop my ideas deeper, then the scipt problem will be solved, because the service mode could not be used with the running bug!

cheers
Reply
#72
Hi Cinpou,

you can find a version working with google calendars on http://xycl-xbmc.googlecode.com/git/misc...ar-1.6.zip
See changelog.txt for details.

Xycl
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
#73
OMFG!

Thanks a lot, i will test it tomorow!

What's wrong with cElementTree ?! Can you explain me why it works only once? I must be too tired to understand that...

Mouarf, i've just have to come back on my different google addon.

CinPoU
Reply
#74
I don't know what's wrong with cElementTree. Perhaps a bug in XBMC's python?
I debugged the connection to google until atom.CreateClassFromXMLString() was called and then I saw that ElementTree wasn't working when script.calendar was started the second time.

It's a really cool add-on.
I hope that I can use it in the future to see my wife's appointments on my HTPC.
That would make my life easier Big Grin

Xycl
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
#75
I am truly sorry for appearing to be totally dense, I understand that the first field on the google calendar is account's name but for the life of me I can not work out what that is supposed to be, I have tried my prefix before @gmail.com, I have tried it with gmail.com I have also tried the name that is located at the top left hand corner of my google calendar next to my profile pic which is similar to John Smith and am totally failing to understand what the accounts name is. Please help me with this as i use both xbmc and google calendars a lot and really want to get the two set up.

Many thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Calendar (Script) for XBMC1