org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read'

Oracle Community | Amit Sengupta | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to base64 encode a file using Jython

    Oracle Community | 2 years ago | Amit Sengupta
    org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read'
  2. 0

    Script error through ODI

    Oracle Community | 4 years ago | rv
    org.apache.bsf.BSFException: exception from Jython: SyntaxError: ("mismatched input 'raise' expecting INDENT", ('<string>', 4, 0, 'raise ("\\\ Match found \\\")'))
  3. 0

    IKM Oracle Incremetal Update(Merge) not handling Duplicate records

    Oracle Community | 4 years ago | Phanikanth
    org.apache.bsf.BSFException: exception from Jython: SyntaxError: ("mismatched input 'textsubstr' expecting NEWLINE", ('<string>', 43, 93, 'sql_text="insert into ODI_JOB_EXECUTION_DETAILS values(2762360,\'#PVV_GETSCEN_NAME\',\'WCDS1\',\'"textsubstr"\',0,0)"'))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "UNICODE_IN_DATA" error in ODI 11.1.1.5 data load interface

    Oracle Community | 5 years ago | Jedi Knight
    org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 86, in <module> AttributeError: type object 'com.hyperion.odi.common.ODIConstants' has no attribute 'UNICODE_IN_DATA'
  6. 0

    Send Jython HTML Email error

    Oracle Community | 5 years ago | user1299751
    org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 25, in <module> IOError: (21, 'EISDIR', '')

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.bsf.BSFException

      exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read'

      at org.apache.bsf.engines.jython.JythonEngine.exec()
    2. Bean Scripting Framework
      JythonEngine.exec
      1. org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      1 frame
    3. com.sunopsis.dwg
      SnpSessTaskSql.scripting
      1. com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      2. com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      3. com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      3 frames
    4. oracle.odi.runtime
      TaskExecutionHandler.handleTask
      1. oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      2. oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      3. oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      3 frames
    5. com.sunopsis.dwg
      SnpSession.treatSession
      1. com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      2. com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      3. com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      4. com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      5. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      5 frames
    6. oracle.odi.runtime
      StartSessRequestProcessor$2.doAction
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      1 frame
    7. oracle.odi.core
      DwgObjectTemplate.execute
      1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      1 frame
    8. oracle.odi.runtime
      DefaultAgentTaskExecutor$2.run
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      2. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      3. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      4. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      5. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      5 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:695)
      1 frame