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

unzipping fails if the path contains a space #89

Open
kbenoit opened this issue Apr 28, 2017 · 1 comment
Open

unzipping fails if the path contains a space #89

kbenoit opened this issue Apr 28, 2017 · 1 comment
Assignees
Labels

Comments

@kbenoit
Copy link
Collaborator

kbenoit commented Apr 28, 2017

> tfile <- readtext("~/Dropbox/QUANTESS/corpora/Presidential Debates/presidential_debates_2015-2016.zip")
 Error in listMatchingFiles(i, ignoreMissing = ignoreMissing, lastRound = T) : 
  File '' does not exist. 

(reproducible example to be added asap)

@kbenoit kbenoit added the bug label Apr 28, 2017
@kbenoit kbenoit self-assigned this Apr 28, 2017
@kbenoit kbenoit modified the milestone: CRAN release May 15, 2017
@kbenoit
Copy link
Collaborator Author

kbenoit commented May 16, 2017

It wasn't spaces, it was "invalid" files caused by macOS and the "Compress" option from Finder.

KBMacBook:readtext kbenoit$ unzip -l ~/Dropbox/QUANTESS/corpora/Presidential\ Debates/presidential_debates_2015-2016.zip
Archive:  /Users/kbenoit/Dropbox/QUANTESS/corpora/Presidential Debates/presidential_debates_2015-2016.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
   129733  03-18-2016 17:58   presidential_debate_democratic_2015-10-13_Las Vegas.txt
        0  03-20-2016 21:58   __MACOSX/
      239  03-18-2016 17:58   __MACOSX/._presidential_debate_democratic_2015-10-13_Las Vegas.txt
    94105  03-15-2016 09:29   presidential_debate_democratic_2015-11-14_Des Moines.txt
      239  03-15-2016 09:29   __MACOSX/._presidential_debate_democratic_2015-11-14_Des Moines.txt
   120566  03-15-2016 09:29   presidential_debate_democratic_2015-12-19_Manchester.txt
      239  03-15-2016 09:29   __MACOSX/._presidential_debate_democratic_2015-12-19_Manchester.txt

Still needs trapping, but not an issue with spaces.

@kbenoit kbenoit removed this from the CRAN release milestone May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant