ghuckle78 / tftpgui

Automatically exported from code.google.com/p/tftpgui
Other
0 stars 0 forks source link

Need help to use TFTP Server #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
Hello,

You program it's really good.
But i search start this TFTP Server in my programs without GUI 
initialization.
I have try this :
tftphq.startserver("C:\Program Files\TFTPgui\tftpgui.cfg")
Traceback (most recent call last):
  File "<pyshell#6>", line 1, in <module>
    tftphq.startserver("C:\Program Files\TFTPgui\tftpgui.cfg")
  File "C:\Python25\lib\tftphq.py", line 161, in startserver
    start_logging(setupdict)
  File "C:\Python25\lib\tftphq.py", line 586, in start_logging
    logfile=os.path.join(setupdict["logfolder"],"tftplog")
TypeError: string indices must be integers

But what is the type of the variable named "setupdict" ?
Can you help me?
Thanks in advance.

Original issue reported on code.google.com by fabiengi...@gmail.com on 24 Apr 2008 at 3:37

GoogleCodeExporter commented 8 years ago
Version 2 has been re-written (after several years in which my Python knowledge 
has improved) - and the code should be more readable.
The gui and the engine code have been separated, it is now possible to run the 
server from the command line.
Try 'python tftpgui.py --help' for usage instructions

Original comment by bernie.s...@gmail.com on 22 Jul 2011 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by bernie.s...@gmail.com on 22 Jul 2011 at 1:35