Edgewall Software

Ticket #1158 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Null argument when running initenv

Reported by: rasheed.abdulaziz@… Owned by: daniel
Priority: normal Milestone: 0.9.3
Component: version control Version: 0.8
Severity: normal Keywords:
Cc:

Description (last modified by cmlenz) (diff)

I reviece the same error no matter what I try. Perhaps I am missing something? OS is XP Pro.

The process I follow is:


C:\Tools\Python\Scripts>python trac-admin c:\tracenv\trac1.db initenv
Creating a new Trac environment at c:\tracenv\trac1.db

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]> Test

 Please specify the absolute path to the project Subversion repository.
 Repository must be local, and trac-admin requires read+write
 permission to initialize the Trac database.

Path to repository [/var/svn/test]> c:\TestRepo

 Please enter location of Trac page templates.
 Default is the location of the site-wide templates installed with Trac.

Templates directory [c:\Tools\Python\share\trac\templates]>
c:\TestRepo Repository access error: null argument to internal routine

Attachments

Change History

Changed 3 years ago by remco.boema@…

Some problem here.

I'm on w2k, using the svn-win32-1.0.9_py bindings to trac, using a windows installer whenever possible. (apache2, svn, etc)

I've rebuilt my svn repository using berkley db instead of FSFS, and it seems that is the problem.

i've used '/' slashed paths when asked for paths by trac-admin initenv (except for the last one, the templates location)

It seems this works, as the program no longer crashes.

Hope this helps.

Changed 3 years ago by cmlenz

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)

You're probably using subversion 1.1.x, but the subversion python bindings for an earlier version (1.0.x). See this thread on the mailing list.

Please reopen if this is not the case.

Changed 3 years ago by anonymous

  • status changed from closed to reopened
  • resolution invalid deleted

Changed 3 years ago by anonymous

Getting this problem relentlessly. Not doing anything wrong and I tried changing slashes to forward slashes on the repospath but that didn't work. Getting frustrated.

Changed 3 years ago by mgood

  • status changed from reopened to closed
  • resolution set to invalid

As cmlenz said above this is likely due to a mismatch in versions between the SVN applications and the bindings you've installed. If it's not, it still looks like an issue with your installation, so please ask on the MailingList or IrcChannel for support.

Changed 3 years ago by anonymous

Same problem here, consistent subversion 1.2.3 on WinXP.

It's fixed if the subversion repository was created as a native filesystem, not berkeley db.

Not sure whose bug this is.

Changed 3 years ago by cboos

  • status changed from closed to reopened
  • resolution invalid deleted
  • milestone set to 0.9.1

Can you try with the fix corresponding to r2461 applied?

Changed 3 years ago by cmlenz

  • milestone changed from 0.9.1 to 0.9.2

Changed 3 years ago by cboos

  • status changed from reopened to closed
  • resolution set to fixed
  • component changed from trac-admin to version control

I think r2461 will make the error reported in this ticket less likely to happen (at least, it did so for me). Ported to stable in r2710.

Add/Change #1158 (Null argument when running initenv)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.