tartavull / pyalienfx

Automatically exported from code.google.com/p/pyalienfx
GNU General Public License v3.0
0 stars 0 forks source link

Does't Work on Debian Wheezy #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I Just Run "sudo python pyAlienFX.py"

The Program does't start, And I Get This:

Initializing Driver  ...
Comnputer M14XR1 found ! Loading the parameters ...
Initializing Controller ...
the Deamon is disconnected ... 
Trying to load the driver manually
Loading : ./Profiles/Fire.cfg
SPEED =  51200
Initializing Interface ...
pyAlienFX.py:120: GtkWarning: Can't pass in construct-only parameters to 
cancel_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
pyAlienFX.py:120: GtkWarning: Can't pass in construct-only parameters to 
ok_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
Traceback (most recent call last):
  File "pyAlienFX.py", line 1279, in <module>
    gui.main()
  File "pyAlienFX.py", line 85, in main
    self.AlienFX_Main()
  File "pyAlienFX.py", line 198, in AlienFX_Main
    self.on_Advanced_Button_Clicked(self.AlienFX_Advanced_Button)
  File "pyAlienFX.py", line 883, in on_Advanced_Button_Clicked
    self.Create_zones()
  File "pyAlienFX.py", line 500, in Create_zones
    self.AlienFX_Preview_Hbox.pack_start(self.Widget_Zone(self.computer.regions[zone]), expand=False)
  File "pyAlienFX.py", line 534, in Widget_Zone
    c1 = gtk.gdk.Color('#'+self.configuration.area[zone.name][confId].color1)
KeyError: 'AH'

I use Debian Wheezy and my python version: 2.7.3~rc2-1 And an M14XR2
The previus Version still Works Fine.

Original issue reported on code.google.com by jisorian...@gmail.com on 17 Nov 2012 at 5:29

GoogleCodeExporter commented 9 years ago
By the way, I trying this in the new 1.0 version.

Original comment by jisorian...@gmail.com on 17 Nov 2012 at 5:32

GoogleCodeExporter commented 9 years ago
OK I'm checking it out now !

Original comment by ledjfou125 on 17 Nov 2012 at 12:37

GoogleCodeExporter commented 9 years ago
Corrected in 1.0.1 normally please check it out and tell me if it works ! 
(should !!)

Original comment by ledjfou125 on 17 Nov 2012 at 1:50

GoogleCodeExporter commented 9 years ago
Nice! it works!
Now I have other problem:

** (pyAlienFX.py:5879): CRITICAL **: murrine_style_draw_box: assertion `height 
>= -1' failed

Also, I can't change the color of the Alien head :(

Original comment by jisorian...@gmail.com on 17 Nov 2012 at 2:42

GoogleCodeExporter commented 9 years ago
Any chance you can give me the whole feedback ? And that is weird ... do you 
have GTK installed as well as pyGTK ? what does it do exactly does it work at 
least partially ? 

When you try to change the AlienHead you mean the one on the back of the screen 
or the power button ? if it's the Powerbutton it will only work when you press 
Save and not Preview ! 

Original comment by ledjfou125 on 17 Nov 2012 at 3:07

GoogleCodeExporter commented 9 years ago
I really do not know why I started to change the color of the alien's head. 
everything seems fine now. but I always say this when I run:

$ sudo python pyAlienFX.py 
Initializing Driver  ...
Comnputer M14XR1 found ! Loading the parameters ...
Initializing Controller ...
the Deamon is disconnected ... 
Trying to load the driver manually
Loading : ./Profiles/Verde-BotonMorado.cfg
SPEED =  65280
Initializing Interface ...
pyAlienFX.py:123: GtkWarning: Can't pass in construct-only parameters to 
cancel_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
pyAlienFX.py:123: GtkWarning: Can't pass in construct-only parameters to 
ok_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')

** (pyAlienFX.py:17809): CRITICAL **: murrine_style_draw_box: assertion `height 
>= -1' failed

Original comment by jisorian...@gmail.com on 18 Nov 2012 at 6:27

GoogleCodeExporter commented 9 years ago
Ok but everything does work ? 

The first two messages

pyAlienFX.py:123: GtkWarning: Can't pass in construct-only parameters to 
cancel_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
pyAlienFX.py:123: GtkWarning: Can't pass in construct-only parameters to 
ok_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')

Are just warnings that I know about and I can't prevent them to show up,

** (pyAlienFX.py:17809): CRITICAL **: murrine_style_draw_box: assertion `height 
>= -1' failed

That I don't understand but from what I gathered it should not be a problem 
right ? It works ? (It says it can't pass height = -1 which is normal in GTK -1 
= auto)

So can I close the bug ? 

Original comment by ledjfou125 on 18 Nov 2012 at 1:08

GoogleCodeExporter commented 9 years ago
Close the bug :)
All works fine now
By the way, can I Help to translate to Spanish?
I only have to modify the AlienFXTexts file. 

Original comment by jisorian...@gmail.com on 18 Nov 2012 at 6:18

GoogleCodeExporter commented 9 years ago
All good then ! I close !

As for spanish, first normally most of the GUI is translated already by GTK. So 
it remains the buttons and the names of the area ... the names are indeed in 
the AlienFXText but I did not implement anything for multi language support ... 
I guess that won't be that hard but to be honnest I don't really have the time 
now and I wonder the real gain to translate 3 buttons ... But if you want to do 
it please this is open source which mean you can do as you like ! 

If you do such thing I'll help you work it out and then we can merge it ! 
Please contact me by email for further discution on it ;D !

Original comment by ledjfou125 on 18 Nov 2012 at 9:28

GoogleCodeExporter commented 9 years ago
closed

Original comment by ledjfou125 on 18 Nov 2012 at 9:28