Your message dated Fri, 10 Oct 2014 19:40:57 +0200
with message-id <[email protected]>
and subject line Re: Bug#762685: pyspread: fails to start because 
"SESSION_MANAGER environment variable not defined"
has caused the Debian Bug report #762685,
regarding pyspread: fails to start because "SESSION_MANAGER environment 
variable not defined"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
762685: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pyspread
Version: 0.3.3-1
Severity: important

Dear Maintainer,

I started pyspread from bash, typing "pyspread <RET>" at the shell prompt
in a xterm, but pyspread didn't start and the python interpreter produced
the following backtrace in the terminal emulator:
========================================================================
02:25:53 PM: Debug: Failed to connect to session manager: SESSION_MANAGER
environment variable not defined
Traceback (most recent call last):
  File "/usr/bin/pyspread", line 241, in <module>
    pyspread()
  File "/usr/bin/pyspread", line 227, in pyspread
    app = MainApplication(S=S, redirect=False)
  File "/usr/bin/pyspread", line 156, in __init__
    wx.App.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8631,
in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196,
in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/bin/pyspread", line 166, in OnInit
    from src.gui._main_window import MainWindow
  File "/usr/share/pyspread/src/gui/_main_window.py", line 53, in <module>
    from _grid import Grid
  File "/usr/share/pyspread/src/gui/_grid.py", line 48, in <module>
    from src.model.model import CodeArray
  File "/usr/share/pyspread/src/model/model.py", line 81, in <module>
    class CellAttributes(list):
  File "/usr/share/pyspread/src/model/model.py", line 99, in CellAttributes
    "bordercolor_bottom": get_color(config["grid_color"]).GetRGB(),
  File "/usr/share/pyspread/src/sysvars.py", line 82, in get_color
    return wx.SystemSettings.GetColour(name)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_misc.py", line 160, in
GetColour
    return _misc_.SystemSettings_GetColour(*args, **kwargs)
TypeError: in method 'SystemSettings_GetColour', expected argument 1 of type
'wxSystemColour'
========================================================================

This behaviour makes pyspread completely unsuitable for my purposes.

Is it possible that a desktop environment is REQUIRED to run the program?

Thank you in advance,
                                                   gb



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pyspread depends on:
ii  python-gnupg       0.3.6-1
ii  python-matplotlib  1.3.1-2
ii  python-numpy       1:1.8.2-2
ii  python-wxgtk3.0    3.0.0.0+dfsg-4
pn  python:any         <none>

Versions of packages pyspread recommends:
ii  python-jedi  0.8.0-1
ii  python-xlrd  0.9.2-1
ii  python-xlwt  0.7.5+debian1-1

Versions of packages pyspread suggests:
ii  python-mpltoolkits.basemap  1.0.7+dfsg-1
ii  ttf-mscorefonts-installer   3.5

-- no debconf information

--- End Message ---
--- Begin Message ---
Den 10. okt. 2014 11:01, skrev Giacomo Boffi:
Andreas Noteng wrote:

Can you please try deleting or moving the file ~/.pyspreadrc and see if
the problem persists?

I've moved away .pyspreadrc and my problem went away as well,
thank you very much.

I atttach a diff between the new .pyspereadrc and the previous one,
ciao
                                                       gb

If you upgraded from 0.2x this is a known problem noted in the NEWS file. Closing the bug report.

Cheers
Andreas Noteng

--- End Message ---

Reply via email to