fdroid init - hardcoded path failed
Reading #415 sounds like this is the reversed of that
My setup:
- cloned data in
/home/android/fdroiddata-0801(I do a fresh clone daily when working on something) - cloned server in
/home/android/fdroidserver-0801 ln -s fdroidserver-0801 fdroidserver-
ln -s /home/android/fdroidserver/fdroid /usr/local/bin/(so I can just runfdroid
In the past, before doing the links as above, I just entered fdroiddata-0801 and run ../fdroidserver-0801/fdroid <somecommand>
Now I run fdroid <somecommand>, and that works fine (at least) with readmeta, lint, build and publish.
But fdroid init yields:
CRITICAL: Unknown exception found!
Traceback (most recent call last):
File "/usr/local/bin/fdroid", line 164, in <module>
main()
File "/usr/local/bin/fdroid", line 159, in main
raise e
File "/usr/local/bin/fdroid", line 138, in main
mod.main()
File "/home/android/fdroidserver-0801/fdroidserver/init.py", line 123, in main
shutil.copy(os.path.join(examplesdir, 'fdroid-icon.png'), fdroiddir)
File "/usr/lib/python3.6/shutil.py", line 241, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/share/doc/fdroidserver/examples/fdroid-icon.png'
While ../fdroidserver-0801/fdroid init works fine
Am I missing some step?