Exception was thrown and caught with snapshot 4

Forum for support and development discussion regarding the python based unified editor tool for CEGUI, known as CEED.

Moderators: CEGUI MVP, CEGUI Team

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Exception was thrown and caught with snapshot 4

Postby maori » Sat Sep 17, 2011 08:50

Hi Guys

When creating a new project after adding the name and clicking ok i get

Exception message: [Errno 22] invalid mode ('w') or filename: u''

Traceback:
File "C:\Users\Admin\Devel\CEGUI\CEED\mainwindow.py", line 564, in slot_newProject

File "C:\Users\Admin\Devel\CEGUI\CEED\project.py", line 331, in save


CEED revision: Can't execute "hg"
CEED version: snapshot4
HW architecture: ('32bit', 'WindowsPE')
HW type: x86
HW processor: x86 Family 6 Model 23 Stepping 10, GenuineIntel
OS type: Windows
OS release: 7
OS version: 6.1.7601
OS Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
SW Python: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
SW PySide: 1.0.5
SW Qt: 4.7.3
SW OpenGL: 3.0.1
SW PyCEGUI: 0.8.9090
trying to upgrade to 0.8.2 from 0.7.9 :D

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Exception was thrown and caught with snapshot 4

Postby Kulik » Sat Sep 17, 2011 10:51

Have you browsed for a path where to store the project?

I can only reproduce it if I don't select any path to store the project.

I will add more error checking there, thanks a lot for the report!

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Re: Exception was thrown and caught with snapshot 4

Postby maori » Sat Sep 17, 2011 17:27

indeed i didnt browse a path

however when i did i got a warning saying failed to syncronise

once i added the dir sctructure in manually and pointed the resoucse dir path and setting cegui ver to 7 defualted to 0.8 i got another exception

Exception message: global name 'absoluteSchemePath' is not defined

Traceback:
File "C:\Users\Admin\Devel\CEGUI\CEED\mainwindow.py", line 634, in slot_projectSettings

File "C:\Users\Admin\Devel\CEGUI\CEED\cegui\__init__.py", line 177, in syncToProject


CEED revision: Can't execute "hg"
CEED version: snapshot4
HW architecture: ('32bit', 'WindowsPE')
HW type: x86
HW processor: x86 Family 6 Model 23 Stepping 10, GenuineIntel
OS type: Windows
OS release: 7
OS version: 6.1.7601
OS Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
SW Python: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
SW PySide: 1.0.5
SW Qt: 4.7.3
SW OpenGL: 3.0.1
SW PyCEGUI: 0.8.9090



sorry if its me doing something tottally wrong if so please let me know
trying to upgrade to 0.8.2 from 0.7.9 :D

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Exception was thrown and caught with snapshot 4

Postby Kulik » Sat Sep 17, 2011 18:06

This error was caused by me making a typo when raising an exception.

However at its core the problem is that your schemes folder doesn't exist. Go to Edit->Project settings and select proper paths for everything. Upon resync it should work.

2 minor bugs fixed thanks to you!

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Re: Exception was thrown and caught with snapshot 4

Postby maori » Sat Sep 17, 2011 20:36

heya Kulik

No probs just ask CE i'am good at breaking things :D

but thanks for the speedy answer

heres another one for you when you hit new file and goto save it it will throw

Exception message: path is on drive E:, start on drive C:

Traceback:
File "C:\Users\Admin\Devel\CEGUI\CEED\mainwindow.py", line 647, in slot_newFileDialog

File "C:\Users\Admin\Devel\CEGUI\CEED\mainwindow.py", line 459, in openEditorTab

File "C:\Users\Admin\Devel\CEGUI\CEED\mainwindow.py", line 371, in createEditorForFile

File "C:\Python27\lib\ntpath.py", line 512, in relpath


CEED revision: Can't execute "hg"
CEED version: snapshot4
HW architecture: ('32bit', 'WindowsPE')
HW type: x86
HW processor: x86 Family 6 Model 23 Stepping 10, GenuineIntel
OS type: Windows
OS release: 7
OS version: 6.1.7601
OS Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
SW Python: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
SW PySide: 1.0.5
SW Qt: 4.7.3
SW OpenGL: 3.0.1
SW PyCEGUI: 0.8.9090


in this case i saved it as mytheme.scheme the file was saved however but if i then reopen the project i get

Image
trying to upgrade to 0.8.2 from 0.7.9 :D

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Exception was thrown and caught with snapshot 4

Postby Kulik » Sat Sep 17, 2011 22:58

I think your project basedir is on E and you are trying to create a file on disk C. I will have to add more error checking there as well.

Also please note that you can't create schemes with CEED at this point (snapshot4). You can only create layouts and imagesets.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Re: Exception was thrown and caught with snapshot 4

Postby maori » Sun Sep 18, 2011 10:49

heya

yeah the ceed is on my decktop and i saving my project on E is correct

Also please note that you can't create schemes with CEED at this point (snapshot4). You can only create layouts and imagesets.


ahhh ok then thats the reason sorry about that been looking forward to this tool since CE started thinking about it a while back so am really excited about it
lemme know if you need any thing and i'll help out testing as much as i can
trying to upgrade to 0.8.2 from 0.7.9 :D


Return to “Official Unified CEGUI Editor Tool (CEED)”

Who is online

Users browsing this forum: No registered users and 2 guests