[PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-05 Thread Grant Paton-Simpson
Hi all, I have used pyinstaller successfully for a few different projects before but something is going wrong when I try to package the open source SOFA Statistics project. The exe runs correctly on the dev machine I used to make the package but fails on a VirtualBox snapshot of XP (which has

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-07 Thread Grant Paton-Simpson
but slightly out of reach ;-) All the best, Grant On 06/12/11 11:13, Martin Zibricky wrote: Grant Paton-Simpson píše v Út 06. 12. 2011 v 08:34 +1300: Are there any experiments I can run to make the cause more obvious. Thanks in advance. Hi, My advice would be to try recreate .spec file direc

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-08 Thread Grant Paton-Simpson
EPATH,'hooks')] Does anyone have any ideas? I have tried to strip everything down to the simplest level possible. All the best, Grant On 08/12/11 15:46, Grant Paton-Simpson wrote: Hi Martin, Thanks for that. I have used pyinstaller 1.5.1 to make an initial spec file and I have bee

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-08 Thread Grant Paton-Simpson
l and that seems to be where things are falling over. All the best, Grant On 09/12/11 11:59, Martin Zibricky wrote: Grant Paton-Simpson píše v Pá 09. 12. 2011 v 11:38 +1300: Does anyone have any ideas? I have tried to strip everything down to the simplest level possible. Are you trying 1.5.

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-08 Thread Grant Paton-Simpson
pport along the way. All the best, Grant On 09/12/11 12:57, Martin Zibricky wrote: Grant Paton-Simpson píše v Pá 09. 12. 2011 v 12:45 +1300: Is the mpl-data directory made later? I don't think it is made at all and that seems to be where things are falling over. the mpl-data has to be i

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-09 Thread Grant Paton-Simpson
e: Am 09.12.2011 08:26, schrieb Grant Paton-Simpson: I have succeeded but I'll write back more details later. In short, I did a onefile version and manually included the mpl-data folder as a subfolder of the folder the executable was running in. The complete SOFA Statistics program worked o

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-09 Thread Grant Paton-Simpson
Hi, Here is the link: http://www.sofastatistics.com/blog/?p=697 All the best, Grant On 10/12/11 00:10, Grant Paton-Simpson wrote: Hi, I'll start by writing something up in the SOFA Statistics blog (http://www.sofastatistics.com/blog/) once I've finished testing etc - not least

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-10 Thread Grant Paton-Simpson
e his project. All the best, Grant On 11/12/11 08:33, Sebastian Hilbert wrote: On Saturday, December 10, 2011 12:05:14 PM Martin Zibricky wrote: Grant Paton-Simpson píše v So 10. 12. 2011 v 11:58 +1300: Hi, Here is the link: http://www.sofastatistics.com/blog/?p=697 I would probabl

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-10 Thread Grant Paton-Simpson
, Grant On 10/12/11 21:44, Sebastian Hilbert wrote: On Friday, December 09, 2011 11:58:01 PM Grant Paton-Simpson wrote: Hi, Here is the link: http://www.sofastatistics.com/blog/?p=697 All the best, Grant On 10/12/11 00:10, Grant Paton-Simpson wrote: Hi, I'll start by writing somethi

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-11 Thread Grant Paton-Simpson
Hi Sebastian, I'll look into it for the reasons you suggest. I note that Ubuntu has it as a standard package python-psycopg which is a good start. All the best, Grant On 11/12/11 18:47, Sebastian Hilbert wrote: On Saturday, December 10, 2011 09:49:14 PM Grant Paton-Simpson wrote

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-11 Thread Grant Paton-Simpson
It works with Pyinstaller 1.5.1 as you suggested. On 11/12/11 21:32, Grant Paton-Simpson wrote: Hi Sebastian, I'll look into it for the reasons you suggest. I note that Ubuntu has it as a standard package python-psycopg which is a good start. All the best, Grant On 11/12/11

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-11 Thread Grant Paton-Simpson
your plans on this list and look forwards to future developments. All the best, Grant On 11/12/11 23:08, Hartmut Goebel wrote: Am 09.12.2011 23:58, schrieb Grant Paton-Simpson: Here is the link: http://www.sofastatistics.com/blog/?p=697 To be honest, I don't understand this blog post a

Re: [PyInstaller] SOFA Statistics exe works on dev machine but not in clean snapshot of XP

2011-12-14 Thread Grant Paton-Simpson
Hi Hartmut, On 14/12/11 22:15, Hartmut Goebel wrote: Okay so far. But: - Why are there fragments of a spec-file in launch.py? That was a stupid cut and paste mistake I made while jumping around various files - fixed now. Sorry for the confusion. - Why are you importing three databases? SOFA cu

