Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184040 - dev-util/pida-0.5.0 new version
Summary: dev-util/pida-0.5.0 new version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Rob Cakebread (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 22:02 UTC by Steve L
Modified: 2007-07-05 17:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pida-0.5.0.ebuild (not finished) (pida-0.5.0.ebuild,1.03 KB, text/plain)
2007-07-02 22:04 UTC, Steve L
Details
pida-0.5.0.ebuild (pida-0.5.0.ebuild,1.03 KB, text/plain)
2007-07-03 15:08 UTC, Steve L
Details
pida-0.5.0.ebuild (pida-0.5.0.ebuild,1.11 KB, text/plain)
2007-07-05 17:21 UTC, Steve L
Details
pida-0.5.0.ebuild (pida-0.5.0.ebuild,1.11 KB, text/plain)
2007-07-05 17:40 UTC, Steve L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve L 2007-07-02 22:02:46 UTC
New version; attaching what I have so far; it builds, but fails with a file not found error. I am not using gnome or gvim use flags, so I can test that side of stuff. I appreciate that you're working on a new kiwi svn dl; the src file and dir are PIDA-0.5.0 not pida-0.5.0 so I thought the changes of that and dependencies might be useful.

Reproducible: Always




Traceback (most recent call last):
  File "/usr/bin/pida", line 29, in ?
    main()
  File "/usr/lib/python2.4/site-packages/pida/core/application.py", line 133, in main
    exit_val = run_func(env)
  File "/usr/lib/python2.4/site-packages/pida/core/application.py", line 93, in run_pida
    b.start()
  File "/usr/lib/python2.4/site-packages/pida/core/boss.py", line 28, in start
    self._sm.activate_editor(editor_name)
  File "/usr/lib/python2.4/site-packages/pida/core/servicemanager.py", line 233, in activate_editor
    self.editor.pre_start()
  File "/usr/lib/python2.4/site-packages/pida/editors/vim/vim.py", line 130, in pre_start
    self._view.run()
  File "/usr/lib/python2.4/site-packages/pida/editors/vim/vim.py", line 42, in run
    self._vim.run()
  File "/usr/lib/python2.4/site-packages/pida/utils/vim/vimembed.py", line 131, in run
    close_fds=True)
  File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

$ sed -n '120,131{p;}; 132q;' 
      /usr/lib/python2.4/site-packages/pida/utils/vim/vimembed.py

        args = self.args[:] # a copy
        args.extend(['--socketid', '%s' % xid])
        if not xid:
            return
        if not self.pid:
            popen = subprocess.Popen(
                [self._command,
                 '--servername', self.get_server_name(),
                 '--cmd', 'let PIDA_EMBEDDED=1',
                 '--cmd', 'so %s' % self._init_script
                 ] + args,
            close_fds=True)
Comment 1 Steve L 2007-07-02 22:04:01 UTC
Created attachment 123725 [details]
pida-0.5.0.ebuild (not finished)
Comment 2 Steve L 2007-07-03 15:08:48 UTC
Created attachment 123779 [details]
pida-0.5.0.ebuild

This one works :-) It turns out it needs either a patched emacs or gvim. Since I don't run emacs, and don't know anything about the patches, I made it unconditionally depend on gvim.
The Add Project seems to work ok with gentoo kwiki as well.
Comment 3 Steve L 2007-07-05 17:21:44 UTC
Created attachment 123990 [details]
pida-0.5.0.ebuild

0.5.0 has a bug when loading python plugin (for class/doc browser etc.) This means it needs bicyclerepair. According to Ali, the main pida dev, this will not be required for the next version (he fixed the bug while we spoke.)

Another bug came up while testing this; if there's a problem loading a plugin, the IDE freezes. This is already fixed in svn.

(Only change is addition of bicyclerepair as rdepend.)

I really do recommend this one; it makes python GUI development a doddle, and requires little that is not on most standard Gentoo desktops. gvim is an eye-opener too :)
Comment 4 Steve L 2007-07-05 17:40:00 UTC
Created attachment 123991 [details]
pida-0.5.0.ebuild

:oops: really sorry atom wasn't fully-formed (no >=)
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2007-07-05 17:56:00 UTC
Whoops, just committed 0.5.0 a few minutes ago. I'll add the bicyclerepairman  RDEPEND.

I reported the gvim bug upstream (where it won't start if you dont' have gvim installed but want to use a different editor)

Thanks, Steve.