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

[Issue]: installer.py version_time: invalid literal for int() with base 10 #3787

Open
2 tasks done
Rinelw opened this issue Feb 26, 2025 · 0 comments
Open
2 tasks done

Comments

@Rinelw
Copy link

Rinelw commented Feb 26, 2025

Issue Description

When starting the sd.next through launcher.py the start crashes because it cannot convert the string from version_time = int(git('log -1 --pretty=format:"%at"'))
into an int,
I fixed it for myself by changing it to:
version_time = int(''.join(filter(str.isdigit, git('log -1 --pretty="format:%at"'))))
But there is probably a better solution.

Version Platform Description

c925b61 & a1ab39b, Windows, N/A

Relevant log output

2025-02-20 17:03:50,022 | sd | INFO | launch | Starting SD.Next
2025-02-20 17:03:50,026 | sd | INFO | installer | Logger: file="E:\AI_STUFF\vladmandic\sdnext.log" level=DEBUG size=65 mode=create
2025-02-20 17:03:50,027 | sd | INFO | installer | Python: version=3.12.9 platform=Windows bin="C:\Users\rinel\miniforge3\Library\envs\vlad\python.exe" venv="C:\Users\rinel\miniforge3\Library\envs\vlad"
2025-02-20 17:03:50,190 | sd | INFO | installer | Version: app=sd.next updated=2025-02-20 hash=c925b61a branch=master url=https://github.com/vladmandic/automatic.git/tree/master ui=main
2025-02-20 17:03:50,525 | sd | INFO | installer | Repository latest available c925b61a2e05b5ba33de256cd12e75a315a61811 2025-02-20T15:35:17Z
2025-02-20 17:03:50,551 | sd | INFO | launch | Platform: arch=AMD64 cpu=AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD system=Windows release=Windows-11-10.0.26100-SP0 python=3.12.9 locale=('English_United Kingdom', '1250') docker=False
2025-02-20 17:03:50,553 | sd | DEBUG | installer | Packages: prefix=C:\Users\rinel\miniforge3\Library\envs\vlad site=['C:\\Users\\rinel\\miniforge3\\Library\\envs\\vlad', 'C:\\Users\\rinel\\miniforge3\\Library\\envs\\vlad\\Lib\\site-packages']
2025-02-20 17:03:50,555 | sd | INFO | launch | Args: ['--debug']
2025-02-20 17:03:50,555 | sd | DEBUG | installer | Setting environment tuning
2025-02-20 17:03:50,556 | sd | DEBUG | installer | Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
2025-02-20 17:03:50,559 | sd | DEBUG | installer | Torch overrides: cuda=False rocm=False ipex=False directml=False openvino=False zluda=False
2025-02-20 17:03:50,565 | sd | INFO | installer | CUDA: nVidia toolkit detected
2025-02-20 17:03:50,624 | sd | WARNING | installer | Deleted files: ['config_states/', 'main.exp', 'main.lib', 'main.obj', 'was unexpected at this time.', 'e value specified in an AutoRun registry key could not be parsed.']
2025-02-20 17:03:50,625 | sd | WARNING | installer | Modified files: ['main.exp', 'main.lib', 'main.obj']
2025-02-20 17:03:50,663 | sd | INFO | installer | Install: verifying requirements
2025-02-20 17:03:50,704 | sd | ERROR | installer | Timestamp local repository version: invalid literal for int() with base 10: '1740065717\n& was unexpected at this time.\r\nThe value specified in an AutoRun registry key could not be parsed.'
2025-02-20 17:03:50,704 | sd | ERROR | installer | Uncaught exception occurred: type=<class 'OSError'> value=[Errno 22] Invalid argument
2025-02-20 17:03:50,706 | sd | ERROR | installer | '  File "E:\\AI_STUFF\\vladmandic\\launch.py", line 283, in <module>\n    main()\n'
2025-02-20 17:03:50,707 | sd | ERROR | installer | '  File "E:\\AI_STUFF\\vladmandic\\launch.py", line 242, in main\n    if installer.check_timestamp():\n       ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
2025-02-20 17:03:50,708 | sd | ERROR | installer | '  File "E:\\AI_STUFF\\vladmandic\\installer.py", line 1429, in check_timestamp\n    log.debug(f\'Timestamp repository update time: {time.ctime(int(version_time))}\')\n                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant