2018-11-06, 07:00
(2018-11-05, 21:19)SPo! Wrote: After removing the last bracket in the script main.py at line 869, i get this error the time i want to import a Launcher XML:
Code:20:25:37.378 T:156080510192 ERROR: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/resources/objects.py:4723: SyntaxWarning: import * only allowed at module level
def pairServer(self, pincode):
20:25:37.378 T:156080510192 ERROR: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/resources/objects.py:4913: SyntaxWarning: import * only allowed at module level
def getCertificateBytes(self):
20:25:37.378 T:156080510192 ERROR: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/resources/objects.py:4929: SyntaxWarning: import * only allowed at module level
def getCertificateKeyBytes(self):
20:25:37.526 T:156080510192 NOTICE: AML INFO : Execute migrations
20:25:37.540 T:156080510192 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: NewFileName instance has no attribute 'scanFilesInPathAsFileNameObjects'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/addon.py", line 41, in <module>
resources.main.run_plugin(sys.argv)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/resources/main.py", line 277, in run_plugin
m_execute_migrations(last_migrated_to_version)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.AEL/resources/main.py", line 9978, in m_execute_migrations
migration_files = migrations_folder.scanFilesInPathAsFileNameObjects('*.py')
AttributeError: NewFileName instance has no attribute 'scanFilesInPathAsFileNameObjects'
-->End of Python script error report<--
AEL 0.10.0 will be a major upgrade with tons of new feats. Current version of AEL in master is under a huge refactoring and the code now is highly unstable even for alpha testing. ASAP I will release 0.10.0-beta1 for the adventurous.
Maybe Chrisism can tell you what commit to download before I started the refactoring. Otherwise, please wait a few weeks until I finish the refactoring.