Comments (7)
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.
1.6.2
Original comment by [email protected]
on 2 Oct 2010 at 1:12
from bugzilla-vcs.
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.
/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.
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.
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.
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)
- hook.pl assumes multiple projects in one svn repository HOT 5
- Can't locate object method "repository" via package "Git" HOT 3
- SVN Commit Message Includes BR Tags HOT 13
- 404 error running hook.pl with mercurial v4.0 with Hg HOT 2
- Could not authenticate to server (svn authentication) HOT 10
- sync.pl (Git) is examining all commits all the time HOT 5
- hook.pl & sync.pl not commiting to oracle db correctly
- Running hook.pl causes xmlrpc.cgi to hang at 100% CPU
- Commit output not formatted correctly. HOT 4
- checksetup.pl tell me that I must install VCI module for perl but it is already installed HOT 2
- Bugzilla does not show any change
- Advance search does not work HOT 2
- The 'nanosecond' parameter ("...") to DateTime::new did not pass the 'a positive integer' callback
- Running hook.pl/sync.pl error
- RPC::XML::Client::send_request: HTTP server error
- VCS Integration with Bugzilla on Windows 32 bit Machine with ActiveState Perl Requires AlienSVN for which There is No Available Working Build
- Can't locate object method "simple_request"
- Syntax error in extension.pm
- 'Svn' is not a valid VCS
- Software fails to install with perl v5.18.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugzilla-vcs.