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
lis-iMac:MobileDevice annali$ mdf afc put 1.txt /var/mobile/Media
Traceback (most recent call last):
File "./mdf", line 28, in
argparse_parse(globals())
NameError: name 'argparse_parse' is not defined
please help me to solve this issue, thx!
python: 2.7.2
os: Darwin lis-iMac.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/usr/local/bin/mdf", line 28, in
argparse_parse(globals())
File "/Library/Python/2.7/site-packages/MobileDevice/amdevice.py", line 695, in argparse_parse
cmdargs.parse_args()
File "/Library/Python/2.7/site-packages/MobileDevice/amdevice.py", line 664, in parse_args
args.func(args, v)
File "/Library/Python/2.7/site-packages/MobileDevice/afcmediadirectory.py", line 194, in cmd_put
d = afc.open(args.path, u'w')
File "/Library/Python/2.7/site-packages/MobileDevice/afc.py", line 300, in open
return AFCFile(self.afc_con, path, mode)
File "/Library/Python/2.7/site-packages/MobileDevice/afc.py", line 94, in init
raise IOError(u'Unable to open file:', path, mode)
IOError: [Errno Unable to open file:] : u'w'
The temp fix is to append a trailing slash to the dest path i.e. mdf afc put 1.txt /var/mobile/Media/
lis-iMac:MobileDevice annali$ mdf afc put 1.txt /var/mobile/Media
Traceback (most recent call last):
File "./mdf", line 28, in
argparse_parse(globals())
NameError: name 'argparse_parse' is not defined
please help me to solve this issue, thx!
python: 2.7.2
os: Darwin lis-iMac.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: