GithubHelp home page GithubHelp logo

Comments (4)

YueChen-C avatar YueChen-C commented on July 28, 2024

Try to restart the device, and then execute the command will re-push DeveloperImage

from py-ios-device.

thedude4ever avatar thedude4ever commented on July 28, 2024

hello, same thing after restarting the phone...here's the exception occuring after the previous error message :

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\pyidevice.exe_main
.py", line 7, in
File "C:\Python39\lib\site-packages\ios_device\main.py", line 15, in cli
cli_commands()
File "C:\Python39\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, **kwargs)
File "C:\Python39\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Python39\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python39\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python39\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python39\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Python39\lib\site-packages\ios_device\cli\instruments.py", line 267, in cmd_monitor
rpc.sysmontap(on_callback_message)
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 251, in sysmontap
self.system_attributes = self.system_attributes or list(self.device_info.sysmonSystemAttributes())
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 190, in device_info
rpc = self.instruments
File "C:\Python39\lib\site-packages\ios_device\cli\base.py", line 178, in instruments
self.instruments_rcp = InstrumentServer(lockdown=self.lock_down).init()
File "C:\Python39\lib\site-packages\ios_device\servers\Instrument.py", line 32, in init
raise E
File "C:\Python39\lib\site-packages\ios_device\servers\Instrument.py", line 26, in init
self._cli = self.lockdown.start_service("com.apple.instruments.remoteserver.DVTSecureSocketProxy")
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 344, in start_service
self.mount_developer_image()
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 334, in mount_developer_image
with self._request_developer_image_dir() as _dir: # , signature_path:
File "C:\Python39\lib\contextlib.py", line 117, in enter
return next(self.gen)
File "C:\Python39\lib\site-packages\ios_device\util\lockdown.py", line 318, in _request_developer_image_dir
zf = zipfile.ZipFile(image_zip_path)
File "C:\Python39\lib\zipfile.py", line 1257, in init
self._RealGetContents()g
File "C:\Python39\lib\zipfile.py", line 1324, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

from py-ios-device.

YueChen-C avatar YueChen-C commented on July 28, 2024

Download the same version of DeviceSupport and put it in %USERPROFILE%/.py_ios_device/device-support
link:https://github.com/JinjunHan/iOSDeviceSupport/tree/master/DeviceSupport/

from py-ios-device.

thedude4ever avatar thedude4ever commented on July 28, 2024

thanks a lot, it works! the zip file was 32ko only instead of 11MB for the good one....
great job!

from py-ios-device.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.