Someone must've asked this before, but I'm too tired to go through any more walls of text.. but was there a way to specify the pad size with trade.py run? My Lakon 7 doesn't quite fit on the outposts.
Not sure if this thread is correct for errors. When I try trade.py update, I am getting a ImportError: DLL load failed: %1 is not a valid Win32 application.
I am running Win 7 64 bit until the OS X client is released.
Someone must've asked this before, but I'm too tired to go through any more walls of text.. but was there a way to specify the pad size with trade.py run? My Lakon 7 doesn't quite fit on the outposts.
Can you please paste the entire output? (From command prompt, press alt+space, select edit -> mark, you can now click&draw a selection box over the text in the window, hit enter when you've highlighted the appropriate text, and then paste it into the forum box here)
- - - - - Additional Content Posted / Auto Merge - - - - -
$ /c/trade/trade.py update -GF -wx=-40 -wy=40 ERAVATE/Maine
NOTE:
. Press CTRL-C here to abort edit, otherwise just close the update window to s
e.
. '-F' makes the window show in-front of the EWindow.
. '-A' forces all items to be listed.
Traceback (most recent call last):
File "c:/trade/trade.py", line 76, in <module>
main(sys.argv)
File "c:/trade/trade.py", line 50, in main
results = cmdenv.run(tdb)
File "c:\trade\commands\commandenv.py", line 78, in run
return self._cmd.run(results, self, tdb)
File "c:\trade\commands\update_cmd.py", line 401, in run
guidedUpdate(tdb, cmdenv)
File "c:\trade\commands\update_cmd.py", line 352, in guidedUpdate
from commands.update_gui import render
File "c:\trade\commands\update_gui.py", line 1, in <module>
import tkinter as tk
File "c:\Python34\lib\tkinter\__init__.py", line 36, in <module>
from tkinter import _fix
File "c:\Python34\lib\tkinter\_fix.py", line 65, in <module>
import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.
File "c:\trade\commands\update_gui.py", line 1, in <module>
import tkinter as tk
File "c:\Python34\lib\tkinter\__init__.py", line 36, in <module>
from tkinter import _fix
File "c:\Python34\lib\tkinter\_fix.py", line 65, in <module>
import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.
>>> import tkinter
If you're using maddavo, no problem, you can always upload your station.csv to him after changing it, but there is currently no way to upload a "delete".
If you upload a station to maddavo with a distance of -1 then it will delete the station.
@ SOL/Abraham Lincoln
+ Chemicals
Explosives 1 2 ? ?
Hydrogen Fuel 107 113 ? 947537M
trade.py run --cr 10000000 --cap 532 --ly 12.02 -vvv
Traceback (most recent call last):
File "trade.py", line 76, in <module>
main(sys.argv)
File "trade.py", line 50, in main
results = cmdenv.run(tdb)
File "/kfsone-tradedangerous-12a7b15945cb/commands/commandenv.py", line 78, in run
return self._cmd.run(results, self, tdb)
File "/kfsone-tradedangerous-12a7b15945cb/commands/run_cmd.py", line 558, in run
newRoutes = calc.getBestHops(routes, restrictTo=restrictTo)
File "/kfsone-tradedangerous-12a7b15945cb/tradecalc.py", line 467, in getBestHops
tdb.loadStationTrades(stationsNotYetLoaded)
File "/kfsone-tradedangerous-12a7b15945cb/tradedb.py", line 1354, in loadStationTrades
) in self.cur:
sqlite3.DatabaseError: database disk image is malformed
trade.py run --cr 10000000 --cap 532 --ly 12.02 -vvv --fr sol
Segmentation fault (core dumped)
Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> cd C:\TradeDangerous
PS C:\TradeDangerous> .\trade.py run --insurance 20000 --ly 15.25 --empty-ly 23.55 --cap 18 --credit
s 315990 --hops 10 --from "eravate/ackerman market" --to "eravate" --jumps 2
Traceback (most recent call last):
File "C:\TradeDangerous\trade.py", line 76, in <module>
File "C:\TradeDangerous\trade.py", line 50, in main
File "C:\TradeDangerous\commands\commandenv.py", line 78, in run
File "C:\TradeDangerous\commands\run_cmd.py", line 558, in run
File "C:\TradeDangerous\tradecalc.py", line 467, in getBestHops
File "C:\TradeDangerous\tradedb.py", line 1370, in loadStationTrades
File "<string>", line 14, in __new__
MemoryError
PS C:\TradeDangerous>
The "out of memory" error is being caused by the radical increase in prices getting ahead of development; I'm working towards a fix at the moment.
It should only be happening under 32-bit Python.
Is it possible to search by commodity.
$ trade.py buy -vv --near gilleke uraninite
Station Cost Stock DistLy Age/days StnLs Pad
---------------------------------------------------------------------------------
NUENETS/Forrester Dock 785 262.467 12.50 2.05 11.3K Med
NUENETS/Shriver Hub 785 84.984 12.50 2.10 11.4K Lrg
NUENETS/Harbaugh Port 785 20.656 12.50 2.06 11.3K Med
NUENETS/Laliberte Enterprise 786 14.782 12.50 2.07 11.4K Lrg
-- Average 821