Re: Can't load GVim when launched from a launcher

2010-01-30 Thread Tim Flink
I don't know if this will help or not, but I had a similar problem  
when I built pida for the first time. When I ran from the command line  
(only tried it in the directory from which I built) everything would  
launch fine but if I installed and tried to launch from GNOME, I  
wouldn't be able to select VIM. I don't remember if I could select  
other editors or not, though.


It turns out that the problems was missing dependencies when I built.  
Specifically, I was missing the dbus-python-devel package (I use  
fedora, not sure what the ubuntu equivalent is) so that might be the  
source of your problems.


Hope this helps,

Tim

On Jan 29, 2010, at 9:29 AM, Joshua Gardner wrote:


I have a really weird error. I installed PIDA this morning from the
mercurial trunk. I did it by running using checkinstall in combination
with the python distutils. (I ran sudo checkinstall python setup.py
intall --prefix /usr, which installed properly and made deb
packages.)

I use Vim as my preferred editor component. When I launch PIDA from
the terminal with the command pida it works perfectly fine. But if I
launch it from a GNOME launcher, using either the menu or GNOME Do, it
insists it can't find the GVim python bindings and gives me only Emacs
as an editor choice.

This is really weird, and I'm not sure what's the matter. I can't read
any console output to show any errors because whenever I launch it
from the console it works. Any hints on how to figure out what's wrong
would be much appreciated.

-Josh

--
You received this message because you are subscribed to the Google  
Groups PIDA group.

To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com 
.
For more options, visit this group at http://groups.google.com/group/pida?hl=en-GB 
.




--
You received this message because you are subscribed to the Google Groups 
PIDA group.
To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pida?hl=en-GB.



Re: Building 0.6beta3 on fedora

2010-01-09 Thread Tim Flink


On Jan 9, 2010, at 6:16 PM, RonnyPfannschmidt wrote:




On Jan 10, 1:49 am, RonnyPfannschmidt ronny.pfannschm...@gmail.com
wrote:

On Jan 10, 1:48 am, RonnyPfannschmidt ronny.pfannschm...@gmail.com
wrote:






On Jan 10, 1:36 am, RonnyPfannschmidt ronny.pfannschm...@gmail.com
wrote:



On Jan 10, 12:35 am, Tim Flink t...@tirfa.com wrote:



On Jan 9, 2010, at 4:28 PM, RonnyPfannschmidt wrote:



On Jan 7, 4:20 am, Tim t...@tirfa.com wrote:
I would like to try out the new 0.6 beta 3 of pida but I'm  
having

trouble getting it to build on Fedora 11. When I follow the
instructions for cloning from hg on trac (http://pida.co.uk/ 
wiki/

InstallationHowto) I get the following error out of setup.py:



sphinx not found, skipping user docs
running build_ext
gdk-pixbuf-csource --static --build-list\
MOO_HIDE_ICON hide.png  \
MOO_CLOSE_ICON close.png\
MOO_STICKY_ICON sticky.png  \
MOO_DETACH_ICON detach.png  \
MOO_ATTACH_ICON attach.png  \
MOO_KEEP_ON_TOP_ICON keepontop.png  \
 stock-moo.h.tmp  mv stock-moo.h.tmp
stock-moo.h
/bin/sh: gdk-pixbuf-csource: command not found
make: *** [stock-moo.h] Error 127
Traceback (most recent call last):
  File setup.py, line 202, in module
data_files=data_files,
  File /usr/lib/python2.6/distutils/core.py, line 152, in  
setup

dist.run_commands()
  File /usr/lib/python2.6/distutils/dist.py, line 975, in
run_commands
self.run_command(cmd)
  File /usr/lib/python2.6/distutils/dist.py, line 995, in
run_command
cmd_obj.run()
  File /usr/lib/python2.6/distutils/command/build_ext.py,  
line 343,

in run
self.build_extensions()
  File /usr/lib/python2.6/distutils/command/build_ext.py,  
line 469,

in build_extensions
self.build_extension(ext)
  File setup.py, line 94, in build_extension
cwd=os.path.join(os.path.dirname(__file__),'contrib/moo')
  File /usr/lib/python2.6/subprocess.py, line 462, in  
check_call

raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'prepare']'  
returned

non-zero exit status 2


I have gdk-pixbuff and gdk-pixbuff-devel installed from the  
Fedora
repositories but I can't seem to find a file named gdk-pixbuff- 
source

much less anything on the path.


Does anyone know of a fix or a workaround for this? I'm going  
to keep
looking but I figured that I would ask in case someone else  
runs into

this.


well, finally a reason to try fedora, i'll set up a vm and take  
a look

--
You received this message because you are subscribed to the  
Google

Groups PIDA group.
To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com
.
For more options, visit this group 
athttp://groups.google.com/group/pida?hl=en-GB
.


I figured part of it out but have been waiting for this to post  
to go

through before I sent anything else.


I think that gdk-pixbuff-csource was part of gtk2-devel but I  
ended up
installing that as part of another package. I'm in the process  
of re-
installing fedora on my machine so I'll be going through this  
again

soon, probably later today or tomorrow. I'll post fedora build
instructions once I have that figured out.



I was also having some issues installing the beta on Fedora but
haven't gotten around to figuring that out yet. 0.5 from the  
fedora
repositories works but for some reason, the beta can't seem to  
find

gvim, emacs or medit. I'll post more as I figure it out.



Tim


i'm set up for investigation now, hopefully we'll have a working  
set

of dependencies for fedora in a few moments



Ronny



ah, i also needed to install python-dbus-devel



so i guess the basic needs are pygtk-devel, gcc, python-dbus-devel,
gvim


ops, its actually called dbus-python-devel


ok, i upgraded the installation howto to add some of our findings, i
hope it will work, but i fear it might be incomplete

http://pida.co.uk/wiki/InstallationHowto needs a bit more review

Ronny
--
You received this message because you are subscribed to the Google  
Groups PIDA group.

To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com 
.
For more options, visit this group at http://groups.google.com/group/pida?hl=en-GB 
.


I went through the installation instructions on trac and ran into some  
issues with missing dependencies.


The list is currently:
pygtk-devel, gcc, dbus-python-devel

The list I needed to get pida to build and install was:
pygtk2-devel, gcc, dbus-python-devel, gtk2-devel

* Note the name change on pygtk2-devel, pygtk-devel isn't a valid  
package name


The installation issues I had before have gone away (I didn't have  
dbus installed before) and everything seems to be working now.


Thanks

Re: Building 0.6beta3 on fedora

2010-01-09 Thread Tim Flink


On Jan 9, 2010, at 9:46 PM, Tim Flink wrote:



On Jan 9, 2010, at 6:16 PM, RonnyPfannschmidt wrote:




On Jan 10, 1:49 am, RonnyPfannschmidt ronny.pfannschm...@gmail.com
wrote:

On Jan 10, 1:48 am, RonnyPfannschmidt ronny.pfannschm...@gmail.com
wrote:





On Jan 10, 1:36 am, RonnyPfannschmidt  
ronny.pfannschm...@gmail.com

wrote:



On Jan 10, 12:35 am, Tim Flink t...@tirfa.com wrote:



On Jan 9, 2010, at 4:28 PM, RonnyPfannschmidt wrote:



On Jan 7, 4:20 am, Tim t...@tirfa.com wrote:
I would like to try out the new 0.6 beta 3 of pida but I'm  
having

trouble getting it to build on Fedora 11. When I follow the
instructions for cloning from hg on trac (http://pida.co.uk/wiki/
InstallationHowto) I get the following error out of setup.py:



sphinx not found, skipping user docs
running build_ext
gdk-pixbuf-csource --static --build-list\
   MOO_HIDE_ICON hide.png  \
   MOO_CLOSE_ICON close.png\
   MOO_STICKY_ICON sticky.png  \
   MOO_DETACH_ICON detach.png  \
   MOO_ATTACH_ICON attach.png  \
   MOO_KEEP_ON_TOP_ICON keepontop.png  \
stock-moo.h.tmp  mv stock-moo.h.tmp
stock-moo.h
/bin/sh: gdk-pixbuf-csource: command not found
make: *** [stock-moo.h] Error 127
Traceback (most recent call last):
 File setup.py, line 202, in module
   data_files=data_files,
 File /usr/lib/python2.6/distutils/core.py, line 152, in  
setup

   dist.run_commands()
 File /usr/lib/python2.6/distutils/dist.py, line 975, in
run_commands
   self.run_command(cmd)
 File /usr/lib/python2.6/distutils/dist.py, line 995, in
run_command
   cmd_obj.run()
 File /usr/lib/python2.6/distutils/command/build_ext.py,  
line 343,

in run
   self.build_extensions()
 File /usr/lib/python2.6/distutils/command/build_ext.py,  
line 469,

in build_extensions
   self.build_extension(ext)
 File setup.py, line 94, in build_extension
   cwd=os.path.join(os.path.dirname(__file__),'contrib/moo')
 File /usr/lib/python2.6/subprocess.py, line 462, in  
check_call

   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'prepare']'  
returned

non-zero exit status 2


I have gdk-pixbuff and gdk-pixbuff-devel installed from the  
Fedora
repositories but I can't seem to find a file named gdk- 
pixbuff-source

much less anything on the path.


Does anyone know of a fix or a workaround for this? I'm going  
to keep
looking but I figured that I would ask in case someone else  
runs into

this.


well, finally a reason to try fedora, i'll set up a vm and  
take a look

--
You received this message because you are subscribed to the  
Google

Groups PIDA group.
To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com
.
For more options, visit this group 
athttp://groups.google.com/group/pida?hl=en-GB
.


I figured part of it out but have been waiting for this to post  
to go

through before I sent anything else.


I think that gdk-pixbuff-csource was part of gtk2-devel but I  
ended up
installing that as part of another package. I'm in the process  
of re-
installing fedora on my machine so I'll be going through this  
again

soon, probably later today or tomorrow. I'll post fedora build
instructions once I have that figured out.



I was also having some issues installing the beta on Fedora but
haven't gotten around to figuring that out yet. 0.5 from the  
fedora
repositories works but for some reason, the beta can't seem to  
find

gvim, emacs or medit. I'll post more as I figure it out.



Tim


i'm set up for investigation now, hopefully we'll have a working  
set

of dependencies for fedora in a few moments



Ronny



ah, i also needed to install python-dbus-devel



so i guess the basic needs are pygtk-devel, gcc, python-dbus-devel,
gvim


ops, its actually called dbus-python-devel


ok, i upgraded the installation howto to add some of our findings, i
hope it will work, but i fear it might be incomplete

http://pida.co.uk/wiki/InstallationHowto needs a bit more review

Ronny
--
You received this message because you are subscribed to the Google  
Groups PIDA group.

To post to this group, send an email to p...@googlegroups.com.
To unsubscribe from this group, send email to pida+unsubscr...@googlegroups.com 
.
For more options, visit this group at http://groups.google.com/group/pida?hl=en-GB 
.


I went through the installation instructions on trac and ran into  
some issues with missing dependencies.


The list is currently:
pygtk-devel, gcc, dbus-python-devel

The list I needed to get pida to build and install was:
pygtk2-devel, gcc, dbus-python-devel, gtk2-devel

* Note the name change on pygtk2-devel, pygtk-devel isn't a valid  
package name


The installation issues I had before have gone away (I didn't have  
dbus installed before) and everything seems to be working