-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
crash when runing coala on the libreoffice core repo #3701
Comments
my(max) idea is that we might try to run cpd with 10k files and it doesn't like that |
looks even like it's a limit inside python (or even OS) :O If possible, maybe CPD supports configuration files where you can also put the files to analyze? |
there is --files for files and directories. Maybe we can bundle the files somehow or add directories |
actually there is "There should be no limit to the number of ‘–files’, you may add… But if you stumble one, please tell us !" in their docs |
[Errno 7] Argument list too long |
Problem is you may loose context when splitting up files^^ |
But it's definitely a limit in python / OS:
|
So we need a configuration file, where we can put an arbitrary amount of information. |
Interesting, just tested it: It's a limit in Python, not the OS! |
so then subprocess has a limeted amount of parameters you can give it? strange |
but still we want to support passing in specific files, and if the user wants 10000+ specific files, then we have this problem again^^ |
maybe writing down the parameters to a temporary file and read them from there? |
|
Until nowm the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Ok, looks like the old version of CPD that circleCI has does not have the --filelist option that takes a file containing the filelist to run on. We need to update PMD on CI, am i right? |
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Ok, it is worse than i thought. Pmd has been updated with the -filelist option, but cpd does not have that. All i can do is to file an issue to pmd to add that feature to cpd too. Shall I do this and wait for an update? |
Yes please raise the bug upstream
…On Sat, 11 Mar 2017 07:40 Mihai Ionut ***@***.***> wrote:
Ok, it is worse than i thought. Pmd has been updated with the -filelist
option, but cpd does not have that. All i can do is to file an issue to pmd
to add that feature to cpd too. Shall I do this and wait for an update?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3701 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAA69LI4vrIIq5b5o_-KybpGAqWqaSI2ks5rke2agaJpZM4L3nus>
.
|
I made a PR to PMD in order to add that option. Here it is: pmd/pmd#297 . When it is merged, i will finish the PR on this issue. 😄 |
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
PR merged, waiting for their version release and I am ready to finish this too 😄 |
pmd/pmd@029ed7c7a isnt in the latest release v5.5.5, so it looks like this will be in v5.6. https://pmd.github.io/ says that 5.5.5 will be the last release in the 5.5 series, so 5.6 is probably on the way soon, and it has only two blockers not yet done. |
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
5.6 has been released, and includes this feature. https://pmd.github.io/pmd-5.6.0/overview/changelog.html |
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
Until now, the files to run on were given to CPD with the --files option, which would raise 'OSError: [Errno 7] Argument list too long'. Now, the files are saved in a temporary file, and that file is given to CPD with the --filelist option, which takes a csv file containing a list of files to run on. Fixes coala/coala#3701
coafile:
log:
The text was updated successfully, but these errors were encountered: