![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
|
Fixing libgmail pipe-menu for Openbox window-manager
Hey guys. I though I was clever, and took my basic Python skills, that I got for one year ago, reading trough some tutorials and stuff.. I digged into this simple pipe-menu for the window-manager Openbox, that shows if you have new messages in GMail in the right-click Openbox menu.
I quickly found out, that the newest version wouldn't work, the only one that worked, was the slow 0.1 proof-of-concept code. Old code (works): http://gamma.pnosker.com/files/gmail-openbox-0.0.1.py New code (crashes): http://gamma.pnosker.com/files/gmail-openbox-0.0.3.1.py I tried running both in Python instead of trough Openbox, and the latest code (0.0.3.1) gives me this: http://pastebin.com/m71cec523 I was wondering what in the new code makes it behave like this? I think that it looks like using the same functions with same parameters, but I couldn't find a trace of those errors. If I try to run it as the pipe-menu (which of course doesn't work neither) Openbox says this: http://pastebin.com/m339e39d2 Hehe, Openbox' error message is quite weird, cause of course the file exists, I replaced it myself, it just won't work, but claiming it doesn't exist is a lie, and maybe a coding issue of Openbox itself. I would really appreciate this, not only because of helping me, but also to help me understand this code and why it errors.
__________________
Come in and have a talk! #programmingforums @ Freenode Specialities: Linux, XHTML/HTML and CSS. Learning: Python Folding@Home Stats System Requirements: Windows 9x/ME/2000/XP or better Okay, that makes it run on Linux right? |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Popup Menu | titaniumdecoy | Java | 7 | Mar 12th, 2006 11:17 AM |
| Download Blocker Finished - Random Text in Window Title? | bigguy | Visual Basic | 1 | Jan 13th, 2006 1:05 PM |
| dropdown menu with persistence? | kerriganm | HTML / XHTML / CSS | 11 | Dec 17th, 2005 2:33 PM |
| Arranging Views of Project Explorer, Property window and Form Layout | java_roshan | Visual Basic | 6 | Sep 30th, 2005 2:55 PM |
| Need help with a realtime branching menu | Zeteg | JavaScript and Client-Side Browser Scripting | 11 | Aug 27th, 2005 11:36 AM |