I'm not sure what is happening here because I can not repeat the error
on my windows 10,8, or 7 VM. Did you look at the 'self.HomeDirctory'
value (or the value of 'val')?. Maybe you have something in the
string? Any chance you have unicode?
I just realized I'm using Dabo 2.0.0 - and you are going ask me how to
get it! I have long forgotten the git command to retrieve it.
Contact me directly and I can forward my copy. Before you do. What
version of reportlab are you using - I'm using ReportLab 2.7.
Johnf
On 01/10/2017 06:12 PM, Steve Rose wrote:
I've been using dReportWriter successfully in Windows 7 for years.
However, using the same program(s) in Windows 10, I am getting the
following traceback:
Traceback (most recent call last):
File
"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\ui\uiwx\dControlMixin.py",
line 27, in _onWxHit
self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
File
"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\ui\uiwx\dPemMixin.py",
line 1045, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File
"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\lib\eventMixin.py",
line 81, in raiseEvent
bindingFunction(event)
File "C:\aaa\DaboCode\CalBirds\SelectCounty1.py", line 145, in buttonGoHit
rw.ReportFormFile =
"C:/aaa/DaboCode/Calbirds/CountyMissingSpeciesReport2.rfxml"
File
"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\lib\reportWriter.py",
line 2950, in _setReportFormFile
self.HomeDirectory = os.path.join(os.path.split(val)[:-1])[0]
File "C:\Python27\lib\ntpath.py", line 93, in join
return result_drive + result_path
TypeError: cannot concatenate 'str' and 'tuple' objects
-----------
I have no idea how to troubleshoot this. Any hints appreciated.
Python 2.7.12 on Win 32
Dabo 0.9.4
Steve Rose
ᐧ
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/CADJJcm63fqoVX1sEbszOjs2Z4nYWd3is=joxobbzmjydnnc...@mail.gmail.com
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/6582cabd-5333-4287-7796-2f5ee7e50...@jfcomputer.com