Hello,
I am using XSV and occasionally I get an error that looks like this:
File "/usr/lib/python2.3/site-packages/XSV/driver.py", line 125, in
runit
f=SSchema(ren,not useDTD)
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
181, in __init__
self.initFromDump("%s/nndump.xml"%home)
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
184, in initFromDump
self.prepare()
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
440, in prepare
self.initSforS()
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
465, in initSforS
sfors.doBuiltIns(self)
File "/usr/lib/python2.3/site-packages/XSV/compile/Schema.py", line
168, in doBuiltIns
shouldnt('dbl ur')
File "/usr/lib/python2.3/site-packages/XSV/compile/SchemaError.py",
line 10, in shouldnt
error("Shouldn't happen "+msg)
File "/usr/lib/python2.3/site-packages/XSV/compile/SchemaError.py",
line 13, in error
raise SchemaError,msg
SchemaError: Shouldn't happen dbl ur
I've read through the code enough to traverse this stacktrace and all I
can understand is that something is failing as the schema is being
loaded from the dumpfile "nndump.xml". This only started happening
when I put my application under the stresses of multiple simultaneous
requests. Is there a concern that this is not thread-safe? Should I
be using some sort of lock to control access to the runit function one
thread at a time?
Also, I was wondering if anyone knows of a plan to tag a new release in
CVS? It seems that the tarball version is older than some of the files
in CVS. I was considering downloading my own version from CVS, but I
wasn't sure how stable it is...
Thanks,
aj 2 1542
Is XSV library obsolete? I'm guessing the lack of a response would
suggest this to be the case. I'm looking at a package called pyXSD as
a potential replacement.
If anyone knows of the status of XSV, please let me know if it's still
being maintained.
Thanks,
aj aj****@gmail.com wrote:
Hello,
I am using XSV and occasionally I get an error that looks like this:
File "/usr/lib/python2.3/site-packages/XSV/driver.py", line 125, in
runit
f=SSchema(ren,not useDTD)
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
181, in __init__
self.initFromDump("%s/nndump.xml"%home)
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
184, in initFromDump
self.prepare()
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
440, in prepare
self.initSforS()
File "/usr/lib/python2.3/site-packages/XSV/compile/SSchema.py", line
465, in initSforS
sfors.doBuiltIns(self)
File "/usr/lib/python2.3/site-packages/XSV/compile/Schema.py", line
168, in doBuiltIns
shouldnt('dbl ur')
File "/usr/lib/python2.3/site-packages/XSV/compile/SchemaError.py",
line 10, in shouldnt
error("Shouldn't happen "+msg)
File "/usr/lib/python2.3/site-packages/XSV/compile/SchemaError.py",
line 13, in error
raise SchemaError,msg
SchemaError: Shouldn't happen dbl ur
I've read through the code enough to traverse this stacktrace and all I
can understand is that something is failing as the schema is being
loaded from the dumpfile "nndump.xml". This only started happening
when I put my application under the stresses of multiple simultaneous
requests. Is there a concern that this is not thread-safe? Should I
be using some sort of lock to control access to the runit function one
thread at a time?
Also, I was wondering if anyone knows of a plan to tag a new release in
CVS? It seems that the tarball version is older than some of the files
in CVS. I was considering downloading my own version from CVS, but I
wasn't sure how stable it is...
Thanks,
aj
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ajcoon writes:
SchemaError: Shouldn't happen dbl ur
I've read through the code enough to traverse this stacktrace and all I
can understand is that something is failing as the schema is being
loaded from the dumpfile "nndump.xml". This only started happening
when I put my application under the stresses of multiple simultaneous
requests. Is there a concern that this is not thread-safe? Should I
be using some sort of lock to control access to the runit function one
thread at a time?
I've never seen that error, so yes, I suspect it's because no effort
has been made to make XSV thread-safe, and it certainly uses 'global'
variables. . .
Also, I was wondering if anyone knows of a plan to tag a new release in
CVS? It seems that the tarball version is older than some of the files
in CVS. I was considering downloading my own version from CVS, but I
wasn't sure how stable it is...
I definitely owe the world a new release. . . The main line CVS is
stable when I'm not working on stuff, and I'm not right now. . .
ht
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFFP+nAkjnJixAXWBoRAmbmAJwO4/UaZ9ihVdY7Itxef3gSUe4EmgCfdtIN
rSRl+M1HaBQaXBiwNOBcf8E=
=JyQ9
-----END PGP SIGNATURE----- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: AIM |
last post by:
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two...
|
by: Gregory |
last post by:
Hi,
One of the disadvantages of using error handling with error codes
instead of exception handling is that error codes retuned from a
function can be forgotten to check thus leading to...
|
by: deko |
last post by:
I use this convention frequently:
Exit_Here:
Exit Sub
HandleErr:
Select Case Err.Number
Case 3163
Resume Next
Case 3376
Resume Next
|
by: p |
last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also
have Crystal 9 pro on my development machine. The web app runs fine on my
dev machine but am having problems deploying....
|
by: Manuel |
last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using
devc++.
So I've imported the glut32.dsp into devc++, included manually some
headers, and start to compile.
It return a very...
|
by: bazzer |
last post by:
hey,
im trying to access a microsoft access database from an ASP.NET web
application in visual basic 2003.NET. i get the following error when i
try running it:
Server Error in...
|
by: developer |
last post by:
Hi All
I have made a .NET project.
the files included are borland c++ files that i am migrate to VC++ .NET
I am using Microsoft Visual C++ .NET 2003.
the compilation goes through properly,...
|
by: mchuc7719 |
last post by:
Hello,
I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only
get errors.
Before I to run the command line, I open in notepad the .vbproj and I was
add the next line:
...
|
by: hyperpau |
last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding.
I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com).
Ergo, I...
|
by: hyperpau |
last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding.
I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com).
Ergo, I...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |