Open GoogleCodeExporter opened 9 years ago
Okay, thanks for your error report. I've seen a similar problem myself, also,
although I haven't fully investigated it yet.
What version of Hg are you using on the server?
Original comment by avatrax...@gmail.com
on 2 Oct 2010 at 1:02
1.6.2
Original comment by dubrav...@gmail.com
on 2 Oct 2010 at 1:12
Okay. Are you capable of running sync.pl against that repository? If so, the
output of sync.pl with -v -v would help a lot.
Original comment by avatrax...@gmail.com
on 2 Oct 2010 at 1:18
/usr/local/bugzilla-3.6.2# perl extensions/VCS/sync.pl --type=Hg
--as=bugzilla@user --project=Test --dry-run --verbose
http://myusername:***@hgrepos/hg/
Syncing Test...
Getting http://myusername:***@hgrepos/hg/Test/rss-log/tip
Couldn't open encmap ascii.enc:
No such file or directory
at /usr/lib/perl5/XML/Parser.pm line 187
Original comment by dubrav...@gmail.com
on 3 Oct 2010 at 3:32
Hmm, okay. That URL in the "Getting" line, is there any chance that I could
possibly get a copy of the contents of it? Either as an attachment here or via
private email.
Original comment by avatrax...@gmail.com
on 4 Oct 2010 at 11:34
I have some news. I add "encoding = UTF-8" option in hgrc file ([web] section)
and now begining of rss-log/tip looks:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
Before was: <?xml version="1.0" encoding="ASCII"?>
Okey, now when i start syns.pl:
$perl extensions/VCS/sync.pl --type=Hg --as=bugzilla@user --project=Test
--dry-run --verbose http://myusername:***@hgrepos/hg/
Syncing Test...
Getting http://myusername:***@hgrepos/hg/Test/rss-log/tip
Getting http://myusername:***@hgrepos/hg/Test/rss-log/http:
Error getting http://myusername:***@hgrepos/hg/Test/rss-log/http:: 404 Not
Found at lib/VCI/VCS/Hg/Repository.pm line 23
VCI::VCS::Hg::Repository::x_get('VCI::VCS::Hg::Repository=HASH(0x313e390)', 'Path::Abstract::Underload=SCALAR(0x36207a8)') called at lib/VCI/VCS/Hg/Project.pm line 37
VCI::VCS::Hg::Project::x_get('VCI::VCS::Hg::Project=HASH(0x314a938)', 'ARRAY(0x35522f8)') called at lib/VCI/VCS/Hg/History.pm line 30
VCI::VCS::Hg::History::_x_get_rss_commits('VCI::VCS::Hg::Project=HASH(0x314a938)', 'XML::Simple=HASH(0x329bde8)', 'http:', '') called at lib/VCI/VCS/Hg/History.pm line 15
VCI::VCS::Hg::History::x_from_rss('VCI::VCS::Hg::History', '', 'VCI::VCS::Hg::Project=HASH(0x314a938)') called at lib/VCI/VCS/Hg/Project.pm line 45
VCI::VCS::Hg::Project::_build_history('VCI::VCS::Hg::Project=HASH(0x314a938)') called at accessor history defined at lib/VCI/Abstract/Project.pm line 12
VCI::Abstract::Project::history('VCI::VCS::Hg::Project=HASH(0x314a938)') called at extensions/VCS/sync.pl line 46
main::sync_project('VCI::VCS::Hg::Project=HASH(0x314a938)') called at extensions/VCS/sync.pl line 119
Original comment by dubrav...@gmail.com
on 5 Oct 2010 at 10:16
Hmm, I wonder if this is some problem related to the fact that you have a
username and password in your URL--I don't think I tested with that. I'll check
it out.
Original comment by avatrax...@gmail.com
on 15 Oct 2010 at 10:49
Original issue reported on code.google.com by
dubrav...@gmail.com
on 31 Aug 2010 at 8:29