abrignoni / iLEAPP

iOS Logs, Events, And Plist Parser
MIT License
709 stars 141 forks source link

booking.py error notification #774

Closed ScottKjr3347 closed 2 months ago

ScottKjr3347 commented 2 months ago

Receiving the following error for the new "booking.py" when attempting to launch ileappGUI.py:

PS C:\Users\Bssco\Desktop\iLEAPP-main> python.exe .\ileappGUI.py Traceback (most recent call last): File "C:\Users\Bssco\Desktop\iLEAPP-main\ileappGUI.py", line 363, in pickModules() File "C:\Users\Bssco\Desktop\iLEAPP-main\ileappGUI.py", line 22, in pickModules loader = plugin_loader.PluginLoader() File "C:\Users\Bssco\Desktop\iLEAPP-main\plugin_loader.py", line 24, in init self._load_plugins() File "C:\Users\Bssco\Desktop\iLEAPP-main\plugin_loader.py", line 38, in _load_plugins mod_artifacts = getattr(mod, 'artifacts_v2', None) or getattr(mod, 'artifacts__', None) File "C:\Python_3.10.2\lib\importlib\util.py", line 247, in getattribute self.spec__.loader.exec_module(self) File "", line 879, in exec_module File "", line 1017, in get_code File "", line 947, in source_to_code File "", line 241, in _call_with_frames_removed File "C:\Users\Bssco\Desktop\iLEAPP-main\scripts\artifacts\booking.py", line 901 tmp = f'Check-in: {tmp.strftime('%Y-%m-%d')}' ^ SyntaxError: f-string: unmatched '(' PS C:\Users\Bssco\Desktop\iLEAPP-main>

removing the booking.py from the artifacts folder fixes the error and allows the GIU to appear and iLEAPP to be used.

abrignoni commented 2 months ago
Screenshot 2024-07-05 at 11 16 26 AM

It seems the nested single quotations are causing problems in your setup. What Python version are you using? As of now the GUI opens in my Windows 11 and macOS installs. I'm using Python 3.12.1

Try this change and let me know if it works for you. If it does I will merge it.

Screenshot 2024-07-05 at 11 17 11 AM