New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script failed #1
Comments
Without a debug log (~/.xbmc/temp/xbmc.log) there's nothing I can do for you. No others users have reported this issue and without any information I can't help you. |
I'll get you that when i get home. :) |
By any chance are you using anything other than dharma and using the inbuilt library system? (i.e, not using a mysql backend) Also what are you running the script on, windows, mac, linux, xbox? |
I accidentally closed this issue can i reopen it or do i have to open an other? |
I've just opened it for you :) |
I am using Dharma live on an ion330 ( based on ubuntu) |
Also does this script delete files from samba shares? all my media is there nothing local to the htpc. |
crap i closed it again sorry :D |
Yup, same as my test environment. They'll likely be an error in the debug log of some kind, grab me that and I'll see what I can do :) The comment and close button is a little too easy to click! Yes it should be able to delete the files no problem. |
Nice , that's the only way i could use your script. |
me->drewzh.com |
You want me to hack your website and post the log as your home page ? :D |
If you can go for it, as long you don't cause harm and tell me how you did it, it's all good :P |
http://paste.ubuntu.com/569508/ |
Seems somebody else has the same problem with deleting over SMB... http://forum.xbmc.org/showthread.php?t=8588 I tested by actually mounting an smb share to /mnt/smb then adding the mount point into xbmc. I presume you're using the xbmc inbuilt smb adaptor? I didn't spend too long testing the smb compatibility but I'm sure it worked fine. The script definitely checked that's the file exists before it tries to delete it, but for some reason the remove() os call doesn't want to remove it and throws an exception :/ |
Oh and I didn't know about ubuntu paste, I shall be using that in future cheers! :) |
"xbmc inbuilt smb adaptor? " ??? |
That's what I meant yes. To fix the problem, create a static mount point in /etc/fstab. |
sorry for being a total noob but what command do i use for that? and will i have to change my sources to that? |
This should help http://www.cyberciti.biz/faq/configure-a-system-to-automount-a-samba-share-with-etcfstab/ Remember to mount the mountpoint after you've created the fstab entry :P Once you've done that and you've tested that the mount works, add that path to your XBMC sources, after that the path should be treated properly. |
ok I edited the fstab , rebooted but it doesn't mount :/ |
You don't need to reboot to mount just run the following command... mount [mount point] You should receive an error of some sorts, paste that here and I'll try to help. |
i fiddled around and it seems to automount now and no more errors. thank you. |
That's great! Glad it worked, I was pretty certain I tested it, but not 100% sure, plus I don't know exactly how linux/python treats smb mount points but I guess they work transparently regardless of the protocol used so I'm glad it worked. The script has 2 modes, one which will delete outright (default), and another that moves to a holding folder, if I remember correctly you can configure the holding folder location. I just move to /tmp so that if I did somehow manage to delete something important, I'd have till the next reboot to recover it (as /tmp gets cleared on each boot). Hope this helps. P.S, the script will get a massive overhaul a few weeks before XBMC 11 is released. |
I can only use delete since the files are on another machine and i don't wanna share/mount /temp :D |
one more question :) |
Run's all the time in the background (it won't drain system resources, it's minuscule and for 99% of the time it's sleeping). |
I wanted to know f it actually deleted files only on boot or periodically. |
Well if it runs in the background all the time but didn't delete anything, what would be the point? :) Checks frequently and deletes files as they expire. |
I also noticed that the script exits if there's a file it can't handle ( like foreign characters ) can we have it so it treats the others and just skip the "problematic" one? |
I'll make a note of it and try and fix in the next release. Thanks again :) |
Thanks |
I got around the issue with problematic characters by setting the default encoding to utf8 (joymyr@0b98e1f), but I've read that it's an ugly hack. It works great for me using only ext filesystems though. |
That's the message i get when I try to use this addon on 10.0 “Dharma”
The text was updated successfully, but these errors were encountered: