Bug 703229

Summary: ParseError: not well-formed (invalid token): line 1, column 0
Product: [Fedora] Fedora Reporter: Tim Flink <tflink>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:375f3647a65e6b989739644422eb0d9bf5e0733bbac098a8551b462c1d6d568b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 18:31:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description Tim Flink 2011-05-09 17:13:28 UTC
The following was filed automatically by anaconda:
anaconda 15.27 exception report
Traceback (most recent call first):
  File "<string>", line 84, in next
  File "/usr/lib/yum-plugins/langpacks.py", line 76, in postreposetup_hook
    for event, elem in iterparse(infile):
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 596, in _getRepos
    self._repos.doSetup(thisrepo)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 568, in doRepoSetup
    return self._getRepos(thisrepo, True)
  File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 1280, in <lambda>
    self.__withFuncDo(anaconda, lambda r: self.ayum.doRepoSetup(thisrepo=r.id),
  File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 1310, in __withFuncDo
    fn(repo)
  File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 1282, in doRepoSetup
    callback=RepoSetupPulseProgress(anaconda.intf))
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 48, in setupRepo
    anaconda.backend.doRepoSetup(anaconda, thisrepo=repo.id, fatalerrors=False)
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 370, in run
    if not setupRepo(self.anaconda, newRepoObj):
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 550, in _addRepo
    if dialog.run() in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
ParseError: not well-formed (invalid token): line 1, column 0

Comment 1 Tim Flink 2011-05-09 17:13:35 UTC
Created attachment 497870 [details]
Attached traceback automatically from anaconda.

Comment 2 Tim Flink 2011-05-09 17:15:08 UTC
I've hit this twice now when I try to add a local updates-testing mirror for i386 F15.

It's possible that I have some malformed repodata since this is a freshly created local mirror. I will look into it.

Comment 3 Chris Lumens 2011-05-09 18:31:24 UTC
Your mirror is handing out total garbage, for some strange reason.  Check out the data attribute in the traceback.

Comment 4 Tim Flink 2011-05-09 18:50:13 UTC
I have confirmed that my local updates-testing repo is corrupt which (In reply to comment #3)
> Your mirror is handing out total garbage, for some strange reason.  Check out
> the data attribute in the traceback.

Yeah, I confirmed that my local mirror is broken and am fixing. Wasn't sure if anaconda was expected to crash in that situation instead of just alerting the user that there were problems with the repo.