Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Upload Attachment In External Storage

By
Ken Tong
on 8/26/14, 4:16 AM 3,234 views

Dear All,

I am trying to set the attachment to be uploaded to the external storage via FTP connection. I have read through some articles from odoo regarding the settings but no success.

 

Any guidance would be highly appreciated.

Which articles ? Which error messages ?

Med Said BARA
on 8/26/14, 4:43 AM

DiskStation1> python get-pip.py Downloading/unpacking pip Downloading pip-1.5.6-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded Installing collected packages: pip Successfully installed pip Cleaning up...

Ken Tong
on 9/15/14, 12:45 PM
0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 8/26/14, 7:23 AM

Yes it's for OpenERP Documents (but not only for storing documents into the database location: you can configure it to use the file system as a storage space, by configuring the ir_attachement.location = file:///filestore, under settings --> Technical --> Parameters --> System Parameters).

 

For your need, you can use the following repo: http://bazaar.launchpad.net/~akretion-team/file-exchange/file-exchange/files

( Back from Travel - Edited on Sep 09 2014 )

Sorry for the late Ken.

After uploading the modules, you have to install them, and after that you will find a new menu " File Exchange" under "Settings", there you can configure your File Repo ...

https://www.dropbox.com/s/ttfhnd0ehmbb5vt/File Exchange KEN.png?dl=0

 

