Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
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 [email protected] on 2 Oct 2010 at 1:02

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
1.6.2

Original comment by [email protected] on 2 Oct 2010 at 1:12

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
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 [email protected] on 2 Oct 2010 at 1:18

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
/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 [email protected] on 3 Oct 2010 at 3:32

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
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 [email protected] on 4 Oct 2010 at 11:34

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
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 [email protected] on 5 Oct 2010 at 10:16

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
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 [email protected] on 15 Oct 2010 at 10:49

from bugzilla-vcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.