logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: ViewVC with CVSNT - checkin database setup: msg#00040

Subject: Re: ViewVC with CVSNT - checkin database setup

Just thought I'd post a follow-up to my message from yesterday, in case anyone else is having similar problems.

I got past my first problem by changing two lines in cvsdb.py, as described here:
        http://viewvc.tigris.org/servlets/ReadMsg?listName=users&msgNo=4753

I could then run cvsdbadmin, but nothing was showing up in the database.  I researched that, and found that I needed to switch my MySQL tables from InnoDB to MyISAM, as described here:
        http://viewvc.tigris.org/issues/show_bug.cgi?id=262

That cleared things up, for the most part, except for one last thing that I needed to change in viewvc.conf.  I had to change:
        cvs_roots = cvs: /cvs/repo
to:
        cvs_roots = cvs: d:/cvs/repo
Apparently, the "/cvs/repo" works fine for everything except the checkin database stuff, since I didn't have any problems until I started playing with that.

Hope this message is helpful to someone else at some point!

-- Andrew Huey

mis@xxxxxxxxxxxx wrote on 03/20/2007 05:12:17 PM:

>
> Hello all.  I'm using ViewVC 1.0.3 with CVSNT 2.5.03 build 2382.  
> I've got pretty much everything working fine now, except for the
> checkin database, which I'm just now trying to set up.  I installed
> MySQL 5.0.37 and MySQL-Python 1.2.2 (for Python 2.4).  (This is all
> running on a Windows 2003 server.)  The make-database script seems
> to have run OK.  When I try to do the "cvsdbadmin rebuild <repo>",
> though, I get the error shown below:
>
> Using repository root `D:\cvs\repo'
> [CVSROOT/checkoutlist [1 commits]]
> Traceback (most recent call last):
>   File "bin\cvsdbadmin", line 151, in ?
>     RecurseUpdate(db, repository, path_parts, update)
>   File "bin\cvsdbadmin", line 81, in RecurseUpdate
>     RecurseUpdate(db, repository, path, update)
>   File "bin\cvsdbadmin", line 85, in RecurseUpdate
>     UpdateFile(db, repository, path, update)
>   File "bin\cvsdbadmin", line 67, in UpdateFile
>     db.AddCommit(commit)
>   File "d:\viewvc-1.0.3\lib\cvsdb.py", line 265, in AddCommit
>     cursor.execute(sql, sql_args)
>   File "D:\Python24\Lib\site-packages\MySQLdb\cursors.py", line 166,in execute
>     self.errorhandler(self, exc, value)
>   File "D:\Python24\Lib\site-packages\MySQLdb\connections.py", line
> 35, in defaulterrorhandler
>     raise errorclass, errorvalue
> _mysql_exceptions.OperationalError: (1366, "Incorrect integer value:
> '' for column 'addedlines' at row 1")
>
> Can anyone point me in the right direction as to what I may be
> missing?  I started tracing back through the Python code, but I'm
> not familiar enough with CVS or ViewVC to know what I'm looking for.
> Any pointers would be appreciated.  Thanks.
>
> -- Andrew Huey
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe