You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I transferred a couple of files from a mapped drive first then from the clipboard. I also transferred a directory from the clipboard. When closing the connection, I got this:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/usr/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
handle._run()
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/internet/asyncioreactor.py", line 272, in _onTimer
self.runUntilCurrent()
--- <exception caught here> ---
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/internet/base.py", line 999, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/internet/tcp.py", line 506, in connectionLost
self._commonConnection.connectionLost(self, reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/internet/tcp.py", line 324, in connectionLost
protocol.connectionLost(reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/protocols/tls.py", line 394, in connectionLost
ProtocolWrapper.connectionLost(self, reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/venv/lib/python3.9/site-packages/twisted/protocols/policies.py", line 111, in connectionLost
self.wrappedProtocol.connectionLost(reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/pyrdp/layer/tcp.py", line 68, in connectionLost
self.observer.onDisconnection(reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/pyrdp/core/observer.py", line 82, in __call__
self.composite.doCall(self.item, args, kwargs)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/pyrdp/core/observer.py", line 56, in doCall
getattr(observer, item)(*args, **kwargs)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/pyrdp/mitm/DeviceRedirectionMITM.py", line 118, in onDisconnection
mapping.onDisconnection(reason)
File "/home/olivier/pyrdp-bh2021-demo/pyrdp/pyrdp/mitm/FileMapping.py", line 92, in onDisconnection
Path(self.file.name).unlink(missing_ok=True)
File "/usr/lib/python3.9/pathlib.py", line 1072, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.9/pathlib.py", line 697, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.9/pathlib.py", line 681, in _parse_args
a = os.fspath(a)
builtins.TypeError: expected str, bytes or os.PathLike object, not int
Note that PyRDP keeps working and seem to have recorded everything correctly.
The text was updated successfully, but these errors were encountered:
I transferred a couple of files from a mapped drive first then from the clipboard. I also transferred a directory from the clipboard. When closing the connection, I got this:
Note that PyRDP keeps working and seem to have recorded everything correctly.
The text was updated successfully, but these errors were encountered: