Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 25284
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: cpan "is one already running" logic breaks on Win32
Got the following today. A previous cpan instance must have crashed sometime in the past, but there most certainly WASN'T one running at the time I ran this. ---------------------------------------------------------------------- C:\Documents and Settings\adam>cpan CPAN: File::HomeDir loaded ok There seems to be running another CPAN process (pid 1352). Contacting... Other job is running. You may want to kill it and delete the lockfile, maybe. On UNIX try: kill 1352 rm C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\.lock C:\Documents and Settings\adam>cpan --------------------------------------------------------------------- You may also want to consider adding a little platform detection logic to that error message, at least for the obvious cases.
Thanks Adam! I'm sorry, for Windows I can only say "patches welcome" because I have no Windows box and do not expect to get one any time soon. 1.88_79 is now pretty stable and will most probably become a stable release. Please consider contributing Windows fixes as soon as the next stable release is out. Thanks!