mikedaly001 / jsunpack-n

Automatically exported from code.google.com/p/jsunpack-n
GNU General Public License v2.0
0 stars 1 forks source link

unable to access jsunpackn.py through custom scripts. #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when we try to run jsunpackn.py from another batch file or through another 
python script.

What is the expected output? What do you see instead?
When we try to access jsunpackn.py from another python program, jsunpackn.py is 
unable to read the options.config file and its variables.
throws an error starting from,
options.timeout = int(options.timeout)

If i manually set the time here, it will throw error on redo timer and keeps 
going on.

Happens especially when accessing it from another script.

What version of the product are you using? On what operating system?
The latest SVN trunk.

Original issue reported on code.google.com by balasurfs on 14 Mar 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Perhaps using this command line option will help:

  -c CONFIGFILE, --config=CONFIGFILE
                        configuration filepath (default options.config)

If you don't specify this, it will only look for options.config in the current 
directory. Does this solve your problem?

Original comment by urul...@gmail.com on 18 Mar 2013 at 7:59