Message from discussion
Repo_sync crashes following server rebuild.
Received: by 10.42.251.16 with SMTP id mq16mr7412417icb.5.1342443681914;
Mon, 16 Jul 2012 06:01:21 -0700 (PDT)
X-BeenThere: reposado@googlegroups.com
Received: by 10.50.11.232 with SMTP id t8ls2890889igb.2.canary; Mon, 16 Jul
2012 06:01:21 -0700 (PDT)
Received: by 10.50.237.39 with SMTP id uz7mr5857136igc.2.1342443681065;
Mon, 16 Jul 2012 06:01:21 -0700 (PDT)
Received: by 10.50.237.39 with SMTP id uz7mr5857133igc.2.1342443680986;
Mon, 16 Jul 2012 06:01:20 -0700 (PDT)
Return-Path: <hansen.m_li...@me.com>
Received: from st11p02mm-asmtpout005.mac.com (st11p02mm-asmtpout005.mac.com. [17.172.220.240])
by gmr-mx.google.com with ESMTP id z56si2242487yhg.6.2012.07.16.06.01.20;
Mon, 16 Jul 2012 06:01:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of hansen.m_li...@me.com designates 17.172.220.240 as permitted sender) client-ip=17.172.220.240;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of hansen.m_li...@me.com designates 17.172.220.240 as permitted sender) smtp.mail=hansen.m_li...@me.com
MIME-version: 1.0
Content-type: multipart/alternative;
boundary="Boundary_(ID_pmMGH1zyzkziaWckK5Xzjw)"
Received: from chm018.educ.psu.edu (chm018.educ.psu.edu [146.186.209.18])
by st11p02mm-asmtp005.mac.com
(Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan
3 2012)) with ESMTPSA id <0M7900I1C867K...@st11p02mm-asmtp005.mac.com> for
reposado@googlegroups.com; Mon, 16 Jul 2012 13:01:20 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure
engine=2.50.10432:5.7.7855,1.0.260,0.0.0000
definitions=2012-07-16_02:2012-07-16,2012-07-16,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001
definitions=main-1207160107
From: Matt Hansen <hansen.m_li...@me.com>
Subject: Re: [reposado] Repo_sync crashes following server rebuild.
Date: Mon, 16 Jul 2012 09:01:19 -0400
In-reply-to: <90ac9ccc-2306-4ad8-97f3-090ed8898b47@googlegroups.com>
To: reposado@googlegroups.com
References: <90ac9ccc-2306-4ad8-97f3-090ed8898b47@googlegroups.com>
Message-id: <C49580E6-F2FC-4A65-9BF2-915770A35...@me.com>
X-Mailer: Apple Mail (2.1278)
--Boundary_(ID_pmMGH1zyzkziaWckK5Xzjw)
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Simon,
I had the same issue with the 041-3895 en.dist see this thread - https://groups.google.com/forum/?fromgroups#!topic/reposado/oTn0I9xvC3w
Check the .dist file link in Safari and it should contain 1030 lines, and if not copy the valid file from the thread into your repo and set the permissions.
> xml.parsers.expat.ExpatError: no element found: line 811, column 10884
-Matt
On Jul 16, 2012, at 3:04 AM, Simon Weaver wrote:
> Hi,
>
> I'm struggling with repo_sync following a rebuild of the server.
>
> I got this error when ran first time...
>
> repo_sync run started
> Downloading 2199760 bytes from http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog...
> 572 products found in http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog
> Downloading 5079 bytes from http://swcdn.apple.com/content/downloads/30/42/041-0259/qptvjgjq5474oeefdbjnltv7udxkvlpex4/041-0259.English.dist...
> Downloading 5072 bytes from http://swcdn.apple.com/content/downloads/57/42/041-0260/i4hr4ndourabmvja7o3gm3bkau7yjth0bh/041-0260.English.dist...
> Downloading 3566 bytes from http://swcdn.apple.com/content/downloads/11/05/041-0925/g27es04pw9re5ggrfp3vuf8ew6r53asfz8/041-0925.English.dist...
> Downloading 5093 bytes from http://swcdn.apple.com/content/downloads/09/60/041-3127/ijewgysp6mkwmtxvus763gj3lg8x9aa6af/041-3127.English.dist...
> Downloading 454245 bytes from http://swcdn.apple.com/content/downloads/41/26/041-3633/9wojm65c7neiocqb9yrnzwfdohplc9241j/041-3633.en.dist...
> Downloading 3583 bytes from http://swcdn.apple.com/content/downloads/55/51/041-3891/se4uhpqng48t842cdsosqh28lft54fmswl/041-3891.English.dist...
> Downloading 131072 bytes from http://swcdn.apple.com/content/downloads/14/09/041-3895/9zeav40ts92sovsa2xbbbz74etormhzt6e/041-3895.en.dist...
> Traceback (most recent call last):
> File "./repo_sync", line 710, in <module>
> main()
> File "./repo_sync", line 706, in main
> download_packages=download_packages)
> File "./repo_sync", line 633, in sync
> dist = parseSUdist(preferred_dist)
> File "./repo_sync", line 106, in parseSUdist
> dom = minidom.parse(filename)
> File "/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in parse
> return expatbuilder.parse(file)
> File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse
> result = builder.parseFile(fp)
> File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile
> parser.Parse("", True)
> xml.parsers.expat.ExpatError: no element found: line 811, column 10884
>
> my preferences plist is as follows (I'm only after lion updates)
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>LocalCatalogURLBase</key>
> <string></string>
> <key>UpdatesMetadataDir</key>
> <string>/var/www/swupdate/metadata</string>
> <key>UpdatesRootDir</key>
> <string>/var/www/swupdate/html</string>
>
> <key>AppleCatalogURLs</key>
> <array>
> <string>http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog</string>
> </array>
> </dict>
> </plist>
>
> I'm sure I've done something daft but just can't see it.
>
> Thanks,
> Simon.
>
--Boundary_(ID_pmMGH1zyzkziaWckK5Xzjw)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: quoted-printable
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">Simon,<div><br></div><div>I had the same issue with the 041-3895 =
en.dist see this thread - <a =
href=3D"https://groups.google.com/forum/?fromgroups#!topic/reposado/oTn0I9=
xvC3w">https://groups.google.com/forum/?fromgroups#!topic/reposado/oTn0I9x=
vC3w</a></div><div><br></div><div>Check the .dist file link in Safari =
and it should contain 1030 lines, and if not copy the valid file from =
the thread into your repo and set the =
permissions.</div><div><br></div><div><blockquote =
type=3D"cite"><div><div>xml.parsers.expat.ExpatError: no element found: =
line 811, column 10884</div></div></blockquote></div><div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; =
"><div>-Matt</div></div></span></div></span></div></span></div></span></di=
v></span></div></span></div></span></div></span></span>
</div>
<br><div><div>On Jul 16, 2012, at 3:04 AM, Simon Weaver wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite">Hi,<div><br></div><div>I'm struggling with repo_sync =
following a rebuild of the server. </div><div><br></div><div>I got =
this error when ran first =
time...</div><div><br></div><div><div>repo_sync run =
started</div><div>Downloading 2199760 bytes from <a =
href=3D"http://swscan.apple.com/content/catalogs/others/index-lion-snowleo=
pard-leopard.merged-1.sucatalog">http://swscan.apple.com/content/catalogs/=
others/index-lion-snowleopard-leopard.merged-1.sucatalog</a>...</div><div>=
572 products found in <a =
href=3D"http://swscan.apple.com/content/catalogs/others/index-lion-snowleo=
pard-leopard.merged-1.sucatalog">http://swscan.apple.com/content/catalogs/=
others/index-lion-snowleopard-leopard.merged-1.sucatalog</a></div><div>Dow=
nloading 5079 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/30/42/041-0259/qptvjgjq54=
74oeefdbjnltv7udxkvlpex4/041-0259.English.dist">http://swcdn.apple.com/con=
tent/downloads/30/42/041-0259/qptvjgjq5474oeefdbjnltv7udxkvlpex4/041-0259.=
English.dist</a>...</div><div>Downloading 5072 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/57/42/041-0260/i4hr4ndour=
abmvja7o3gm3bkau7yjth0bh/041-0260.English.dist">http://swcdn.apple.com/con=
tent/downloads/57/42/041-0260/i4hr4ndourabmvja7o3gm3bkau7yjth0bh/041-0260.=
English.dist</a>...</div><div>Downloading 3566 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/11/05/041-0925/g27es04pw9=
re5ggrfp3vuf8ew6r53asfz8/041-0925.English.dist">http://swcdn.apple.com/con=
tent/downloads/11/05/041-0925/g27es04pw9re5ggrfp3vuf8ew6r53asfz8/041-0925.=
English.dist</a>...</div><div>Downloading 5093 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/09/60/041-3127/ijewgysp6m=
kwmtxvus763gj3lg8x9aa6af/041-3127.English.dist">http://swcdn.apple.com/con=
tent/downloads/09/60/041-3127/ijewgysp6mkwmtxvus763gj3lg8x9aa6af/041-3127.=
English.dist</a>...</div><div>Downloading 454245 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/41/26/041-3633/9wojm65c7n=
eiocqb9yrnzwfdohplc9241j/041-3633.en.dist">http://swcdn.apple.com/content/=
downloads/41/26/041-3633/9wojm65c7neiocqb9yrnzwfdohplc9241j/041-3633.en.di=
st</a>...</div><div>Downloading 3583 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/55/51/041-3891/se4uhpqng4=
8t842cdsosqh28lft54fmswl/041-3891.English.dist">http://swcdn.apple.com/con=
tent/downloads/55/51/041-3891/se4uhpqng48t842cdsosqh28lft54fmswl/041-3891.=
English.dist</a>...</div><div>Downloading 131072 bytes from <a =
href=3D"http://swcdn.apple.com/content/downloads/14/09/041-3895/9zeav40ts9=
2sovsa2xbbbz74etormhzt6e/041-3895.en.dist">http://swcdn.apple.com/content/=
downloads/14/09/041-3895/9zeav40ts92sovsa2xbbbz74etormhzt6e/041-3895.en.di=
st</a>...</div><div>Traceback (most recent call last):</div><div> =
File "./repo_sync", line 710, in <module></div><div> =
main()</div><div> File "./repo_sync", line 706, in =
main</div><div> =
download_packages=3Ddownload_packages)</div><div> File =
"./repo_sync", line 633, in sync</div><div> dist =3D =
parseSUdist(preferred_dist)</div><div> File "./repo_sync", line =
106, in parseSUdist</div><div> dom =3D =
minidom.parse(filename)</div><div> File =
"/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in =
parse</div><div> return =
expatbuilder.parse(file)</div><div> File =
"/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in =
parse</div><div> result =3D =
builder.parseFile(fp)</div><div> File =
"/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in =
parseFile</div><div> parser.Parse("", =
True)</div><div>xml.parsers.expat.ExpatError: no element found: line =
811, column 10884</div></div><div><br></div><div>my preferences plist is =
as follows (I'm only after lion updates)</div><div><div><?xml =
version=3D"1.0" encoding=3D"UTF-8"?></div><div><!DOCTYPE plist =
PUBLIC "-//Apple//DTD PLIST 1.0//EN" "<a =
href=3D"http://www.apple.com/DTDs/PropertyList-1.0.dtd">http://www.apple.c=
om/DTDs/PropertyList-1.0.dtd</a>"></div><div><plist =
version=3D"1.0"></div><div><dict></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><key>LocalCatalogURLBase</key></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><string></string></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><key>UpdatesMetadataDir</key></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><string>/var/www/swupdate/metadata</string></div><div><=
span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><key>UpdatesRootDir</key></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span><string>/var/www/swupdate/html</string></div><div><br><=
/div><div> =
<key>AppleCatalogURLs</key></div><div> =
<array></div><div> <string><a =
href=3D"http://swscan.apple.com/content/catalogs/others/index-lion-snowleo=
pard-leopard.merged-1.sucatalog</string>">http://swscan.apple.com/co=
ntent/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog<=
;/string></a></div><div> =
</array></div><div></dict></div><div></plist></div></div=
><div><br></div><div>I'm sure I've done something daft but just can't =
see =
it.</div><div><br></div><div>Thanks,</div><div>Simon.</div><div><br></div>=
</blockquote></div><br></div></body></html>=
--Boundary_(ID_pmMGH1zyzkziaWckK5Xzjw)--