outleradam Wrote:It depends on the router. Usually, consumer routers have 4 ports which are on the LAN and 1 port which has Network Address Translations (an internet port). If your computer is on the NAT port, then you will need to open the port 8080. You should use the NAT port for a network which you consider insecure. Unless you use the NAT for a computer, you should not need to open a port.
Gotcha, I will take care of that once the script is setup, good to know!
outleradam Wrote:It looks like the python bindings are not installed correctly on your computer.
Here's what you should have seen thereCode:
Establishing database connection
Connected to: XBMCLive
Db Identified as: sql://mythconverg@localhost:3306/
Diagnostics passed.
Diagnostics failed.
Please post the output of the following:
Code:
python --version
MythDataGrabber --Diagnostic=True
Yes this might be a bit tricky because Arch (my distro) did something fairly controversial in the distro's community by upgrading the main Python package to 3. We can still use 2 but it has to be specified, for example in torrentflux in my admin settings here's what I had to put:
http://i.imgur.com/oAv1G.png.
Okay my output:
Code:
ââ> python --version
Python 3.1.3
Code:
ââ> MythDataGrabber --Diagnostic=True
File "/usr/local/bin/MythDataGrabber", line 19
""" % os.path.basename(sys.argv[0])
^
SyntaxError: invalid syntax
^^^ This is the same type of error I got using torrentflux before I changed it to the above image python path for python2, I'm wagering I'll have to change the script or something to use python2, lemme know where/how if so.
outleradam Wrote:My python is Python 2.6.5
You are running MythTV v0.24 right?
You can check this by using the command
Code:
root@XBMCLive:~# mythbackend --version|grep Library
Library API : 0.25.20101223-1
Definitely, on all boxes. .100:
Code:
ââ> mythbackend --version|grep Library
Library API : 0.24.20101028-1
.101:
Code:
ââ> mythbackend --version|grep Library
Library API : 0.24.20101028-1
outleradam Wrote:I've added better diagnostics in the SVN. You should upgrade and post the results of the database diagnostics.
I value this information as it will help me to make mythicalLibrarian more user friendly.
Of course! Ran --update on it and here is output:
Code:
mythicalLibrarian will now conduct mythicalDiagnostics
Press any key to continue to online testing....
--You have entered diagnostic mode
mythicalLibrarian will now conduct a series of tests.
press any key to verify installed packages...
package 'curl' is installed
package 'agrep' or 'tre-agrep' is installed
package 'libnotify-bin' is installed
Installed packages check ***PASSED***
Press any key to perform Desktop Message test...
Performing librarian-notify-send test
This test verifies that the message was sent to the DBUS.
This test does not verify the user has a valid desktop open.
Desktop Notifications test ***PASSED***
Press any key to perform MythTV Database test...
Performing MythTV Python Bindings database test
File "/usr/local/bin/MythDataGrabber", line 19
""" % os.path.basename(sys.argv[0])
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named MythDB.MythTV
/usr/local/bin/mythicalLibrarian: line 1778: test: too many arguments
File "/usr/local/bin/MythDataGrabber", line 19
""" % os.path.basename(sys.argv[0])
^
SyntaxError: invalid syntax
there was a problem connecting to the database, check MythDatabase package
MythTV Database Test ***FAILED***
Press any key to perform XBMC Notification test...
Performing XBMC Notifications test
SENDING REQUESTED COMMANDS TO:192.168.1.101:8080
COMMUNICATIONS NOT ESTABLISHED: 192.168.1.101:8080
XBMC Communications ***FAILED***
Press any key to test file system permissions...
Testing file system permissions
TargetPathIsInputPath is selected. Testing with current folder
USER SETTING |FLAG|Folder name
MoveDir |1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Episodes
AlternateMoveDir |1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Episodes
PrimaryMovieDir |1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Movies
AlternateMovieDir|1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Movies
PrimaryShowDir |1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Showings
AlternateShowDir |1 |/home/bobby2/.mythicalLibrarian/mythicalSetup/Showings
mythicalLibrarian|1 |/home/bobby2/.mythicalLibrarian
Critical Filesystem checks ***PASSED***
OVERALL FAILURE
press any key to continue on to the final results...
All tests complete RESULTS
MythTV Database Test: ***FAILED***
Installed Packages: ***FAILED***
Notifications Test: ***PASSED***
XBMC Communications: ***FAILED***
File System Checks: ***PASSED***
mythicalTesting: COULD NOT COMPLETE
Overall mythicalReadiness: ***FAILURE***
-----End of diagnostics-----
When interfacing MythTV/0.24, mythicalLibrarian uses MythTV's Python
Bindings. These must be configured and working for proper access
to data required by mythicalLibrarian.
Could not connect to the database. Specify a username and password
XBMC Communications have failed. Likely causes: Improper IP address,
or XBMC is not equipped to handle external network commands in settings.
mythicalLibrarian will not send messages or library update requests.
mythicalLibrarian has encountered an error. This may be due to
lack of network connection. If the problem persists, contact
outleradam here: http://forum.xbmc.org/showthread.php?tid=65644
These issues must be corrected in order for mythicalLibrarian to
perform correctly
chgrp: invalid group: `mythtv'
Please try again. If problem persists, please post here: http://forum.xbmc.org/showthread.php?tid=65644
ADDING JOB to slot 0
Could not add mythcialLibrarian MythTV UserJob because no slots were available
permissions were set for user: mythtv.
No RSS Feeds will be used on this server. Configure /var/www/mythical-rss to link to web server for access by mythicalLibrarian.
mythicalLibrarian is located in /usr/local/bin
mythicalLibrarian's log is located in ~/.mythicalLibrarian/output.log
Renamed video files will be placed in new folders within original.
ie. /var/lib/mythtv/recordings/Episodes, /Movies and /Showings.
Check the mythicalLibrarian checkbox when setting up recordings.
For more information, type 'mythicalLibrarian --help'
Done.