Hi,
First of all sorry for the delay. Since, it's the last month of my semester, I am a little busy with college work.
That said, I removed the changes I had made but I get the following error on $ ./update-and-run.sh blends-prospective.
Traceback (most recent call last):
exec "gatherer.%s()" % command
File "<string>", line 1, in <module>
if sprosp['license'] == '':
KeyError: 'license'
This error occurs wherever "if sprosp['license'] == ' ' " is checked. I solved these errors by using try-except block:
try:
if sprosp['license'] == '':
sprosp['license'] = 'free'
except KeyError:
sprosp['license'] = 'free'
Now when I run $./update-and-run.sh blends-prospective, I get a new error:
Error while inserting packages 'source'
Traceback (most recent call last):
exec "gatherer.%s()" % command
File "<string>", line 1, in <module>
cur.executemany(pkgquery, pkgs)
KeyError: 'source'
I am not sure if something has changed in machine readable files which is causing this error. These errors did not occur before.
If this helps, the program never goes inside the for loop:
"for stanza in deb822.Sources.iter_paragraphs(p.stdout):"
which is why sprosp['license'] = '' is not initialized.
Do you also get the same errors ?
And also can you help me understand what exactly the contents of <source>.copyright, <source>.control, <source>.vcs, <source>.changelog represent ?
If I understand correctly :
<source>.vcs : contains the information its blend and its vcs broswer.
<source>.chnagelog : contains all the changes that were made to the source
<source>.copyright : contains license information
<source>.control : contains infromation about its packages, dependencies, maintainers etc.
Is there something other than this that I need to know about these?
Thanking You,
Akshita Jha