Oh, if the wxPython demo works ok and you see the icon, then maybe the
problem is relax's paths.  Could you run relax in the prompt UI mode
and then type:

relax> import graphics
relax> print(graphics.status.install_path)
relax> print(graphics.ANALYSIS_IMAGE_PATH)
relax> print(graphics.WIZARD_IMAGE_PATH)
relax> print(graphics.IMAGE_PATH)

and then check that all the directories that are printed out are
correct.  Also, try running:

relax> graphics.fetch_icon("relax.noe", size="16x16")

and see if the icon is correctly found - i.e. the directories are
exactly correct.

Cheers,

Edward

On 12 June 2013 13:56, Edward d'Auvergne <[email protected]> wrote:
> Hi,
>
> I'm using exactly the same versions without the problem.  However I
> wouldn't say that you have an incorrect version/setting, at least not
> without more testing.  Could you run the wxPython demo (make sure it
> is for this wxPython version) as follows:
>
> - first run the demo.py file,
> - go to the "Core Windows/Controls",
> - select "Menu",
> - go to the "Demo" tab,
> - click on "Show the Menu sample",
> - in the new window, click on the "Fun" menu,
> - check that you see a smiley face in the first menu entry.
>
> If there is no smiley face, then the problem is in wxPython.
> Otherwise there is a problem with relax and the setup you have.  Also
> when you run relax from the terminal, do you see any wxPython error
> messages?  Or GTK+ errors?  Do you see any errors if you use the
> --debug command line option when running relax?
>
> Regards,
>
> Edward
>
>
> On 12 June 2013 13:23, Troels Emtekær Linnet <[email protected]> wrote:
>> Hi Edward.
>>
>> I actually have the problem with:
>> relax_trunk
>> relax_disp
>> relax 2.2.5
>>
>> so I think something is wrong with my installation.
>>
>> My current version of wxPython:
>> import wx
>> wx.version()
>> '2.8.10.1 (gtk2-unicode)'
>>
>> I wonder if I have correct versions / settings of wxWidgets and wxPython.
>>
>>
>>
>>
>> Troels Emtekær Linnet
>>
>>
>> 2013/6/11 Edward d'Auvergne <[email protected]>:
>>> Hi Troels,
>>>
>>> Did you get your icons back?  Do you have the same problem with the
>>> relax trunk?  If you still cannot see your icons, could you run relax
>>> with the debugging flag '--debug' and see if there are any messages
>>> about paths to files not being found?
>>>
>>> Cheers,
>>>
>>> Edward
>>>
>>>
>>>
>>> On 10 June 2013 14:34, Edward d  Auvergne
>>> <[email protected]> wrote:
>>>> Update of bug #20884 (project relax):
>>>>
>>>>                   Status:                    None => Need Info
>>>>                  Release:       Repository: trunk => Branches
>>>>
>>>>     _______________________________________________________
>>>>
>>>> Follow-up Comment #1:
>>>>
>>>> This is strange!  I can see from the screenshot that the icons are used in 
>>>> the
>>>> buttons, so this is not a broken path issue.  Normally when this happens, 
>>>> you
>>>> receive a error dialog when launching relax.  Did you see this?
>>>>
>>>> I can also see from the screenshot that this is the relax_disp branch and 
>>>> not
>>>> the relax trunk, so I'm changing that part.  I would also recommend that 
>>>> you
>>>> run:
>>>>
>>>> $ svn up
>>>>
>>>> as this branch is constantly changing and hence you might on an old 
>>>> revision
>>>> that has issues.  Using r20006 of this relax_disp branch, I have all my 
>>>> menu
>>>> icons showing.
>>>>
>>>>     _______________________________________________________
>>>>
>>>> Reply to this item at:
>>>>
>>>>   <http://gna.org/bugs/?20884>
>>>>
>>>> _______________________________________________
>>>>   Message sent via/by Gna!
>>>>   http://gna.org/
>>>>
>>>>
>>>> _______________________________________________
>>>> relax (http://www.nmr-relax.com)
>>>>
>>>> This is the relax-devel mailing list
>>>> [email protected]
>>>>
>>>> To unsubscribe from this list, get a password
>>>> reminder, or change your subscription options,
>>>> visit the list information page at
>>>> https://mail.gna.org/listinfo/relax-devel

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to