rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.21k stars 351 forks source link

replit: Read-only file system #368

Closed cronex2011 closed 12 months ago

cronex2011 commented 1 year ago

EDIT: Replit show me for mill sec this : "Package operation failed" and this: 1

Describe the bug

i run this project on replit.com and it worked good. Now i have a error and cant see why. The Console told me this: Traceback (most recent call last): File "/home/runner/Test2/Test2_T/run.py", line 16, in <module> twitch_miner = TwitchChannelPointsMiner( File "/home/runner/Test2/Test2_T/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 157, in __init__ self.logs_file, self.queue_listener = configure_loggers( File "/home/runner/Test2/Test2_T/TwitchChannelPointsMiner/logger.py", line 282, in configure_loggers file_handler = TimedRotatingFileHandler( File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/logging/handlers.py", line 214, in __init__ BaseRotatingHandler.__init__(self, filename, 'a', encoding=encoding, File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/logging/handlers.py", line 58, in __init__ logging.FileHandler.__init__(self, filename, mode=mode, File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/logging/__init__.py", line 1169, in __init__ StreamHandler.__init__(self, self._open()) File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/logging/__init__.py", line 1201, in _open return open_func(self.baseFilename, self.mode, OSError: [Errno 30] Read-only file system: '/home/runner/Test2/logs/cronex.log'

i cant open the logs file ... replit show me a error message. if i download the hole project and open the log file ... its empty its worked over a month good and now this. pls help Thanks

Steps to reproduce

IDK

Expected behavior

IDK

Operating system

upload to replit.com

Python version

newest

Miner version

1.8.6

Other relevant software versions

Trigger with uptimerobot.com

Logs

NO

Additional context

NO

rdavydov commented 1 year ago

Most likely the container in which replit runs your code is broken and the filesystem became non-writable. Try restarting or removing the repl completely and start with a new one.