Skip to content

[12568] Failed to execute script 'oracle' due to unhandled exception! #364

@flowerwOw0316

Description

@flowerwOw0316

oracle.py code:

import oracledb
connection = oracledb.connect(
user="system",
password="123456",
dsn="localhost/FREE",
port=1521)

print("Successfully connected to Oracle Database")

cursor = connection.cursor()

cursor.execute("""
SELECT * FROM VIEW_EXAM_APPLY_SCHEDULE_XSB
""")

connection.commit()

print(cursor.fetchone())


pyinstaller.exe -F -i .\icon.ico .\oracle.py

QQ_1721223418283

QQ_1721223444405

warn-oracle.txt

This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running your program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.

Types if import:

  • top-level: imported at the top-level - look at these first
  • conditional: imported within an if-statement
  • delayed: imported within a function
  • optional: imported within a try-except-statement

IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
tracking down the missing module yourself. Thanks!

missing module named 'org.python' - imported by copy (optional)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional)
missing module named org - imported by pickle (optional)
missing module named posix - imported by os (conditional, optional), shutil (conditional), importlib._bootstrap_external (conditional)
missing module named resource - imported by posix (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
missing module named _posixsubprocess - imported by subprocess (optional)
missing module named bcrypt - imported by cryptography.hazmat.primitives.serialization.ssh (optional)
missing module named oracledb.name - imported by oracledb (top-level), oracledb.defaults (top-level), oracledb.connection (top-level), oracledb.cursor (top-level), oracledb.fetch_info (top-level), oracledb.dbobject (top-level), oracledb.lob (top-level)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions