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

Packinging problem with 0.1.5 release? #10

Open
SqrtNegInf opened this issue Sep 2, 2023 · 2 comments
Open

Packinging problem with 0.1.5 release? #10

SqrtNegInf opened this issue Sep 2, 2023 · 2 comments
Assignees

Comments

@SqrtNegInf
Copy link

I tried to install the recent release with 'zef', but it was failing (on macOS and Ubuntu). When I download the .tar.gz distribution directly and extract from the archive I get a 'flat' set of files with backslashes embedded in the file names:

dist/bin\\sentences.raku dist/Changes dist/dist.ini dist/doc\\Sentence.rakudoc dist/lib\\Lingua\\EN\\Sentence.rakumod dist/LICENSE dist/META6.json dist/README.md dist/sdist/ dist/t\\01_texts.t dist/t\\02_api.t dist/t\\data\\business.sents dist/t\\data\\business.txt
and so on. If I rename & re-arrange into sub-directories, I am able to complete the install, and the module works fine.
@kimryan kimryan self-assigned this Sep 4, 2023
@kimryan
Copy link
Owner

kimryan commented Sep 4, 2023

I am using latest version of fex, 54. This was built on windows, but assume fez should make an OS indpenendant download. Looking at https://360.zef.pm/L/IN/LINGUA_EN_SENTENCE/9e5eb06acfd5e6e092cfdb8cbb5e6e464623696f.tar.gz the paths seem ok (downaload link at raku.land) . Not sure what else I can check at this stage. You may have been the first person to install the module after me.

Here is ouptut from fez review

= Bundle manifest:
.fez
bin\sentences.raku
Changes
dist.ini
doc\Sentence.rakudoc
lib\Lingua\EN\Sentence.rakumod
LICENSE
META6.json
README.md
t\01_texts.rakutest
t\02_api.rakutest
t\data\business.sents
t\data\business.txt
t\data\divine_comedy.sents
t\data\divine_comedy.txt
t\data\manual.sents
t\data\manual.txt
t\data\scientific.sents
t\data\scientific.txt
t\data\tale-of-two-cities.sents
t\data\tale-of-two-cities.txt
t\data\tom_sawyer.sents
t\data\tom_sawyer.txt
= Resources ok

@SqrtNegInf
Copy link
Author

I extracted that .tar.gz archive on Windows, and it had the proper directory structure, so that would seem to implicate a non-portable operation in the archive creation. Maybe the specific tar utility that's being used on your system doesn't default to switching the directory separator? I did a search of the IRC logs/fez-issues and did not see this problem addressed, but that doesn't mean it hasn't happened to someone. The quickest way forward might be to ask about this at #raku, otherwise open an issue at raku-fez.

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

No branches or pull requests

2 participants