Some remarks: (according to the images links you've posted)

Don't confuse between accessing your sytem files (and folders) via WinSCP on Synology Server from your Window PC, and accessing (browsing) your OpenERP documents (which are under a Linux file System) via FTP from within OpenERP. They are two different things ! handled each one by 2 different FTP servers. (http://s22.postimg.org/7co7f76r5/image.png this opertion relies on document_ftp module).

If you just need to access them (OpenERP Documents) via WinSCP they are under /volume1/@appstore/openerp/filestore/you_database_name or at  any others  ftp locations you are using, but this is not the case of your question.

At this stage, you should first verify that you are not running under the following case: FTP  disabled in multiprocess mode (just take a look in your openerp-server.log file to see if there is a similar message) and  to be sure that your ftp server is running.

Another important thing is,  when uploading a file hangs and seems to take a long time (http://s22.postimg.org/bn2vasbu9/image.png), this is probably due to the size of the file, in this case you can override this limitation by using https://www.odoo.com/apps?search=attachment_size_limit&series=7.0

 

Hi Med, Sorry for my newbie question, is installing the repo need backend modification / accessing the installation directory of openerp?

Ken Tong
on 8/27/14, 3:26 AM

Using this repository (or any other repo in launchpad) need to to get a copy of it on your local machine by using a tool like BAZAAR EXPLORER, cause it's very hard to download all the files one by one, and recreating the same folder and sub-folder hierarchy. With Bazaar Explorer you can CLONE the repo on your local machine (getting a copy of the repo on your Hard Drive, and it's also very useful for updating). After cloning the repo, you have to copy the needed modules to your addons folder.

Med Said BARA
on 8/27/14, 7:46 AM

Hi Med, I have uploaded the modules into addon folder as mentioned: [url=http://postimage.org/][img]http://s22.postimg.org/otwwo1wxd/image.png[/img][/url] [url=http://postimage.org/]photo sharing[/url] Then i try upload and hang quite a long time: [url=http://postimage.org/][img]http://s22.postimg.org/bn2vasbu9/image.png[/img][/url] [url=http://postimage.org/]jpg images[/url] Then I try to click on knowledge Tab and browse with below but cant navigate to the directory: [url=http://postimage.org/][img]http://s22.postimg.org/7co7f76r5/image.png[/img][/url] [url=http://postimage.org/]picture share[/url] This is the parameters I set earlier: [url=http://postimage.org/][img]http://s22.postimg.org/6ymvflmnl/image.png[/img][/url] [url=http://postimage.org/]pic hosting[/url] I have also set the configuration file earlier and was able to access through FTP program like WinSCP: [url=http://postimage.org/][img]http://s22.postimg.org/84qveeay9/image.png[/img][/url] [url=http://postimage.org/]upload pic[/url] Any idea how should I setup next? Appreciate your kind help.

Ken Tong
on 9/3/14, 4:14 AM

Hi Med, I have uploaded the modules into addon folder as mentioned: http://s22.postimg.org/otwwo1wxd/image.png Then i try upload and hang quite a long time: http://s22.postimg.org/bn2vasbu9/image.png Then I try to click on knowledge Tab and browse with below but cant navigate to the directory: http://s22.postimg.org/7co7f76r5/image.png This is the parameters I set earlier: http://s22.postimg.org/6ymvflmnl/image.png I have also set the configuration file earlier and was able to access through FTP program like WinSCP: http://s22.postimg.org/84qveeay9/image.png Any idea how should I setup next? Appreciate your kind help.

Ken Tong
on 9/8/14, 5:25 AM

Hi Med, As I have uploaded the repo earlier, but how can I install them?

Ken Tong
on 9/14/14, 2:50 PM

Steps for installation: .https://www.dropbox.com/s/z5ewyw85bgilb48/How To Install Modules.mov?dl=0

Med Said BARA
on 9/14/14, 8:40 PM

I was unable to find the module after update. Hereby I have attached a video. https://dl.dropboxusercontent.com/u/42025188/Cant_Install_Module.avi

Ken Tong
on 9/15/14, 1:59 AM

as I checked, there are only red and black status. I can't find any blue pending module status. Is there any dependencies to be install first?

Ken Tong
on 9/15/14, 4:47 AM

Could you verify that all the files under the 4 folders (file_repsitory, file_document etc ...) are also transferred. There must be a total of 44 files under the 4 folders.

Med Said BARA
on 9/15/14, 5:03 AM

As checked, there are 26 files and 6 folders, including sub folder. Well, I downloaded 1 by 1 as I could not launch the bazaar explorer as you recommended earlier in windows OS.

Ken Tong
on 9/15/14, 5:08 AM

Sorry, i've deleted 2 erroneous comments, this is due to an error when using VLC https://www.dropbox.com/s/1ox4egimazwyfrj/Color Error in VLC.png?dl=0

Med Said BARA
on 9/15/14, 5:22 AM

I installed the bazaar explorer and it wouldnt launch anyway. can you share the repo via dropbox and share? So is there any issue with my red status module?

Ken Tong
on 9/15/14, 5:26 AM

There is probably a problem with access rights on the files or some others issues (like line ending caracters), especially when downloading and transferring from windows, i will upload the modules to DropBox

Med Said BARA
on 9/15/14, 5:28 AM

Don't uncompress the ZIP in windows, transfer it first, and then uncompress it on your server: https://www.dropbox.com/s/1agpnqdaq4umdf4/file exchange.zip?dl=0

Med Said BARA
on 9/15/14, 5:38 AM

There is no problems with the Red Colored modules

Med Said BARA
on 9/15/14, 5:41 AM

Hi Med, Same. I checked and it consist of 26 files and 6 folders in the zip file.

Ken Tong
on 9/15/14, 5:49 AM

Ok, just copy them to the addons folder (Merge Folders and Replace Files)

Med Said BARA
on 9/15/14, 5:52 AM

Strange enough. Update module and check again, still did not appear.

Ken Tong
on 9/15/14, 6:05 AM

Yes, you are right there is only 26 files. Did you get any result?

Med Said BARA
on 9/15/14, 6:08 AM

The result is still same. Not appear in the list. Well, is the directory of the FTP that i upload is correct? I am using synology.

Ken Tong
on 9/15/14, 6:09 AM

Hi Med, Found the problem. Is due to permission of the folder and files. I set it right now and it appears. Let me set the remaining and see if I can install the module.

Ken Tong
on 9/15/14, 6:50 AM

Keep on, waiting for feedback .

Med Said BARA
on 9/15/14, 6:53 AM

Hi Med, It looks like this after modified permission https://dl.dropboxusercontent.com/u/42025188/repo.png

Ken Tong
on 9/15/14, 7:13 AM

Med, Need your help to download and share for me again. Such a painful if download 1 by 1 https://dl.dropboxusercontent.com/u/42025188/repo_abstract.png

Ken Tong
on 9/15/14, 7:17 AM

Get this error after everything about to install. OpenERP Server Error Client Traceback (most recent call last): File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 195, in dispatch response["result"] = method(self, **self.params) File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1375, in run [action_id], req.context) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 43, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/local/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 614, in dispatch res = fn(db, uid, *params) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 198, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/var/packages/OpenERP7.x/target/openerp/addons/base/ir/ir_actions.py", line 611, in run eval(action.code, cxt, mode="exec", nocopy=True) # nocopy allows to return 'action' File "/usr/local/lib/python2.7/site-packages/openerp/tools/safe_eval.py", line 241, in safe_eval return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) File "", line 1, in File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/module.py", line 425, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/module.py", line 476, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/usr/local/lib/python2.7/site-packages/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 214, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 347, in load_modules processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 258, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 190, in load_module_graph load_data(module_name, idref, mode) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 75, in load_data = lambda *args: _load_data(cr, *args, kind='data') File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 126, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 941, in convert_xml_import doc = etree.parse(xmlfile) File "lxml.etree.pyx", line 2954, in lxml.etree.parse (src/lxml/lxml.etree.c:56220) File "parser.pxi", line 1555, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82527) File "parser.pxi", line 1585, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:82848) File "parser.pxi", line 1468, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:81704) File "parser.pxi", line 1024, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:78751) File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74488) File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75379) File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74712) XMLSyntaxError: Input is not proper UTF-8, indicate encoding ! Bytes: 0xEE 0x74 0x20 0x47, line 5, column 15

Ken Tong
on 9/15/14, 7:29 AM

Cancel the installation of the 3 modules in blue state (look also if there is not others modules in the Blue state - modules dependencies). Before that check if the modules fetchmail, file_document and abstract_automatic_task are installed (or in which state they are?). After that you can proceed with the installation, One by One of the modules, this way you can see which module is causing this issue.

Med Said BARA
on 9/15/14, 7:51 AM

Here is the dependency: https://www.dropbox.com/s/z6offhikvs3caz1/abstract-automatic-task.zip?dl=0

Med Said BARA
on 9/15/14, 8:25 AM

Is file_repository having problem of installing. Anything can do with it?

Ken Tong
on 9/15/14, 9:06 AM

AFAIK no, which problem do you encounter ?

Med Said BARA
on 9/15/14, 9:19 AM

it just depends on file_autotask_rel, which in turn depends on file_document and abstract_automatic_task

Med Said BARA
on 9/15/14, 9:21 AM

This is the error i get. There is something wrong with the .py file with line number 24, 25 and 27 OpenERP Server Error Client Traceback (most recent call last): File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 195, in dispatch response["result"] = method(self, **self.params) File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1083, in call_button action = self._call_kw(req, model, method, args, {}) File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1071, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 43, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/local/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 614, in dispatch res = fn(db, uid, *params) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 198, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/module.py", line 425, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/module.py", line 476, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/usr/local/lib/python2.7/site-packages/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 214, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 347, in load_modules processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 258, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 161, in load_module_graph load_openerp_module(package.name) File "/usr/local/lib/python2.7/site-packages/openerp/modules/module.py", line 405, in load_openerp_module __import__('openerp.addons.' + module_name) File "/usr/local/lib/python2.7/site-packages/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/var/packages/OpenERP7.x/target/openerp/addons/file_repository/__init__.py", line 24, in import file_repository File "/var/packages/OpenERP7.x/target/openerp/addons/file_repository/file_repository.py", line 25, in from .file_connexion import FileConnection File "/var/packages/OpenERP7.x/target/openerp/addons/file_repository/file_connexion.py", line 27, in import paramiko ImportError: No module named paramiko

Ken Tong
on 9/15/14, 9:36 AM

You need to install python paramiko package. For this, type in you console: sudo pip install paramiko and provide you root password (you may also need to install python pycrypto).

Med Said BARA
on 9/15/14, 9:45 AM

Having problem install paramiko python on my synology. Can you guide me to install the paramiko? https://dl.dropboxusercontent.com/u/42025188/console.png

Ken Tong
on 9/15/14, 10:09 AM

try without sudo: pip install paramiko

Med Said BARA
on 9/15/14, 10:28 AM

DiskStation1> pip install paramiko -ash: pip: not found

Ken Tong
on 9/15/14, 10:29 AM

if setup-tools is installed on your system use: easy_install pip , to install it, if not download setup-tools and install it first https://pypi.python.org/pypi/setuptools

Med Said BARA
on 9/15/14, 10:36 AM

Really headache setting up the FTP file exchange. Any other method? I get the below error. wget https://bootstrap.pypa.io/ez_setup.py -O - | python --23:16:09-- https://bootstrap.pypa.io/ez_setup.py => `-' Resolving bootstrap.pypa.io... 103.245.222.175 Connecting to bootstrap.pypa.io|103.245.222.175|:443... connected. ERROR: Certificate verification error for bootstrap.pypa.io: unable to get local issuer certificate ERROR: certificate common name `*.c.ssl.fastly.net' doesn't match requested host name `bootstrap.pypa.io'. To connect to bootstrap.pypa.io insecurely, use `--no-check-certificate'. Unable to establish SSL connection.

Ken Tong
on 9/15/14, 11:18 AM

I can see the file exchange & configuration menu on my left pane. can i skip the file_repository installation?

Ken Tong
on 9/15/14, 11:57 AM

You can't skip file_repository install. Concerning the error message: just repeat the command and append --no-check-certificate , as stated at the end of the error message

Med Said BARA
on 9/15/14, 12:04 PM

I have done wget. So what's next to launch the installation? DiskStation1> wget https://bootstrap.pypa.io/ez_setup.py --no-check-certificate | python --00:06:34-- https://bootstrap.pypa.io/ez_setup.py => `ez_setup.py' Resolving bootstrap.pypa.io... 103.245.222.175 Connecting to bootstrap.pypa.io|103.245.222.175|:443... connected. WARNING: Certificate verification error for bootstrap.pypa.io: unable to get local issuer certificate WARNING: certificate common name `*.c.ssl.fastly.net' doesn't match requested host name `bootstrap.pypa.io'. HTTP request sent, awaiting response... 200 OK Length: 10,476 (10K) [text/x-python] 100%[====================================>] 10,476 --.--K/s

Ken Tong
on 9/15/14, 12:10 PM

Now install pip, and after install paramiko, and if needed pycrypto

Med Said BARA
on 9/15/14, 12:26 PM

As shown below, PIP is successfully installed. I am not sure my earlier wget ez_setup has successfully install the PARAMIKO or not? DiskStation1> python get-pip.py Downloading/unpacking pip Downloading pip-1.5.6-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded Installing collected packages: pip Successfully installed pip Cleaning up...

Ken Tong
on 9/15/14, 12:48 PM

i use pip install paramiko and return the result below: copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature creating build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol creating build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey creating build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Signature running build_ext running build_configure checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/tmp/pip_build_root/pycrypto': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Traceback (most recent call last): File "", line 1, in File "/tmp/pip_build_root/pycrypto/setup.py", line 456, in core.setup(**kw) File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/site-packages/setuptools/command/install.py", line 53, in run return _install.run(self) File "/usr/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip_build_root/pycrypto/setup.py", line 251, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip_build_root/pycrypto/setup.py", line 278, in run raise RuntimeError("autoconf error") RuntimeError: autoconf error ---------------------------------------- Cleaning up... Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PyQrot-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/pycrypto Storing debug log for failure in /root/.pip/pip.log

Ken Tong
on 9/15/14, 12:51 PM

I think the installation of paramiko is success but there is a problem which is crypto have not install yet. I tried install the file_repository and it have the error below at the last line. How can I install crypto? ImportError: No module named Crypto.PublicKey

Ken Tong
on 9/15/14, 12:53 PM

I use the command "pip install pycrypto" and it returns the result below: DiskStation1> pip install pycryto Downloading/unpacking pycryto Could not find any downloads that satisfy the requirement pycryto Cleaning up... No distributions at all found for pycryto Storing debug log for failure in /root/.pip/pip.log

Ken Tong
on 9/15/14, 12:56 PM

The other way to install a python package (when not using easy_install or pip) is to download the package as tar.gz (or tar or any other compressed format) uncompress it, move to the folder where you uncomressed the package and rxecute ' python setup.py install'.

Med Said BARA
on 9/15/14, 1:02 PM

Link for pycrypto: https://pypi.python.org/pypi/pycrypto

Med Said BARA
on 9/15/14, 1:04 PM

with this file, do i need to upload to the ftp and perform the uncompress? Or do i use wget to download to the system straight away? https://dl.dropboxusercontent.com/u/42025188/pycrypto.png

Ken Tong
on 9/15/14, 1:23 PM

It's better to upload the downloaded package to your Linux, uncompress it, and then install it by the command: python setup.py install

Med Said BARA
on 9/15/14, 1:27 PM

The problem is I do not know where the exact directory should I upload in order to install. Sorry for my newbie question. I am not very good in linux install packages & etc. Can you guide me? Thanks

Ken Tong
on 9/15/14, 1:31 PM

You can upload it anywhere, or you can create a folder and name it "python packages" ... and put there all your downloaded python packages ...

Med Said BARA
on 9/15/14, 1:35 PM

I encounter error message while trying to install. DiskStation1> python setup.py install running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/Crypto copying lib/Crypto/__init__.py -> build/lib.linux-x86_64-2.7/Crypto copying lib/Crypto/pct_warnings.py -> build/lib.linux-x86_64-2.7/Crypto creating build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/MD5.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/MD2.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/MD4.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/SHA.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Hash copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-x86_64-2.7/Crypto/Hash creating build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/blockalgo.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/AES.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/XOR.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/DES.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher creating build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/number.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/_number_new.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/asn1.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/randpool.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/Counter.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/py21compat.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/Util copying lib/Crypto/Util/py3compat.py -> build/lib.linux-x86_64-2.7/Crypto/Util creating build/lib.linux-x86_64-2.7/Crypto/Random copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.linux-x86_64-2.7/Crypto/Random copying lib/Crypto/Random/random.py -> build/lib.linux-x86_64-2.7/Crypto/Random copying lib/Crypto/Random/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random creating build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna creating build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG copying lib/Crypto/Random/OSRNG/nt.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG creating build/lib.linux-x86_64-2.7/Crypto/SelfTest copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature creating build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol creating build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey creating build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-2.7/Crypto/Signature copying lib/Crypto/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Signature running build_ext running build_configure checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/root/python_packages': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Traceback (most recent call last): File "setup.py", line 456, in core.setup(**kw) File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 251, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 278, in run raise RuntimeError("autoconf error") RuntimeError: autoconf error

Ken Tong
on 9/15/14, 1:39 PM

Try "python setup.py build" and after "python setup.py install".

Med Said BARA
on 9/15/14, 2:11 PM

Receive the error message below:- DiskStation1> python setup.py build running build running build_py running build_ext running build_configure checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/root/python_packages': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Traceback (most recent call last): File "setup.py", line 456, in core.setup(**kw) File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 251, in run self.run_command(cmd_name) File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 278, in run raise RuntimeError("autoconf error") RuntimeError: autoconf error

Ken Tong
on 9/16/14, 12:18 AM

As it appear from your comments,on your synology Diskstation, you have to install some packages needed for Linux as gcc ... and you have probably to upgrade your Linux distribution. Can you tell me which Diskstation are you using, which Linux version ...

Med Said BARA
on 9/16/14, 4:51 AM

I advise you to read the following links carefully: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc and http://oinkzwurgl.org/diskstation and also http://www.chainsawonatireswing.com/2012/01/09/installing-3rd-party-software-on-your-synology-diskstation-ds411j/

Med Said BARA
on 9/16/14, 5:07 AM

Here is a list where you can find packages you can install (IF NEEDED, AND WHEN NEEDED !!!): http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/stable/

Med Said BARA
on 9/16/14, 5:21 AM

Hi Med, I'm running XPEnology 4.2 on Vmware Workstation with 1 processor given. I use this as a test environment before i deploy to the real Syno NAS. Linux DiskStation1 3.2.30 #16 SMP Wed Aug 28 14:34:11 CEST 2013 x86_64 GNU/Linux synology_bromolow_3612xs

Ken Tong
on 9/16/14, 5:48 AM

From where did you downloaded the DSM 4.2 (Build 3230) ?

Med Said BARA
on 9/16/14, 6:59 AM

I downloaded from:- https://drive.google.com/folderview?id=0B8WTs1D6D3VIVS1XMEs2STFqMEE&usp=sharing&tid=0B8WTs1D6D3VIWUFubjNFODhmU3c#list Are you trying to virtualize it as well?

Ken Tong
on 9/16/14, 7:26 AM

For the DS3612xs, you should use the Linux 3.2.11, and you also need to download the following Toolchain http://sourceforge.net/projects/dsgpl/files/DSM 4.1 Tool Chains/Intel x86 Linux 3.2.11 %28Bromolow%29/gcc421_glibc236_x86_bromolow-GPL.tgz/download

Med Said BARA
on 9/16/14, 8:29 AM

Maybe i will try to virtualize it this week-end if i have enough time ! After installing GCC, continue with the installation of pycrypto as above (by running "python setup.py build" to build the package, and "python setup.py install" to install it.).

Med Said BARA
on 9/16/14, 8:45 AM

I am planning to upgrade to 5.0 soon since the Synology NAS that 1 going to deploy is version 5.0 As for the toolchains, I really have no idea how should I start installing it. I try install the GCC into my vm environment now. Will keep you updated with the result.

Ken Tong
on 9/16/14, 1:41 PM

Hi Med, Sorry to trouble you. Can you take a look of my issue for this topic? https://www.odoo.com/forum/help-1/question/how-to-pass-value-from-one-view-to-another-63248

Ken Tong
on 9/21/14, 11:56 AM

Hi Med, Can you have a look at this question? Is about required field, but only in editable state. TQ. https://www.odoo.com/forum/help-1/question/how-can-i-set-required-field-by-condition-63417

Ken Tong
on 9/25/14, 4:37 AM
0
Ken Tong
On 8/26/14, 4:48 AM

http://www.baconconsult.eu/home/our-products/openerp/knowledge-management/openerp----documentation-management---configuration-in-version-70

 

This article guide me how to set the parameters. After the parameters has been set, the upload attachment process hang.

From my understanding, this article shows how to configure the file attachment to be same as the openerp database location. How if I have an external FTP ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 8/26/14, 4:16 AM
Seen: 3234 times
Last updated: 3/16/15, 8:10 AM