ubuntu-11.10

Converting svg to pdf with Batik not working on Ubuntu 11.10

牧云@^-^@ 提交于 2019-12-13 07:15:01
问题 I am attempting to convert a svg image to pdf using the Batik SVG toolkit on Ubuntu-11.10. I have Batik 1.7 and Fop 0.95 installed. When running the following in the terminal: java -jar /usr/java/share/batik-rasterizer.jar -m application/pdf /home/user/Batik_Test/colors.svg -scriptSecurityOff I get the following error: Error while converting files: Error: cannot access transcoder for image of type application/pdf The one thing I did notice was that the file 'pdf-transcoders.jar' was not on

Unable to syncdb in GeoDjango App

随声附和 提交于 2019-12-12 09:40:06
问题 I am having a real trouble in setting up spatial database and syncing it with GeoDjango. I was able to setup the spatial database as per the geodjango documentation and create a django app but when i run python manage.py sqlall world I am getting this, Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from

Reinstalling Vim [closed]

为君一笑 提交于 2019-12-12 02:46:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". My internet connection is fine. Then, I click on OK, and this message comes up: "Requires Installation

Nokogiri 1.5.2 not installing on Ubuntu 11.10

百般思念 提交于 2019-12-10 15:45:47
问题 Real quick, I am aware of a similar question. However, following the top rated answer does not work. I've already restarted my system and the terminal, but to no avail. For some reason, Nokogiri does not recognize that I have libxslt1-dev installed, though I explicitly installed it, both with sudo apt-get install libxslt-dev and sudo apt-get install libxslt1-dev . Here's the output; am I missing anything else? $ gem install nokogiri -v '1.5.2' Building native extensions. This could take a

Can't get PIL to support any images

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 11:05:10
问题 After installing PIL with pip install PIL under Ubuntu 11.10, the summary tells me "not available" on all items. I've read through several "answers" like http://obroll.com/install-python-pil-python-image-library-on-ubuntu-11-10-oneiric/ which essentially tells me the same thing: Install PIL after libjpeg. I still can't get it to work. (I'm a novice with ubuntu) Any ideas? Copy/Paste from the summary: -------------------------------------------------------------------- PIL 1.1.7 SETUP SUMMARY

adb doesn't run on Ubuntu 64 - command not found

邮差的信 提交于 2019-12-09 17:39:06
问题 Update After doing some more experiments, I have to reformulate my question completely as I was fooled by my terminal. It just didn't showed the error message when I issued sudo ./adb . If I cd into the ANDOID_SDK/platform-tools directory and run ./adb , I get: command not found: ./adb Here the output ls -l adb in the same directory: -rwxrwxr-x 1 myuser myuser 159620 2011-12-20 19:30 adb Running which adb gives me: ./adb The same happens for all other binary executable files in that directory

Error “non-absolute home” via Net:SSH

浪尽此生 提交于 2019-12-08 17:07:33
问题 The code in question Net::SSH.start('server name', 'user') This returns "non-absolute home". The 'user' in fact does have a home directory. One suggested approach was to modify ~/.ssh/config with full paths to the IdentityFile. This did not solve the issue. The crazy part of this is that the code works fine if called through irb or console. The moment we try calling it from within a class method (with the same code) it returns the "non-absolute home" error. The 'user' can also ssh into the

Copying a file remotely from Ubuntu to Windows 7 [closed]

孤街醉人 提交于 2019-12-08 04:51:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am not very familiar with command line Ubuntu (leave alone copying a file remotely) so I apologise if this question is a bit too common. My setup is a bit unusual so I wasn't able to find much via research online. I am working on a Win7 machine and I ssh into the Ubuntu (11.10) server via Putty. I tried the

Error when running PHPUnit

余生长醉 提交于 2019-12-07 03:54:24
问题 I get the following error when I try to run phpunit . from within my project's tests folder: PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/share/php/PHPUnit/Framework.php on line 46 I installed PHPUnit via these commands: sudo pear channel-discover pear.symfony-project.com sudo pear channel-discover components.ez.no sudo pear install --alldeps phpunit/PHPUnit As none of the other methods seem to work, including apt-get . I think CodeCoverage changed

Mean.io application is throwing error with forever

≡放荡痞女 提交于 2019-12-07 03:40:02
问题 I am working on a mean.io application. I am trying to run this application on Ubuntu shell with forever module of node but it is throwing an error "util.js:756 throw new TypeError('The super constructor to `inherits` must not ' + ^: The super constructor to `inherits` must not be null or undefined. at Object.exports.inherits (util.js:756:11) at Object.<anonymous> (/usr/lib/node_modules/forever/node_modules/forever-monitor/lib/forever-monitor/monitor.js:142:7) at Module._compile (module.js:435