ralsina / marave

Automatically exported from code.google.com/p/marave
GNU General Public License v2.0
0 stars 2 forks source link

'MainWidget' object has no attribute 'mainMenu' #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I thought I'd try Marave on my other computer and this is what I got. I 
think I installed all the neede deps ;-/.

What steps will reproduce the problem?
1. python main.py
2. Marave doesn't run

What version of the product are you using? On what operating system?
Kubuntu 9.10 amd64, kwin desktop effects, Oxygen theme, KDE 4.3, PyQt 4.6, 
python 2.6, installed python-enchant and python-qt-phonon.

Please provide any additional information below.
terminal output:

ck@moloch:~/Tools/marave/marave-read-only/marave$ python main.py 
Traceback (most recent call last):                               
  File "main.py", line 1285, in <module>                         
    main()                                                       
  File "main.py", line 1271, in main                             
    window=MainWidget(opengl=options.opengl)
  File "main.py", line 471, in __init__
    self.adjustPositions()
  File "main.py", line 1079, in adjustPositions
    self.mainMenu.setPos(self.editorX+self.editorW+3*m,self.editorY)
AttributeError: 'MainWidget' object has no attribute 'mainMenu'

Original issue reported on code.google.com by cyberkil...@gmail.com on 12 Feb 2010 at 7:30

GoogleCodeExporter commented 9 years ago
forgot to add: Marave r218

Original comment by cyberkil...@gmail.com on 12 Feb 2010 at 7:31

GoogleCodeExporter commented 9 years ago
Race condition, try r220

Original comment by roberto.alsina on 12 Feb 2010 at 7:52

GoogleCodeExporter commented 9 years ago
in r220:

ck@moloch:~/Tools/marave/marave-read-only/marave$ python main.py 
Traceback (most recent call last):                               
  File "main.py", line 1275, in <module>                         
    main()                                                       
  File "main.py", line 1261, in main                             
    window.loadprefs()                                           
  File "main.py", line 679, in loadprefs                         
    self.loadtheme(1)                                            
  File "main.py", line 570, in loadtheme                         
    self.loadprefs()                                             
  File "main.py", line 681, in loadprefs                         
    self.loadGeometry()
  File "main.py", line 672, in loadGeometry
    self.adjustPositions()
  File "main.py", line 1062, in adjustPositions
    self.mainMenu.setPos(self.editorX+self.editorW+3*m,self.editorY)
AttributeError: 'MainWidget' object has no attribute 'mainMenu'

Original comment by cyberkil...@gmail.com on 12 Feb 2010 at 7:55

GoogleCodeExporter commented 9 years ago
Reproduced it: happens without a config file.

Original comment by roberto.alsina on 12 Feb 2010 at 8:20

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r221.

Original comment by roberto.alsina on 12 Feb 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Confirm, r221 fixes the problem.

Original comment by cyberkil...@gmail.com on 12 Feb 2010 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by roberto.alsina on 12 Feb 2010 at 8:45