Menu

fileno problem

Help
2023-01-11
2023-01-12
  • Lakshmi Sridhar

    Lakshmi Sridhar - 2023-01-11

    When I run the dae example I get the mwssage

    An exception has occurred, use %tb to see the full traceback.

    Traceback (most recent call last):

    File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\PyDSTool\core\context_managers.py", line 30, in _stdchannel_redirected
    oldstdchannel = os.dup(stdchannel.fileno())

    File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\ipykernel\iostream.py", line 311, in fileno
    raise io.UnsupportedOperation("fileno")

    UnsupportedOperation: fileno

    During handling of the above exception, another exception occurred:

    SystemExit: error: [WinError 2] The system cannot find the file specified
    Can anyone help

     
    • Rob Clewley

      Rob Clewley - 2023-01-12

      I think this is fixed in the main branch on github, as per the
      discussion in https://github.com/robclewley/pydstool/issues/98. You
      should be using the github version of the package for maximal support
      on windows.

      On Wed, Jan 11, 2023 at 5:28 PM Lakshmi Sridhar
      lnsridhar@users.sourceforge.net wrote:

      When I run the dae example I get the mwssage

      An exception has occurred, use %tb to see the full traceback.

      Traceback (most recent call last):

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\PyDSTool\core\context_managers.py", line 30, in _stdchannel_redirected
      oldstdchannel = os.dup(stdchannel.fileno())

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\ipykernel\iostream.py", line 311, in fileno
      raise io.UnsupportedOperation("fileno")

      UnsupportedOperation: fileno

      During handling of the above exception, another exception occurred:

      SystemExit: error: [WinError 2] The system cannot find the file specified
      Can anyone help


      fileno problem


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydstool/discussion/472291/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
    • Lakshmi Sridhar

      Lakshmi Sridhar - 2023-01-12

      I re installed the github pydstool
      I ran the dae example from the examples directory
      I get the messages

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\PyDSTool\core\context_managers.py", line 30, in _stdchannel_redirected
      oldstdchannel = os.dup(stdchannel.fileno())

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\ipykernel\iostream.py", line 311, in fileno
      raise io.UnsupportedOperation("fileno")

      UnsupportedOperation: fileno

      During handling of the above exception, another exception occurred:

      SystemExit: error: [WinError 2] The system cannot find the file specified

      I get the fileno problem in other files also
      some files are working well
      Please tell me how I can fix the fileno problem
      I think the error is not with the DAE example file
      Because some other files have the same problem

      Thanks

       
    • Lakshmi Sridhar

      Lakshmi Sridhar - 2023-01-12

      I re installed the github pydstool
      I ran the dae example from the examples directory
      I get the messages

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\PyDSTool\core\context_managers.py", line 30, in _stdchannel_redirected
      oldstdchannel = os.dup(stdchannel.fileno())

      File "C:\Users\LakshmiNSridhar\anaconda3\lib\site-packages\ipykernel\iostream.py", line 311, in fileno
      raise io.UnsupportedOperation("fileno")

      UnsupportedOperation: fileno

      During handling of the above exception, another exception occurred:

      SystemExit: error: [WinError 2] The system cannot find the file specified

      I get the fileno problem in other files also
      some files are working well
      Please tell me how I can fix the fileno problem
      I think the error is not with the DAE example file
      Because some other files have the same problem

      Thanks

       
  • Lakshmi Sridhar

    Lakshmi Sridhar - 2023-01-12

    Another file dopri backwards test is also giving the same problem
    Wherever Radau isused this problem is occuring
    Thanks

     

Log in to post a comment.