Hi,
I am incorporating functionality which is symptom report(task is to collect all debug logs from machine for all domain which will be used for debugging) from 2.6 to 3.6 & services are UP/Running now after making couple of changes i.e. string to bytes in python 3.6.
But I am stuck in situation where data is written in tar file after zip of same but when I unzip same I am getting below error i.e. bad zipfile offset (local header sig): 415:
root@distro:/mnt/symptomreport$ unzip [login to view URL]
Archive: [login to view URL]
CK8/distro/networking_info/networking_info: mismatching "local" filename (CK8/[login to view URL]),
continuing with "central" filename version
extracting: CK8/distro/networking_info/networking_info
file #2: bad zipfile offset (local header sig): 415
extracting: CK8/[login to view URL]
extracting: CK8/[login to view URL]
root@distro:/mnt/symptomreport$
root@distro:/mnt/symptomreport$ python -m zipfile -e [login to view URL] /root
hello1
Traceback (most recent call last):
File "/usr/lib/python3.6/[login to view URL]", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/[login to view URL]", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.6/[login to view URL]", line 2041, in <module>
main()
File "/usr/lib/python3.6/[login to view URL]", line 2013, in main
[login to view URL](args[2])
File "/usr/lib/python3.6/[login to view URL]", line 1504, in extractall
self._extract_member(zipinfo, path, pwd)
File "/usr/lib/python3.6/[login to view URL]", line 1557, in _extract_member
with [login to view URL](member, pwd=pwd) as source, \
File "/usr/lib/python3.6/[login to view URL]", line 1399, in open
% (zinfo.orig_filename, fname))
[login to view URL]: File name in directory 'symptomreport/distro/networking_info/networking_info' and header b'symptomreport/[login to view URL]' differ.
root@distro:/mnt/symptomreport$
Let me know if some one can resolve this issue so will take it forward accordingly.
I read your description and I cna clear the bug mentioned related to the zip file and the String related query. I have group of friend who are working/studying python, so we can solve your bug asap. Feel free to ping me.. And your bug can be fixed.
Thanks for your posting
I already created SIMILAR Project and I am ready to provide your DEMO WORK FREE AND check out my work and then take your decision
Do you want demo ???? please contact me
I have 15 years of expert team in Mobile apps, Website, Software and Game development.
Thanks and Regards,