Giter VIP home page Giter VIP logo

Comments (11)

gleicon avatar gleicon commented on August 25, 2024

which distribution ? I've been testing on mac and ubuntu 12.04.

amresh tripathi wrote:

I installed RestMQ, getting errors when I try to install it.

Unexpected error while writing cache file
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 614, in parseOptions
usage.Options.parseOptions(self, options)
File "/usr/lib/python2.7/site-packages/twisted/python/usage.py", line
261, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 631, in subCommands
for plug in sorted(plugins, key=attrgetter('tapname')):
File "/usr/lib/python2.7/site-packages/twisted/plugin.py", line 209,
in getPlugins
allDropins = getCache(package)


File "/usr/lib/python2.7/site-packages/twisted/plugin.py", line 181,
in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
exceptions.AttributeError: 'ZipPath' object has no attribute 'setContent'
Traceback (most recent call last):
File "/usr/bin/twistd", line 14, in
run()
File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 27, in run
app.run(runApp, ServerOptions)
File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 652, in run
runApp(config)
File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
/SomeApplicationRunner(config).run()
File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 386, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 446, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File
"build/bdist.linux-x86_64/egg/twisted/plugins/collectd_plugin.py",
line 32, in makeService
File "build/bdist.linux-x86_64/egg/restmq/collectd.py", line 133, in
_init/
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 882, in
resource_filename
self, resource_name
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1352,
in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1363,
in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'restmq/static'


Reply to this email directly or view it on GitHub
#13.

from restmq.

gleicon avatar gleicon commented on August 25, 2024

couldn't reproduce it w/ ubuntu 12.04, 11 and macosx. is it a clear install ?

from restmq.

amresh2k avatar amresh2k commented on August 25, 2024

I am on RHEL5 
 
Regards,
Amresh Tripathi


From: Gleicon Moraes [email protected]
To: gleicon/restmq [email protected]
Cc: amresh tripathi [email protected]
Sent: Tuesday, January 15, 2013 9:12 PM
Subject: Re: [restmq] Error running RESTMQ (#13)

couldn't reproduce it w/ ubuntu 12.04, 11 and macosx. is it a clear install ?

Reply to this email directly or view it on GitHub.

from restmq.

gleicon avatar gleicon commented on August 25, 2024

Can you give it a try again ? I've changed a file on twisted plugin.

from restmq.

olsonjeffery avatar olsonjeffery commented on August 25, 2024

Just saw this exact error running on debian lenny.

i have a fresh python 2.7.4 install, from source. from there i installed setuptools then ran through the restmq setup.py .. i also built/installed twisted 13.0.0 from source

from restmq.

gleicon avatar gleicon commented on August 25, 2024

fresh clone ? I've changed the twistd plugin. Is it a virtual machina that you could clone ? I don't know when I'll be able to install lenny and build twisted before next week.

from restmq.

olsonjeffery avatar olsonjeffery commented on August 25, 2024

The twisted build was the 13.0.0 release tarball from twistedmatrix.com ..
The easymq build was from a fresh clone... Its not on a VM I can clone
sorry.. But I'll try to rebuild in a fresh Lenny install on virtualbox and
share it.
On Apr 25, 2013 5:21 PM, "Gleicon Moraes" [email protected] wrote:

fresh clone ? I've changed the twistd plugin. Is it a virtual machina that
you could clone ? I don't know when I'll be able to install lenny and build
twisted before next week.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-17048808
.

from restmq.

phpclub avatar phpclub commented on August 25, 2024

Not run Ubuntu 14.04

/etc/init.d/restmq start
Unexpected error while writing cache file
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/usage.py", line 410, in
fn = lambda name, value, m=method: m(value)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 512, in opt_reactor
installReactor(shortName)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/application/reactors.py", line 79, in installReactor
for installer in getReactorTypes():
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/plugin.py", line 181, in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
exceptions.AttributeError: 'ZipPath' object has no attribute 'setContent'
Unexpected error while writing cache file
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/usage.py", line 450, in str
return self.getSynopsis() + '\n' + self.getUsage(width=None)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/usage.py", line 486, in getUsage
for (cmd, short, parser, desc) in self.subCommands:
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 621, in subCommands
for plug in sorted(plugins, key=attrgetter('tapname')):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/plugin.py", line 181, in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
exceptions.AttributeError: 'ZipPath' object has no attribute 'setContent'
Usage: twistd [options]
Options:
--savestats save the Stats object rather than the text output of the
profiler.

from restmq.

artemyarulin avatar artemyarulin commented on August 25, 2024

Hi,

I have the same, latest Mac OS, just took the latest version from trunk, and run sudo python setup.py install like documentation suggested.

from restmq.

artemyarulin avatar artemyarulin commented on August 25, 2024

Am, here Vagrantfile that can handle installation and building of RestMQ.

This issue is 686 days old, so... am... sorry for the delay 😆

from restmq.

gleicon avatar gleicon commented on August 25, 2024

Thanks !

from restmq.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.