SatwantKumar / blender-aid

Automatically exported from code.google.com/p/blender-aid
0 stars 0 forks source link

Unable to do a refactor on a Windows PC #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a Windows PC
2. Select a file with missing links and click on "Fix it"
3. Select the correct link
4. Click on "Continue"

What is the expected output? What do you see instead?
Blender-aid shows a window with the following message: "Please wait while 
performing tasks", but nothing happens, and an exception is thrown.

What version of the product are you using? On what operating system?
The console says Blender-aid 20101015 [October 2010 - svn integration], but its 
wrong as I just downloaded it today. The correct version should be Blender-aid 
20110110.

I'm running Win7 on a Intel Core 2 Duo processor with 4 Gb of RAM. Python 
version 2.6. PYSVN version py26-pysvn-svn156-1.7.2-1280.

Please provide any additional information below.
The problem might be related to Windows as I think there's some problem the 
parsing of the file name (right after you replace the "\" with "/".

Here's the exception shown on the console:
Exception happened during processing of request from ('127.0.0.1', 52564)
Traceback (most recent call last):
  File "C:\Python26\lib\SocketServer.py", line 281, in _handle_request_noblock
    self.process_request(request, client_address)
  File "C:\Python26\lib\SocketServer.py", line 307, in process_request
    self.finish_request(request, client_address)
  File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python26\lib\SocketServer.py", line 615, in __init__
    self.handle()
  File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "server.py", line 106, in do_POST
    self.doHandleService()
  File "server.py", line 201, in doHandleService
    servicerefactor.handleExecuteOneTask(self.wfile, req, session)
  File "C:\Users\Jos\Desktop\blenderaid-py-20110110\servicerefactor.py", line 432, in handleExecuteOneTask
    task.execute()
  File "C:\Users\Jos\Desktop\blenderaid-py-20110110\servicerefactor.py", line 847, in execute
    path = libraryblock.Get("filepath").split("\0")[0].replace("\\", "/")
AttributeError: 'NoneType' object has no attribute 'split'

Original issue reported on code.google.com by tjj...@gmail.com on 10 Jan 2011 at 10:31

GoogleCodeExporter commented 8 years ago
Any comments on this? I would really like to use your application but this bug 
is not letting me.

Thanks again in advanced.

Original comment by tjj...@gmail.com on 21 Jan 2011 at 9:16