Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError after (rewrite) publication #5

Open
mmulich opened this issue Mar 10, 2015 · 0 comments
Open

ValueError after (rewrite) publication #5

mmulich opened this issue Mar 10, 2015 · 0 comments

Comments

@mmulich
Copy link
Member

mmulich commented Mar 10, 2015

@edwoodward Reported not finding his content in legacy after publishing from authoring. He reported the following:

I published a derived copy of Concepts of Biology on beta. It was
successful.

http://beta.cnx.org/contents/[email protected]:1/Copy_of_Concepts_of_Biology

I searched for the content on legacybeta.cnx.org and it was not found.
I searched by title and by author.

I tried hitting the collection object in legacy and received a ValueError, the details are as follows:

2015-03-09T21:35:26 ERROR RhaptosRepository Something failed in <bound method Repository.__getitem__ of <Repository at /plone/content>>
Traceback (most recent call last):
  File "/opt/cnx-buildout/src/Products.RhaptosRepository/Products/RhaptosRepository/Repository.py", line 332, in __getitem__
    self._create_collection(key, data)
  File "/opt/cnx-buildout/src/Products.RhaptosRepository/Products/RhaptosRepository/Repository.py", line 233, in _create_collection
    tree = simplejson.loads(tree[0][0])
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/__init__.py", line 313, in loads
    return _default_decoder.decode(s)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 321, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 338, in raw_decode
    obj, end = self._scanner.iterscan(s, **kw).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 185, in JSONObject
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 219, in JSONArray
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 185, in JSONObject
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 219, in JSONArray
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 185, in JSONObject
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 219, in JSONArray
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 185, in JSONObject
    value, end = iterscan(s, idx=end, context=context).next()
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/scanner.py", line 53, in iterscan
    rval, next_pos = action(m, context)
  File "/opt/cnx-buildout/lib/python2.4/site-packages/simplejson/decoder.py", line 158, in JSONString
    return scanstring(match.string, match.end(), encoding, strict)
ValueError: Invalid control character at: line 47 column 52 (char 3670)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant