Assistance #436
closedcx_freeze on ntblcient python script does not work in Ubuntu 14.04
Start date:
04/27/2016
Due date:
% Done:
0%
Estimated time:
Description
Generate a binary from script :
mkdir /tmp/ntbclient_cxfreeze cxfreeze --install-dir /tmp/ntbclient_cxfreeze/ /usr/bin/ntbclient | tee cxfreeze.log
The generated program reports some errors :
/tmp/ntbclient_cxfreeze$ ./ntbclient Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/cx_Freeze/initscripts/Console.py", line 27, in <module> exec code in m.__dict__ File "/usr/bin/ntbclient", line 97, in <module> from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter, FileType File "/usr/lib/python2.7/argparse.py", line 90, in <module> import textwrap as _textwrap File "/usr/lib/python2.7/textwrap.py", line 10, in <module> import string, re ImportError: No module named string
The cxfreze logs for trusty (generated binary that works) shows some differences with the one for xenial.
Especially this, that could be related :
-m string /usr/lib/python2.7/string.py +m string
The /usr/lib/python2.7/string.py(c) files are present on both 16.04 and 14.04 python directories.
The generated ntbclient binary seems to contain the string.pyc file on 14.04 :
$ strings ntbclient | grep string.py string.pyc string.pycPK
No corresponding stuff on xenial generated binary.
Files
Updated by Davy Gigan over 7 years ago
- Status changed from Nouveau to Rejeté
We should not need cxfreeze anymore for 14.04.
This issue is therefore rejected.
Updated by Anonymous over 6 years ago
- Tracker changed from Anomalie to Assistance
- Subject changed from cx_freeze on ntblcient python script does not work in Ubuntu 14.04 to Levitra Helps To Keep A Sexual Relation Alive
- Description updated (diff)
- Assignee set to Renaud Rabeil
SPAM : supprimé.
Updated by Redmine Admin over 6 years ago
- Subject changed from Levitra Helps To Keep A Sexual Relation Alive to cx_freeze on ntblcient python script does not work in Ubuntu 14.04
- Description updated (diff)
Correction du spam reçu.
Passage du projet en privé étant donné qu'il n'y a pas d'activité publique dessus.