Beste mensen,
Ik zou graag jullie raad willen om het volgende probleem op te kunnen lossen.
Na de handleiding van http://mrcolinsappletvguide.tumblr.com/ gelezen te hebben heb ik sabnzbd op mijn appletv geïnstalleerd. Nu ben ik niet bekend met de terminal waardoor ik nu niet zelf het probleem kan oplossen.
Het probleem is dat ik nadat ik inlog de volgende melding krijg:
-WAARSCHUWING: unzip programma niet gevonden!
-FOUT: SQL opdracht mislukt, zie log bestand
-Kan de web-browser niet starten, geen gevonden
-011-01-20 19:25:00,544 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,568 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,580 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,595 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,603 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,621 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,626 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,630 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,633 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,637 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,656 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,663 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,685 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,697 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,709 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,738 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,753 FOUT: Probleem met tempfile.mkstemp
2011-01-20 19:25:00,818 WAARSCHUWING: Importeren van 114 bestanden ........ mislukt
Kan iemand mij uitleggen wat ik fout heb gedaan of wat er fout is in de handleiding?
Alvast bedankt,
Deze handelingen heb ik gevolgde:
Housekeeping
One thing before we go any further.
Space on the Apple TVs primary partition is limited to 1G. I imagine if your going on to follow the next set of instructions to do with bittorrent and usenet, then your going to wanting easy access to the larger drive. Were going to run a few commands, they will create a dirctory on your larger drive called Downloads, and also create a link to this in your home directory.
SSH in and run the following
cd /mnt/ sudo -s mkdir Downloads chown frontrow:frontrow Downloads exit cd ~ ln -s /mnt/Downloads Downloads
There we go.
''SABNZB Usenet Client
Ive had good results using SABNZB as my Usenet client. Its web interface makes it perfect for the apple tv. My instructions are a slightly streamlined version of those on http://wiki.awkwardtv.org/wiki/SABnzbd
SSH into your Apple TV and run the following commands:
cd /tmp/ wget http://downloads.sourceforge.net/projec ... s/sabnzbd- 0.4.12/SABnzbd-0.4.12-osx.dmg?use_mirror=ignum
hdiutil mount SABnzbd-0.4.12-osx.dmg cp -R /Volumes/SABnzbd/SABnzbd.app/ /Applications/SABnzbd.app/
Next we need to make some slight modifications to the configuration. Using Nano we need to add a line to a file, from the Apple TVs command line type nano -w /Applications/SABnzbd.app/Contents/Info.plist
Scroll down till you find the section which reads:
LSHasLocalizedDisplayName NSAppleScriptEnabled
And change it to the following
LSHasLocalizedDisplayName LSUIElement 1 NSAppleScriptEnabled
Press Ctrl-X to exit Nano and hit Y to save the changes. The second alteration we need to make it to create a configuration file, run the command:
nano -w /Applications/SABnzbd.app/Contents/Resources/sabnzbd.ini
Copy and Paste the following into the file:
[misc] autobrowser = 0
cp /opt/local/etc/samba3/smb.conf.sample /opt/local/etc/samba3/smb.conf nano -w /opt/local/etc/samba3/smb.conf
Now scroll down and find the following chunk:
[homes] comment = Home Directories browseable = no writable = yes
Now, i dont want to share this directory, I want to share my Downloads directory, so Im going to change that to now say this:
[Downloads] comment = Downloads path = /mnt/Downloads public = yes writable = yes printable = no
Save and exit. The SAMBA passwords are different from the user login ones. Give the user frontrow a password:
sudo /opt/local/bin/smbpasswd -a frontrow
Change some permissions:
sudo chown root:wheel /opt/local/sbin/smbd sudo chmod 4555 /opt/local/sbin/smbd sudo chown root:wheel /opt/local/sbin/nmbd sudo chmod 4555 /opt/local/sbin/nmbd
Last thing to do is get it setup to launch at boot:
sudo nano -w /etc/rc.local
Scroll to the bottom and add the following text:
# start the SAMBA service /opt/local/sbin/smbd -c /opt/local/etc/samba3/smb.conf /opt/local/sbin/nmbd -c /opt/local/etc/samba3/smb.conf
Save, exit, restart. From a Mac, to access this share, open finer and either kit cmd+K or go to Go->Connect to Server
In the server address box pop this in there: smb://AppleTV.local/Downloads hit Connect, and hopefully a window will pop up showing you the contents of your Downloads folder.
Permalink ∞
http://mrcolinsappletvguide.tumblr.com/ Pagina 5 van 8
Mr Colin's AppleTV Guide 17-01-11 22:53
host = appletv.local
Save and exit. SABNZB can then be ran using the command:
open /Applications/SABnzbd.app/
To access SABNZB you just have to point your browser at http://appletv.local:8080/sabnzbd/''
''Starting SABnzbd Automatically on Boot
This was a slight nightmare to get working. Started following this guide but it doesnt work. If you google about you’ll find a couple other methods to launch it, like using rc.local, they dont work either.
These instructions, however, are gold.
The trick is to get SABnzbd to launch once the frontrow profile is loading. Thats why the all the instructions on the net dont work. This may have something to do with SABnzbd having been updated after the instructions were written (and subsequently copy+pasted from forum to forum).
Here we go, ssh in and run these commands:
mkdir /Users/frontrow/Library/LaunchAgents/ nano -w /Users/frontrow/Library/LaunchAgents/sabnzbd.plist
copy and paste the following into the file:
GroupName frontrow Label org.m0k.sabcheck ProgramArguments /Users/frontrow/SABcheck.sh RunAtLoad ServiceDescription sabcheck UserName frontrow
Save and exit the file.
Next we need to make a script to check if SABnzbd is running, and if not, launch it. From the terminal enter the following commands:
touch /Users/frontrow/SABcheck.sh chmod +x /Users/frontrow/SABcheck.sh nano -w /Users/frontrow/SABcheck.sh
then copy & paste this into the file:
#!/bin/sh if ! ps -auxwww | grep -v grep | grep SABnzbd > /dev/null then open /Applications/SABnzbd.app & fi
posted on 12.02.10
http://mrcolinsappletvguide.tumblr.com/ Pagina 6 van 8
Mr Colin's AppleTV Guide 17-01-11 22:53
Save and Exit. Your now done, restart your Apple TV and see if it has worked.''
DIt laatste werkt niet waardoor ik na een herstart 'handmatig' moet opstarten...
Sabnzbd errors .... (appletv 1e gen.)
Re: Sabnzbd errors .... (appletv 1e gen.)
Heb je het al aan Mr Colin gevraagd?
Het is voor ons ondoenlijk om support te geven voor platforms die we helemaal niet kennen.
Het is voor ons ondoenlijk om support te geven voor platforms die we helemaal niet kennen.
Re: Sabnzbd errors .... (appletv 1e gen.)
Jammer,shypike wrote: Heb je het al aan Mr Colin gevraagd?
Het is voor ons ondoenlijk om support te geven voor platforms die we helemaal niet kennen.
Dacht dat er misschien hier iemand was die met unix overweg kon.
Re: Sabnzbd errors .... (appletv 1e gen.)
Die zijn er wel, maar dit is een wel heel specifiek probleem.Dacht dat er misschien hier iemand was die met unix overweg kon.
Het lijkt alsof er iets aan de hand is met de Python versie.
Heb je die zelf geinstalleerd?

