473,321 Members | 1,667 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Fatal python error: can't initialise module trayicon

varuns
39
hi

while importing my module i m getting error as

Expand|Select|Wrap|Line Numbers
  1. Fatal Python error: can't initialise module trayicon
i have made my own module derived from gtk to be accessible from python.

whether the problem is due to pygtk or gtk not installed properly.


thanks
varun
varun
Jul 2 '07 #1
3 1836
Uh?
you should tell us more about your module...For example if it's c++ written and so on, could be nice also your os

>>>import XXX
Fatal Python error: can't initialise module trayicon
>>>

Do you get something like this??Thanks
Jul 2 '07 #2
bartonc
6,596 Expert 4TB
Uh?
you should tell us more about your module...For example if it's c++ written and so on, could be nice also your os

>>>import XXX
Fatal Python error: can't initialise module trayicon
>>>

Do you get something like this??Thanks
Hi Luke. It's good to see you around. His OS is
my OS is Ubuntu 6.10 the edgy
Python version is 2.5
i use vi editor
Jul 2 '07 #3
varuns
39
my OS is Ubuntu 6.10 the edgy
Python version is 2.5
i use vi editor

i have written my code in C language, and my object has been derived from GtkVBox, i want it to be extended to python, so i wrote some of the wrapper code and rest generated by h2def.py and "pygtk-codegen" tool.

all works fine but when i do import Vbox (name of my module)

import Vbox
Fatal python error: can't initialise module trayicon

is printed on to the screen

Is it that pygtk or gtk is not installed properly
Jul 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Randell D. | last post by:
Folks, I feel like pulling my hair out - I tried unsuccessfully over the past few days to install ImagMagick but because of version conflicts and missing libraries I had to give up. I originally...
0
by: ken erickson | last post by:
Is Python Megawidgets 1.1 compatible with Python 2.2.3. I'm new to Python and I'm trying to work my way through some example is John Grayson's Python and Tkinter Programming book. He has some...
2
by: disgracelands | last post by:
I've been looking at using python and it's been going fairly well so far, i can call C from python and python from C fine but now i've hit a snag and i'm wondering how you guys have got around it....
11
by: Nick Keighley | last post by:
I'm probably missing something rather obvious, but is there a known problem with getting a Python based socket program to communicate with a C based socket program? A simple echo server written in...
1
by: Egil M?ller | last post by:
I'm developing a larger Python program, and one component (a text parser for a networking protocol) happend to be terribly slow, while quite a simple piece of code, so I decided to reimplement it...
8
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to...
12
by: TristaSD | last post by:
Hi, Here's a nice footer I get inside every php page I write in wwwroot on my server. The code gets parsed just fine. I installed php5.2-win32 under W2K Server, IIS 5.0. I've installed php on...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside...
0
by: vishnu | last post by:
Hello All, I have embedded python 2.5 in to my C application. As we need the python scripts to run in multi threaded environment I have used Py_NewInterpreter() and Py_EndInterpreter each time I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.