kuchta

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

kuchta's Achievements

Noob

Noob (1/14)

0

Reputation

  1. There seems to be a pretty major bug here. I tried to run it and it told me it was going to clear the wrong disk. I looked at the code a little closer and it seems like you opted to continue looking for additional disks that were ready to be cleared instead of breaking out of the loop. Unfortunately, this means that if only one disk is found ready to be cleared, it will think it's the last one in the array since the previously identified disk isn't remembered. I "fixed" this by adding a break command at line 113 (after the "((found++))" command). Oddly, the script still didn't work for me even though it identified the correct device. I get an EOF error right when it is about to unmount the drive. I didn't see any errors in the code to cause this, so I'm wondering if it's a copy-and-paste issue or something. I've attached my log in case it's helpful. For reference, disk7 is the one I was trying to clear and disk8 is the one it incorrectly tried to clear first. I don't need the script anymore as I just created my own script with the 2 action lines, but wanted to make sure I reported this issue so that no one accidentally clears the wrong drive. clear_array_drive_error.txt
  2. Pinion, First, thanks for all that you do! I just got an old TiVo and installed your pyTiVo docker to play around with it. I think I have it configured properly (including filling in the tivo_mak & togo_path fields) and am able to see the share I made from my TiVo and can transfer media, but I am unable to see my TiVo from pyTiVo. In the log file, it looks like there's an issue with the TiVo scanning functionality (or I may have something configured incorrectly). Any ideas? Here is the relevant section in the log file. The Traceback line through the TypeError line section is repeated 3 times. INFO:pyTivo:Last modified: Wed Dec 24 01:27:36 2014 INFO:pyTivo:Python: 2.7.12 INFO:pyTivo:System: Linux-4.9.19-unRAID-x86_64-with-Ubuntu-16.04-xenial INFO:pyTivo.beacon:Scanning for TiVos... Traceback (most recent call last): File "/opt/pytivo/lucasnz/zeroconf.py", line 773, in run self.readers[socket].handle_read() File "/opt/pytivo/lucasnz/zeroconf.py", line 827, in handle_read msg = DNSIncoming(data) File "/opt/pytivo/lucasnz/zeroconf.py", line 406, in __init__ self.readQuestions() File "/opt/pytivo/lucasnz/zeroconf.py", line 423, in readQuestions name = self.readName() File "/opt/pytivo/lucasnz/zeroconf.py", line 518, in readName raise "Bad domain name at " + str(off) TypeError: exceptions must be old-style classes or derived from BaseException, not str INFO:pyTivo.beacon:Announcing shares... Here's my config file in case it's relevant: [Server] beacon = 192.168.11.108 listen togo_path = /mnt/user/Downloads/Temp/TiVo tivo_username = [email protected] tivo_password = NOTrealPASSWORD tivo_mak = ###NUMREPLACED### temp_share = /mnt/user/Downloads/Temp/TiVo/remux ffmpeg = /usr/bin/ffmpeg [_tivo_SD] [_tivo_HD] [Tower] path = /mnt/user type = video Thanks!