On 3/27/2009 11:38 AM, Benjamin Wohlwend wrote:
> Hi,
>
> I'm quite new to PyInstaller, I've used py2exe until it's non-handling
> of PyQT plugins bothered me to much.
Alas, PyInstaller's automatic support is still not 100% OK since the
PyQt official installer puts the plugins in a directory which I can't
find a way to detect. I'm going to put more efforts into this soon.
> Anyway, I''ve gone through the
> manual, and PyInstaller generates an executable, but when I run the
> executable, it crashes (traceback at end of the message). Apparently,
> PyInstaller doesn't like SQLObject[1]. My program has only these two
> dependencies outside of the Python standard lib. Am I doing something
> wrong? PyInstaller version is a SVN checkout from this morning.
Thanks for reporting this, it's another case-sensitiveness problem
("import Sybase" in sqlobject/converters.py line 21 confuses PyInstaller
so that it thinks it's referring to the "sqlobject/sybase" package).
I thought we had fixed all of them but we had not :)
The attached patch fixes this problem. I can't commit right now because
we're in the middle of migration of PyInstaller's website and SVN
server, so SVN is locked down for writing for the time being. I'll
commit it as soon as the migration is over.
Anyway, if you manually apply the patch, you should be able to get on
testing your program with PyInstaller.
Thanks again!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---
Index: mf.py
===================================================================
--- mf.py (revision 646)
+++ mf.py (working copy)
@@ -86,7 +86,7 @@
if getsuffixes is None:
getsuffixes = self._getsuffixes
possibles = [(nm, 0, None)]
- if self._isdir(nm):
+ if self._isdir(nm) and self._caseok(nm):
possibles.insert(0, (os.path.join(nm, '__init__'), 1, nm))
py = pyc = None
for pth, ispkg, pkgpth in possibles:
Index: iu.py
===================================================================
--- iu.py (revision 646)
+++ iu.py (working copy)
@@ -90,7 +90,7 @@
loadco=marshal.loads, newmod=imp.new_module):
pth = _os_path_join(self.path, nm)
possibles = [(pth, 0, None)]
- if pathisdir(pth):
+ if pathisdir(pth) and caseOk(pth):
possibles.insert(0, (_os_path_join(pth, '__init__'), 1, pth))
py = pyc = None
for pth, ispkg, pkgpth in possibles: