Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Koctave doesn't work

  1. #1
    Join Date
    Sep 2006
    Location
    Berkeley, CA
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Koctave doesn't work

    Hi.

    I installed koctave from the universe repository of dapper. It just worked fine first time, but I cannot run it successfully again. After splash screen, a dialog comes up and the whole application quits automatically. The dialog says,

    Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.
    I have no idea about what this means... The same thing happens in kde session as well. Octave seems to work flawlessly.

    Does anybody have some ideas about this?

  2. #2
    Join Date
    Oct 2005
    Location
    Wyoming, USA
    Beans
    488
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Koctave doesn't work

    Googleing the error message brings up quite a few hits... it looks like the 'pseudo teletype' message usually comes up when konsole is told to run a script that does not exist. Could you possibly check to see what scripts koctave is trying to run when you start it up?
    This looks nothing like my signature...
    My Page

  3. #3
    Join Date
    Sep 2006
    Location
    Berkeley, CA
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Koctave doesn't work

    Thanks for reply.

    Attached at the end of this post is the error message displayed when I try to run koctave from GNOME Terminal. There are some entries which resemble my case.

    In this case the way koctave fails is little different from mine.

    It works here even with the same kind of error.

    As for pty device, mount shows
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)

    Did anyone successfully run koctave?

    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Link points to "/tmp/ksocket-rion"
    Link points to "/tmp/kde-rion"
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    kbuildsycoca running...
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kOctaveui.rc
    ScimInputContextPlugin()
    WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    Uh oh.. can't write data..
    kOctave: WARNING: Unable to open a pseudo teletype!
    Uh oh.. can't get terminal attributes..
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Launched ok, pid = 5252
    ~ScimInputContextPlugin()
    rion@athlon:~$ X Error: BadWindow (invalid Window parameter) 3
    Major opcode: 20
    Minor opcode: 0
    Resource id: 0x32002cc
    X Error: BadWindow (invalid Window parameter) 3
    Major opcode: 20
    Minor opcode: 0
    Resource id: 0x32002cc
    X Error: BadWindow (invalid Window parameter) 3
    Major opcode: 18
    Minor opcode: 0
    Resource id: 0x32002cc
    ICE default IO error handler doing an exit(), pid = 5249, errno = 0

  4. #4
    Join Date
    Aug 2005
    Beans
    6,024

    Re: Koctave doesn't work

    Works fine in Kubuntu.

  5. #5
    Join Date
    May 2006
    Location
    Pakistan
    Beans
    277
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Koctave doesn't work

    i am using koctave with kubuntu. it works fine on my pc. try to reinstall it.

  6. #6
    Join Date
    Sep 2006
    Location
    Berkeley, CA
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Koctave doesn't work

    Thanks for reports.

    It seems that koctave works fine with kubuntu installation, while at least in my case ubuntu with kubuntu-desktop has an issue.

    I'll try to install kubuntu from scratch when I can afford that much time(maybe around new year...).

  7. #7
    Join Date
    Feb 2007
    Beans
    5

    Re: Koctave doesn't work

    installing kdebase with synaptic solved my problem, koctave works fine now.

    After I noticed someone posting their error messages from the terminal, I ran it from the terminal and my errors specifically mentioned "do you have kdebase installed correctly?"

    After installing kdebase and its associated packages, it works fine.

  8. #8
    Join Date
    Sep 2006
    Location
    Berkeley, CA
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Koctave doesn't work

    Thanks for your information!

    Now with feisty fresh install, I also got the error message that asks for kdebase.

    After installing kdebase, koctave runs fine in GNOME as well, although it has some errors (I think this kind of error message often show up when I launch other KDE apps from terminal as well).

    Code:
    X Error: BadDevice, invalid or uninitialized input device 169
      Major opcode:  147
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
      Major opcode:  147
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
      Major opcode:  147
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
      Major opcode:  147
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    kbuildsycoca running...
    DCOP Cleaning up dead connections.
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kOctaveui.rc
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    kdecore (KProcess): WARNING: _attachPty() 12

  9. #9
    Join Date
    May 2007
    Beans
    1

    Re: Koctave doesn't work

    I'm using Koctave on kubuntu..it was working fine until I tried to reconfigure its settings to change the start up directory..

    I've already tried reinstalling and installing kdebase..both don't seem to have fixed the error

    Could anyone please help me fix this problem?

    The error message is :
    Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.

    I'm getting the following error when I run it thru terminal:

    X Error: BadDevice, invalid or uninitialized input device 166
    Major opcode: 144
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
    Major opcode: 144
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kOctaveui.rc
    ScimInputContextPlugin()
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    Uh oh.. can't write data..
    kOctave: WARNING: Unable to open a pseudo teletype!
    Uh oh.. can't get terminal attributes..
    ~ScimInputContextPlugin()
    bsingh@bsingh-laptop:~/code/octave_files$ koctave
    X Error: BadDevice, invalid or uninitialized input device 166
    Major opcode: 144
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
    Major opcode: 144
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kOctaveui.rc
    ScimInputContextPlugin()
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    kOctave: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file editorui.rc
    Uh oh.. can't write data..
    kOctave: WARNING: Unable to open a pseudo teletype!
    Uh oh.. can't get terminal attributes..
    ~ScimInputContextPlugin()

  10. #10
    Join Date
    May 2006
    Location
    Pakistan
    Beans
    277
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Koctave doesn't work

    does koctave works for octave2.9?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •