FS#9093 - beagle 0.3.2-1 won't start (XML Error)

Attached to Project: Arch Linux
Opened by Andreas Hauser (buggs) - Friday, 04 January 2008, 19:31 GMT
Last edited by Isenmann Daniel (ise) - Tuesday, 08 January 2008, 21:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

beagle version 0.3.2-1 (beagled, beagle-query, beagle-search) won't start.


Additional info:
* beagle version 0.3.2-1

$ beagled --fg
Always: Starting Beagle Daemon (version 0.3.2)
Always: Running on Mono 1.2.6
Always: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg
Error: Unhandled exception thrown. Exiting immediately.
System.Xml.XmlException: Document element did not appear. Line 1, position 1.
at Mono.Xml2.XmlTextReader.Read () [0x00000]
at System.Xml.XmlTextReader.Read () [0x00000]
at System.Xml.XmlReader.MoveToContent () [0x00000]
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000]
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000]


Steps to reproduce:

$ beagled --fg
This task depends upon

Closed by  Isenmann Daniel (ise)
Tuesday, 08 January 2008, 21:49 GMT
Reason for closing:  Fixed
Comment by Andreas Hauser (buggs) - Friday, 04 January 2008, 19:32 GMT
I'm on x86_64 btw.
Comment by Isenmann Daniel (ise) - Tuesday, 08 January 2008, 17:21 GMT
Can you please move your ~/.beagle dir to another location and start beagle again? Everything runs fine here. Maybe there is a file corrupted.
Comment by Andreas Hauser (buggs) - Tuesday, 08 January 2008, 21:41 GMT
The problem was an empty ~/.beagle/config/Daemon.xml, removing it fixed the problem.
Thanks!

Btw. and unrelated to the (solved) problem, I notice,
the config files in /etc/beagle are UTF-8 on my system,
while in the XML it says they were UTF-16:

<?xml version="1.0" encoding="utf-16"?>

Loading...