Ninja-IDE dies a painful death! Not supported under Fedora 30.
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2016
    Location
    West Virginia
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ninja-IDE dies a painful death! Not supported under Fedora 30.

    Installed Fedora 30 in KDE Desktop environment, full setup, Installed Ninja-IDE. Go to the start menu and click the Ninja-IDE and the object appears on the programs bar at the bottom for about 2 seconds, then disappears.
    So I started over, Installed Fedora 30 in KDE Desktop environment ONLY, then installed ninja-ide and it gave the exact same error. Nothing changed.

    So I load up a console and type in "ninja-ide" and press enter and get an error message.

    Code:
    [firesnake@localhost ~] $ ninja-ide
    Traceback (most recent call last):
      File "/usr/bin/ninja-ide", line 11, in <module>
        load_entry_point('NINJA-IDE==2.3', 'gui_scripts', 'ninja-ide')()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
        return ep.load()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2411, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2417, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "/usr/lib/python2.7/site-packages/ninja_ide/__init__.py", line 48, in <module>
        import sip
    ImportError: No module named sip
    [firesnake@localhost ~] $ dnf install pyqt4 sip
    SIP and PyQT4 are both installed.
    Package PyQt4-4.12.3-4.fc30.x86_64 is already installed.
    Package sip-4.19.13-4.fc30.x86_64 is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!


    Upon examination, I noticed the version of Ninja has not been updated since FC27. It appears MANY MANY things have changed since. For example, When Fedora 30 released, They upgraded versions of Python from 3.6 to Python 3.7.3 and likewise upgraded the version of Python 2 to Python 2.7.16.
    I noticed that PyQT4 has upgraded and changed as well. (This is what I am actually suspecting is not working)
    SIP has also upgraded and changed.

    I can get past the SIP error message by installing a developer version of SIP. However, it just lines up the next error message (PyQT4 Error) and the next and so on and so forth. After so many error messages deep, I abandoned the try and realized this needs to be developer team fix and not a backwoods hillbilly rig job.

    I would also like to make note, I loaded Fedora 29 KDE and Fedora 30 KDE in Virtual machines side by side. There are less Python 2 packages showing up in Fedora 30 KDE. Less PyQT4 packages as well. I am not a developer for Ninja-IDE so I dont know if any of the old packages are needed or not.


    This is the ONLY software suite I use and like that doesn't work on Fedora 30. Can you guys fix it and send out an update to install that makes it work please? Thanks!

  2. #2
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    3,092
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    Can you guys fix it and send out an update to install that makes it work please? Thanks!
    This is a user forum. We are not the developers.

    User error. Please replace user and try again

  3. #3
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    73
    Posts
    23,715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    Sounds like it's "Bugzilla Time"!
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  4. #4
    Join Date
    Jun 2016
    Location
    West Virginia
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    I got a new message from the project leader I am going to share here. He gave me an update.

    Gabriel Acosta centaurialpha
    ninja-ide Project Leader. Software

    Thanks for reporting.

    Currently, an effort is being made to release a stable version of NINJA 3. It is probably not worth updating NINJA 2.3, and I personally do not know how the Fedora packages work.

    So please be patient with the new version

  5. #5
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    7,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    The "no module sip" seems to be a warning that the "sip" module that you get from package 'python2-sip' is missing, and not the "sip" package noted in post 1.
    So when I install python2-sip, the warning changes to:

    Code:
    Traceback (most recent call last):
      File "/usr/bin/ninja-ide", line 11, in <module>
        load_entry_point('NINJA-IDE==2.3', 'gui_scripts', 'ninja-ide')()
      File "/usr/lib/python2.7/site-packages/ninja_ide/__init__.py", line 64, in setup_and_run
        from ninja_ide import core
      File "/usr/lib/python2.7/site-packages/ninja_ide/core/__init__.py", line 23, in <module>
        from ninja_ide.core import settings
      File "/usr/lib/python2.7/site-packages/ninja_ide/core/settings.py", line 25, in <module>
        from ninja_ide import resources
      File "/usr/lib/python2.7/site-packages/ninja_ide/resources.py", line 42, in <module>
        HOME_NINJA_PATH = os.path.join(HOME_PATH, ".ninja_ide")
      File "/usr/lib64/python2.7/posixpath.py", line 70, in join
        elif path == '' or path.endswith('/'):
    AttributeError: 'QString' object has no attribute 'endswith'
    I then tried simply hacking the code to not use the QStrings but they're so embedded it got hard, I was hoping you could just change a few minor lines and it would work.
    Last edited by marko; 14th May 2019 at 05:28 AM.

  6. #6
    Join Date
    Jun 2016
    Location
    West Virginia
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    Yea, I am aware. The next error message you have is QString' object has no attribute 'endswith'
    the endswith command is PyQT4 Error.
    PyQt4 uses the "endsWith" command.
    There is a fix for it as well. But there is yet another error message beyond that, and another beyond that, so on and so forth.
    I went about 5 error messages deep and decided it needed to be a developer deal because you can only rig something so many times before it loses its stability.

  7. #7
    Join Date
    Jun 2016
    Location
    West Virginia
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ninja-IDE dies a painful death! Not supported under Fedora 30.

    Link to the GitHub thread started to try to get the Developer involved.....
    https://github.com/ninja-ide/ninja-ide/issues/2091
    [/SIZE]

Similar Threads

  1. Ninja-IDE dies a painful death under Fedora 30.
    By JavaScriptMike in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 5th May 2019, 10:18 PM
  2. [TIP] latest chromium ninja build
    By mmix in forum Linux Chat
    Replies: 0
    Last Post: 4th June 2011, 09:26 PM
  3. Steve Jobs detained for carrying ninja stars
    By Silpheed2K in forum Wibble
    Replies: 2
    Last Post: 5th October 2010, 03:57 AM
  4. Surgery is painful!
    By kona0197 in forum Wibble
    Replies: 41
    Last Post: 14th July 2010, 04:45 PM
  5. Open Arena Dies a Death
    By renegadeandy in forum Gamers' Lounge
    Replies: 1
    Last Post: 22nd November 2007, 04:17 AM

Tags for this Thread

Posting Permissions

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