skorski opened a new pull request #530: URL: https://github.com/apache/incubator-sedona/pull/530
## Is this PR related to a proposed Issue? No ## What changes were proposed in this PR? Importing this file causes logging issues within databricks.  Full error: ``` --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1025, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 869, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 611, in format s = self.formatMessage(record) File "/usr/lib/python3.7/logging/__init__.py", line 580, in formatMessage return self._style.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 422, in format return self._fmt % record.__dict__ ValueError: unsupported format character '%' (0x25) at index 11 Call stack: File "/local_disk0/tmp/1623158547967-0/PythonShell.py", line 30, in <module> launch_process() File "/local_disk0/tmp/1623158547967-0/PythonShellImpl.py", line 1907, in launch_process shell.executor.run() File "/local_disk0/tmp/1623158547967-0/PythonShellImpl.py", line 285, in run self.shell.shell.run_cell(command_id, cmd, store_history=True) File "/local_disk0/tmp/1623158547967-0/PythonShellImpl.py", line 1233, in run_cell super(IPythonShell, self).run_cell(raw_cell, store_history, silent, shell_futures) File "/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2858, in run_cell raw_cell, store_history, silent, shell_futures) File "/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2886, in _run_cell return runner(coro) File "/databricks/python/lib/python3.7/site-packages/IPython/core/async_helpers.py", line 68, in _pseudo_sync_runner coro.send(None) File "/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3063, in run_cell_async interactivity=interactivity, compiler=compiler, result=result) File "/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3254, in run_ast_nodes if (await self.run_code(code, result, async_=asy)): File "/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<command-3221151447083464>", line 3, in <module> logging.warning("Test2") Message: 'Test2' Arguments: () ``` ## How was this patch tested? I manually removed this line and the logging will work again. It is unclear why the library is doing this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
