Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Module 'plugin_zip' not found
Started by thomas6 Aug 28 2018 08:17 AM

4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

thomas6

[GLOBAL: userInfoPane.html]
thomas6
  • Contributor

  • 798 posts
  • Corona SDK

Hi!

 

I've never used the ZIP plugin before, but I'm getting this error message in the Simulator on my MacBook Pro, running build 3326:

 

Module 'plugin_zip' not found:
    no field package.preload['plugin_zip']
    no file '/Users/thomasvandenabeele/Library/Application Support/Corona/Simulator/Plugins/plugin_zip.lua'
    no file '/Users/thomasvandenabeele/Dropbox/Corona Backup/Editor/005 - Editor/plugin_zip.lua'
    no file '/Applications/Corona-3326/Corona Simulator.app/Contents/Resources/plugin_zip.lua'
    no file '/Users/thomasvandenabeele/Library/Application Support/Corona/Simulator/Plugins/plugin_zip.dylib'
    no file './plugin_zip.dylib'
    no file '/Applications/Corona-3326/Corona Simulator.app/Contents/Resources/plugin_zip.dylib'

 

My build.settings file contains this:

 

plugins =
    {
        ["plugin.zip"] =
        {
            publisherId = "com.coronalabs"
        },
    },

 

Any idea why this doesn't work? I read the first time you use the plugin the simulator would prompt me to download this somewhere but got no such message.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,535 posts
  • Corona Staff

Are you getting this message in the simulator without doing builds or are you trying to build for a platform and getting the error during the build process?

 

Rob



[TOPIC: post.html]
#3

thomas6

[GLOBAL: userInfoPane.html]
thomas6
  • Contributor

  • 798 posts
  • Corona SDK

Hi Rob,

 

Thanks for your reply. This messages appears in the simulator without doing builds, so just, ehm, simulating things.

 

Simulator is running on a 2016 MacBook Pro, latest public build, latest version of MacOS Sierra, and is using an iPad Air skin.

 

Do I need to add a specific file to my documentsdirectory? I went to the marketplace site and found the zip plugin page, but I'm not mistaken there is no downloadable file, and the plugin is "pre-activated".



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,535 posts
  • Corona Staff

You don't need to do anything other than including it in your build.settings.

 

I just added it to a fresh project's build.settings and I'm not getting any errors. Perhaps you could start with a new fresh project and then add it to your build.settings and see if you're still getting the error.

 

If you're still getting the error, please copy and paste the full console log for us.

 

Rob



[TOPIC: post.html]
#5

thomas6

[GLOBAL: userInfoPane.html]
thomas6
  • Contributor

  • 798 posts
  • Corona SDK

Hi Rob,

 

Thanks for the reply and input. Good suggestion to create a clean file. The build.settings I'm using now are a copy of a file that is probably two years old, so you are probably on to something. Thanks!




[topic_controls]
[/topic_controls]