Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#37 rox-session/0install errors in panel

closed-fixed
ROX-Session (4)
5
2004-05-09
2004-04-13
Taco Buitenhuis
No

The following things go wrong when "installing"
rox-session and rox with 0install:

- The exit icon appears twice in the panel. I think the
left one should open
/uri/0install/rox.sourceforge.net/apps instead of to
rox-session.

- The "right" exit icon points to
ROX-Session/ROX-Session-0.1.21 instead of just
ROX-Session.

- The i icon tries to run rox, but there is no such
binary in the PATH. I temporarily solved this by
creating a symlink from /usr/local/bin/rox to
/uri/0install/rox.sourceforge.net/rox .

Everything else works fine.

Discussion

1 2 > >> (Page 1 of 2)
  • Thomas Leonard
    Thomas Leonard
    2004-04-13

    • assigned_to: nobody --> tal197
     
  • Thomas Leonard
    Thomas Leonard
    2004-04-13

    Logged In: YES
    user_id=40461

    OK, I've fixed the guide (in CVS). Guess noone's ever tried
    to read the instructions before ;-)

    I'm not sure how you managed to get two ROX-Session icons,
    though. The panel is created by the shell script
    ROX-Session/SetupPanel.

    Could you try running it manually? Eg:

    $ cd
    /uri/0install/rox.sourceforge.net/apps/ROX-Session/ROX-Session-0.1.21
    $ ./SetupPanel `pwd` /tmp

    Then have a look at /tmp/ROX-Filer/pan_Default.

    Thanks,

     
  • Logged In: YES
    user_id=1020182

    <?xml version="1.0"?>
    <panel>
    <start>
    <icon label="Home">~</icon>
    <icon
    label="Apps">/uri/0install/rox.sourceforge.net/apps/ROX-Session</icon>
    <icon label='cdrom'>/mnt/cdrom</icon><icon
    label='cdrw'>/mnt/cdrw</icon><icon
    label='debian'>/mnt/debian</icon><icon
    label='floppy'>/mnt/floppy</icon><icon
    label='stick'>/mnt/stick</icon>
    </start>
    <end>
    <icon label="Session"
    shortcut="Control+Shift+F12">/uri/0install/rox.sourceforge.net/apps/ROX-Session/ROX-Session-0.1.21</icon>
    <icon
    label="Guide">/uri/0install/rox.sourceforge.net/apps/ROX-Session/ROX-Session-0.1.21/Help/Guide</icon>
    </end>
    </panel>

    As you can see both "Apps" and "Session" point one directory
    too deep.
    I also think "Guide" is not correct: it will never get
    upgraded because of the version number in it's path. Maybe
    it should get it's own AppDir?

     
  • Logged In: YES
    user_id=1020182

    Another thing: when I click "Guide", I get this:

    Error
    No run action specified for files of this type (text/html) -
    you can set a run action by choosing `Set Run Action' from
    the File menu, or you can just drag the file to an application.

    I know I have to find a html file somewhere and set a run
    action to make the documentation work. A newbie who needs
    the documentation clearly doesn't know this.
    Let's see what the newbie will do...
    - try to find the file menu. failure!
    - in a miracle, find firefox. dragging the guide icon to
    firefox gives a directory listing. one of the files is
    guide.html.
    Maybe the guide should try to find a browser instead of
    assume that the run action is set correctly? After all you
    need the guide to learn how to set a run action: chicken and
    egg problem.

     
  • Thomas Leonard
    Thomas Leonard
    2004-04-25

    Logged In: YES
    user_id=40461

    OK, I think all the issues here should be fixed with the new
    ROX-Session release, except the default MIME stuff (which I
    intend to fix in ROX-Filer instead).

    Please test...

    Thanks,

     
  • Thomas Leonard
    Thomas Leonard
    2004-04-25

    • status: open --> pending-fixed
     
    • status: pending-fixed --> open-fixed
     
  • Logged In: YES
    user_id=1020182

    Sorry, cannot test it.
    "Failed to import dbus module." I tried compiling dbus with
    python enabled (./configure --prefix=/usr --enable-python)
    but it won't compile:
    configure: Checking to see if we can build Python bindings
    checking for a Python interpreter with version >= 2.2... python
    checking for python... /usr/bin/python
    checking for python version... 2.3
    checking for python platform... linux2
    checking for python script directory...
    ${prefix}/lib/python2.3/site-packages
    checking for python extension module directory...
    ${exec_prefix}/lib/python2.3/site-packages
    checking for pyrexc... no
    checking for headers required to compile python
    extensions... found
    configure: error: Building python explicitly requested, but
    can't build python bindings
    I found pyrex, but I have no idea yet how to build a decent
    Arch linux package for it.

     
  • Thomas Leonard
    Thomas Leonard
    2004-04-27

    Logged In: YES
    user_id=40461

    For pyrex, do 'python setup.py install' to install it.

    However, this puts it in /usr/local/lib/python2.2/site-packages

    Some distros don't have this directory in PYTHONPATH. In
    that case, copy
    the two files to

    /usr/lib/python2.2/site-packages

    (ie, without the '/local' bit)

     
  • Logged In: YES
    user_id=1020182

    Just built an Arch package for pyrex :)
    Everything seems to work fine for my test user.

     
1 2 > >> (Page 1 of 2)