[opensuse-buildservice] Problem with osc (Syntax)
Hello Mates, i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci": Traceback (most recent call last): File "/usr/bin/osc", line 22, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 46, in run return prg.main() File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 308, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 1933, in do_commit Project(prj).commit(tuple(packages), msg, files) File "/usr/lib64/python2.6/site-packages/osc/core.py", line 337, in __init__ self.pac_root = self.read_packages().getroot() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 399, in read_packages return ET.parse(os.path.join(self.absdir, store, '_packages')) File "<string>", line 45, in parse File "<string>", line 32, in parse SyntaxError: no element found: line 1, column 0 Maybe anyone knows what happens? -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong. cheers, JW-
Traceback (most recent call last): File "/usr/bin/osc", line 22, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 46, in run return prg.main() File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 308, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 1933, in do_commit Project(prj).commit(tuple(packages), msg, files) File "/usr/lib64/python2.6/site-packages/osc/core.py", line 337, in __init__ self.pac_root = self.read_packages().getroot() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 399, in read_packages return ET.parse(os.path.join(self.absdir, store, '_packages')) File "<string>", line 45, in parse File "<string>", line 32, in parse SyntaxError: no element found: line 1, column 0
-- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong. I have my Script pasted in: http://pastebin.ca/1642674.
It happens after: Entry openSUSE:Factory:Contrib/lynis Entry openSUSE:Factory:Contrib/rkhunter Entry openSUSE:Factory:Contrib/python-icalendar Entry openSUSE:Factory:Contrib/mountmanager Entry openSUSE:Factory:Contrib/bleachbit Entry openSUSE:Factory;Contrib/kpassgen Entry openSUSE:Factory:Contrib/assuma Entry Folder freemedforms My Cron-Mail i have pasted in: http://pastebin.ca/1642677 -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-10-25 16:23:13 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong. I have my Script pasted in: http://pastebin.ca/1642674.
It happens after: Entry openSUSE:Factory:Contrib/lynis Entry openSUSE:Factory:Contrib/rkhunter Entry openSUSE:Factory:Contrib/python-icalendar Entry openSUSE:Factory:Contrib/mountmanager Entry openSUSE:Factory:Contrib/bleachbit Entry openSUSE:Factory;Contrib/kpassgen Entry openSUSE:Factory:Contrib/assuma Entry Folder freemedforms
Can you post the contents of the openSUSE:Factory:Contrib/lynis/.osc and openSUSE:Factory:Contrib/rkhunter/.osc directories? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag 25 Oktober 2009 15:30:10 wrote Marcus Hüwe:
On 2009-10-25 16:23:13 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong.
I have my Script pasted in: http://pastebin.ca/1642674.
It happens after: Entry openSUSE:Factory:Contrib/lynis Entry openSUSE:Factory:Contrib/rkhunter Entry openSUSE:Factory:Contrib/python-icalendar Entry openSUSE:Factory:Contrib/mountmanager Entry openSUSE:Factory:Contrib/bleachbit Entry openSUSE:Factory;Contrib/kpassgen Entry openSUSE:Factory:Contrib/assuma Entry Folder freemedforms
Can you post the contents of the openSUSE:Factory:Contrib/lynis/.osc and openSUSE:Factory:Contrib/rkhunter/.osc directories? I have tried to delete the Folder and recheckkout this. While checkout i've got the Error: http://pastebin.ca/1642723. Which Files you need from .osc? It contains my files and _apiurl and other Files.
-- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-10-25 17:32:09 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 15:30:10 wrote Marcus Hüwe:
On 2009-10-25 16:23:13 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong.
I have my Script pasted in: http://pastebin.ca/1642674.
It happens after: Entry openSUSE:Factory:Contrib/lynis Entry openSUSE:Factory:Contrib/rkhunter Entry openSUSE:Factory:Contrib/python-icalendar Entry openSUSE:Factory:Contrib/mountmanager Entry openSUSE:Factory:Contrib/bleachbit Entry openSUSE:Factory;Contrib/kpassgen Entry openSUSE:Factory:Contrib/assuma Entry Folder freemedforms
Can you post the contents of the openSUSE:Factory:Contrib/lynis/.osc and openSUSE:Factory:Contrib/rkhunter/.osc directories? I have tried to delete the Folder and recheckkout this. While checkout i've got the Error: http://pastebin.ca/1642723. Which Files you need from .osc? It contains my files and _apiurl and other Files.
I just need the complete directory listing (not the content of the files). Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag 25 Oktober 2009 19:16:33 wrote Marcus Hüwe:
On 2009-10-25 17:32:09 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 15:30:10 wrote Marcus Hüwe:
On 2009-10-25 16:23:13 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Do you have one specific sequence that reliably reproduces this error? Just from looking at a backtrace, it is hard to guess what is wrong.
I have my Script pasted in: http://pastebin.ca/1642674.
It happens after: Entry openSUSE:Factory:Contrib/lynis Entry openSUSE:Factory:Contrib/rkhunter Entry openSUSE:Factory:Contrib/python-icalendar Entry openSUSE:Factory:Contrib/mountmanager Entry openSUSE:Factory:Contrib/bleachbit Entry openSUSE:Factory;Contrib/kpassgen Entry openSUSE:Factory:Contrib/assuma Entry Folder freemedforms
Can you post the contents of the openSUSE:Factory:Contrib/lynis/.osc and openSUSE:Factory:Contrib/rkhunter/.osc directories?
I have tried to delete the Folder and recheckkout this. While checkout i've got the Error: http://pastebin.ca/1642723. Which Files you need from .osc? It contains my files and _apiurl and other Files.
I just need the complete directory listing (not the content of the files). OK: ---lynis--- sascha@linux-eh47:~/osc/openSUSE:Factory:Contrib/lynis/.osc> l insgesamt 136 drwxr-xr-x 2 sascha users 4096 25. Okt 16:29 ./ drwxr-xr-x 3 sascha users 4096 25. Okt 16:29 ../ -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _apiurl -rw-r--r-- 1 sascha users 5518 12. Apr 2009 default.prf -rw-r--r-- 1 sascha users 719 25. Okt 16:29 _files -rw-r--r-- 1 sascha users 78948 6. Apr 2009 lynis-1.2.6.tar.bz2 -rw-r--r-- 1 sascha users 1804 11. Mai 15:28 lynis.changes -rw-r--r-- 1 sascha users 120 12. Apr 2009 lynis-rpmlintrc -rw-r--r-- 1 sascha users 3001 31. Jul 23:49 lynis.spec -rw-r--r-- 1 sascha users 4 25. Okt 16:29 _osclib_version -rw-r--r-- 1 sascha users 6 25. Okt 16:29 _package -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _project -rw-r--r-- 1 sascha users 1948 22. Sep 23:46 rkhunter.cron
--rkhunter-- sascha@linux-eh47:~/osc/openSUSE:Factory:Contrib/rkhunter/.osc> l insgesamt 296 drwxr-xr-x 2 sascha users 4096 23. Sep 01:57 ./ drwxr-xr-x 3 sascha users 4096 23. Sep 01:57 ../ -rw-r--r-- 1 sascha users 25 23. Sep 01:57 _apiurl -rw-r--r-- 1 sascha users 964 23. Sep 01:57 _files -rw-r--r-- 1 sascha users 4 23. Sep 01:57 _osclib_version -rw-r--r-- 1 sascha users 9 23. Sep 01:57 _package -rw-r--r-- 1 sascha users 25 23. Sep 01:57 _project -rw-r--r-- 1 sascha users 230931 10. Jan 2009 rkhunter-1.3.4.tar.bz2 -rw-r--r-- 1 sascha users 5868 11. Mai 15:28 rkhunter.changes -rw-r--r-- 1 sascha users 1999 4. Nov 2008 rkhunter.cron -rw-r--r-- 1 sascha users 1434 3. Apr 2008 rkhunter-installer.patch -rw-r--r-- 1 sascha users 163 4. Jun 2007 rkhunter.logrotate -rw-r--r-- 1 sascha users 266 8. Mai 2008 rkhunter-README.SuSE -rw-r--r-- 1 sascha users 5362 12. Apr 2009 rkhunter.spec -rw-r--r-- 1 sascha users 2069 4. Nov 2008 rkhunter.sysconfig -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-10-25 20:34:56 +0200, Sascha 'saigkill' Manns wrote: <SNIP>
OK: ---lynis--- sascha@linux-eh47:~/osc/openSUSE:Factory:Contrib/lynis/.osc> l insgesamt 136 drwxr-xr-x 2 sascha users 4096 25. Okt 16:29 ./ drwxr-xr-x 3 sascha users 4096 25. Okt 16:29 ../ -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _apiurl -rw-r--r-- 1 sascha users 5518 12. Apr 2009 default.prf -rw-r--r-- 1 sascha users 719 25. Okt 16:29 _files -rw-r--r-- 1 sascha users 78948 6. Apr 2009 lynis-1.2.6.tar.bz2 -rw-r--r-- 1 sascha users 1804 11. Mai 15:28 lynis.changes -rw-r--r-- 1 sascha users 120 12. Apr 2009 lynis-rpmlintrc -rw-r--r-- 1 sascha users 3001 31. Jul 23:49 lynis.spec -rw-r--r-- 1 sascha users 4 25. Okt 16:29 _osclib_version -rw-r--r-- 1 sascha users 6 25. Okt 16:29 _package -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _project -rw-r--r-- 1 sascha users 1948 22. Sep 23:46 rkhunter.cron
Ok this looks good to me. Can you also post: cat /osc/openSUSE:Factory:Contrib/.osc/_packages ? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag 26 Oktober 2009 19:23:03 wrote Marcus Hüwe:
On 2009-10-25 20:34:56 +0200, Sascha 'saigkill' Manns wrote: <SNIP>
OK: ---lynis--- sascha@linux-eh47:~/osc/openSUSE:Factory:Contrib/lynis/.osc> l insgesamt 136 drwxr-xr-x 2 sascha users 4096 25. Okt 16:29 ./ drwxr-xr-x 3 sascha users 4096 25. Okt 16:29 ../ -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _apiurl -rw-r--r-- 1 sascha users 5518 12. Apr 2009 default.prf -rw-r--r-- 1 sascha users 719 25. Okt 16:29 _files -rw-r--r-- 1 sascha users 78948 6. Apr 2009 lynis-1.2.6.tar.bz2 -rw-r--r-- 1 sascha users 1804 11. Mai 15:28 lynis.changes -rw-r--r-- 1 sascha users 120 12. Apr 2009 lynis-rpmlintrc -rw-r--r-- 1 sascha users 3001 31. Jul 23:49 lynis.spec -rw-r--r-- 1 sascha users 4 25. Okt 16:29 _osclib_version -rw-r--r-- 1 sascha users 6 25. Okt 16:29 _package -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _project -rw-r--r-- 1 sascha users 1948 22. Sep 23:46 rkhunter.cron
Ok this looks good to me. Can you also post: cat /osc/openSUSE:Factory:Contrib/.osc/_packages ? Hmm. The _packages File is empty. Must i recheckout the whole openSUSE:Factory:Contrib Project?
-- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-10-26 21:06:18 +0100, Sascha 'saigkill' Manns wrote:
Am Montag 26 Oktober 2009 19:23:03 wrote Marcus Hüwe:
On 2009-10-25 20:34:56 +0200, Sascha 'saigkill' Manns wrote: <SNIP>
OK: ---lynis--- sascha@linux-eh47:~/osc/openSUSE:Factory:Contrib/lynis/.osc> l insgesamt 136 drwxr-xr-x 2 sascha users 4096 25. Okt 16:29 ./ drwxr-xr-x 3 sascha users 4096 25. Okt 16:29 ../ -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _apiurl -rw-r--r-- 1 sascha users 5518 12. Apr 2009 default.prf -rw-r--r-- 1 sascha users 719 25. Okt 16:29 _files -rw-r--r-- 1 sascha users 78948 6. Apr 2009 lynis-1.2.6.tar.bz2 -rw-r--r-- 1 sascha users 1804 11. Mai 15:28 lynis.changes -rw-r--r-- 1 sascha users 120 12. Apr 2009 lynis-rpmlintrc -rw-r--r-- 1 sascha users 3001 31. Jul 23:49 lynis.spec -rw-r--r-- 1 sascha users 4 25. Okt 16:29 _osclib_version -rw-r--r-- 1 sascha users 6 25. Okt 16:29 _package -rw-r--r-- 1 sascha users 25 25. Okt 16:29 _project -rw-r--r-- 1 sascha users 1948 22. Sep 23:46 rkhunter.cron
Ok this looks good to me. Can you also post: cat /osc/openSUSE:Factory:Contrib/.osc/_packages ? Hmm. The _packages File is empty. Must i recheckout the whole openSUSE:Factory:Contrib Project?
No. Simply remove this file and run e.g. "osc st" in the project dir (/osc/openSUSE:Factory:Contrib). This will recreate the _packages file. Note if you created local packages which aren't committed yet via "osc mkpac" you need to add the package wc's again (osc add <pkg>). Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Oct 25, 09 17:32:09 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 15:30:10 wrote Marcus Hüwe:
On 2009-10-25 16:23:13 +0200, Sascha 'saigkill' Manns wrote:
Am Sonntag 25 Oktober 2009 14:45:50 wrote Juergen Weigert:
On Oct 24, 09 23:21:51 +0200, Sascha 'saigkill' Manns wrote:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci":
Reproduced today, with my own setup: File "/suse/jw/src/svn-co/opensuse/trunk/buildservice/src/clientlib/python/osc/osc/core.py", line 399, in read_packages return ET.parse(os.path.join(self.absdir, store, '_packages')) File "<string>", line 45, in parse File "<string>", line 32, in parse SyntaxError: no element found: line 1, column 0 created a patch that helped. See https://bugzilla.novell.com/show_bug.cgi?id=551147 cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Samstag 24 Oktober 2009 23:21:51 wrote Sascha 'saigkill' Manns:
Hello Mates,
i've written an little Script that syncronize my Home Repo with the Packages in the Repos outside. In some Folders i'm getting after "osc ci": Traceback (most recent call last): File "/usr/bin/osc", line 22, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 46, in run return prg.main() File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 308, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 1933, in do_commit Project(prj).commit(tuple(packages), msg, files) File "/usr/lib64/python2.6/site-packages/osc/core.py", line 337, in __init__ self.pac_root = self.read_packages().getroot() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 399, in read_packages return ET.parse(os.path.join(self.absdir, store, '_packages')) File "<string>", line 45, in parse File "<string>", line 32, in parse SyntaxError: no element found: line 1, column 0
Maybe anyone knows what happens?
I've deleted my openSUSE:Factory:Contrib and rechecked out this and now i can use it normally. Thanks to all ... -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Juergen Weigert
-
Marcus Hüwe
-
Sascha 'saigkill' Manns