콘텐츠로 건너뛰기
Odoo 메뉴
  • 로그인
  • 무료 체험하기
  • 앱
    재무 관리
    • 회계
    • 청구서 관리
    • 비용 관리
    • 스프레드시트 (BI)
    • 문서
    • 전자 서명
    판매
    • CRM
    • 판매
    • POS 스토어
    • POS 레스토랑
    • 구독
    • 렌탈
    웹사이트
    • 웹사이트 빌더
    • 이커머스
    • 블로그
    • 포럼
    • 실시간 채팅
    • 온라인 학습 관리
    공급망
    • 재고 관리
    • 제조 관리
    • 제품 수명주기 관리 (PLM)
    • 매입
    • 유지관리
    • 품질
    인적자원 관리
    • 직원
    • 채용
    • 휴가 관리
    • 인사 평가
    • 인재 추천
    • 차량 관리
    마케팅
    • 소셜 마케팅
    • 이메일 마케팅
    • SMS 마케팅
    • 행사
    • 마케팅 자동화
    • 설문 조사
    서비스
    • 프로젝트
    • 작업 기록
    • 현장 서비스
    • 헬프데스크
    • 일정 관리
    • 일정 예약
    생산성
    • 메일 및 채팅
    • 전자 결재
    • IoT
    • VoIP
    • 지식 센터
    • WhatsApp
    타사 앱 Odoo 스튜디오 Odoo 클라우드 플랫폼
  • 인더스트리
    리테일
    • 서점
    • 의류 매장
    • 가구점
    • 식료품점
    • 철물점
    • 장난감 가게
    식음료 & 숙박업
    • 바 & 펍
    • 레스토랑
    • 패스트푸드
    • 게스트 하우스
    • 음료 유통업체
    • 호텔
    부동산
    • 부동산 중개업체
    • 건축 회사
    • 건설
    • 부동산 관리
    • 가드닝
    • 부동산 소유자 협회
    컨설팅
    • 회계 법인
    • Odoo 파트너
    • 마케팅 대행사
    • 법률 사무소
    • 인재 영입
    • 감사 및 인증
    제조 관리
    • 텍스타일
    • 메탈
    • 가구
    • 푸드
    • 양조장
    • 기업용 선물
    건강 & 피트니스
    • 스포츠 클럽
    • 안경점
    • 피트니스 센터
    • 웰니스 전문가
    • 약국
    • 미용실
    사업
    • 핸디맨
    • IT 하드웨어 및 지원 서비스
    • 태양 에너지 시스템
    • 제화업체
    • 클리닝 서비스
    • HVAC 서비스
    기타
    • 비영리 단체
    • 환경 에이전시
    • 광고판 임대
    • 사진
    • 자전거 임대
    • 소프트웨어 리셀러
    전체 인더스트리 찾아보기
  • 커뮤니티
    학습
    • 튜토리얼
    • 문서
    • 인증
    • 훈련
    • 블로그
    • 팟캐스트
    교육 역량 강화
    • 교육 프로그램
    • Scale-Up! 경영관리 게임
    • Odoo에 방문해보세요
    소프트웨어 신청
    • 다운로드
    • 버전 살펴보기
    • 릴리즈 내역
    협업
    • Github
    • 포럼
    • 행사
    • 번역
    • 파트너 등록
    • 파트너 대상 서비스
    • 회계 법인 정보 등록
    서비스 신청
    • 파트너 검색
    • 회계사 검색
    • 전문 상담 예약
    • 구현 서비스
    • 고객 정보
    • 고객 지원
    • 업그레이드
    Github 유튜브 트위터 링크드인 인스타그램 페이스북 스포티파이
    +1 (650) 691-3277
    데모 예약하기
  • 요금제
  • 고객 지원

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 회계
  • 재고 관리
  • PoS
  • 프로젝트
  • MRP
All apps
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
모든 게시물 사용자 배지
태그 (모두 보기)
odoo accounting v14 pos v15
게시판 정보
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
모든 게시물 사용자 배지
태그 (모두 보기)
odoo accounting v14 pos v15
게시판 정보
도움말

Upload Attachment In External Storage

구독

이 게시물에 활동이 있으면 알림 받기

신고된 질문입니다
attachmentdmsdocumentattachmentsftp
2 답글
16563 화면
아바타
Ken Tong

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.

0
아바타
취소
Med Said BARA

Which articles ? Which error messages ?

Ken Tong
작성자

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
작성자 베스트 답변

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 ?

0
아바타
취소
아바타
Med Said BARA
베스트 답변

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

 

0
아바타
취소
Ken Tong
작성자

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

Med Said BARA

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.

Ken Tong
작성자

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
작성자

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
작성자

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

Med Said BARA

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

Ken Tong
작성자

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
작성자

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?

Med Said BARA

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.

Ken Tong
작성자

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.

Med Said BARA

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

Ken Tong
작성자

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?

Med Said BARA

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

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

There is no problems with the Red Colored modules

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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
작성자

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.

Med Said BARA

Keep on, waiting for feedback .

Ken Tong
작성자

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

Ken Tong
작성자

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
작성자

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

Med Said BARA

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

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

Ken Tong
작성자

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

Med Said BARA

AFAIK no, which problem do you encounter ?

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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).

Ken Tong
작성자

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

Med Said BARA

try without sudo: pip install paramiko

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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
작성자

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
작성자

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
작성자

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

Med Said BARA

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

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

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

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

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/

Ken Tong
작성자

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

Med Said BARA

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

Ken Tong
작성자

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

Med Said BARA

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

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.).

Ken Tong
작성자

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
작성자

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
작성자

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

토론이 재미있으신가요? 직접 참여해보세요!

지금 바로 가입하여 독점 서비스를 이용해보고 특별한 커뮤니티와 소통하세요!

가입
관련 게시물 답글 화면 활동
Force documents to be stored in FTP location
attachment document filestore ftp
아바타
0
7월 24
2118
How to Access Attachment using FTP?
attachment document ftp odooV8
아바타
0
1월 17
4625
How I can save attachments to file system?
document attachments
아바타
2
6월 22
17697
Attachment Security Issue
attachment attachments
아바타
0
10월 21
3497
how to store attachments files in a filesystem instead of the database - odoo 10
attachment attachments
아바타
아바타
2
11월 17
7866
커뮤니티
  • 튜토리얼
  • 문서
  • 포럼
오픈 소스
  • 다운로드
  • Github
  • Runbot
  • 번역
서비스
  • Odoo.sh 호스팅
  • 고객 지원
  • 업그레이드
  • 맞춤 개발
  • 학습
  • 회계사 검색
  • 파트너 검색
  • 파트너 등록
회사 소개
  • 회사 소개
  • 브랜드 자산
  • 상담 문의
  • 인재 채용
  • 행사
  • 팟캐스트
  • 블로그
  • 고객 사례
  • 법적고지 • 개인정보
  • 보안
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo는 CRM, 이커머스, 회계, 재고, POS, 프로젝트 관리 등 기업의 모든 요구 사항을 충족하도록 설계된 오픈 소스 기반의 통합 비즈니스 앱 제품군입니다.

Odoo의 간편한 UI와 완벽하게 통합된 기능을 직접 확인해 보세요.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now