-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete file transfer. #102
Comments
I have the same problem when I tried to transfer the file between two mac books of Monterey. |
@takayanamba99 @Haimonti I'm having trouble extracting keys from my Mac Studio. did you have any problems? thank you for any help. |
I couldn't solve the problem, I am afraid. |
Fixed by #95 |
I am trying to transfer a text file between two mac books.
Opendrop find works as expected --
./opendrop find
Looking for receivers. Press Ctrl+C to stop ...
/Users/haimonti/Library/Python/3.9/lib/python/site-packages/zeroconf/_services/browser.py:168: FutureWarning: <opendrop.client.AirDropBrowser object at 0x1043857c0> has no update_service method. Provide one (it can be empty if you don't care about the updates), it'll become mandatory.
warnings.warn(
Found index 0 ID 242435eddd0c name Haimonti Dutta’s iPhone
Found index 1 ID bb3502543837 name jac325p-duttaOLD
But opendrop send gives an error after asking the receiver to accept, receiver accepted, and uploading file (airdrop is cancelled eventually).
In particular, here is the error:
./opendrop send -r 1 -f /Users/haimonti/Research/DDM/DistMomMethods/test.txt
Asking receiver to accept ...
Receiver accepted
Uploading file ...
Exception ignored in: <function ArchiveEntry.del at 0x102dd1c10>
Traceback (most recent call last):
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/libarchive/entry.py", line 51, in del
ffi.entry_free(self._entry_p)
AttributeError: _entry_p
Traceback (most recent call last):
File "/Users/haimonti/Library/Python/3.9/bin/./opendrop", line 8, in
sys.exit(main())
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/opendrop/cli.py", line 36, in main
AirDropCli(sys.argv[1:])
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/opendrop/cli.py", line 112, in init
self.send()
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/opendrop/cli.py", line 196, in send
if not self.client.send_upload(self.file, is_url=self.is_url):
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/opendrop/client.py", line 214, in send_upload
archive.add_abs_file(f, os.path.join(".", ff))
File "/Users/haimonti/Library/Python/3.9/lib/python/site-packages/opendrop/util.py", line 184, in add_abs_file
entry = ArchiveEntry(None, entry_p)
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
Any suggestions would be very helpful. Thanks much in advance.
The text was updated successfully, but these errors were encountered: