Quote:
Originally Posted by Gallopin Gael
I don't even know where to begin looking for where I screwed up in the process.
I just put together a troubleshooting guide, to determine why it isn't running. While putting it together I became even more convinced that we need to get busy on a windows installer and I am going to propose to Steffen that we don't make another release until be have one.
OK, so here is the troubleshooting process:
You could just skip to 5 and see what happens there. It might give you a clue on the rest of this stuff.
1. You rebooted after the install process, right? If not, try rebooting before you start the rest of this torture.
2. Check to see if you have a default.conf file:
open a command line and type:
dir c:\"Documents and Settings"\YOUR_USER_NAME\"Application Data"\fpdb
you should see this:
Directory of c:\Documents and Settings\YOUR_USER_NAME\Application Data\fpdb
08/29/2008 09:15 PM <DIR> .
08/29/2008 09:15 PM <DIR> ..
08/26/2008 09:28 PM 249 default.conf
1 File(s) 249 bytes
2 Dir(s) 21,159,768,064 bytes free
If you don't see a default.conf file. You need to copy the one in the docs dir where you installed fpdb.
3. OK here's a simple way to see if you have the prerequisite libraries installed:
open a command line and type:
C:\Python25\python.exe
and enter.
You should see a >>> prompt of the python interpreter. Here is an annotated interpreter session on my machine, testing that I have the required libraries installed properly.
>>> <----I just hit some enters here to get some spaces
>>>
>>>
>>> import pycairo
Traceback (most recent call last): <---This is failure. There is no pycairo library
File "<stdin>", line 1, in <module>
ImportError: No module named pycairo
>>>
>>>
>>> import cairo <-------This is success, cairo library installed OK. If it didn't, then it is step 28 that went wrong.
>>>
>>>
>>> import pygtk <----- If this failed then step 30 went bad
>>>
>>>
>>> import gtk <----- steps 24-27
>>>
>>>
>>> import MySQLdb <------- 23
>>>
>>>
>>>
>>> import gobject <-------- 29
>>>
>>>
>>>
type cntrl-Z and enter to get out
If you didn't get any errors. Then all the libraries are properly installed. If you did, just repeat the step for the library that didn't install properly.
4. OK, while you have that command line type:
path
and hit enter
You should see something like:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32\Wbem;
c:\gtk\bin
Only much longer. The key thing is that you see the c:\gtk\bin bit. It should also be separated from the dirs before and after by a semicolon.
5. OK. If everything is fine so far you need to cd to the dir where you installed fpdb. For me that is:
cd Desktop\Download\fpdb\fpdb-alpha2-p68\pyfpdb
and hit enter
type:
fpdb.py
and hit enter
You should see the fpdb main screen. If not you should get a human readable error message in the command line window. What is it?