Skip to content
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

Missing libs in Mac bundle #683

Closed
shawnlaffan opened this issue Jan 15, 2018 · 4 comments
Closed

Missing libs in Mac bundle #683

shawnlaffan opened this issue Jan 15, 2018 · 4 comments
Assignees
Milestone

Comments

@shawnlaffan
Copy link
Owner

Mac users have reported being unable to open files when importing data.

The logs indicate that the via layer cannot be found.

Unknown PerlIO layer "via" at Biodiverse/GUI/BasedataImport.pm line 384.

A comparison of the packed Mac version with the Windows one indicates the following are missing:

PerlIO::encoding
PerlIO::via
encoding.pm
File::HomeDir
File::Which
Math::BigFloat::
Math::BigInt::

The File:: and Math:: libs might not be essential, though.

A possible cause is that the PAR::Packer version used to pack the Mac version is slightly older.

@shawnlaffan shawnlaffan added this to the Release_2.1 milestone Jan 15, 2018
@shawnlaffan shawnlaffan self-assigned this Jan 15, 2018
@shawnlaffan
Copy link
Owner Author

shawnlaffan commented Jan 16, 2018

This gets it to work. We probably only need to specify -M PerlIO::, though.

perl bin/mmb3.pl -s ../../bin/BiodiverseGUI.pl -o . -x -- -M PerlIO:: -M encoding -M File::Which -M File::HomeDir

@shawnlaffan
Copy link
Owner Author

The workaround for users is to convert their CSV files to spreadsheet formats (e.g. MS Excel or OpenOffice Calc) and import them directly.
http://biodiverse-analysis-software.blogspot.com.au/2015/06/import-your-species-data-from.html

shawnlaffan added a commit that referenced this issue Jan 22, 2018
@shawnlaffan
Copy link
Owner Author

@shawnlaffan
Copy link
Owner Author

Users have confirmed data import now works.

Downloads wiki has been updated to refer to new zip file.
https://github.com/shawnlaffan/biodiverse/wiki/Downloads

Marking as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant