Tobi's "Rapid" program for windows - Page 2

Tobi's "Rapid" program for windows

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Tobi's "Rapid" program for windows

Post by Satirik »

zwzsg wrote:Which dll and things? Where do they come from? From Spring installer? From rapid.zip? From library.zip you told me not to unzip (and which doesn't help when unzipped)? Am I supposed to have python installed on my machine beforehand? To get some redistributable framework MS thingy everybody is supposed to already have these days?
my msg was deleted by a r******* moderator, but he is just talking about the files in the archive, but since he can't see all of them, THEY MUST NOT ALL BE IN THE DIR !!!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Tobi's "Rapid" program for windows

Post by Forboding Angel »

In the rapid.zip there are a bunch of libraries and things. Those are absolutely necessary. If you look at the error, its telling you that it can't find a module, ergo, its missing something that should be there but isn't.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Tobi's "Rapid" program for windows

Post by AF »

Loving the blurred out folder names in your screenshots Z =)
Versus999
Posts: 1
Joined: 19 Dec 2010, 04:39

Re: Tobi's "Rapid" program for windows

Post by Versus999 »

I never had the gui version or multiple-files-in-the-zip version of rapid for windows working, but the 0.43 exe by abma (placed in spring dir) was working fine.
(At least after installing Microsoft Visual Studio libs, would be nice if the dll were packaged inside, it would have avoided the problem zwzsg had)

Since the update to spring 0.82.7 it doesn't anymore. Very sad :(

With 0.43 (in Spring Engine dir) I now get :

[removed the usual verbose about the checked directories as it shows the right ones]

Code: Select all

Traceback (most recent call last):
  File "rapid.py", line 75, in <module>
  File "rapid\unitsync\api.pyo", line 80, in get_writable_data_directory
  File "rapid\unitsync\unitsync.pyo", line 182, in Init
ValueError: Procedure probably called with not enough arguments (4 bytes missing)
With the rapid.exe provided with the installer (in Spring Engine\rapid) I get :

Code: Select all

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
  File "bin/rapid", line 7, in <module>
  File "Z:\python\rapid\rapid\ui\text\main.py", line 117, in main
  File "Z:\python\rapid\rapid\unitsync\api.py", line 83, in get_writable_data_directory
  File "Z:\python\rapid\rapid\unitsync\unitsync.py", line 183, in Init
ValueError: Procedure probably called with not enough arguments (4 bytes missing)
I get this whatever argument I supply to both, when showing the list of the commands there is no error (but it's useless).
I see both relate to unitsync...

Also I see http://pypi.python.org/pypi/rapid-spring/0.5.1 is already @ version 0.51 instead of 0.43, could it be what makes the problem ?

PS: the gui version provided by the installer only show a windows with 2 white zones and a "downloading" message, indefinitely, no error message, no hang, nothing.
Help !

EDIT :

rapid.exe from http://www.evolutionrts.info/random/rapid.zip gives that :

Code: Select all

Traceback (most recent call last):
  File "c:\Python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
  File "bin/rapid", line 7, in <module>
  File "Z:\python\rapid\rapid\ui\text\main.py", line 104, in main
  File "Z:\python\rapid\rapid\unitsync\api.py", line 80, in get_writable_data_directory
  File "Z:\python\rapid\rapid\unitsync\unitsync.py", line 182, in Init
ValueError: Procedure probably called with not enough arguments (4 bytes missing)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Tobi's "Rapid" program for windows

Post by abma »

this problems could be fixed by this commit:
https://github.com/spring/spring/commit ... 2559d41bf3

next bugfix-release should come very soon...
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Tobi's "Rapid" program for windows

Post by koshi »

yes, it will be fixed with 0.82.7.1
User avatar
Zydox
Lobby Developer
Posts: 453
Joined: 23 May 2006, 13:54

Re: Tobi's "Rapid" program for windows

Post by Zydox »

Does that mean that I'll continue seeing all the errors from unitsync when it tried to read the mapoptions?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Tobi's "Rapid" program for windows

Post by abma »

@Zydox: to few infos... when do you get errors? what are you doing? which version are you using?


with 0.82.7.1 most unitsync problems should be gone...
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Tobi's "Rapid" program for windows

Post by koshi »

you should be able to disable all log output by exporting SPRING_LOGSYSTEMS=none (not sure on the real name) and before launch
Post Reply

Return to “Engine”