Commit bab15ac6 authored by yogesh.m's avatar yogesh.m

update

parent 0cd68390
...@@ -6,8 +6,17 @@ ...@@ -6,8 +6,17 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="e733891a-c063-4f94-92d6-4559e921107b" name="Default Changelist" comment=""> <list default="true" id="e733891a-c063-4f94-92d6-4559e921107b" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/asyncua_server.py" beforeDir="false" afterPath="$PROJECT_DIR$/asyncua_server.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/main/Analysis-00.toc" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/Analysis-00.toc" afterDir="false" />
<change beforePath="$PROJECT_DIR$/hash_sender.py" beforeDir="false" afterPath="$PROJECT_DIR$/hash_sender.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/build/main/EXE-00.toc" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/EXE-00.toc" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/PKG-00.toc" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/PKG-00.toc" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/PYZ-00.pyz" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/PYZ-00.pyz" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/base_library.zip" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/base_library.zip" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/main.pkg" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/main.pkg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/warn-main.txt" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/warn-main.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/main/xref-main.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/main/xref-main.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/dist/klopcua cloner.exe" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.spec" beforeDir="false" afterPath="$PROJECT_DIR$/main.spec" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
No preview for this file type
No preview for this file type
...@@ -16,11 +16,11 @@ IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for ...@@ -16,11 +16,11 @@ IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
missing module named pyimod02_importers - imported by C:\Users\Admin\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (top-level), C:\Users\Admin\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py (top-level) missing module named pyimod02_importers - imported by C:\Users\Admin\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (top-level), C:\Users\Admin\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py (top-level)
missing module named StringIO - imported by six (conditional), pkg_resources._vendor.six (conditional) missing module named StringIO - imported by six (conditional), pkg_resources._vendor.six (conditional)
missing module named org - imported by pickle (optional) missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional)
missing module named _posixsubprocess - imported by subprocess (optional), multiprocessing.util (delayed) missing module named _posixsubprocess - imported by subprocess (optional), multiprocessing.util (delayed)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed, optional), subprocess (optional) missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed, optional), subprocess (optional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional), subprocess (optional), netrc (delayed, conditional), getpass (delayed), http.server (delayed, optional), webbrowser (delayed), distutils.util (delayed, conditional, optional) missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional), subprocess (optional), netrc (delayed, conditional), getpass (delayed), http.server (delayed, optional), webbrowser (delayed), distutils.util (delayed, conditional, optional)
missing module named posix - imported by shutil (conditional), os (conditional, optional) missing module named posix - imported by os (conditional, optional), shutil (conditional)
missing module named resource - imported by posix (top-level) missing module named resource - imported by posix (top-level)
missing module named termios - imported by getpass (optional), tty (top-level) missing module named termios - imported by getpass (optional), tty (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level) missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
...@@ -29,7 +29,7 @@ missing module named pep517 - imported by importlib.metadata (delayed) ...@@ -29,7 +29,7 @@ missing module named pep517 - imported by importlib.metadata (delayed)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional) missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named __builtin__ - imported by pkg_resources._vendor.pyparsing (conditional) missing module named __builtin__ - imported by pkg_resources._vendor.pyparsing (conditional)
missing module named ordereddict - imported by pkg_resources._vendor.pyparsing (optional) missing module named ordereddict - imported by pkg_resources._vendor.pyparsing (optional)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional) missing module named org - imported by copy (optional)
missing module named _manylinux - imported by pkg_resources._vendor.packaging.tags (delayed, optional) missing module named _manylinux - imported by pkg_resources._vendor.packaging.tags (delayed, optional)
missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.markers (top-level), pkg_resources._vendor.packaging.requirements (top-level) missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.markers (top-level), pkg_resources._vendor.packaging.requirements (top-level)
missing module named 'win32com.shell' - imported by pkg_resources._vendor.appdirs (conditional, optional) missing module named 'win32com.shell' - imported by pkg_resources._vendor.appdirs (conditional, optional)
......
...@@ -323,7 +323,7 @@ imported by: ...@@ -323,7 +323,7 @@ imported by:
<a target="code" href="" type="text/plain"><tt>'org.python'</tt></a> <a target="code" href="" type="text/plain"><tt>'org.python'</tt></a>
<span class="moduletype">MissingModule</span> <div class="import"> <span class="moduletype">MissingModule</span> <div class="import">
imported by: imported by:
<a href="#copy">copy</a> <a href="#pickle">pickle</a>
&#8226; <a href="#xml.sax">xml.sax</a> &#8226; <a href="#xml.sax">xml.sax</a>
</div> </div>
...@@ -4991,8 +4991,8 @@ imported by: ...@@ -4991,8 +4991,8 @@ imported by:
<a target="code" href="///C:/users/admin/appdata/local/programs/python/python39/lib/copy.py" type="text/plain"><tt>copy</tt></a> <a target="code" href="///C:/users/admin/appdata/local/programs/python/python39/lib/copy.py" type="text/plain"><tt>copy</tt></a>
<span class="moduletype">SourceModule</span> <div class="import"> <span class="moduletype">SourceModule</span> <div class="import">
imports: imports:
<a href="#'org.python'">'org.python'</a> <a href="#copyreg">copyreg</a>
&#8226; <a href="#copyreg">copyreg</a> &#8226; <a href="#org">org</a>
&#8226; <a href="#types">types</a> &#8226; <a href="#types">types</a>
&#8226; <a href="#weakref">weakref</a> &#8226; <a href="#weakref">weakref</a>
...@@ -13415,7 +13415,7 @@ imported by: ...@@ -13415,7 +13415,7 @@ imported by:
<a target="code" href="" type="text/plain"><tt>org</tt></a> <a target="code" href="" type="text/plain"><tt>org</tt></a>
<span class="moduletype">MissingModule</span> <div class="import"> <span class="moduletype">MissingModule</span> <div class="import">
imported by: imported by:
<a href="#pickle">pickle</a> <a href="#copy">copy</a>
</div> </div>
...@@ -13651,14 +13651,14 @@ imported by: ...@@ -13651,14 +13651,14 @@ imported by:
<a target="code" href="///C:/users/admin/appdata/local/programs/python/python39/lib/pickle.py" type="text/plain"><tt>pickle</tt></a> <a target="code" href="///C:/users/admin/appdata/local/programs/python/python39/lib/pickle.py" type="text/plain"><tt>pickle</tt></a>
<span class="moduletype">SourceModule</span> <div class="import"> <span class="moduletype">SourceModule</span> <div class="import">
imports: imports:
<a href="#_compat_pickle">_compat_pickle</a> <a href="#'org.python'">'org.python'</a>
&#8226; <a href="#_compat_pickle">_compat_pickle</a>
&#8226; <a href="#_pickle">_pickle</a> &#8226; <a href="#_pickle">_pickle</a>
&#8226; <a href="#codecs">codecs</a> &#8226; <a href="#codecs">codecs</a>
&#8226; <a href="#copyreg">copyreg</a> &#8226; <a href="#copyreg">copyreg</a>
&#8226; <a href="#functools">functools</a> &#8226; <a href="#functools">functools</a>
&#8226; <a href="#io">io</a> &#8226; <a href="#io">io</a>
&#8226; <a href="#itertools">itertools</a> &#8226; <a href="#itertools">itertools</a>
&#8226; <a href="#org">org</a>
&#8226; <a href="#pprint">pprint</a> &#8226; <a href="#pprint">pprint</a>
&#8226; <a href="#re">re</a> &#8226; <a href="#re">re</a>
&#8226; <a href="#struct">struct</a> &#8226; <a href="#struct">struct</a>
......
...@@ -37,7 +37,7 @@ class App(tk.Frame): ...@@ -37,7 +37,7 @@ class App(tk.Frame):
file = open(platforms[sys.platform], "w+") file = open(platforms[sys.platform], "w+")
file.write(json.dumps(cache_data)) file.write(json.dumps(cache_data))
file.close() file.close()
root.destroy() self.master.destroy()
if(self.t1): if(self.t1):
self.t1.terminate() self.t1.terminate()
...@@ -180,6 +180,7 @@ class App(tk.Frame): ...@@ -180,6 +180,7 @@ class App(tk.Frame):
send_to_port = self.server_udp_port_entry.get() send_to_port = self.server_udp_port_entry.get()
cache_data["sender_cache"]["send_to_port"] = send_to_port cache_data["sender_cache"]["send_to_port"] = send_to_port
self.server_udp_port_entry.configure(state="disabled") self.server_udp_port_entry.configure(state="disabled")
multiprocessing.freeze_support()
self.t1=multiprocessing.Process(target=transmitter_main,args=(hash_server_ip,int(hash_server_port),send_to_ip,int(send_to_port),url,namespace,)) self.t1=multiprocessing.Process(target=transmitter_main,args=(hash_server_ip,int(hash_server_port),send_to_ip,int(send_to_port),url,namespace,))
self.t1.start() self.t1.start()
else: else:
...@@ -201,6 +202,7 @@ class App(tk.Frame): ...@@ -201,6 +202,7 @@ class App(tk.Frame):
localPort = self.udp_port_entry.get() localPort = self.udp_port_entry.get()
cache_data["receiver_cache"]["localPort"] = localPort cache_data["receiver_cache"]["localPort"] = localPort
self.udp_port_entry.configure(state="disabled") self.udp_port_entry.configure(state="disabled")
multiprocessing.freeze_support()
self.t1=multiprocessing.Process(target=receive_main,args=(Endpoint_Url,Namespace_Server,udp_hash_receiver_ip,int(udp_hash_receiver_port),localIP,int(localPort),)) self.t1=multiprocessing.Process(target=receive_main,args=(Endpoint_Url,Namespace_Server,udp_hash_receiver_ip,int(udp_hash_receiver_port),localIP,int(localPort),))
self.t1.start() self.t1.start()
...@@ -239,12 +241,13 @@ class App(tk.Frame): ...@@ -239,12 +241,13 @@ class App(tk.Frame):
self.udp_port_entry.pack_forget() self.udp_port_entry.pack_forget()
self.create_widgets() self.create_widgets()
if __name__=="__main__": def run_gui():
# Create the main window
root = tk.Tk() root = tk.Tk()
# Create the app
app = App(master=root) app = App(master=root)
app.grid()
# Run the app
app.mainloop() app.mainloop()
if __name__ == "__main__":
multiprocessing.freeze_support()
gui_process = multiprocessing.Process(target=run_gui)
gui_process.start()
gui_process.join()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment