trentpiercy / trace

Modern crypto portfolio & market explorer. Built with @Flutter
https://play.google.com/store/apps/details?id=com.trentpiercy.trace
GNU General Public License v3.0
1.12k stars 338 forks source link

FileSystemException: Getting current working directory failed, path = '' (OS Error: Too many open files, errno = 24) #1

Closed arden closed 6 years ago

arden commented 6 years ago
weibodeiMac:trace weibo$ flutter run
Launching lib/main.dart on iPhone X in debug mode...
Unhandled exception:
FileSystemException: Getting current working directory failed, path = '' (OS Error: Too many open files, errno = 24)
#0      _uriBaseClosure (dart:io-patch/directory_patch.dart:61)
#1      Uri.base (dart:core-patch/dart:core/uri_patch.dart:20)
#2      current (package:path/path.dart:82)
#3      new Context (package:path/src/context.dart:31)
#4      LocalFileSystem.path (package:file/src/backends/local/local_file_system.dart:26)
#5      _ZipToolBuilder.createZip.<anonymous closure>.<anonymous closure> (package:flutter_tools/src/zip.dart:87)
#6      _rootRunUnary (dart:async/zone.dart:1134)
#7      _CustomZone.runUnary (dart:async/zone.dart:1031)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:129)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:633)
#10     Future._propagateToListeners (dart:async/future_impl.dart:662)
#11     Future._complete (dart:async/future_impl.dart:467)
#12     _SyncCompleter.complete (dart:async/future_impl.dart:51)
#13     _completeOnAsyncReturn (dart:async-patch/dart:async/async_patch.dart:292)
#14     DevFSByteContent.contentsAsBytes (package:flutter_tools/src/devfs.dart:166)
#15     new Future.microtask.<anonymous closure> (dart:async/future.dart:200)
#16     _rootRun (dart:async/zone.dart:1126)
#17     _CustomZone.run (dart:async/zone.dart:1023)
#18     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949)
#19     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#21     _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:113)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:166)
mak2014 commented 6 years ago

Run this in the terminal ulimit -S -n 2048

and try flutter run

For more information on this error see here: https://github.com/flutter/flutter/issues/18225

zainzafar90 commented 5 years ago

Run this in the terminal ulimit -S -n 2048

and try flutter run

For more information on this error see here: flutter/flutter#18225

Thanks a lot (Y)