Error building for windows

Suggestions and discussion of future versions
lokro
New User
New User
Posts: 2
Joined: Tue Jul 29, 2014 10:03 pm

Error building for windows

Postby lokro » Tue Jul 29, 2014 10:09 pm

I have cloned the lastest from git developer branch.

Windows 8.1 64bit
Python 2.7 32 bit (all dependencies install)

When I run python setup.py clean -a or python setup.py build I get the following error.

Code: Select all

Traceback (most recent call last):
  File "setup.py", line 338, in <module>
    version = get_version(prefix='deluge-', suffix='.dev0'),
  File "c:\Users\Matt\GitHub\deluge\version.py", line 61, in get_version
    raise ValueError("Cannot find the version number!")
ValueError: Cannot find the version number!


I also tried to build from your repo at http://git.deluge-torrent.org/deluge and got the same error with deluge-1.4.0.dev0

Cas
Top Bloke
Top Bloke
Posts: 3643
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Error building for windows

Postby Cas » Wed Jul 30, 2014 9:18 am

Are you running that from a git bash cmd prompt?

The version script requires git to create a RELEASE_VERSION file, you could create the file manually but using git prompt should work.

lokro
New User
New User
Posts: 2
Joined: Tue Jul 29, 2014 10:03 pm

Re: Error building for windows

Postby lokro » Wed Jul 30, 2014 3:53 pm

That worked, thanks for the help!

hyyz17200
New User
New User
Posts: 2
Joined: Sat Sep 01, 2018 5:36 am

Re: Error building for windows

Postby hyyz17200 » Tue Sep 11, 2018 9:31 pm

Cas wrote:Are you running that from a git bash cmd prompt?

The version script requires git to create a RELEASE_VERSION file, you could create the file manually but using git prompt should work.


I tried with git pulled folder, use git bash, it works.
But, If I download the zip source file, extract, then it doesn't work. Still "Cannot find the version number!".
How to solve?

DjLegolas
Member
Member
Posts: 23
Joined: Thu Oct 12, 2017 3:31 pm

Re: Error building for windows

Postby DjLegolas » Tue Sep 11, 2018 10:10 pm

Try creating a new text file named "RELEASE-VERSION" and enter the value "2.0.0.dev7192" to it.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 4 guests