mmonem / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

os.getlogin() unreliable #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Export .scene on Windows 7 x64 
2. Script error occurs during export 
3. I've attached a temporary fix.

Cheers

Original issue reported on code.google.com by tcoo...@gmail.com on 8 Feb 2011 at 4:19

GoogleCodeExporter commented 8 years ago

Original comment by tcoo...@gmail.com on 8 Feb 2011 at 4:20

Attachments:

GoogleCodeExporter commented 8 years ago
Same thing apparently applies to Linux too. I'm using Ubuntu 10.10

The error message reads 
(couldn't copy/paste so I had to retype it -- hopefully without typos)

File 
"/home/tomislav/bin/blender-2.56a-beta-linux-glibc27-x86_64/2.56/scripts/addons/
addon_ogreDotScene.py", line 4109, in execute
  def execute(self.context): self.ogre_export( self.filepath, context); return {'FINISHED'}
File 
"/home/tomislav/bin/blender-2.56a-beta-linux-glibc27-x86_64/2.56/scripts/addons/
addon_ogreDotScene.py", line 4312, in ogre_export
  scn.setAttribute('exported_by', os.getlogin())
OSError: [Errno 25] Inappropriate ioctl for device
location:<unknown location>:-1

Attached fix did in fact fix it though. Thanks.

Original comment by tstre...@gmail.com on 10 Feb 2011 at 5:02

GoogleCodeExporter commented 8 years ago
There's a newer version that fixes more issues that's on the ogre forums.

It includes a better fix than what I applied.

Cheers

Original comment by tcoo...@gmail.com on 10 Feb 2011 at 5:41

GoogleCodeExporter commented 8 years ago
Thanks once again. So the project is not updated here on Google Code any more? 
It looks like the Mercurial repo is empty too. Did the project migrated to some 
other site?

I do apologize for straying off-topic, but I'm guessing it won't do that much 
harm since this is the only issue report on this project. :)

Original comment by tstre...@gmail.com on 10 Feb 2011 at 6:15

GoogleCodeExporter commented 8 years ago
As far as I know the initial version was uploaded here, however there have been 
community modifications that have been added and attached in the Ogre forums. I 
added the last minor fix listed in the forums today.

The original thread can be found here:
http://www.ogre3d.org/forums/viewtopic.php?f=4&t=61485

I'm not sure if the project has moved elsewhere. 

Original comment by tcoo...@gmail.com on 10 Feb 2011 at 6:42

GoogleCodeExporter commented 8 years ago
Thank you for you interest, and sorry for the lack of updates.

The project is still alive, and we are going to provide more updates on this 
google code project.

Original comment by sebastie...@gmail.com on 18 Mar 2011 at 10:04

GoogleCodeExporter commented 8 years ago
Issue currently corrected in the hg repository, with the "getpass.getuser()" 
solution provided by in our ogre forum topic "Blender25 Ogre Exporter + 
extended .scene format" by Whyte » Sat Jan 15, 2011 7:49 pm

Original comment by sebastie...@gmail.com on 18 Mar 2011 at 10:07

GoogleCodeExporter commented 8 years ago

Original comment by sebastie...@gmail.com on 18 Mar 2011 at 11:42