1

Topic: Problem in OpenSUSE 12.3

Hello,

  I installed the program in a new system with OpenSUSE 12.3 and KDE4 from the repository ([url]http://download.opensuse.org/repositories/home:/segi:/mmass/openSUSE_12.3/[/url]) using Yast2.

  When started from the Application menu the cursor blinks for a while and then disappears. When running from the terminal, the following message is returned:

user@suse2:~> mmass
Traceback (most recent call last):
  File "/usr/share/mmass/mmass.py", line 162, in <module>
    server.server_bind()
  File "/usr/lib64/python2.7/SocketServer.py", line 419, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -2] Name or service not known
user@suse2:~>

  This either as user or root. It is possible to solve this?

Thank you!

2

Re: Problem in OpenSUSE 12.3

Hi,

I am not familiar with linux but the config folder should be in "~/.mmass/configs/config.xml".

So locate and open this file and change the:

<param name="useServer" value="1" type="int" />

to:

<param name="useServer" value="0" type="int" />


This should help.

3

Re: Problem in OpenSUSE 12.3

Thank you! It works.

Only to report, two minor issues that doesn't seems to create any problem in analysing and saving the data: When the program starts it shows a message box "Document doesn't exists. Specified document path cannot be found or is temporarily unavailable", and the menu "open recent" remains allways empty.

   And if a data file is open and the program is closed (quit) it shows the following error message:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):

  File "/usr/share/mmass/gui/panel_documents.py", line 374, in onItemSelected
    self.parent.updateNotationMarks()

  File "/usr/share/mmass/gui/main_frame.py", line 4008, in updateNotationMarks
    self.spectrumPanel.updateNotationMarks(None, refresh=refresh)

  File "/usr/share/mmass/gui/panel_spectrum.py", line 810, in updateNotationMarks
    self.refresh()

  File "/usr/share/mmass/gui/panel_spectrum.py", line 1139, in refresh
    self.spectrumCanvas.refresh(fullsize=fullsize)

  File "/usr/share/mmass/mspy/plot_canvas.py", line 2044, in refresh
    self.draw(graphics, xAxis, yAxis)

  File "/usr/share/mmass/mspy/plot_canvas.py", line 1106, in draw
    xAxisTicks = self.makeAxisTicks(xAxis[0], xAxis[1])

  File "/usr/share/mmass/mspy/plot_canvas.py", line 2199, in makeAxisTicks
    rnd = int(abs(numpy.floor(log)))

OverflowError: cannot convert float infinity to integer

-------------------------
mMass: 5.5.0
Python: ('2', '7', '3')
wxPython: 2.8.12.1 (gtk2-unicode)
NumPy: 1.6.2
-------------------------
Architecture: ('64bit', 'ELF')
Machine: x86_64
Platform: Linux-3.7.10-1.16-desktop-x86_64-with-SuSE-12.3-x86_64
Processor: x86_64
System: Linux
Mac: ('', ('', '', ''), '')
MSW: ('', '', '', '')
Linux: ('SuSE', '12.3', 'x86_64')
-------------------------
Add your comments:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


  Thank you again, and best regards.
Marcio