[kde-windows] [Bug 339016] New: Emerge searches after kdesettings.ini in the wrong folder
morrisb
systemshock2 at live.se
Thu Sep 11 18:06:43 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=339016
Bug ID: 339016
Summary: Emerge searches after kdesettings.ini in the wrong
folder
Product: kde-windows
Version: unspecified
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: buildsystem
Assignee: kde-windows at kde.org
Reporter: systemshock2 at live.se
Emerge cloned from git://anongit.kde.org/emerge.git with Git 1.9.4.
This is what happens after any "emerge x" call:
kdesettings.bat executed
KDEROOT : C:\kderoot
KDECOMPILER : mingw4
KDESVNDIR : C:\kderoot\svn
KDEGITDIR : C:\kderoot\git
DOWNLOADDIR : C:\kderoot\download
C:\kderoot>emerge
Traceback (most recent call last):
File "C:\kderoot\emerge\bin\emerge.py", line 22, in <module>
import portage
File "C:\kderoot\emerge\bin\portage.py", line 494, in <module>
PortageInstance = Portage()
File "C:\kderoot\emerge\bin\portage.py", line 216, in __init__
self._readIgnores()
File "C:\kderoot\emerge\bin\portage.py", line 233, in _readIgnores
with open(iniPath, 'w') as configfile:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\kderoot\\
etc\\kdesettings.ini'
In the file portage.py in %KDEROOT%\emerge\bin:
Lines 218 & 219: def _readIgnores(self):
iniPath = os.path.join(ROOTDIR, "etc", "kdesettings.ini")
...
Should be:
Lines 218 & 219: def _readIgnores(self):
iniPath = os.path.join(ROOTDIR, "kdesettings.ini")
...
Which seems to fix the problem.
This is my first bug report, so I apologize for any errors.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-windows
mailing list