Page 14 of 19 FirstFirst ... 41213141516 ... LastLast
Results 131 to 140 of 188

Thread: Power Management gui

  1. #131
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    I think I fixed the problem with the installer, just haven't uploaded it yet as I'm still working on the firefox launcher. I couldn't reproduce your error with not being able to click ok, could you run wattospm.py from the terminal and see if you get any errors?

  2. #132
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    It looks like it is complaining about not being able to open the config file:

    Code:
     python wattospm.py 
    Traceback (most recent call last):
      File "wattospm.py", line 530, in change_activation_mode
        Config.write(open("/etc/wattospm/config","w"))
    IOError: [Errno 13] Permission denied: '/etc/wattospm/config'

    And here would be why:

    Code:
    /etc/wattospm$ ls -l
    total 8
    -rw-r--r-- 1 root root 2497 2008-12-18 09:39 config
    -rw-r--r-- 1 root root 2456 2008-12-17 07:37 config.default
    Looks like when the installer ran last it created the files as root and not as the correct user.

  3. #133
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Just a question: Is the utility doing anything to the eth0 controller after a switch to battery is detected. For some reason once i go to battery mode my giga network connection disconnects and then reconnects locked at 100mb. The only way to get back to giga is to reboot with the power connected. Going from battery to AC does not do a similar disconnect of the card, only ac to battery.

  4. #134
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    Well that explains it for the config file, when you tried updateing last it failed on the step before the one that chowns the config file to the powermanagers group.
    For the ethernet connection theres nothing that should effect it, you could try turning off any options in the modules section and see if that helps(they're bluetooth, usb, and firewire but you never know) and checking dmesg when you unplug it.

  5. #135
    Join Date
    Nov 2005
    Beans
    60
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Power Management gui

    I did a fresh install here.
    The program didn't recognize neither the username nor the cd-rom drive. it used to do it before.
    The other things are running fine here.
    What about that option of taking down the ethernet interface?
    My eth0 wakes up a lot my processor!

  6. #136
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    I'll add the username detection into the installer, it doesn't work right with the daemon that's why I took it out. I'll take another look at the cd-rom but it was still working for me. I was working on the option for taking down network devices but stopped when I seperated it into the gui and daemon, still working out the bugs on that and adding a firefox launcher, once I get that stuff done I'll start working on it again.

  7. #137
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Your work on this is awesome, thanks again.

  8. #138
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    I added back in username autodetection and hopefully fixed the error you were having with the updater, you'll have to update this time manually though. Added the firefox launcher, but be careful with it. Make sure you close firefox before you turn off the machine or it won't restore your profile (it makes a backup and will restore from that the next time you launch firefox) also you need rsync installed first, I think it's installed by default now though. I'll try to get to the network interface options tomorrow.

    edit: thanks chadeldridge I'm having fun working on this, and I appreciate the troubleshooting

    edit again: ok tested out the firefox launcher more, it works if you start wattospm.py from the terminal... but for some reason it doesn't work right otherwise
    Last edited by iggykoopa; December 19th, 2008 at 06:30 AM.

  9. #139
    Join Date
    Nov 2005
    Beans
    60
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Power Management gui

    Quote Originally Posted by chadeldridge View Post
    Your work on this is awesome, thanks again.
    Yep
    iggykoopa, you are definitely doing a great job building this GUI, I am gonna use this moment to say thanks as well.

  10. #140
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    FYI .. after manual checkout from SVN and running the installer:


    Code:
    sudo python installer.py install
    [sudo] password for chad: 
     Removing any system startup links for /etc/init.d/wattospm-daemon ...
       /etc/rc0.d/K20wattospm-daemon
       /etc/rc1.d/K20wattospm-daemon
       /etc/rc2.d/S20wattospm-daemon
       /etc/rc3.d/S20wattospm-daemon
       /etc/rc4.d/S20wattospm-daemon
       /etc/rc5.d/S20wattospm-daemon
       /etc/rc6.d/K20wattospm-daemon
    Traceback (most recent call last):
      File "installer.py", line 116, in <module>
        install("new")
      File "installer.py", line 82, in install
        shutil.copy("firelaunch.py","/usr/bin/firelaunch.py")
      File "/usr/lib/python2.5/shutil.py", line 85, in copy
        copyfile(src, dst)
      File "/usr/lib/python2.5/shutil.py", line 51, in copyfile
        fsrc = open(src, 'rb')
    IOError: [Errno 2] No such file or directory: 'firelaunch.py'

Page 14 of 19 FirstFirst ... 41213141516 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •