Error building for windows

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

Error building for windows

Post by lokro »

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: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Error building for windows

Post by Cas »

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

Post by lokro »

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

Post by hyyz17200 »

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: 35
Joined: Thu Oct 12, 2017 3:31 pm

Re: Error building for windows

Post by DjLegolas »

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