Closed totaam closed 3 years ago
@smo: please advise on which updates from trunk (#1404) are applicable to the 1.x branch. Then I'll give this another go, copying the module files by hand if needed.
Okay I've updated the other ticket.
Rebuild from scratch with the updates from Xpra-org/xpra#1404#comment:9 worked OK. Closing.
Hit it again after r15394 which had some small mistakes in it:
Tried moving things around (r15397), no help.
Then digging into the jhbuild code in ~/Source/jhbuild/jhbuild//moduleset.py
, I find that they're swallowing the exception details (PITA), so I replaced the exception code with this:
def _parse_module_set(config, uri):
try:
filename = httpcache.load(uri, nonetwork=config.nonetwork, age=0)
except Exception as e:
raise FatalError(_('could not download %s: %s') % (uri, e))
filename = os.path.normpath(filename)
try:
document = xml.dom.minidom.parse(filename)
except IOError as e:
import traceback
traceback.print_stack()
#raise FatalError(_('failed to parse %s: %s') % (filename, e))
raise
except xml.parsers.expat.ExpatError as e:
#raise FatalError(_('failed to parse %s: %s') % (uri, e))
import traceback
traceback.print_stack()
raise
And got the details needed instead of the utterly useless original exception message. Immediately found the problem, fixed in r15398. (could also have been found by opening the file with a validating XML parser) Why on earth isn't this the default??
Similar hidden error in jhbuild: Xpra-org/gtk-osx-build#7#comment:1
Issue migrated from trac ticket # 1392
component: packaging | priority: critical | resolution: worksforme | keywords: osx
2016-12-30 06:03:43: antoine created the issue