From: gimick <bb...@gm...> - 2013-08-05 16:35:05
|
hello, almost certainly the default python version on your distribution is python3. fpdb needs python2.6 or 2.7. Probably easiest if you install python 2.7 and then edit the fpdb py files to change the location of python. If you look in run_fpdb.py, just now, fpdb uses this: #!/usr/bin/env python (which is "correct" for debian linux) My guess is you will need to edit this to say #!/usr/bin/env python2 >From memory, the following files will need to be changed on your local system: run_fprdb.py pyfpdb/fpdb.pyw pyfpdb/HUD_main.pyw pyfpdb/DetectInstalledSites.py Let me know if you still are having problems. Steve~ On Mon, Aug 5, 2013 at 10:43 AM, Michael Körner <koe...@ho... > wrote: > Hello, > > I have installed fpdb on my gentoo system with the live ebuild found in > the tarball. When i try to run it I get the following error: > > File "fpdb_prerun.py", line 95 > print message > ^ > SyntaxError: invalid syntax > > Any idea how i can resolve this? > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Fpdb-main mailing list > Fpd...@li... > https://lists.sourceforge.net/lists/listinfo/fpdb-main > |