Re: [PyInstaller] Software repository moved to git

2012-01-18 Thread Grant Paton-Simpson
Ditto and thanks for all your work. On 19/01/12 09:18, Sebastian Hilbert wrote: On Wednesday, January 18, 2012 08:29:27 PM Hartmut Goebel wrote: Hi, I'm happy to announce that we moved our software repository to git. Congratulations. Regards, Sebastian Hilbert -- You received this mess

[PyInstaller] False trojan messages?

2012-09-04 Thread Grant Paton-Simpson
Hi, I have just downloaded pyinstaller 2.0 onto a virtualised Windows environment and AVG thinks "C:\Documents and Settings\username\My Documents\Downloads\pyinstaller-2.0.zip:\pyinstaller-2.0\support\loader\Windows-32bit\runw.exe" is infected with "Trojan horse BackDoor.Generic15.BYZX". I sup

Re: [PyInstaller] False trojan messages?

2012-09-05 Thread Grant Paton-Simpson
Thanks Martin, I'll do some experiments and report back. All the best, Grant On 05/09/12 19:13, Martin Zibricky wrote: Grant Paton-Simpson píše v St 05. 09. 2012 v 14:40 +1200: Any thoughts? I suspect it might be a false positive but obviously I need to be careful. I think it's

Re: [PyInstaller] False trojan messages?

2012-09-05 Thread Grant Paton-Simpson
27;BINARY'), ('gsdll32.dll', 'C:\\Program Files\\gs\\gs9.06\\bin\\gsdll32.dll', 'BINARY'), ] exe = EXE( pyz, a.scripts, a.binaries + binary_includes, a.zipfiles, a.datas, exclude_binaries=False,

Re: [PyInstaller] False trojan messages?

2012-09-05 Thread Grant Paton-Simpson
HI Sebastian, That was my experience too. I would have hated it if my builds had become infected. All the best, Grant On 06/09/12 06:23, Sebastian Hilbert wrote: Hi, On Wednesday, September 05, 2012 10:35:30 PM Grant Paton-Simpson wrote: Hi Martin, The dev version doesn't se

Re: [PyInstaller] False trojan messages?

2012-09-05 Thread Grant Paton-Simpson
to make it pass by all antiviruses. Grant Paton-Simpson píše v Čt 06. 09. 2012 v 06:47 +1200: HI Sebastian, That was my experience too. I would have hated it if my builds had become infected. All the best, Grant -- You received this message because you are subscribed to the Google Groups

Fwd: Re: [PyInstaller] False trojan messages?

2012-09-10 Thread Grant Paton-Simpson
hookspath=None) I added \\utils and the hiddenimports and hookspath details. Any thoughts? All the best, Grant On 06/09/12 07:15, Grant Paton-Simpson wrote: > Hi, > > I haven't rebuilt the spec yet but I noted that someone else had a > virtually identical problem which they reporte

Re: [PyInstaller] False trojan messages?

2012-09-10 Thread Grant Paton-Simpson
e "WARNING: file already exists but should not: C:/DOCUMEN~1/GRANTP~1/LOCALS~1/Temp/_MEI1922\.\pywintypes27.dll" problem mentioned below won't work. Any ideas about what might work? I need to use the dev version to avoid the false trojan message for my windows package. All the b

Re: [PyInstaller] False trojan messages?

2012-09-11 Thread Grant Paton-Simpson
n 10/09/12 22:30, Grant Paton-Simpson wrote: Hi, The changes to hook-pywintypes.py since 1.6/2.0 seem relevant. Here is the code in the dev version (pyinstaller-pyinstaller-v2.0-137-gba163ef): from PyInstaller.hooks.hookutils import get_module_file_attribute datas = [(get_module_file

[PyInstaller] pywintypes hook - file already exists but should not warning

2012-09-17 Thread Grant Paton-Simpson
Hi Martin, I am reposting this under a fresh topic so it doesn't get lost. I can see from https://github.com/pyinstaller/pyinstaller/commits/develop/PyInstaller/hooks/hook-pywintypes.pythat you are the person who has been working on hook-pywintypes this year. Thanks for your work to improve py

Re: [PyInstaller] pywintypes hook - file already exists but should not warning

2012-09-19 Thread Grant Paton-Simpson
'.')] so hookutils looks for pywintypes27.dll not pywintypes.dll I got the idea from the earlier version of hook_pywintypes.py. Do you think this a good solution? All the best, Grant On 18/09/12 08:32, Grant Paton-Simpson wrote: Hi Martin, I am reposting this under a fresh topic

