Ok, so I have a very simple program that complies fine with --recurse-all. But I
want to build a stand-alone version and I'm getting error messages. I have a module
in the same directory as the script that is imported in the script which is probably
the only odd thing about it.
Nuitka Version: 0.5.19
Python: 2.7.11
FreeBSD v10.2 (amd64)
Error Message:
root@freebsd:~/py_testing # nuitka --recurse-all --standalone ns_test.py
Traceback (most recent call last):
File "/usr/local/bin/nuitka", line 193, in <module>
MainControl.main()
File "/usr/local/lib/python2.7/site-packages/nuitka/MainControl.py", line 746, in
main
standalone_entry_points = standalone_entry_points
File "/usr/local/lib/python2.7/site-packages/nuitka/freezer/Standalone.py", line
805, in copyUsedDLLs
used_dlls = detectUsedDLLs(standalone_entry_points)
File "/usr/local/lib/python2.7/site-packages/nuitka/freezer/Standalone.py", line
711, in detectUsedDLLs
package_name = package_name
File "/usr/local/lib/python2.7/site-packages/nuitka/freezer/Standalone.py", line
702, in detectBinaryDLLs
assert False, Utils.getOS()
AssertionError: FreeBSD
root@freebsd:~/py_testing #
Here's the main code if that helps.
#!/usr/bin/python
import papi
import sys
import getpass
import json
import time
username = 'root'
password = 'a'
host = '10.111.xxx.xxx'
port = '8080'
(status, reason, resp) = papi.call (host, port, 'GET',
"/namespace/ifs/isi_lwswift/swift?acl", '', 'any', 'text/plain', username, password)
metadata = json.loads(resp)
print "META=",metadata['authoritative']
(status, reason, resp2) = papi.call (host, port, 'PUT',
"/namespace/ifs/isi_lwswift/swift?acl", resp, 'any', 'application/json', username,
password)
print "STATUS=",status
|