Azelphur / PokemonGo-CalcyIV-Renamer

Uses adb to send fake tap events to your phone, alongside Calcy IV to automatically rename all your pokemon.
GNU General Public License v3.0
77 stars 32 forks source link

Freezes on "broadcast -a clipper.get" #61

Open MichaelSchra opened 4 years ago

MichaelSchra commented 4 years ago

ivcheck.py gets to this point and stops

PS C:\adb> python .\ivcheck.py [10:41:14 AM] INFO | Starting logcat ['adb', '-s', '7c2dee9e', 'logcat', '-T', '1', '-v', 'brief', 'MainService:D i:D ClipboardReceiver:D *:S'] [10:41:14 AM] INFO | Sending intent: am broadcast -a tesmath.calcy.ACTION_ANALYZE_SCREEN -n tesmath.calcy/.intents.IntentReceiver --ez silentMode true --user 0 [10:41:15 AM] INFO | Sending intent: am broadcast -a clipper.get

MichaelSchra commented 4 years ago

Incase anyone else finds their way here, I got it working again by commenting out the lines around line 400 in ivcheck.py as follows:

            else:
                #clipboard, clipboard_values = await self.get_data_from_clipboard()
                #values = {**values, **clipboard_values}
                print('\n'*5, values, '\n'*5)  # Prints the data collected via OCR
                #values["calcy"] = clipboard
                return state, values