Re: [PyInstaller] Request review of updated doc

2013-03-26 Thread Grant Paton-Simpson
Hi David, No feedback as such (busy on some code right now) but just want to acknowledge how important good documentation is and to thank you for taking this on. All the best, Grant On 27/03/13 05:19, David Cortesi wrote: I have completed a first draft of an update to the PyInstaller manual

Re: [PyInstaller] OS X - 32-bit support

2015-01-19 Thread Grant Paton-Simpson
I probably need it to make a SOFA Statistics (www.sofastatistics.com) installer for Snow Leopard upwards. I'm just about to have a go at that once I get imagemagick (in particular convert) compiled and working. On 19/01/15 23:24, Martin Zibricky wrote: > Hi all, > > I'd like to do a survey. > > Is

Re: [PyInstaller] OS X - 32-bit support

2015-01-19 Thread Grant Paton-Simpson
Won't affect me I expect - SOFA Statistics is python 2.7 only and not likely to change any time soon. On 20/01/15 12:20, Martin Zibricky wrote: > On Tuesday 20 of January 2015 10:53:12 Glenn Ramsey wrote: >> Hi Martin, >> >> I'm using it. >> >> Glenn > Is it fine to drop 32bit in python3 branch?

[PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-01-28 Thread Grant Paton-Simpson
Hi, I am about to try making a new Mac installer for SOFA Statistics (http://www.sofastatistics.com/home.php). SOFA is open source (190K downloads) and written in Python 2.7. My old tool-chain can't cope with some of the new libraries SOFA depends on - especially around image processing - so I am

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-02-05 Thread Grant Paton-Simpson
rsday 29 of January 2015 19:55:37 Grant Paton-Simpson wrote: >> Any words of advice before I start the process? One of the main things >> I'm lacking is a decent mental model of what the packaging actually >> does. My background is Sociology not computer science ;-). >

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-03-04 Thread Grant Paton-Simpson
meone can help me. All the best, Grant On 29/01/15 21:49, Martin Zibricky wrote: > On Thursday 29 of January 2015 19:55:37 Grant Paton-Simpson wrote: >> Any words of advice before I start the process? One of the main things >> I'm lacking is a decent mental model of what the

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-03-05 Thread Grant Paton-Simpson
because of my lack of background in this area. All the best, Grant On 06/03/15 00:53, Hartmut Goebel wrote: > Am 04.03.2015 um 12:13 schrieb Grant Paton-Simpson: >> *QUESTION 2: Am I wrong in expecting pyinstaller to make the changes >> described above (automatically adding depend

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-03-06 Thread Grant Paton-Simpson
Thanks Hartmut - I have made the same decision and it looks like the Python script I have made has worked (I'll find out within half an hour). I'll update everyone a bit later. On 06/03/15 21:24, Hartmut Goebel wrote: > Am 05.03.2015 um 19:36 schrieb Grant Paton-Simpson: &

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-03-06 Thread Grant Paton-Simpson
Well - it was Python ;-) On 07/03/15 09:02, Hartmut Goebel wrote: > Am 06.03.2015 um 21:00 schrieb Grant Paton-Simpson: >> it looks like the Python script I have made has worked (I'll find out >> within half an hour) > > Wow, that fast?! Congrats! > > > -- >

Re: [PyInstaller] Making a Mac 32-bit installer for SOFA Statistics

2015-03-07 Thread Grant Paton-Simpson
but just wondered if anyone on the list has had any experience getting ghostscript to work. BTW I'll share my successful relinking code later - I'm on the wrong machine right now to access the script. On 07/03/15 09:02, Hartmut Goebel wrote: > Am 06.03.2015 um 21:00 schrieb Grant Paton-Simp

[PyInstaller] Re: Making a Mac 32-bit installer for SOFA Statistics

2015-03-16 Thread Grant Paton-Simpson
file names given the PATH setting described earlier. I have also attached a hacky python script I wrote which relies on xcode being on the machine in question (IIRC) because it uses otool and install_name_tool. On Thursday, 29 January 2015 19:55:43 UTC+13, Grant Paton-Simpson wrote: > &

Re: [PyInstaller] Re: Making a Mac 32-bit installer for SOFA Statistics

2015-03-18 Thread Grant Paton-Simpson
:44 schrieb Grant Paton-Simpson: >> I will elaborate on the details (which are already written up in a >> private wiki page) in the near future in the SOFA Statistics blog. > > We would appreciate if you'd link this in > <https://github.com/pyinstaller/pyinstall