• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

SOLVED odd python problem (linux)

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Stratus_ss

Overclockix Snake Charming Senior, Alt OS Content
Joined
Jan 24, 2006
Location
South Dakota
So I have this application I wrote in python, its a front end for aptitude. It simply asks for a search term, and then parses the output and puts it in a gui for selection

The problem is that which I launch it by double clicking the actual file, on a symbolic link or a Desktop Launcher, the program displays different results then when run from the terminal (see screen shot)

Any idea why this would be? I am completely confused

The temp file is created thusly

Code:
        os.system("aptitude search %s > /home/%s/.tux_search/somefile" % (search,get_username) )
 

Attachments

  • aptitude_error.png
    aptitude_error.png
    144.9 KB · Views: 35
  • launcher.png
    launcher.png
    32 KB · Views: 33
found the problem, it was a pathing problem inside of the main py
 
Back